/* =========================================================
   KISA (කිසා) — design system v2
   Display: Saira variable (wdth 50–125, wght 100–900)
   Body: Instrument Sans · Labels: JetBrains Mono · Sinhala: Noto Sans Sinhala
   ========================================================= */
@import url('../fonts/fonts.css');

:root {
  --ink: #120a0c;
  --ink-2: #1c0f13;
  --ink-3: #2a141a;
  --maroon: #5a0e1d;
  --maroon-2: #7a1628;
  --maroon-3: #a3243a;
  --bone: #f4ecdf;
  --paper: #ebdfca;
  --paper-2: #dfd0b5;
  --brass: #e3aa3c;
  --brass-hi: #ffd987;
  --brass-lo: #94631a;
  --lagoon: #2c6b73;
  --theme-bg: var(--bone);
  --theme-fg: var(--ink);

  --f-display: 'Saira', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-si: 'Noto Sans Sinhala', 'Iskoola Pota', var(--f-body);

  /* fluid unit: scales with width, but never taller than the viewport allows (jjettas-style) */
  --min-h: 680px;
  --content-max: 1760px;
  --page-w: min(100vw, var(--content-max));
  --page-x: max(0px, calc((100vw - var(--content-max)) / 2));
  --vu: min(calc(var(--page-w) / 100), calc(1.8 * max(1vh, var(--min-h) / 100)));
  --gut: clamp(20px, 3.2vw, 56px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-edit: cubic-bezier(.33, .01, 0, 1);
  --hdr-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--f-body); font-size: clamp(15px, calc(var(--vu) * 1.02), 18px); line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brass); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 600; transition: top .3s; }
.skip:focus { top: 16px; }
.si { font-family: var(--f-si); font-stretch: 100%; letter-spacing: 0; text-transform: none; }

/* ---------- type ---------- */
.d, .h1, .h2, .h3 {
  font-family: var(--f-display); font-stretch: 50%; font-weight: 700; text-transform: uppercase;
  line-height: .84; letter-spacing: -.025em; margin: 0;
  font-variation-settings: 'wdth' 50, 'wght' 700;
}
.d-xxl { font-size: calc(var(--vu) * 21.5); letter-spacing: -.035em; line-height: .82; }
.d-xl { font-size: calc(var(--vu) * 14); }
.h1 { font-size: clamp(54px, calc(var(--vu) * 10.5), 196px); }
.h2 { font-size: clamp(44px, calc(var(--vu) * 7.4), 140px); }
.h3 { font-size: clamp(30px, calc(var(--vu) * 3.6), 64px); line-height: .9; }
.lead { font-size: clamp(17px, calc(var(--vu) * 1.45), 24px); line-height: 1.45; max-width: 34ch; }
.p { max-width: 58ch; }
.mono, .lbl {
  font-family: var(--f-mono); font-size: clamp(10.5px, calc(var(--vu) * .72), 12.5px); text-transform: uppercase;
  letter-spacing: .2em; line-height: 1.6; font-weight: 400;
}
.lbl--brass { color: var(--brass); }
.lbl .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin: 0 .8em .1em; vertical-align: middle; }
.light-word { font-variation-settings: 'wdth' 50, 'wght' 300; font-weight: 300; }
.ital-brass { color: var(--brass); }

/* split-text helpers */
.split-line { overflow: clip; display: block; padding-bottom: .04em; margin-bottom: -.04em; }
.split-line > * { display: block; will-change: transform; }

/* ---------- textures (generated for KISA: vellum drum-head, paper grain, uniform twill, light leaks) ---------- */
.tex { position: absolute; inset: 0; pointer-events: none; }
.tex--vellum { background: url(../tex/vellum.webp) 0 0 / 640px 640px; mix-blend-mode: multiply; opacity: .2; }
.tex--dimple { background: url(../tex/dimple.webp) 0 0 / 300px 300px; mix-blend-mode: multiply; opacity: .32; }
.tex--dimple-dark { background: url(../tex/dimple.webp) 0 0 / 300px 300px; mix-blend-mode: overlay; opacity: .28; }
.tex--paper { background: url(../tex/paper-grain.webp) 0 0 / 520px 520px; mix-blend-mode: multiply; opacity: .28; }
.tex--twill { background: url(../tex/twill.webp) 0 0 / 220px 220px; mix-blend-mode: overlay; opacity: .55; }
.tex--leak { background: url(../tex/leak-01.webp) 50% / cover no-repeat; mix-blend-mode: screen; opacity: .55; }
.tex--leak2 { background: url(../tex/leak-02.webp) 50% / cover no-repeat; mix-blend-mode: screen; opacity: .45; }
.tex--leak3 { background: url(../tex/leak-03.webp) 50% / cover no-repeat; mix-blend-mode: screen; opacity: .5; }
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background: url(../tex/paper-grain.webp) 0 0 / 260px 260px; animation: grain 1.1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-6%, 3%) } 40% { transform: translate(4%, -5%) } 60% { transform: translate(-3%, 6%) } 80% { transform: translate(5%, 2%) } 100% { transform: translate(0, 0) } }
.light-wash { position: fixed; inset: -10% 0; z-index: 110; pointer-events: none; mix-blend-mode: soft-light; opacity: var(--wash, .0); background: url(../tex/leak-02.webp) 50% / cover; transition: opacity 1s var(--ease-edit); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--hdr-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 calc(var(--page-x) + var(--gut)); pointer-events: none; color: var(--hdr-fg, var(--bone));
  transition: color .5s var(--ease-edit), transform .6s var(--ease);
}
.hdr > * { pointer-events: auto; }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__mark { justify-self: start; display: block; width: clamp(64px, 6.2vw, 92px); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease); }
.hdr__mark:hover { transform: rotate(-4deg) scale(1.04); }
.hdr__title { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: .02em; text-transform: uppercase; line-height: 1; display: flex; gap: .5em; align-items: baseline; opacity: var(--hdr-title, 1); transition: opacity .5s; }
.hdr__title .si { font-size: .95em; font-weight: 600; }
.hdr__title i { font-style: normal; color: var(--brass); }
.burger { justify-self: end; width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; border-radius: 50%; }
.burger span { display: block; width: 30px; height: 4px; background: currentColor; transform: skewX(-28deg); border-radius: 1px; transition: transform .5s var(--ease), width .5s var(--ease); }
.burger span:last-child { width: 22px; justify-self: end; }
.burger:hover span:last-child { width: 30px; }
html.menu-open .burger span:first-child { transform: translateY(5px) rotate(-38deg); }
html.menu-open .burger span:last-child { width: 30px; transform: translateY(-5px) rotate(38deg); }
html.menu-open .hdr { color: var(--bone); }

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 85; pointer-events: none; visibility: hidden; }
html.menu-open .menu { pointer-events: auto; visibility: visible; }
.menu__scrim { position: absolute; inset: 0; background: rgba(10, 4, 6, .55); backdrop-filter: blur(4px); opacity: 0; }
.menu__panel {
  position: absolute; top: 12px; bottom: 12px; left: 12px; width: min(560px, calc(100vw - 24px)); border-radius: 18px; overflow: hidden;
  background: var(--maroon); color: var(--bone); display: flex; flex-direction: column; padding: calc(var(--hdr-h) + 10px) clamp(24px, 3vw, 44px) 28px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.menu__panel .tex--twill { opacity: .5; }
.menu__panel::after { content: ''; position: absolute; inset: 0; background: url(../tex/leak-03.webp) 80% 10% / 160% no-repeat; mix-blend-mode: screen; opacity: .35; pointer-events: none; }
.menu__links { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.menu__links a { display: grid; grid-template-columns: 2.4em 1fr; align-items: baseline; padding: .12em 0; }
.menu__links .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; color: var(--brass); opacity: .8; }
.menu__links .t { font-family: var(--f-display); font-stretch: 50%; font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 5.2vh, 64px); line-height: .92; letter-spacing: -.01em; transition: color .35s, font-variation-settings .5s var(--ease), letter-spacing .5s var(--ease); font-variation-settings: 'wdth' 50, 'wght' 700; }
.menu__links .s { grid-column: 2; font-family: var(--f-si); font-size: 12.5px; opacity: .55; margin-top: -.1em; }
.menu__links a:hover .t, .menu__links a[aria-current='page'] .t { color: var(--brass-hi); font-variation-settings: 'wdth' 70, 'wght' 800; }
.menu__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(244, 236, 223, .14); }
.menu__thumb { width: 74px; aspect-ratio: 1; border-radius: 8px; object-fit: cover; }
.menu__legal { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; line-height: 1.7; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(244, 236, 223, .22); transition: background .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--brass); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- sound toggle ---------- */
.snd { position: fixed; right: calc(var(--page-x) + var(--gut)); bottom: 22px; z-index: 95; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2.5px;
  background: rgba(18, 10, 12, .55); color: var(--bone); backdrop-filter: blur(8px); border: 1px solid rgba(244, 236, 223, .18); transition: background .4s, transform .5s var(--ease); }
