:root {
  --ink: #0a0807;
  --ink2: #120e0c;
  --blood: #c3151c;
  --blood-hi: #ff2b25;
  --ember: #ff7a22;
  --bone: #ece4d6;
  --ash: #9a9188;
  --steel: #1b1917;
  --cur: url("../assets/cursor.png") 1 1;
  --pad: clamp(16px, 4vw, 56px);
  --brush: polygon(1% 18%, 7% 7%, 16% 12%, 27% 4%, 41% 9%, 55% 2%, 68% 8%, 81% 1%, 93% 7%, 99% 16%, 97% 38%, 100% 58%, 98% 80%, 94% 95%, 82% 90%, 69% 98%, 54% 93%, 40% 100%, 27% 94%, 14% 99%, 4% 93%, 0 74%, 2% 52%, 0 32%);
  --metal: linear-gradient(180deg, #fdf8ee 0%, #e4dbcc 43%, #8b8277 50%, #bfb6a8 60%, #f1e9db 100%);
  --blood-metal: linear-gradient(180deg, #ff9466 0%, #ff3b2c 44%, #9c0c11 50%, #dc221e 62%, #ff6a40 100%);
  --wear: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -16 0 0 0 12.4'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-behavior: smooth; overflow-x: clip; }
html, body { cursor: var(--cur), auto; }
a, button, [data-full], .hud__bars i { cursor: var(--cur), pointer; }
body {
  font-family: "Chakra Petch", system-ui, sans-serif;
  color: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.loading { overflow: hidden; }
*, *::before, *::after { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-user-drag: none; }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
::selection { background: transparent; color: inherit; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 60%, #1a0f0b 0%, #050403 70%);
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { width: min(560px, 84vw); text-align: center; }
.loader__mark { width: 74px; margin: 0 auto 28px; animation: flicker 2.6s infinite steps(1); }
.loader__mark svg { width: 100%; fill: var(--blood); filter: drop-shadow(0 0 18px rgba(195, 21, 28, .55)); }
.loader__label {
  display: flex; justify-content: space-between;
  font: 600 13px/1 "Chakra Petch", sans-serif; letter-spacing: .22em;
  margin-bottom: 10px; color: #f2ebe0;
}
.loader__bar { height: 14px; border: 1px solid #3a3330; background: #0b0908; padding: 2px; }
.loader__bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #8d0b10, #e3161d 70%, #ff5a3a);
  box-shadow: 0 0 14px rgba(227, 22, 29, .6);
}
.loader__hint { margin-top: 18px; font-family: "Share Tech Mono", monospace; font-size: 12px; color: var(--ash); letter-spacing: .08em; }

/* ---------- background layers ---------- */
#bg, #fx { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
#bg { z-index: 0; }
#fx { z-index: 1; pointer-events: none; }
.bg-fallback {
  position: fixed; inset: -4%; z-index: 0;
  background: url("../assets/img/forest.jpg") center / cover;
  filter: brightness(.55) saturate(.8);
  display: none;
}
.no-gl .bg-fallback { display: block; animation: drift 30s ease-in-out infinite alternate; }
.no-gl #bg { display: none; }
.scan {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
  opacity: .28; mix-blend-mode: multiply;
}
.trail {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(255, 60, 40, .55); border-radius: 50%;
  transition: width .25s, height .25s, margin .25s, border-color .25s, background .25s, opacity .3s;
  opacity: 0;
}
.trail.on { opacity: 1; }
.trail.hot {
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-color: rgba(255, 90, 50, .9); background: rgba(195, 21, 28, .08);
}
@media (hover: none) { .trail { display: none; } }

main { position: relative; z-index: 3; }

/* ---------- speaker ---------- */
.speaker {
  position: fixed; top: 18px; right: 20px; z-index: 60;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(10, 8, 7, .35); border: 1px solid rgba(236, 228, 214, .16); color: #e9e1d3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: .72; transition: opacity .3s, border-color .3s, box-shadow .3s, color .3s;
}
.speaker:hover { opacity: 1; border-color: rgba(255, 59, 44, .7); box-shadow: 0 0 18px rgba(255, 59, 44, .35); color: #fff; }
.speaker svg { width: 21px; height: 21px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.speaker__body { fill: currentColor; stroke: none; }
.speaker__w1, .speaker__w2 { opacity: .9; transition: opacity .3s; }
.speaker__x { opacity: 0; transition: opacity .3s; }
.speaker.playing .speaker__w1 { animation: wave 1.6s ease-in-out infinite; }
.speaker.playing .speaker__w2 { animation: wave 1.6s .25s ease-in-out infinite; }
.speaker[aria-pressed="true"] { color: #ff4a3a; }
.speaker[aria-pressed="true"] .speaker__w1, .speaker[aria-pressed="true"] .speaker__w2 { opacity: 0; animation: none; }
.speaker[aria-pressed="true"] .speaker__x { opacity: 1; }
.speaker.waiting { opacity: 1; }
.speaker.waiting::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(255, 59, 44, .85); animation: ping 1.8s ease-out infinite;
}
.speaker__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  white-space: nowrap; pointer-events: none;
  font: 600 10px/1 "Chakra Petch", sans-serif; letter-spacing: .26em; color: #d9d0c2; text-shadow: 0 1px 6px #000;
  opacity: 0; transition: opacity .3s, transform .3s;
}
.speaker:hover .speaker__tip, .speaker.waiting .speaker__tip { opacity: 1; transform: translate(0, -50%); }
.speaker.waiting .speaker__tip { font-size: 12px; letter-spacing: .04em; font-weight: 500; }

/* ---------- section rail ---------- */
.rail {
  position: fixed; right: 26px; top: 50%; z-index: 55; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px; pointer-events: none;
}
.rail a { position: relative; display: flex; align-items: center; gap: 10px; padding: 4px 0; pointer-events: auto; }
.rail i { width: 16px; height: 2px; background: rgba(236, 228, 214, .35); transition: width .35s cubic-bezier(.2, .9, .3, 1), background .3s, box-shadow .3s; }
.rail b { font: 400 11px/1 "Share Tech Mono", monospace; letter-spacing: .1em; color: rgba(236, 228, 214, .42); text-shadow: 0 1px 6px #000; transition: color .3s; }
.rail span {
  font: 700 11px/1 "Chakra Petch", sans-serif; letter-spacing: .28em; color: #f0e8db; text-shadow: 0 1px 6px #000;
  position: absolute; right: calc(100% + 12px); top: 50%; margin-top: -5px; white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; pointer-events: none;
}
.rail a:hover span { opacity: 1; transform: none; }
.rail a:hover i { width: 26px; background: #f0e8db; }
.rail a:hover b { color: #f0e8db; }
.rail a.on i { width: 34px; background: #ff3b2c; box-shadow: 0 0 10px rgba(255, 59, 44, .8); }
.rail a.on b { color: #ff4a3a; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px var(--pad) 90px;
  text-align: center;
}
.logo { position: relative; width: min(1060px, 94vw); margin-top: 1vh; }
.logo__svg { width: 100%; height: auto; overflow: visible; }
.logo__blood { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; z-index: 1; }
.logo__img { position: relative; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .85)); display: block; width: 100%; height: auto; pointer-events: none; }
body.ready .logo__img { animation: logo-in 1.6s steps(1) both; }
.logo__word text { font: 400 248px/1 "Anton", Impact, sans-serif; letter-spacing: 2px; }
.logo__sub text { font: 600 30px/1 "Chakra Petch", sans-serif; fill: #efe7da; letter-spacing: 14px; }
.logo__z, .logo__ztilt { transform-box: fill-box; transform-origin: 50% 50%; }
.logo__z { opacity: 0; }
.logo__ztilt {
  transform: rotate(var(--zr, 0deg)) translate(var(--zx, 0px), var(--zy, 0px));
  transition: transform 1.1s cubic-bezier(.2, .8, .3, 1);
}
.paint { fill: none; stroke: #fff; stroke-width: 66; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.logo__sheen { mix-blend-mode: screen; }
.logo__drips { opacity: 0; }
.drip { transform-box: fill-box; transform-origin: 50% 0; animation: drip 7s ease-in infinite; }
.drip.d2 { animation-duration: 9s; animation-delay: -3s; }
.drip.d3 { animation-duration: 11s; animation-delay: -6s; }
body.ready .logo__word { animation: logo-in 1.6s steps(1) both; }
body.ready .logo__z { animation: z-in .45s .62s cubic-bezier(.2, 1.4, .4, 1) both, z-twitch 6.5s 4.5s infinite; }
body.ready .paint { animation: paint .32s cubic-bezier(.55, 0, .3, 1) forwards; }
body.ready .p1 { animation-delay: .72s; }
body.ready .p2 { animation-delay: 1.02s; }
body.ready .p3 { animation-delay: 1.36s; }
body.ready .logo__drips { animation: appear .5s 1.7s forwards; }
body.ready .logo__sub { animation: fade-up .8s 1.1s both; }

.hero__line {
  margin-top: 4px;
  font: 500 clamp(17px, 2vw, 23px)/1.3 "Chakra Petch", sans-serif;
  letter-spacing: .04em; color: #e5dccd;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}
.hero__line em { font-style: normal; color: var(--blood-hi); font-weight: 700; }
body.ready .hero__line { animation: fade-up .8s 1.3s both; }

/* ---------- countdown ---------- */
.gate-wrap { position: relative; margin-top: clamp(10px, 2.6vh, 30px); width: min(880px, 94vw); }
body.ready .gate-wrap { animation: gate-in 1.1s 1.5s cubic-bezier(.2, .9, .3, 1) both; }
.gate { position: relative; isolation: isolate; padding: 16px clamp(6px, 2vw, 30px) 14px; }
.gate::before {
  content: ""; position: absolute; inset: -34px -14% -30px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(6, 4, 3, .8), rgba(6, 4, 3, .62) 52%, rgba(6, 4, 3, 0));
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.gate__kicker {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 12px/1 "Chakra Petch", sans-serif; letter-spacing: .46em; color: #ece4d6;
  text-shadow: 0 1px 8px #000;
}
.gate__kicker::before, .gate__kicker::after {
  content: ""; height: 1px; width: clamp(28px, 9vw, 120px);
  background: linear-gradient(90deg, transparent, rgba(255, 74, 44, .9));
}
.gate__kicker::after { transform: scaleX(-1); }
.lamp {
  width: 8px; height: 8px; border-radius: 50%; background: #ff2a20; flex: none;
  box-shadow: 0 0 6px #ff2a20, 0 0 16px rgba(255, 42, 32, .8);
  animation: lamp 1.2s steps(1) infinite;
}
.gate__clock { display: flex; align-items: flex-start; justify-content: center; gap: clamp(8px, 2.6vw, 38px); margin-top: 12px; }
.cell { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.digits { display: flex; font: 400 clamp(64px, 10.4vw, 136px)/.92 "Anton", Impact, sans-serif; }
.dg { position: relative; display: block; width: .56em; text-align: center; }
.dg span {
  display: block;
  background: linear-gradient(180deg, #fdf8ee 0%, #e4dbcc 43%, #8b8277 50%, #bfb6a8 60%, #f1e9db 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: var(--wear); mask-image: var(--wear); -webkit-mask-size: 240px; mask-size: 240px;
}
.digits { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .9)); }
.cell--s .digits { filter: drop-shadow(0 0 16px rgba(255, 40, 20, .5)) drop-shadow(0 6px 14px rgba(0, 0, 0, .85)); }
.cell--s .dg span { background-image: var(--blood-metal); }
.dg::after {
  content: attr(data-d); position: absolute; inset: 0; pointer-events: none;
  color: #ffc58a; text-shadow: 0 0 12px #ff7a22, 0 0 34px #ff3d12, 0 0 60px rgba(255, 50, 10, .6);
  opacity: 0;
}
.dg.tick span { animation: drop-in .5s cubic-bezier(.2, .9, .3, 1); }
.dg.tick::after { animation: cool 1.1s ease-out; }
.unit {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font: 600 11px/1 "Chakra Petch", sans-serif; letter-spacing: .4em; text-indent: .4em; color: #d9d0c2;
  text-shadow: 0 1px 6px #000;
}
.unit small { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-indent: 0; color: #8d847a; }
.cell--s .unit { color: #ff6a4d; }
.gate__rule {
  position: relative; align-self: stretch; width: 1px; margin: 14px 0 34px;
  background: linear-gradient(180deg, transparent, rgba(236, 228, 214, .32) 25%, rgba(236, 228, 214, .32) 75%, transparent);
}
.gate__rule::after {
  content: ""; position: absolute; left: -3px; top: 44%; width: 7px; height: 7px; transform: rotate(45deg);
  background: #ff3b2c; box-shadow: 0 0 10px rgba(255, 59, 44, .8);
  animation: blink 1s steps(1) infinite;
}
.gate__heat {
  position: relative; display: block; width: 78%; height: 1px; margin: 14px auto 12px;
  background: linear-gradient(90deg, transparent, rgba(255, 110, 40, .9), transparent);
  box-shadow: 0 0 14px 1px rgba(255, 90, 30, .5);
}
.gate__heat::after {
  content: ""; position: absolute; top: -2px; left: 0; width: 16%; height: 5px;
  background: radial-gradient(closest-side, #ffe0b0, rgba(255, 140, 60, .5) 50%, transparent);
  animation: heat 5s ease-in-out infinite;
}
.gate__meta {
  display: flex; justify-content: center; align-items: center; gap: 10px 24px; flex-wrap: wrap;
  font: 600 12px/1 "Chakra Petch", sans-serif; letter-spacing: .24em; text-shadow: 0 1px 6px #000;
}
.status { display: inline-flex; align-items: center; gap: 9px; color: #ff4a3a; }
.status b { width: 7px; height: 7px; background: currentColor; border-radius: 50%; box-shadow: 0 0 10px currentColor; animation: blink 1.4s steps(1) infinite; }
.status.on { color: #6dff7a; }
.gate__date { color: #a69d92; }
.gate__date time { color: #f0e8db; font-family: "Share Tech Mono", monospace; letter-spacing: .12em; margin-left: 6px; }
.gate.open .digits { opacity: .25; }
.gate.open #gateTitle { color: #6dff7a; }

.note {
  position: absolute; right: calc(-1 * clamp(150px, 18vw, 250px)); top: 34%;
  width: clamp(170px, 15vw, 214px); padding: 26px 18px 18px; text-align: left;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .12)),
    repeating-linear-gradient(180deg, transparent 0 25px, rgba(60, 90, 140, .18) 25px 26px),
    #e7dcc6;
  color: #2a1f18; font: 400 15px/26px "Sriracha", cursive;
  transform: rotate(5deg);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .4);
  clip-path: polygon(0 2%, 9% 0, 22% 2%, 40% 0, 58% 1.6%, 77% 0, 100% 1.4%, 99% 30%, 100% 62%, 98.6% 100%, 70% 98.5%, 44% 100%, 20% 98.4%, 0 100%, 1.4% 64%, 0 30%);
  transition: transform .5s cubic-bezier(.2, .9, .3, 1);
}
.note:hover { transform: rotate(1deg) translateY(-6px) scale(1.04); }
.note::after { content: ""; position: absolute; right: 14px; bottom: 16px; width: 46px; height: 38px; border-radius: 50%; background: radial-gradient(circle, rgba(120, 20, 10, .35), transparent 70%); }
.note p + p { margin-top: 2px; }
.note p:first-of-type { font-size: 13px; color: #8a2a1d; }
.note u { text-decoration-color: #b2241b; text-decoration-thickness: 2px; }
.note__sign { text-align: right; margin-top: 6px !important; }
.note__tape {
  position: absolute; top: -9px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(225, 214, 180, .62); box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
body.ready .note { animation: note-in 1s 2.1s cubic-bezier(.2, .9, .3, 1) both; }

/* ---------- follow buttons ---------- */
.follow-row { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 16px); flex-wrap: wrap; margin-top: clamp(12px, 2.6vh, 26px); }
body.ready .follow-row { animation: fade-up .8s 1.9s both; }
.cta {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 13px;
  min-width: 200px; height: 60px; padding: 0 24px 0 22px; color: #f4ece0; text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1);
}
.cta::before, .cta::after, .chan__cta::before, .chan__cta::after { content: ""; position: absolute; inset: 0; clip-path: var(--brush); }
.cta::before, .chan__cta::before {
  z-index: -2;
  background: repeating-linear-gradient(177deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 7px), rgba(14, 11, 10, .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cta::after, .chan__cta::after {
  z-index: -1;
  background:
    repeating-linear-gradient(177deg, rgba(0, 0, 0, .16) 0 2px, transparent 2px 7px),
    linear-gradient(100deg, #7d080d 0%, #cf141b 38%, #ff3424 74%, #b80f16 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.cta:hover { transform: translateY(-2px); }
.cta:hover::after, .chan:hover .chan__cta::after { transform: scaleX(1); }
.cta__ico { width: 22px; height: 22px; flex: none; fill: #ff4a3a; transition: transform .35s cubic-bezier(.2, .9, .3, 1), fill .3s; }
.cta:hover .cta__ico { fill: #fff; transform: scale(1.15) rotate(-8deg); }
.cta__txt { display: flex; flex-direction: column; align-items: flex-start; font: 700 17px/1 "Chakra Petch", sans-serif; letter-spacing: .01em; }
.cta__txt small { font: 600 10px/1 "Chakra Petch", sans-serif; letter-spacing: .32em; color: rgba(244, 236, 224, .6); margin-bottom: 6px; transition: color .3s; }
.cta:hover .cta__txt small { color: rgba(255, 236, 226, .9); }

/* ---------- hud ---------- */
.hud {
  position: absolute; left: var(--pad); bottom: 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  font: 400 12px/1 "Share Tech Mono", monospace; letter-spacing: .12em; color: #cfc6b8;
  text-shadow: 0 1px 6px #000;
}
.hud__rec { display: flex; align-items: center; gap: 8px; color: #fff; }
.hud__rec b { width: 8px; height: 8px; border-radius: 50%; background: #ff2a20; box-shadow: 0 0 8px #ff2a20; animation: blink 1s steps(1) infinite; }
.hud__loc { font: 700 14px/1 "Chakra Petch", sans-serif; letter-spacing: .16em; color: #f4ede2; }
.hud__coord { color: #8f877e; }
.hud__bars { display: flex; gap: 6px; margin-top: 6px; pointer-events: auto; }
.hud__bars i { position: relative; width: 34px; height: 3px; background: rgba(236, 228, 214, .22); overflow: hidden; }
.hud__bars i::before { content: ""; position: absolute; inset: 0; background: var(--blood-hi); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hud__bars i:hover { background: rgba(236, 228, 214, .5); }
.hud.swap .hud__loc, .hud.swap .hud__coord { animation: glitch .5s steps(3); }

.scroll-cue {
  position: absolute; right: var(--pad); bottom: 30px;
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1 "Chakra Petch", sans-serif; letter-spacing: .1em; color: #cfc6b8;
  text-shadow: 0 1px 6px #000;
}
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(236, 228, 214, .25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blood-hi); animation: drop 1.8s cubic-bezier(.6, 0, .3, 1) infinite; }
.scroll-cue:hover { color: #fff; }

/* ---------- sections common ---------- */
.signal, .photos, .join {
  position: relative; padding: clamp(80px, 12vh, 140px) var(--pad);
  background: linear-gradient(180deg, rgba(10, 8, 7, .55), rgba(10, 8, 7, .86) 18%, rgba(10, 8, 7, .9));
}
.photos { background: rgba(10, 8, 7, .9); }
.join { background: linear-gradient(180deg, rgba(10, 8, 7, .9), rgba(20, 6, 6, .82)); }
.sec-head { max-width: 480px; }
.sec-head__no { display: inline-block; font: 400 15px/1 "Share Tech Mono", monospace; color: var(--blood-hi); letter-spacing: .2em; padding-bottom: 10px; border-bottom: 1px solid var(--blood); margin-bottom: 18px; }
.sec-head h2 { font: 400 clamp(48px, 6vw, 100px)/.88 "Anton", Impact, sans-serif; letter-spacing: .01em; color: #f2eadc; text-shadow: 0 6px 30px rgba(0, 0, 0, .7); }
.sec-head p { margin-top: 16px; font-size: 17px; color: #b8aea2; }
.sec-head--right { margin-left: auto; text-align: right; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2, .9, .3, 1), transform 1s cubic-bezier(.2, .9, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- transmission ---------- */
.signal__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 70px);
  max-width: 1280px; margin: 0 auto; align-items: start;
}
.radio {
  grid-row: span 2;
  background: linear-gradient(180deg, #171412, #0c0a09);
  border: 1px solid #332c28; padding: 18px 20px 24px;
  box-shadow: inset 0 0 0 5px #0c0a09, inset 0 0 0 6px #262120, 0 30px 70px rgba(0, 0, 0, .6);
  position: relative;
}
.radio::before { content: ""; position: absolute; inset: 6px; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px); }
.radio__top { display: flex; align-items: center; gap: 12px; font: 400 12px/1 "Share Tech Mono", monospace; letter-spacing: .14em; color: #a2988c; }
.radio__led { width: 9px; height: 9px; border-radius: 50%; background: #3dff6a; box-shadow: 0 0 10px #3dff6a; animation: blink 2s steps(1) infinite; }
.radio__sig { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.radio__sig i { width: 4px; background: #ff3b2c; }
.radio__sig i:nth-child(1) { height: 25%; } .radio__sig i:nth-child(2) { height: 50%; } .radio__sig i:nth-child(3) { height: 75%; opacity: .5; } .radio__sig i:nth-child(4) { height: 100%; opacity: .2; }
.radio__wave { display: block; width: 100%; height: 86px; margin: 16px 0 14px; background: #070605; border: 1px solid #221d1b; }
.radio__log { min-height: 330px; font: 400 16px/1.75 "Special Elite", "Sriracha", monospace; color: #dcd2c2; }
.radio__log .ln { display: block; }
.radio__log .ln.th { font-family: "Chakra Petch", sans-serif; font-weight: 500; color: #f0e8db; }
.radio__log .ln.sys { font-family: "Share Tech Mono", monospace; font-size: 13px; color: #ff4a3a; letter-spacing: .12em; }
.radio__log .ln.gap { height: 12px; }
.radio__log .caret { display: inline-block; width: 9px; height: 17px; vertical-align: -3px; background: #ff3b2c; margin-left: 2px; animation: blink .8s steps(1) infinite; }
.signal__photo {
  position: relative; margin-top: 10px; padding: 12px 12px 46px; background: #e9e1d2; transform: rotate(-3deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .65); max-width: 470px;
}
.signal__photo.in { transform: rotate(-3deg); }
.signal__photo img { filter: sepia(.25) contrast(1.05) saturate(.85); }
.signal__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 12px; font: 400 17px/1.2 "Sriracha", cursive; color: #2a201a; }
.signal__photo figcaption span { color: #a3261c; }
.signal__photo::before { content: ""; position: absolute; top: -12px; left: 30px; width: 90px; height: 26px; background: rgba(226, 214, 178, .65); transform: rotate(-8deg); z-index: 1; }

/* ---------- photos board ---------- */
.board {
  max-width: 1280px; margin: clamp(30px, 6vh, 70px) auto 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 56px) clamp(18px, 3vw, 44px);
}
.polaroid {
  position: relative; background: #ebe3d4; padding: 12px 12px 52px; transform: rotate(var(--r));
  box-shadow: 0 22px 44px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .4);
  transition: transform .5s cubic-bezier(.2, .9, .3, 1), box-shadow .5s, opacity 1s, filter .5s;
}
.polaroid.reveal { transform: translateY(60px) rotate(calc(var(--r) * 2)); }
.polaroid.reveal.in { transform: rotate(var(--r)); }
.polaroid:nth-child(3n+2) { margin-top: 46px; }
.polaroid:nth-child(3n) { margin-top: 14px; }
.polaroid::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; margin-left: -46px; z-index: 1;
  background: rgba(226, 214, 178, .62); transform: rotate(calc(var(--r) * -1.4)); box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.polaroid img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; filter: sepia(.18) contrast(1.06) saturate(.8) brightness(.95); transition: filter .5s; }
.polaroid figcaption { position: absolute; left: 14px; right: 14px; bottom: 13px; font: 400 18px/1.15 "Sriracha", cursive; color: #2c2119; }
.polaroid.in:hover { transform: rotate(0) translateY(-10px) scale(1.04); z-index: 2; box-shadow: 0 36px 70px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 59, 44, .4); }
.polaroid:hover img { filter: none; }

/* ---------- join ---------- */
.join__inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.join__title { margin-top: 6px; font: 700 clamp(56px, 10vw, 150px)/1.05 "Chakra Petch", sans-serif; letter-spacing: -.01em; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .9)); }
.join__title span {
  display: inline-block;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: var(--wear); mask-image: var(--wear); -webkit-mask-size: 240px; mask-size: 240px;
}
.join__title span:last-child { margin-left: .18em; background-image: var(--blood-metal); }
.join__lead { max-width: 640px; margin: 18px auto 0; font-size: 18px; line-height: 1.6; color: #c4b9ac; }
.chans { display: flex; justify-content: center; align-items: stretch; margin-top: clamp(40px, 7vh, 76px); }
.chan {
  position: relative; isolation: isolate; flex: 1 1 0; max-width: 300px; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 16px 24px;
  transition: transform .45s cubic-bezier(.2, .9, .3, 1);
}
.chan::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 18%; height: 46%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 50, 25, .38), transparent); filter: blur(12px);
  opacity: 0; transition: opacity .45s;
}
.chan:hover { transform: translateY(-6px); }
.chan:hover::before { opacity: 1; }
.chan__ico { width: 30px; height: 30px; fill: #d9d0c2; transition: transform .4s cubic-bezier(.2, .9, .3, 1), fill .3s; }
.chan:hover .chan__ico { fill: #ff3b2c; transform: rotate(-8deg) scale(1.15); }
.chan__name {
  position: relative; margin-top: 4px;
  font: 400 clamp(40px, 4.1vw, 64px)/.95 "Anton", Impact, sans-serif; letter-spacing: .02em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: var(--wear); mask-image: var(--wear); -webkit-mask-size: 240px; mask-size: 240px;
}
.chan__name::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: var(--blood-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transition: opacity .4s;
}
.chan:hover .chan__name::after { opacity: 1; }
.chan__handle { font: 400 13px/1 "Share Tech Mono", monospace; color: #8f867c; letter-spacing: .1em; }
.chan__cta {
  position: relative; isolation: isolate; margin-top: 14px; padding: 15px 30px;
  font: 700 16px/1 "Chakra Petch", sans-serif; color: #f4ece0; text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.chans__rule {
  position: relative; flex: none; width: 1px; margin: 26px clamp(10px, 2vw, 30px);
  background: linear-gradient(180deg, transparent, rgba(236, 228, 214, .28) 25%, rgba(236, 228, 214, .28) 75%, transparent);
}
.chans__rule::after {
  content: ""; position: absolute; left: -3px; top: 44%; width: 7px; height: 7px; transform: rotate(45deg);
  background: #ff3b2c; box-shadow: 0 0 10px rgba(255, 59, 44, .8);
}

/* ---------- footer ---------- */
.foot { position: relative; background: #070605; padding: 22px var(--pad) 26px; overflow: hidden; }
.foot__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 600 12px/1 "Chakra Petch", sans-serif; letter-spacing: .16em; color: #7d756d; }
.foot__row a:hover { color: #fff; }
.foot__end { color: #a8231c; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(5, 4, 3, .92); padding: 4vw; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; box-shadow: 0 30px 90px #000; border: 10px solid #ebe3d4; animation: pop .5s cubic-bezier(.2, .9, .3, 1); }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; background: none; border: 1px solid rgba(236, 228, 214, .35); color: #fff; font-size: 18px; }
.lightbox__close:hover { background: var(--blood); border-color: var(--blood); }

/* ---------- keyframes ---------- */
@keyframes flicker { 0%, 100% { opacity: 1; } 8% { opacity: .2; } 10% { opacity: 1; } 47% { opacity: .5; } 48% { opacity: 1; } }
@keyframes logo-in { 0% { opacity: 0; } 10% { opacity: .8; } 14% { opacity: 0; } 22% { opacity: 1; } 26% { opacity: .2; } 32%, 100% { opacity: 1; } }
@keyframes z-in { 0% { opacity: 0; transform: scale(1.14); } 100% { opacity: 1; transform: none; } }
@keyframes z-twitch {
  0%, 90%, 100% { opacity: 1; transform: none; }
  91% { opacity: .7; transform: translate(6px, -3px) skewX(-7deg); }
  92% { opacity: 1; transform: translate(-5px, 2px); }
  93% { transform: translate(3px, 0) skewX(5deg); }
  94% { transform: none; }
  96% { opacity: .55; }
  97% { opacity: 1; }
}
@keyframes paint { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes gate-in { from { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes note-in { from { opacity: 0; transform: translateX(60px) rotate(18deg); } to { opacity: 1; transform: rotate(5deg); } }
@keyframes drip { 0%, 40% { transform: scaleY(.25); } 80% { transform: scaleY(1); } 100% { transform: scaleY(1.05); } }
@keyframes drop-in { 0% { opacity: 0; transform: translateY(-22%) scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes cool { 0% { opacity: 1; } 35% { opacity: .85; } 100% { opacity: 0; } }
@keyframes heat { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 84%; opacity: 0; } }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: .8; } }
@keyframes wave { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes lamp { 0%, 100% { opacity: 1; } 50% { opacity: .25; box-shadow: none; } }
@keyframes drop { to { top: 110%; } }
@keyframes glitch { 0% { transform: translateX(-6px); opacity: .3; clip-path: inset(0 0 60% 0); } 50% { transform: translateX(4px); clip-path: inset(40% 0 0 0); } 100% { transform: none; opacity: 1; clip-path: none; } }
@keyframes drift { from { transform: scale(1.04) translate(-1%, 0); } to { transform: scale(1.1) translate(1%, -1%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.9) rotate(-3deg); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1560px) {
  .note { display: none; }
}
@media (max-width: 1000px) {
  .signal__grid { grid-template-columns: 1fr; }
  .radio { grid-row: auto; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .polaroid:nth-child(n) { margin-top: 0; }
  .polaroid:nth-child(2n) { margin-top: 36px; }
  .chans { flex-direction: column; align-items: center; }
  .chan { width: 100%; }
  .chans__rule { width: 60%; height: 1px; margin: 4px 0; background: linear-gradient(90deg, transparent, rgba(236, 228, 214, .28), transparent); }
  .chans__rule::after { left: calc(50% - 3px); top: -3px; }
  .hud, .rail { display: none; }
  .scroll-cue { left: 50%; right: auto; transform: translateX(-50%); }
}
@media (max-height: 780px) {
  .hud, .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 70px; padding-bottom: 80px; }
  .digits { font-size: 15.5vw; }
  .gate__clock { gap: 6px; }
  .gate__rule { margin-bottom: 26px; }
  .unit { font-size: 9px; letter-spacing: .2em; text-indent: .2em; }
  .unit small { font-size: 10px; }
  .gate__kicker { font-size: 11px; letter-spacing: .3em; }
  .gate__meta { font-size: 10px; letter-spacing: .14em; }
  .follow-row { flex-direction: column; }
  .cta { width: 100%; max-width: 320px; }
  .board { grid-template-columns: 1fr; }
  .polaroid:nth-child(n) { margin-top: 0; }
  .scroll-cue span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- extras: storm, blackout, tuner, locked files, gate pass, gate list ---------- */
input { -webkit-user-select: text; user-select: text; }
#storm { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.flash { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(120% 90% at 50% 0%, rgba(214, 226, 255, .55), rgba(190, 205, 240, .18) 60%, transparent); mix-blend-mode: screen; }

.blackout { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity 1.6s; --x: 50vw; --y: 50vh; }
.blackout.on { opacity: 1; }
.blackout::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle 190px at var(--x) var(--y), rgba(4, 3, 3, 0) 0, rgba(4, 3, 3, .2) 55%, rgba(4, 3, 3, .97) 100%);
}
.blackout__msg { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; font: 400 13px/1 "Share Tech Mono", monospace; letter-spacing: .32em; color: #ff4a3a; text-shadow: 0 0 12px rgba(255, 60, 40, .7); animation: blink 1.6s steps(1) infinite; }
.blackout__writing {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle 170px at var(--x) var(--y), #000 30%, transparent 100%);
  mask-image: radial-gradient(circle 170px at var(--x) var(--y), #000 30%, transparent 100%);
}
.blackout__writing span {
  position: absolute; transform: rotate(var(--r)); white-space: nowrap;
  font: 400 calc(clamp(34px, 5vw, 76px) * var(--s, 1))/1 "Special Elite", monospace; color: rgba(150, 18, 20, .82); letter-spacing: .04em;
  filter: url(#f-rough-edge);
}

.tuner { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #332c28; position: relative; }
.tuner__head { display: flex; align-items: baseline; gap: 14px; font: 400 12px/1 "Share Tech Mono", monospace; letter-spacing: .16em; color: #8d847a; }
.tuner__head b { font-weight: 400; font-size: 20px; letter-spacing: .06em; color: #f0e8db; }
.tuner__head i { margin-left: auto; font-style: normal; color: #6b625a; }
.tuner__head i.lock { color: #3dff6a; text-shadow: 0 0 8px rgba(61, 255, 106, .6); }
.tuner__band { position: relative; height: 54px; margin-top: 12px; background: #070605; border: 1px solid #221d1b; cursor: ew-resize; touch-action: none; outline: none; overflow: hidden; }
.tuner__band:focus-visible { border-color: #ff3b2c; }
.tuner__scale { position: absolute; inset: 0; }
.tuner__scale i { position: absolute; bottom: 0; width: 1px; height: 9px; background: rgba(236, 228, 214, .22); }
.tuner__scale i.big { height: 18px; background: rgba(236, 228, 214, .45); }
.tuner__scale b { position: absolute; top: 7px; transform: translateX(-50%); font: 400 10px/1 "Share Tech Mono", monospace; color: #6b625a; font-weight: 400; }
.tuner__needle { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: #ff3b2c; box-shadow: 0 0 12px rgba(255, 59, 44, .9); }
.tuner__msg { margin-top: 12px; min-height: 52px; font: 400 15px/1.6 "Special Elite", monospace; color: #8d847a; }
.tuner__msg.live { color: #dcd2c2; }

.polaroid.locked { cursor: not-allowed; }
.polaroid.locked img { filter: blur(14px) grayscale(1) brightness(.45) !important; }
.polaroid.locked figcaption { color: rgba(44, 33, 25, .35); }
.polaroid .seal {
  position: absolute; left: 12px; right: 12px; top: 12px; aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font: 400 12px/1 "Share Tech Mono", monospace; letter-spacing: .2em; color: #efe7da; text-align: center;
}
.polaroid .seal b { font: 400 clamp(22px, 2.4vw, 32px)/1 "Anton", Impact, sans-serif; letter-spacing: .06em; color: #ff4a3a; border: 2px solid #ff4a3a; padding: 6px 12px 4px; transform: rotate(-6deg); }
.polaroid .seal span { color: #cfc5b8; }
.polaroid .seal em { font-style: normal; color: #f2eadc; font-size: 14px; letter-spacing: .12em; }

.pass { position: relative; padding: clamp(80px, 12vh, 140px) var(--pad); background: linear-gradient(180deg, rgba(10, 8, 7, .9), rgba(14, 9, 8, .92)); }
.pass__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 70px); max-width: 1280px; margin: 0 auto; align-items: center; }
.pass__form { margin-top: 28px; display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field > span { font: 400 12px/1 "Share Tech Mono", monospace; letter-spacing: .2em; color: #8d847a; }
.field input, .gate-list input {
  width: 100%; padding: 13px 14px; background: #0b0908; border: 1px solid #3a322d; color: #f2eadc;
  font: 500 18px/1.2 "Chakra Petch", sans-serif; outline: none; border-radius: 0;
}
.field input:focus, .gate-list input:focus { border-color: #ff3b2c; box-shadow: 0 0 0 1px #ff3b2c; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 9px 13px; background: #0b0908; border: 1px solid #3a322d; color: #b8aea2; font: 600 13px/1 "Chakra Petch", sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.chips button.on { border-color: #ff3b2c; color: #fff; background: rgba(195, 21, 28, .25); }
.faces { display: flex; gap: 10px; }
.faces button { width: 64px; height: 84px; padding: 0; border: 1px solid #3a322d; background: #0b0908; cursor: pointer; overflow: hidden; }
.faces img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.75); transition: filter .3s; }
.faces button.on { border-color: #ff3b2c; box-shadow: 0 0 0 1px #ff3b2c; }
.faces button.on img, .faces button:hover img { filter: grayscale(.4) contrast(1.05); }
.pass__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.btn { padding: 14px 22px; border: 1px solid #5a4e46; background: transparent; color: #f2eadc; font: 700 14px/1 "Chakra Petch", sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.btn:hover { border-color: #f2eadc; transform: translateY(-2px); }
.btn--red { background: #a8121a; border-color: #c3151c; }
.btn--red:hover { background: #c3151c; border-color: #ff3b2c; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.pass__note { min-height: 20px; font: 400 13px/1.4 "Share Tech Mono", monospace; letter-spacing: .06em; color: #8d847a; }
.pass__card { position: relative; transform: rotate(1.6deg); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .75)); }
.pass__card canvas { display: block; width: 100%; height: auto; }

.gate-list { max-width: 560px; margin: clamp(30px, 5vh, 50px) auto 0; }
.gate-list__count { margin-bottom: 14px; font: 400 13px/1 "Share Tech Mono", monospace; letter-spacing: .18em; color: #b8aea2; text-transform: uppercase; }
.gate-list__count b { font: 400 26px/1 "Anton", Impact, sans-serif; letter-spacing: .04em; color: #ff4a3a; margin-right: 6px; vertical-align: -3px; }
.gate-list__row { display: flex; gap: 10px; }
.gate-list__row input { flex: 1; min-width: 0; }
.gate-list__row .btn { white-space: nowrap; }
.gate-list__note { margin-top: 10px; font: 400 12px/1.4 "Share Tech Mono", monospace; letter-spacing: .08em; color: #7d756d; }
.gate-list__note.ok { color: #3dff6a; }
.gate-list__note.err { color: #ff4a3a; }

@media (max-width: 1000px) {
  .pass__grid { grid-template-columns: 1fr; }
  .pass__card { transform: none; }
}
@media (max-width: 640px) {
  .gate-list__row { flex-direction: column; }
  .faces button { width: 56px; height: 74px; }
}
#gore { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 89; pointer-events: none; }
