/* ==========================================================================
   EIGHTI REPUBLIC · BETA V1
   01 · tokens, base, layout, atmosphere, site chrome
   Concept: a black room with one gold light on. Cinematic studio stills,
   condensed display type that hits like a kick, mono labels like console text.
   Single dark look on purpose.
   ========================================================================== */
:root {
  --night: #050505;
  --night-2: #0B0A08;
  --night-3: #12100C;
  --line: #2A2620;
  --line-2: #4A443A;
  --bone: #EDE6D6;
  --bone-2: #D6CEBC;
  --dust: #B8AF9C;
  --ash: #A39A88;
  --smoke: #8A8270;
  --gold: #F5B400;
  --gold-hi: #FFD24D;
  --ember: #C2410C;
  --rec: #DC2626;

  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gut-l: max(20px, env(safe-area-inset-left, 0px), 4vw);
  --gut-r: max(20px, env(safe-area-inset-right, 0px), 4vw);
  --max: 1520px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--night); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--bone);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, video, canvas { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--night); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; text-wrap: balance; }
.d-mega { font-size: clamp(88px, 17vw, 300px); line-height: .82; }
.d-xxl { font-size: clamp(76px, 13vw, 232px); line-height: .84; }
.d-xl  { font-size: clamp(64px, 10vw, 176px); }
.d-l   { font-size: clamp(52px, 7vw, 120px); line-height: .9; }
.d-m   { font-size: clamp(40px, 5vw, 84px); line-height: .94; font-weight: 800; }
.d-s   { font-size: clamp(28px, 2.8vw, 42px); line-height: 1; font-weight: 800; }
.d-xs  { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.05; font-weight: 800; }
.gold { color: var(--gold); }
.muted { color: var(--smoke); }
.label { margin: 0; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ash); }
.label.gold { color: var(--gold); }
.label.bone { color: var(--bone); }
.lede { margin: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--bone-2); max-width: 34em; }
.body { margin: 0; color: var(--dust); max-width: 38em; }
.body strong { color: var(--bone); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 5px 8px; background: var(--night); color: var(--gold); border: 1px solid var(--gold); }
.badge.solid { background: var(--gold); color: var(--night); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.section { padding-block: clamp(88px, 10vw, 168px); }
.section-s { padding-block: clamp(56px, 6vw, 96px); }
.split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 104px); }
.split > * { flex: 1 1 440px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack-s { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.between { justify-content: space-between; }
.end { align-items: flex-end; }
.band { background: var(--night-2); border-block: 1px solid var(--line); }
.rule { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: clamp(36px, 4vw, 64px); }

/* ---------- atmosphere ---------- */
.grain { position: fixed; inset: -100%; z-index: 90; pointer-events: none; background: url("../img/grain.png") repeat; opacity: .085; mix-blend-mode: overlay; animation: grain .8s steps(5) infinite; }
.scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 1px, transparent 1px 3px); }
.leak { position: absolute; pointer-events: none; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245,180,0,.5), rgba(194,65,12,.22) 55%, transparent 100%);
  filter: blur(40px); mix-blend-mode: screen; animation: leak 18s ease-in-out infinite alternate; }
.leak.slow { animation-duration: 24s; animation-direction: alternate-reverse; }
.ring { position: absolute; pointer-events: none; aspect-ratio: 1; border-radius: 50%; border: solid var(--gold); animation: drift 40s ease-in-out infinite alternate; }
.dot { position: absolute; pointer-events: none; aspect-ratio: 1; border-radius: 50%; background: var(--gold); animation: float 9s ease-in-out infinite alternate; }
.arc { position: absolute; pointer-events: none; aspect-ratio: 2 / 1; border: solid var(--ember); border-top: none; border-radius: 0 0 999px 999px; animation: drift2 32s ease-in-out infinite alternate; opacity: .85; }
.px { position: absolute; inset: 0; pointer-events: none; }
.media { position: absolute; inset: 0; overflow: hidden; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.kb { animation: kenburns 38s ease-in-out infinite alternate; }
.kb-2 { animation: kenburns2 26s ease-in-out infinite alternate; }
.kb-3 { animation: kenburns2 30s ease-in-out infinite alternate-reverse; }
.texture { position: absolute; inset: 0; background: url("../img/texture-system.webp") center / cover no-repeat; }
.shade { position: absolute; inset: 0; pointer-events: none; }

/* ---------- curtain (page in / out) ---------- */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--night); display: grid; place-items: center; pointer-events: none;
  animation: curtain-up .8s var(--ease-io) .45s forwards; }
.curtain img { width: min(180px, 40vw); animation: curtain-logo 1s var(--ease) forwards; }
html.has-gate .curtain { display: none; }
html.leaving .curtain { display: grid; animation: curtain-down .45s var(--ease-io) forwards; }
html.leaving .curtain img { animation: none; opacity: 0; }

