:root {
  /* Launch palette: koa, warm sand, olive/sage, muted terracotta */
  --ink: #1F160F;
  --ink-soft: #3A2C22;
  --koa: #3B2718;
  --koa-mid: #52361F;
  --sand: #F5EEE4;
  --sand-deep: #E9DCCB;
  --olive: #4E5C3D;
  --sage: #C9D2B8;
  --clay: #8F4E38;
  --driftwood: #64584C;
  --forest: var(--koa);
  --forest-mid: var(--koa-mid);
  --cream: var(--sand);
  --cream-deep: var(--sand-deep);
  --gold: var(--clay);
  --gold-soft: var(--sage);
  --leaf: var(--olive);
  --stone: var(--driftwood);
  --font-display: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 72rem;
  --pad: 1.25rem;
  --radius: 2px;
}

@media (min-width: 1024px) {
  :root { --pad: 2rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow.gold { color: var(--gold-soft); }

h1, h2, h3, .brand, .quote {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--forest) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
  color: var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--pad);
}
.brand {
  font-size: 1.35rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
}
.nav-desktop a {
  text-decoration: none;
  transition: color 0.15s;
}
.nav-desktop a:hover { color: var(--gold-soft); }
.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: var(--cream);
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem var(--pad) 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
}
.site-header.is-open .nav-mobile { display: flex; }
.nav-mobile a {
  text-decoration: none;
  color: color-mix(in srgb, var(--cream) 90%, transparent);
  padding: 0.5rem 0;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.2;
}
.btn-gold { background: var(--gold); color: var(--cream); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--forest); }
.btn-ghost {
  border-color: color-mix(in srgb, var(--cream) 30%, transparent);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-outline {
  border-color: color-mix(in srgb, var(--ink) 20%, transparent);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-gold-line {
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
  color: var(--gold-soft);
}
.btn-gold-line:hover { background: var(--gold); color: var(--cream); }
.btn-sm { padding: 0.4rem 1rem; font-weight: 500; }
.nav-desktop .btn-gold { color: var(--cream); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  min-height: 36rem;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 1024px) { .hero { min-height: 44rem; } }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0.8;
  z-index: -2;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--forest) 0%, color-mix(in srgb, var(--forest) 30%, transparent) 42%, color-mix(in srgb, var(--forest) 55%, transparent) 100%),
    linear-gradient(to right, var(--forest) 0%, color-mix(in srgb, var(--forest) 70%, transparent) 46%, transparent 78%);
}
@media (min-width: 800px) {
  .hero-img { opacity: 0.78; object-position: 60% 18%; }
  .hero-shade {
    background:
      linear-gradient(to right, var(--forest) 0%, color-mix(in srgb, var(--forest) 82%, transparent) 38%, color-mix(in srgb, var(--forest) 20%, transparent) 72%),
      linear-gradient(to top, var(--forest) 0%, transparent 45%, color-mix(in srgb, var(--forest) 30%, transparent) 100%);
  }
}
.hero-inner {
  width: min(var(--max), 100% - var(--pad) * 2);
  margin: 0 auto;
  padding: 7rem 0 4rem;
}
@media (min-width: 1024px) { .hero-inner { padding: 8rem 0 5rem; } }
.hero-inner h1 {
  margin: 1rem 0 0;
  font-size: clamp(3rem, 8vw, 4.5rem);
  max-width: 12ch;
  color: var(--cream);
}
.hero-inner .lede {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--cream) 85%, transparent);
}
@media (min-width: 640px) { .hero-inner .lede { font-size: 1.25rem; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Sections */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.15rem, 5vw, 3rem);
}
.lede-s {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: center;
  }
}
.about-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-deep);
  box-shadow: 0 20px 50px rgba(22, 19, 16, 0.12);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}
@media (min-width: 640px) { .about-photo img { aspect-ratio: 5 / 6; } }
.about-photo figcaption { padding: 0.75rem 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.prose { margin-top: 1.5rem; }
.prose p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose p:last-child { margin-bottom: 0; }

.band-forest { background: var(--forest); color: var(--cream); }
.band-forest .prose p,
.band-forest .lede-s { color: color-mix(in srgb, var(--cream) 85%, transparent); }
.styles {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .styles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .styles { grid-template-columns: 1fr 1fr 1fr; } }
.styles li { background: var(--cream); padding: 1.75rem 1.5rem; }
.styles h3 { margin: 0; font-size: 1.5rem; }
.styles p { margin: 0.5rem 0 0; font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }

.band-cream { background: var(--cream-deep); }
.weddings-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .weddings-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}
.quote {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
}
.ceremony {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
}
.ceremony ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ceremony li {
  padding: 0.6rem 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--cream-deep) 80%, transparent);
}
.ceremony li:last-child { border-bottom: 0; }

