/* =========================================================
   CYBERINU — THE CYBER FIGHT. WITH FUR.
   ========================================================= */

:root {
  --bg: #030714;
  --bg-2: #07142B;
  --surface: #0B1D3A;
  --blue: #086BFF;
  --cyan: #00DFFF;
  --ice: #B5F5FF;
  --violet: #8755FF;
  --orange: #FF9D2E;
  --text: #F1FAFF;
  --muted: #91ABC6;

  --cyan-rgb: 0, 223, 255;
  --blue-rgb: 8, 107, 255;
  --violet-rgb: 135, 85, 255;
  --orange-rgb: 255, 157, 46;

  --line: rgba(var(--cyan-rgb), .16);
  --line-strong: rgba(var(--cyan-rgb), .38);

  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --container: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --cut: 12px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--cyan-rgb), .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--cyan-rgb), .035) 1px, transparent 1px);
  background-size: 64px 64px;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, blockquote, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--bg); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: .75rem 1.25rem;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Global FX ---------- */
.fx-scanlines {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px);
}
.fx-scanlines::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 22vh;
  background: linear-gradient(to bottom, transparent, rgba(var(--cyan-rgb), .035), transparent);
  animation: scanband 9s linear infinite;
  will-change: transform;
}
@keyframes scanband {
  from { transform: translateY(-25vh); }
  to { transform: translateY(105vh); }
}

.fx-cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 200;
  width: 0; height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
.fx-cursor.is-on { opacity: 1; }
.fx-cursor span {
  position: absolute;
  left: -16px; top: -16px;
  width: 32px; height: 32px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 9px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 1.5px 9px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 9px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 1.5px 9px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 100% / 9px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 100% / 1.5px 9px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 9px 1.5px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 1.5px 9px no-repeat;
  transition: transform .3s var(--ease), opacity .3s;
  opacity: .75;
}
.fx-cursor span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 3px; height: 3px;
  margin: -1.5px 0 0 -1.5px;
  background: var(--cyan);
}
.fx-cursor.is-hover span { transform: scale(1.55) rotate(45deg); opacity: 1; }
.fx-cursor.is-down span { transform: scale(.8); }

.toast {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  z-index: 300;
  max-width: min(92vw, 460px);
  padding: .9rem 1.25rem .9rem 1.1rem;
  background: rgba(7, 20, 43, .97);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--ice);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.toast--warn { border-left-color: var(--orange); }
