@charset "utf-8";
/* ==========================================================
   PROJECT CHIMERA — NEO NOIR GLITCHWAVE
   ========================================================== */

:root {
  --bg: #05060a;
  --bg-2: #0a0f1e;
  --ink: #e9f2ff;
  --muted: #93a0bd;
  --cyan: #00f0ff;
  --mag: #ff2bd6;
  --acid: #e6ff3d;
  --line: rgba(0, 240, 255, .22);
  --line-soft: rgba(255, 255, 255, .09);
  --gut: clamp(20px, 5vw, 72px);
  --f-jp: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --f-display: "Oxanium", "Share Tech Mono", system-ui, sans-serif;
  --f-mono: "Share Tech Mono", "M PLUS 1 Code", ui-monospace, monospace;
  --f-body: "M PLUS 1 Code", "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --cut: 14px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scrollbar-color: var(--cyan) #0a0f1e;
  scrollbar-width: thin;
}
html.is-booting, html.is-menu { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.95;
  letter-spacing: .02em;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg, canvas { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
small { font-size: .5em; }
::selection { background: var(--cyan); color: #001318; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  padding: 10px 18px; background: var(--acid); color: #000;
  font-family: var(--f-mono); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(1240px, 100% - var(--gut) * 2); margin-inline: auto; }
main { position: relative; z-index: 1; }

/* ---------- boot loader ---------- */
.boot {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: #020308; color: var(--cyan);
  font-family: var(--f-mono);
}
.js .boot { display: flex; }
.boot__inner { width: min(620px, 100% - 48px); transition: opacity .15s; }
.boot__head { font-size: .8rem; letter-spacing: .18em; color: var(--ink); margin-bottom: 1.6em; }
.boot__head span { color: var(--muted); }
.boot__log { min-height: 11em; font-size: .8rem; line-height: 1.8; letter-spacing: .08em; color: var(--muted); }
.boot__log li { display: flex; justify-content: space-between; gap: 1em; animation: bootLine .2s steps(3) both; }
.boot__log li b { font-weight: 400; color: var(--cyan); }
.boot__log li.is-warn, .boot__log li.is-warn b { color: var(--acid); }
.boot__meter { display: flex; align-items: flex-end; gap: 22px; margin-top: 1.4em; }
.boot__bar { flex: 1; position: relative; height: 6px; margin-bottom: 1em; background: rgba(0, 240, 255, .12); }
.boot__bar i {
  position: absolute; inset: 0;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  box-shadow: 0 0 18px var(--cyan);
}
.boot__pct {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1;
  color: var(--ink); min-width: 3.4ch; text-align: right;
}
.boot__pct::after { content: "%"; font-size: .32em; color: var(--cyan); margin-left: .2em; }
.boot__skip {
  position: absolute; right: 24px; bottom: 24px;
  padding: 8px 18px; background: none; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .3em; color: var(--muted);
  cursor: pointer;
}
.boot__skip:hover { color: var(--cyan); border-color: var(--cyan); }
.boot__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 160px;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, .08), transparent);
  animation: bootScan 1.7s linear infinite; pointer-events: none;
}
.boot.is-done { animation: crtOff .6s cubic-bezier(.7, 0, .2, 1) forwards; pointer-events: none; }
.boot.is-done .boot__inner, .boot.is-done .boot__skip { opacity: 0; }
@keyframes bootLine { from { opacity: 0; transform: translateX(-8px); } }
@keyframes bootScan { from { transform: translateY(-160px); } to { transform: translateY(100vh); } }
@keyframes crtOff {
  0% { clip-path: inset(0 0 0 0); }
  55% { clip-path: inset(49.7% 0 49.7% 0); background: #bffcff; }
  100% { clip-path: inset(50% 50% 50% 50%); background: #fff; }
}

/* ---------- full-screen fx ---------- */
.fx { position: fixed; inset: 0; pointer-events: none; }
.fx--grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, .045) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 78%);
}
.fx--spark { z-index: 89; width: 100%; height: 100%; }
.fx--scan {
  z-index: 90;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px);
  opacity: .55; overflow: hidden;
}
.fx--scan::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18vh;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, .03) 60%, rgba(0, 240, 255, .07) 96%, transparent);
  animation: beam 9s linear infinite;
}
.fx--noise {
  z-index: 91; inset: -80px; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise .5s steps(1) infinite;
}
@keyframes beam { from { transform: translateY(-24vh); } to { transform: translateY(104vh); } }
@keyframes noise {
  0% { transform: translate(0, 0); } 25% { transform: translate(-37px, 22px); }
  50% { transform: translate(28px, -41px); } 75% { transform: translate(-19px, -27px); }
}

