/* VOID SIGNAL — self-contained visual system */
:root {
  color-scheme: dark;
  --bg: #080b10;
  --bg-soft: #0d131b;
  --panel: #101922;
  --text: #f1f5f4;
  --muted: #a6b1b7;
  --accent: #74f4e7;
  --accent-rgb: 116, 244, 231;
  --hot: #ff5f83;
  --hot-rgb: 255, 95, 131;
  --line: rgba(182, 222, 230, .18);
  --image-filter: saturate(1.02);
  --shell: 1440px;
  --display: Impact, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

html[data-theme="acid"] {
  --accent: #c8ff64;
  --accent-rgb: 200, 255, 100;
  --hot: #b879ff;
  --hot-rgb: 184, 121, 255;
  --image-filter: hue-rotate(62deg) saturate(1.1);
}

html[data-theme="ember"] {
  --accent: #ffcd6b;
  --accent-rgb: 255, 205, 107;
  --hot: #ff664f;
  --hot-rgb: 255, 102, 79;
  --image-filter: hue-rotate(306deg) saturate(1.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: wait; }
::selection { background: var(--accent); color: #061011; }

.page-shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
.section-pad { padding-block: clamp(104px, 12vw, 190px); }
.skip-link { position: fixed; z-index: 120; top: -70px; left: 18px; padding: 12px 18px; background: var(--accent); color: #071015; font-weight: 800; }
.skip-link:focus { top: 12px; }

.page-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 2px; pointer-events: none; }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--accent); }

.boot-screen { display: none; }
.js .boot-screen { display: grid; align-content: center; justify-items: center; gap: 18px; position: fixed; z-index: 110; inset: 0; background: #080b10; pointer-events: none; opacity: 1; transition: opacity .55s ease, visibility .55s ease; }
.js .boot-screen.is-hidden { opacity: 0; visibility: hidden; }
.boot-screen__mark { font: 108px/.9 var(--display); letter-spacing: -.075em; }
.boot-screen__mark span { color: var(--accent); }
.boot-screen__label { font: 10px var(--mono); letter-spacing: .3em; color: var(--muted); }
.boot-screen__bar { display: block; width: 190px; height: 2px; overflow: hidden; background: var(--line); }
.boot-screen__bar::before { content: ''; display: block; width: 60%; height: 100%; background: var(--accent); animation: boot-load .85s ease-in-out forwards; }
@keyframes boot-load { from { transform: translateX(-100%); } to { transform: translateX(170%); } }

.site-header { position: fixed; z-index: 90; top: 0; left: 0; right: 0; height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-inline: max(48px, calc((100vw - var(--shell)) / 2)); border-bottom: 1px solid rgba(255,255,255,.11); transition: background .3s, height .3s, border-color .3s; }
.site-header.is-scrolled { height: 76px; background: rgba(7, 11, 16, .9); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; min-width: 154px; }
.brand__mark { font: 40px/.75 var(--display); letter-spacing: -.09em; white-space: nowrap; }
.brand__mark span { color: var(--accent); }
.brand__word { font: 800 11px/1.07 var(--mono); letter-spacing: .06em; }
.brand__period { color: var(--hot); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 39px); margin-left: auto; }
.site-nav a { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; font: 700 10px var(--mono); letter-spacing: .12em; transition: color .2s; }
.site-nav a span { color: var(--accent); font-size: 9px; }
.site-nav a:hover { color: var(--accent); }
.site-header__actions { display: flex; align-items: center; gap: 13px; margin-left: 14px; }
.mode-toggle, .sound-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 5px; border: 0; background: transparent; color: var(--text); font: 700 9px var(--mono); letter-spacing: .08em; white-space: nowrap; cursor: pointer; }
.mode-toggle:hover, .sound-toggle:hover { color: var(--accent); }
.mode-toggle__swatch { width: 11px; height: 11px; border: 2px solid var(--accent); box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .15), 0 0 12px rgba(var(--accent-rgb), .6); transform: rotate(45deg); }
.sound-toggle__icon { display: flex; align-items: center; gap: 2px; height: 13px; }
.sound-toggle__icon i { display: block; width: 2px; height: 5px; background: var(--muted); }
.sound-toggle__icon i:nth-child(2), .sound-toggle__icon i:nth-child(4) { height: 10px; }
.sound-toggle[aria-pressed="true"] .sound-toggle__icon i { background: var(--accent); animation: equalize .55s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-toggle__icon i:nth-child(2) { animation-delay: -.25s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__icon i:nth-child(3) { animation-delay: -.42s; }
@keyframes equalize { to { height: 3px; } }
.header-access { display: inline-flex; align-items: center; gap: 18px; padding: 13px 16px; border: 1px solid var(--accent); color: var(--accent); white-space: nowrap; font: 700 10px var(--mono); letter-spacing: .1em; transition: background .2s, color .2s; }
.header-access:hover { background: var(--accent); color: #071015; }
.header-access span { font-size: 16px; line-height: .6; }
.menu-toggle { display: none; }

.hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 760px; min-height: max(760px, 100svh); overflow: hidden; isolation: isolate; background: #090c13; }
.hero__image, .hero__shade, .hero__scanlines, .hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__image { z-index: -4; background: url('assets/neon-city.webp') 52% 50% / cover no-repeat; filter: var(--image-filter); transform: scale(1.045) translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0); transition: filter .5s, transform .4s ease-out; }
.hero__shade { z-index: -3; background: linear-gradient(90deg, rgba(4, 7, 11, .94) 0%, rgba(4, 7, 11, .69) 31%, rgba(4, 7, 11, .25) 59%, rgba(4, 7, 11, .05) 100%), linear-gradient(0deg, rgba(4, 7, 11, .97) 0%, transparent 31%, transparent 73%, rgba(4, 7, 11, .48) 100%); }
.hero__scanlines { z-index: -1; opacity: .15; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.5) 3px 4px); }
.hero__particles { z-index: -2; }
.hero__rail { position: absolute; right: 20px; top: 34%; display: flex; gap: 82px; writing-mode: vertical-rl; color: rgba(255,255,255,.72); font: 9px var(--mono); letter-spacing: .16em; }
.hero__content { position: relative; padding-top: clamp(210px, 22vh, 260px); padding-bottom: 70px; }
.hero__eyebrow, .access__eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font: 700 10px var(--mono); letter-spacing: .16em; }
.hero__eyebrow-line { width: 30px; height: 1px; background: rgba(var(--accent-rgb), .6); }
.pulse-dot { position: relative; display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.pulse-dot::after { content: ''; position: absolute; inset: -5px; border: 1px solid var(--accent); border-radius: 50%; animation: dot-pulse 2.2s ease-out infinite; }
@keyframes dot-pulse { 0% { transform: scale(.5); opacity: .7; } 75%,100% { transform: scale(1.4); opacity: 0; } }
.hero__title { max-width: 1250px; margin: 26px 0 17px; font: clamp(86px, 11.1vw, 200px)/.82 var(--display); letter-spacing: -.035em; text-transform: uppercase; text-wrap: nowrap; }
.hero__title-outline, .outline-word { color: transparent; -webkit-text-stroke: 1px var(--text); }
.hero__title-stop { color: var(--hot); -webkit-text-stroke: 0; }
.hero__jp { margin: 0 0 17px; font-size: clamp(26px, 3.4vw, 50px); font-weight: 850; line-height: 1.32; letter-spacing: -.08em; }
.hero__lead { margin: 0; color: #e1e7e8; font-size: 14px; line-height: 2; letter-spacing: .045em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 31px; margin-top: 32px; }
.button { position: relative; display: inline-flex; align-items: stretch; justify-content: space-between; gap: 36px; min-width: 264px; min-height: 62px; padding: 0 0 0 23px; border: 1px solid var(--accent); background: transparent; color: var(--accent); text-align: left; cursor: pointer; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: transform .2s, background .2s, box-shadow .2s, color .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 9px 32px rgba(var(--accent-rgb), .2); }
.button--primary { background: var(--accent); color: #071015; }
.button--primary:hover { background: #fff; border-color: #fff; box-shadow: 0 12px 34px rgba(var(--accent-rgb), .34); }
.button__label { display: flex; flex-direction: column; align-self: center; gap: 4px; font-weight: 850; font-size: 15px; line-height: 1; letter-spacing: .02em; }
.button__label small { font: 700 9px var(--mono); letter-spacing: .08em; }
.button__arrow { display: grid; place-items: center; flex: 0 0 57px; font: 28px/1 var(--mono); border-left: 1px solid rgba(4, 22, 24, .25); }
.text-link { display: inline-flex; gap: 17px; align-items: center; font-size: 13px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 8px; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link span { font-family: var(--mono); font-size: 18px; }
.hero__bottom { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 31px; }
.hero__status { display: flex; flex-direction: column; gap: 11px; padding-left: 16px; border-left: 1px solid var(--accent); }
.hero__status-label, .hero__scroll, .hero__edition { font: 9px/1.55 var(--mono); letter-spacing: .13em; }
.hero__status-label { color: #abb6ba; }
.hero__status strong { display: flex; align-items: center; gap: 10px; font: 700 11px var(--mono); color: var(--accent); letter-spacing: .13em; }
.hero__scroll { align-self: center; color: #fff; }
.hero__scroll span { display: inline-block; margin-left: 12px; font-size: 20px; vertical-align: middle; animation: nudge-down 2s ease-in-out infinite; }
@keyframes nudge-down { 50% { transform: translateY(6px); } }
.hero__edition { text-align: right; color: #d0d5d5; }

.ticker { overflow: hidden; padding: 13px 0; border-top: 1px solid #17353c; border-bottom: 1px solid #17353c; background: var(--accent); color: #071015; }
.ticker__track { display: flex; width: max-content; animation: ticker-move 32s linear infinite; }
.ticker__track span { flex: 0 0 auto; white-space: nowrap; font: 700 13px var(--mono); letter-spacing: .15em; }
.ticker__track b { padding-inline: 36px; font: 20px/0 var(--mono); }
@keyframes ticker-move { to { transform: translateX(-50%); } }

.section-kicker { display: flex; align-items: center; gap: 18px; color: var(--muted); font: 700 10px var(--mono); letter-spacing: .17em; }
.section-kicker__number { color: var(--accent); }
.section-kicker__line { width: 46px; height: 1px; background: var(--accent); }
.section-overline { margin: 0 0 17px; color: var(--accent); font: 700 11px var(--mono); letter-spacing: .17em; }
.section-title { margin: 0; font: clamp(72px, 9vw, 142px)/.85 var(--display); letter-spacing: -.025em; }
.section-title--jp { font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif; font-size: clamp(50px, 6.7vw, 105px); font-weight: 900; line-height: 1.16; letter-spacing: -.09em; }
.accent-word { color: var(--accent); }

.story { position: relative; overflow: hidden; background: #0b1118; }
.story::before { content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 950px; max-height: 950px; top: -40%; right: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .07), transparent 68%); pointer-events: none; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: clamp(48px, 8vw, 140px); align-items: center; margin-top: 76px; }
.story__pretitle { margin: 0 0 29px; color: #e3e9e9; font-size: 14px; font-weight: 750; letter-spacing: .2em; }
.story__copy { display: flex; gap: 20px; max-width: 670px; margin-top: 42px; }
.story__copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 2.15; letter-spacing: .045em; }
.corner-mark { color: var(--hot); font: 50px/1 var(--mono); }
.story__art { position: relative; min-height: 520px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(circle at 52% 48%, rgba(var(--accent-rgb), .09), transparent 36%), repeating-linear-gradient(90deg, transparent 0 27px, rgba(141,207,218,.035) 27px 28px), #0a141b; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.story__art::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(var(--accent-rgb), .12); pointer-events: none; }
.story__art-top, .story__art-bottom { position: absolute; z-index: 2; left: 28px; right: 28px; display: flex; justify-content: space-between; gap: 16px; font: 700 9px/1.6 var(--mono); letter-spacing: .1em; }
.story__art-top { top: 28px; color: var(--accent); }
.story__art-bottom { bottom: 28px; color: var(--muted); }
.story__art-bottom span:last-child { text-align: right; }
.story__art-orbit { position: absolute; top: 50%; left: 50%; width: min(75%, 345px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(var(--accent-rgb), .48); border-radius: 50%; box-shadow: 0 0 48px rgba(var(--accent-rgb), .08), inset 0 0 50px rgba(var(--accent-rgb), .08); }
.story__art-orbit::before, .story__art-orbit::after { content: ''; position: absolute; inset: 16%; border: 1px dashed rgba(var(--accent-rgb), .5); border-radius: 50%; animation: orbit-spin 24s linear infinite; }
.story__art-orbit::after { inset: -12%; border-style: solid; opacity: .23; animation-direction: reverse; }
.story__art-cross { position: absolute; top: -13px; left: 48%; color: var(--hot); font: 25px var(--mono); }
.story__art-core { position: absolute; inset: 0; display: grid; place-items: center; font: 90px var(--display); letter-spacing: -.09em; text-shadow: 0 0 32px rgba(var(--accent-rgb), .2); }
.story__art-core span { color: var(--hot); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.story__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 29px; margin-top: 72px; border-top: 1px solid var(--line); color: var(--muted); font: 700 10px var(--mono); letter-spacing: .1em; }
.story__footer span:nth-child(2) { color: var(--accent); font-size: 21px; }

.modules { background: #080b10; }
.modules__intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 69px 0 55px; }
.modules__intro > p, .protocol__head > p { margin: 0 0 7px; color: var(--muted); font-size: 15px; line-height: 2; letter-spacing: .04em; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module-card { position: relative; display: flex; min-height: 510px; flex-direction: column; padding: 27px 30px 22px; border: 1px solid var(--line); overflow: hidden; background: linear-gradient(145deg, rgba(21,34,42,.74), rgba(9,13,18,.97) 67%); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: transform .25s ease, border-color .25s, background .25s; }
.module-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), .12), transparent 55%); opacity: 0; transition: opacity .3s; }
.module-card:hover, .module-card:focus-visible { transform: translateY(-9px); border-color: var(--accent); }
.module-card:hover::before, .module-card:focus-visible::before { opacity: 1; }
.module-card__top, .module-card__footer { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; font: 700 10px var(--mono); letter-spacing: .14em; }
.module-card__top { color: var(--accent); }
.module-card__top span:last-child { font-size: 19px; }
.module-card__glyph { position: relative; display: grid; place-items: center; flex: 1 0 210px; margin: 11px auto 9px; width: 100%; max-width: 260px; }
.module-card__glyph--echo span { position: absolute; display: block; border: 1px solid rgba(var(--accent-rgb), .65); border-radius: 50%; box-shadow: 0 0 23px rgba(var(--accent-rgb), .13); }
.module-card__glyph--echo span:nth-child(1) { width: 160px; height: 160px; }
.module-card__glyph--echo span:nth-child(2) { width: 112px; height: 112px; border-style: dashed; animation: orbit-spin 19s linear infinite; }
.module-card__glyph--echo span:nth-child(3) { width: 44px; height: 44px; background: var(--accent); box-shadow: 0 0 35px rgba(var(--accent-rgb), .7); }
.module-card__glyph--trace { background: linear-gradient(90deg, transparent 49.8%, rgba(var(--accent-rgb), .2) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(var(--accent-rgb), .2) 50%, transparent 50.2%); }
.module-card__glyph--trace span { position: absolute; width: 126px; height: 126px; border: 1px solid var(--accent); transform: rotate(45deg); }
.module-card__glyph--trace span:nth-child(2) { width: 80px; height: 80px; border-color: var(--hot); }
.module-card__glyph--trace span:nth-child(3) { width: 15px; height: 15px; background: var(--hot); box-shadow: 0 0 28px var(--hot); }
.module-card__glyph--shift span { position: absolute; width: 72px; height: 150px; border: 1px solid var(--accent); transform: skewX(-20deg); box-shadow: 0 0 25px rgba(var(--accent-rgb), .1); }
.module-card__glyph--shift span:first-child { left: 33%; }
.module-card__glyph--shift span:nth-child(2) { left: 48%; height: 130px; border-color: var(--hot); }
.module-card__glyph--shift span:nth-child(3) { left: 63%; height: 108px; }
.module-card__body, .module-card__footer { position: relative; z-index: 1; }
.module-card__tag { color: var(--hot); font: 700 9px var(--mono); letter-spacing: .11em; }
.module-card__body h3 { margin: 11px 0 10px; font-size: clamp(24px, 2.2vw, 33px); font-weight: 850; letter-spacing: -.08em; }
.module-card__body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.module-card__footer { padding-top: 25px; margin-top: 28px; border-top: 1px solid var(--line); color: var(--accent); }
.module-card__footer span:last-child { font-size: 18px; }

.signal-section { position: relative; overflow: hidden; background: #101820; }
.signal-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .25; background: repeating-linear-gradient(90deg, transparent 0 97px, rgba(var(--accent-rgb), .08) 97px 98px); }
.signal-section__intro { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin: 69px 0 47px; }
.signal-section__intro > p:last-child { color: var(--muted); font-size: 15px; line-height: 2; }
.console { position: relative; border: 1px solid rgba(var(--accent-rgb), .38); background: #080e14; box-shadow: 0 25px 80px rgba(0,0,0,.3), 0 0 0 8px rgba(var(--accent-rgb), .025); }
.console::before, .console::after { content: ''; position: absolute; width: 11px; height: 11px; z-index: 3; pointer-events: none; }
.console::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.console::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.console__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 46px; padding-inline: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 9px var(--mono); letter-spacing: .12em; }
.console__lights { display: flex; gap: 6px; }
.console__lights i { width: 6px; height: 6px; border: 1px solid var(--muted); transform: rotate(45deg); }
.console__lights i:first-child { background: var(--hot); border-color: var(--hot); }
.console__lights i:nth-child(2) { background: var(--accent); border-color: var(--accent); }
.console__bar time { justify-self: end; color: var(--accent); }
.console__body { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr); }
.console__display { position: relative; display: flex; min-height: 552px; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); overflow: hidden; background: radial-gradient(circle at center, rgba(var(--accent-rgb), .075), transparent 48%), repeating-linear-gradient(0deg, transparent 0 34px, rgba(var(--accent-rgb), .025) 34px 35px), repeating-linear-gradient(90deg, transparent 0 34px, rgba(var(--accent-rgb), .025) 34px 35px); }
.console__readout { position: absolute; z-index: 2; top: 24px; left: 25px; display: flex; flex-direction: column; gap: 3px; font: 700 9px var(--mono); letter-spacing: .1em; color: var(--muted); }
.console__readout strong { color: var(--accent); font: 56px/.9 var(--display); letter-spacing: -.03em; }
.console__readout strong small { font: 13px var(--mono); letter-spacing: 0; }
.console__readout span:last-child { color: var(--hot); margin-top: 8px; }
.console__radar { position: relative; width: min(57%, 330px); aspect-ratio: 1; margin-top: 38px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .45); box-shadow: inset 0 0 60px rgba(var(--accent-rgb), .06), 0 0 35px rgba(var(--accent-rgb), .08); }
.console__radar-grid { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(var(--accent-rgb), .3) 50%, transparent calc(50% + .5px)), linear-gradient(transparent calc(50% - .5px), rgba(var(--accent-rgb), .3) 50%, transparent calc(50% + .5px)); }
.console__radar-ring { position: absolute; inset: 17%; border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 50%; }
.console__radar-ring--two { inset: 33%; }
.console__radar-ring--three { inset: -9%; border-style: dashed; opacity: .45; }
.console__radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(var(--accent-rgb), .01) 285deg, rgba(var(--accent-rgb), .22) 359deg, transparent 360deg); animation: orbit-spin 5s linear infinite; }
.console__radar-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--accent); font: 48px var(--display); letter-spacing: -.1em; text-shadow: 0 0 24px var(--accent); }
.console__radar-blip { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 13px var(--hot); }
.console__radar-blip--one { top: 23%; left: 69%; }
.console__radar-blip--two { top: 71%; left: 25%; }
.console__coordinates { position: absolute; bottom: 21px; left: 25px; right: 25px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 8px var(--mono); letter-spacing: .07em; }
.console__controls { display: flex; flex-direction: column; padding: 28px; }
.console__control-head { display: flex; justify-content: space-between; color: var(--muted); font: 700 10px var(--mono); letter-spacing: .12em; }
.console__control-head span:last-child { color: var(--accent); }
.channel-list { display: grid; gap: 9px; margin-top: 25px; }
.channel-button { display: grid; grid-template-columns: 29px 1fr auto 14px; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 0 14px; border: 1px solid var(--line); background: rgba(255,255,255,.018); color: var(--text); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.channel-button:hover { border-color: rgba(var(--accent-rgb), .7); transform: translateX(3px); }
.channel-button[aria-pressed="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); }
.channel-button > span:first-child, .channel-button > span:last-child { color: var(--accent); font: 700 10px var(--mono); }
.channel-button > span:last-child { font-size: 16px; }
.channel-button strong { font: 26px/.85 var(--display); letter-spacing: .04em; }
.channel-button small { color: var(--muted); font-size: 10px; }
.console__active { min-height: 92px; margin-top: 27px; }
.console__active span { color: var(--accent); font: 700 11px var(--mono); letter-spacing: .08em; }
.console__active p { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.button--scan { width: 100%; margin-top: auto; }
.button--scan:hover { background: rgba(var(--accent-rgb), .13); }
.button--scan .button__arrow { border-color: rgba(var(--accent-rgb), .22); }
.console__output { padding: 17px 25px 24px; border-top: 1px solid var(--line); background: rgba(var(--accent-rgb), .025); }
.console__output-label { display: flex; justify-content: space-between; gap: 20px; color: var(--accent); font: 700 9px var(--mono); letter-spacing: .12em; }
.console__output-label span:last-child { color: var(--muted); }
.console__progress { height: 2px; margin: 12px 0 14px; background: var(--line); overflow: hidden; }
.console__progress span { display: block; width: 100%; height: 100%; background: var(--accent); box-shadow: 0 0 12px var(--accent); transform-origin: left; transform: scaleX(0); }
.console.is-scanning .console__progress span { animation: scan-progress 1.3s ease-in-out forwards; }
.console.is-complete .console__progress span { transform: scaleX(1); }
@keyframes scan-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.console__output p { min-height: 23px; margin: 0; color: var(--text); font: 12px/1.75 var(--mono); }
.signal-section__note { margin: 21px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

.protocol { background: #090d12; }
.protocol__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 70px 0 70px; }
.protocol__steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.protocol__step { display: grid; grid-template-columns: 100px 126px 1fr 24px; align-items: center; gap: 34px; min-height: 178px; padding-block: 23px; border-bottom: 1px solid var(--line); }
.protocol__step-index { align-self: start; padding-top: 11px; color: var(--accent); font: 34px var(--display); }
.protocol__step-index span { font: 10px var(--mono); color: var(--muted); }
.protocol__step-icon { display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 50%; color: var(--accent); font: 63px var(--mono); box-shadow: inset 0 0 25px rgba(var(--accent-rgb), .045); }
.protocol__step:nth-child(2) .protocol__step-icon { color: var(--hot); border-color: rgba(var(--hot-rgb), .42); }
.protocol__step-code { color: var(--accent); font: 700 10px var(--mono); letter-spacing: .12em; }
.protocol__step h3 { margin: 13px 0 9px; font-size: clamp(21px, 2.2vw, 32px); letter-spacing: -.06em; }
.protocol__step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.protocol__step-arrow { align-self: start; padding-top: 10px; color: var(--muted); font: 23px var(--mono); }

.access { position: relative; min-height: 705px; padding: 116px 0 93px; overflow: hidden; isolation: isolate; background: #101820; }
.access__grid, .access__orb { position: absolute; pointer-events: none; }
.access__grid { z-index: -2; inset: 0; opacity: .4; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(var(--accent-rgb), .09) 50%, transparent calc(50% + 1px)), repeating-linear-gradient(0deg, transparent 0 59px, rgba(var(--accent-rgb), .12) 59px 60px); transform: perspective(500px) rotateX(54deg) scale(1.8); transform-origin: center bottom; }
.access__orb { z-index: -1; width: min(60vw, 780px); aspect-ratio: 1; top: 50%; right: -12%; transform: translateY(-50%); border: 1px solid rgba(var(--hot-rgb), .65); border-radius: 50%; box-shadow: 0 0 80px rgba(var(--hot-rgb), .12), inset 0 0 100px rgba(var(--hot-rgb), .1); }
.access__orb::before, .access__orb::after { content: ''; position: absolute; inset: 12%; border: 1px dashed rgba(var(--hot-rgb), .43); border-radius: 50%; animation: orbit-spin 34s linear infinite; }
.access__orb::after { inset: 27%; border: 1px solid rgba(var(--accent-rgb), .4); animation-direction: reverse; }
.access__content { position: relative; }
.access h2 { max-width: 1050px; margin: 30px 0 22px; font: clamp(98px, 12vw, 180px)/.85 var(--display); letter-spacing: -.04em; }
.access h2 span { color: transparent; -webkit-text-stroke: 1px var(--text); }
.access__content > p { margin: 0 0 33px; font-size: clamp(18px, 2vw, 28px); font-weight: 800; letter-spacing: -.06em; }
.button--large { min-width: 316px; min-height: 70px; }
.access__aside { display: block; margin-top: 19px; color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.access__bottom { position: absolute; bottom: 24px; left: 48px; right: 48px; display: flex; justify-content: space-between; color: var(--muted); font: 9px var(--mono); letter-spacing: .12em; }

.footer { background: #06090d; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 210px; }
.brand--footer .brand__mark { font-size: 67px; }
.brand--footer .brand__word { font-size: 13px; }
.footer__top p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.footer__top-link { display: inline-flex; align-items: center; gap: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--accent); color: var(--accent); font: 700 10px var(--mono); letter-spacing: .12em; }
.footer__top-link span { font-size: 22px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 80px; border-top: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); letter-spacing: .07em; }
.footer__bottom > div { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__bottom button { padding: 8px 0; border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.footer__bottom button:hover { color: var(--accent); }

.info-dialog { width: min(520px, calc(100vw - 36px)); max-height: calc(100vh - 36px); padding: 0; border: 1px solid var(--accent); background: #0b141b; color: var(--text); box-shadow: 0 30px 100px #000; }
.info-dialog::backdrop { background: rgba(0, 4, 9, .8); backdrop-filter: blur(6px); }
.info-dialog__inner { padding: 27px; }
.info-dialog__top { display: flex; justify-content: space-between; align-items: center; color: var(--accent); font: 700 10px var(--mono); letter-spacing: .12em; }
.info-dialog__top button { width: 34px; height: 34px; border: 1px solid var(--line); background: none; color: var(--text); font-size: 23px; cursor: pointer; }
.info-dialog h2 { margin: 37px 0 20px; font-size: 28px; }
.info-dialog p { color: var(--muted); line-height: 2; font-size: 14px; white-space: pre-line; }
.info-dialog__end { display: block; padding-top: 36px; color: var(--accent); font: 10px var(--mono); letter-spacing: .12em; }
.toast { position: fixed; z-index: 130; bottom: 25px; left: 50%; transform: translate(-50%, 15px); padding: 12px 17px; border: 1px solid var(--accent); background: #0a151a; color: var(--text); opacity: 0; pointer-events: none; font-size: 12px; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.module-card:nth-child(2), .protocol__step:nth-child(2) { transition-delay: .08s; }
.module-card:nth-child(3), .protocol__step:nth-child(3) { transition-delay: .16s; }

@media (max-width: 1180px) {
  .site-header { padding-inline: 32px; gap: 18px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 9px; }
  .site-header__actions { gap: 9px; margin-left: 0; }
  .mode-toggle, .sound-toggle { font-size: 8px; }
  .page-shell { width: min(calc(100% - 64px), var(--shell)); }
}

@media (max-width: 940px) {
  .site-header, .site-header.is-scrolled { height: 74px; }
  .site-header { padding-inline: 28px; }
  .site-nav { position: fixed; top: 74px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 13px 28px 25px; border-bottom: 1px solid var(--accent); background: rgba(7, 11, 16, .98); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .site-nav a span { font-size: 10px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 39px; height: 39px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--accent); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .story__grid { grid-template-columns: 1fr; }
  .story__art { max-width: 620px; width: 100%; }
  .modules__intro, .signal-section__intro, .protocol__head { align-items: start; flex-direction: column; gap: 22px; }
  .module-grid { gap: 10px; }
  .module-card { min-height: 480px; padding-inline: 18px; }
  .module-card__body h3 { font-size: 24px; }
  .console__body { grid-template-columns: minmax(0, 1fr) minmax(285px, .88fr); }
  .console__display { min-height: 530px; }
  .console__controls { padding: 20px; }
  .channel-button { gap: 6px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .page-shell { width: calc(100% - 40px); }
  .section-pad { padding-block: 90px; }
  .site-header { padding-inline: 20px; }
  .site-header__actions { gap: 7px; }
  .brand { min-width: 116px; gap: 8px; }
  .brand__mark { font-size: 34px; }
  .brand__word { font-size: 9px; }
  .header-access { display: none; }
  .sound-toggle { padding: 8px 5px; }
  .sound-toggle #sound-label { display: none; }
  .mode-toggle { font-size: 8px; }
  .hero { min-height: 750px; min-height: max(750px, 100svh); }
  .hero__image { background-position: 61% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(4, 7, 11, .86), rgba(4, 7, 11, .4) 70%, rgba(4, 7, 11, .28)), linear-gradient(0deg, #05090c 0%, transparent 45%, rgba(4, 7, 11, .3) 100%); }
  .hero__rail, .hero__edition { display: none; }
  .hero__content { padding-top: 173px; padding-bottom: 30px; }
  .hero__eyebrow { flex-wrap: wrap; gap: 8px; font-size: 8px; }
  .hero__eyebrow-line { width: 15px; }
  .hero__title { margin-top: 31px; font-size: clamp(53px, 11.7vw, 87px); line-height: .92; letter-spacing: -.025em; }
  .hero__jp { margin-top: 30px; font-size: clamp(26px, 8.1vw, 44px); }
  .hero__lead { font-size: 12px; line-height: 1.85; }
  .hero__actions { gap: 22px; margin-top: 28px; }
  .hero__bottom { padding-bottom: 24px; }
  .hero__scroll { font-size: 8px; text-align: right; }
  .hero__scroll span { margin-left: 4px; }
  .ticker__track span { font-size: 10px; }
  .ticker__track b { padding-inline: 22px; }
  .section-kicker { gap: 11px; font-size: 8px; }
  .section-kicker__line { width: 26px; }
  .story__grid { gap: 44px; margin-top: 48px; }
  .story__pretitle { font-size: 12px; }
  .section-title--jp { font-size: clamp(47px, 10vw, 72px); }
  .story__copy { margin-top: 31px; gap: 11px; }
  .story__copy p { font-size: 13px; }
  .corner-mark { font-size: 37px; }
  .story__art { min-height: 405px; }
  .story__art-orbit { width: 61%; }
  .story__art-core { font-size: 65px; }
  .story__footer { margin-top: 42px; font-size: 8px; }
  .story__footer span:last-child { display: none; }
  .section-title { font-size: clamp(62px, 13vw, 100px); }
  .modules__intro, .signal-section__intro, .protocol__head { margin: 48px 0 36px; }
  .modules__intro > p, .signal-section__intro > p:last-child, .protocol__head > p { font-size: 13px; }
  .module-grid { grid-template-columns: 1fr; gap: 12px; }
  .module-card { min-height: 380px; padding: 23px 25px 19px; }
  .module-card__glyph { flex-basis: 160px; transform: scale(.75); margin-block: -4px; }
  .module-card__body h3 { font-size: 27px; }
  .module-card__footer { margin-top: 19px; padding-top: 16px; }
  .console__bar { grid-template-columns: 1fr auto; padding-inline: 12px; font-size: 8px; }
  .console__lights { display: none; }
  .console__body { grid-template-columns: 1fr; }
  .console__display { min-height: 420px; border-right: 0; border-bottom: 1px solid var(--line); }
  .console__radar { width: min(55%, 230px); margin-top: 46px; }
  .console__readout { top: 18px; left: 16px; }
  .console__readout strong { font-size: 43px; }
  .console__coordinates { left: 16px; right: 16px; bottom: 15px; flex-wrap: wrap; font-size: 7px; }
  .console__controls { padding: 20px; }
  .console__active { min-height: 80px; }
  .protocol__step { grid-template-columns: 52px 1fr 15px; gap: 17px; min-height: 155px; }
  .protocol__step-index { font-size: 27px; }
  .protocol__step-icon { display: none; }
  .protocol__step h3 { font-size: 22px; }
  .protocol__step p { font-size: 12px; }
  .access { min-height: 600px; padding-block: 95px 85px; }
  .access h2 { font-size: clamp(62px, 13vw, 100px); }
  .access__orb { width: 85vw; right: -44%; opacity: .65; }
  .access__bottom { left: 20px; right: 20px; font-size: 7px; }
  .footer__top { min-height: 260px; align-items: start; flex-wrap: wrap; padding-block: 45px; }
  .footer__top p { width: calc(100% - 180px); }
  .footer__bottom { align-items: start; flex-direction: column; padding-block: 21px; }
}

@media (max-width: 380px) {
  .mode-toggle__swatch { display: none; }
  .hero__title { font-size: 11.4vw; }
  .hero__scroll { display: none; }
  .channel-button { grid-template-columns: 24px 1fr auto; }
  .channel-button > span:last-child { display: none; }
  .channel-button small { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .boot-screen { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { transform: none; }
}