/* ---------- header ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  transition: background .5s ease, border-color .5s ease, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(5,5,5,.74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-head.tuck { transform: translateY(-100%); }
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 28px; width: auto; }
.brand span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--ash); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--dust); position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .ext { color: var(--gold); }
.nav .cta { background: var(--gold); color: var(--night); padding: 12px 18px; }
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--gold-hi); color: var(--night); }
.sound { background: none; border: 0; cursor: pointer; display: flex; align-items: flex-end; gap: 2px; height: 18px; padding: 13px 6px; box-sizing: content-box; }
.sound i { display: block; width: 2px; background: var(--gold); height: 4px; transition: height .3s ease; }
.sound.on i { animation: eq 1s ease-in-out infinite; }
.sound.on i:nth-child(2) { animation-delay: -.3s; } .sound.on i:nth-child(3) { animation-delay: -.6s; } .sound.on i:nth-child(4) { animation-delay: -.15s; }
.menu-btn { display: none; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; padding: 0 10px 0 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.menu-btn span { display: block; height: 2px; background: var(--bone); transition: transform .4s var(--ease), width .4s var(--ease); }
.menu-btn span:first-child { width: 24px; } .menu-btn span:last-child { width: 15px; }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); width: 22px; }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); width: 22px; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--night); overflow-y: auto;
  padding: calc(104px + env(safe-area-inset-top, 0px)) var(--gut-r) max(32px, env(safe-area-inset-bottom, 0px)) var(--gut-l);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-display); font-weight: 900; font-size: clamp(52px, 15vw, 104px); line-height: 1.02; text-transform: uppercase; color: var(--bone); border-bottom: 1px solid var(--line); padding-block: 4px;
  transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.menu nav a small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .24em; color: var(--ash); font-weight: 500; }
.menu-open .menu nav a { transform: none; opacity: 1; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; } .menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; } .menu-open .menu nav a:nth-child(5) { transition-delay: .2s; }
.menu nav a.ext { color: var(--gold); }
@media (max-width: 920px) { .nav { display: none; } .menu-btn { display: flex; } }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; padding-block: clamp(96px, 10vw, 168px) max(36px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.foot-cta a.display { color: var(--bone); transition: color .4s ease; }
.foot-cta a.display:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 36px; margin-top: clamp(64px, 7vw, 112px); padding-top: 36px; border-top: 1px solid var(--line); }
.foot-grid ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--bone); }
.foot-grid a:hover { color: var(--gold); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 56px; }
.foot-mark { width: min(44%, 220px); height: auto; margin-top: 56px; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.cursor.on { opacity: 1; }
.cursor .c-dot { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s ease; }
.cursor .c-dot b { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; color: var(--night); opacity: 0; transition: opacity .2s ease; }
.cursor.big .c-dot { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(237,230,214,.92); }
.cursor.text .c-dot { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); }
.cursor.text .c-dot b { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-lines] .ln { display: block; overflow: hidden; }
.js [data-lines] .ln > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
.js [data-lines].in .ln > span { transform: none; }

/* ---------- keyframes ---------- */
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-4%)} 60%{transform:translate(-2%,-2%)} 80%{transform:translate(4%,3%)} 100%{transform:translate(0,0)} }
@keyframes leak { 0%{transform:translate(-30%,-10%) scale(1);opacity:.35} 50%{opacity:.75} 100%{transform:translate(40%,30%) scale(1.4);opacity:.45} }
@keyframes drift { 0%{transform:translate(0,0) rotate(0)} 100%{transform:translate(-5%,7%) rotate(25deg)} }
@keyframes drift2 { 0%{transform:translate(0,0)} 100%{transform:translate(14%,-12%)} }
@keyframes float { 0%{transform:translate(0,0)} 100%{transform:translate(24px,-32px)} }
@keyframes kenburns { 0%{transform:scale(1.08)} 100%{transform:scale(1.28) translate(-4%,3%)} }
@keyframes kenburns2 { 0%{transform:scale(1.04)} 100%{transform:scale(1.16) translate(2%,-2%)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes flicker { 0%,47%,49%,84%,100%{opacity:1} 48%{opacity:.35} 83%{opacity:.6} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eq { 0%,100%{height:4px} 50%{height:16px} }
@keyframes curtain-up { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes curtain-down { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes curtain-logo { 0%{opacity:0; filter:blur(12px)} 50%{opacity:1; filter:none} 100%{opacity:1} }

/* ==========================================================================
   02 · components and page sections
   ========================================================================== */

/* ---------- gate: STEP INSIDE ---------- */
.gate { position: fixed; inset: 0; z-index: 80; background: var(--night); display: grid; place-items: center; overflow: hidden;
  --r: 0px; --x: 50%; --y: 50%;
  -webkit-mask: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 1px));
          mask: radial-gradient(circle at var(--x) var(--y), transparent var(--r), #000 calc(var(--r) + 1px)); }
.gate .texture { opacity: .16; animation: kenburns 38s ease-in-out infinite alternate; }
.gate-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vh, 36px);
  padding: max(24px, env(safe-area-inset-top, 0px)) var(--gut-r) max(24px, env(safe-area-inset-bottom, 0px)) var(--gut-l); transition: transform 1.2s var(--ease-io), opacity .8s ease, filter .8s ease; }
.gate-inner > * { animation: gate-in 1.4s var(--ease) both; }
.gate-inner > :nth-child(2) { animation-delay: .25s; } .gate-inner > :nth-child(3) { animation-delay: .5s; } .gate-inner > :nth-child(4) { animation-delay: .75s; }
.gate-brand { margin: 0; line-height: 0; }
.gate-mark { width: min(440px, 68vw); height: auto; filter: drop-shadow(0 0 40px rgba(245,180,0,.25)); }
.gate-tag { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.1em; font-family: var(--f-mono); font-weight: 500; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: .42em; color: var(--bone); padding-left: .42em; }
.gate-tag span { transition: color .25s ease; font-variant-numeric: tabular-nums; }
.gate-tag span.hit { color: var(--gold); }
.step { position: relative; display: inline-flex; align-items: center; gap: 18px; min-height: 64px; padding: 0 30px; border: 1px solid var(--gold); background: transparent; color: var(--gold); cursor: pointer;
  font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; overflow: hidden; transition: color .4s ease; }
.step::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: -1; }
.step:hover { color: var(--night); }
.step:hover::before { transform: scaleX(1); }
.step { isolation: isolate; }
.gate-foot { position: absolute; left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 16px; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.gate.opening .gate-inner { transform: scale(1.08); opacity: 0; filter: blur(14px); }
.iris { position: fixed; z-index: 81; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); pointer-events: none; opacity: 0; box-shadow: 0 0 60px rgba(245,180,0,.5), inset 0 0 60px rgba(245,180,0,.35); }
@keyframes gate-in { from { opacity: 0; transform: translateY(24px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: max(640px, min(100svh, 1040px)); }
.hero .wrap { position: relative; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.page-hero { min-height: max(560px, min(78svh, 820px)); }
.kinetic [data-k] { display: block; transition: color .3s ease, -webkit-text-stroke-color .3s ease; }
.kinetic [data-k].hit { color: var(--gold); }
.kinetic .outline { color: transparent; -webkit-text-stroke: 2px var(--bone); }
.kinetic .outline.hit { color: var(--gold); -webkit-text-stroke-color: var(--gold); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--night-2); border-block: 1px solid var(--line); padding-block: 16px; }
.ticker-track { display: flex; width: max-content; gap: 40px; animation: ticker 40s linear infinite; font-family: var(--f-mono); font-size: 13px; letter-spacing: .28em; white-space: nowrap; color: var(--bone); }
.ticker-track i { font-style: normal; color: var(--gold); }
.ticker.big { padding-block: 22px; }
.ticker.big .ticker-track { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 7vw, 112px); letter-spacing: 0; gap: 48px; text-transform: uppercase; animation-duration: 30s; }
.ticker.big .ticker-track span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }

/* ---------- chapters (home index) ---------- */
.chapters { border-top: 1px solid var(--line); }
.chapter { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 20px 32px; padding-block: clamp(22px, 2.6vw, 36px); border-bottom: 1px solid var(--line); color: var(--bone); overflow: hidden; }
.chapter::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.chapter > * { position: relative; z-index: 1; transition: color .4s ease, transform .6s var(--ease); }
.chapter .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .24em; color: var(--ash); }
.chapter .t { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 9vw, 152px); line-height: .88; }
.chapter .s { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); text-align: right; max-width: 260px; }
@media (hover: hover) { .chapter:hover { color: var(--night); } }
@media (hover: hover) { .chapter:hover::before { transform: scaleY(1); } }
@media (hover: hover) { .chapter:hover .n, .chapter:hover .s { color: var(--night); } }
@media (hover: hover) { .chapter:hover .t { transform: translateX(18px); } }
.chapter .ch-img { display: none; }
/* touch screens and phones: no cursor-follow image, so each door shows its own photo */
@media (hover: none), (max-width: 640px) {
  .chapter { grid-template-columns: minmax(0, 1fr) clamp(92px, 26vw, 170px); gap: 6px 20px; padding-block: 26px; }
  .chapter .n, .chapter .t, .chapter .s { grid-column: 1; }
  .chapter .s { text-align: left; }
  .chapter .t { font-size: clamp(34px, 9vw, 88px); white-space: nowrap; min-width: 0; }
  .chapter .ch-img { display: block; grid-column: 2; grid-row: 1 / span 3; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; align-self: center; }
}