/* ---------- custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; display: none; opacity: 0; transition: opacity .2s; }
.has-cursor .cursor { display: block; }
.cursor.is-on { opacity: 1; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor .layer { cursor: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; }
.cursor__dot::before {
  content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.cursor__ring::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px;
  border: 1px solid rgba(0, 240, 255, .6); border-radius: 50%;
  transition: transform .25s var(--ease), border-color .25s, border-radius .25s;
}
.cursor.is-hot .cursor__ring::before { transform: rotate(45deg) scale(1.3); border-radius: 0; border-color: var(--mag); }
.cursor.is-down .cursor__ring::before { transform: scale(.6); }

/* ---------- HUD header ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: 16px clamp(16px, 3vw, 40px);
}
.hud::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 6, 10, .72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s;
}
.hud.is-stuck::before { opacity: 1; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; position: relative; z-index: 2; }
.logo__mark { width: 34px; height: 34px; color: var(--ink); transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(60deg); }
.logo__type { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .42em; }

.nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.nav a {
  position: relative; display: inline-flex; align-items: baseline; gap: .6em;
  padding: 6px 0; text-decoration: none;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; color: var(--muted);
  transition: color .25s;
}
.nav a span { font-size: .85em; color: var(--cyan); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.nav__cta {
  padding: 8px 18px; color: var(--cyan); border: 1px solid var(--cyan);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  background: linear-gradient(135deg, var(--cyan) 0 6px, transparent 6px calc(100% - 6px), var(--cyan) calc(100% - 6px));
  transition: background-color .25s, color .25s;
}
.nav a.nav__cta::after { display: none; }
.nav a.nav__cta:hover { background-color: var(--cyan); color: #021216; }

.hud__tools { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.sound {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px;
  background: none; border: 1px solid var(--line-soft); cursor: pointer;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; color: var(--muted);
  transition: border-color .25s, color .25s;
}
.sound:hover { border-color: var(--cyan); color: var(--ink); }
.sound b { font-weight: 400; color: var(--ink); display: inline-block; min-width: 3ch; }
.sound[aria-pressed="true"] b { color: var(--cyan); }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; }
.sound[aria-pressed="true"] .sound__bars i { background: var(--cyan); animation: eq .9s ease-in-out infinite alternate; }
.sound__bars i:nth-child(2) { animation-delay: -.3s !important; }
.sound__bars i:nth-child(3) { animation-delay: -.55s !important; }
.sound__bars i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { from { height: 2px; } to { height: 12px; } }

.burger { display: none; position: relative; width: 42px; height: 42px; background: none; border: 1px solid var(--line-soft); cursor: pointer; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 24px; left: 18px; background: var(--cyan); }
.burger[aria-expanded="true"] i { top: 19px; left: 10px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { transform: rotate(-45deg); }

/* ---------- side rails ---------- */
.rail {
  position: fixed; top: 0; bottom: 0; z-index: 40; display: none;
  align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .26em; color: var(--muted);
  white-space: nowrap; pointer-events: none;
}
.rail b { font-weight: 400; color: var(--cyan); }
.rail--l { left: 22px; flex-direction: column; gap: 16px; }
.rail__sec { writing-mode: vertical-rl; }
.rail__track { position: relative; width: 1px; height: 150px; background: rgba(255, 255, 255, .16); }
.rail__track i {
  position: absolute; left: -1px; top: 0; width: 3px; height: 100%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  transform-origin: 50% 0; transform: scaleY(var(--p, 0));
}
.rail--r { right: 22px; writing-mode: vertical-rl; gap: 2.6em; }
@media (min-width: 1320px) { .rail { display: flex; } }

