:root {
  --bg: #0B0A08;        /* near-black warm base */
  --ink: #111110;
  --ink-dim: #6b6864;
  --ink-faint: #a8a59f;
  --rule: rgba(17, 17, 16, 0.14);
  --dark: #0b0a08;
  --dark-ink: #f3efe6;
  --dark-ink-dim: #8a857c;
  --dark-rule: rgba(243, 239, 230, 0.18);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 3vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--dark-ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--dark-ink); color: var(--bg); }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad);
  background: transparent;
  color: var(--dark-ink);
  border-bottom: 1px solid transparent;
  transition:
    background .27s ease,
    color .27s ease,
    border-color .27s ease,
    transform .35s cubic-bezier(.2,.8,.2,1);
}
.topbar.is-scrolled {
  background: #ffffff;
  color: var(--ink);
  border-bottom-color: var(--rule);
}
.topbar.is-scrolled .brand img { filter: none; }
/* Auto-hide on scroll-down, reveal on scroll-up */
.topbar.is-hidden { transform: translateY(-100%); }

.menu-btn {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.menu-btn__icon {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 22px;
}
.menu-btn__icon span {
  display: block; height: 1.5px; background: currentColor;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}
.menu-btn__icon span:nth-child(1) { width: 22px; }
.menu-btn__icon span:nth-child(2) { width: 14px; }
.menu-btn:hover .menu-btn__icon span:nth-child(2) { width: 22px; }

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand img {
  display: block;
  height: clamp(48px, 4.4vw, 64px);
  width: auto;
  /* Black PNG on transparent — invert it while over the dark hero,
     then return to natural black once the top bar turns white. */
  filter: invert(1);
  transition: filter .27s ease;
}

/* right side of the bar — Waitlist · Contact, side by side */
.topbar__links {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.contact-link {
  font-size: 13px;
  letter-spacing: 0.02em;
  position: relative;
}
.contact-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.contact-link:hover::after { transform: scaleX(1); }
.contact-link[aria-current="page"]::after { transform: scaleX(1); }

/* =========================================================
   MENU OVERLAY
   ========================================================= */
.overlay {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 60;
  width: min(640px, 92vw);
  background: var(--dark);
  color: var(--dark-ink);
  padding: 18px var(--pad) var(--pad);
  transform: translateX(-100%);
  transition: transform .55s cubic-bezier(.6,.05,.2,1);
  display: flex; flex-direction: column;
}
.overlay.is-open { transform: translateX(0); }

.overlay-scrim {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.overlay-scrim.is-open { opacity: 1; pointer-events: auto; }

.overlay__close {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--dark-ink);
}
.overlay__x { font-size: 22px; line-height: 1; }

.overlay__nav {
  margin-top: clamp(40px, 8vh, 80px);
  flex: 1;
  display: flex; align-items: flex-start;
}
.overlay__nav ul { width: 100%; }
.overlay__nav li {
  overflow: hidden;
}
.overlay__nav a {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  padding: 4px 0;
  color: var(--dark-ink);
  transform: translateY(110%);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), color .2s ease;
}
.overlay.is-open .overlay__nav a { transform: translateY(0); }
.overlay__nav li:nth-child(1) a { transition-delay: .15s; }
.overlay__nav li:nth-child(2) a { transition-delay: .20s; }
.overlay__nav li:nth-child(3) a { transition-delay: .25s; }
.overlay__nav li:nth-child(4) a { transition-delay: .30s; }
.overlay__nav li:nth-child(5) a { transition-delay: .35s; }
.overlay__nav li:nth-child(6) a { transition-delay: .40s; }
.overlay__nav li:nth-child(7) a { transition-delay: .45s; }
.overlay__nav li:nth-child(8) a { transition-delay: .50s; }
.overlay__nav a:hover { color: var(--dark-ink-dim); font-style: italic; font-family: var(--serif); font-weight: 400; }

/* =========================================================
   HERO — full-bleed footage
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  background: var(--dark);
  color: var(--dark-ink);
  overflow: hidden;
}
.footage { position: absolute; inset: 0; background: #050403; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
  will-change: opacity;
}
.hero__video.is-active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.65) 100%),
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(0,0,0,0.45) 100%);
}

/* small caption bottom-left (the only chrome on the hero) */
.hero__caption {
  position: absolute; left: var(--pad); bottom: var(--pad);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dark-ink);
}
.hero__caption span:first-child {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dark-ink-dim);
}
/* fades to black with its clip, then reappears with the next (JS toggles this
   in sync with the video crossfade; transition duration is set from JS) */