.snd:hover { transform: scale(1.08); }
.snd i { width: 2.5px; height: 30%; background: currentColor; border-radius: 2px; transform-origin: bottom; transition: height .3s; }
.snd.on { background: var(--brass); color: var(--ink); border-color: transparent; }
.snd.on i { animation: eq .9s ease-in-out infinite alternate; }
.snd.on i:nth-child(2) { animation-delay: -.3s; } .snd.on i:nth-child(3) { animation-delay: -.6s; } .snd.on i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0% { height: 20% } 100% { height: 62% } }
.snd__tip { position: absolute; right: 54px; white-space: nowrap; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; color: var(--bone); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.snd:hover .snd__tip { opacity: 1; transform: none; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
html.is-loading .loader { pointer-events: auto; }
.loader__panel { position: absolute; inset: 0 auto 0 -18vw; width: 136vw; background: var(--ink); clip-path: polygon(18vw 0, 100% 0, 100% 100%, 0 100%); will-change: transform; }
.loader__panel .tex--dimple-dark { opacity: .22; }
.loader__panel--b { background: var(--maroon); }
.loader__content { position: absolute; inset: 0; display: grid; place-items: center; }
.loader__mark { position: relative; width: clamp(150px, 22vw, 300px); aspect-ratio: 1000 / 615; }
.loader__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.loader__mark .ghost { filter: grayscale(1) brightness(.35) contrast(.9); opacity: .55; }
.loader__mark .fill { clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0); filter: drop-shadow(0 0 24px rgba(227, 170, 60, .35)); }
.loader__pct { position: absolute; left: 50%; top: calc(50% + clamp(70px, 9vw, 120px)); transform: translateX(-50%); text-align: center; color: var(--bone); }
.loader__pct b { display: block; font-family: var(--f-display); font-stretch: 50%; font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.loader__pct span { display: block; margin-top: 10px; opacity: .55; }
.wipe { position: fixed; inset: 0; z-index: 190; pointer-events: none; }
.wipe__slab { position: absolute; top: -10%; bottom: -10%; left: -15vh; width: calc(100vw + 30vh); background: var(--ink); transform: translateX(105%) skewX(-7deg); will-change: transform; }
.wipe__slab--brass { background: var(--brass); }
.wipe__slab .tex--dimple-dark { opacity: .25; }

/* ---------- buttons ---------- */
.btn { --bg: var(--brass); --fg: var(--ink); position: relative; display: inline-flex; align-items: center; gap: .8em; height: 52px; padding: 0 26px; border-radius: 99px; background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-stretch: 62%; font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: .06em; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: 0 8px 24px -10px rgba(227, 170, 60, .7); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ink { --bg: var(--ink); --fg: var(--bone); box-shadow: none; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-u { background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link-u:hover { background-size: 100% 1px; }

/* ---------- gold frame (brass card) ---------- */
.gold {
  --r: 12px; position: relative; display: block; border-radius: var(--r); padding: clamp(6px, .55vw, 9px);
  background: linear-gradient(135deg, #fff0b8 0%, #e3aa3c 18%, #8a5a14 36%, #f7cf72 52%, #a86f1d 70%, #ffe29a 86%, #9b6619 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 30px 60px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .25);
}
.gold::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 47%, transparent 58%) 0 0 / 300% 100%; mix-blend-mode: overlay; background-position: var(--shine, 100%) 0; }
.gold__in { position: relative; border-radius: calc(var(--r) - 5px); overflow: hidden; background: var(--maroon); aspect-ratio: 3 / 4; box-shadow: 0 0 0 2px rgba(60, 30, 4, .55) inset; }
.gold__in img { width: 100%; height: 100%; object-fit: cover; }
.gold__in .tex--twill { opacity: .45; }
.gold__notch { position: absolute; width: 34%; height: 9%; right: -1px; bottom: -1px; background: inherit; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rz, 0deg)) } 50% { transform: translate3d(0, -12px, 0) rotate(calc(var(--rz, 0deg) + 1.2deg)) } }

/* ---------- halftone heading ---------- */
.ht { position: relative; display: block; color: transparent; }
.ht__css {
  display: block; color: var(--ht-c, #6a1a2a);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 var(--dot, 1.25px), transparent calc(var(--dot, 1.25px) + .7px)) 0 0 / 5px 5px, linear-gradient(#000 0 40%, transparent 100%);
  -webkit-mask-composite: source-over; mask-composite: add;
}
.ht canvas { position: absolute; left: 0; top: 0; pointer-events: none; }
.ht.has-canvas .ht__css { opacity: 0; }
.ht__ghost { position: absolute; inset: 0; color: var(--ht-c, #6a1a2a); opacity: .14; }

/* ---------- section scaffolding ---------- */
.sec { position: relative; isolation: isolate; }
.wrap { position: relative; width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gut); }
.theme-light { background: var(--bone); color: var(--ink); --hdr-fg: var(--ink); }
.theme-paper { background: var(--paper); color: var(--ink); --hdr-fg: var(--ink); }
.theme-dark { background: var(--ink); color: var(--bone); }
.theme-maroon { background: var(--maroon); color: var(--bone); }

/* ---------- HERO (home) ---------- */
.hero { height: 100svh; min-height: 640px; overflow: clip; background: var(--bone); color: var(--ink); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__letters { position: absolute; inset: -6% -4% auto; display: flex; justify-content: center; font-family: var(--f-display); font-stretch: 50%; font-weight: 900; font-size: calc(var(--vu) * 52); line-height: .78; letter-spacing: -.04em; color: #e7d9c2; text-transform: uppercase; user-select: none; white-space: nowrap; will-change: transform; }
.hero__letters span { display: inline-block; }
.hero__letters .si { font-weight: 800; font-size: .72em; line-height: 1; margin-left: .06em; transform: translateY(.06em); color: #dfcdb1; }
.hero__canvas { position: absolute; inset: 0; z-index: 2; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__fallback { position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; max-width: none; transform: translateX(-50%); z-index: 2; }
.hero__fallback.is-hidden { opacity: 0; }
.hero__fade { position: absolute; inset: auto 0 0; height: 22%; z-index: 3; background: linear-gradient(transparent, rgba(244, 236, 223, .0)); }
.hero__col { position: absolute; z-index: 4; bottom: clamp(34px, 7vh, 80px); width: clamp(200px, 17vw, 270px); font-size: clamp(13.5px, 1vw, 16px); line-height: 1.45; }
.hero__col--l { left: calc(var(--page-x) + var(--gut)); }
.hero__col--r { right: calc(var(--page-x) + var(--gut)); text-align: left; }
.hero__card { width: clamp(108px, 10vw, 148px); margin-bottom: 18px; --rz: -2deg; }
.hero__card .gold__in { aspect-ratio: 4 / 5; }
.hero__card figcaption { position: absolute; left: 10px; bottom: 9px; right: 10px; color: var(--bone); font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.hero__card figcaption b { display: block; font-family: var(--f-display); font-stretch: 50%; font-size: 30px; letter-spacing: -.01em; line-height: .9; color: var(--brass-hi); }
.hero__logo { width: 100%; margin-bottom: 16px; filter: drop-shadow(0 6px 14px rgba(120, 60, 0, .3)); }
.hero__logo img { width: 100%; }
.hero__meta { margin-top: 14px; color: var(--ink); opacity: .6; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%); color: var(--bone); mix-blend-mode: difference; }
.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-hint i { width: 1px; height: 26px; background: currentColor; transform-origin: top; animation: hint 1.8s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: scaleY(0) } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ---------- PROCESSION (tilted parade ground) ---------- */
.proc { --n: 6; height: calc(var(--n) * 78vh + 100vh); background: var(--ink); color: var(--bone); }
.proc__sticky { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; perspective: 1100px; perspective-origin: 50% 30%; }
.proc__edge { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.proc__title { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--hdr-h) * .2); text-align: center; --ht-c: #5d1626; }
.proc__title .d { font-size: calc(var(--vu) * 17.5); white-space: nowrap; }
.proc__ground { position: absolute; left: 50%; top: 58%; width: 520vw; height: 140vh; transform-style: preserve-3d; transform: translate3d(-50%, -50%, 0) rotateX(64deg); z-index: 1; }
.proc__road { position: absolute; inset: 0; background:
    repeating-linear-gradient(90deg, rgba(244, 236, 223, .06) 0 2px, transparent 2px calc(100vw / 4)),
    linear-gradient(180deg, transparent 0 18%, rgba(244, 236, 223, .08) 18% calc(18% + 3px), transparent calc(18% + 3px) 82%, rgba(244, 236, 223, .08) 82% calc(82% + 3px), transparent calc(82% + 3px)),
    radial-gradient(ellipse at 50% 50%, #2a1218 0%, #160a0d 60%, #0e0608 100%); }
.proc__road .tex--dimple-dark { opacity: .25; background-size: 220px 220px; }
.proc__ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(244, 236, 223, .2) 0 2px, transparent 2px calc(100vw / 20)) 0 22% / 100% 18px no-repeat, repeating-linear-gradient(90deg, rgba(244, 236, 223, .2) 0 2px, transparent 2px calc(100vw / 20)) 0 78% / 100% 18px no-repeat; }
.proc__num { position: absolute; top: 58%; font-family: var(--f-display); font-stretch: 50%; font-weight: 300; font-size: 22vh; line-height: 1; color: rgba(244, 236, 223, .14); transform: translateX(-50%); letter-spacing: .03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proc__num small { font-size: .1em; opacity: .7; font-family: var(--f-mono); font-weight: 400; letter-spacing: .3em; display: block; text-align: center; margin-top: -.3em; }
.proc__track { position: absolute; inset: 0; z-index: 5; will-change: transform; }
.proc__card { position: absolute; top: 50%; width: clamp(170px, 15.5vw, 260px); transform: translate(-50%, -50%); }
.proc__card .gold { transform: rotate(var(--rz, 0deg)); }
.proc__card .gold__in { aspect-ratio: 3 / 4.1; background: radial-gradient(120% 90% at 50% 15%, #9c2a3e 0%, #5a0e1d 45%, #2a0810 100%); }
.proc__card .gold__in img { object-fit: contain; object-position: 50% 0; height: 128%; width: 100%; margin-top: 4%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }
.proc__card .gold__in .glow { position: absolute; inset: 0; background: url(../tex/leak-01.webp) 50% / cover; mix-blend-mode: screen; opacity: .45; }
.proc__cap { text-align: center; margin-top: 16px; }
.proc__cap .nm { font-family: var(--f-mono); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; }
.proc__cap .ro { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .55; margin-top: 4px; }
.proc__intro { position: absolute; z-index: 6; left: calc(var(--page-x) + var(--gut)); bottom: 7vh; max-width: 300px; }
.proc__intro p { margin: 10px 0 18px; opacity: .8; font-size: 15px; }
.proc__progress { position: absolute; z-index: 6; right: calc(var(--page-x) + var(--gut) + 64px); bottom: 34px; display: flex; gap: 6px; }
.proc__progress i { width: 22px; height: 3px; background: rgba(244, 236, 223, .2); border-radius: 2px; overflow: hidden; position: relative; }
.proc__progress i::after { content: ''; position: absolute; inset: 0; background: var(--brass); transform: scaleX(var(--f, 0)); transform-origin: left; }

/* ---------- STORY (paper) ---------- */
.story { padding: clamp(110px, 14vw, 220px) 0 clamp(90px, 10vw, 160px); background: var(--paper); color: var(--ink); --hdr-fg: var(--ink); overflow: clip; }
.story .h1 { color: var(--maroon); }
.story__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(8px, 1vw, 14px); margin-top: clamp(28px, 4vw, 56px); }
.story__grid figure { margin: 0; overflow: hidden; border-radius: 4px; position: relative; }
.story__grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transform: scale(1.12); }
.story__grid figure:first-child img { aspect-ratio: auto; height: 100%; }
.story__grid .bw img { filter: grayscale(1) contrast(1.08) sepia(.12); transition: filter .8s var(--ease); }
.story__grid .bw:hover img { filter: none; }
.story__foot { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 32px; align-items: end; margin-top: 22px; }
.story__foot h3 { margin: 0; font-size: 17px; font-weight: 600; }
.story__foot p { margin: 0; font-size: 14px; opacity: .75; max-width: 46ch; }
.story__si { font-family: var(--f-si); font-size: clamp(18px, 1.8vw, 26px); color: var(--maroon-2); margin: 18px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; border-radius: 99px; border: 1px solid currentColor; opacity: .75; }

/* ---------- 3D BAND stage ---------- */
.band { height: 420vh; background: var(--ink); }
.band__sticky { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; }
.band__stage { position: absolute; inset: 0; z-index: 2; }
.band__stage canvas { width: 100% !important; height: 100% !important; touch-action: pan-y; }
.band__bg { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, #3d1119 0%, #1a0a0e 55%, #0d0507 100%); }
.band__spot { position: absolute; left: 50%; top: -20%; width: 70vw; height: 140%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(255, 210, 140, .16), transparent 70%); filter: blur(10px); }
.band__head { position: absolute; z-index: 3; top: calc(var(--hdr-h) + 2vh); left: 0; right: 0; text-align: center; pointer-events: none; }
.band__info { position: absolute; z-index: 3; left: calc(var(--page-x) + var(--gut)); bottom: 8vh; width: min(360px, 80vw); }
.band__count { font-family: var(--f-display); font-stretch: 50%; font-weight: 300; font-size: clamp(60px, 7vw, 110px); line-height: .85; color: var(--brass); font-variant-numeric: tabular-nums; }
.band__count small { font-size: .35em; color: var(--bone); opacity: .5; }
.band__name { font-family: var(--f-display); font-stretch: 50%; font-weight: 700; font-size: clamp(44px, 5vw, 80px); line-height: .85; text-transform: uppercase; margin: 8px 0 6px; }
.band__who { opacity: .75; }
.band__side { position: absolute; z-index: 3; right: calc(var(--page-x) + var(--gut)); bottom: 8vh; text-align: right; max-width: 320px; }
.band__hint { opacity: .55; margin-bottom: 16px; }
.band__dots { position: absolute; z-index: 3; left: 50%; bottom: 4vh; transform: translateX(-50%); display: flex; gap: 10px; }
.band__dots button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(244, 236, 223, .25); font-family: var(--f-mono); font-size: 11px; transition: background .3s, color .3s; }
.band__dots button.on { background: var(--brass); color: var(--ink); border-color: transparent; }

/* ---------- MILESTONE (dot-matrix 1M) ---------- */
.mile { padding: clamp(110px, 12vw, 200px) 0; background: var(--maroon); color: var(--bone); overflow: clip; }
.mile .tex--twill { opacity: .42; }
.mile__matrix { position: relative; width: 100%; height: clamp(150px, 22vw, 380px); margin: 22px 0 8px; }
.mile__matrix canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mile__matrix .sr { position: absolute; }
.mile__line { font-size: clamp(18px, 1.7vw, 27px); line-height: 1.35; max-width: 32ch; margin: 0; }
.mile__line em { font-style: normal; color: var(--brass-hi); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244, 236, 223, .18); margin-top: clamp(40px, 5vw, 70px); }
.stat { padding: 22px 22px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid rgba(244, 236, 223, .18); }
.stat b { display: block; font-family: var(--f-display); font-stretch: 50%; font-weight: 700; font-size: clamp(42px, 4.6vw, 76px); line-height: .9; color: var(--brass-hi); letter-spacing: -.01em; }
.stat span { display: block; font-size: 13.5px; opacity: .75; margin-top: 8px; max-width: 24ch; }
.song { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: center; margin-top: clamp(70px, 8vw, 130px); }
.song__vid { position: relative; display: block; --rz: -1.2deg; }
.song__vid .gold__in { aspect-ratio: 16 / 10; }
.song__play { position: absolute; inset: 0; display: grid; place-items: center; }
.song__play span { width: 86px; height: 86px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(227, 170, 60, .5); animation: pulse 2.2s infinite; transition: transform .5s var(--ease); }
.song__vid:hover .song__play span { transform: scale(1.1); }
.song__play svg { width: 26px; height: 26px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 170, 60, .55) } 100% { box-shadow: 0 0 0 28px rgba(227, 170, 60, 0) } }
.song h3 { margin: 10px 0 6px; }
.song .si-line { font-family: var(--f-si); font-size: clamp(18px, 1.6vw, 24px); color: var(--brass-hi); margin: 0 0 14px; }

/* ---------- QUOTE (dot matrix + polaroids) ---------- */
.quote { height: 380vh; background: var(--ink-2); color: var(--bone); }
.quote__sticky { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; }
.quote__sticky .tex--dimple-dark { opacity: .2; }
.quote__marks { position: absolute; top: 15vh; left: 50%; transform: translateX(-50%); width: 64px; color: var(--brass); opacity: .9; }
.quote__canvas { position: absolute; inset: 0; z-index: 1; }
.quote__text { position: relative; z-index: 2; text-align: center; width: min(92vw, 1100px); }
.quote__text .d { font-size: clamp(48px, calc(var(--vu) * 8.4), 150px); line-height: .9; color: #d8c7a8; }
.quote__text .d span { display: block; }
.quote__sub { margin-top: 26px; opacity: .7; font-size: 15px; }
.quote__sub .si { color: var(--brass-hi); opacity: 1; font-size: 1.15em; }
.polas { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pola { position: absolute; left: 50%; top: 50%; width: clamp(200px, 21vw, 330px); background: #f6f1e7; padding: 12px 12px 46px; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .7), 0 2px 0 rgba(255, 255, 255, .6) inset; transform: translate(-50%, -50%); }
.pola img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: contrast(1.05) saturate(.92); }
.pola figcaption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: var(--f-mono); color: #3a2a20; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.pola::after { content: ''; position: absolute; inset: 12px 12px 46px; background: url(../tex/leak-02.webp) 30% 20% / 220% no-repeat; mix-blend-mode: screen; opacity: .25; }

/* ---------- DEPTH CAROUSEL (stills) ---------- */
.reel { height: 100svh; min-height: 720px; background: var(--ink); color: var(--bone); overflow: clip; }
.reel__head { position: absolute; top: calc(var(--hdr-h) * .35); left: 0; right: 0; text-align: center; z-index: 1; --ht-c: #5d1626; }
.reel__head .d { font-size: calc(var(--vu) * 17.5); white-space: nowrap; }
.reel__stage { position: absolute; left: 50%; top: 50%; width: min(64vw, 920px); height: min(62vh, 640px); transform: translate(-50%, -47%); z-index: 2; }
.reel__stage canvas { width: 100% !important; height: 100% !important; }
.reel__fallback { position: absolute; inset: 0; }
.reel__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; opacity: 0; transition: opacity .8s; }
.reel__fallback img.on { opacity: 1; }
.reel__info { position: absolute; z-index: 3; left: calc(var(--page-x) + var(--gut)); bottom: 21vh; width: 250px; display: grid; grid-template-columns: 6px 1fr; gap: 14px; }
.reel__bar { border-radius: 3px; background: rgba(244, 236, 223, .14); position: relative; overflow: hidden; }
.reel__bar i { position: absolute; left: 0; right: 0; top: 0; background: var(--bone); height: calc(100% / var(--n, 7)); transform: translateY(calc(var(--i, 0) * 100%)); transition: transform .8s var(--ease); }
.reel__info h3 { margin: 0 0 6px; font-weight: 600; font-size: 16px; }
.reel__info p { margin: 0; font-size: 13.5px; opacity: .65; }
.reel__ctrl { position: absolute; z-index: 3; right: calc(var(--page-x) + var(--gut)); bottom: 21vh; display: flex; gap: 10px; align-items: center; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244, 236, 223, .3); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.arrow:hover { background: var(--bone); color: var(--ink); }
.arrow svg { width: 18px; }
.marquee { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 13vh; min-height: 84px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid rgba(244, 236, 223, .1);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { display: flex; gap: 64px; padding-right: 64px; white-space: nowrap; animation: marq 46s linear infinite; flex-shrink: 0; align-items: center; }
.marquee__row span { font-family: var(--f-display); font-stretch: 62%; font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .06em; opacity: .62; display: inline-flex; align-items: center; gap: 12px; }
.marquee__row span em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; opacity: .7; }
@keyframes marq { to { transform: translateX(-100%) } }

/* ---------- MAKERS (paper) ---------- */
.makers { padding: clamp(100px, 11vw, 190px) 0; background: var(--bone); color: var(--ink); --hdr-fg: var(--ink); overflow: clip; }
.makers .h2 { color: var(--maroon); }
.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 70px); border-top: 2px solid var(--ink); }
.film { padding: 22px 22px 26px 0; }
.film + .film { border-left: 1px solid rgba(18, 10, 12, .2); padding-left: 22px; }
.film b { display: block; font-family: var(--f-display); font-stretch: 50%; font-weight: 300; font-size: clamp(52px, 5.4vw, 92px); line-height: .9; color: var(--maroon-2); }
.film h3 { font-family: var(--f-display); font-stretch: 62%; font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 32px); margin: 10px 0 4px; line-height: 1; }
.film p { margin: 0; font-size: 13.5px; opacity: .7; }
.film--now b { color: var(--brass-lo); }
.poster { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: center; margin-top: clamp(70px, 8vw, 130px); }
.poster__vid { display: block; position: relative; --rz: .8deg; }
.poster__vid .gold__in { aspect-ratio: 2000 / 878; }

/* ---------- FOOTER ---------- */
.foot { position: relative; background: var(--maroon); color: var(--bone); overflow: clip; min-height: 100svh; display: flex; flex-direction: column; }
.foot .tex--twill { opacity: .5; }
.foot__leak { position: absolute; inset: 0; background: url(../tex/leak-01.webp) 70% 30% / cover; mix-blend-mode: screen; opacity: .4; pointer-events: none; }
.foot__hero { position: relative; flex: 1; display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(20px, 3vw, 50px); padding: calc(var(--hdr-h) + 30px) calc(var(--page-x) + var(--gut)) 30px; align-items: stretch; }
.foot__nav { position: relative; z-index: 4; background: rgba(18, 10, 12, .62); backdrop-filter: blur(10px); border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; border: 1px solid rgba(244, 236, 223, .1); }
.foot__nav ul { list-style: none; margin: 0; padding: 0; }
.foot__nav li a { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 600; font-size: 21px; line-height: 1.5; text-transform: uppercase; letter-spacing: .02em; transition: color .3s, transform .4s var(--ease); }
.foot__nav li a:hover { color: var(--brass-hi); transform: translateX(4px); }
.foot__cta { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 6vh; }
.foot__cta .d { font-size: clamp(62px, calc(var(--vu) * 10.5), 190px); line-height: .86; }
.foot__cta .d .ital-brass { display: block; }
.foot__cta p { max-width: 46ch; opacity: .8; margin: 20px auto 26px; }
.foot__char { position: absolute; z-index: 2; right: calc(var(--page-x) - 2vw); bottom: 0; height: min(92vh, 980px); width: auto; max-width: none; pointer-events: none; filter: drop-shadow(-20px 0 40px rgba(0, 0, 0, .45)); }
.foot__char--l { right: auto; left: calc(var(--page-x) + 30vw); height: min(70vh, 760px); opacity: .0; }
.foot__bar { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; padding: 18px calc(var(--page-x) + var(--gut)) 22px; border-top: 1px solid rgba(244, 236, 223, .14); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.foot__bar span, .foot__bar a { opacity: .7; }
.foot__bar a:hover { opacity: 1; color: var(--brass-hi); }
.foot__bs { display: flex; align-items: center; gap: 10px; }
.foot__bs img { width: 34px; }

/* ---------- INNER PAGES ---------- */
.ph { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: clip; background: var(--ink); color: var(--bone); padding: calc(var(--hdr-h) + 40px) 0 clamp(40px, 7vh, 90px); }
.ph__img { position: absolute; inset: -8% 0; }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.ph__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 10, 12, .35) 0%, rgba(18, 10, 12, .2) 35%, rgba(18, 10, 12, .92) 100%); }
.ph .tex--leak { z-index: 1; opacity: .4; }
.ph__in { position: relative; z-index: 2; }
.ph .d { font-size: clamp(76px, calc(var(--vu) * 16), 300px); line-height: .8; }
.ph .lead { margin-top: 22px; }
.ph__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }

