/* NOCTIDE - noctidegame.com
   Night storm palette: near-black sea, cold teal light (the coldlight), one warm human light (the boat stripe). */
:root {
  --bg: #04090d;
  --bg-2: #071219;
  --panel: #0b1b23;
  --line: rgba(130, 225, 215, 0.13);
  --line-strong: rgba(130, 225, 215, 0.32);
  --text: #e8f1f3;
  --text-2: #bccdd1;
  --muted: #8199a0;
  --coldlight: #45e6d2;
  --coldlight-soft: rgba(69, 230, 210, 0.16);
  --warm: #ff8a3d;
  --alert: #ff5a4e;
  --radius: 16px;
  --wrap: 1180px;
  --display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --logo: "Russo One", "Chakra Petch", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: var(--coldlight); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coldlight); outline-offset: 3px; border-radius: 6px; }
.defs { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--coldlight); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: linear-gradient(to bottom, rgba(4, 9, 13, 0.8), rgba(4, 9, 13, 0));
  transition: background 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(4, 9, 13, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--logo); letter-spacing: 0.22em; color: var(--text); font-size: 18px; }
.brand:hover { text-decoration: none; }
.emblem { width: 34px; height: 34px; color: var(--coldlight); filter: drop-shadow(0 0 6px rgba(69, 230, 210, 0.5)); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--coldlight); text-decoration: none; }
.nav-links .nav-cta { opacity: 1; padding: 8px 18px; border: 1px solid var(--coldlight); border-radius: 999px; color: var(--coldlight); }
.nav-links .nav-cta:hover { background: var(--coldlight); color: var(--bg); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; isolation: isolate; overflow: hidden; padding: 110px 0 90px; }
.hero-media { position: absolute; inset: 0; z-index: -5; background: #050b10 url("video/storm-boat-poster.jpg") 62% 55% / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; filter: brightness(1.02) contrast(1.1) saturate(1.05); }
.moon {
  position: absolute; z-index: -4; width: min(27vw, 400px); height: auto; aspect-ratio: 1; right: 2.5vw; top: 64px;
  opacity: 0.95; mix-blend-mode: screen; filter: blur(0.3px) drop-shadow(0 0 50px rgba(69, 230, 210, 0.18)); animation: moon-bob 18s ease-in-out infinite alternate;
}
@keyframes moon-bob { to { transform: translate(-8px, 6px) rotate(-1.2deg); } }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; }
.flash { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 70% 10%, rgba(200, 235, 255, 0.55), rgba(200, 235, 255, 0) 70%); opacity: 0; pointer-events: none; }
.flash.on { animation: flash 1.1s ease-out; }
@keyframes flash { 0% { opacity: 0; } 6% { opacity: 0.55; } 14% { opacity: 0.08; } 22% { opacity: 0.38; } 100% { opacity: 0; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 9, 13, 0.92) 0%, rgba(4, 9, 13, 0.72) 34%, rgba(4, 9, 13, 0.2) 60%, rgba(4, 9, 13, 0.08) 100%),
    linear-gradient(to bottom, rgba(4, 9, 13, 0.6) 0%, rgba(4, 9, 13, 0) 20%, rgba(4, 9, 13, 0) 70%, var(--bg) 100%);
}
.hero-content { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px;
  font-family: var(--display); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coldlight); background: rgba(4, 9, 13, 0.55); border: 1px solid var(--coldlight-soft); white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coldlight); box-shadow: 0 0 10px var(--coldlight); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* The chrome wordmark: brushed-metal fill, worn edges, cold glow behind. */