.hero__caption.is-hidden { opacity: 0; }
.hero__caption .hero__title { white-space: nowrap; }

/* =========================================================
   FEATURED — A24 podcast pattern
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(80px, 12vh, 160px) var(--pad);
  background: #f6f4ef;
  color: var(--ink);
}
.feature__text { max-width: 640px; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.big {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.link-arrow__line {
  display: inline-block;
  font-size: 18px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.link-arrow:hover .link-arrow__line { transform: translateX(8px); }

.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #c8c2b6;
  overflow: hidden;
  display: block;
}
.feature__media::before {
  content: ""; position: absolute; inset: 0;
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1);
  background: radial-gradient(60% 60% at 45% 45%, #d8b48a, #4a2814);
}
.feature__media:hover::before { transform: scale(1.04); }

/* =========================================================
   STRIP — Gucci-style color panel grid
   ========================================================= */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
}
.panel {
  position: relative;
  display: block;
  overflow: hidden;
}
.panel__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.panel__media::before {
  content: ""; position: absolute; inset: 0;
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1);
}
.panel[data-tone="green"] .panel__media::before { background: radial-gradient(70% 60% at 40% 50%, #5e7a4a, #1b2814); }
.panel[data-tone="red"]   .panel__media::before { background: radial-gradient(70% 60% at 50% 50%, #b13a2e, #3b0a06); }
.panel[data-tone="teal"]  .panel__media::before { background: radial-gradient(70% 60% at 55% 45%, #3f7c80, #0d2326); }
.panel[data-tone="sand"]  .panel__media::before { background: radial-gradient(70% 60% at 45% 55%, #d4b58a, #50361c); }
.panel:hover .panel__media::before { transform: scale(1.05); }

.panel__label {
  position: absolute; left: 18px; bottom: 18px;
  color: var(--dark-ink);
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

/* =========================================================
   FOOTER — dark, multi-column
   ========================================================= */
.foot {
  background: var(--dark);
  color: var(--dark-ink);
  padding: clamp(80px, 10vh, 140px) var(--pad) clamp(40px, 5vh, 60px);
}
.foot__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(60px, 8vh, 100px);
}
.foot__head {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-ink-dim);
  margin-bottom: 24px;
}
.foot__col ul li { padding: 6px 0; }
.foot__col ul a {
  font-size: 16px;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.foot__col ul a:hover { border-bottom-color: var(--dark-ink); }

.foot__lede {
  font-size: 14px;
  color: var(--dark-ink-dim);
  max-width: 38ch;
  margin-bottom: 24px;
  line-height: 1.55;
}
.foot__form {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--dark-rule);
  max-width: 420px;
  transition: border-color .25s ease;
}
.foot__form:focus-within { border-bottom-color: var(--dark-ink); }
.foot__form input {
  flex: 1;
  background: transparent; border: 0; outline: none;
  color: var(--dark-ink);
  font: inherit;
  padding: 14px 0;
}
.foot__form input::placeholder { color: var(--dark-ink-dim); }
.foot__form button {
  padding: 8px 4px 8px 14px;
  font-size: 18px;
  color: var(--dark-ink);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.foot__form button:hover { transform: translateX(4px); }

.foot__bottom {
  border-top: 1px solid var(--dark-rule);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dark-ink-dim);
}
.foot__bottom p:nth-child(2) { text-align: center; }
.foot__bottom p:nth-child(3) { text-align: right; }
.foot__bottom a { transition: color .25s ease; }
.foot__bottom a:hover { color: var(--dark-ink); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature__media { aspect-ratio: 4 / 3; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bottom { grid-template-columns: 1fr; }
  .foot__bottom p:nth-child(2),
  .foot__bottom p:nth-child(3) { text-align: left; }
}
@media (max-width: 520px) {
  .strip { grid-template-columns: 1fr; }
}

/* =========================================================
   COMMERCIALS — solid top bar on the light page
   ========================================================= */
.topbar--light:not(.is-scrolled) {
  background: #f4f0e8;
  color: var(--ink);
  border-bottom-color: var(--rule);
}
.topbar--light:not(.is-scrolled) .brand img { filter: none; }

/* =========================================================
   COMMERCIALS — overview (warm paper, A24 "Upcoming" pattern)
   Every film is an equal card; none is emphasised until opened.
   ========================================================= */
/* dark base, like the home page — light content sits on top, overscroll
   and the footer reveal the dark underneath */
.page-commercials { background: var(--bg); }
.cinema {
  background: #f4f0e8;
  padding: calc(64px + clamp(72px, 13vh, 168px)) var(--pad) clamp(96px, 13vh, 168px);
  color: var(--ink);
}
.cinema__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(52px, 10vw, 150px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 52px) clamp(24px, 2.6vw, 40px);
}

/* one card = one film, all the same size */
.card { display: block; }
.card__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0908;
}
.card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.6s cubic-bezier(.2,.8,.2,1);
}
.card__veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity .5s ease;
}
.card__cue {
  position: absolute; left: clamp(14px, 1.1vw, 20px); bottom: clamp(12px, 1vw, 18px);
  color: #f3efe6;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
/* hover only on real (linked) cards */
a.card:hover .card__img,
a.card:focus-visible .card__img { transform: scale(1.045); }
a.card:hover .card__veil,
a.card:focus-visible .card__veil { opacity: 1; }
a.card:hover .card__cue,
a.card:focus-visible .card__cue { opacity: .92; transform: translateY(0); }

/* placeholder cards — a quiet reserved frame, not a heavy block */
.card--soon .card__frame {
  background: rgba(17, 17, 16, 0.015);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 16, 0.13);
}

.card__title {
  margin-top: clamp(14px, 1.4vw, 20px);
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.card__title--muted {
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(12px, 1vw, 14px);
  color: var(--ink-faint);
}

/* =========================================================
   COMMERCIALS — individual film view (the "watch" page)
   ========================================================= */
/* dark "theater": the film sits on the dark base, nothing competes with it */
.watch {
  min-height: 100vh;
  padding: calc(64px + clamp(46px, 8vh, 104px)) var(--pad) clamp(64px, 9vh, 120px);
  color: var(--dark-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.watch__inner { width: min(1000px, 92vw); }

.watch__back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--dark-ink-dim);
  transition: color .25s ease;
}
.watch__back span { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.watch__back:hover { color: var(--dark-ink); }
.watch__back:hover span { transform: translateX(-5px); }

/* title above the player → always in view */
.watch__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: clamp(16px, 1.8vw, 26px) 0 clamp(22px, 2.6vw, 36px);
}

/* the player surface — width-capped so a 1080p source isn't upscaled
   (and stays sharp on retina without needing fullscreen) */
.viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050403;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 50px 120px -60px rgba(0, 0, 0, 0.7);
}
.player__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: #050403;
}

/* refined circular play button — visible at rest, gone while playing */
.viewer__play {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease;
}
.viewer__play span {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(62px, 5.4vw, 82px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 239, 230, 0.9);
  background: rgba(11, 10, 8, 0.18);
  color: var(--dark-ink);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), background .3s ease,
    border-color .3s ease, color .3s ease;
}
/* optically centered triangle */
.viewer__play svg { width: 30%; height: 30%; margin-left: 7%; fill: currentColor; }
.viewer:hover .viewer__play span {
  transform: scale(1.06);
  background: rgba(243, 239, 230, 0.96);
  border-color: transparent;
  color: #0b0a08;
}
.viewer.is-playing .viewer__play { opacity: 0; pointer-events: none; }

/* Minimal controls — hairline, A24-restrained */
.ctrl {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding: 44px clamp(18px, 2vw, 26px) clamp(16px, 1.8vw, 22px);
  color: var(--dark-ink);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.viewer.is-playing.is-hot .ctrl,
.viewer.is-playing:focus-within .ctrl,
.viewer.is-paused .ctrl {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

.ctrl button { color: inherit; display: inline-flex; }
.ctrl__toggle svg,
.ctrl__mute svg,
.ctrl__full svg { width: 22px; height: 22px; display: block; }
.ctrl__toggle svg,
.ctrl__mute svg { fill: currentColor; }
.ctrl__toggle, .ctrl__mute, .ctrl__full { opacity: .85; transition: opacity .2s ease; }
.ctrl__toggle:hover, .ctrl__mute:hover, .ctrl__full:hover { opacity: 1; }
.ctrl__volume {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 22px;
}
.ctrl__volume-range {
  --volume-pct: 50%;
  width: 0;
  height: 18px;
  appearance: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: width .2s ease, opacity .2s ease, transform .2s ease;
}
.ctrl__volume:hover,
.ctrl__volume:focus-within {
  gap: 10px;
}
.ctrl__volume:hover .ctrl__volume-range,
.ctrl__volume:focus-within .ctrl__volume-range {
  width: clamp(72px, 7vw, 100px);
  opacity: 1;
  pointer-events: auto;
  transform: scaleX(1);
}
.ctrl__volume-range:focus-visible {
  outline: 1px solid rgba(243, 239, 230, 0.78);
  outline-offset: 5px;
}
.ctrl__volume-range::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(
    to right,
    var(--dark-ink) 0 var(--volume-pct),
    rgba(243,239,230,0.24) var(--volume-pct) 100%
  );
}
.ctrl__volume-range::-webkit-slider-thumb {
  appearance: none;
  width: 9px;
  height: 9px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--dark-ink);
}
.ctrl__volume-range::-moz-range-track {
  height: 2px;
  background: rgba(243,239,230,0.24);
}
.ctrl__volume-range::-moz-range-progress {
  height: 2px;
  background: var(--dark-ink);
}
.ctrl__volume-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--dark-ink);
}

