/* ==========================================================================
   trevorqueen.com — premiere marquee
   Palette sampled from the existing TQ mark. See DESIGN.md.
   ========================================================================== */

:root{
  /* ---- ground: true black, film-grade ---- */
  --ink:          oklch(0.145 0.004 265);   /* #0A0A0C  the room lights are down */
  --ink-deep:     oklch(0.085 0.003 265);   /* #030304  true black, hero + footer */
  --ink-raised:   oklch(0.215 0.006 265);   /* panels                             */
  --ink-hairline: oklch(0.300 0.007 265);

  /* ---- accent: projector amber (primary) ---- */
  --gold:         oklch(0.790 0.145 66);    /* #F5A03C */
  --gold-bright:  oklch(0.865 0.140 72);
  --gold-dim:     oklch(0.600 0.115 62);

  /* ---- secondary: electric blue, used sparingly ---- */
  --volt:         oklch(0.660 0.190 258);
  --volt-dim:     oklch(0.480 0.150 258);

  /* ---- relief (reading grounds) ---- */
  --relief:       oklch(0.962 0.002 90);
  --relief-deep:  oklch(0.918 0.003 90);
  --relief-line:  oklch(0.860 0.004 90);

  /* ---- text ---- */
  --text-ink:     oklch(0.960 0.002 90);
  --text-muted:   oklch(0.775 0.006 265);   /* on ink, ≥4.5:1 */
  --text-relief:  oklch(0.200 0.004 265);
  --text-relief-muted: oklch(0.450 0.006 265);

  /* ---- type ---- */
  --display: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9rem);   /* 14px floor on mobile */
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.25rem, 1.16rem + 0.42vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.42rem + 0.86vw, 2.1rem);
  --step-3:  clamp(2.05rem, 1.71rem + 1.6vw, 3rem);
  --step-4:  clamp(2.6rem, 1.98rem + 2.9vw, 4.25rem);
  --step-5:  clamp(3rem, 2.0rem + 4.6vw, 5.75rem);

  /* ---- space ---- */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --act:    clamp(4.5rem, 9vw, 9rem);
  --measure: 68ch;

  /* ---- motion ---- */
  --quint: cubic-bezier(0.22, 1, 0.36, 1);
  --expo:  cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- film ---- */
  --grain: url('/assets/grain.png');

  /* ---- z ---- */
  --z-sticky: 100;
  --z-nav: 200;
  --z-backdrop: 300;
  --z-modal: 400;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--ink);
  color: var(--text-ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection{ background: var(--gold); color: var(--ink-deep); }

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

.skip{
  position: absolute; left: 50%; translate: -50% -140%;
  z-index: var(--z-modal);
  background: var(--gold); color: var(--ink-deep);
  padding: 0.7rem 1.4rem; font-weight: 600; text-decoration: none;
  transition: translate 0.2s var(--quint);
}
.skip:focus{ translate: -50% 0.6rem; }

/* --------------------------------------------------------------- type ---- */

h1, h2, h3, h4{
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
  font-optical-sizing: auto;
}
h1{ font-size: var(--step-5); }
h2{ font-size: var(--step-4); }
h3{ font-size: var(--step-2); line-height: 1.14; }
h4{ font-size: var(--step-1); line-height: 1.2; }

p{ margin: 0 0 1.15em; max-width: var(--measure); text-wrap: pretty; }
p:last-child{ margin-bottom: 0; }

a{ color: inherit; }

strong{ font-weight: 600; }

.lede{
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-ink);
  max-width: 46ch;
}

/* Signage: wide Archivo caps. Used for nav, marquee, act names, labels.
   Deliberate brand system, not an eyebrow on every section. */
.signage{
  font-family: var(--sans);
  font-variation-settings: 'wdth' 122, 'wght' 600;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
}

.gold{ color: var(--gold); }

.rule{
  height: 1px; border: 0; margin: 0;
  background: var(--ink-hairline);
}
.rule--gold{ background: var(--gold-dim); }

/* ------------------------------------------------------------- layout ---- */

.shell{
  width: min(100% - (var(--gutter) * 2), 1240px);
  margin-inline: auto;
}
.shell--narrow{ width: min(100% - (var(--gutter) * 2), 820px); }

.band{ padding-block: var(--act); position: relative; }
.band--deep{ background: var(--ink-deep); }
.band--relief{
  background: var(--relief);
  color: var(--text-relief);
}
.band--relief h1, .band--relief h2, .band--relief h3, .band--relief h4{ color: var(--text-relief); }
.band--relief .muted{ color: var(--text-relief-muted); }
.band--relief .rule{ background: var(--relief-line); }
.band--tight{ padding-block: clamp(3rem, 5vw, 4.5rem); }