/* ---------- floating image that follows the cursor ---------- */
.float-img { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(220px, 22vw, 340px); aspect-ratio: 4 / 5; pointer-events: none; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .35s ease, transform .5s var(--ease); }
.float-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.float-img img { width: 100%; height: 100%; object-fit: cover; }
.float-img.square { aspect-ratio: 1; }
@media (pointer: coarse) { .float-img { display: none; } }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 68px; padding: 0 28px;
  background: var(--gold); color: var(--night); border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(21px, 1.8vw, 26px); letter-spacing: .06em; text-transform: uppercase;
  transition: background .3s ease, gap .4s var(--ease), color .3s ease; }
.btn:hover { background: var(--gold-hi); color: var(--night); gap: 40px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--bone); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: var(--bone); color: var(--night); }
.btn svg { flex: none; }
.link-arrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 10px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); background: transparent; color: var(--dust); cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: all .3s ease; display: inline-flex; align-items: center; gap: 10px; }
.chip:hover { color: var(--bone); border-color: var(--bone); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.chip sup { font-size: 10px; opacity: .7; }

/* ---------- releases ---------- */
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.rcard { display: flex; flex-direction: column; gap: 16px; color: var(--bone); perspective: 900px; }
.rcard:hover { color: var(--bone); }
.rcard .art { position: relative; aspect-ratio: 1; background: var(--night-3) center / cover; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s ease; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.rcard .art img { width: 100%; height: 100%; object-fit: cover; }
.rcard .art .badge { position: absolute; left: 12px; top: 12px; }
.rcard .art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.18), transparent 50%); opacity: 0; transition: opacity .4s ease; }
.rcard:hover .art::after { opacity: 1; }
.rcard .meta { display: flex; flex-direction: column; gap: 6px; }
.rcard.is-hidden { display: none; }
.feature { position: relative; overflow: hidden; }
.cover-wrap { position: relative; display: grid; place-items: center; padding-right: 14%; }
.vinyl { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; right: 0;
  background: radial-gradient(circle, var(--gold) 0 7%, #120F0A 7.5% 16%, transparent 16.5%), repeating-radial-gradient(circle, #0B0A08 0 2px, #16130F 2px 4px);
  animation: spin 9s linear infinite; box-shadow: 0 30px 80px rgba(0,0,0,.6); transition: right .9s var(--ease); }
.cover-wrap:hover .vinyl { right: -8%; }
.cover { position: relative; width: min(100%, 560px); aspect-ratio: 1; background: var(--night-3) center / cover; box-shadow: 0 40px 120px rgba(0,0,0,.75); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.timer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 540px; }
.timer div { border: 1px solid var(--line-2); background: rgba(5,5,5,.6); padding: 14px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.timer b { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.timer span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; color: var(--ash); }
.dsps { display: flex; flex-wrap: wrap; gap: 10px; }
.dsp { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; padding: 15px 20px; color: var(--bone); border: 1px solid var(--line-2); transition: background .3s ease, color .3s ease; }
.dsp:hover { background: var(--bone); color: var(--night); }
.dsp.off { color: var(--smoke); border-style: dashed; pointer-events: none; }
.credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.note { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--ash); border-left: 2px solid var(--gold); padding: 6px 0 6px 14px; margin: 0; }

/* ---------- collective ---------- */
.roster { border-top: 1px solid var(--line); }
.member { display: grid; grid-template-columns: minmax(0, 1fr) 220px 160px 40px; align-items: center; gap: 12px 32px; padding-block: clamp(18px, 2vw, 28px); border-bottom: 1px solid var(--line); color: var(--bone); transition: padding .5s var(--ease), color .3s ease; }
.member:hover { color: var(--gold); padding-left: 18px; }
.member .nm { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 84px); line-height: .92; display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; min-width: 0; }
.member .thumb { display: none; width: 72px; height: 90px; object-fit: cover; flex: none; }
.member .label { color: var(--ash); }
.member .arrow { font-family: var(--f-display); font-size: 32px; justify-self: end; }
.member.is-hidden { display: none; }
@media (max-width: 860px) {
  .member { grid-template-columns: 72px minmax(0, 1fr); }
  .member .thumb { display: block; grid-row: span 3; align-self: start; }
  .member .nm { font-size: clamp(30px, 8.4vw, 52px); }
  .member .arrow { display: none; }
}
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip > * { scroll-snap-align: start; flex: 0 0 clamp(240px, 24vw, 340px); }
.mcard { display: flex; flex-direction: column; gap: 14px; color: var(--bone); }
.mcard:hover { color: var(--gold); }
.mcard .pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night-3); }
.mcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s ease; filter: grayscale(.4); }
.mcard:hover .pic img { transform: scale(1.06); filter: none; }
.mcard .badge { position: absolute; left: 12px; top: 12px; }
.profile-pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-width: 560px; }
.profile-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- sync ---------- */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--line); }
.cap { padding: 36px 32px 44px 0; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--line); }
.cap + .cap { padding-left: 32px; border-left: 1px solid var(--line); }
.cap .ic { width: 48px; height: 48px; color: var(--gold); }
@media (max-width: 700px) { .cap, .cap + .cap { padding: 28px 0 32px; border-left: 0; } }
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.hscroll-track { display: flex; gap: 20px; padding-left: var(--gut-l); padding-right: var(--gut-r); will-change: transform; }
.pstep { flex: 0 0 min(78vw, 560px); min-height: min(58svh, 520px); border: 1px solid var(--line-2); background: var(--night-2); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.pstep .n { font-family: var(--f-display); font-weight: 900; font-size: clamp(100px, 14vw, 200px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.pstep:nth-child(odd) { background: var(--night-3); }
.hscroll-bar { height: 2px; background: var(--line); margin-inline: var(--gut-l) var(--gut-r); }
.hscroll-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hscroll-sticky { position: static; height: auto; padding-block: 24px; }
  .hscroll-track { flex-direction: column; transform: none !important; }
  .pstep { flex: none; min-height: 0; }
  .hscroll-bar { display: none; }
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 36px); text-transform: uppercase; padding: 8px 16px; border: 1px solid var(--line-2); color: var(--dust); transition: all .3s ease; }
.tags span:hover { color: var(--night); background: var(--gold); border-color: var(--gold); }
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat b { font-family: var(--f-display); font-weight: 900; font-size: clamp(72px, 9vw, 152px); line-height: .85; color: var(--gold); }

/* ---------- connect ---------- */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.types legend { margin-bottom: 18px; }
.type { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 140px; padding: 20px; border: 1px solid var(--line-2); background: var(--night-2); cursor: pointer; transition: border-color .3s ease, background .3s ease; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type .t { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--bone); }
.type:hover { border-color: var(--bone); }
.type:has(input:checked) { border-color: var(--gold); background: var(--gold); }
.type:has(input:checked) .t, .type:has(input:checked) .label { color: var(--night); }
.type:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.f label, .lbl { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ash); }
.field { width: 100%; min-height: 56px; padding: 0 16px; background: var(--night-2); border: 1px solid #3A352D; border-radius: 0; color: var(--bone); font: 16px/1.4 var(--f-body); appearance: none; -webkit-appearance: none; transition: border-color .25s ease; }
textarea.field { padding: 14px 16px; min-height: 140px; resize: vertical; }
select.field { background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field:hover { border-color: var(--line-2); }
.field:focus { outline: none; border-color: var(--gold); }
.field:user-invalid { border-color: var(--rec); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ash); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--gold); background: var(--night-2); }
.form-error { color: #FCA5A5; font-size: 14px; margin: 0; }
.copy { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.copy code { font-family: var(--f-mono); font-size: clamp(16px, 1.6vw, 20px); color: var(--bone); user-select: all; }
.copy button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: none; cursor: pointer; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--dust); }
.copy button:hover { color: var(--night); background: var(--gold); border-color: var(--gold); }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- misc sections ---------- */
.cut { position: relative; height: clamp(520px, 62vw, 860px); overflow: hidden; }
.cut img { filter: contrast(1.14) saturate(1.05); }
.cut-tags { position: absolute; left: 0; right: 0; bottom: 24px; }
.cut-tags .wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .24em; padding: 8px 12px; background: var(--night); color: var(--bone); display: inline-flex; align-items: center; gap: 10px; }
.tag.gold { background: var(--gold); color: var(--night); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: pulse 1.6s ease-in-out infinite; }
.flicker { animation: flicker 7s steps(1) infinite; }
.cut-statement { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding-inline: var(--gut-l) var(--gut-r); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crumbs a { color: var(--ash); }
.crumbs a:hover { color: var(--gold); }
.demo-banner { background: var(--gold); color: var(--night); font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-align: center; padding: 8px var(--gut-r) 8px var(--gut-l); position: relative; z-index: 60; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .grain, .ticker-track, .kb, .kb-2, .kb-3, .leak, .ring, .dot, .arc, .vinyl, .gate .texture { animation: none !important; }
  .curtain { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .js [data-lines] .ln > span { transform: none; }
  .cursor, .float-img { display: none; }
}

/* long single-word titles step down so they never break mid-word */
.t-long { font-size: clamp(34px, 4.4vw, 88px) !important; line-height: .9; overflow-wrap: normal; }
.hero .t-long { font-size: clamp(36px, 5vw, 112px) !important; }
.t-fit { font-size: clamp(46px, 10.5vw, 196px) !important; }

/* drawn external-link arrow (the text character renders as an emoji on iPhone) */
.ext-ic { display: inline-block; width: .62em; height: .62em; vertical-align: baseline; margin-left: .08em; }
.nav .ext-ic, .label .ext-ic, .dsp .ext-ic, .foot-grid .ext-ic, small .ext-ic { width: 1em; height: 1em; vertical-align: -.15em; }

/* readability: text that sits on photos or rings gets a soft shadow; gold never sits on the gold photos */
.hero .display, .cut .display, .hero .lede, .hero .label { text-shadow: 0 2px 28px rgba(0,0,0,.6), 0 0 2px rgba(0,0,0,.4); }
@media (max-width: 700px) {
  .hero-shade { background: linear-gradient(180deg, rgba(5,5,5,.6) 0%, rgba(5,5,5,.72) 55%, var(--night) 100%) !important; }
}
/* now playing */
.np { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: var(--smoke); white-space: nowrap; transition: color .4s ease; }
.np.on { color: var(--gold); }
@media (max-width: 1180px) { .np { display: none; } }
/* rooms gallery */
.strip.rooms > * { flex: 0 0 clamp(300px, 58vw, 900px); }
.room { margin: 0; overflow: hidden; background: var(--night-3); }
.room img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.room:hover img { transform: scale(1.04); }

/* home photo mosaic: one tall, one wide, one tall */
.mosaic { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 10px; align-items: end; }
.mosaic figure { margin: 0; overflow: hidden; background: var(--night-3); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.m-a { aspect-ratio: 3 / 4; }
.m-b { aspect-ratio: 16 / 10; align-self: center; }
.m-c { aspect-ratio: 3 / 4; margin-bottom: clamp(24px, 6vw, 96px) !important; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .m-b { grid-column: 1 / -1; grid-row: 1; }
  .m-c { margin-bottom: 0 !important; }
}

/* ==========================================================================
   REFINEMENTS · spacing, photo rhythm, gold moments, calmer motion
   ========================================================================== */

/* more air between blocks */
.section { padding-block: clamp(104px, 12vw, 200px); }
.sec-head { margin-bottom: clamp(44px, 5vw, 80px); }
.hero .stack, .gold-hero .stack { gap: clamp(22px, 2.4vw, 34px); }
.lede { line-height: 1.65; }

/* home hero ring: frames the type instead of crossing it */
.home-ring { width: min(900px, 92vw); border-width: clamp(34px, 5.4vw, 92px); top: -18%; right: -30%; opacity: .62; }
@media (max-width: 700px) { .home-ring { width: 78vw; top: 12%; right: -34%; opacity: .5; } }

/* ticker: present, not shouting */
.ticker.big { padding-block: 18px; }
.ticker.big .ticker-track { font-size: clamp(28px, 4.6vw, 76px) !important; gap: 56px; animation-duration: 70s !important; }
.ticker.big .ticker-track span:nth-child(4n+3) { -webkit-text-stroke-width: 1px; }
.ticker.paused .ticker-track { animation-play-state: paused; }

/* doors: text only, generous rows; desktop keeps the image that follows the cursor */
.doors-sec { padding-block: clamp(96px, 11vw, 176px) clamp(72px, 8vw, 128px); }
.chapter { padding-block: clamp(26px, 3vw, 44px); }
.chapter .ch-img { display: none !important; }
@media (hover: none), (max-width: 640px) {
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 30px; }
  .chapter .t { font-size: clamp(46px, 13vw, 96px); white-space: normal; }
}

/* cinematic cut: one big image moment */
.cut.cinematic { height: clamp(560px, 82vh, 980px); }
@media (max-width: 700px) { .cut.cinematic { height: 78svh; min-height: 520px; } }

/* editorial pair: one large, one small, offset */
.ed-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.ed-big { grid-column: 1 / span 7; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night-3); }
.ed-copy { grid-column: 9 / span 4; padding-top: clamp(24px, 8vw, 140px); }
.ed-small { margin: clamp(16px, 3vw, 40px) 0 0; width: 74%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--night-3); align-self: flex-end; }
.ed-big img, .ed-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ed-big:hover img, .ed-small:hover img { transform: scale(1.03); }
@media (max-width: 860px) {
  .ed-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-big { grid-column: 1; aspect-ratio: 4 / 5; margin-right: 12%; }
  .ed-copy { grid-column: 1; padding-top: 8px; }
  .ed-small { width: 58%; margin-left: auto; margin-top: 8px; }
}