.toast--ok { border-left-color: #3dffa8; }

/* ---------- Shared typography ---------- */
.section {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0;
  overflow: hidden;
  overflow: clip;
}

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span {
  position: relative;
  padding: .25rem .6rem;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  background: rgba(var(--cyan-rgb), .06);
}
.eyebrow--center { justify-content: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.section-title:hover { animation: rgbsplit .45s steps(3) 1; }
.accent {
  background: linear-gradient(95deg, var(--cyan) 0%, var(--ice) 45%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lede {
  margin-top: 1.5rem;
  max-width: 62ch;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--muted);
}
.section-head--center .section-lede { margin-inline: auto; }

@keyframes rgbsplit {
  0% { text-shadow: -2px 0 rgba(var(--cyan-rgb), .8), 2px 0 rgba(var(--violet-rgb), .8); transform: translateX(1px); }
  50% { text-shadow: 2px 0 rgba(var(--cyan-rgb), .8), -2px 0 rgba(var(--violet-rgb), .8); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .8rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: color .25s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg {
  width: 18px; height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .72rem; --cut: 9px; }
.btn--lg { min-height: 56px; padding: 1rem 1.8rem; font-size: .82rem; }

.btn--primary {
  color: #021022;
  background: linear-gradient(100deg, var(--blue) 0%, #1a8dff 45%, var(--cyan) 100%);
}
.btn--primary svg { fill: currentColor; stroke: none; }
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .6), transparent 65%);
  opacity: 0;
  transition: opacity .3s;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover::before, .btn--primary:focus-visible::before { opacity: 1; }
.btn--primary:hover::after, .btn--primary:focus-visible::after { transform: translateX(110%); }

.btn--ghost, .btn--x { color: var(--ice); }
.btn--ghost::before, .btn--x::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(120deg, var(--cyan), var(--blue) 60%, var(--violet));
}
.btn--ghost::after, .btn--x::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background:
    radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--cyan-rgb), .22), transparent 70%) no-repeat,
    rgba(5, 13, 32, .96);
  background-size: 100% 100%;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .3s;
}
.btn--ghost:hover, .btn--x:hover { color: #fff; }

.btn--x { color: #fff; }
.btn--x svg { fill: currentColor; stroke: none; }

.btn.is-locked { cursor: not-allowed; }
.btn__tag {
  margin-left: .2rem;
  padding: .15rem .4rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  line-height: 1.2;
  border: 1px solid currentColor;
  opacity: .8;
}
.btn--primary .btn__tag { border-color: rgba(2, 16, 34, .45); }
.btn.is-flash-ok { color: #3dffa8; }
.btn.is-flash-warn { color: var(--orange); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color .35s, border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid, .nav.is-open {
  background: rgba(3, 7, 20, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.nav__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .75rem; flex: none; }
.brand__mark {
  position: relative;
  width: 42px; height: 42px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.brand__mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(2.2);
  transform-origin: 53% 17%;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .08em;
}
.brand__name span { color: var(--cyan); }

.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .6rem .8rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s;
}
.nav__idx {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: rgba(var(--cyan-rgb), .55);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .2rem;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: .9rem; }
.nav__x {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  color: var(--ice);
  transition: border-color .25s, color .25s, background-color .25s;
}
.nav__x svg { width: 17px; height: 17px; fill: currentColor; }
.nav__x:hover { border-color: var(--cyan); color: #fff; background: rgba(var(--cyan-rgb), .08); }

.nav__toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
}
.nav__toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ice);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 22px; right: 18px; background: var(--cyan); }
.nav__toggle span:nth-child(3) { top: 29px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 55% at 72% 42%, rgba(var(--blue-rgb), .38), transparent 70%),
    radial-gradient(35% 40% at 12% 18%, rgba(var(--violet-rgb), .22), transparent 70%),
    radial-gradient(30% 30% at 90% 90%, rgba(var(--violet-rgb), .16), transparent 70%),
    linear-gradient(180deg, #030714 0%, #061133 55%, #030714 100%);
}
.hero__skyline {
  --b: #061230;
  position: absolute;
  left: -4%; right: -4%;
  bottom: 26%;
  height: 44%;
  background:
    linear-gradient(var(--b) 0 0) 0% 100% / 7% 38% no-repeat,
    linear-gradient(var(--b) 0 0) 6% 100% / 4% 64% no-repeat,
    linear-gradient(var(--b) 0 0) 11% 100% / 6% 48% no-repeat,
    linear-gradient(var(--b) 0 0) 18% 100% / 3% 80% no-repeat,
    linear-gradient(var(--b) 0 0) 23% 100% / 7% 54% no-repeat,
    linear-gradient(var(--b) 0 0) 31% 100% / 5% 70% no-repeat,
    linear-gradient(var(--b) 0 0) 39% 100% / 8% 42% no-repeat,
    linear-gradient(var(--b) 0 0) 48% 100% / 4% 88% no-repeat,
    linear-gradient(var(--b) 0 0) 55% 100% / 7% 58% no-repeat,
    linear-gradient(var(--b) 0 0) 63% 100% / 5% 74% no-repeat,
    linear-gradient(var(--b) 0 0) 71% 100% / 8% 46% no-repeat,
    linear-gradient(var(--b) 0 0) 80% 100% / 4% 94% no-repeat,
    linear-gradient(var(--b) 0 0) 87% 100% / 6% 60% no-repeat,
    linear-gradient(var(--b) 0 0) 94% 100% / 7% 76% no-repeat,
    linear-gradient(var(--b) 0 0) 100% 100% / 5% 50% no-repeat;
  will-change: transform;
}
.hero__skyline--far {
  --b: #0b1a49;
  bottom: 27%;
  height: 56%;
  opacity: .55;
  transform: scaleX(-1);
}
.hero__horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: 26%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--cyan-rgb), .7) 30%, rgba(var(--violet-rgb), .7) 70%, transparent);
  box-shadow: 0 0 24px 4px rgba(var(--blue-rgb), .45);
}
.hero__floor-wrap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26%;
  overflow: hidden;
  perspective: 420px;
  perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 60%, transparent 100%);
}
.hero__floor {
  position: absolute;
  left: -60%; right: -60%;
  top: -40px;
  height: 300%;
  background-image:
    linear-gradient(rgba(var(--cyan-rgb), .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--cyan-rgb), .3) 1px, transparent 1px);
  background-size: 64px 64px;
  transform-origin: 50% 0;
  transform: rotateX(68deg);
  animation: floor 2.4s linear infinite;
}
@keyframes floor {
  from { transform: rotateX(68deg) translateY(0); }
  to { transform: rotateX(68deg) translateY(64px); }
}

.circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.circuit path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.circuit__traces path { stroke: rgba(var(--cyan-rgb), .14); stroke-width: 1.4; }
.circuit__pulses path {
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-dasharray: 70 1000;
  stroke-dashoffset: 1070;
  animation: pulse-line 5.5s linear infinite;
}
.circuit__pulses path:nth-child(2) { animation-delay: 1.2s; stroke: var(--ice); }
.circuit__pulses path:nth-child(3) { animation-delay: 2.1s; animation-duration: 6.5s; }
.circuit__pulses path:nth-child(4) { animation-delay: .6s; stroke: var(--violet); }
.circuit__pulses path:nth-child(5) { animation-delay: 3s; animation-duration: 4.5s; }
.circuit__pulses path:nth-child(6) { animation-delay: 1.8s; stroke: var(--violet); }
.circuit__nodes circle { fill: var(--cyan); animation: node 2.8s ease-in-out infinite; }
.circuit__nodes circle:nth-child(even) { animation-delay: 1.4s; fill: var(--violet); }
@keyframes pulse-line { to { stroke-dashoffset: 0; } }
@keyframes node { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-block: clamp(2rem, 5vh, 4rem) clamp(2rem, 4vh, 3rem);
}
.hero__copy { position: relative; z-index: 2; }