/* ---------- buttons ---------- */
.btn {
  --c: var(--cyan);
  position: relative; z-index: 0;
  display: inline-flex; align-items: baseline; gap: .7em;
  padding: 1.1em 1.9em; border: 0; background: none;
  font-family: var(--f-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; line-height: 1.2;
  color: #021216; text-decoration: none; white-space: nowrap; cursor: pointer;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, .4));
  transition: transform .25s var(--ease), filter .25s;
}
.btn::before, .btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.btn::before { background: var(--c); }
.btn::after {
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .9) 50%, transparent 58%) no-repeat;
  background-size: 300% 100%; background-position: 120% 0;
}
.btn:hover::after, .btn:focus-visible::after { background-position: -20% 0; transition: background-position .7s var(--ease); }
.btn:hover, .btn:focus-visible {
  transform: translate(-3px, -3px);
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, .65)) drop-shadow(5px 5px 0 var(--mag));
}
.btn:active { transform: none; filter: drop-shadow(0 0 10px rgba(0, 240, 255, .5)); }
.btn__jp { font-family: var(--f-body); font-weight: 700; letter-spacing: .22em; }
.btn__en { font-size: .78em; opacity: .78; }
.btn:hover .btn__en { animation: jitter .3s steps(2) 2; }
.btn--ghost { color: var(--cyan); filter: none; }
.btn--ghost::after { inset: 1px; background: #060b14; transition: background-color .25s; }
.btn--ghost:hover::after, .btn--ghost:focus-visible::after { background: #072a30; transition: background-color .25s; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; filter: drop-shadow(5px 5px 0 var(--mag)); }
.btn--xl { font-size: 1.05rem; padding: 1.15em 2.2em; }
.btn[disabled] { --c: var(--acid); pointer-events: none; filter: none; }
@keyframes jitter { 0% { transform: translateX(2px) skewX(-12deg); } 50% { transform: translateX(-2px) skewX(10deg); } 100% { transform: none; } }

/* ---------- glitch text ---------- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%;
  opacity: 0; pointer-events: none;
  -webkit-text-fill-color: currentColor;
}
.glitch::before { color: var(--cyan); }
.glitch::after { color: var(--mag); }
.glitch.is-glitch { animation: glitchSkew .4s steps(1) both; }
.glitch.is-glitch::before { opacity: .95; animation: glitchA .4s steps(1) both; }
.glitch.is-glitch::after { opacity: .95; animation: glitchB .4s steps(1) both; }
@keyframes glitchA {
  0% { clip-path: inset(8% 0 64% 0); transform: translate(-.07em, -.02em); }
  20% { clip-path: inset(58% 0 14% 0); transform: translate(.06em, .02em); }
  40% { clip-path: inset(30% 0 42% 0); transform: translate(-.05em, 0); }
  60% { clip-path: inset(78% 0 4% 0); transform: translate(.08em, -.01em); }
  80% { clip-path: inset(18% 0 70% 0); transform: translate(-.03em, .01em); }
  100% { clip-path: inset(0 0 100% 0); transform: none; }
}
@keyframes glitchB {
  0% { clip-path: inset(66% 0 8% 0); transform: translate(.07em, .02em); }
  20% { clip-path: inset(12% 0 62% 0); transform: translate(-.06em, -.02em); }
  40% { clip-path: inset(48% 0 28% 0); transform: translate(.05em, 0); }
  60% { clip-path: inset(4% 0 82% 0); transform: translate(-.08em, .01em); }
  80% { clip-path: inset(70% 0 12% 0); transform: translate(.03em, -.01em); }
  100% { clip-path: inset(0 0 100% 0); transform: none; }
}
@keyframes glitchSkew {
  0% { transform: skewX(-6deg); } 20% { transform: skewX(4deg) translateX(.02em); }
  40% { transform: none; } 60% { transform: skewX(-2deg); } 80%, 100% { transform: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding: 0 var(--gut);
}
.hero__city { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, .9) 0%, rgba(5, 6, 10, .5) 40%, rgba(5, 6, 10, 0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 10, 0) 22%);
}
.hero__core {
  position: absolute; right: -5vw; top: 50%; z-index: -1;
  width: min(60vw, 100vh, 860px); aspect-ratio: 1;
  transform: translate3d(0, calc(-53% + var(--sy, 0) * .1px), 0);
}
.hero__core canvas { width: 100%; height: 100%; }
.callout {
  position: absolute; padding-left: 46px; white-space: nowrap;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; color: var(--muted);
}
.callout::before { content: ""; position: absolute; left: 0; top: 50%; width: 36px; height: 1px; background: var(--cyan); }
.callout::after { content: ""; position: absolute; left: -3px; top: calc(50% - 3px); width: 6px; height: 6px; background: var(--cyan); }
.callout b { font-weight: 400; color: var(--cyan); }
.callout--a { left: 60%; top: 13%; }
.callout--b { right: 19%; top: 61%; }
.callout--c { left: 24%; top: 88%; }

.hero__body {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 116px 0 28px; max-width: 980px;
  transform: translate3d(0, calc(var(--sy, 0) * .18px), 0);
  opacity: calc(1 - var(--sy, 0) / 640);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: clamp(.68rem, .95vw, .82rem); letter-spacing: .28em; color: var(--cyan);
}
.eyebrow__rec { width: 8px; height: 8px; background: var(--mag); box-shadow: 0 0 10px var(--mag); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.hero__title {
  margin: .32em 0 .4em;
  font-family: var(--f-jp); font-weight: 800;
  font-size: clamp(2.7rem, min(9vw, 15.5vh), 9.2rem);
  line-height: 1.1; letter-spacing: .02em;
  filter: drop-shadow(0 0 34px rgba(0, 240, 255, .32));
}
.hero__title .glitch { display: block; width: fit-content; }
.glitch--accent {
  background: linear-gradient(90deg, #fff 35%, #8df6ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.js .hero__title .glitch { clip-path: inset(-.2em 100% -.2em -.2em); transition: clip-path 1.1s var(--ease) .15s; }
.js .hero__title .glitch--accent { transition-delay: .32s; }
.js.is-ready .hero__title .glitch { clip-path: inset(-.2em -.2em -.2em -.2em); }

.hero__lead { max-width: 34em; color: #c6d2ea; font-size: clamp(.92rem, 1.15vw, 1.08rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 2.4em; }

.js .hero [data-in] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js.is-ready .hero [data-in] { opacity: 1; transform: none; }

.hero__stats { display: flex; gap: clamp(24px, 5vw, 76px); padding: 0 0 30px; }
.hero__stats div { padding-left: 14px; border-left: 1px solid var(--line); }
.hero__stats dt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .26em; color: var(--muted); line-height: 1.6; }
.hero__stats dd { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.2; }
.hero__stats small { color: var(--cyan); margin-left: .2em; }

.scrollcue {
  position: absolute; right: var(--gut); bottom: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .4em; color: var(--muted); text-decoration: none;
}
.scrollcue span { writing-mode: vertical-rl; }
.scrollcue i { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--cyan); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(220%); } }

.ticker {
  position: relative; overflow: hidden;
  margin: 0 calc(var(--gut) * -1);
  border-block: 1px solid rgba(230, 255, 61, .4);
  background: rgba(5, 6, 10, .78);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .24em; color: var(--acid);
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: clamp(28px, 5vw, 64px);
  background: repeating-linear-gradient(-45deg, var(--acid) 0 8px, #05060a 8px 16px);
}
.ticker::before { left: 0; }
.ticker::after { right: 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: .9em; padding: .8em 2.4em; white-space: nowrap; }
.ticker__track svg { width: 15px; height: 15px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 13vw, 190px) 0; }
.sec__head { position: relative; max-width: 900px; }
.sec__title, .connect__title { word-break: keep-all; overflow-wrap: anywhere; }
.nw { white-space: nowrap; }
.sec__head--shift { margin-left: auto; }
.sec__label {
  display: flex; align-items: center; gap: 1em;
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .22em; color: var(--cyan);
}
.sec__label span { padding: .05em .7em; border: 1px solid var(--cyan); letter-spacing: .1em; }
.sec__label::after { content: ""; flex: 0 1 120px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.sec__title {
  margin: .5em 0 .45em;
  font-family: var(--f-jp); font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 4.4rem); line-height: 1.25; letter-spacing: .02em;
  text-shadow: 0 0 40px rgba(0, 240, 255, .25);
}
.sec__lead { max-width: 36em; color: var(--muted); }
.sec__bgnum {
  position: absolute; right: -1vw; top: 6%; z-index: -1;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(9rem, 27vw, 25rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 240, 255, .17);
  pointer-events: none; user-select: none; will-change: transform;
}
.sec__bgnum--l { right: auto; left: -1vw; -webkit-text-stroke-color: rgba(255, 43, 214, .14); }

.js [data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .sec [data-scramble] { opacity: 0; transition: opacity .3s; }
.js .sec [data-scramble].is-in { opacity: 1; }

.hudbox {
  position: relative; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(10, 15, 30, .78), rgba(5, 6, 10, .6));
}
.hudbox::before, .hudbox::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--cyan); pointer-events: none; }
.hudbox::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.hudbox::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

/* ---------- 01 genesis ---------- */
.genesis__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: start; }
.genesis .sec__head { grid-column: 1 / 10; }
.genesis__text { grid-column: 1 / 6; }
.genesis__text p + p { margin-top: 1.5em; }
.genesis__text strong { color: var(--cyan); font-weight: 700; text-shadow: 0 0 16px rgba(0, 240, 255, .6); }
.graph { grid-column: 7 / 13; padding: 22px 22px 16px; }
.graph svg { width: 100%; height: auto; }
.graph figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; color: var(--muted); }
.graph__grid path { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.graph__human { fill: none; stroke: var(--cyan); stroke-width: 2; }
.graph__city { fill: none; stroke: var(--mag); stroke-width: 2.5; filter: drop-shadow(0 0 6px var(--mag)); }
.graph__now { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 3 5; }
.graph__dot--m { fill: var(--mag); }
.graph__dot--c { fill: var(--cyan); }
.graph .t { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; fill: var(--muted); }
.graph .t--m { fill: var(--mag); }
.graph .t--c { fill: var(--cyan); }
.graph .t--gap { fill: var(--ink); font-size: 15px; }
.js .graph .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .4s; }
.js .graph.is-in .draw { stroke-dashoffset: 0; }
.js .graph .graph__gap, .js .graph .graph__dot, .js .graph .t--gap { opacity: 0; transition: opacity .8s 2s; }
.js .graph.is-in .graph__gap, .js .graph.is-in .graph__dot, .js .graph.is-in .t--gap { opacity: 1; }
.graph.is-in .graph__dot--m { animation: dot 1.6s ease-in-out 2.8s infinite; }
@keyframes dot { 50% { r: 9; opacity: .5; } }