/* the gold moment: Collective */
.gold-band { background: var(--gold); color: var(--night); position: relative; overflow: hidden; }
.gold-band .label { color: rgba(5,5,5,.68); }
.gb-grid { display: flex; flex-wrap: wrap; gap: clamp(48px, 7vw, 120px); padding-block: clamp(96px, 11vw, 176px); align-items: flex-start; }
.gb-head { flex: 1 1 380px; min-width: 0; position: sticky; top: 120px; }
.gb-list { flex: 1.4 1 480px; min-width: 0; border-top: 1px solid rgba(5,5,5,.28); }
.gb-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-block: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid rgba(5,5,5,.28); color: var(--night); transition: padding .5s var(--ease); }
.gb-row:hover { color: var(--night); padding-left: 16px; }
.gb-name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 72px); line-height: .95; }
.gb-link { display: inline-flex; align-self: flex-start; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); background: var(--night); padding: 16px 22px; }
.gb-link:hover { color: var(--gold-hi); background: #000; }
@media (max-width: 860px) { .gb-head { position: static; } }

/* Collective page hero: same gold, editorial photo inset */
.gold-hero { background: var(--gold); color: var(--night); position: relative; overflow: hidden; }
.gold-hero .label { color: rgba(5,5,5,.7); }
.gold-hero .lede { color: rgba(5,5,5,.86); }
.gh-grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(36px, 6vw, 96px); padding-top: calc(clamp(120px, 14vw, 180px) + env(safe-area-inset-top, 0px)); padding-bottom: clamp(56px, 7vw, 104px); }
.gh-text { flex: 1.5 1 460px; min-width: 0; }
.gh-photo { flex: 0 1 360px; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.gh-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .gh-photo { flex-basis: 100%; max-width: 64%; margin-left: auto; } }
/* the header reads on gold until it turns to glass */
.has-gold-top:not(.menu-open) .site-head:not(.scrolled) .nav a:not(.cta) { color: var(--night); }
.has-gold-top:not(.menu-open) .site-head:not(.scrolled) .nav a::after { background: var(--night); }
.has-gold-top:not(.menu-open) .site-head:not(.scrolled) .brand span { color: rgba(5,5,5,.6); }
.has-gold-top:not(.menu-open) .site-head:not(.scrolled) .menu-btn span { background: var(--night); }
.has-gold-top:not(.menu-open) .site-head:not(.scrolled) .sound i { background: var(--night); }
.has-gold-top:not(.menu-open) .site-head:not(.scrolled) .np { color: rgba(5,5,5,.6); }
.has-gold-top:not(.menu-open) .site-head:not(.scrolled) .brand img { filter: brightness(0); }

