* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #7a5f3b;    /* warm woodland accent */
  --embed-height: 600px; /* default height for embeds (Bandcamp/Instagram) */
  --light-purple: #dfe9e1;     /* pale sage/lichen */
  --pale-purple: #f4f3ef;      /* warm natural off‑white */
  --dark-maroon: #2f4f3a;      /* deep forest green (header/footer) */
  --maroon-accent: #6b8f71;   /* soft moss green */
  --light-purple: #6b8f71;     /* pale sage/lichen */
  --background: #6b8f71;       /* warm natural off‑white */
  --surface: #e7efe8;          /* clean white */
  --text-primary: #2d2d2d;
  --text-secondary: #5a5a5a;
  --shadow-sm: 0 2px 4px rgba(156, 137, 184, 0.08);
  --shadow-md: 0 4px 12px rgba(156, 137, 184, 0.15);
  --shadow-lg: 0 8px 24px rgba(156, 137, 184, 0.2);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  margin: 0;
  background: linear-gradient(135deg, var(--background) 0%, #f5f0fc 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--maroon-accent) 100%);
  color: white;
  padding: 20px 0 0 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.site-header h1 {
  font-size: 2em;
  margin-bottom: 5px;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-header h2 {
  font-size: 0.85em;
  font-weight: 300;
  margin-bottom: 12px;
  opacity: 0.95;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0 15px 12px 15px;
  background: transparent;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::before {
  transform: translateX(0);
}

nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

nav a.active {
  background: var(--primary-purple);
  box-shadow: 0 4px 12px rgba(156, 137, 184, 0.4);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--maroon-accent) 100%);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

.site-footer p {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.9;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Home Page */
/* Home Page */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--pale-purple) 0%, #ffffff 100%);
}

.hero-content h1 {
  font-size: 4em;
  color: var(--dark-maroon);
  margin-bottom: 15px;
  font-weight: 300;
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 1.4em;
  color: var(--primary-purple);
  margin-bottom: 25px;
  font-weight: 400;
  letter-spacing: 2px;
}

.hero-text {
  font-size: 1.15em;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-button {
  padding: 14px 32px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  display: inline-block;
  cursor: pointer;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--maroon-accent) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
  background: var(--surface);
  color: var(--dark-maroon);
  border: 2px solid var(--primary-purple);
}

.cta-button.secondary:hover {
  background: var(--pale-purple);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.home-featured {
  padding: 80px 60px;
  background: var(--surface);
  text-align: center;
}

.home-featured h2 {
  font-size: 2.5em;
  color: var(--dark-maroon);
  margin-bottom: 50px;
  font-weight: 300;
  letter-spacing: 2px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.featured-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.featured-caption {
  padding: 25px;
  background: white;
}

.featured-caption h3 {
  font-size: 1.4em;
  color: var(--dark-maroon);
  margin-bottom: 8px;
  font-weight: 500;
}

.featured-caption p {
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

.home-callout {
  padding: 50px 60px;
  background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--maroon-accent) 100%);
  color: white;
  text-align: center;
}

.callout-content {
  max-width: 700px;
  margin: 0 auto;
}

.home-callout h2 {
  font-size: 2.3em;
  margin-bottom: 15px;
  font-weight: 300;
  letter-spacing: 2px;
}

.home-callout p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.95;
}

.home-callout .cta-button.primary {
  background: white;
  color: var(--dark-maroon);
}

.home-callout .cta-button.primary:hover {
  background: var(--pale-purple);
}

.home-connect {
  padding: 80px 60px;
  background: var(--background);
  text-align: center;
}

.home-connect h2 {
  font-size: 2.5em;
  color: var(--dark-maroon);
  margin-bottom: 15px;
  font-weight: 300;
  letter-spacing: 2px;
}

.connect-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.connect-section {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-section h3 {
  font-size: 1.8em;
  color: var(--dark-maroon);
  margin-bottom: 15px;
  font-weight: 400;
}

.connect-section p {
  font-size: 1.15em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
  flex-grow: 1;
}

.home-connect > p {
  font-size: 1.15em;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.connect-links {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--surface);
  border-radius: 50px;
  text-decoration: none;
  color: var(--dark-maroon);
  font-weight: 500;
  font-size: 1.1em;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-purple);
}

.social-icon {
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* About Page */
.about-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.about-container .bio:empty,
.about-container .media-grid:empty {
  min-height: 100px;
}

.about-container .bio:not(.loaded),
.about-container .media-grid:not(.loaded) {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.about-container .bio.loaded,
.about-container .media-grid.loaded {
  opacity: 1;
}

.about-container h2 {
  font-size: 2em;
  color: #1e3a5f;
  margin-bottom: 30px;
  text-align: center;
}

.bio {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.bio p {
  margin-bottom: 20px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.media-item {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.media-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.media-item video {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.instagram-embed-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instagram-embed-container .instagram-media {
  max-width: 100% !important;
  min-width: 326px !important;
  height: var(--embed-height) !important;
}

.bandcamp-embed-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bandcamp-embed-container iframe {
  max-width: 100%;
  border: 0;
  height: var(--embed-height) !important;
  border-radius: 8px;
}

.media-item p {
  color: #666;
  font-size: 0.9em;
  text-align: center;
  margin-top: 10px;
}

.youtube-channel-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
  display: flex;
  justify-content: center;
}

.youtube-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: var(--surface);
  border-radius: 50px;
  text-decoration: none;
  color: var(--dark-maroon);
  font-weight: 500;
  font-size: 1.1em;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.youtube-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #FF0000;
}

.youtube-channel-section {
  margin-top: 50px;
  padding-top: 40px;
  padding-bottom: 20px;
  border-top: 2px solid #e0e0e0;
  display: flex;
  justify-content: center;
  background: var(--background);
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: -40px;
  padding-left: 40px;
  padding-right: 40px;
}

.youtube-link:hover {
  border-color: #FF0000;
}

/* Listen Page */
.listen-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.listen-container .description:empty,
.listen-container .media-grid:empty {
  min-height: 100px;
}

.listen-container .description:not(.loaded),
.listen-container .media-grid:not(.loaded) {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.listen-container .description.loaded,
.listen-container .media-grid.loaded {
  opacity: 1;
}

.listen-container h2 {
  font-size: 2em;
  color: #1e3a5f;
  margin-bottom: 30px;
  text-align: center;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.music-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.music-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.album-cover {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1e3a5f, #4a7ba7);
  border-radius: 5px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3em;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.music-card h3 {
  color: #1e3a5f;
  margin-bottom: 8px;
  font-size: 1.3em;
}

.music-card .artist {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.music-card audio {
  width: 100%;
  margin-bottom: 15px;
}

.streaming-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.streaming-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #1e3a5f;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s;
}

.streaming-link:hover {
  background-color: #2c4f75;
}

.section-divider {
  margin: 50px 0 30px 0;
  padding-top: 30px;
  border-top: 2px solid #ddd;
}

.section-divider h3 {
  font-size: 1.8em;
  color: #1e3a5f;
  margin-bottom: 20px;
}

/* Events Page */
.events-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.events-container h2 {
  font-size: 2em;
  color: #1e3a5f;
  margin-bottom: 40px;
  text-align: center;
}

.events-section {
  margin-bottom: 50px;
}

.events-section:last-child {
  margin-bottom: 0;
}

.section-heading {
  font-size: 1.6em;
  color: var(--dark-maroon);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pale-purple);
  font-weight: 400;
}

.past-events-section .section-heading {
  color: var(--text-secondary);
}

.past-events .event-card {
  opacity: 0.85;
  border-left-color: var(--text-secondary);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #1e3a5f;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.event-card:hover {
  transform: translateX(5px);
}

.event-date {
  font-size: 0.95em;
  color: var(--text-secondary);
  font-weight: normal;
  margin-bottom: 10px;
}

.event-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--dark-maroon);
  font-weight: 700;
}

.event-location {
  color: #666;
  margin-bottom: 10px;
}

.event-description {
  color: #555;
  line-height: 1.6;
}

.event-link-previews {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.link-preview-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--primary-purple);
}

.link-favicon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.link-preview-url {
  font-size: 0.9em;
  color: var(--primary-purple);
  font-weight: 500;
  word-break: break-all;
  flex: 1;
}

.event-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background: var(--primary-purple);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.event-link:hover {
  background: var(--dark-maroon);
  transform: translateY(-2px);
}

/* Past events styling - faded appearance */
.past-events .event-card {
  opacity: 0.6;
  background: #f5f5f5;
  border-left-color: #999;
}

.past-events .event-card:hover {
  opacity: 0.75;
}

.past-events .event-title {
  color: #666;
}

.past-events .event-date,
.past-events .event-location,
.past-events .event-description {
  color: #888;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
  font-style: italic;
}

/* Contact Page */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-hero-image {
  order: 1;
}

.contact-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-hero-content {
  order: 2;
  text-align: left;
}

.contact-hero-content h1 {
  font-size: 3em;
  color: var(--dark-maroon);
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.contact-subtitle {
  font-size: 1.2em;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contact-methods-section {
  padding: 40px 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  background: white;
  padding: 60px 40px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 2em;
  color: #1e3a5f;
  margin-bottom: 40px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch;
}

.contact-method {
  padding: 35px 30px;
  background: var(--surface);
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-purple);
}

.contact-icon {
  font-size: 3.5em;
  margin-bottom: 20px;
}

.contact-method h3 {
  color: var(--dark-maroon);
  margin-bottom: 15px;
  font-size: 1.5em;
  font-weight: 500;
}

.contact-link {
  color: var(--primary-purple);
  text-decoration: none;
  font-size: 1.15em;
  word-break: break-all;
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-method:hover .contact-link {
  text-decoration: underline;
}

.contact-method-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
  }

  nav a {
    font-size: 0.95em;
    padding: 6px 12px;
  }

  .site-header h1 {
    font-size: 2em;
  }

  .site-header h2 {
    font-size: 1em;
  }

  .media-grid,
  .music-grid {
    grid-template-columns: 1fr;
  }

  .about-container,
  .listen-container,
  .events-container {
    padding: 20px;
  }

  /* Contact page responsive */
  .contact-hero {
    grid-template-columns: 1fr;
    padding: 40px 20px 20px;
    gap: 30px;
    text-align: center;
  }

  .contact-hero-image {
    order: -1;
  }

  .contact-hero-content {
    text-align: center;
  }

  .contact-hero-content h1 {
    font-size: 2.2em;
  }

  .contact-subtitle {
    font-size: 1.05em;
  }

  .contact-methods-section {
    padding: 30px 20px 60px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Home page responsive */
  .home-hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .hero-subtitle {
    font-size: 1.1em;
  }

  .hero-text {
    font-size: 1em;
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 100%;
  }

  .home-featured,
  .home-callout,
  .home-connect {
    padding: 50px 20px;
  }

  .home-featured h2,
  .home-callout h2,
  .home-connect h2 {
    font-size: 2em;
  }

  .featured-grid {
    gap: 25px;
  }

  .featured-item img {
    height: 280px;
  }

  .connect-sections {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .connect-links {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto;
  }

  .social-link {
    justify-content: center;
  }

  .instagram-embed-container .instagram-media {
    min-width: 100% !important;
    height: 360px !important;
  }

  .media-item video,
  .media-item iframe {
    max-width: 100%;
  }
  
  /* Reduce embed heights on small screens so Bandcamp isn't too tall */
  .bandcamp-embed-container iframe {
    height: 360px !important;
    max-width: 100% !important;
  }
}
