/* ==========================================================================
   VALCOURT — Riviera Noir
   Design tokens · base · components · sections
   ========================================================================== */

@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("../fonts/PlayfairDisplay.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/CormorantGaramond.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/CormorantGaramond-Italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  /* colour: one night, from ink to dawn */
  --ink: #07070a;
  --night: #0d0c11;
  --night-2: #141218;
  --wine: #5e0c17;
  --neon: #e0243b;
  --neon-soft: rgba(224, 36, 59, .55);
  --gold: #d6b26c;
  --gold-dim: rgba(214, 178, 108, .55);
  --cream: #f3ece0;
  --mist: rgba(243, 236, 224, .68);
  --faint: rgba(243, 236, 224, .14);
  --hair: rgba(243, 236, 224, .1);

  /* type */
  --f-mark: "Cinzel", "Trajan Pro", serif;
  --f-display: "Playfair", "Didot", Georgia, serif;
  --f-body: "Cormorant", "Garamond", Georgia, serif;

  /* motion: one easing family, four speeds */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-micro: 240ms;
  --t-ui: 480ms;
  --t-reveal: 1100ms;

  /* space */
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(110px, 16vw, 240px);
  --max: 1560px;
  --dawn: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: clamp(19px, 1.25vw, 22px);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
p:not(.eyebrow):not(.form__legal):not(.hero__lede):not(.single__meta):not(.form__status):not(.dawn__big):not(.dawn__small):not(.record__line):not(.section-head__note):not(.loader__time):not(.loader__line):not(.hero__coords) {
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
em { font-style: italic; }
::selection { background: var(--neon); color: var(--cream); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--ink); font-family: var(--f-mark); font-size: 12px; letter-spacing: .2em; transition: top var(--t-micro); }
.skip:focus { top: 16px; }

/* ---------- shared atoms ---------- */
.eyebrow {
  font-family: var(--f-mark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.display {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(48px, 7.4vw, 132px);
  line-height: .96;
  letter-spacing: -.015em;
  margin: 0 0 .35em;
}
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-inner { display: inline-block; will-change: transform; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 30px;
  font-family: var(--f-mark); font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform var(--t-ui) var(--ease-out); }
.btn--solid { background: var(--cream); color: var(--ink); }
.btn--solid::before { background: var(--neon); }
.btn--solid:hover { color: var(--cream); }
.btn--line { border: 1px solid var(--faint); color: var(--cream); }
.btn--line::before { background: var(--cream); }
.btn--line:hover { color: var(--ink); border-color: var(--cream); }
.btn:hover::before { transform: translateY(0); }
.btn__icon svg { width: 12px; height: 12px; fill: currentColor; display: block; }
.btn.is-disabled, a.is-disabled { pointer-events: none; opacity: .45; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 900ms steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* cursor */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--gold-dim);
  display: grid; place-items: center;
  transition: width var(--t-ui) var(--ease-out), height var(--t-ui) var(--ease-out), margin var(--t-ui) var(--ease-out), background var(--t-ui) var(--ease-out), border-color var(--t-ui);
}
.cursor__label { font-family: var(--f-mark); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity var(--t-micro), transform var(--t-ui) var(--ease-out); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--cream); border-color: var(--cream); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-label .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 180; display: grid; place-content: center; justify-items: center; gap: 18px; background: transparent; }
.loader__curtain { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--ink); z-index: -1; }
.loader__curtain--l { left: 0; } .loader__curtain--r { right: 0; }
.loader__dial { width: 92px; height: 92px; overflow: visible; }
.loader__ring { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 352; stroke-dashoffset: 352; }
.loader__hand { stroke: var(--cream); stroke-width: 1.4; stroke-linecap: round; transform-origin: 60px 60px; }
.loader__hand--h { transform: rotate(240deg); }
.loader__time { font-family: var(--f-mark); font-size: 13px; letter-spacing: .4em; color: var(--gold); margin: 6px 0 0; }
.loader__line { font-family: var(--f-body); font-style: italic; font-size: 26px; color: var(--mist); margin: 0; }
.is-loaded .loader { pointer-events: none; }
.no-js .loader { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 26px var(--gutter);
  transition: transform var(--t-ui) var(--ease-out), background var(--t-ui), padding var(--t-ui) var(--ease-out);
}
.nav.is-scrolled { padding-top: 16px; padding-bottom: 16px; background: linear-gradient(to bottom, rgba(7,7,10,.82), rgba(7,7,10,0)); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__mark { font-family: var(--f-mark); font-weight: 600; font-size: 15px; letter-spacing: .5em; justify-self: start; }
.nav__clock { display: flex; align-items: center; gap: 12px; justify-self: center; }
.clock { width: 30px; height: 30px; overflow: visible; }
.clock circle:first-child { fill: none; stroke: var(--gold-dim); stroke-width: 1; }
.clock__ticks line { stroke: var(--gold-dim); stroke-width: 1; }
.clock__h, .clock__m { stroke: var(--cream); stroke-linecap: round; transform-origin: 20px 20px; transform-box: view-box; }
.clock__h { stroke-width: 1.8; } .clock__m { stroke-width: 1.1; }
.clock__pin { fill: var(--neon); }
.clock__time { font-family: var(--f-mark); font-size: 12px; letter-spacing: .3em; color: var(--gold); min-width: 5.2ch; font-variant-numeric: tabular-nums; }
.nav__menu { justify-self: end; display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mark); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; padding: 10px 0; }
.nav__menu-lines { display: grid; gap: 6px; width: 26px; }
.nav__menu-lines i { display: block; height: 1px; background: var(--cream); transition: transform var(--t-ui) var(--ease-out); transform-origin: right; }
.nav__menu-lines i:last-child { transform: scaleX(.55); }
.nav__menu:hover .nav__menu-lines i:last-child { transform: scaleX(1); }