/* Sync: full-height cinematic hero */
.cinema-hero { min-height: max(640px, 100svh); align-items: flex-end; }
.cinema-hero .wrap { padding-bottom: clamp(64px, 9vw, 128px); }

/* Connect: type only */
.plain-hero { min-height: max(520px, min(70svh, 720px)); }

/* cursor stays visible on gold */
.cursor.dark .c-dot { background: var(--night); }
.cursor.dark.big .c-dot { background: rgba(5,5,5,.85); }

/* fewer things moving at once */
.leak { animation-duration: 30s; }
@media (max-width: 700px) { .leak { display: none; } .kb, .kb-2, .kb-3 { animation: none; } }
.gold-hero .display { font-size: clamp(54px, 7.6vw, 150px) !important; }
.gb-head .display { font-size: clamp(50px, 5.6vw, 108px); }
[data-type-title] { font-size: clamp(36px, 3.6vw, 64px) !important; }
@media (hover: hover) and (min-width: 641px) and (max-width: 1100px) {
  .chapter { grid-template-columns: 64px minmax(0, 1fr); }
  .chapter .s { grid-column: 2; text-align: left; max-width: none; }
}

/* thin link banner */
.ticker.thin { padding-block: 11px; background: var(--night-2); }
.ticker.thin .ticker-track { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .3em; gap: 36px; animation-duration: 60s; align-items: center; }
.ticker.thin .ticker-track a, .ticker.thin .ticker-track span { color: var(--dust); display: inline-flex; align-items: center; gap: 10px; }
.ticker.thin .ticker-track a:hover { color: var(--gold); }
.ticker.thin .ticker-track img { width: 16px; height: 16px; object-fit: contain; }
.ticker.thin .ticker-track i { font-size: 7px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
/* touch: tapping a door shouldn't leave it lit */
.chapter { -webkit-tap-highlight-color: transparent; }

/* home hero line, sized down */
.home-hero .kinetic { font-size: clamp(44px, 7vw, 124px) !important; line-height: .86; }


/* phone-only intro film behind the homepage hero (black & white) */
.hero-vid { display: none; }
.hero-vid.live { display: block; }
.hero-vid video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; filter: grayscale(1) contrast(1.05); }
.hero-vid video.on { opacity: .62; }
.home-hero:has(.hero-vid.live) .media:not(.hero-vid) { opacity: 0; }