.muted{ color: var(--text-muted); }

/* The cue line — marks the start of an act. */
.cue{
  display: flex; align-items: baseline; gap: 1.1rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.cue::after{
  content: ''; flex: 1; height: 1px; background: var(--gold-dim);
  transform-origin: left; translate: 0 -0.3em;
}
.cue .signage{ color: var(--gold); }

/* ---------------------------------------------------------------- nav ---- */

.nav{
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in oklab, var(--ink-deep) 92%, transparent);
  border-bottom: 1px solid var(--ink-hairline);
  transition: background 0.3s var(--quint);
}
.nav__in{
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.85rem;
}
.nav__mark{
  display: flex; align-items: center; gap: 0.7rem; text-decoration: none;
  min-height: 44px; padding-right: 0.35rem;      /* comfortable touch target */
}
.nav__mark img{ width: auto; height: 40px; }
.nav__wordmark{
  font-family: var(--display);
  font-size: 1.02rem; font-weight: 500;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--text-ink); white-space: nowrap;
  padding-top: 0.1em;
}
@media (max-width: 460px){ .nav__wordmark{ display: none; } }
.nav__links{
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none; margin: 0; padding: 0;
}
.nav__links a{
  text-decoration: none; color: var(--text-muted);
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--quint), border-color 0.2s var(--quint);
}
.nav__links a:hover{ color: var(--text-ink); border-bottom-color: var(--gold); }
.nav__links a[aria-current="page"]{ color: var(--gold); border-bottom-color: var(--gold); }

/* `.nav__links a` (0,1,1) outranks `.nav__cta` (0,1,0), so the colour has to be
   stated at matching specificity or the label inherits muted text on amber. */
.nav__links a.nav__cta{
  text-decoration: none; background: var(--gold); color: var(--ink-deep);
  padding: 0.62rem 1.15rem; font-weight: 600;
  border-bottom-color: transparent;
  transition: background 0.2s var(--quint);
}
.nav__links a.nav__cta:hover{ background: var(--gold-bright); color: var(--ink-deep); }

.nav__burger{
  display: none; background: none; border: 1px solid var(--ink-hairline);
  color: var(--text-ink); padding: 0.75rem 1rem; cursor: pointer;
  font-family: var(--sans); min-height: 44px;
}

@media (max-width: 1040px){
  .nav__burger{ display: block; }
  .nav__links{
    position: fixed; inset: 0; z-index: var(--z-modal);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 0.4rem; padding: var(--gutter);
    background: var(--ink-deep);
    translate: 0 -100%;
    transition: translate 0.45s var(--expo);
    overflow-y: auto;
  }
  .nav__links[data-open="true"]{ translate: 0 0; }
  .nav__links a{ font-family: var(--display); font-size: var(--step-3); letter-spacing: -0.02em; }
  .nav__links .signage{ font-size: var(--step-3); font-variation-settings: 'wdth' 100, 'wght' 500; letter-spacing: normal; text-transform: none; }
  .nav__close{
    position: absolute; top: 1rem; right: var(--gutter);
    background: none; border: 1px solid var(--ink-hairline); color: var(--text-ink);
    padding: 0.55rem 0.8rem; cursor: pointer; font-family: var(--sans);
  }
}
@media (min-width: 1041px){ .nav__close{ display: none; } }

/* -------------------------------------------------------------- hero ---- */