.enter {
  opacity: 0;
  animation: enter .9s var(--ease) var(--d, 0s) forwards;
}
@keyframes enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(var(--cyan-rgb), .1), rgba(var(--cyan-rgb), .02));
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .18em;
  color: var(--ice);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.status-chip__dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}
.status-chip__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  animation: ping 1.8s var(--ease) infinite;
}
.is-live .status-chip__dot, .is-live .status-chip__dot::after { background: #3dffa8; border-color: #3dffa8; box-shadow: 0 0 10px #3dffa8; }
.status-chip__caret {
  width: 7px; height: 14px;
  background: var(--cyan);
  animation: blink 1s steps(1) infinite;
}
@keyframes ping {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes blink { 50% { opacity: 0; } }

.hero__title {
  position: relative;
  margin: 1.4rem 0 .9rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.9rem, 6.6vw, 6.25rem);
  line-height: .95;
  letter-spacing: .02em;
  white-space: nowrap;
}
.hero__letters span {
  display: inline-block;
  opacity: 0;
  color: var(--text);
  text-shadow: 0 0 34px rgba(var(--blue-rgb), .55);
  animation: letter .8s var(--ease) calc(.3s + var(--i) * 60ms) forwards;
}
.hero__letters .is-alt {
  color: var(--cyan);
  text-shadow: 0 0 26px rgba(var(--cyan-rgb), .6);
}
@keyframes letter {
  0% { opacity: 0; transform: translateY(.5em) skewX(-14deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  pointer-events: none;
  opacity: 0;
  animation: glitch 7s steps(1) 2.4s infinite;
}
.glitch::before { color: var(--cyan); transform: translate(-3px, 0); }
.glitch::after { color: var(--violet); transform: translate(3px, 0); animation-delay: 2.45s; }
@keyframes glitch {
  0%, 89%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); }
  90% { opacity: .85; clip-path: inset(12% 0 64% 0); }
  91.5% { opacity: .85; clip-path: inset(58% 0 18% 0); }
  93% { opacity: .85; clip-path: inset(34% 0 44% 0); }
  94.5% { opacity: 0; }
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  letter-spacing: .12em;
  color: var(--ice);
}
.hero__tagline span { color: var(--orange); }
.hero__desc {
  margin-top: .9rem;
  max-width: 38ch;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero__x {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.8rem;
  font-weight: 600;
  color: var(--text);
}
.hero__x small {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--muted);
  font-weight: 400;
}
.hero__x-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  transition: background-color .25s, border-color .25s;
}
.hero__x-icon svg { width: 16px; height: 16px; fill: currentColor; }
.hero__x:hover .hero__x-icon { background: rgba(var(--cyan-rgb), .12); border-color: var(--cyan); }