/* ---------- menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: auto 1fr auto; padding: 26px var(--gutter) 34px; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 80% 10%, #2a0910 0%, var(--ink) 55%); clip-path: inset(0 0 100% 0); }
.menu__close { position: relative; justify-self: end; font-family: var(--f-mark); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; padding: 10px 0; }
.menu__list { position: relative; list-style: none; margin: 0; padding: 0; align-self: center; display: grid; gap: clamp(2px, .6vh, 10px); }
.menu__list a { display: grid; grid-template-columns: 7ch 1fr; align-items: baseline; gap: 2vw; padding: 2px 0; }
.menu__hour { font-family: var(--f-mark); font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.menu__name { font-family: var(--f-display); font-size: clamp(30px, 5.2vh, 64px); line-height: 1.1; transition: transform var(--t-ui) var(--ease-out), color var(--t-ui); display: inline-block; }
.menu__list a:hover .menu__name, .menu__list a:focus-visible .menu__name { transform: translateX(18px); color: var(--neon); font-style: italic; }
.menu__list li { overflow: hidden; }
.menu__foot { position: relative; display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--f-mark); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--mist); }
.menu__foot a:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 0 var(--gutter) clamp(90px, 13vh, 150px); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; transform-origin: 66% 50%; }
.hero__neon { position: absolute; inset: 0; background: radial-gradient(45% 55% at 82% 62%, rgba(224,36,59,.30), transparent 70%); mix-blend-mode: screen; animation: neon 7s var(--ease-io) infinite alternate; }
@keyframes neon { 0%{opacity:.55} 43%{opacity:.9} 45%{opacity:.4} 47%{opacity:.85} 100%{opacity:1} }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, var(--ink) 0%, rgba(7,7,10,.55) 32%, rgba(7,7,10,.05) 60%, rgba(7,7,10,.4) 100%),
  linear-gradient(to right, rgba(7,7,10,.78) 0%, rgba(7,7,10,.25) 46%, transparent 70%); }
.hero__content { position: relative; z-index: 2; max-width: var(--max); width: 100%; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title { margin: 0; font-family: var(--f-mark); font-weight: 500; font-size: clamp(64px, 15.5vw, 300px); line-height: .82; letter-spacing: .02em; margin-left: -.04em; white-space: nowrap; }
.hero__word { display: inline-block; }
.hero__word .ch { display: inline-block; will-change: transform, opacity; }
.hero__lede { font-family: var(--f-body); font-size: clamp(22px, 2.1vw, 36px); line-height: 1.25; color: var(--mist); margin: 26px 0 36px; max-width: 26ch; }
.hero__lede em { color: var(--cream); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cue { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 6vh, 64px); display: flex; align-items: center; gap: 18px; font-family: var(--f-mark); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mist); }
.hero__cue-line { width: 70px; height: 1px; background: var(--faint); position: relative; overflow: hidden; }
.hero__cue-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }
.hero__coords { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(40px, 6vh, 64px); margin: 0; font-family: var(--f-mark); font-size: 11px; letter-spacing: .3em; color: var(--gold-dim); }
.hero .hero__ctas { margin-bottom: 30px; }

/* ---------- prelude ---------- */
.prelude { position: relative; padding: var(--section) var(--gutter); max-width: var(--max); margin: 0 auto; }
.manifesto { font-family: var(--f-display); font-weight: 500; font-style: italic; font-size: clamp(36px, 5.4vw, 92px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 var(--section); max-width: 18ch; }
.manifesto .w { opacity: .14; transition: none; }
.prelude__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; }
.prelude__portrait { grid-column: 1 / span 6; margin: 0; position: relative; }
.prelude__portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; }
.prelude__portrait figcaption { margin-top: 16px; font-family: var(--f-mark); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dim); }
.prelude__text { grid-column: 8 / span 5; padding-top: 12vh; }
.lead { font-size: clamp(26px, 2.2vw, 36px); line-height: 1.25; color: var(--cream); }
.prelude__text p:not(.lead) { color: var(--mist); }
.facts { margin: 48px 0 0; border-top: 1px solid var(--hair); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-family: var(--f-mark); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 0; text-align: right; }
[data-clip] { clip-path: inset(0 0 0 0); }