/* ---- film grain: one fixed layer over the whole page, GPU-cheap ---------- */
body::after{
  content: ''; position: fixed; inset: -50%;
  pointer-events: none; z-index: 60; opacity: 0.055;
  background-image: var(--grain);
  background-size: 180px 180px;
  animation: grainShift 700ms steps(4) infinite;
}
@keyframes grainShift{
  0%{ transform: translate(0,0); }      25%{ transform: translate(-3%, 2%); }
  50%{ transform: translate(2%,-3%); }  75%{ transform: translate(-2%,-2%); }
  100%{ transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce){ body::after{ animation: none; } }

.hero{
  position: relative;
  background: var(--ink-deep);
  overflow: hidden;
}

/* ---- video hero ---------------------------------------------------------- */
.hero--film{ height: 100svh; min-height: 34rem; max-height: 54rem; }
.hero--film .hero__film{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero--film .hero__scrim{
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 32%, transparent 0%,
                    color-mix(in oklab, var(--ink-deep) 55%, transparent) 68%,
                    color-mix(in oklab, var(--ink-deep) 92%, transparent) 100%),
    linear-gradient(to bottom,
      color-mix(in oklab, var(--ink-deep) 72%, transparent) 0%,
      transparent 26%, transparent 46%,
      color-mix(in oklab, var(--ink-deep) 88%, transparent) 86%,
      var(--ink-deep) 100%);
}
/* letterbox bars — close in as you scroll away from the fold */
.hero--film::before, .hero--film::after{
  content: ''; position: absolute; left: 0; right: 0; z-index: 3;
  height: var(--bar, 0px); background: var(--ink-deep);
  pointer-events: none;
}
.hero--film::before{ top: 0; }
.hero--film::after{ bottom: 0; }

.hero--film .hero__copy{
  position: absolute; inset: auto 0 0 0; z-index: 4;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}
.hero__slate{
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.4rem; color: var(--gold);
}
.hero__slate::before{
  content: ''; width: 2.4rem; height: 1px; background: var(--gold);
}
.hero__scroll{
  position: absolute; left: 50%; bottom: 1.5rem; z-index: 4;
  translate: -50% 0; color: var(--text-muted);
  display: grid; justify-items: center; gap: 0.5rem;
}
.hero__scroll span{ width: 1px; height: 2.2rem; background: currentColor; opacity: 0.5; }
@media (prefers-reduced-motion: no-preference){
  .hero__scroll span{ animation: scrollHint 2.4s var(--quint) infinite; transform-origin: top; }
}
@keyframes scrollHint{ 0%,100%{ scale: 1 0.3; opacity: 0.25; } 50%{ scale: 1 1; opacity: 0.6; } }
.hero__panels{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: clamp(30rem, 78vh, 48rem);
}
.hero__panel{ position: relative; overflow: hidden; background: var(--ink); }
.hero__panel img{
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
/* faces sit high so the headline lands on the scrim, not across them */
.hero__panel--left img{ object-position: 50% 18%; }
.hero__panel--right img{ object-position: 52% 4%; }
.hero__panel::after{
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in oklab, var(--ink-deep) 42%, transparent) 0%,
    color-mix(in oklab, var(--ink-deep) 6%, transparent) 26%,
    color-mix(in oklab, var(--ink-deep) 58%, transparent) 52%,
    color-mix(in oklab, var(--ink-deep) 88%, transparent) 74%,
    color-mix(in oklab, var(--ink-deep) 96%, transparent) 100%);
}
/* the seam */
.hero__seam{
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--gold);
  translate: -50% 0; z-index: 2;
  opacity: 0.85;
}
.hero__copy{
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
  text-align: center;
}
.hero__copy h1{
  color: var(--text-ink);
  text-shadow: 0 2px 30px color-mix(in oklab, var(--ink-deep) 70%, transparent);
}
.hero__copy h1 em{
  font-style: italic;
  color: var(--gold);
}
.hero__sub{
  margin: 1.1rem auto 0; max-width: 52ch;
  color: var(--text-ink);
  font-size: var(--step-0);
  text-shadow: 0 1px 18px color-mix(in oklab, var(--ink-deep) 80%, transparent);
}
.hero__actions{
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
  margin-top: 1.6rem;
}

/* On mobile the diptych collapses to one panel and the copy sits BELOW the
   photograph rather than over it — at this width the headline wraps to three
   lines and would land squarely on his face. */