.hero__stage {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
  will-change: transform;
}
.hero__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: min(92%, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -54%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .4) 0%, rgba(var(--blue-rgb), .12) 45%, transparent 70%);
  animation: enter 1.4s var(--ease) .3s both;
}
.hero__ring::before, .hero__ring span {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(var(--cyan-rgb), .35);
  animation: spin 40s linear infinite;
}
.hero__ring span {
  inset: 0;
  border: 1.5px solid transparent;
  border-top-color: var(--cyan);
  border-right-color: rgba(var(--violet-rgb), .6);
  animation-duration: 14s;
  animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__figure {
  position: relative;
  width: 132%;
  margin-left: -6%;
  animation: figure-in 1.4s var(--ease) .35s both;
}
@keyframes figure-in {
  from { opacity: 0; transform: translateY(50px) scale(.95); clip-path: inset(100% 0 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
.hero__float {
  position: relative;
  animation: float 6.5s ease-in-out 1.8s infinite;
  will-change: transform;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero__mascot {
  width: 100%;
  aspect-ratio: 3 / 2;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.hero__beam {
  position: absolute;
  left: 8%; right: 8%;
  top: 100%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px 4px rgba(var(--cyan-rgb), .7);
  opacity: 0;
  animation: beam 1.4s var(--ease) .35s both;
}
@keyframes beam {
  0% { top: 100%; opacity: 1; }
  85% { opacity: 1; }
  100% { top: 0; opacity: 0; }
}

.visor-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(var(--cyan-rgb), .55) 0%, rgba(var(--cyan-rgb), .18) 40%, transparent 70%);
  mix-blend-mode: screen;
  animation: visor 3.6s ease-in-out infinite;
}
.visor-glow--hero { left: 41%; top: 11%; width: 27%; height: 17%; animation-delay: 2s; }
@keyframes visor {
  0%, 100% { opacity: .35; }
  45% { opacity: 1; }
  50% { opacity: .5; }
  55% { opacity: .95; }
}

.hud {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .65rem;
  background: rgba(3, 7, 20, .72);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  animation: enter .8s var(--ease) forwards;
}
.hud i { width: 6px; height: 6px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hud b { color: var(--cyan); font-weight: 400; }
.hud--a { top: 8%; left: 4%; animation-delay: 1.5s; }
.hud--b { top: 24%; right: -2%; animation-delay: 1.7s; }
.hud--c { bottom: 14%; left: 0; animation-delay: 1.9s; }
.hud--c i { background: var(--orange); box-shadow: 0 0 8px var(--orange); }

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(3, 7, 20, .82);
  padding: .9rem 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.ticker span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .16em;
  color: var(--ice);
  white-space: nowrap;
}
.ticker em { font-style: normal; font-size: .7rem; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

.scroll-cue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 5.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .3em;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-cue i {
  position: relative;
  width: 1px; height: 54px;
  background: var(--line-strong);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 18px;
  background: var(--cyan);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  from { transform: translateY(-20px); }
  to { transform: translateY(60px); }
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mission ---------- */
.mission {
  background:
    radial-gradient(50% 40% at 85% 20%, rgba(var(--violet-rgb), .12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.mission__bigtext {
  position: absolute;
  top: 46%;
  left: -5%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 15vw, 15rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--cyan-rgb), .07);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.panels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.panels__bus {
  position: absolute;
  left: -2rem; right: -2rem;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
  overflow: hidden;
}
.panels__bus i {
  position: absolute;
  top: -1px;
  width: 140px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: bus 4.5s linear infinite;
}
@keyframes bus {
  from { transform: translateX(-160px); }
  to { transform: translateX(110vw); }
}

.holo {
  position: relative;
  padding: 1.75rem 1.6rem 1.4rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px circle at var(--mx, -200px) var(--my, -200px), rgba(var(--cyan-rgb), .12), transparent 45%),
    linear-gradient(160deg, rgba(11, 29, 58, .92), rgba(7, 20, 43, .78));
  transition: border-color .4s;
  overflow: hidden;
}
.holo:nth-of-type(2) { margin-top: 3.5rem; }
.holo:nth-of-type(3) { margin-top: 1.75rem; }
.holo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 22px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 2px 22px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 22px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 2px 22px no-repeat;
}
.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(var(--cyan-rgb), .09) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 1s var(--ease);
}
.holo:hover { border-color: var(--line-strong); }
.holo:hover::after { transform: translateX(100%); }
.holo.is-visible { animation: flicker .9s steps(1) var(--rd, 0ms) 1; }
@keyframes flicker {
  0% { opacity: .2; } 10% { opacity: .9; } 20% { opacity: .35; } 30% { opacity: 1; } 45% { opacity: .7; } 55%, 100% { opacity: 1; }
}

.holo__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: .8rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--muted);
}
.holo__head span:first-child { color: var(--cyan); }
.holo__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line-strong);
  background: rgba(var(--cyan-rgb), .06);
  color: var(--cyan);
}
.holo__icon svg {
  width: 34px; height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.holo__title {
  margin-bottom: .7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.holo p { color: var(--muted); }
.holo__foot {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--muted);
}
.holo__meter {
  flex: 1;
  height: 8px;
  background:
    linear-gradient(90deg, var(--cyan) calc(var(--v) * 100%), rgba(var(--cyan-rgb), .12) 0);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 11px);
  mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 11px);
}
.holo__state { color: var(--cyan); }

/* ---------- The Code ---------- */
.code {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(var(--blue-rgb), .2), transparent 70%),
    var(--bg);
}
.code__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--blue-rgb), .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--blue-rgb), .1) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}

.directives {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.directive {
  --a: var(--cyan-rgb);
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 2.2fr) minmax(220px, 1.1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.6rem) clamp(1.5rem, 3.5vw, 2.8rem);
  border: 1px solid rgba(255, 255, 255, .06);
  background:
    linear-gradient(90deg, rgba(var(--a), .07), transparent 55%),
    linear-gradient(160deg, rgba(11, 29, 58, .9), rgba(5, 12, 30, .9));
  overflow: hidden;
  transition: border-color .5s, box-shadow .5s;
}
.directive--02 { --a: var(--violet-rgb); }
.directive--03 { --a: var(--orange-rgb); }
.directive--02 { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.directive--03 { clip-path: polygon(0 0, 100% 0, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }

.directive::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: rgb(var(--a));
  box-shadow: 0 0 18px rgb(var(--a));
  transform: scaleY(.18);
  transition: transform .6s var(--ease);
}
.directive::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgb(var(--a)), transparent 70%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .8s var(--ease);
}
.directive.is-active, .directive:hover {
  border-color: rgba(var(--a), .4);
  box-shadow: inset 0 0 60px rgba(var(--a), .07);
}
.directive.is-active::before, .directive:hover::before { transform: scaleY(1); }
.directive.is-active::after, .directive:hover::after { transform: scaleX(1); }

.directive__scan {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--a), .14) 50%, transparent);
  transform: translateX(-110%);
}
.directive.is-active .directive__scan { animation: scan 3.6s var(--ease) infinite; }
@keyframes scan {
  0% { transform: translateX(-110%); }
  65%, 100% { transform: translateX(380%); }
}

.directive__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--a), .5);
  transition: color .6s, text-shadow .6s, -webkit-text-stroke-color .6s;
}
.directive.is-active .directive__num, .directive:hover .directive__num {
  color: rgba(var(--a), .14);
  -webkit-text-stroke-color: rgb(var(--a));
  text-shadow: 0 0 40px rgba(var(--a), .4);
}