/* ---------- single ---------- */
.single { padding: var(--section) var(--gutter); max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.single__cover { grid-column: 1 / span 6; perspective: 1400px; }
.single__cover-inner { position: relative; transform-style: preserve-3d; transition: transform 900ms var(--ease-out); box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), 0 0 0 1px var(--hair); }
.single__cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.single__glare { position: absolute; inset: 0; background: radial-gradient(60% 60% at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.18), transparent 60%); mix-blend-mode: soft-light; pointer-events: none; opacity: 0; transition: opacity var(--t-ui); }
.single__cover:hover .single__glare { opacity: 1; }
.single__body { grid-column: 8 / span 5; }
.single__meta { font-family: var(--f-mark); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--mist); margin-bottom: 40px; }
.lyric { margin: 0 0 44px; padding-left: 26px; border-left: 1px solid var(--neon); }
.lyric p { font-size: clamp(22px, 1.7vw, 30px); line-height: 1.45; font-style: italic; color: var(--cream); text-align: left !important; }
.lyric em { color: var(--gold); }
.player { display: flex; align-items: center; gap: 22px; margin-bottom: 44px; }
.player__btn { position: relative; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; transition: transform var(--t-ui) var(--ease-out); }
.player__btn:hover { transform: scale(1.06); }
.player__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.player__ring circle { fill: none; stroke: var(--faint); stroke-width: 1; }
.player__ring .player__progress { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; }
.player__icon { width: 18px; height: 18px; fill: var(--cream); }
.player__icon--pause { display: none; }
.is-playing .player__icon--pause { display: block; }
.is-playing .player__icon--play { display: none; }
.player__info { display: grid; gap: 4px; }
.player__label { font-family: var(--f-mark); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.player__time { font-variant-numeric: tabular-nums; color: var(--mist); }
.stream { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.stream a { font-family: var(--f-mark); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; position: relative; padding-bottom: 6px; }
.stream a::after, .dawn__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease-out); }
.stream a:hover::after, .dawn__links a:hover::after { transform: scaleX(1); transform-origin: left; }
a.is-soon::before { content: attr(data-soon); }
a.is-soon { color: var(--mist); }

