/* ==========================================================================
   Jackie Glazier — clarinetist
   Design tokens derived from hero photograph:
   pine forest darks, granite stone, sequin emerald, antique gold.
   ========================================================================== */

:root {
  /* Color */
  --pine: #161d15;        /* near-black forest ink */
  --forest: #26301f;      /* deep pine */
  --olive: #49523a;       /* mid olive-green */
  --granite: #c9c1b2;     /* warm stone */
  --stone: #efece3;       /* light granite paper */
  --paper: #f5f3ec;       /* page background */
  --emerald: #3e7d66;     /* sequin accent */
  --sequin: #9ccfbd;      /* bright sequin highlight (sparingly) */
  --gold: #b08d57;        /* antique gold */
  --ink: #1d211a;         /* body text on light */
  --mist: rgba(245, 243, 236, 0.72); /* light text on dark */

  /* Type */
  --display: "Libre Caslon Display", "Georgia", serif;
  --quote: "Cormorant Garamond", "Georgia", serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3.2rem);
  --step-4: clamp(2.8rem, 2rem + 4vw, 5rem);
  --step-5: clamp(3.4rem, 2.2rem + 6vw, 7rem);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --measure: 62ch;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--emerald); color: var(--paper); }

/* ------------------------------------------------------------------ */
/* Signature ornament: clarinet keywork — a run of small rings on a rule */
/* ------------------------------------------------------------------ */
.keys {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
}
.keys::before, .keys::after { content: ""; height: 1px; width: 34px; background: currentColor; opacity: 0.6; }
.keys i {
  width: 7px; height: 7px; border: 1.25px solid currentColor; border-radius: 50%;
  display: inline-block;
}
.keys i:nth-child(2) { width: 5px; height: 5px; opacity: 0.85; }
.keys i:nth-child(3) { width: 9px; height: 9px; }
.keys.on-dark { color: var(--sequin); }

/* ------------------------------------------------------------------ */
/* Navigation */
/* ------------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
  color: var(--paper);
}
.nav.is-solid {
  background: rgba(22, 29, 21, 0.96);
  padding: 0.95rem var(--gutter);
  box-shadow: 0 1px 0 rgba(245, 243, 236, 0.08);
}
.nav.on-light { color: var(--pine); }
.nav.on-light.is-solid { color: var(--paper); }

.nav-brand {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  display: flex; align-items: baseline; gap: 0.6rem;
}
.nav-brand small {
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.28em;
  text-transform: uppercase; opacity: 0.7;
}

.nav-links { display: flex; gap: clamp(0.9rem, 2vw, 1.7rem); list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0; position: relative; opacity: 0.85;
  transition: opacity 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.4rem 0;
  margin-right: -0.2em; /* cancel trailing letter-space so the U sits flush */
}

@media (max-width: 940px) {
  .nav { padding-left: 1rem; padding-right: 1rem; }
  .nav.is-solid { padding-left: 1rem; padding-right: 1rem; }
  /* the <nav> wrapper is an empty zero-width flex item once .nav-links goes
     position:fixed — space-between then strands the toggle mid-bar. Dissolve it. */
  .nav > nav { display: contents; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    align-items: center; gap: 1.5rem;
    background: linear-gradient(165deg, rgba(38, 62, 47, 0.65), rgba(22, 38, 28, 0.65));
    backdrop-filter: blur(14px);
    overflow-y: auto; padding: 5rem 1rem;
    opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
  }
  .nav-links a { font-size: 1rem; color: var(--paper); }
  .nav.menu-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; position: relative; z-index: 101; }
}

/* ------------------------------------------------------------------ */
/* Hero */
/* ------------------------------------------------------------------ */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  overflow: hidden; color: var(--paper); background: var(--pine);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 110%;
  object-fit: cover; object-position: 68% 32%;
  transform-origin: center;
  animation: heroDrift 14s var(--ease) both;
  will-change: transform;
}
@keyframes heroDrift { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15, 20, 14, 0.72) 0%, rgba(15, 20, 14, 0.12) 34%, transparent 55%),
    linear-gradient(to bottom, rgba(15, 20, 14, 0.45) 0%, transparent 24%),
    linear-gradient(to right, rgba(15, 20, 14, 0.5) 0%, rgba(15, 20, 14, 0.18) 32%, transparent 55%);
  pointer-events: none;
}