.directive__label {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgb(var(--a));
}
.directive__ping {
  position: relative;
  width: 7px; height: 7px;
  background: rgb(var(--a));
  box-shadow: 0 0 8px rgb(var(--a));
}
.directive.is-active .directive__ping { animation: blink 1s steps(1) infinite; }
.directive__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.9vw, 2.3rem);
  line-height: 1.12;
  text-transform: uppercase;
}
.directive__quote {
  position: relative;
  margin-top: .9rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(var(--a), .5);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  color: var(--ice);
}

/* Directive glyphs */
.glyph {
  position: relative;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(var(--a), .3);
  background: rgba(3, 7, 20, .6);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--muted);
}
.glyph__row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.glyph__row b { font-weight: 400; color: rgb(var(--a)); }
.glyph__inf { font-size: 1.6rem; line-height: 1; }
.glyph__stamp {
  position: relative;
  margin: .8rem auto;
  width: max-content;
  padding: .3rem .8rem;
  border: 2px solid rgba(255, 90, 110, .7);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .2em;
  color: rgba(255, 90, 110, .85);
  transform: rotate(-6deg);
}
.glyph__stamp::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  top: 50%;
  height: 3px;
  background: rgb(var(--a));
  box-shadow: 0 0 10px rgb(var(--a));
  transform: scaleX(0);
  transition: transform .6s var(--ease) .2s;
}
.directive.is-active .glyph__stamp::after, .directive:hover .glyph__stamp::after { transform: scaleX(1); }

.glyph--lock { display: flex; align-items: center; gap: 1rem; }
.glyph__lock {
  width: 58px; height: 58px;
  flex: none;
  fill: none;
  stroke: rgb(var(--a));
  stroke-width: 3;
  stroke-linecap: round;
}
.glyph__shackle { transition: transform .6s var(--ease); }
.directive.is-active .glyph__shackle, .directive:hover .glyph__shackle { transform: translate(8px, -8px) rotate(14deg); transform-origin: 44px 30px; }
.glyph__col { flex: 1; display: grid; gap: .7rem; }
.glyph__strike { position: relative; }
.glyph__strike::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; top: 50%;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transition: transform .5s var(--ease) .25s;
}
.directive.is-active .glyph__strike::after, .directive:hover .glyph__strike::after { transform: scaleX(1); }

.glyph__off { color: #ff5a6e !important; }
.glyph__file { margin: .9rem 0 .4rem; color: var(--text); }
.glyph__bar {
  height: 10px;
  margin-bottom: .9rem;
  border: 1px solid rgba(var(--a), .4);
  padding: 2px;
}
.glyph__bar i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, rgb(var(--a)) 0 6px, transparent 6px 8px);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.6s var(--ease);
}
.directive.is-active .glyph__bar i, .directive:hover .glyph__bar i { transform: scaleX(1); }

/* ---------- Interlude ---------- */
.interlude {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  text-align: center;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(var(--blue-rgb), .12), transparent 70%),
    var(--bg);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.interlude__status {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .3em;
  color: var(--muted);
}
.interlude__status b { font-weight: 400; color: #3dffa8; transition: color .3s; }
.interlude__status b.is-off { color: #ff5a6e; }
.interlude__text {
  max-width: 18ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.4vw, 5.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.interlude__text .w {
  display: inline-block;
  color: rgba(145, 171, 198, .16);
  transition: color .45s, text-shadow .45s;
}
.interlude__text .w.is-on { color: var(--text); }
.interlude__text .w.is-key.is-on { color: var(--cyan); text-shadow: 0 0 30px rgba(var(--cyan-rgb), .45); }

/* ---------- Meet CyberInu ---------- */
.meet {
  background:
    radial-gradient(45% 50% at 25% 50%, rgba(var(--blue-rgb), .2), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.meet__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.meet__frame {
  position: relative;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(var(--blue-rgb), .3), transparent 70%),
    linear-gradient(rgba(var(--cyan-rgb), .05) 1px, transparent 1px) 0 0 / 100% 28px,
    rgba(7, 20, 43, .6);
}
.meet__frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 30px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 2px 30px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 30px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 2px 30px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 100% / 30px 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 100% / 2px 30px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 30px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 2px 30px no-repeat;
}
.meet__label {
  position: absolute;
  top: .9rem; left: 1.1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--cyan);
}
.meet__label::before { content: "● "; color: #3dffa8; animation: blink 1.4s steps(1) infinite; }
.meet__pet { display: block; width: 100%; cursor: pointer; }
.meet__figure {
  position: relative;
  display: block;
  animation: float 7s ease-in-out infinite;
}
.meet__figure img { width: 100%; aspect-ratio: 3 / 2; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.meet__figure.is-poked { animation: poke .6s var(--ease); }
@keyframes poke {
  0% { transform: none; }
  30% { transform: translateY(-16px) rotate(-1.5deg); }
  60% { transform: translateY(2px) rotate(.8deg); }
  100% { transform: none; }
}
.visor-glow--meet { left: 39%; top: 17%; width: 33%; height: 15%; transform: rotate(4deg); }
.meet__pet:hover .visor-glow--meet, .meet__pet:focus-visible .visor-glow--meet { animation-duration: 1.2s; }

.meet__bubble {
  position: absolute;
  top: 12%;
  right: 4%;
  z-index: 3;
  max-width: 220px;
  padding: .75rem 1rem;
  background: var(--ice);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 26% 78%, 12% 100%, 14% 78%, 0 78%);
  padding-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(8px) scale(.9);
  transform-origin: 15% 100%;
  transition: opacity .25s, transform .35s var(--ease);
  pointer-events: none;
}
.meet__bubble.is-show { opacity: 1; transform: none; }
.meet__hint {
  position: absolute;
  right: 1.1rem; bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--muted);
}

.meet__text {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ice);
  max-width: 46ch;
}

.profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.profile div { padding: .85rem 1rem; background: var(--bg-2); }
.profile dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile dd { margin-top: .15rem; font-weight: 600; }

.stats { display: grid; gap: .75rem; margin-top: 1.75rem; }
.stat {
  display: grid;
  grid-template-columns: minmax(0, 10.5rem) 1fr 2.5rem;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--muted);
}
.stat b { font-weight: 400; color: var(--cyan); text-align: right; }
.stat__bar {
  position: relative;
  height: 6px;
  background: rgba(var(--cyan-rgb), .1);
  overflow: hidden;
}
.stat__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease) .3s;
}
.stats.is-visible .stat__bar::after { transform: scaleX(var(--v)); }
.stat--zero b { color: var(--orange); }
.stat--zero .stat__bar::after { background: var(--orange); }
.no-js .stat__bar::after, html:not(.js) .stat__bar::after { transform: scaleX(var(--v)); }