.live-feature {
  margin-top: 3rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem;
}
@media (min-width: 640px) { .live-feature { padding: 2.5rem 2.5rem; } }
.live-feature h3 { margin: 0.75rem 0 0; font-size: 1.85rem; }
.live-feature p {
  margin: 0.75rem 0 0;
  max-width: 38rem;
  font-size: 1.15rem;
  color: color-mix(in srgb, var(--cream) 85%, transparent);
}
.live-feature a.goen-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
}
.live-feature a.goen-link:hover {
  text-decoration-color: currentColor;
}
.live-split {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 1024px) { .live-split { grid-template-columns: 1fr 1fr; } }
.live-card {
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.live-card h3 { margin: 0.75rem 0 0; font-size: 1.5rem; }
.live-card ul { margin: 1rem 0 0; padding: 0; list-style: none; color: var(--ink-soft); }
.live-card li { padding: 0.25rem 0; }
.live-card .upcoming-empty {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.55;
}
.live-card #upcoming-gigs-body h3 { margin: 0.75rem 0 0; font-size: 1.5rem; }
.live-card #upcoming-gigs-body h3:nth-of-type(n+2) { margin-top: 1.25rem; }
.live-card .gig-notes {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.98rem;
  color: var(--stone);
}

.recordings {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .recordings { grid-template-columns: 16rem minmax(0, 1fr); gap: 4rem; }
}
.album-art {
  width: min(20rem, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@media (min-width: 1024px) { .album-art { width: 100%; } }
.tracks {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
}
@media (min-width: 640px) { .tracks { columns: 2; column-gap: 3rem; } }
.tracks li {
  display: flex;
  gap: 0.75rem;
  padding: 0.35rem 0;
  break-inside: avoid;
}
.race-embed {
  margin: 1.5rem 0 0;
  width: 100%;
  max-width: 520px;
}
.race-embed .frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}
.race-embed iframe { width: 100%; height: 100%; border: 0; }
.race-links {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
}
.race-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
}
.race-links a:hover { text-decoration-color: currentColor; }
.tracks .num { width: 1.5rem; color: var(--gold-soft); }

.videos {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) { .videos { grid-template-columns: 1fr 1fr 1fr; } }
.videos .frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}
.videos iframe { width: 100%; height: 100%; border: 0; }
.videos h3 { margin: 1rem 0 0; font-size: 1.25rem; line-height: 1.3; }
.videos .meta { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--stone); }

.cta-band { text-align: center; }
.cta-band h2 { margin: 0; }
.cta-band p {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.cta-band .btn { margin-top: 2rem; }

/* Contact */
.contact-hero { background: var(--forest); color: var(--cream); padding: 4rem 0; }
@media (min-width: 1024px) { .contact-hero { padding: 5rem 0; } }
.contact-hero .inner { max-width: 48rem; margin: 0 auto; width: min(48rem, 100% - var(--pad) * 2); }
.contact-hero h1 { margin: 0.75rem 0 0; font-size: clamp(2.5rem, 7vw, 3.75rem); }
.contact-hero p {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--cream) 85%, transparent);
}
.contact-body {
  max-width: 48rem;
  margin: 0 auto;
  width: min(48rem, 100% - var(--pad) * 2);
  padding: 3.5rem 0 5rem;
}
.form-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: block; }
.field.wide { grid-column: 1 / -1; }
.field span { display: block; margin-bottom: 0.5rem; font-size: 0.95rem; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--stone) 35%, var(--cream-deep));
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.thanks {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
}
@media (min-width: 640px) { .thanks { padding: 3rem; } }
.thanks h2 { margin: 0.75rem 0 0; font-size: clamp(2rem, 5vw, 2.5rem); }
.thanks p {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.thanks .btn { margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--forest); color: color-mix(in srgb, var(--cream) 70%, transparent); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--pad);
}
@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.site-footer .brand { font-size: 1.5rem; }
.site-footer p { margin: 0.5rem 0 0; max-width: 24rem; font-size: 0.95rem; line-height: 1.6; }
.footer-end { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; }
@media (min-width: 1024px) { .footer-end { align-items: flex-end; } }

.social {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0.85rem 0 0;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -12px 0 -12px -12px;
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  border-radius: 4px;
}
.social a + a { margin-left: 0; }
.social a:hover,
.social a:focus-visible {
  color: color-mix(in srgb, var(--clay) 40%, var(--cream));
}
.social a:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--clay) 40%, var(--cream));
  outline-offset: 2px;
}
.social svg {
  display: block;
  width: 20px;
  height: 20px;
}

.credit {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--sage) 55%, transparent);
}
.credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--sage) 35%, transparent);
}
.credit a:hover,
.credit a:focus-visible {
  color: color-mix(in srgb, var(--sage) 88%, transparent);
  text-decoration-color: color-mix(in srgb, var(--sage) 70%, transparent);
}
.credit a:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--sage) 70%, transparent);
  outline-offset: 3px;
}

/* 404 */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }
.not-found h1 { margin: 0.75rem 0 0; font-size: 3rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