/* rotating press quotes — over the video band */
.hero-quotes {
  position: absolute; z-index: 2; right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  width: min(34ch, 42vw); text-align: right; color: var(--paper);
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem;
}
.hero-quotes .rule { width: 1px; height: 56px; background: linear-gradient(var(--sequin), transparent); opacity: 0.9; }
.quote-stage { position: relative; min-height: 8.5em; width: 100%; }
.quote-slide {
  position: absolute; inset: 0; opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.quote-slide.is-active { opacity: 1; transform: none; }
.quote-slide blockquote {
  font-family: var(--quote); font-style: italic; font-weight: 500;
  font-size: var(--step-2); line-height: 1.3;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(15, 20, 14, 0.55);
}
.quote-slide cite {
  display: block; margin-top: 0.8rem;
  font-family: var(--sans); font-style: normal; font-size: 0.72rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--sequin);
}

/* name lockup, bottom left */
.hero-name {
  position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(2rem, 6vh, 4rem);
  text-align: left;
}
.hero-name .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--granite); margin-bottom: 0.5rem;
}
.hero-name h1 {
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-5); line-height: 0.98; letter-spacing: 0.01em;
}
.hero-name h1 .line { display: block; overflow: hidden; padding: 0 0 0.14em 0.06em; margin-bottom: -0.14em; }
.hero-name h1 .line span { display: inline-block; transform: translateY(110%); animation: riseIn 1.1s var(--ease) forwards; }
.hero-name h1 .line:nth-child(2) span { animation-delay: 0.14s; }
@keyframes riseIn { to { transform: none; } }

.hero-scroll {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(2rem, 6vh, 4rem);
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--granite);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(transparent, var(--gold));
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100% { transform: scaleY(0.55); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 700px) {
  .hero-img { object-position: 62% 30%; }
  .hero-quotes { width: 70vw; }
  .quote-slide blockquote { font-size: var(--step-1); }
  .hero-scroll { display: none; }
}

/* ------------------------------------------------------------------ */
/* Sections */
/* ------------------------------------------------------------------ */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter); }
.section-inner { max-width: 1180px; margin: 0 auto; }

.eyebrow-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.on-dark .eyebrow { color: var(--sequin); }

h2.title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-3); line-height: 1.12; letter-spacing: 0.005em;
  max-width: 24ch; text-wrap: balance; margin-bottom: 1.4rem;
}
.lede { font-size: var(--step-1); line-height: 1.5; max-width: var(--measure); font-weight: 300; }
.body-copy { max-width: var(--measure); }
.body-copy p + p { margin-top: 1.1em; }
.body-copy a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.theme-forest .body-copy a { color: var(--sequin); }

.studies-list {
  list-style: none; margin-top: 1.4rem; max-width: 56rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
  gap: 0.7rem 2.2rem;
}
.studies-list li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.95rem;
}
.studies-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.55rem; height: 1px; background: var(--gold);
}

.text-link {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 2rem;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--emerald); position: relative;
}
.on-dark .text-link { color: var(--sequin); }
.text-link .arrow { transition: transform 0.3s var(--ease); }
.text-link:hover .arrow { transform: translateX(6px); }
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: currentColor; opacity: 0.35; transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.text-link:hover::after { transform: scaleX(1.06); opacity: 0.7; }

/* affiliations row */
.affiliations {
  display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; margin-top: 2.6rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(29, 33, 26, 0.14);
  list-style: none;
}
.affiliations li {
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--olive); font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Discography */
/* ------------------------------------------------------------------ */
/* home-page recordings band — thin, dark */
.disco-band {
  background: var(--pine); color: var(--paper);
  padding: clamp(2.8rem, 6vw, 4.5rem) var(--gutter);
  text-align: center;
}
.disco-band-title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-3); letter-spacing: 0.06em;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
/* iPod-style cover flow */
.coverflow { position: relative; }
.cf-stage {
  position: relative; height: clamp(15rem, 34vw, 22rem);
  perspective: 1100px; perspective-origin: 50% 42%;
  touch-action: pan-y;
}
.cf-item {
  position: absolute; left: 50%; top: 46%;
  width: clamp(9.5rem, 20vw, 14rem); aspect-ratio: 1;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}