.stats { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 30px 26px 0; border-left: 1px solid var(--line-soft); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: 1.1;
  text-shadow: 0 0 28px rgba(0, 240, 255, .45);
}
.stats b small { font-family: var(--f-body); font-size: .34em; font-weight: 500; color: var(--cyan); margin-left: .3em; text-shadow: none; }
.stats li > span { display: block; margin-top: .4em; font-size: .82rem; color: var(--muted); }

/* ---------- 02 modules ---------- */
.modules { background: linear-gradient(180deg, transparent, rgba(10, 15, 30, .7) 18%, rgba(10, 15, 30, .7) 82%, transparent); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.card { transition-property: opacity, transform, filter; filter: drop-shadow(0 0 0 rgba(0, 240, 255, 0)); }
.card:nth-child(2) { margin-top: 40px; }
.card:nth-child(3) { margin-top: 80px; }
.card:nth-child(4) { margin-top: 120px; }
.card:hover { filter: drop-shadow(0 0 26px rgba(0, 240, 255, .28)); }
.card__in {
  --k: 26px;
  position: relative; z-index: 0; height: 100%; padding: 26px 24px 26px;
  background: linear-gradient(140deg, rgba(0, 240, 255, .75), rgba(0, 240, 255, .1) 30%, rgba(255, 43, 214, .1) 70%, rgba(255, 43, 214, .75));
  clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% var(--k), 100% 100%, var(--k) 100%, 0 calc(100% - var(--k)));
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s var(--ease);
}
.card__in::before {
  content: ""; position: absolute; inset: 1px; z-index: -2;
  background: linear-gradient(165deg, #0c1428, #06080f 70%);
  clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% var(--k), 100% 100%, var(--k) 100%, 0 calc(100% - var(--k)));
}
.card__in::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background:
    radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(0, 240, 255, .2), transparent 65%),
    linear-gradient(180deg, transparent 0 46%, rgba(0, 240, 255, .16) 50%, transparent 54%) 0 0 / 100% 300% no-repeat;
}
.card:hover .card__in::after { opacity: 1; animation: cardScan 1.4s linear infinite; }
@keyframes cardScan { from { background-position: 0 0, 0 120%; } to { background-position: 0 0, 0 -20%; } }
.card__top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .22em; color: var(--muted); }
.card__top span:first-child { color: var(--cyan); }
.card__top span:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--acid); box-shadow: 0 0 8px var(--acid); animation: blink 1.6s steps(2) infinite; }
.card__icon { width: 72px; height: 72px; margin: 26px 0 22px; fill: none; stroke: var(--cyan); stroke-width: 1.5; overflow: visible; transition: transform .4s var(--ease); }
.card__icon .dim { opacity: .5; }
.card__icon .fill { fill: var(--mag); stroke: none; }
.card__icon .hot { stroke: var(--mag); stroke-width: 2.5; }
.js .card__icon > * { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + .3s); }
.js .card.is-in .card__icon > * { stroke-dashoffset: 0; }
.card:hover .card__icon { transform: translateY(-4px) scale(1.06); filter: drop-shadow(0 0 8px var(--cyan)); }
.card__title { font-family: var(--f-jp); font-weight: 800; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.4; }
.card__title span { display: block; margin-top: .5em; font-family: var(--f-mono); font-weight: 400; font-size: .66rem; letter-spacing: .18em; color: var(--cyan); }
.card__text { margin-top: 1em; font-size: .86rem; line-height: 1.85; color: #b3bfd8; }
.card__spec { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.6em; padding-top: 1em; border-top: 1px dashed var(--line); }
.card__spec dt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; color: var(--muted); }
.card__spec dd { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.card__spec small { color: var(--cyan); margin-left: .15em; }

/* ---------- 03 architecture ---------- */
.arch__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; align-items: center; }
.arch .sec__head { grid-column: 1 / 10; }
.arch__diagram { grid-column: 1 / 6; }
.arch__diagram svg { width: 100%; height: auto; overflow: visible; }
.arch__panel { grid-column: 7 / 13; }
.layer { cursor: pointer; transition: transform .5s var(--ease); }
.layer .top { fill: rgba(8, 14, 30, .92); stroke: rgba(0, 240, 255, .55); stroke-width: 1; transition: fill .4s, stroke .4s; }
.layer .side { fill: rgba(0, 240, 255, .08); stroke: rgba(0, 240, 255, .4); stroke-width: 1; }
.layer .det { fill: none; stroke: rgba(0, 240, 255, .32); stroke-width: 1; transition: stroke .4s; }
.layer .node { fill: #06080f; stroke: var(--cyan); stroke-width: 1.2; }
.layer .core { fill: var(--mag); }
.layer .bx { stroke: rgba(0, 240, 255, .6); stroke-width: .8; }
.layer .bx--l { fill: rgba(3, 20, 30, .95); }
.layer .bx--r { fill: rgba(0, 70, 90, .9); }
.layer .bx--t { fill: rgba(6, 34, 46, .95); }
.layer .lead { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.layer .lbl { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; fill: var(--muted); transition: fill .4s; }
.layer:hover .top { stroke: #bffcff; }
.layer.is-active { transform: translateY(-8px); }
.layer.is-active .top { fill: rgba(0, 62, 82, .92); stroke: #d8feff; filter: drop-shadow(0 0 12px rgba(0, 240, 255, .85)); }
.layer.is-active .det { stroke: var(--cyan); }
.layer.is-active .lbl { fill: var(--cyan); }
.conn { fill: none; stroke: rgba(255, 43, 214, .5); stroke-width: 1; stroke-dasharray: 2 4; }
.pulse { fill: var(--mag); filter: drop-shadow(0 0 5px var(--mag)); }

.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tab {
  position: relative; padding: 12px 12px 11px; text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft);
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; color: var(--muted);
  transition: border-color .25s, background-color .25s, color .25s;
}
.tab b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; line-height: 1.2; color: var(--ink); }
.tab:hover { border-color: var(--line); color: var(--ink); }
.tab[aria-selected="true"] { border-color: var(--cyan); background: rgba(0, 240, 255, .1); color: var(--cyan); }
.tab[aria-selected="true"] b { color: var(--cyan); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -9px; height: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.tabpanel { margin-top: 24px; padding: clamp(24px, 3vw, 40px); min-height: 19em; }
.tabpanel[hidden] { display: none; }
.tabpanel.is-swap { animation: panelIn .5s var(--ease); }
@keyframes panelIn {
  0% { clip-path: inset(0 100% 0 0); transform: translateX(-10px); }
  60% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}
.tabpanel h3 { font-family: var(--f-jp); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.4; }
.tabpanel h3 span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .68rem; letter-spacing: .22em; color: var(--cyan); }
.tabpanel p { margin-top: 1em; color: #c0cbe2; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.spec dt { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; color: var(--muted); line-height: 1.6; }
.spec dd { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.3; }
.spec small { color: var(--cyan); margin-left: .2em; font-size: .55em; }

/* ---------- 04 protocol ---------- */
.protocol { background: linear-gradient(180deg, transparent, rgba(20, 8, 30, .5) 30%, rgba(20, 8, 30, .5) 70%, transparent); }
.timeline { --x: clamp(150px, 22vw, 300px); position: relative; margin-top: clamp(56px, 7vw, 96px); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: var(--x); top: 6px; width: 1px; }
.timeline::before { bottom: 0; background: rgba(255, 255, 255, .14); }
.timeline::after {
  left: calc(var(--x) - 1px); width: 3px; height: calc(100% - 6px);
  background: linear-gradient(180deg, var(--cyan), var(--mag)); box-shadow: 0 0 14px var(--cyan);
  transform-origin: 50% 0; transform: scaleY(var(--p, 0));
}
.phase { display: grid; grid-template-columns: var(--x) 1fr; padding-bottom: clamp(48px, 6vw, 84px); }
.phase:last-child { padding-bottom: 0; }
.phase__when { padding-right: clamp(20px, 3vw, 44px); text-align: right; }
.phase__when b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 2.1rem); letter-spacing: .08em; line-height: 1.2; color: var(--muted); transition: color .4s, text-shadow .4s; }
.phase__when span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .22em; color: var(--muted); }
.phase__body { position: relative; padding-left: clamp(28px, 4vw, 60px); max-width: 640px; }
.phase__body::before {
  content: ""; position: absolute; left: -6px; top: .55em; width: 13px; height: 13px;
  background: var(--bg); border: 1px solid var(--cyan); transform: rotate(45deg);
  transition: background-color .4s, box-shadow .4s;
}
.phase.is-passed .phase__body::before { background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.phase.is-passed .phase__when b { color: var(--ink); text-shadow: 0 0 20px rgba(0, 240, 255, .5); }
.phase h3 { margin-top: .5em; font-family: var(--f-jp); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.4; }
.phase h3 span { margin-left: .8em; font-family: var(--f-mono); font-weight: 400; font-size: .68rem; letter-spacing: .2em; color: var(--cyan); white-space: nowrap; }
.phase p { margin-top: .6em; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .24em; line-height: 1.8; color: var(--muted);
}
.chip::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.chip--done { color: var(--cyan); border-color: var(--cyan); }
.chip--now { color: #05060a; background: var(--acid); border-color: var(--acid); }
.chip--now::before { animation: blink 1s steps(2) infinite; }

/* ---------- 05 connect ---------- */
.connect { overflow: hidden; }
.connect__ring {
  position: absolute; right: -14vw; top: 50%; z-index: -1;
  width: min(78vw, 920px); aspect-ratio: 1; transform: translateY(-50%);
  opacity: .5; pointer-events: none;
}
.connect__ring svg { width: 100%; height: 100%; }
.ring { fill: none; stroke: var(--cyan); stroke-width: 1; transform-origin: 50% 50%; opacity: .7; }
.ring--a { animation: spin 70s linear infinite; }
.ring--b { stroke: var(--mag); opacity: .5; animation: spin 50s linear infinite reverse; }
.ring--c { stroke-width: 2; animation: spin 26s linear infinite; }
.ring--d { animation: spin 36s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.connect__title {
  margin: .4em 0 .3em;
  font-family: var(--f-jp); font-weight: 800;
  font-size: clamp(2.2rem, 7.2vw, 6.8rem); line-height: 1.2;
  filter: drop-shadow(0 0 34px rgba(255, 43, 214, .4));
}
.connect__lead { max-width: 38em; color: #c0cbe2; }
.countdown { display: flex; align-items: flex-start; gap: clamp(8px, 2vw, 26px); margin: clamp(32px, 4vw, 52px) 0; font-family: var(--f-display); }
.countdown div { display: flex; flex-direction: column; }
.countdown b {
  display: inline-block; min-width: 1.36em;
  font-weight: 800; font-size: clamp(2.6rem, 9vw, 7.4rem); line-height: 1; letter-spacing: .02em;
  text-shadow: 0 0 30px rgba(0, 240, 255, .55);
}
.countdown b.is-tick { animation: tick .4s var(--ease); }
.countdown span { margin-top: 1em; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .32em; color: var(--muted); }
.countdown i { font-style: normal; font-weight: 300; font-size: clamp(2.1rem, 7vw, 5.8rem); line-height: 1.1; color: var(--mag); animation: blink 1s steps(2) infinite; }
@keyframes tick { 0% { transform: translateY(-.14em); opacity: .2; } 100% { transform: none; opacity: 1; } }

.reg { max-width: 780px; }
.reg__label { display: block; margin-bottom: 10px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .22em; color: var(--cyan); }
.reg__row {
  display: flex; align-items: center; padding: 7px;
  border: 1px solid var(--line); background: rgba(5, 6, 10, .82);
  transition: border-color .25s, box-shadow .25s;
}
.reg__row:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 36px rgba(0, 240, 255, .25); }
.reg__prompt { position: relative; flex: 0 0 44px; align-self: stretch; }
.reg__prompt::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px;
  border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan);
  transform: translateY(-50%) rotate(45deg);
}
.reg input {
  flex: 1; min-width: 0; padding: 14px 12px 14px 0;
  background: none; border: 0; outline: 0;
  font-family: var(--f-mono); font-size: 1.05rem; letter-spacing: .06em; color: var(--ink); caret-color: var(--cyan);
}
.reg input::placeholder { color: #6d7a99; }
.reg__msg { min-height: 2em; margin-top: 12px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; color: var(--cyan); }
.reg__msg[data-state="error"] { color: #ff7a98; }
.reg__msg[data-state="ok"] { color: var(--acid); }
.reg.is-shake .reg__row { animation: shake .35s steps(2) 1; border-color: #ff7a98; }
@keyframes shake { 0% { transform: translateX(-6px); } 33% { transform: translateX(5px); } 66% { transform: translateX(-3px); } 100% { transform: none; } }

.slots { display: flex; flex-wrap: wrap; align-items: baseline; gap: .8em; max-width: 780px; margin-top: 30px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; color: var(--muted); }
.slots b { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--acid); }
.slots__bar { flex: 0 0 100%; height: 4px; margin-top: 4px; background: rgba(255, 255, 255, .1); }
.slots__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mag), var(--acid)); transform-origin: 0 50%; transform: scaleX(.76); transition: transform .8s var(--ease); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; overflow: hidden; padding: 72px 0 clamp(90px, 15vw, 210px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 15, 30, .7), #030408); }
.foot__word {
  position: absolute; left: 50%; bottom: -.2em; transform: translateX(-50%);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(4.5rem, 20vw, 19rem); line-height: 1; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 240, 255, .16);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.foot__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 36px 40px; align-items: start; }