/* ---------- record (3D) ---------- */
.record { position: relative; height: 320vh; }
.record__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(80% 60% at 50% 70%, #16090d 0%, var(--ink) 70%); }
.record__canvas { position: absolute; inset: 0; }
.record__canvas canvas { display: block; width: 100%; height: 100%; }
.record__fallback { position: absolute; left: 50%; top: 50%; width: min(70vw, 62vh); transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 1px var(--hair), 0 40px 120px rgba(0,0,0,.8); opacity: .9; }
.has-webgl .record__fallback { display: none; }
.record__copy { position: absolute; left: var(--gutter); bottom: clamp(60px, 12vh, 140px); z-index: 2; pointer-events: none; }
.record__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(56px, 9vw, 168px); line-height: .9; margin: 0 0 22px; }
.record__title em { color: var(--neon); font-weight: 500; }
.record__line { font-family: var(--f-body); font-style: italic; font-size: clamp(22px, 2.2vw, 36px); line-height: 1.2; margin: 0; color: var(--mist); }
.record__step { opacity: 0; transform: translateY(30px); }
.record__hint { position: absolute; right: var(--gutter); bottom: clamp(40px, 6vh, 64px); margin: 0; font-family: var(--f-mark); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dim); }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(60px, 9vw, 130px); }
.section-head__note { font-style: italic; color: var(--mist); font-size: clamp(20px, 1.6vw, 26px); }