.cf-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  -webkit-box-reflect: below 2px linear-gradient(transparent 62%, rgba(255, 255, 255, 0.18));
  user-select: none; -webkit-user-drag: none;
}
.cf-item.is-front img { box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7); }
.cf-caption { margin-top: clamp(1.2rem, 3vw, 2rem); min-height: 3.4em; }
.cf-caption .cf-title {
  display: block; font-family: var(--display); font-size: var(--step-1);
}
.cf-caption .cf-detail {
  display: block; margin-top: 0.35rem;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--granite);
}
.disco-band-link {
  display: inline-block; margin-top: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--mist); text-decoration: none;
  font-size: var(--step-1); font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.25s;
}
.disco-band-link:hover { color: var(--paper); }

.disco-grid {
  display: grid; gap: 2.4rem 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr));
}
.disco-card { display: block; color: inherit; text-decoration: none; }
.disco-card .disco-cover {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  background: var(--pine); margin-bottom: 1rem;
  transition: opacity 0.3s var(--ease);
}
a.disco-card:hover .disco-cover { opacity: 0.85; }
.disco-cover-blank {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1.2rem; color: var(--paper);
}
.disco-cover-blank span {
  font-family: var(--display); font-size: 1.2rem; line-height: 1.25;
}
.disco-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.disco-card p { margin-top: 0.3rem; font-size: 0.85rem; color: var(--olive); }

/* ------------------------------------------------------------------ */
/* Instagram feed (Behold widget) */
/* ------------------------------------------------------------------ */
behold-widget { display: block; margin: 2.4rem 0; }

/* ------------------------------------------------------------------ */
/* Schedule band with background video */
/* ------------------------------------------------------------------ */
.band-video {
  position: relative; overflow: hidden; color: var(--paper); background: var(--pine);
  padding: 0; aspect-ratio: 16 / 9; min-height: 22rem;
  width: 100%; max-width: 100%;
}
.band-video .bg-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5; filter: saturate(0.75);
}
.band-video .bg-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(90rem 40rem at 80% 0%, rgba(62, 125, 102, 0.35), transparent 60%),
    radial-gradient(60rem 40rem at 8% 100%, rgba(176, 141, 87, 0.22), transparent 55%),
    linear-gradient(160deg, #1c2619, #10150f 70%);
}
.band-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16, 21, 15, 0.55), rgba(16, 21, 15, 0.2) 40%, rgba(16, 21, 15, 0.66));
  pointer-events: none;
}
.band-video .section-inner { position: relative; z-index: 2; }

.schedule-panel {
  margin-top: 2.4rem;
  background: rgba(16, 21, 15, 0.52);
  border: 1px solid rgba(245, 243, 236, 0.14);
  backdrop-filter: blur(14px);
  border-radius: 4px;
  overflow: hidden;
}
.event-row {
  display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1.4rem; align-items: center;
  padding: 1.35rem 1.6rem;
  border-top: 1px solid rgba(245, 243, 236, 0.1);
  transition: background 0.3s var(--ease);
}
.event-row:first-child { border-top: 0; }
.event-row:hover { background: rgba(245, 243, 236, 0.05); }
.event-date { text-align: left; }
.event-date .day {
  font-family: var(--display); font-size: 1.9rem; line-height: 1; display: block;
}
.event-date .month {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sequin);
}
.event-what h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-1); line-height: 1.25; }
.event-what p { font-size: 0.85rem; color: var(--mist); margin-top: 0.25rem; }
.event-cta {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sequin); white-space: nowrap; opacity: 0.9;
}
.event-cta:hover { opacity: 1; }

@media (max-width: 700px) {
  .event-row { grid-template-columns: 4.6rem 1fr; }
  .event-cta { grid-column: 2; justify-self: start; }
}