/* exactly one icon at a time. Selectors are scoped (two classes) so they
   beat the single-class sizing rule above and never both show.
   Default (playing): pause icon + speaker (tap to mute).
   Paused: play icon.  Muted: muted-speaker (tap for audio). */
.ctrl__toggle .ctrl__icon-play { display: none; }
.viewer.is-paused .ctrl__toggle .ctrl__icon-pause { display: none; }
.viewer.is-paused .ctrl__toggle .ctrl__icon-play { display: block; }
.ctrl__mute .ctrl__icon-muted { display: none; }
.viewer.is-muted .ctrl__mute .ctrl__icon-sound { display: none; }
.viewer.is-muted .ctrl__mute .ctrl__icon-muted { display: block; }

.ctrl__bar {
  position: relative;
  flex: 1;
  height: 16px;
  display: flex; align-items: center;
}
.ctrl__bar::before {
  content: ""; position: absolute; left: 0; right: 0;
  height: 2px; background: rgba(243,239,230,0.22);
}
.ctrl__buffer, .ctrl__fill { position: absolute; left: 0; height: 2px; }
.ctrl__buffer { background: rgba(243,239,230,0.34); width: 0; }
.ctrl__fill { background: var(--dark-ink); width: 0; }
.ctrl__knob {
  position: absolute; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dark-ink);
  transform: translateX(-50%) scale(0);
  transition: transform .2s ease;
}
.ctrl__bar:hover .ctrl__knob,
.viewer.is-paused .ctrl__knob { transform: translateX(-50%) scale(1); }