.wordmark { position: relative; margin: 0; font-family: var(--logo); font-weight: 400; line-height: 0.92; letter-spacing: 0.06em; font-size: clamp(58px, 11vw, 160px); }
.wordmark span {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #e9eff1 22%, #aab5ba 47%, #59656b 50%, #dfe6e9 53%, #c1cbcf 74%, #7c878c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)) drop-shadow(0 3px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
}
.wordmark::before {
  content: attr(data-text); position: absolute; left: 0; top: 0; z-index: -1; color: transparent;
  text-shadow: 0 0 34px rgba(69, 230, 210, 0.45), 0 0 90px rgba(69, 230, 210, 0.18);
}
.wordmark-rule { display: flex; align-items: center; gap: 16px; max-width: min(100%, 760px); margin: 14px 0 0; }
.wordmark-rule span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(69, 230, 210, 0), var(--coldlight), rgba(69, 230, 210, 0)); }
.wordmark-rule em { font-style: normal; font-family: var(--display); font-size: 13px; letter-spacing: 0.6em; text-transform: uppercase; color: var(--coldlight); padding-left: 0.6em; }
.tagline { margin: 22px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.6vw, 31px); letter-spacing: 0.03em; color: var(--text); }
.lede { max-width: 560px; margin: 12px 0 0; color: var(--text-2); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 16px; transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--coldlight); color: #031014; box-shadow: 0 0 28px rgba(69, 230, 210, 0.35); }
.btn-primary:hover { background: #79f2e2; box-shadow: 0 0 40px rgba(69, 230, 210, 0.5); }
.btn-ghost { background: rgba(4, 9, 13, 0.4); color: var(--text); box-shadow: inset 0 0 0 1px rgba(232, 241, 243, 0.4); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--text); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts strong { color: var(--text); font-weight: 600; margin-left: 6px; }
.hero-note { position: absolute; right: 22px; bottom: 18px; margin: 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(232, 241, 243, 0.45); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(232, 241, 243, 0.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--coldlight); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1px solid rgba(255, 90, 78, 0.28); background: linear-gradient(90deg, #12090a, #0c0708 50%, #12090a); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker span { padding: 12px 26px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #ffb3ab; white-space: nowrap; }
.ticker span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 26px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 8px var(--alert); vertical-align: 1px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
.eyebrow { margin: 0 0 12px; font-family: var(--display); font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--warm); }
h2 { margin: 0 0 22px; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: 0.005em; }
h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.hl { color: var(--coldlight); }

/* ---------- world ---------- */
.world { background: radial-gradient(ellipse at 85% 20%, rgba(69, 230, 210, 0.07), rgba(4, 9, 13, 0) 55%), var(--bg); }
.world-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.prose p { margin: 0 0 18px; color: var(--text-2); }
.prose .big { font-size: 21px; color: var(--text); }
.broadcast {
  position: relative; padding: 26px 26px 22px; border-radius: 14px; font-family: var(--mono); font-size: 14.5px; line-height: 1.7; color: #cfe9e5;
  background: repeating-linear-gradient(0deg, rgba(69, 230, 210, 0.035) 0 2px, rgba(0, 0, 0, 0) 2px 4px), #061418;
  border: 1px solid var(--line-strong); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 60px rgba(69, 230, 210, 0.05);
}
.js .broadcast.reveal.in { transform: rotate(0.6deg); }
.broadcast p { margin: 0 0 12px; }
.broadcast ul { margin: 0 0 14px; padding-left: 18px; }
.broadcast li { margin-bottom: 4px; }
.broadcast strong { color: #ffb3ab; font-weight: 600; }
.bc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--text); }
.bc-ch { margin-left: auto; color: var(--muted); }
.bc-led { width: 9px; height: 9px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 10px var(--alert); animation: pulse 1.2s steps(2) infinite; }
.bc-from { color: var(--muted); text-transform: uppercase; font-size: 12.5px; letter-spacing: 0.12em; }
.bc-end { margin: 0; color: var(--muted); }
.caret { animation: pulse 1s steps(2) infinite; }

/* ---------- the pull ---------- */
.pull { background: linear-gradient(to bottom, var(--bg), var(--bg-2)); }
.pull-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.pull-intro { max-width: 620px; margin: 0; }
.hud {
  flex: none; position: relative; min-width: 210px; padding: 14px 40px 14px 18px; text-align: right; font-family: var(--display);
  border-right: 2px solid var(--line-strong); background: linear-gradient(90deg, rgba(4, 9, 13, 0), rgba(69, 230, 210, 0.06));
}
.hud-label { display: block; font-size: 11px; letter-spacing: 0.3em; color: var(--muted); }
.hud strong { display: block; font-size: 30px; letter-spacing: 0.04em; line-height: 1.1; }
.hud-row { display: block; font-size: 14px; letter-spacing: 0.12em; color: var(--text-2); }
.hud-meter { position: absolute; right: 12px; top: 12px; bottom: 12px; width: 6px; border-radius: 3px; background: rgba(232, 241, 243, 0.1); overflow: hidden; }
.hud-meter span { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: linear-gradient(to top, var(--coldlight), rgba(69, 230, 210, 0.4)); box-shadow: 0 0 10px var(--coldlight); }
.pull-stage { margin-top: 34px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #03080b; }
#tide { width: 100%; height: clamp(300px, 38vw, 500px); }
.pull-controls { display: flex; align-items: center; gap: 18px; padding: 18px 22px 6px; background: linear-gradient(to bottom, #03080b, #061117); }
.pull-label { font-family: var(--display); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #1b3a42, var(--coldlight)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #1b3a42, var(--coldlight)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fff, #9aa6ab 70%); box-shadow: 0 0 0 3px #04090d, 0 0 16px rgba(69, 230, 210, 0.8); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fff, #9aa6ab 70%); box-shadow: 0 0 0 3px #04090d, 0 0 16px rgba(69, 230, 210, 0.8); }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font-size: 13px; letter-spacing: 0.06em; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { color: var(--coldlight); border-color: var(--coldlight); }
.pull-hint { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 4px 22px 18px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: #061117; }

/* ---------- features ---------- */
.features { background: var(--bg-2); }
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-top: 70px; }
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); background: var(--panel); }
.feature-media img, .feature-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.8s var(--ease); }
.feature:hover .feature-media img, .feature:hover .feature-media video { transform: scale(1.03); }
.badge { position: absolute; left: 14px; top: 14px; padding: 3px 10px; border-radius: 999px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); background: rgba(4, 9, 13, 0.7); border: 1px solid var(--line-strong); }
.num { display: block; margin-bottom: 10px; font-family: var(--display); font-size: 14px; letter-spacing: 0.3em; color: var(--coldlight); }
.feature-copy p { margin: 0; color: var(--text-2); }
.planned { margin-top: 90px; padding: 30px; border-radius: var(--radius); border: 1px dashed rgba(255, 138, 61, 0.45); background: linear-gradient(135deg, rgba(255, 138, 61, 0.06), rgba(4, 9, 13, 0) 60%); }
.planned-title { margin: 0 0 18px; font-family: var(--display); letter-spacing: 0.24em; text-transform: uppercase; font-size: 13px; color: var(--warm); }
.planned ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.planned strong { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 4px; }
.planned span { color: var(--text-2); font-size: 15px; }

/* ---------- media ---------- */
.media { background: linear-gradient(to bottom, var(--bg-2), var(--bg)); }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.clip { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--panel); text-align: left; }
.clip { color: var(--text); }
.clip:hover, .shot:hover { text-decoration: none; }
.clip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.6s; filter: brightness(0.85); }
.clip:hover img { transform: scale(1.05); filter: brightness(1); }
.clip-play { position: absolute; left: 50%; top: 42%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%; color: #031014; background: var(--coldlight); box-shadow: 0 0 30px rgba(69, 230, 210, 0.6); transition: transform 0.2s; }
.clip-play svg { width: 24px; height: 24px; margin-left: 3px; }
.clip:hover .clip-play { transform: scale(1.08); }
.clip-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-family: var(--display); font-weight: 600; background: linear-gradient(to top, rgba(4, 9, 13, 0.9), rgba(4, 9, 13, 0)); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--panel); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.shot:hover img { transform: scale(1.05); }