@media (max-width: 760px){
  /* film hero: shorter, and the bottom of frame goes darker so three lines of
     headline stay legible over the video */
  .hero--film{ height: 88svh; min-height: 30rem; }
  .hero--film .hero__scrim{
    background:
      linear-gradient(to bottom,
        color-mix(in oklab, var(--ink-deep) 60%, transparent) 0%,
        transparent 22%,
        color-mix(in oklab, var(--ink-deep) 62%, transparent) 48%,
        color-mix(in oklab, var(--ink-deep) 94%, transparent) 74%,
        var(--ink-deep) 100%);
  }
  .hero--film .hero__copy{ padding-bottom: clamp(2.5rem, 7vh, 4rem); }
  .hero--film h1{ font-size: clamp(2.4rem, 10.5vw, 3.4rem); }
  .hero__scroll{ display: none; }
  .hero__slate{ letter-spacing: 0.1em; font-size: 0.78rem; margin-bottom: 1rem; }
  .hero__slate::before{ display: none; }

  .hero__panels{
    grid-template-columns: 1fr;
    height: clamp(17rem, 44vh, 24rem);
  }
  .hero__panel--right, .hero__seam{ display: none; }
  .hero__panel--left img{ object-position: 50% 14%; }
  .hero__panel::after{
    background: linear-gradient(to bottom,
      color-mix(in oklab, var(--ink-deep) 30%, transparent) 0%,
      color-mix(in oklab, var(--ink-deep) 5%, transparent) 40%,
      color-mix(in oklab, var(--ink-deep) 70%, transparent) 100%);
  }
  .hero__copy{
    position: static;
    padding-block: clamp(1.75rem, 5vw, 2.5rem) clamp(2.25rem, 6vw, 3rem);
    text-align: left;
  }
  .hero__copy h1{ text-shadow: none; }
  .hero__sub{ margin-inline: 0; text-shadow: none; max-width: 40ch; }
  .hero__actions{ justify-content: flex-start; }
  .hero__actions .btn{ flex: 1 1 auto; justify-content: center; }
}

/* ------------------------------------------------------------ buttons ---- */

.btn{
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans);
  font-variation-settings: 'wdth' 112, 'wght' 600;
  font-size: var(--step--1);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.22s var(--quint), color 0.22s var(--quint),
              border-color 0.22s var(--quint);
}
.btn--gold{ background: var(--gold); color: var(--ink-deep); }
.btn--gold:hover{ background: var(--gold-bright); }
.btn--ghost{ border-color: var(--gold-dim); color: var(--text-ink); background: transparent; }
.btn--ghost:hover{ border-color: var(--gold); color: var(--gold); }
.band--relief .btn--ghost{ border-color: var(--relief-line); color: var(--text-relief); }
.band--relief .btn--ghost:hover{ border-color: var(--text-relief); }

/* ----------------------------------------------------------- marquee ---- */