/* now-playing title can be long: keep it on one tidy line */
.np { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }

/* doors: faded studio photo behind the list, calmer rhythm on phones */
.doors-sec { position: relative; overflow: hidden; isolation: isolate; }
.doors-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.doors-bg img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) contrast(1.1) brightness(.8); opacity: .16;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%); }
.doors-sec .wrap { position: relative; }
.ticker.thin { border-color: rgba(255,255,255,.06); }
.doors-sec .chapters { border-top-color: rgba(255,255,255,.08); }
.doors-sec .chapter { border-bottom-color: rgba(255,255,255,.08); }
@media (hover: none), (max-width: 640px) {
  .doors-sec { padding-block: 72px 64px; }
  .doors-sec .sec-head { margin-bottom: 28px; }
  .doors-bg img { opacity: .22; }
  .doors-sec .chapter { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 14px; padding-block: 24px; align-items: baseline; }
  .doors-sec .chapter .n { grid-column: 1; grid-row: 1; font-size: 11px; color: var(--gold); opacity: .8; }
  .doors-sec .chapter .t { grid-column: 2; grid-row: 1; font-size: clamp(40px, 11.5vw, 72px); }
  .doors-sec .chapter .s { grid-column: 2; grid-row: 2; font-size: 10.5px; letter-spacing: .16em; line-height: 1.6; max-width: 30ch; }
}