/* ---------- status ---------- */
.status-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.timeline li.done::before { background: var(--muted); }
.timeline li.now::before { border-color: var(--coldlight); background: var(--coldlight); box-shadow: 0 0 16px var(--coldlight); }
.timeline li.now h3 { color: var(--coldlight); }
.timeline h3 { font-size: 21px; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.tl-tag { display: inline-block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- faq ---------- */
.faq { background: var(--bg); }
.faq-list { max-width: 860px; margin: 30px 0 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 30px; font-weight: 400; color: var(--coldlight); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--text-2); max-width: 720px; }

/* ---------- signup ---------- */
.signup { padding-top: 40px; }
.signup-box {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 24px;
  background: radial-gradient(ellipse at 0% 0%, rgba(69, 230, 210, 0.16), rgba(4, 9, 13, 0) 60%), linear-gradient(135deg, #0b1d25, #071218);
  border: 1px solid var(--line-strong); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.signup-copy p { margin: 0; color: var(--text-2); }
.signup-copy .signup-expectation { margin-top: 18px; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--muted); }
.form-status { flex-basis: 100%; margin: 0 6px; font-size: 14px; color: var(--coldlight); }
.form-status:empty { display: none; }
.form-status.error { color: #ffb08a; }
.signup-form button:disabled { opacity: 0.65; cursor: wait; transform: none; }
.signup-form { display: flex; flex-wrap: wrap; gap: 12px; }
.signup-form input[type="email"] {
  flex: 1 1 240px; min-width: 0; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(4, 9, 13, 0.6); color: var(--text); font-size: 16px;
}
.signup-form input::placeholder { color: #5e767c; }
.signup-form input:focus { outline: none; border-color: var(--coldlight); box-shadow: 0 0 0 3px rgba(69, 230, 210, 0.2); }
.form-note { flex-basis: 100%; margin: 4px 0 0 6px; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- follow ---------- */
.follow { padding-top: 40px; text-align: center; }
.follow-row h2 { margin-bottom: 6px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 18px; }
.social { min-width: 130px; padding: 12px 22px; border-radius: 999px; font-weight: 600; color: var(--text); border: 1px solid rgba(232, 241, 243, 0.22); background: rgba(4, 9, 13, 0.4); transition: border-color 0.15s, color 0.15s, transform 0.15s; }
.social:hover { text-decoration: none; border-color: var(--coldlight); color: var(--coldlight); transform: translateY(-2px); }

/* ---------- footer ---------- */
.footer { padding: 36px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
.foot-brand { font-size: 16px; }
.foot-links { display: flex; gap: 20px; }
.foot-legal { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- dialogs ---------- */
dialog { padding: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: #000; color: var(--text); overflow: visible; }
dialog::backdrop { background: rgba(2, 5, 8, 0.9); }
.lightbox { max-width: min(94vw, 1500px); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 14px 14px 0 0; }
.lightbox figcaption { padding: 12px 16px; font-size: 15px; color: var(--text-2); background: #061015; border-radius: 0 0 14px 14px; }
.lb-btn { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(4, 9, 13, 0.8); color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; }
.lb-prev { left: -60px; } .lb-next { right: -60px; }
.lb-close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: #061015; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.player { width: min(94vw, 1280px); }
.player video { width: 100%; border-radius: 14px 14px 0 0; background: #000; }
.player-note { margin: 0; padding: 10px 16px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: #061015; border-radius: 0 0 14px 14px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { gap: 18px; }
  .world-grid, .status-grid, .signup-box { grid-template-columns: 1fr; gap: 34px; }
  .feature { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .feature.flip .feature-media { order: 0; }
  .planned ul { grid-template-columns: repeat(2, 1fr); }
  .clips, .gallery { grid-template-columns: repeat(2, 1fr); }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 8px; right: 8px; }
}
@media (max-width: 860px) {
  .nav { padding: 12px 16px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 11px;
    border: 1px solid var(--line); border-radius: 10px; background: rgba(4, 9, 13, 0.6); cursor: pointer;
  }
  .nav-toggle .bar { display: block; height: 2px; background: var(--text); border-radius: 2px; }
  .nav-links { position: absolute; top: 70px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 16px; background: rgba(7, 18, 25, 0.97); border: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-links .nav-cta { text-align: center; margin-top: 6px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { min-height: 92svh; align-items: flex-end; padding: 100px 0 70px; }
  .hero-video { object-position: 64% 55%; }
  .hero-media { background-position: 64% 55%; }
  .hero-shade { background: linear-gradient(to bottom, rgba(4, 9, 13, 0.55) 0%, rgba(4, 9, 13, 0.1) 25%, rgba(4, 9, 13, 0.6) 55%, var(--bg) 100%); }
  .moon { width: 56vw; right: -6vw; top: 64px; opacity: 0.8; }
  .kicker { font-size: 11.5px; letter-spacing: 0.16em; }
  .wordmark-rule em { letter-spacing: 0.4em; font-size: 11.5px; }
  .lede { font-size: 16.5px; }
  .facts { font-size: 11.5px; gap: 6px 16px; }
  .hero-note { left: 16px; right: auto; bottom: 14px; font-size: 10.5px; }
  .scroll-cue { display: none; }
  .section { padding: 80px 0; }
  .pull-head { flex-direction: column; align-items: stretch; }
  .hud { align-self: flex-end; }
  .pull-controls { flex-wrap: wrap; gap: 10px 14px; padding: 16px 16px 4px; }
  .pull-controls input { flex-basis: 100%; order: 3; }
  .pull-hint { padding: 4px 16px 16px; font-size: 10.5px; }
  .planned ul, .clips, .gallery { grid-template-columns: 1fr; }
  .faq summary { font-size: 18px; }
  .signup-box { padding: 30px 20px; }
  .footer-row { justify-content: center; text-align: center; }
  .foot-legal { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .moon, .dot, .scroll-cue span, .bc-led, .caret { animation: none; }
  .ticker-track { animation-duration: 240s; }
  .feature-media img, .feature-media video, .clip img, .shot img, .btn { transition: none; }
}

/* ---------- immersion: sound, depth gauge, intro sweep ---------- */
.sound { display: inline-flex; align-items: center; gap: 8px; margin-left: 18px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(4, 9, 13, 0.5); color: var(--text-2); font-size: 13px; letter-spacing: 0.08em; cursor: pointer; }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { width: 3px; height: 4px; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] { color: var(--coldlight); border-color: var(--coldlight); }
.sound[aria-pressed="true"] .sound-bars i { animation: eq 0.9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: 0.2s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: 0.45s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: 0.1s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.depth { position: fixed; right: 18px; top: 50%; z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateY(-50%); font-family: var(--display); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.depth.show { opacity: 1; }
.depth-track { position: relative; width: 2px; height: 180px; background: repeating-linear-gradient(to bottom, rgba(232, 241, 243, 0.35) 0 1px, transparent 1px 18px), rgba(232, 241, 243, 0.08); }
.depth-track span { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--coldlight); box-shadow: 0 0 12px var(--coldlight); }
.depth-val { color: var(--coldlight); letter-spacing: 0.12em; font-size: 12px; }
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--bg); animation: intro-out 1.5s var(--ease) 0.25s forwards; }
.intro span { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coldlight); box-shadow: 0 0 20px var(--coldlight); animation: tideline 1.5s var(--ease) 0.25s forwards; }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); } }
@keyframes tideline { to { bottom: 100%; opacity: 0; } }
.no-js .intro { display: none; }
@media (max-width: 1100px) { .depth { display: none; } }
@media (max-width: 860px) { .sound { order: 2; margin-left: auto; margin-right: 10px; } .sound-txt { display: none; } .nav-toggle { order: 3; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- coldlight: the hint, and the growth along section edges ---------- */
.hero-hint { position: absolute; left: 50%; bottom: 74px; margin: 0; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; font-size: 12.5px; letter-spacing: 0.06em; color: var(--coldlight); background: rgba(4, 9, 13, 0.55); border: 1px solid var(--coldlight-soft); white-space: nowrap; pointer-events: none; animation: hint-in 1s var(--ease) 3s both; }
@keyframes hint-in { from { opacity: 0; transform: translate(-50%, 8px); } }
.veins { position: absolute; z-index: 0; width: min(62vw, 760px); height: auto; pointer-events: none; opacity: 0.85; }
.veins path { fill: none; stroke: var(--coldlight); stroke-width: 1.4; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(69, 230, 210, 0.8)); stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 3.2s var(--ease); }
.veins circle { fill: var(--coldlight); filter: drop-shadow(0 0 6px var(--coldlight)); opacity: 0; transition: opacity 1s ease 2.4s; animation: node 3.6s ease-in-out infinite; }
.veins.grow path { stroke-dashoffset: 0; }
.veins.grow circle { opacity: 1; }
@keyframes node { 50% { fill-opacity: 0.35; } }
.veins-tl { left: 0; top: -2px; }
.veins-br { right: 0; bottom: -2px; transform: scale(-1, -1); }
.section > .wrap { position: relative; z-index: 1; }
@media (max-width: 720px) { .hero-hint { bottom: auto; top: 76px; font-size: 11px; white-space: normal; width: max-content; max-width: calc(100% - 32px); text-align: center; } .veins { width: 92vw; opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) { .veins path { transition: none; stroke-dashoffset: 0; } .veins circle { opacity: 1; animation: none; } .hero-hint { display: none; } }

/* ---------- discord ---------- */
.discord { display: flex; align-items: center; gap: 18px; max-width: 640px; margin: 26px auto 6px; padding: 18px 22px; border-radius: 18px; text-align: left; color: var(--text); background: linear-gradient(120deg, rgba(88, 101, 242, 0.22), rgba(11, 27, 35, 0.9) 60%); border: 1px solid rgba(120, 132, 255, 0.45); transition: transform 0.18s ease, border-color 0.18s ease; }
.discord:hover { text-decoration: none; transform: translateY(-2px); border-color: #8f99ff; }
.discord svg { flex: none; width: 46px; height: 46px; color: #aab2ff; }
.discord-copy { flex: 1; display: flex; flex-direction: column; }
.discord-copy strong { font-family: var(--display); font-size: 21px; }
.discord-copy span { font-size: 14.5px; color: var(--text-2); }
.discord-cta { flex: none; padding: 9px 18px; border-radius: 999px; background: #5865f2; color: #fff; font-weight: 600; font-size: 14.5px; }
.discord.soon { cursor: default; }
.discord.soon:hover { transform: none; border-color: rgba(120, 132, 255, 0.45); }
.discord.soon .discord-cta { background: transparent; color: #aab2ff; box-shadow: inset 0 0 0 1px rgba(170, 178, 255, 0.5); }
@media (max-width: 560px) { .discord { flex-wrap: wrap; } .discord-cta { margin-left: 64px; } }

/* ---------- ?static: freezes motion so layout can be checked in screenshots ---------- */
html.static { scroll-behavior: auto; }
.static *, .static *::before, .static *::after { transition: none !important; animation: none !important; }
.static .intro { display: none; }
.static .reveal { opacity: 1 !important; transform: none !important; }
.static .veins path { stroke-dashoffset: 0; }
.static .veins circle { opacity: 1; }
.static .hero { min-height: 0; height: 900px; }

.experience-controls { display: flex; align-items: center; gap: 8px; margin-left: 16px; }
.experience-controls .sound { margin-left: 0; white-space: nowrap; min-height: 44px; }
.motion-icon { width: 16px; height: 16px; flex: none; }
.motion-play, #motion[aria-pressed="true"] .motion-pause { display: none; }
#motion[aria-pressed="true"] .motion-play { display: block; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
html.motion-paused { scroll-behavior: auto; }
body:has(dialog[open]) { overflow: hidden; }
.lightbox { width: min(88vw, 1500px); }
.lightbox img { margin: 0 auto; }
.nav-links a { white-space: nowrap; }
.no-js-notice { margin: 0; padding: 10px 16px; text-align: center; color: var(--text-2); background: var(--panel); font-size: 14px; }
html:not(.js) .pull-stage canvas, html:not(.js) .pull-controls, html:not(.js) .pull-hint { display: none; }
@media (min-width: 861px) and (max-width: 1200px) {
  .nav { flex-wrap: wrap; gap: 8px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 20px; }
  html { scroll-padding-top: 130px; }
}
@media (max-width: 860px) {
  .experience-controls { margin-left: auto; }
  .experience-controls .sound { margin-right: 0; }
  .nav-toggle { flex-shrink: 0; margin-left: 8px; }
  html:not(.js) .nav { position: relative; flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav-links { position: static; display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; }
}
@media (max-width: 560px) {
  .experience-controls { gap: 6px; margin-left: auto; }
  .experience-controls .sound { width: 44px; justify-content: center; padding: 7px 9px; font-size: 11px; letter-spacing: 0; }
  .experience-controls .motion-txt { display: none; }
  .nav .brand { gap: 8px; font-size: 16px; }
  .experience-controls .sound-txt { display: none; }
  .experience-controls .sound-bars { min-width: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- the logo ---------- */
.logo { margin: 0; width: min(100%, 860px); line-height: 0; }
.logo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.logo-type { font-family: "Saira", "Russo One", "Segoe UI", sans-serif; font-weight: 900; font-size: 196px; font-variation-settings: "wdth" 125; letter-spacing: 0; }
.logo-glow { fill: #45e6d2; opacity: 0.32; }
.logo-shadow { fill: #0b1216; stroke: #010304; stroke-width: 7; stroke-linejoin: round; }
.logo-cracks path { fill: none; stroke: #0b1115; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.logo-cracks-glow path { fill: none; stroke: #6ff3e2; stroke-width: 2.2; stroke-linecap: round; animation: crackpulse 4.2s ease-in-out infinite; }
@keyframes crackpulse { 50% { opacity: 0.35; } }
.logo-glint { animation: glint 9s ease-in-out 2.4s infinite; }
@keyframes glint { 0% { transform: skewX(-22deg) translateX(0); } 22%, 100% { transform: skewX(-22deg) translateX(1600px); } }
.logo-rule line { stroke: #45e6d2; stroke-width: 1.4; opacity: 0.85; }
.logo-rule path { fill: #45e6d2; }
.logo-rule text { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: 8px; fill: #45e6d2; }
img { height: auto; }
.feature-media img[src*="drowned-street"], .shot img[src*="drowned-street"] { filter: contrast(1.3) brightness(1.12); }