.marquee{
  overflow: hidden; position: relative;
  border-block: 1px solid var(--ink-hairline);
  background: var(--ink-deep);
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
}
.marquee__track{
  display: flex; gap: clamp(1rem, 2.4vw, 2rem); width: max-content;
  animation: slide 62s linear infinite;
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
.marquee__item{ position: relative; flex: 0 0 auto; }
.marquee__item img{
  width: clamp(150px, 17vw, 240px); aspect-ratio: 3 / 4;
  object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(0.86);
  transition: filter 0.4s var(--quint);
}
.marquee__item:hover img{ filter: grayscale(0) contrast(1.02) brightness(1); }
.marquee__item figcaption{
  margin-top: 0.6rem; color: var(--text-muted);
}
@keyframes slide{ from{ translate: 0 0; } to{ translate: -50% 0; } }

@media (prefers-reduced-motion: reduce){
  .marquee__track{
    animation: none; width: 100%;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .marquee__item img{ width: 100%; }
  .marquee__dup{ display: none; }
}

/* -------------------------------------------------------------- prose ---- */

.prose{ max-width: var(--measure); }
.prose p + h3{ margin-top: 2.2em; }
.prose h3 + p{ margin-top: 0.75em; }
.prose a{ color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover{ color: var(--gold-dim); }

.pull{
  font-family: var(--display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0;
  color: var(--gold);
}
.band--relief .pull{ color: var(--text-relief); }

/* ------------------------------------------------------------- splits ---- */

.split{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
}
.split__media{ grid-column: span 6; }
.split__body{ grid-column: span 6; }
.split--offset .split__media{ grid-column: 1 / span 5; }
.split--offset .split__body{ grid-column: 7 / span 6; }
.split--flip .split__media{ grid-column: 8 / span 5; order: 2; }
.split--flip .split__body{ grid-column: 1 / span 6; order: 1; }

@media (max-width: 900px){
  .split__media, .split__body,
  .split--offset .split__media, .split--offset .split__body,
  .split--flip .split__media, .split--flip .split__body{
    grid-column: 1 / -1; order: initial;
  }
}

figure{ margin: 0; }
.frame{ position: relative; overflow: hidden; background: var(--ink-raised); }
.frame img{ width: 100%; height: 100%; object-fit: cover; }
.frame--tall{ aspect-ratio: 4 / 5; }
.frame--wide{ aspect-ratio: 3 / 2; }
.frame--square{ aspect-ratio: 1 / 1; }
.frame__cap{
  margin-top: 0.7rem; color: var(--text-muted); font-size: var(--step--1);
}
.band--relief .frame__cap{ color: var(--text-relief-muted); }

/* ------------------------------------------------------------ gallery ---- */

.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.15rem);
}
.gallery figure{ position: relative; overflow: hidden; }
.gallery img{ width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption{
  margin-top: 0.55rem; color: var(--text-muted); font-size: var(--step--1);
}

/* --------------------------------------------------------------- list ---- */

.ledger{ display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ledger > li{
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.4rem, 2.5vw, 2rem);
  border-top: 1px solid var(--ink-hairline);
  align-items: start;
}
.ledger > li:last-child{ border-bottom: 1px solid var(--ink-hairline); }
.band--relief .ledger > li{ border-color: var(--relief-line); }
.ledger h3{ font-size: var(--step-1); }
.ledger p{ margin: 0; color: var(--text-muted); }
.band--relief .ledger p{ color: var(--text-relief-muted); }
@media (max-width: 720px){
  .ledger > li{ grid-template-columns: 1fr; gap: 0.6rem; }
}

/* --------------------------------------------------------------- form ---- */

.form{ display: grid; gap: 0.9rem; max-width: 34rem; }
.field{ display: grid; gap: 0.4rem; }
.field label{
  font-family: var(--sans);
  font-variation-settings: 'wdth' 115, 'wght' 600;
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.band--relief .field label{ color: var(--text-relief-muted); }
.field input, .field textarea, .field select{
  font-family: var(--sans); font-size: var(--step-0);
  background: var(--ink-deep); color: var(--text-ink);
  border: 1px solid var(--ink-hairline);
  padding: 0.85rem 0.95rem; width: 100%;
}
.band--relief .field input,
.band--relief .field textarea,
.band--relief .field select{
  background: #fff; color: var(--text-relief); border-color: var(--relief-line);
}
.field input::placeholder, .field textarea::placeholder{ color: var(--text-muted); }
.band--relief .field input::placeholder,
.band--relief .field textarea::placeholder{ color: var(--text-relief-muted); }
.field input:focus, .field textarea:focus, .field select:focus{
  outline: 2px solid var(--gold-bright); outline-offset: 1px; border-color: transparent;
}

.consent{
  display: grid; grid-template-columns: auto 1fr; gap: 0.7rem;
  align-items: start;
  font-size: var(--step--1); line-height: 1.55;
  color: var(--text-muted);
}
.band--relief .consent{ color: var(--text-relief-muted); }
.consent input[type="checkbox"]{
  width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0;
  accent-color: var(--gold); flex: none;
}
/* the whole consent block is the hit area, so the 24px box is never the target */
.consent{ cursor: pointer; padding: 0.35rem 0; min-height: 44px; }
.consent a{ color: inherit; text-decoration-color: var(--gold); text-underline-offset: 2px; }

.form__note{ font-size: var(--step--1); color: var(--text-muted); max-width: 46ch; }
.band--relief .form__note{ color: var(--text-relief-muted); }

.form__status{ font-size: var(--step--1); min-height: 1.4em; }
.form__status[data-state="error"]{ color: var(--gold-bright); }
.form__status[data-state="ok"]{ color: var(--gold); }

/* -------------------------------------------------------------- modal ---- */

.modal{
  border: none; padding: 0; margin: auto;
  background: transparent;
  max-width: min(46rem, calc(100% - 2rem));
  width: 100%;
}
.modal::backdrop{
  background: color-mix(in oklab, var(--ink-deep) 82%, transparent);
  backdrop-filter: blur(3px);
}
.modal__in{
  display: grid; grid-template-columns: 0.8fr 1fr;
  background: var(--ink);
  border: 1px solid var(--gold-dim);
}
.modal__media{ position: relative; overflow: hidden; }
.modal__media img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.modal__body{ padding: clamp(1.5rem, 3vw, 2.25rem); }
.modal__body h2{ font-size: var(--step-2); }
.modal__body p{ font-size: var(--step--1); color: var(--text-muted); margin-top: 0.7rem; }
.modal__close{
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2;
  background: var(--ink-deep); border: 1px solid var(--ink-hairline);
  color: var(--text-ink); cursor: pointer;
  width: 2.1rem; height: 2.1rem; line-height: 1;
  font-family: var(--sans); font-size: 1.1rem;
}
.modal__close:hover{ border-color: var(--gold); color: var(--gold); }
@media (max-width: 620px){
  .modal__in{ grid-template-columns: 1fr; }
  .modal__media{ height: 9rem; }
}
@media (prefers-reduced-motion: no-preference){
  .modal[open]{ animation: modalIn 0.42s var(--expo); }
  .modal[open]::backdrop{ animation: fadeIn 0.35s var(--quint); }
}
@keyframes modalIn{ from{ opacity: 0; translate: 0 1.5rem; } to{ opacity: 1; translate: 0 0; } }
@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }

/* ------------------------------------------------------------- footer ---- */

.foot{ background: var(--ink-deep); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.foot__top{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
}
.foot__mark img{ height: 104px; width: auto; }
.foot__nav{ list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; }
.foot__nav a{
  color: var(--text-muted); text-decoration: none;
  display: inline-block; padding-block: 0.6rem;   /* 44px tap target */
}
.foot__nav a:hover{ color: var(--gold); }
.foot h4{ font-family: var(--sans); font-variation-settings: 'wdth' 118, 'wght' 600;
  font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); }

.socials{ display: flex; gap: 0.7rem; margin-top: 1rem; list-style: none; padding: 0; }
.socials a{
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--ink-hairline);
  color: var(--text-muted);
  transition: color 0.22s var(--quint), border-color 0.22s var(--quint),
              background 0.22s var(--quint);
}
.socials a:hover{ color: var(--ink-deep); background: var(--gold); border-color: var(--gold); }
.socials svg{ width: 1.15rem; height: 1.15rem; fill: currentColor; }

.foot__base{
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  justify-content: space-between; align-items: center;
  border-top: 1px solid var(--ink-hairline);
  padding-top: 1.6rem;
  font-size: var(--step--1); color: var(--text-muted);
}
.foot__base a{
  color: var(--text-muted); text-decoration-color: var(--gold-dim); text-underline-offset: 3px;
  display: inline-block; padding-block: 0.6rem;
}
.foot__base a:hover{ color: var(--gold); }

/* ------------------------------------------------------------ reveals ---- */
/* Content is visible by default. The hidden start state is only applied once
   JS has confirmed it can run the observer (.js-reveal on <html>), so a
   headless render, a blocked script or a background tab still ships content. */

@media (prefers-reduced-motion: no-preference){
  .js-reveal [data-reveal]{
    opacity: 0;
    translate: 0 1.35rem;
    transition: opacity 0.75s var(--quint), translate 0.75s var(--quint);
  }
  .js-reveal [data-reveal].is-in{ opacity: 1; translate: 0 0; }
  .js-reveal [data-reveal-stagger] > *{
    opacity: 0; translate: 0 1rem;
    transition: opacity 0.6s var(--quint), translate 0.6s var(--quint);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js-reveal [data-reveal-stagger].is-in > *{ opacity: 1; translate: 0 0; }

  /* hero page-load choreography */
  .hero__panel img{ animation: panelRise 1.15s var(--expo) both; }
  .hero__panel--right img{ animation-delay: 0.1s; }
  .hero__seam{ animation: seamDraw 1s var(--expo) 0.45s both; }
  .hero__copy > *{ animation: copyUp 0.9s var(--expo) both; }
  .hero__copy > *:nth-child(1){ animation-delay: 0.5s; }
  .hero__copy > *:nth-child(2){ animation-delay: 0.62s; }
  .hero__copy > *:nth-child(3){ animation-delay: 0.74s; }
}
@keyframes panelRise{ from{ opacity: 0; scale: 1.06; } to{ opacity: 1; scale: 1; } }
@keyframes seamDraw{ from{ scale: 1 0; } to{ scale: 1 1; } }
@keyframes copyUp{ from{ opacity: 0; translate: 0 1.2rem; } to{ opacity: 1; translate: 0 0; } }

.no-js [data-reveal], .no-js [data-reveal-stagger] > *{ opacity: 1; translate: none; }

/* -------------------------------------------------------------- misc ---- */

.stack{ display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.stack--tight{ gap: 1rem; }
.cluster{ display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.center{ text-align: center; margin-inline: auto; }

.tag{
  display: inline-block;
  font-family: var(--sans);
  font-variation-settings: 'wdth' 118, 'wght' 600;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-dim);
  padding: 0.3rem 0.6rem;
}

.legal h2{ font-size: var(--step-2); margin-top: 2.5em; }
.legal h3{ font-size: var(--step-1); margin-top: 1.8em; }
.legal h2:first-of-type{ margin-top: 0; }
.legal ul{ max-width: var(--measure); padding-left: 1.2rem; }
.legal li{ margin-bottom: 0.5em; }
.legal address{ font-style: normal; }