/* ---------- Archive ---------- */
.archive { background: var(--bg-2); }
.archive::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(var(--cyan-rgb), .03) 0 1px, transparent 1px 26px);
}

.console {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line-strong);
  background: #020611;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 80px rgba(var(--blue-rgb), .06);
}
.console__bar, .term__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  padding: .8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--cyan-rgb), .04);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  color: var(--muted);
}
.console__dots { display: inline-flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border: 1px solid var(--line-strong); }
.console__dots i:first-child { background: var(--orange); border-color: var(--orange); }
.console__name { color: var(--text); margin-right: auto; }
.console__meta b { font-weight: 400; }
.is-off { color: #ff5a6e; animation: blink 1.6s steps(1) infinite; }
.is-ok { color: #3dffa8; }

.console__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}
.saves {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
  display: grid;
  gap: .75rem;
  align-content: start;
}
.saves__title {
  margin-bottom: .25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .24em;
  color: var(--cyan);
}
.save {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "id name"
    "id meta"
    "bar bar";
  column-gap: 1rem;
  row-gap: .2rem;
  width: 100%;
  padding: .9rem 1rem .9rem 2.2rem;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(var(--cyan-rgb), .02);
  font-family: var(--font-mono);
  letter-spacing: .1em;
  transition: border-color .25s, background-color .25s;
}
.save:hover { border-color: var(--line-strong); background: rgba(var(--cyan-rgb), .05); }
.save.is-active { border-color: var(--cyan); background: rgba(var(--cyan-rgb), .09); }
.save__arrow {
  position: absolute;
  left: .8rem; top: 1rem;
  font-size: .7rem;
  color: var(--cyan);
  opacity: 0;
}
.save.is-active .save__arrow { opacity: 1; animation: blink 1s steps(1) infinite; }
.save__id { grid-area: id; font-size: .72rem; color: var(--muted); padding-top: .15rem; }
.save__name { grid-area: name; color: var(--text); font-size: .95rem; overflow-wrap: anywhere; }
.save__meta { grid-area: meta; font-size: .72rem; color: var(--muted); }
.save__bar {
  grid-area: bar;
  height: 3px;
  margin-top: .6rem;
  background: linear-gradient(90deg, var(--cyan) calc(var(--v) * 100%), rgba(var(--cyan-rgb), .12) 0);
}
.saves__keys {
  margin-top: .4rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--muted);
}
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: .05rem .3rem;
  border: 1px solid var(--line-strong);
  font-family: inherit;
  text-align: center;
  color: var(--ice);
}

.readout {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-mono);
}
.readout__path { font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.readout__title {
  margin: .5rem 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: .06em;
  color: var(--text);
}
.readout__lines {
  flex: 1;
  min-height: 11.5em;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--ice);
}
.readout__lines p { white-space: pre-wrap; }
.readout__lines .is-msg {
  margin-top: .8rem;
  padding-left: .9rem;
  border-left: 2px solid var(--orange);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
}
.readout__lines p:last-child::after {
  content: "_";
  margin-left: 2px;
  color: var(--cyan);
  animation: blink .9s steps(1) infinite;
}
.readout__progress {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.5rem;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--muted);
}
.readout__bar {
  flex: 1;
  height: 8px;
  border: 1px solid var(--line-strong);
  padding: 1px;
}
.readout__bar i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 5px, transparent 5px 7px);
  transform-origin: 0 50%;
}
.readout__progress.is-run .readout__bar i { animation: load 1.8s var(--ease) both; }
.readout__pct { color: var(--cyan); }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.archive__note {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-align: center;
}