/* ------------------------------------------------------------------ */
/* Media cards */
/* ------------------------------------------------------------------ */
.media-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem; margin-top: 2.6rem;
}
.video-card { position: relative; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px;
  background: linear-gradient(150deg, var(--forest), var(--pine));
  cursor: pointer;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s;
}
.video-frame:hover .poster { transform: scale(1.04); }
.play-badge {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.play-badge span {
  width: 62px; height: 62px; border-radius: 50%;
  border: 1.5px solid rgba(245, 243, 236, 0.85);
  display: grid; place-items: center;
  background: rgba(16, 21, 15, 0.35); backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.play-badge svg { width: 18px; height: 18px; fill: var(--paper); margin-left: 3px; }
.video-frame:hover .play-badge span { transform: scale(1.1); background: rgba(62, 125, 102, 0.55); }
.video-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin-top: 0.9rem; }
.video-card p { font-size: 0.82rem; color: var(--olive); margin-top: 0.2rem; }
.on-dark .video-card p { color: var(--granite); }

/* ------------------------------------------------------------------ */
/* Projects */
/* ------------------------------------------------------------------ */
.stat-line {
  font-family: var(--display); font-size: var(--step-4); line-height: 1.05;
  letter-spacing: 0.005em; max-width: 18ch; text-wrap: balance;
}
.stat-line em { font-style: italic; color: var(--emerald); }
.works-list { list-style: none; margin-top: 2.4rem; border-top: 1px solid rgba(29, 33, 26, 0.14); }
.works-list li {
  display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1.4rem; align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px solid rgba(29, 33, 26, 0.14);
}
.works-list .year { font-size: 0.78rem; letter-spacing: 0.18em; color: var(--gold); }
.works-list .work { font-family: var(--display); font-size: var(--step-1); line-height: 1.3; }
.works-list .composer { font-size: 0.85rem; color: var(--olive); white-space: nowrap; }
.works-list .composer a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.works-list .composer a:hover { color: var(--emerald); }
.works-list .forces {
  display: block; margin-top: 0.25rem;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--olive); opacity: 0.75;
}
@media (max-width: 640px) {
  .works-list li { grid-template-columns: 4rem 1fr; }
  .works-list .composer { grid-column: 2; }
}

/* ------------------------------------------------------------------ */
/* Split feature (studio / watershed) */
/* ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.split:hover .split-media img { transform: scale(1.035); }
.split-media .tint { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(62,125,102,0.16), transparent 45%); }
/* landscape variant — show the whole photo, no forced portrait crop */
.split-media.landscape { aspect-ratio: auto; }
.split-media.landscape img { height: auto; }
/* black-on-white logo, blended onto the cream page */
.logo-blend { mix-blend-mode: multiply; }

/* section themes */
.theme-dark { background: var(--pine); color: var(--paper); }
.theme-forest { background: var(--forest); color: var(--paper); }
.theme-stone { background: var(--stone); }
.theme-dark .affiliations { border-color: rgba(245,243,236,0.16); }
.theme-dark .affiliations li, .theme-forest .affiliations li { color: var(--granite); }
.theme-dark .works-list, .theme-dark .works-list li { border-color: rgba(245,243,236,0.14); }
.theme-dark .works-list .composer { color: var(--granite); }

/* clinics strip */
.clinics-card {
  border: 1px solid rgba(176, 141, 87, 0.5); border-radius: 4px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.6rem; align-items: center;
  background: linear-gradient(120deg, rgba(176, 141, 87, 0.07), transparent 60%);
}
@media (max-width: 700px) { .clinics-card { grid-template-columns: 1fr; } }
/* ------------------------------------------------------------------ */
/* Forms */
/* ------------------------------------------------------------------ */
.cform { max-width: 56rem; }
.cform-grid {
  display: grid; gap: 1.3rem 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
}
.cform .field { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.3rem; }
.cform-grid .field { margin-top: 0; }
.cform label, .cform legend {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive);
}
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea {
  font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(29, 33, 26, 0.25); border-radius: 0;
  padding: 0.65rem 0.8rem;
}
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--emerald); outline-offset: 1px; }
.cform textarea { min-height: 7.5rem; resize: vertical; }
.cform-topics { border: 0; padding: 0; }
.cform-topics label {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.5rem 1.6rem 0 0;
  font-size: 0.85rem; letter-spacing: 0.02em; text-transform: none; color: var(--ink); cursor: pointer;
}
.cform-topics input { accent-color: var(--emerald); width: 1rem; height: 1rem; }
.cform .button { margin-top: 1.8rem; border: 0; cursor: pointer; font: inherit; }
.form-status { margin-top: 1rem; font-size: 0.9rem; color: var(--emerald); min-height: 1.4em; }