/* ---------- night (tracklist) ---------- */
.night { position: relative; padding: var(--section) var(--gutter); max-width: var(--max); margin: 0 auto; }
.night__timeline { position: relative; padding-left: clamp(28px, 4vw, 60px); }
.night__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.night__rail-fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--gold), var(--neon)); transform-origin: top; transform: scaleY(0); }
.tracks { list-style: none; margin: 0; padding: 0; }
.track { position: relative; border-top: 1px solid var(--hair); }
.track:last-child { border-bottom: 1px solid var(--hair); }
.track__row {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 8ch 4ch minmax(0, 1.4fr) minmax(0, 1fr) 11ch; align-items: center; gap: 24px;
  padding: clamp(18px, 2.2vw, 30px) 0;
  transition: padding var(--t-ui) var(--ease-out), color var(--t-ui);
}
.track__row::before { content: ""; position: absolute; left: calc(-1 * clamp(28px, 4vw, 60px) - 4px); top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold-dim); transition: background var(--t-ui), box-shadow var(--t-ui), border-color var(--t-ui); }
.track__hour { font-family: var(--f-mark); font-size: 12px; letter-spacing: .26em; color: var(--gold); font-variant-numeric: tabular-nums; }
.track__no { font-family: var(--f-mark); font-size: 11px; letter-spacing: .2em; color: var(--gold-dim); }
.track__title { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 46px); line-height: 1.05; transition: transform var(--t-ui) var(--ease-out), color var(--t-ui); }
.track__story { color: var(--mist); font-size: clamp(17px, 1.1vw, 20px); line-height: 1.35; }
.track__state { justify-self: end; font-family: var(--f-mark); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--faint); color: var(--mist); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.track.is-live .track__state { border-color: var(--gold-dim); color: var(--gold); }
.track.is-live .track__state svg { width: 9px; height: 9px; fill: currentColor; }
.track.is-playing .track__state { background: var(--neon); border-color: var(--neon); color: var(--cream); }
.track__row:hover .track__title, .track__row:focus-visible .track__title, .track.is-playing .track__title { transform: translateX(14px); color: var(--cream); font-style: italic; }
.track__row:hover::before, .track.is-playing .track__row::before { background: var(--neon); border-color: var(--neon); box-shadow: 0 0 16px var(--neon); }
.track:not(.is-live) .track__row { cursor: default; }
.track:not(.is-live) .track__title { color: rgba(243,236,224,.78); }
.float-cover { position: fixed; top: 0; left: 0; z-index: 60; width: 300px; aspect-ratio: 1; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); overflow: hidden; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.float-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- scenes ---------- */
.scenes { position: relative; }
.scenes__pin { height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--section) * .55) 0 50px; overflow: hidden; }
.scenes__head { padding: 0 var(--gutter); }
.scenes__head .display { font-size: clamp(44px, 5.6vw, 100px); }
.scenes__track { display: flex; gap: clamp(18px, 2.6vw, 40px); padding: 0 var(--gutter); align-items: center; will-change: transform; }
.scene { flex: 0 0 auto; margin: 0; width: clamp(300px, 46vw, 820px); }
.scene:nth-child(even) { margin-top: 9vh; width: clamp(260px, 34vw, 600px); }
.scene__img { overflow: hidden; aspect-ratio: 16/10; }
.scene__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1600ms var(--ease-out); }
.scene:hover .scene__img img { transform: scale(1.06) !important; }
.scene figcaption { display: flex; gap: 18px; align-items: baseline; margin-top: 16px; font-family: var(--f-display); font-style: italic; font-size: clamp(18px, 1.4vw, 24px); }
.scene figcaption span { font-family: var(--f-mark); font-style: normal; font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.scenes__progress { margin: 0 var(--gutter); height: 1px; background: var(--hair); position: relative; }
.scenes__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- watch ---------- */
.watch { padding: var(--section) var(--gutter); max-width: var(--max); margin: 0 auto; }
.watch__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.film { display: block; position: relative; }
.film:nth-child(2) { margin-top: 12vh; }
.film__img { overflow: hidden; aspect-ratio: 4/5; position: relative; }
.film__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,7,10,.7), transparent 50%); }
.film__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out), filter var(--t-ui); filter: saturate(.85); }
.film:hover .film__img img { transform: scale(1.07); filter: saturate(1.1); }
.film__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 20px; }
.film__no { font-family: var(--f-mark); font-size: 11px; letter-spacing: .26em; color: var(--gold); grid-row: span 2; padding-top: 10px; }
.film__title { font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 40px); line-height: 1.05; }
.film__kind { font-family: var(--f-mark); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.film.is-soon .film__kind::after { content: " · Coming soon"; color: var(--gold-dim); }

/* ---------- forms ---------- */
.nightlist { position: relative; padding: var(--section) var(--gutter); overflow: hidden; }
.nightlist::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 100%, rgba(94,12,23,.55), transparent 70%); pointer-events: none; }
.nightlist__inner { position: relative; max-width: 980px; margin: 0 auto; text-align: center; }
.nightlist__copy { color: var(--mist); max-width: 40ch; margin: 0 auto 50px; text-align: center !important; }
.form--inline { display: flex; gap: 18px; align-items: flex-end; max-width: 640px; margin: 0 auto; flex-wrap: wrap; }
.form--inline .field { flex: 1 1 260px; }
.field { position: relative; padding-top: 22px; text-align: left; }
.field__input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--faint); color: var(--cream); font: inherit; font-size: clamp(20px, 1.4vw, 24px); padding: 10px 0 12px; outline: none; border-radius: 0; resize: vertical; }
.field__label { position: absolute; left: 0; top: 34px; color: var(--mist); pointer-events: none; transform-origin: left top; transition: transform var(--t-ui) var(--ease-out), color var(--t-ui); }
.field__input:focus + .field__label, .field__input:not(:placeholder-shown) + .field__label { transform: translateY(-28px) scale(.62); color: var(--gold); font-family: var(--f-mark); letter-spacing: .26em; text-transform: uppercase; }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.field__input:focus ~ .field__line { transform: scaleX(1); }
.field__input:user-invalid ~ .field__line { transform: scaleX(1); background: var(--neon); }
.field--area .field__input { min-height: 120px; }
.hp { position: absolute; left: -9999px; }
.form__status { flex-basis: 100%; min-height: 1.4em; margin: 6px 0 0; font-style: italic; color: var(--gold); }
.form__legal { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; color: rgba(243,236,224,.5); text-align: left !important; }
.form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form__legal a:hover { color: var(--gold); }
.form.is-sent .form__status { color: var(--cream); }
.form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }
.chips { border: 0; padding: 0; margin: 34px 0 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-family: var(--f-mark); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--faint); font-family: var(--f-mark); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; transition: background var(--t-ui) var(--ease-out), color var(--t-ui), border-color var(--t-ui); }
.chips input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.chips input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.chips label:hover span { border-color: var(--gold-dim); }