.foot__brand p { margin-top: 14px; font-family: var(--f-jp); font-weight: 800; font-size: 1.1rem; color: var(--muted); }
.foot__links { display: grid; gap: 8px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; }
.foot__links a { position: relative; padding-left: 18px; color: var(--muted); text-decoration: none; transition: color .25s, padding-left .25s var(--ease); }
.foot__links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--cyan); transition: width .25s var(--ease); }
.foot__links a:hover { color: var(--cyan); padding-left: 28px; }
.foot__links a:hover::before { width: 18px; }
.sns { display: flex; gap: 10px; }
.sns a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-soft); color: var(--muted);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: color .25s, background-color .25s, border-color .25s;
}
.sns a:hover { color: #021216; background: var(--cyan); border-color: var(--cyan); }
.sns svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.foot__meta { grid-column: 1 / 3; display: flex; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .22em; color: var(--muted); }
.barcode { width: 132px; height: 26px; opacity: .8; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 13px, transparent 13px 15px, var(--ink) 15px 16px, transparent 16px 20px); }
.foot__copy { grid-column: 3; justify-self: end; align-self: center; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .22em; color: var(--muted); white-space: nowrap; }

/* ==========================================================
   responsive
   ========================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(n) { margin-top: 0; }
  .card:nth-child(even) { margin-top: 36px; }
  .genesis__text { grid-column: 1 / 13; max-width: 640px; }
  .graph { grid-column: 2 / 13; }
  .arch__diagram { grid-column: 1 / 13; max-width: 420px; margin-inline: auto; width: 100%; }
  .arch__panel { grid-column: 1 / 13; }
  .arch .sec__head, .genesis .sec__head { grid-column: 1 / 13; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .sound__label { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; align-items: center; padding: 96px var(--gut) 40px;
    background: rgba(3, 4, 8, .97);
    background-image: linear-gradient(rgba(0, 240, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
    transition: opacity .3s, clip-path .5s var(--ease), visibility 0s .5s;
  }
  .nav.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: opacity .3s, clip-path .5s var(--ease); }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 22px; width: 100%; }
  .nav a { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 7vw, 2.2rem); letter-spacing: .12em; color: var(--ink); }
  .nav a span { font-family: var(--f-mono); font-size: .45em; }
  .nav a.nav__cta { margin-top: 12px; padding: 14px 30px; font-size: 1.2rem; }

  .hero__core { right: -34vw; top: 34%; width: 118vw; opacity: .6; }
  .callout { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(5, 6, 10, .5) 0%, rgba(5, 6, 10, .25) 30%, rgba(5, 6, 10, .82) 56%, var(--bg) 100%); }
  .hero__body { justify-content: flex-end; padding-bottom: 36px; }
  .hero__title { font-size: clamp(2.6rem, 13.4vw, 5.4rem); }
  .scrollcue { display: none; }
  .sec__head--shift { margin-left: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__meta { grid-column: 1 / 3; }
  .foot__copy { grid-column: 1 / 3; justify-self: start; white-space: normal; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(n) { margin-top: 0; }
  .graph { grid-column: 1 / 13; padding: 14px 12px 12px; }
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li:first-child { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line-soft); }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .tab[aria-selected="true"]::after { display: none; }
  .spec { gap: 10px; }
  .timeline { --x: 14px; }
  .phase { grid-template-columns: 1fr; padding-left: 14px; }
  .phase__when { display: flex; align-items: baseline; gap: 14px; padding: 0 0 8px 28px; text-align: left; }
  .phase__body::before { top: -1.5em; }
  .phase h3 span { display: block; margin: .3em 0 0; }
  .hero__lead br { display: none; }
  .sec__label { font-size: .66rem; letter-spacing: .12em; gap: .8em; white-space: nowrap; }
  .sec__label::after { flex: 1 1 20px; }
  .hero__stats { gap: 18px; }
  .hero__stats div { padding-left: 10px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .countdown span { letter-spacing: .14em; font-size: .56rem; }
  .reg__row { flex-wrap: wrap; }
  .reg input { flex: 1 1 60%; }
  .reg .btn { flex: 1 1 100%; justify-content: center; margin-top: 6px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__meta, .foot__copy { grid-column: 1; }
  .foot__meta { flex-wrap: wrap; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .fx--noise, .fx--scan::after, .boot__scan { display: none; }
  .hero__body { transform: none; opacity: 1; }
}