.blk { padding: clamp(90px, 10vw, 170px) 0; }
.blk--tight { padding: clamp(60px, 7vw, 110px) 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.two--wide { grid-template-columns: 1.25fr 1fr; }
.sticky-col { position: sticky; top: calc(var(--hdr-h) + 20px); }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .5; }

.chapters { counter-reset: ch; border-top: 1px solid currentColor; }
.chapter { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 26px; padding: 34px 0; border-bottom: 1px solid rgba(127, 110, 100, .35); align-items: start; }
.chapter b { font-family: var(--f-display); font-stretch: 50%; font-weight: 300; font-size: 64px; line-height: .8; color: var(--brass); }
.chapter h3 { margin: 0; font-family: var(--f-display); font-stretch: 50%; font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 56px); line-height: .9; }
.chapter p { margin: 0 0 10px; }
.chapter .si { color: var(--maroon-2); }
.theme-dark .chapter .si, .theme-maroon .chapter .si { color: var(--brass-hi); }

.writer { padding: 26px 0; border-top: 1px solid rgba(127, 110, 100, .35); display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.writer h3 { margin: 0; font-family: var(--f-display); font-stretch: 62%; font-weight: 700; font-size: clamp(26px, 2.4vw, 38px); text-transform: uppercase; line-height: .95; }
.writer p { margin: 0; opacity: .8; }

.map { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--ink-2); }
.map svg { width: 100%; height: 100%; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 24px); }
.tile { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__c { position: absolute; inset: auto 0 0; padding: 22px; background: linear-gradient(transparent, rgba(18, 10, 12, .9)); color: var(--bone); }
.tile__c h3 { margin: 0 0 4px; }

/* band member pages */
.member { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 70px); padding: calc(var(--hdr-h) + 30px) calc(var(--page-x) + var(--gut)) 60px; overflow: clip; }
.member:nth-child(even) .member__fig { order: 2; }
.member__fig { position: relative; height: min(86svh, 900px); display: flex; justify-content: center; align-items: flex-end; }
.member__fig img { height: 100%; width: auto; max-width: none; position: relative; z-index: 2; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.member__big { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -54%); font-family: var(--f-display); font-stretch: 50%; font-weight: 900; text-transform: uppercase; font-size: min(36vw, 52vh); line-height: .8; letter-spacing: -.04em; color: rgba(244, 236, 223, .07); white-space: nowrap; }
.theme-light .member__big, .theme-paper .member__big { color: rgba(90, 14, 29, .09); }
.member__txt .d { font-size: clamp(80px, calc(var(--vu) * 13), 240px); line-height: .8; }
.member__txt .lead { margin: 18px 0 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0; border-top: 1px solid currentColor; }
.facts div { padding: 14px 14px 0 0; }
.facts div + div { padding-left: 14px; border-left: 1px solid rgba(127, 110, 100, .35); }
.facts dt { margin: 0 0 4px; opacity: .6; }
.facts dd { margin: 0; font-family: var(--f-display); font-stretch: 62%; font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.subnav { position: sticky; top: calc(var(--hdr-h) - 6px); z-index: 20; display: flex; justify-content: center; gap: 6px; padding: 10px; flex-wrap: wrap; }
.subnav a { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; border-radius: 99px; background: rgba(18, 10, 12, .55); backdrop-filter: blur(8px); color: var(--bone); border: 1px solid rgba(244, 236, 223, .15); transition: background .3s, color .3s; }
.subnav a:hover, .subnav a.on { background: var(--brass); color: var(--ink); }

/* credits */
.credits { columns: 2; column-gap: clamp(30px, 5vw, 90px); }
.credit { break-inside: avoid; display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; padding: 15px 0; border-top: 1px solid rgba(127, 110, 100, .3); }
.credit dt { margin: 0; }
.credit dd { margin: 0; font-weight: 500; }
.cast { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid currentColor; }
.cast li { list-style: none; display: grid; grid-template-columns: 46px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(127, 110, 100, .3); }
.cast li:not(:nth-child(3n + 1)) { padding-left: 20px; border-left: 1px solid rgba(127, 110, 100, .3); }
.cast b { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--brass); }
.cast span { font-family: var(--f-display); font-stretch: 55%; font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3vw, 50px); line-height: .92; transition: color .3s, font-variation-settings .5s var(--ease); font-variation-settings: 'wdth' 55, 'wght' 700; }
.cast li:hover span { color: var(--brass); font-variation-settings: 'wdth' 75, 'wght' 800; }
.cast { padding: 0; margin: 0; }