/* names styled in lowercase (madisvn) keep their own casing */
.as-typed { text-transform: none !important; letter-spacing: inherit; }
.display .as-typed { letter-spacing: -.01em; }
/* open call at the end of the roster */
.member.open-call { opacity: .62; }
.member.open-call .nm { color: transparent; -webkit-text-stroke: 1px var(--bone); }
@media (hover: hover) { .member.open-call:hover { opacity: 1; } }

/* music: artist spotlight */
.spotlight .sp-photo { margin: 0; justify-self: end; width: min(100%, 460px); aspect-ratio: 4 / 5; overflow: hidden; }
.spotlight .sp-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.sp-list { border-top: 1px solid var(--line); }
.sp-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 4px 18px; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--bone); }
.sp-row img { grid-row: 1 / span 2; width: 56px; height: 56px; object-fit: cover; }
.sp-row .display { grid-column: 2; }
.sp-row .label { grid-column: 2; }
.sp-row .arrow { grid-column: 3; grid-row: 1 / span 2; color: var(--ash); transition: transform .4s var(--ease), color .3s; }
@media (hover: hover) { .sp-row:hover .arrow { color: var(--gold); transform: translateX(6px); } }
@media (max-width: 860px) { .spotlight .sp-photo { justify-self: stretch; width: 100%; max-width: 520px; order: -1; } }