/* ---------- Token Access ---------- */
.token {
  background:
    radial-gradient(45% 55% at 80% 50%, rgba(var(--blue-rgb), .2), transparent 70%),
    var(--bg);
}
.token__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.token__warn {
  display: flex;
  gap: .75rem;
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(var(--orange-rgb), .35);
  background: rgba(var(--orange-rgb), .06);
  font-size: .92rem;
  color: var(--text);
}
.token__warn svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: .15rem;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.token__warn a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.is-live .prelaunch-only { display: none; }

.access {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(500px circle at var(--mx, -300px) var(--my, -300px), rgba(var(--cyan-rgb), .1), transparent 45%),
    linear-gradient(150deg, rgba(11, 29, 58, .96), rgba(5, 12, 30, .96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(var(--blue-rgb), .15);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.access::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
}
.access__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.4rem;
  margin-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}
.access__logo {
  width: 64px; height: 64px;
  flex: none;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
}
.access__logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); transform-origin: 53% 22%; }
.access__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; }
.access__sym { font-family: var(--font-mono); color: var(--cyan); letter-spacing: .14em; }
.pill {
  margin-left: auto;
  padding: .35rem .7rem;
  border: 1px solid rgba(var(--orange-rgb), .55);
  background: rgba(var(--orange-rgb), .1);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
}
.is-live .pill { color: #3dffa8; border-color: rgba(61, 255, 168, .5); background: rgba(61, 255, 168, .08); }

.access__rows div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px dashed var(--line);
}
.access__rows dt {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.access__rows dd {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  text-align: right;
  min-width: 0;
}
.access__rows code {
  font-family: var(--font-mono);
  font-size: .95rem;
  color: var(--ice);
  overflow-wrap: anywhere;
}
.access__ca dd { flex-wrap: wrap; justify-content: flex-end; }
.tag {
  padding: .15rem .45rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .14em;
  border: 1px solid currentColor;
}
.tag--warn { color: var(--orange); }
.tag--ok { color: #3dffa8; }
.sol-dot {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, #9945ff, #14f195);
  clip-path: polygon(20% 0, 100% 0, 80% 30%, 0 30%, 20% 35%, 100% 35%, 80% 65%, 0 65%, 20% 70%, 100% 70%, 80% 100%, 0 100%);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: blink 1.6s steps(1) infinite;
}
.is-live .pulse-dot { background: #3dffa8; box-shadow: 0 0 10px #3dffa8; }

.access__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.6rem;
}
.access__actions .btn { padding-inline: .9rem; font-size: .72rem; }

/* ---------- Terminal ---------- */
.terminal {
  background:
    radial-gradient(50% 40% at 50% 100%, rgba(var(--violet-rgb), .14), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.term {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line-strong);
  background: #020611;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(var(--blue-rgb), .12);
}
.term__pair { font-family: var(--font-display); font-weight: 700; color: var(--text); letter-spacing: .1em; }
.term__pair em { font-style: normal; color: var(--muted); }
.term__src { margin-right: auto; }
.term__state { display: inline-flex; align-items: center; gap: .5rem; color: var(--orange); }
.term__state i { width: 7px; height: 7px; background: currentColor; box-shadow: 0 0 8px currentColor; animation: blink 1.2s steps(1) infinite; }
.term__state.is-live { color: #3dffa8; }

.term__screen {
  position: relative;
  aspect-ratio: 16 / 8;
  min-height: 420px;
  overflow: hidden;
}
.term__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.term__waiting {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(rgba(var(--cyan-rgb), .06) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(var(--cyan-rgb), .06) 1px, transparent 1px) 0 0 / 64px 100%;
}
.term__waiting[hidden] { display: none; }
.term__line {
  position: absolute;
  left: 0; top: 50%;
  width: 100%;
  height: 40%;
  transform: translateY(-50%);
  opacity: .9;
}
.term__line path { fill: none; vector-effect: non-scaling-stroke; }
.term__line-base { stroke: rgba(var(--cyan-rgb), .2); stroke-width: 1; }
.term__line-blip {
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-dasharray: 160 1400;
  stroke-dashoffset: 1560;
  animation: blip 4s linear infinite;
}
@keyframes blip { to { stroke-dashoffset: 0; } }

.term__log {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.6rem;
  min-width: min(92%, 440px);
  border: 1px solid var(--line-strong);
  background: rgba(2, 6, 17, .9);
  font-family: var(--font-mono);
  font-size: .9rem;
  letter-spacing: .06em;
  line-height: 1.9;
  color: var(--muted);
  white-space: pre;
}
.term__log b { font-weight: 400; color: var(--ice); }
.term__log b.is-warn { color: var(--orange); }
.term__await {
  margin-top: .6rem;
  padding-top: .6rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .2em;
  color: var(--cyan);
  animation: holo-flicker 5s steps(1) infinite;
}
.term__cursor { animation: blink .8s steps(1) infinite; }
@keyframes holo-flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: .4; }
  94% { opacity: 1; }
  95.5% { opacity: .6; }
}

.term__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Community ---------- */
.community { background: var(--bg-2); padding-bottom: clamp(5rem, 10vw, 8rem); }
.community__banner {
  position: relative;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.community__banner img { width: 100%; aspect-ratio: 2172 / 724; object-fit: cover; }
.community__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 20, 43, .9) 100%);
}
.community__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  margin: -5rem auto 0;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(500px circle at var(--mx, -300px) var(--my, -300px), rgba(var(--cyan-rgb), .1), transparent 45%),
    linear-gradient(160deg, rgba(11, 29, 58, .98), rgba(5, 12, 30, .98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
}
.community__text {
  max-width: 52ch;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.community__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 4.5rem 0 2rem;
  background: #02050f;
  border-top: 1px solid var(--line);
}
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__tag {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .16em;
  color: var(--ice);
}
.footer__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.footer__meta span {
  padding: .25rem .6rem;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--muted);
}
.footer__head {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer__nav ul { display: grid; gap: .55rem; }
.footer__nav a { color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__link .btn__tag { margin-left: .5rem; font-size: .6rem; }
.footer__link.is-locked { cursor: not-allowed; }

.footer__disclaimer {
  margin-top: 3rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  background: rgba(var(--cyan-rgb), .02);
  font-size: .85rem;
  line-height: 1.7;
  color: var(--muted);
}
.footer__disclaimer strong { color: var(--text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--muted);
}
.footer__top:hover { color: var(--cyan); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 0; }
  .nav__link { padding-inline: .55rem; }
  .nav__idx { display: none; }
  .directive { grid-template-columns: minmax(100px, .6fr) minmax(0, 2fr); }
  .glyph { grid-column: 2; max-width: 380px; }
  .access__actions { grid-template-columns: 1fr 1fr; }
  .access__actions .btn:first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }

  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
    background: rgba(3, 7, 20, .98);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s;
  }
  .nav__menu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
      linear-gradient(rgba(var(--cyan-rgb), .05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--cyan-rgb), .05) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .4s, transform .5s var(--ease);
  }
  .nav.is-open .nav__links li { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * 60ms); }
  .nav__link {
    display: flex;
    gap: 1rem;
    padding: 1.05rem .25rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text);
  }
  .nav__idx { display: inline; font-size: .8rem; }
  .nav__link::after { left: .25rem; right: auto; width: 40px; bottom: -1px; }
  .nav__actions { gap: .75rem; }
  .nav__actions .btn { flex: 1; min-height: 54px; font-size: .85rem; }
  .nav__x { width: 54px; height: 54px; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 2.25rem;
    text-align: center;
  }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 5.5rem); }
  .hero__desc { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__stage { margin-top: 1.5rem; }
  .hero__figure { width: 118%; margin-left: 0; }
  .hud--b { right: 2%; }
  .scroll-cue { display: none; }

  .panels { grid-template-columns: 1fr; max-width: 560px; }
  .holo:nth-of-type(2), .holo:nth-of-type(3) { margin-top: 0; }
  .panels__bus { left: 1.5rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .panels__bus i { display: none; }

  .meet__grid { grid-template-columns: 1fr; }
  .meet__visual { max-width: 640px; width: 100%; margin-inline: auto; }

  .console__body { grid-template-columns: 1fr; }
  .saves { border-right: 0; border-bottom: 1px solid var(--line); }

  .token__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .fx-scanlines::after { display: none; }
  .circuit__pulses path:nth-child(n+4) { display: none; }

  .btn--lg { min-height: 54px; padding-inline: 1.3rem; font-size: .76rem; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 360px; }
  .hero__ctas .btn { width: 100%; }
  .hero__figure { width: 128%; margin-left: -14%; }
  .hero__ring { width: 86%; }
  .hud { font-size: .62rem; padding: .25rem .5rem; }
  .hud--c { display: none; }
  .ticker span { font-size: .78rem; }

  .directive {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .directive__num { font-size: 4.2rem; }
  .glyph { grid-column: auto; max-width: none; }

  .profile { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr 2.5rem; row-gap: .35rem; }
  .stat__bar { grid-column: 1 / -1; grid-row: 2; }

  .save { padding-left: 2rem; }
  .readout__lines { min-height: 13.5em; }

  .access__actions { grid-template-columns: 1fr; }
  .access__actions .btn:first-child { grid-column: auto; }
  .access__rows div { flex-wrap: wrap; }

  .term__screen { aspect-ratio: auto; min-height: 460px; }
  .term__log { font-size: .78rem; padding: 1.1rem 1.1rem; white-space: pre-wrap; }
  .term__src { display: none; }
  .term__foot .btn { width: 100%; }

  .community__panel { margin-top: -1.5rem; }
  .community__actions { flex-direction: column; }
  .community__actions .btn { width: 100%; }
  .meet__bubble { font-size: .72rem; max-width: 180px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .meet__hint::before { content: "TAP"; }
  .meet__hint { font-size: 0; }
  .meet__hint::before { font-size: .68rem; }
  .meet__hint::after { content: " TO PING"; font-size: .68rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .fx-scanlines::after, .hero__beam, .glitch::before, .glitch::after { display: none; }
  .js .reveal { transform: none; }
}