.ctrl__time {
  font-size: 12px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--dark-ink-dim);
  white-space: nowrap;
}
.ctrl__time .ctrl__cur { color: var(--dark-ink); }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .ctrl { gap: 10px; }
  .ctrl__time { display: none; }
  .ctrl__volume {
    min-width: 22px;
  }
  .ctrl__volume:hover,
  .ctrl__volume:focus-within {
    gap: 8px;
  }
  .ctrl__volume:hover .ctrl__volume-range,
  .ctrl__volume:focus-within .ctrl__volume-range {
    width: 54px;
  }
}

/* =========================================================
   CONTACT & WAITLIST — light form pages (warm paper)
   Two columns: the statement on the left, the form on the
   right, so the page reads across its full width.
   ========================================================= */
.page-form { background: #f4f0e8; color: var(--ink); }

.formpage {
  padding: calc(64px + clamp(64px, 11vh, 150px)) var(--pad) clamp(96px, 14vh, 180px);
}
.formpage__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 130px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

/* left column — the statement */
.formpage__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: clamp(20px, 2.6vw, 36px) 0 clamp(22px, 2.8vw, 36px);
}
.formpage__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 46ch;
}
.formpage__aside {
  margin-top: clamp(28px, 3.4vw, 46px);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 42ch;
}
.formpage__aside a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color .25s ease;
}
.formpage__aside a:hover { border-bottom-color: var(--ink); }