.contact { padding: var(--section) var(--gutter); max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.contact__col { grid-column: 1 / span 5; }
.contact__copy { color: var(--mist); max-width: 34ch; }
.contact__form { grid-column: 7 / span 6; display: grid; gap: 10px; align-content: start; }
.contact__form .btn { justify-self: start; margin-top: 28px; }

/* ---------- footer / dawn ---------- */
.dawn { position: relative; padding: var(--section) var(--gutter) 40px; overflow: hidden;
  background: linear-gradient(to bottom, var(--ink) 0%, #12101c 35%, #2b2036 70%, #6e4656 100%); }
.dawn::after { content: ""; position: absolute; left: 50%; bottom: -40vw; width: 120vw; height: 60vw; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,186,140,.35), transparent); pointer-events: none; }
.dawn__big { position: relative; z-index: 1; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(54px, 10.5vw, 200px); line-height: .95; letter-spacing: -.02em; margin: 0 0 clamp(80px, 12vw, 180px); }
.dawn__row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; border-top: 1px solid rgba(243,236,224,.18); padding-top: 28px; }
.dawn__links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.dawn__links a { position: relative; padding-bottom: 6px; font-family: var(--f-mark); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.dawn__small { margin: 0; font-family: var(--f-mark); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }

/* ---------- mini player ---------- */
.mini { position: fixed; z-index: 110; left: 50%; bottom: 22px; width: min(560px, calc(100vw - 32px)); display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; background: rgba(20,18,24,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--hair); border-radius: 6px; transform: translate(-50%, 140%); transition: transform var(--t-reveal) var(--ease-out); }
.mini.is-on { transform: translate(-50%, 0); }
.mini__cover { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.mini__info { display: grid; min-width: 0; }
.mini__title { font-family: var(--f-display); font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__sub { font-family: var(--f-mark); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.mini__bar { position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--hair); overflow: hidden; }
.mini__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.mini__toggle, .mini__close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--faint); transition: background var(--t-micro), border-color var(--t-micro); }
.mini__toggle:hover, .mini__close:hover { background: var(--cream); color: var(--ink); }
.mini__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.mini__toggle .i-play { display: none; }
.mini.is-paused .mini__toggle .i-play { display: block; }
.mini.is-paused .mini__toggle .i-pause { display: none; }
.mini__close { font-size: 22px; line-height: 1; }

/* ---------- reveal base state (JS sets these) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }

/* ---------- additions: AI note, image slots ---------- */
.ai-note { margin-top: 36px; padding: 18px 20px; border: 1px solid var(--hair); border-left: 2px solid var(--neon); font-size: clamp(17px, 1.1vw, 20px); color: var(--mist); }
.ai-note__tag { display: inline-block; margin-right: 12px; font-family: var(--f-mark); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.prelude__portrait img { aspect-ratio: 4/5; object-position: 56% 50%; }
.section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.section-head__img { margin: 0; overflow: hidden; }
.section-head__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.nightlist { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); align-items: center; max-width: var(--max); margin: 0 auto; }
.nightlist__img { margin: 0; overflow: hidden; position: relative; z-index: 1; }
.nightlist__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.nightlist__inner { text-align: left; max-width: 640px; }
.nightlist__copy { margin: 0 0 50px; text-align: justify !important; }
.nightlist .form--inline { margin: 0; }
.contact__img { margin: 40px 0 0; max-width: 360px; }
.contact__img img { width: 100%; filter: contrast(1.05); }
.dawn__bg { position: absolute; inset: 0; z-index: 0; }
.dawn__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.dawn__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink) 0%, rgba(7,7,10,.4) 26%, rgba(7,7,10,.05) 58%, rgba(7,7,10,.5) 100%), linear-gradient(to right, rgba(7,7,10,.65), transparent 55%); }
.dawn { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 761px) { .dawn { min-height: max(620px, 46vw); padding-top: 120px; } .dawn__big { font-size: clamp(54px, 6.6vw, 150px); max-width: 48vw; margin-bottom: clamp(60px, 6vw, 110px); } .dawn__bg img { object-position: 100% 50%; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .track__row { grid-template-columns: 7ch minmax(0, 1fr) auto; gap: 16px; }
  .track__no { display: none; }
  .track__story { grid-column: 2 / 3; grid-row: 2; margin-top: -6px; }
  .track__state { grid-row: 1; grid-column: 3; }
}
@media (max-width: 900px) {
  .prelude__portrait, .prelude__text, .single__cover, .single__body, .contact__col, .contact__form { grid-column: 1 / -1; }
  .prelude__text { padding-top: 10px; }
  .single__cover { max-width: 560px; }
  .watch__grid { grid-template-columns: 1fr; }
  .film:nth-child(2) { margin-top: 0; }
  .film__img { aspect-ratio: 16/11; }
  .scenes__pin { height: auto; padding-bottom: 0; }
  .section-head--split, .nightlist { grid-template-columns: 1fr; }
  .nightlist__img { max-width: 520px; }
  .scenes__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 30px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .scenes__track::-webkit-scrollbar { display: none; }
  .scene, .scene:nth-child(even) { width: 82vw; margin-top: 0; scroll-snap-align: center; }
  .scenes__progress { display: none; }
  .scenes__head { margin-bottom: 40px; }
  .nav__clock .clock { width: 24px; height: 24px; }
  .record { height: 260vh; }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 14px; }
  .nav__mark { font-size: 13px; letter-spacing: .38em; }
  .nav__clock { justify-self: end; }
  .nav__menu-label { display: none; }
  .hero__media img { object-position: 50% 35%; }
  .hero__shade { background: linear-gradient(to top, var(--ink) 0%, rgba(7,7,10,.65) 40%, rgba(7,7,10,.1) 70%, rgba(7,7,10,.45) 100%); }
  .hero__title { font-size: 16.2vw; letter-spacing: 0; }
  .hero__cue { display: none; }
  .hero__coords { display: none; }
  .hero .hero__ctas { margin-bottom: 0; }
  .btn { height: 52px; padding: 0 22px; }
  .record__hint { display: none; }
  .track__row { grid-template-columns: 1fr auto; }
  .track__hour { grid-column: 1; grid-row: 1; }
  .track__title { grid-column: 1 / -1; grid-row: 2; }
  .track__story { grid-column: 1 / -1; grid-row: 3; margin: 0; }
  .track__state { grid-column: 2; grid-row: 1; }
  .float-cover { display: none; }
  .mini { grid-template-columns: 48px 1fr auto auto; gap: 12px; }
  .mini__cover { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .record__step { opacity: 1 !important; transform: none !important; }
  .manifesto .w { opacity: 1 !important; }
  .grain { display: none; }
  .record { height: auto; }
  .record__stage { position: relative; }
}