/* artist spotlight banner: photo fills the right side, copy sits on black at the left */
.sp-banner { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: clamp(600px, 50vw, 780px); padding-block: clamp(64px, 6vw, 96px); border-block: 1px solid var(--line); background: var(--night); }
.sp-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; margin: 0; z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.sp-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 32%; filter: grayscale(1) contrast(1.1) brightness(.9); }
.sp-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,5,.45) 0%, rgba(5,5,5,0) 20%, rgba(5,5,5,0) 72%, rgba(5,5,5,.7) 100%); }
.sp-inner { width: 100%; }
.sp-copy { max-width: 500px; }
.sp-name { white-space: nowrap; font-size: clamp(64px, 8vw, 132px) !important; }
.sp-banner .timer > div { padding-block: 10px; }
.sp-banner .timer b { font-size: clamp(28px, 2.6vw, 40px); }
@media (max-width: 860px) {
  .sp-banner { display: block; min-height: 0; padding-block: 0 72px; }
  .sp-bg { position: relative; width: 100%; aspect-ratio: 4 / 3.6; z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .sp-bg img { object-position: 74% 34%; }
  .sp-shade { display: none; }
  .sp-inner { position: relative; z-index: 2; margin-top: -56px; }
  .sp-copy { max-width: none; }
  .sp-name { font-size: clamp(56px, 17vw, 96px) !important; }
}

/* home: the section list sits on Eighti yellow; rows fill black on hover */
.doors-sec { background: var(--gold); color: var(--night); }
.doors-sec .label { color: rgba(5,5,5,.7); }
.doors-bg img { opacity: .14; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.2); }
.doors-sec .chapters { border-top-color: rgba(5,5,5,.22); }
.doors-sec .chapter { color: var(--night); border-bottom-color: rgba(5,5,5,.22); }
.doors-sec .chapter .n, .doors-sec .chapter .s { color: rgba(5,5,5,.66); }
.doors-sec .chapter::before { background: var(--night); }
@media (hover: hover) {
  .doors-sec .chapter:hover { color: var(--gold); }
  .doors-sec .chapter:hover .n, .doors-sec .chapter:hover .s { color: var(--bone); }
}
@media (hover: none), (max-width: 640px) {
  .doors-sec .chapter .n { color: var(--night); opacity: .7; }
  .doors-bg img { opacity: .16; }
}
@media (hover: none), (max-width: 640px) { .doors-sec .chapter .t { font-size: clamp(34px, 9.6vw, 72px); } }