/* media */
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 34px); }
.vid { display: block; position: relative; }
.vid .gold__in { aspect-ratio: 16 / 10; }
.vid h3 { margin: 16px 0 2px; font-family: var(--f-display); font-stretch: 62%; font-weight: 700; text-transform: uppercase; font-size: 26px; }
.vid p { margin: 0; opacity: .6; }
.gallery { columns: 3; column-gap: clamp(12px, 1.6vw, 22px); }
.gallery a { display: block; margin-bottom: clamp(12px, 1.6vw, 22px); border-radius: 8px; overflow: hidden; break-inside: avoid; position: relative; }
.gallery img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; }
.gallery a:hover img { transform: scale(1.05); }
.press { border-top: 1px solid currentColor; }
.press li { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(127, 110, 100, .3); }
.press { padding: 0; margin: 0; }
.press span { font-family: var(--f-display); font-stretch: 62%; font-weight: 600; font-size: 22px; text-transform: uppercase; }
.reelvid { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.reelvid video { width: 100%; border-radius: 14px; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 250; background: rgba(10, 4, 6, .94); display: none; align-items: center; justify-content: center; padding: 5vh 5vw; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.lb button { position: absolute; color: var(--bone); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244, 236, 223, .3); display: grid; place-items: center; }
.lb .x { top: 20px; right: 20px; } .lb .pv { left: 20px; top: 50%; } .lb .nx { right: 20px; top: 50%; }

/* release */
.terr { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid currentColor; }
.terr li { list-style: none; padding: 24px 18px 26px 0; border-bottom: 1px solid rgba(127, 110, 100, .3); }
.terr li:not(:nth-child(4n + 1)) { padding-left: 18px; border-left: 1px solid rgba(127, 110, 100, .3); }
.terr .f { font-size: 30px; line-height: 1; }
.terr h3 { margin: 12px 0 4px; font-family: var(--f-display); font-stretch: 55%; font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 46px); line-height: .9; }
.terr p { margin: 4px 0 0; font-size: 13.5px; opacity: .7; }
.terr { padding: 0; margin: 0; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner { border: 1px solid rgba(127, 110, 100, .35); border-radius: 12px; padding: 26px; }
.partner b { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 700; font-size: 28px; text-transform: uppercase; line-height: 1; }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1.5px solid currentColor; padding: 12px 0; border-radius: 0; outline: none; transition: border-color .3s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }
.form__ok { display: none; margin: 10px 0 0; color: var(--brass); }
.form.sent .form__ok { display: block; }
.notify { display: flex; gap: 10px; max-width: 520px; border-bottom: 1.5px solid currentColor; padding-bottom: 6px; }
.notify input { flex: 1; background: transparent; border: 0; color: inherit; font: inherit; font-size: 20px; outline: none; }