/* right column — the form */
.formpage__form { max-width: 560px; }

/* --- form fields --- */
.field { display: flex; flex-direction: column; margin-bottom: clamp(26px, 3vw, 40px); }
.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 13px;
  transition: color .25s ease;
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font: inherit;
  padding: 10px 0;
  transition: border-color .25s ease;
}
/* auto-growing: starts as a single line and expands with the text. The resize
   handle is removed; height is driven by JS, hard-capped by maxlength. */
.field textarea {
  resize: none;
  overflow: hidden;
  line-height: 1.6;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--ink); }

/* character counter under expandable fields */
.field__count {
  align-self: flex-end;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  transition: color .25s ease;
}
.field__count.is-max { color: var(--ink); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 44px);
}

/* --- custom dropdown (matches the hairline-field aesthetic) --- */
.dropdown { position: relative; }
.dropdown__toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease;
}
.dropdown.is-open .dropdown__toggle,
.dropdown__toggle:focus-visible { outline: none; border-bottom-color: var(--ink); }
.dropdown__chev {
  flex: none;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-dim);
  border-bottom: 1.5px solid var(--ink-dim);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease;
}
.dropdown.is-open .dropdown__chev {
  transform: translateY(2px) rotate(225deg);
  border-color: var(--ink);
}
.dropdown__menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 6;
  margin: 0; padding: 7px;
  list-style: none;
  background: #fbf9f4;
  border: 1px solid var(--rule);
  box-shadow: 0 40px 80px -40px rgba(17, 16, 8, 0.4);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.dropdown.is-open .dropdown__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown__opt {
  padding: 11px 12px;
  font-size: 15px;
  color: var(--ink-dim);
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.dropdown__opt:hover,
.dropdown__opt:focus,
.dropdown__opt.is-active { color: var(--ink); background: rgba(17, 17, 16, 0.05); outline: none; }
.dropdown__opt.is-selected { color: var(--ink); font-weight: 500; }

/* --- submit button --- */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(8px, 1.2vw, 16px);
  padding: 15px 26px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: 1px solid var(--rule);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn-line__arrow { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn-line:hover {
  background: var(--ink);
  color: #f4f0e8;
  border-color: var(--ink);
}
.btn-line:hover .btn-line__arrow { transform: translateX(6px); }

/* graceful confirmation — revealed in place of the form once sent */
.form__done {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 42ch;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .5s ease, max-height .6s cubic-bezier(.2,.8,.2,1), margin-top .5s ease;
}
.form.is-sent .field,
.form.is-sent .btn-line { display: none; }
.form.is-sent .form__done { opacity: 1; max-height: 240px; margin-top: 4px; }

@media (max-width: 900px) {
  .formpage__inner { grid-template-columns: 1fr; gap: clamp(40px, 8vw, 56px); }
  .formpage__form { max-width: none; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .overlay__nav a { transform: none !important; }
}