.button {
  display: inline-block; padding: 0.95rem 1.9rem; border-radius: 2px;
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  background: var(--emerald); color: var(--paper);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.button:hover { background: #346a56; transform: translateY(-2px); }
.button.ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
.button.ghost:hover { background: rgba(245,243,236,0.08); }

/* ------------------------------------------------------------------ */
/* Page hero (interior pages) */
/* ------------------------------------------------------------------ */
.page-hero {
  background: var(--pine); color: var(--paper);
  padding: clamp(6.5rem, 13vh, 8.5rem) var(--gutter) clamp(2.2rem, 5vw, 3.4rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70rem 30rem at 85% -10%, rgba(62, 125, 102, 0.25), transparent 60%),
    radial-gradient(50rem 30rem at 0% 110%, rgba(176, 141, 87, 0.12), transparent 55%);
}
.page-hero .section-inner { position: relative; }
.page-hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-4); line-height: 1.05; letter-spacing: 0.005em;
  max-width: 16ch; text-wrap: balance;
}
.page-hero .deck { margin-top: 1.2rem; font-size: var(--step-1); font-weight: 300; color: var(--mist); max-width: 46ch; }

/* Projects page: keep "Commissions & premieres" on one line, pull the list up closer to the header */
body[data-page="projects"] .page-hero h1 { max-width: none; white-space: nowrap; }
body[data-page="projects"] .page-hero { padding-bottom: clamp(1.2rem, 3vw, 1.8rem); }
body[data-page="projects"] .section { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
@media (max-width: 560px) {
  body[data-page="projects"] .page-hero h1 { white-space: normal; }
}

/* season grouping on schedule page */
.season-label {
  font-family: var(--display); font-size: var(--step-2); margin: 3rem 0 1rem;
}
.schedule-list { border-top: 1px solid rgba(29, 33, 26, 0.14); }
.schedule-list .event-row { border-color: rgba(29, 33, 26, 0.12); }
.schedule-list .event-row:hover { background: rgba(29, 33, 26, 0.035); }
.schedule-list .event-date .month { color: var(--emerald); }
.schedule-list .event-what p { color: var(--olive); }
.schedule-list .event-cta { color: var(--emerald); }

/* contact */
.contact-giant {
  font-family: var(--display); font-size: var(--step-4); line-height: 1.1;
  word-break: break-word;
}
.contact-giant a { border-bottom: 2px solid var(--gold); transition: color 0.3s, border-color 0.3s; }
.contact-giant a:hover { color: var(--emerald); border-color: var(--emerald); }
.contact-meta { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3rem; }
.contact-meta h3 {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem; font-weight: 500;
}
.contact-meta a { border-bottom: 1px solid rgba(29,33,26,0.25); }
.contact-meta a:hover { border-color: var(--emerald); color: var(--emerald); }

/* ------------------------------------------------------------------ */
/* Footer */
/* ------------------------------------------------------------------ */
.footer {
  background: var(--pine); color: var(--granite);
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2rem;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem;
  padding-bottom: 2.4rem; border-bottom: 1px solid rgba(245,243,236,0.12);
}
.footer-name { font-family: var(--display); font-size: var(--step-2); color: var(--paper); }
.footer-name small { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sequin); margin-top: 0.4rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; list-style: none; align-content: flex-start; }
.footer-nav a { font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }
.footer-nav a:hover { opacity: 1; color: var(--sequin); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: 0.74rem; opacity: 0.65; }

/* ------------------------------------------------------------------ */
/* Reveal animations */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-name h1 .line span { transform: none; }
}