/* CTA band used on inner pages */
.cta { position: relative; overflow: clip; padding: clamp(110px, 13vw, 220px) 0; background: var(--ink); color: var(--bone); text-align: center; }
.cta__img { position: absolute; inset: -10% 0; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.cta .d { font-size: clamp(70px, calc(var(--vu) * 13), 240px); line-height: .82; }
.cta p { max-width: 50ch; margin: 22px auto 30px; opacity: .8; }
.cta .btns { justify-content: center; }

/* jam room */
.jam { position: relative; min-height: 100svh; background: radial-gradient(70% 60% at 50% 60%, #3d1119 0%, #160a0d 60%, #0b0405 100%); color: var(--bone); overflow: clip; display: flex; flex-direction: column; }
.jam__stage { position: relative; flex: 1; min-height: 62vh; }
.jam__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.jam__head { position: relative; z-index: 2; text-align: center; padding: calc(var(--hdr-h) + 20px) var(--gut) 0; }
.jam__ui { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; padding: 0 var(--gut) 50px; }
.jam__keys { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.key { display: grid; grid-template-columns: auto auto; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 99px; border: 1px solid rgba(244, 236, 223, .25); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.key kbd { font: inherit; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(244, 236, 223, .12); }
.key.hit { background: var(--brass); color: var(--ink); transform: scale(1.06); }
.beat { display: flex; gap: 4px; margin: 0 6px; }
.beat i { width: 8px; height: 8px; border-radius: 2px; background: rgba(244, 236, 223, .15); }
.beat i.on { background: var(--brass); }
.tempo { display: flex; align-items: center; gap: 10px; }
.tempo input { accent-color: var(--brass); }

/* reveal utilities */
[data-reveal] { will-change: transform, opacity; }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .story__grid { grid-template-columns: 1fr 1fr; }
  .story__grid figure:first-child { grid-column: 1 / -1; }
  .story__grid figure:first-child img { aspect-ratio: 16 / 10; }
  .story__foot { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .song, .poster, .two, .two--wide, .reelvid { grid-template-columns: 1fr; }
  .films { grid-template-columns: 1fr 1fr; }
  .film:nth-child(3) { border-left: 0; padding-left: 0; }
  .terr { grid-template-columns: 1fr 1fr; }
  .terr li:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .terr li:nth-child(even) { padding-left: 18px; border-left: 1px solid rgba(127, 110, 100, .3); }
  .cast { grid-template-columns: 1fr 1fr; }
  .cast li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .cast li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(127, 110, 100, .3); }
  .partners { grid-template-columns: 1fr; }
  .chapter { grid-template-columns: 60px 1fr; }
  .chapter > div:last-child { grid-column: 2; }
  .sticky-col { position: relative; top: 0; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 68px; }
  .hdr__title { font-size: 16px; }
  .hdr__mark { width: 62px; }
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero__stage { position: relative; height: 82svh; min-height: 520px; }
  .hero__col { position: relative; bottom: auto; left: auto; right: auto; width: auto; padding: 0 var(--gut); }
  .hero__cols { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 26px 0 64px; position: relative; z-index: 4; }
  .hero__col--r { order: -1; }
  .hero__logo { width: 70%; }
  .hero__meta { display: none; }
  .hero__letters { font-size: 64vw; top: 4%; }
  .proc { --n: 6; height: calc(var(--n) * 70vh + 100vh); }
  .proc__title .d, .reel__head .d { font-size: 21vw; white-space: normal; line-height: .82; }
  .proc__card { width: 46vw; }
  .proc__num { font-size: 15vh; }
  .proc__intro { left: var(--gut); right: var(--gut); bottom: 4vh; max-width: none; }
  .proc__intro p { display: none; }
  .proc__progress { display: none; }
  .band__info { bottom: 18vh; }
  .band__side { left: var(--gut); right: var(--gut); text-align: left; bottom: 9vh; max-width: none; }
  .band__side .band__hint { display: none; }
  .band__dots { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 12px 0 0 !important; border-left: 0 !important; }
  .stat:nth-child(even) { padding-left: 14px !important; border-left: 1px solid rgba(244, 236, 223, .18) !important; }
  .films { grid-template-columns: 1fr; }
  .film + .film { border-left: 0; padding-left: 0; border-top: 1px solid rgba(18, 10, 12, .2); }
  .reel__stage { width: 92vw; height: 52vh; transform: translate(-50%, -54%); }
  .reel__info { bottom: calc(13vh + 96px); width: auto; right: var(--gut); }
  .reel__ctrl { bottom: calc(13vh + 20px); left: var(--gut); right: auto; }
  .reel__ctrl .btn { margin-left: auto; }
  .foot__hero { grid-template-columns: 1fr; padding-top: calc(var(--hdr-h) + 20px); }
  .foot__nav { order: 2; }
  .foot__char { height: 56vh; right: -14vw; opacity: .35; }
  .quote { height: 380vh; }
  .pola { width: 58vw; padding: 9px 9px 38px; }
  .member { grid-template-columns: 1fr; padding-top: calc(var(--hdr-h) + 10px); }
  .member__fig { height: 62svh; order: 0 !important; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; }
  .credits { columns: 1; }
  .credit { grid-template-columns: 1fr; gap: 4px; }
  .cast { grid-template-columns: 1fr; }
  .cast li { padding-left: 0 !important; border-left: 0 !important; }
  .terr { grid-template-columns: 1fr; }
  .terr li { padding-left: 0 !important; border-left: 0 !important; }
  .vids { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .tiles { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .writer { grid-template-columns: 1fr; }
  .snd { bottom: 16px; }
}
@media (min-width: 761px) { .hero__stage { position: absolute; inset: 0; } .hero__cols { display: contents; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}

/* ---------- additions ---------- */
.hero__stage { z-index: 2; }
.hero__fallback { position: absolute; left: 50%; bottom: 0; width: min(102vw, calc(90svh * 1.267)); height: auto; transform: translateX(-50%); }
.hero__wipe { position: absolute; inset: 0; z-index: 8; background: var(--ink); clip-path: polygon(0 120%, 100% 98%, 100% 100%, 0 100%); pointer-events: none; }
.hero__wipe .tex--dimple-dark { opacity: .25; }
.proc__belt { position: absolute; inset: 0; will-change: transform; }
.band__fallback { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.band__fallback img { height: 64%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.foot__cta .d span { display: block; }
.member .btn { margin-top: 6px; }
.theme-light .lbl--brass, .theme-paper .lbl--brass { color: var(--brass-lo); }
.theme-light .tile__c .h3, .tile__c .h3 { color: var(--bone); }
.vid .song__play span, .poster__vid .song__play span { width: 72px; height: 72px; }
kbd { font-family: var(--f-mono); font-size: .85em; padding: 2px 6px; border-radius: 4px; background: rgba(244, 236, 223, .12); }
@media (max-width: 760px) { .hero__fallback { width: auto; height: 96%; max-width: none; } }

/* ---------- MOTION POSTER (alternate home) ---------- */
.mp { height: 640vh; background: #0b0607; color: var(--bone); }
.mp__sticky { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.mp__stage { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; transform: scale(1.04); }
.mp__video { position: absolute; inset: -2%; width: 104%; height: 104%; max-width: none; object-fit: cover; background: #0b0607; }
.mp__veil { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(8, 3, 5, .55) 100%),
  linear-gradient(180deg, rgba(8, 3, 5, .45) 0%, transparent 18%, transparent 70%, rgba(8, 3, 5, .7) 100%); }
.mp__grain { position: absolute; inset: 0; pointer-events: none; background: url(../tex/paper-grain.webp) 0 0 / 240px; mix-blend-mode: overlay; opacity: .18; }
.mp__ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.mp__ui a, .mp__ui button { pointer-events: auto; }
.mp__hint { position: absolute; left: 50%; bottom: 9vh; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: opacity .6s, transform .8s var(--ease); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.mp__hint .mouse { width: 24px; height: 38px; border: 1.5px solid currentColor; border-radius: 14px; position: relative; }
.mp__hint .mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.6s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(10px); opacity: 0 } 100% { opacity: 0 } }
.mp.is-started .mp__hint { opacity: 0; transform: translate(-50%, 14px); }
.mp__beat { position: absolute; left: calc(var(--page-x) + var(--gut)); bottom: 8vh; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease); text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.mp__beat.on { opacity: 1; transform: none; }
.mp__beat .lbl { color: var(--brass-hi); }
.mp__beat b { display: block; font-family: var(--f-display); font-stretch: 50%; font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 5vw, 84px); line-height: .9; letter-spacing: -.01em; }
.mp__side { position: absolute; right: calc(var(--page-x) + var(--gut)); bottom: 8vh; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.mp__tc { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; }
.mp__tc b { font-weight: 500; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.mp__rail { position: absolute; right: calc(var(--page-x) + var(--gut) / 2); top: 22vh; bottom: 30vh; width: 2px; background: rgba(244, 236, 223, .2); border-radius: 2px; overflow: hidden; }
.mp__rail i { position: absolute; inset: 0; background: var(--brass); transform-origin: top; transform: scaleY(0); }
.mp__links { display: flex; gap: 8px; }
.mp__endlogo { position: absolute; left: 50%; top: 13vh; width: 64vw; transform: translateX(-50%); opacity: 0; transition: opacity .8s; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .4)); display: none; }
.mp__endlogo.on { opacity: 1; }
.mp__wipe { position: absolute; inset: 0; z-index: 6; background: var(--ink); clip-path: polygon(0 120%, 100% 98%, 100% 100%, 0 100%); pointer-events: none; }
.mp__wipe .tex--dimple-dark { opacity: .25; }
.mp__loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; transition: opacity .6s; }
.mp.is-ready .mp__loading { opacity: 0; pointer-events: none; }
.mp.is-static { height: 100svh; }
.mp.is-static .mp__hint, .mp.is-static .mp__rail, .mp.is-static .mp__tc, .mp.is-static .mp__skip { display: none; }
@media (max-width: 760px) {
  .mp { height: 560vh; }
  .mp__endlogo { display: block; top: auto; left: var(--gut); transform: none; width: 52vw; bottom: calc(5vh + 64px); }
  .mp__beat--end { display: none; }
  .mp__hint { bottom: auto; top: 50%; transform: translate(-50%, -50%); }
  .mp.is-started .mp__hint { transform: translate(-50%, calc(-50% + 14px)); }
  .mp__beat { bottom: calc(8vh + 70px); }
  .mp__side { left: var(--gut); right: calc(var(--gut) + 56px); flex-direction: row; justify-content: space-between; align-items: center; bottom: 5vh; }
  .mp__links .btn--ghost { display: none; }
  .mp__rail { top: 18vh; bottom: 34vh; }
}
