/* ============================================================
   GOVERSE.OS — AI operating layer
   Palette: near-black cockpit · cyan hologram · warm signal · GoData green
   Type: Google Sans (local)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/GoogleSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/GoogleSans-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/GoogleSans-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("assets/fonts/GoogleSans-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg-0: #050914;
  --bg-1: #08111F;
  --bg-2: #0A1020;
  --panel: rgba(10, 18, 36, 0.72);
  --panel-solid: #0A1224;

  --cyan: #00E5FF;
  --gold: #D7B76E;
  --crimson: #FF3042;
  --signal: #446AFF;
  --warm: #FF9F6B;
  --godata: #00D68C;
  --godata-strong: #00B377;
  --godata-deep: #008A5C;
  --violet: #7C5CFF;

  --accent: var(--cyan);
  --accent-soft: rgba(0, 229, 255, 0.16);
  --accent-line: rgba(0, 229, 255, 0.28);
  --accent-glow: rgba(0, 229, 255, 0.20);

  --gold-line: rgba(215, 183, 110, 0.32);
  --gold-soft: rgba(215, 183, 110, 0.14);

  --text-hi: #E8F1FF;
  --text-body: #C6D3E1;
  --text-mute: #A6BBDA;

  --font: "Google Sans", "Segoe UI", system-ui, sans-serif;
  --cut: 14px;
  --cut-sm: 9px;
  --section-pad: clamp(84px, 11vw, 150px);
  --inner-max: 1200px;
  --header-h: 72px;
  --header-safe-h: calc(var(--header-h) + env(safe-area-inset-top));
}

html[data-accent="gold"] {
  --accent: #D7B76E;
  --accent-soft: rgba(215, 183, 110, 0.16);
  --accent-line: rgba(215, 183, 110, 0.32);
  --accent-glow: rgba(215, 183, 110, 0.22);
}
html[data-accent="crimson"] {
  --accent: #FF3042;
  --accent-soft: rgba(255, 48, 66, 0.14);
  --accent-line: rgba(255, 48, 66, 0.30);
  --accent-glow: rgba(255, 48, 66, 0.20);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
img { max-width: 100%; display: block; }
.img-missing { opacity: 0 !important; }
[data-media-error] {
  position: relative;
  background:
    linear-gradient(135deg, rgba(248, 113, 113, 0.10), rgba(5, 9, 20, 0.86)),
    rgba(10, 18, 36, 0.78);
}
[data-media-error]::before {
  content: attr(data-media-error);
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--text-hi);
  border: 1px dashed rgba(248, 113, 113, 0.35);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--text-hi); margin: 0 0 0.5em; text-wrap: pretty; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); }
a, button, [role="button"], input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--accent); color: #03101a; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--panel-solid); color: var(--text-hi);
  padding: 10px 18px; border: 1px solid var(--accent-line);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Scroll meter ---------- */
.scroll-meter {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 210;
  background: rgba(255, 255, 255, 0.05);
}
.scroll-meter span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- Boot overlay ---------- */
.boot-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.boot-overlay.boot-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-overlay[hidden] { display: none; }
.boot-core { width: min(420px, 80vw); text-align: center; }
.boot-ring {
  width: 64px; height: 64px; margin: 0 auto 28px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.15);
  border-top-color: var(--cyan);
  animation: boot-spin 0.9s linear infinite;
}
@keyframes boot-spin { to { transform: rotate(360deg); } }
.boot-lines { display: grid; gap: 8px; margin-bottom: 26px; }
.boot-line {
  font-size: 12px; letter-spacing: 0.22em; color: var(--text-mute);
  opacity: 0; animation: boot-line-in 0.4s ease forwards;
}
.boot-line:nth-child(1) { animation-delay: 0.1s; }
.boot-line:nth-child(2) { animation-delay: 0.5s; }
.boot-line:nth-child(3) { animation-delay: 0.95s; color: var(--cyan); }
@keyframes boot-line-in { to { opacity: 1; } }
.boot-bar {
  height: 3px; background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.boot-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 0.25s ease;
}
.boot-skip {
  margin-top: 18px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--accent-line);
  background: rgba(5, 9, 20, 0.58);
  color: var(--text-mute);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s ease, transform 0.24s ease, color 0.2s, border-color 0.2s;
}
.boot-skip.show { opacity: 1; transform: none; }
.boot-skip:hover { color: var(--text-hi); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 3.5vw, 44px);
  background: rgba(5, 9, 20, 0.74);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--accent-line);
}
.brand-lockup {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; min-width: 0; flex: none;
}
.brand-sigil {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.brand-sigil img { width: 34px; height: 34px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.25; min-width: 0; }
.brand-text strong {
  color: var(--text-hi); font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; white-space: nowrap;
}
.brand-text strong b { color: var(--cyan); font-weight: 700; }
.brand-text small {
  color: var(--text-mute); font-size: 10px; letter-spacing: 0.18em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a,
.site-nav button {
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
  padding: 9px 10px;
  color: var(--text-mute); text-decoration: none;
  font-size: 12px; font-weight: 500; letter-spacing: 0.055em;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-idx { font-size: 10px; color: var(--accent); opacity: 0.65; letter-spacing: 0.1em; }
.site-nav a:hover,
.site-nav button:hover { color: var(--text-hi); }
.site-nav a.is-active {
  color: var(--text-hi);
  border-color: var(--accent-line);
  background: var(--accent-soft);
  box-shadow: 0 0 16px var(--accent-glow);
}
.site-nav button.nav-watch {
  margin-left: 10px;
  color: #061018;
  font-weight: 800;
  background: linear-gradient(115deg, var(--cyan), var(--gold));
  border-color: transparent;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
  box-shadow: 0 0 18px var(--accent-glow);
}
.site-nav button.nav-watch:hover { color: #061018; filter: brightness(1.08); }
.site-nav a.nav-cta {
  margin-left: 4px;
  color: #061018; font-weight: 700;
  background: linear-gradient(115deg, var(--cyan), var(--warm));
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.site-nav a.nav-cta:hover { filter: brightness(1.1); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 14px;
  background: transparent; cursor: pointer;
  border: 1px solid var(--accent-line);
  color: var(--text-mute);
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang-toggle i { width: 1px; height: 14px; background: var(--accent-line); }
.lang-toggle .lang-en { color: var(--accent); }
html[lang="vi"] .lang-toggle .lang-en { color: var(--text-mute); }
html[lang="vi"] .lang-toggle .lang-vi { color: var(--accent); }
.lang-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }

.nav-toggle {
  display: none;
  width: 46px; height: 44px;
  background: transparent; border: 1px solid var(--accent-line);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--accent);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 28px;
  font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer; border: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: filter 0.2s, transform 0.15s, background 0.2s, box-shadow 0.2s;
  max-width: 100%;
  text-align: center;
  line-height: 1.25;
}
.button span { min-width: 0; overflow-wrap: anywhere; }
.button:active { transform: scale(0.97); }
.button-primary {
  color: #061018;
  background: linear-gradient(115deg, var(--cyan) 8%, var(--warm) 96%);
  box-shadow: 0 0 28px var(--accent-glow);
}
.button-primary:hover { filter: brightness(1.12); }
.btn-arrow { font-style: normal; transition: transform 0.2s; }
.button-primary:hover .btn-arrow { transform: translateX(4px); }
.button-secondary {
  color: var(--text-hi);
  background: rgba(8, 17, 31, 0.6);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.button-secondary:hover {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 18px var(--accent-glow);
}
.button-small {
  min-height: 44px; padding: 9px 18px; font-size: 13px;
  color: #061018;
  background: linear-gradient(115deg, var(--cyan), var(--gold));
}
.button-small:hover { filter: brightness(1.1); }
.button:disabled,
.button.is-loading {
  cursor: wait;
  opacity: 0.76;
  filter: saturate(0.82);
}
.button:disabled:active { transform: none; }
.button-quiet {
  color: var(--text-body); background: transparent;
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.button-quiet:hover { color: var(--text-hi); background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% 30%, rgba(68, 106, 255, 0.14), transparent 65%),
    radial-gradient(900px 600px at 15% 85%, rgba(215, 183, 110, 0.07), transparent 60%),
    var(--bg-0);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.92) 0%, rgba(5, 9, 20, 0.72) 42%, rgba(5, 9, 20, 0.32) 100%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.16), rgba(5, 9, 20, 0.82)),
    url("assets/img/scenes/hero-core-bg.webp") center right / cover no-repeat;
  opacity: 0.6;
  filter: saturate(1.05) contrast(1.08);
}
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-grid {
  position: absolute; left: -25%; right: -25%; bottom: -12%; height: 52%;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, var(--accent-line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, var(--accent-line) 0 1px, transparent 1px 64px);
  transform: perspective(620px) rotateX(64deg);
  transform-origin: top center;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
  mask-image: linear-gradient(to bottom, transparent, #000 30%);
  will-change: transform, background-position;
}
/* floor rushing toward the viewer */
html[data-depth="on"][data-motion="full"] .hero-grid { animation: grid-flow 2.8s linear infinite; }
html[data-depth="on"][data-motion="calm"] .hero-grid { animation: grid-flow 7s linear infinite; }
@keyframes grid-flow {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 0, 0 64px; }
}
.hero-glow {
  position: absolute; left: 50%; bottom: -30%;
  z-index: 1;
  width: 1200px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.hero-scanlines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px);
}
.hero-sweep {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  z-index: 2;
}
.hero-sweep::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 32%;
  left: -45%;
  background: linear-gradient(100deg, transparent, rgba(0, 229, 255, 0.045) 45%, rgba(215, 183, 110, 0.05) 55%, transparent);
  transform: skewX(-12deg);
  animation: hero-sweep 14s ease-in-out infinite;
}
@keyframes hero-sweep {
  0%, 55% { left: -45%; }
  85%, 100% { left: 125%; }
}

/* HUD rings */
.hero-hud {
  position: absolute; top: 50%; right: clamp(-180px, -6vw, -40px);
  z-index: 2;
  width: clamp(420px, 44vw, 720px); aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.9;
  perspective: 1100px;
  transform-style: preserve-3d;
  will-change: transform;
}
.hud-ring { position: absolute; border-radius: 50%; }
.hud-ring-1 {
  inset: 0;
  border: 1px dashed rgba(0, 229, 255, 0.22);
  animation: hud-rotate 84s linear infinite;
}
.hud-ring-1::before {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}
.hud-ring-2 {
  inset: 12%;
  border: 1px solid rgba(215, 183, 110, 0.20);
  border-left-color: transparent; border-right-color: transparent;
  animation: hud-rotate 58s linear infinite reverse;
}
/* gyroscope: tilt two rings into 3D orbits when depth is on */
html[data-depth="on"] .hud-ring-1 { animation: hud-gyro-a 72s linear infinite; }
html[data-depth="on"] .hud-ring-2 { animation: hud-gyro-b 54s linear infinite; }
@keyframes hud-gyro-a {
  from { transform: rotateX(62deg) rotateZ(0deg); }
  to   { transform: rotateX(62deg) rotateZ(360deg); }
}
@keyframes hud-gyro-b {
  from { transform: rotateY(58deg) rotateX(8deg) rotateZ(360deg); }
  to   { transform: rotateY(58deg) rotateX(8deg) rotateZ(0deg); }
}
.hud-ring-3 {
  inset: 26%;
  border: 2px solid rgba(0, 229, 255, 0.10);
  border-top-color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
  animation: hud-rotate 28s linear infinite;
}
@keyframes hud-rotate { to { transform: rotate(360deg); } }
.hud-core {
  position: absolute; inset: 38%;
  display: grid; place-items: center; align-content: center; gap: 2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.10), rgba(5, 9, 20, 0.4) 75%);
  border: 1px solid var(--accent-line);
}
.hud-core span {
  font-size: clamp(34px, 3.6vw, 56px); font-weight: 700; color: var(--text-hi);
  letter-spacing: 0.04em; text-shadow: 0 0 24px var(--accent-glow);
}
.hud-core small { font-size: 10px; letter-spacing: 0.34em; color: var(--accent); }

/* Hero frame & copy */
.hero-frame {
  position: relative; z-index: 3;
  width: 100%; max-width: 1380px; margin: 0 auto;
  padding: calc(var(--header-h) + 28px) clamp(18px, 4vw, 56px) 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 28px;
}
.hero-meta, .hero-footmeta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.meta-chip {
  font-size: 10.5px; letter-spacing: 0.26em; color: var(--text-mute);
  border: 1px solid rgba(155, 173, 195, 0.18);
  padding: 6px 12px;
  background: rgba(5, 9, 20, 0.45);
}
.hero-footmeta { justify-content: flex-start; gap: 18px; }
.scroll-cue {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: cue-pulse 2s ease-in-out infinite;
}
@keyframes cue-pulse { 50% { opacity: 0.25; } }

.hero-copy {
  max-width: 860px;
  padding: clamp(14px, 2.2vw, 30px) 0 clamp(16px, 2.2vw, 30px) clamp(18px, 3vw, 34px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.75);
}
.hero-copy::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: 0; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--gold) 62%, transparent);
  box-shadow: 0 0 22px var(--accent-glow);
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: cue-pulse 1.6s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 92px);
  font-weight: 700; line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  overflow-wrap: break-word;
}
.hero-statement {
  font-size: clamp(19px, 2.2vw, 26px); font-weight: 600;
  color: var(--text-hi); line-height: 1.4;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.5;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: -6px 0 14px;
}
.hero-statement::after { content: " _"; color: var(--accent); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-body { max-width: 60ch; margin-bottom: 26px; }

.hero-actions { order: 5; display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-status { order: 6; display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-bottom: 22px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--text-body);
  border: 1px solid rgba(155, 173, 195, 0.2);
  background: rgba(5, 9, 20, 0.5);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.status-chip i {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: cue-pulse 2.2s ease-in-out infinite;
}
.status-chip:nth-child(2n) i { animation-delay: 0.6s; }
.hero-proofline {
  order: 7;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0 0 28px;
  border-top: 1px solid rgba(0, 229, 255, 0.18);
  border-bottom: 1px solid rgba(215, 183, 110, 0.20);
  background: linear-gradient(90deg, rgba(5, 9, 20, 0.46), rgba(5, 9, 20, 0.14));
}
.hero-proofline > span {
  display: grid; gap: 2px;
  padding: 12px 14px;
  border-right: 1px solid rgba(155, 173, 195, 0.14);
  font-size: 12px; line-height: 1.35;
  color: var(--text-body);
}
.hero-proofline > span:last-child { border-right: 0; }
.hero-proofline b {
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--gold);
}
/* Glitch effect */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  line-height: inherit;
}
html[data-glitch="on"] .glitch.glitching::before {
  opacity: 0.85; color: var(--cyan);
  animation: glitch-a 0.45s steps(2) both;
}
html[data-glitch="on"] .glitch.glitching::after {
  opacity: 0.85; color: var(--crimson);
  animation: glitch-b 0.45s steps(2) both;
}
@keyframes glitch-a {
  0% { transform: translate(-4px, -2px); clip-path: inset(10% 0 62% 0); }
  33% { transform: translate(3px, 1px); clip-path: inset(48% 0 22% 0); }
  66% { transform: translate(-2px, 2px); clip-path: inset(72% 0 8% 0); }
  100% { transform: translate(0, 0); clip-path: inset(40% 0 40% 0); opacity: 0; }
}
@keyframes glitch-b {
  0% { transform: translate(4px, 2px); clip-path: inset(58% 0 16% 0); }
  33% { transform: translate(-3px, -1px); clip-path: inset(12% 0 70% 0); }
  66% { transform: translate(2px, -2px); clip-path: inset(30% 0 48% 0); }
  100% { transform: translate(0, 0); clip-path: inset(40% 0 40% 0); opacity: 0; }
}

/* ---------- Audience tier selector ---------- */
.tier-selector {
  position: relative;
  z-index: 4;
  padding: clamp(28px, 4vw, 54px) 0 clamp(18px, 3vw, 34px);
  background:
    radial-gradient(760px 260px at 20% 0%, rgba(255, 159, 107, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.86), rgba(5, 9, 20, 0.98));
  border-top: 1px solid rgba(255, 159, 107, 0.14);
  border-bottom: 1px solid rgba(0, 229, 255, 0.10);
}
.tier-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.45fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
}
.tier-copy h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  max-width: 15ch;
}
.tier-copy p:last-child {
  margin: 0;
  color: var(--text-mute);
  max-width: 48ch;
}
.tier-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tier-option {
  position: relative;
  min-height: 152px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 16px;
  text-align: left;
  font-family: var(--font);
  color: var(--text-body);
  background: linear-gradient(165deg, rgba(10, 18, 36, 0.88), rgba(5, 9, 20, 0.78));
  border: 1px solid rgba(166, 187, 218, 0.20);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tier-option:hover,
.tier-option.is-active {
  transform: translateY(-3px);
  border-color: rgba(255, 159, 107, 0.58);
  background: linear-gradient(165deg, rgba(20, 34, 63, 0.92), rgba(5, 9, 20, 0.82));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 159, 107, 0.14);
}
.tier-option.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54%;
  height: 2px;
  background: linear-gradient(90deg, var(--warm), transparent);
}
.tier-code {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #061018;
  background: linear-gradient(115deg, var(--cyan), var(--warm));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.tier-option b {
  color: var(--text-hi);
  font-size: 17px;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}
.tier-option small {
  color: var(--text-mute);
  font-size: 12.5px;
  line-height: 1.45;
}

/* ---------- Metric strip ---------- */
.metric-strip {
  position: relative; z-index: 3;
  max-width: var(--inner-max);
  margin: -56px auto 0;
  padding: 0 clamp(18px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.tier-selector + .metric-strip {
  margin-top: 0;
  padding-top: clamp(26px, 4vw, 42px);
}
.metric {
  padding: 26px 24px 22px;
  background: linear-gradient(165deg, rgba(10, 18, 36, 0.94), rgba(5, 9, 20, 0.9));
  border: 1px solid var(--accent-line);
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.metric::before {
  content: ""; position: absolute; top: 0; left: 0; width: 44%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.metric strong {
  display: block;
  font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.1;
  color: var(--text-hi);
  margin-bottom: 8px;
  text-shadow: 0 0 22px var(--accent-glow);
}
.metric:nth-child(2) strong, .metric:nth-child(4) strong { color: var(--gold); text-shadow: 0 0 22px var(--gold-soft); }
.metric span { font-size: 13.5px; line-height: 1.5; color: var(--text-mute); display: block; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-pad) 0; }
.section-deep {
  background:
    radial-gradient(900px 460px at 85% 8%, rgba(68, 106, 255, 0.08), transparent 60%),
    var(--bg-1);
  border-top: 1px solid rgba(0, 229, 255, 0.10);
  border-bottom: 1px solid rgba(0, 229, 255, 0.10);
}
.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}
.section-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.kicker-tag {
  font-size: 10px; padding: 3px 8px; letter-spacing: 0.16em;
  color: var(--gold); border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}
.section h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700; line-height: 1.14;
  max-width: 21ch;
  margin-bottom: 20px;
}
.lead { font-size: 17.5px; max-width: 58ch; }
.section-heading { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-heading p:last-child { max-width: 58ch; }

/* ---------- Cinematic story scenes ---------- */
.cinema-strip {
  position: relative;
  --scene-progress: 0;
  min-height: clamp(420px, 52vw, 620px);
  overflow: hidden;
  background: #050914;
  border-top: 1px solid rgba(0, 229, 255, 0.10);
  border-bottom: 1px solid rgba(255, 159, 107, 0.10);
}
.cinema-frame {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(28px, 5vw, 74px) clamp(18px, 5vw, 72px);
}
.cinema-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 5, 12, 0.72), transparent 16%, transparent 84%, rgba(2, 5, 12, 0.76)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
  opacity: 0.48;
}
.cinema-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(5, 9, 20, 0.94), rgba(5, 9, 20, 0.62) 52%, rgba(5, 9, 20, 0.86)),
    #050914;
}
.cinema-media img,
.cinema-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.7s ease, transform 7s ease;
  filter: saturate(0.88) contrast(1.08);
}
.cinema-media.is-loaded img,
.cinema-media.is-loaded video {
  opacity: 0.58;
  transform: scale(1.0);
}
.cinema-strip.is-active .cinema-media.is-loaded img,
.cinema-strip.is-active .cinema-media.is-loaded video {
  opacity: 0.64;
  filter: saturate(0.96) contrast(1.12);
}
.cinema-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.92), rgba(5, 9, 20, 0.42) 54%, rgba(5, 9, 20, 0.70)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
}
.cinema-copy {
  position: relative;
  z-index: 4;
  width: min(680px, 100%);
  max-width: 100%;
  color: var(--text-hi);
}
.cinema-copy h2 {
  max-width: 16ch;
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.05;
}
.cinema-copy > p:not(.section-kicker) {
  max-width: 58ch;
  margin: 0;
  color: var(--text-body);
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.65;
}
.cinema-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.cinema-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  color: var(--text-hi);
  border: 1px solid rgba(0, 214, 140, 0.26);
  background: rgba(0, 214, 140, 0.075);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cinema-narration {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.cinema-narration .button {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 12.5px;
}
.cinema-narration .button.is-speaking {
  color: var(--bg-0);
  background: var(--accent);
  border-color: var(--accent);
}
.cinema-narration .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.cinema-transcript {
  width: min(560px, 100%);
  margin-top: 18px;
  border-top: 1px solid rgba(166, 187, 218, 0.16);
  color: var(--text-body);
}
.cinema-transcript summary {
  width: max-content;
  max-width: 100%;
  padding-top: 12px;
  cursor: pointer;
  color: var(--text-hi);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cinema-transcript summary::marker {
  color: var(--accent);
}
.cinema-transcript-body {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.65;
}
.cinema-transcript-body p {
  margin: 0;
}
.cinema-audio {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
  margin-top: 16px;
}
.cinema-audio span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cinema-audio audio {
  width: 100%;
}
.cinema-rail {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 4vw, 54px);
  top: clamp(20px, 4vw, 48px);
  display: grid;
  justify-items: end;
  gap: 10px;
  color: var(--text-mute);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cinema-rail i {
  display: block;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--warm), var(--godata));
}
.cinema-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 2px;
  pointer-events: none;
  transform: scaleX(var(--scene-progress));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--godata), var(--accent), var(--warm));
  opacity: 0.72;
}

/* ---------- Voice guide ("Nghe câu chuyện") ---------- */
.vg-hero-btn { display: inline-flex; align-items: center; gap: 8px; }
.vg-hero-icon { font-size: 0.78em; color: var(--accent); }
.vg-hero-btn.is-playing .vg-hero-icon { color: var(--godata); }

.voice-guide {
  position: fixed;
  z-index: 320;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  width: min(384px, calc(100vw - 26px));
  display: grid;
  gap: 10px;
  padding: 15px 16px 13px;
  color: var(--text-hi);
  background: linear-gradient(180deg, rgba(12, 23, 48, 0.96), rgba(8, 14, 28, 0.975));
  border: 1px solid var(--accent-line);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.55), 0 0 26px var(--accent-glow);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.voice-guide.is-open { opacity: 1; transform: none; }
.voice-guide[hidden] { display: none; }

.vg-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vg-title {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mute);
}
.vg-eq {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
  opacity: 0.55;
}
.voice-guide[data-status="playing"] .vg-eq { animation: vg-pulse 1.1s ease-in-out infinite; }
@keyframes vg-pulse { 0%, 100% { opacity: 0.4; transform: scale(0.82); } 50% { opacity: 1; transform: scale(1.15); } }

.vg-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0;
  color: var(--text-mute); background: transparent;
  border: 1px solid var(--accent-line); border-radius: 6px;
  font-size: 12px; line-height: 1; cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.vg-close:hover { color: var(--text-hi); border-color: var(--accent); background: var(--accent-soft); }

.vg-meta { display: flex; align-items: baseline; gap: 10px; }
.vg-counter { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.vg-chapter { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); }
.vg-seg-label { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--text-hi); }

.vg-transcript {
  display: grid; gap: 5px;
  max-height: 162px; overflow-y: auto;
  margin: 2px 0; padding-right: 4px;
  scrollbar-width: thin;
}
.vg-line {
  margin: 0; padding: 6px 10px;
  font-size: 14.5px; line-height: 1.55; color: var(--text-mute);
  border-left: 2px solid transparent; border-radius: 0 6px 6px 0;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.vg-line.is-active {
  color: var(--text-hi);
  background: rgba(47, 217, 245, 0.10);
  border-left-color: var(--accent);
}

.vg-controls { display: flex; align-items: center; gap: 8px; }
.vg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 0 12px;
  color: var(--text-hi); background: var(--panel-solid);
  border: 1px solid var(--accent-line); border-radius: 8px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.vg-prev, .vg-next { width: 40px; padding: 0; font-size: 11px; color: var(--text-mute); }
.vg-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--text-hi); }
.vg-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.vg-play { flex: 1; font-weight: 700; }
.vg-play[aria-pressed="true"] {
  color: var(--bg-0); background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}
.vg-play-icon { font-size: 0.85em; }
.vg-play-icon::before { content: "\25B6"; }
.voice-guide[data-status="playing"] .vg-play-icon::before { content: "\23F8"; }
.voice-guide[data-status="ended"] .vg-play-icon::before { content: "\21BA"; }

.vg-options { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.vg-autoscroll { display: inline-flex; align-items: center; gap: 6px; color: var(--text-mute); cursor: pointer; }
.vg-autoscroll input { accent-color: var(--accent); width: 14px; height: 14px; }
.vg-lang {
  padding: 4px 9px; color: var(--text-mute); background: transparent;
  border: 1px solid var(--accent-line); border-radius: 999px;
  font: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.vg-lang:hover { color: var(--text-hi); border-color: var(--accent); }

.vg-progress { height: 3px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.vg-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--godata), var(--accent)); transition: width 0.4s ease; }

.voice-guide :focus-visible,
.vg-hero-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.voice-guide-mini {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 321;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  width: min(248px, calc(100vw - 28px));
  min-height: 52px;
  padding: 9px 13px 9px 12px;
  color: var(--text-hi);
  background: linear-gradient(135deg, rgba(12, 23, 48, 0.96), rgba(5, 9, 20, 0.94));
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.48), 0 0 20px var(--accent-glow);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.voice-guide-mini[hidden] { display: none; }
.voice-guide-mini:hover { border-color: var(--accent); }
.vg-mini-dot {
  grid-row: 1 / span 2;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.voice-guide-mini[data-status="playing"] .vg-mini-dot { animation: vg-pulse 1.1s ease-in-out infinite; }
.vg-mini-main {
  min-width: 0;
  overflow: hidden;
  color: var(--text-hi);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.vg-mini-sub {
  min-width: 0;
  overflow: hidden;
  color: var(--text-mute);
  font-size: 11.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guided-lock main,
.guided-lock .site-header,
.guided-lock .scroll-meter {
  pointer-events: none;
}
.guided-release {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 530;
  transform: translateX(-50%);
  pointer-events: auto;
}
.guided-release[hidden] { display: none; }
.guided-release-btn {
  min-height: 48px;
  padding: 0 22px;
  color: #03101a;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45), 0 0 20px var(--accent-glow);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.guided-release-btn:focus-visible { outline: 2px solid var(--text-hi); outline-offset: 3px; }

@media (max-width: 560px) {
  .voice-guide {
    right: 8px; left: 8px; bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(48svh - env(safe-area-inset-bottom));
    overflow-y: auto;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .vg-transcript { max-height: 92px; }
  .vg-btn, .vg-close { min-height: 44px; }
  .vg-close { width: 44px; }
  .voice-guide-mini {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
  }
  .guided-release {
    left: 8px;
    right: 8px;
    bottom: max(72px, calc(env(safe-area-inset-bottom) + 72px));
    transform: none;
  }
  .guided-release-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .voice-guide { transition: none; }
  .voice-guide[data-status="playing"] .vg-eq,
  .voice-guide-mini[data-status="playing"] .vg-mini-dot { animation: none; }
  .vg-line, .vg-progress i { transition: none; }
}

/* ---------- Entry flow ("web cầm trịch") ---------- */
.entry-stage {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(1200px 700px at 50% 28%, rgba(12, 23, 48, 0.6), rgba(5, 9, 20, 0.97) 72%),
    var(--bg-0);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 1; transition: opacity 0.4s ease;
}
.entry-stage.is-gone { opacity: 0; pointer-events: none; }
.entry-screen { width: min(760px, 94vw); text-align: center; }
.entry-screen[hidden] { display: none; }
.entry-inner { display: grid; gap: 26px; justify-items: center; animation: entry-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes entry-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.entry-mark-sm { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.28em; color: var(--text-mute); }
.entry-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.3em; color: var(--accent); }
.entry-mark { margin: 0; font-size: clamp(42px, 8vw, 88px); font-weight: 800; letter-spacing: -0.01em; color: var(--text-hi); line-height: 1; }
.entry-q { margin: 0; font-size: clamp(18px, 2.4vw, 25px); color: var(--text-hi); font-weight: 600; }
.entry-tagline { margin: 0; min-height: 1.6em; font-size: clamp(16px, 2vw, 22px); color: var(--text-body); }
.entry-tagline::after { content: "▋"; color: var(--accent); margin-left: 2px; animation: entry-blink 1s step-end infinite; }
.entry-stage[data-step="mode"] .entry-tagline::after { content: ""; }
@keyframes entry-blink { 50% { opacity: 0; } }
.entry-langs, .entry-modes { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.entry-btn {
  min-width: 180px; padding: 16px 28px; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
  color: var(--text-hi); background: var(--panel-solid); border: 1px solid var(--accent-line);
  border-radius: 12px; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.entry-btn:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.entry-mode-card {
  display: grid; gap: 6px; width: min(300px, 80vw); padding: 22px 24px; text-align: left; cursor: pointer; font: inherit;
  color: var(--text-hi); background: var(--panel-solid); border: 1px solid var(--accent-line); border-radius: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.entry-mode-card:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }
.entry-mode-card b { font-size: 20px; }
.entry-mode-card small { font-size: 14px; color: var(--text-mute); line-height: 1.45; }
.entry-mode-card[data-mode="auto"] { border-color: rgba(47, 217, 245, 0.42); }
.entry-mode-card[data-mode="explore"] { border-color: rgba(0, 214, 140, 0.38); }
.entry-controls { display: flex; gap: 14px; justify-content: center; margin-top: 4px; }
.entry-quiet {
  padding: 9px 16px; font: inherit; font-size: 13px; cursor: pointer; color: var(--text-mute);
  background: transparent; border: 1px solid rgba(232, 241, 255, 0.18); border-radius: 99px; transition: 0.15s;
}
.entry-quiet:hover { color: var(--text-hi); border-color: var(--accent); }
.entry-stage :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .entry-stage, .entry-inner { transition: none; animation: none; }
  .entry-tagline::after { animation: none; }
}

/* ---------- Guide director (tour cinematic) ---------- */
html[data-tour]::before, html[data-tour]::after {
  content: ""; position: fixed; left: 0; right: 0; z-index: 310;
  height: clamp(30px, 6vh, 64px); pointer-events: none; opacity: 0;
  transition: opacity 0.5s ease;
}
html[data-tour]::before { top: 0; background: linear-gradient(180deg, #02040a 36%, rgba(2, 4, 10, 0)); }
html[data-tour]::after { bottom: 0; background: linear-gradient(0deg, #02040a 36%, rgba(2, 4, 10, 0)); }
html[data-tour="on"]::before, html[data-tour="on"]::after { opacity: 1; }
h2.is-typing::after { content: "▋"; color: var(--accent); margin-left: 2px; animation: entry-blink 1s step-end infinite; }
@media (prefers-reduced-motion: reduce) {
  html[data-tour]::before, html[data-tour]::after { transition: none; }
  h2.is-typing::after { animation: none; }
}

/* ---------- Explore mode (Tự khám phá) ---------- */
.entry-stage[hidden] { display: none; }
.explore-stage { align-items: flex-start; overflow-y: auto; padding-top: clamp(28px, 8vh, 90px); padding-bottom: clamp(28px, 8vh, 90px); }
.explore-inner { width: min(880px, 94vw); }
.explore-title { max-width: 660px; }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; }
@media (max-width: 680px) { .explore-grid { grid-template-columns: 1fr; } }
.explore-card {
  display: grid; gap: 6px; padding: 18px; text-align: left; cursor: pointer; font: inherit;
  color: var(--text-hi); background: var(--panel-solid); border: 1px solid var(--accent-line);
  border-radius: 12px; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}
.explore-card:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-3px); }
.explore-card b { font-size: 17px; display: flex; align-items: center; gap: 6px; }
.explore-card small { font-size: 13px; color: var(--text-mute); line-height: 1.45; }
.explore-card.visited { opacity: 0.55; border-color: rgba(0, 214, 140, 0.4); }
.explore-card.visited:hover { opacity: 0.9; }
.explore-check { color: var(--godata); font-weight: 900; }
.explore-actions { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 4px; }

/* ---------- Evolution timeline ---------- */
.section-timeline {
  position: relative;
  background:
    radial-gradient(920px 440px at 18% 14%, rgba(0, 229, 255, 0.07), transparent 62%),
    radial-gradient(820px 420px at 88% 82%, rgba(255, 48, 66, 0.045), transparent 65%),
    #050914;
  border-bottom: 1px solid rgba(0, 229, 255, 0.10);
  overflow: hidden;
}
.story-orbit-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
}
.section-timeline .section-inner {
  position: relative;
  z-index: 1;
}
.timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.timeline-grid::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.35), rgba(215, 183, 110, 0.65), rgba(255, 48, 66, 0.32));
  pointer-events: none;
}
.timeline-card {
  position: relative;
  min-height: 286px;
  padding: 22px 18px 20px;
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.82), rgba(5, 9, 20, 0.66));
  border: 1px solid rgba(0, 229, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.timeline-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 24px var(--accent-glow);
}
.timeline-card-prime {
  border-color: var(--gold-line);
  background: linear-gradient(170deg, rgba(38, 30, 13, 0.68), rgba(5, 9, 20, 0.72));
}
.timeline-card::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
.timeline-card-prime::before { background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.timeline-era {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #061018;
  background: linear-gradient(115deg, var(--cyan), var(--gold));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.timeline-card h3 {
  min-height: 48px;
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 10px;
}
.timeline-card p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.6;
  color: var(--text-mute);
}
.timeline-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--text-hi);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 18px;
  border: 1px solid var(--gold-line);
  background: rgba(215, 183, 110, 0.08);
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.timeline-cta:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-soft);
}
.timeline-cta i {
  font-style: normal;
  color: var(--gold);
  font-size: 18px;
}

/* ---------- GOVERSE.OS overview ---------- */
.section-overview {
  background:
    radial-gradient(850px 440px at 14% 18%, rgba(0, 229, 255, 0.06), transparent 62%),
    radial-gradient(760px 360px at 88% 86%, rgba(215, 183, 110, 0.055), transparent 62%),
    var(--bg-0);
}
.system-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.system-map::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--signal));
  opacity: 0.42;
}
.system-layer {
  position: relative;
  min-height: 250px;
  padding: 24px 20px 20px;
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.88), rgba(5, 9, 20, 0.72));
  border: 1px solid rgba(0, 229, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.system-layer::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -12px;
  width: 22px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-soft);
}
.system-layer:last-child::after { display: none; }
.system-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: #061018;
  background: linear-gradient(115deg, var(--cyan), var(--gold));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.system-layer h3 { font-size: 18px; margin-bottom: 10px; }
.system-layer p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-mute); }

.two-column {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }

/* ---------- Layer cards (capability matrix) ---------- */
.layer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.layer-card {
  position: relative;
  padding: 26px 24px 20px;
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.85), rgba(5, 9, 20, 0.7));
  border: 1px solid rgba(0, 229, 255, 0.14);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.layer-card::before, .layer-card::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--accent);
  opacity: 0.65;
  transition: width 0.25s, height 0.25s, opacity 0.25s;
}
.layer-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.layer-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.layer-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4), 0 0 22px var(--accent-glow);
}
.layer-card:hover::before, .layer-card:hover::after { width: 24px; height: 24px; opacity: 1; }
.card-num {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
.layer-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.layer-card p { font-size: 14px; line-height: 1.6; color: var(--text-mute); margin: 0; }
.layer-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}

/* ---------- Capability modules (stack) ---------- */
.capability-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.capability {
  padding: 22px 20px 18px;
  background: rgba(5, 9, 20, 0.55);
  border: 1px solid rgba(0, 229, 255, 0.13);
  border-top: 2px solid var(--accent-line);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.capability:hover {
  border-color: var(--accent-line);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 24px var(--accent-glow);
}
.cap-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.cap-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.cap-head h3 { font-size: 16.5px; font-weight: 600; margin: 0; flex: 1; }
.cap-id { font-size: 10px; letter-spacing: 0.14em; color: var(--text-mute); }
.capability p { font-size: 13.5px; line-height: 1.6; color: var(--text-mute); margin: 0; }

.stack-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(34px, 4vw, 52px);
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(5, 9, 20, 0.46);
}
.stack-flow span {
  min-height: 48px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-hi);
  border: 1px solid rgba(155, 173, 195, 0.18);
  background: rgba(10, 18, 36, 0.62);
}
.stack-flow i {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  position: relative;
}
.stack-flow i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.project-band {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 42px);
  background: linear-gradient(160deg, rgba(10, 18, 36, 0.9), rgba(5, 9, 20, 0.75));
  border: 1px solid var(--gold-line);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.project-band::before {
  content: ""; position: absolute; top: 0; left: 0; width: 38%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.project-band h3 { font-size: clamp(21px, 2.2vw, 27px); font-weight: 600; margin: 0; }
.project-band-head .section-kicker { margin-bottom: 12px; }
.project-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.project-list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px;
  border: 1px solid rgba(155, 173, 195, 0.16);
  background: rgba(5, 9, 20, 0.5);
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.project-list li:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.project-list b { color: var(--text-hi); font-weight: 600; font-size: 13.5px; }
.project-list span { color: var(--text-mute); }
.case-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.case-card {
  padding: 20px 18px;
  background: rgba(5, 9, 20, 0.56);
  border: 1px solid rgba(0, 229, 255, 0.14);
}
.case-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.case-card h3 { font-size: 17px; margin-bottom: 10px; }
.case-card p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-mute);
}
.case-card p:last-child { margin-bottom: 0; color: var(--text-body); }

/* ---------- Industry solutions ---------- */
.section-solutions {
  background:
    radial-gradient(900px 430px at 10% 10%, rgba(215, 183, 110, 0.06), transparent 62%),
    radial-gradient(840px 420px at 86% 58%, rgba(0, 229, 255, 0.06), transparent 62%),
    #060B18;
  border-top: 1px solid rgba(215, 183, 110, 0.12);
  border-bottom: 1px solid rgba(0, 229, 255, 0.10);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.solution-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.9), rgba(5, 9, 20, 0.74));
  border: 1px solid rgba(0, 229, 255, 0.14);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.solution-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-glow);
}
.solution-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.solution-card h3 {
  min-height: 54px;
  font-size: 19px;
  line-height: 1.32;
  margin-bottom: 14px;
}
.solution-problem,
.solution-approach {
  margin: 0 0 12px;
  font-size: 13.4px;
  line-height: 1.58;
  color: var(--text-mute);
}
.solution-approach { color: var(--text-body); }
.solution-meta {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  align-items: center;
  gap: 7px;
  margin: auto 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(155, 173, 195, 0.13);
}
.solution-meta span {
  min-height: 42px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-body);
  border: 1px solid rgba(155, 173, 195, 0.16);
  background: rgba(5, 9, 20, 0.46);
}
.solution-meta i {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  position: relative;
}
.solution-meta i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.solution-card .button {
  align-self: flex-start;
}
.showroom-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
  padding: 18px;
  background:
    linear-gradient(165deg, rgba(0, 214, 140, 0.075), rgba(5, 9, 20, 0.74)),
    rgba(10, 18, 36, 0.72);
  border: 1px solid rgba(0, 214, 140, 0.20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.showroom-listening p {
  margin: 10px 0 0;
  max-width: 64ch;
  color: var(--text-body);
}
.showroom-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.showroom-controls label {
  display: grid;
  gap: 7px;
  color: var(--text-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showroom-controls select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 214, 140, 0.28);
  background: rgba(5, 9, 20, 0.78);
  color: var(--text-hi);
  font-family: var(--font);
  font-size: 14px;
}
.showroom-grid .solution-card {
  min-height: 380px;
  border-color: rgba(0, 214, 140, 0.18);
}
.showroom-grid .solution-card::before {
  background: linear-gradient(90deg, var(--godata), transparent);
}
.source-pill {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 5px 8px;
  color: var(--text-hi);
  border: 1px solid rgba(0, 214, 140, 0.28);
  background: rgba(0, 214, 140, 0.09);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.source-pill[data-source="sample"] {
  border-color: rgba(255, 159, 107, 0.32);
  background: rgba(255, 159, 107, 0.09);
}
.source-pill[data-source="real"] {
  border-color: rgba(0, 229, 255, 0.30);
  background: rgba(0, 229, 255, 0.08);
}
.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(166, 187, 218, 0.12);
}
.solution-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(0, 214, 140, 0.18);
  color: var(--text-body);
  background: rgba(0, 214, 140, 0.055);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.showroom-empty {
  grid-column: 1 / -1;
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  border: 1px dashed rgba(255, 159, 107, 0.32);
  background: rgba(255, 159, 107, 0.06);
}
.showroom-empty h3 { max-width: 18ch; margin-inline: auto; }
.showroom-empty p { max-width: 52ch; margin-inline: auto; }

/* ---------- Ecosystem / posters ---------- */
.section-ecosystem {
  background:
    radial-gradient(1000px 500px at 12% 0%, rgba(0, 229, 255, 0.05), transparent 60%),
    var(--bg-0);
  overflow: hidden;
}
.ecosystem-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; max-width: none;
}
.track-controls { display: flex; gap: 10px; flex: none; }
.icon-button {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: rgba(5, 9, 20, 0.6); color: var(--accent);
  border: 1px solid var(--accent-line);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
  transition: background 0.2s, box-shadow 0.2s;
}
.icon-button:hover { background: var(--accent-soft); box-shadow: 0 0 16px var(--accent-glow); }
.icon-button:active { transform: scale(0.94); }

.poster-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(300px, 42vw, 560px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-line) transparent;
}
.poster-track::-webkit-scrollbar { height: 6px; }
.poster-track::-webkit-scrollbar-thumb { background: var(--accent-line); }
.poster-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.92), rgba(5, 9, 20, 0.85));
  border: 1px solid rgba(0, 229, 255, 0.16);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.poster-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 26px var(--accent-glow);
}
.poster-card-pressup:hover {
  border-color: rgba(255, 48, 66, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 26px rgba(255, 48, 66, 0.18);
}
.poster-card-godata {
  border-color: rgba(0, 214, 140, 0.20);
}
.poster-card-godata:hover {
  border-color: rgba(0, 214, 140, 0.48);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 26px rgba(0, 214, 140, 0.18);
}
.poster-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.poster-card:hover .poster-img img { transform: scale(1.04); }
.poster-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
}
.poster-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--cyan);
  padding: 4px 10px;
  background: rgba(5, 9, 20, 0.8);
  border: 1px solid var(--accent-line);
}
.poster-tag-crimson { color: var(--crimson); border-color: rgba(255, 48, 66, 0.35); }
.poster-tag-godata { color: var(--godata); border-color: rgba(0, 214, 140, 0.38); }
.poster-copy { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.poster-brand {
  display: flex; align-items: center;
  min-height: 58px; max-width: 100%;
  margin-bottom: 14px;
}
.poster-brand img {
  width: min(236px, 100%);
  height: auto;
  object-fit: contain;
}
.poster-brand-gonexus {
  align-self: flex-start;
  padding: 8px 12px;
  background: rgba(5, 9, 20, 0.38);
  border: 1px solid rgba(240, 182, 67, 0.28);
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.poster-brand-godata {
  align-self: flex-start;
  padding: 8px 12px;
  background: rgba(0, 214, 140, 0.07);
  border: 1px solid rgba(0, 214, 140, 0.24);
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.poster-copy h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.poster-copy p { font-size: 13.5px; color: var(--text-mute); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.product-facts {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.product-facts li {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--text-body);
  padding: 5px 8px;
  border: 1px solid rgba(155, 173, 195, 0.18);
  background: rgba(5, 9, 20, 0.44);
}
.poster-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Proof / source evidence ---------- */
.proof-section {
  background:
    radial-gradient(800px 400px at 90% 100%, rgba(215, 183, 110, 0.05), transparent 60%),
    var(--bg-0);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof-card {
  display: flex; flex-direction: column; gap: 0;
  text-decoration: none;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(10, 18, 36, 0.6);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.proof-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 20px var(--accent-glow);
}
.proof-frame { display: block; padding: 10px 10px 0; }
.proof-frame img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top;
  border: 1px solid rgba(155, 173, 195, 0.25);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}
.proof-label {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 16px;
  font-size: 13px; color: var(--text-body);
}
.proof-label b { font-size: 10px; letter-spacing: 0.16em; color: var(--gold); font-weight: 700; }

/* ---------- PDF section ---------- */
.pdf-layout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.pdf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdf-frame {
  border: 1px solid var(--gold-line);
  background: var(--panel-solid);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.pdf-frame-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  font-size: 12px; letter-spacing: 0.06em; color: var(--text-mute);
}
.pdf-frame-head i {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
}
.pdf-frame-head span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-frame-head b { color: var(--gold); font-weight: 600; }
.pdf-frame object { width: 100%; height: 560px; display: block; }
.pdf-fallback { padding: 30px; text-align: center; margin: 0; }
.pdf-preview {
  position: relative; display: block; overflow: hidden;
}
.pdf-preview img {
  width: 100%; max-height: 560px; object-fit: cover; object-position: top;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s;
}
.pdf-preview:hover img { transform: scale(1.02); opacity: 0.85; }
.pdf-preview-cta {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  padding: 11px 22px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: #061018;
  background: linear-gradient(115deg, var(--cyan), var(--gold));
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
  box-shadow: 0 0 24px var(--accent-glow);
}

/* ---------- Contact / next action ---------- */
.contact-section {
  background:
    linear-gradient(180deg, rgba(5, 9, 20, 0.15), rgba(5, 9, 20, 0.76)),
    radial-gradient(800px 420px at 72% 20%, rgba(0, 229, 255, 0.10), transparent 64%),
    var(--bg-0);
  padding-top: clamp(60px, 8vw, 110px);
}
.contact-band {
  display: block;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid rgba(0, 229, 255, 0.22);
  border-bottom: 1px solid rgba(215, 183, 110, 0.24);
  position: relative;
}
.contact-band::before {
  content: ""; position: absolute; top: -1px; left: 0; width: min(420px, 58%); height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), transparent);
}
.contact-band h2 {
  max-width: 18ch;
  margin-bottom: 16px;
}
.contact-band p:not(.section-kicker) {
  max-width: 62ch;
  color: var(--text-body);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(300px, 5fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}
.contact-col {
  min-width: 0;
}
.contact-col-form {
  padding-right: clamp(0px, 2vw, 20px);
}
.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(155, 173, 195, 0.28);
  background: rgba(5, 9, 20, 0.68);
  color: var(--text-hi);
  font-family: var(--font);
  font-size: 14px;
  border-radius: 0;
}
.contact-form input:focus,
.contact-form select:focus {
  outline: 2px solid var(--accent-line);
  outline-offset: 2px;
  border-color: var(--accent);
}
.contact-form button {
  justify-self: start;
  margin-top: 4px;
}
.contact-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.contact-col-info {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.82), rgba(5, 9, 20, 0.66));
}
.contact-offer {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.42;
  color: var(--text-hi) !important;
  margin-bottom: 24px;
}
.contact-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}
.contact-facts div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(155, 173, 195, 0.13);
}
.contact-facts dt {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact-facts dd {
  margin: 0;
  color: var(--text-body);
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-actions {
  display: grid; gap: 12px;
  justify-items: stretch;
}
.contact-actions .button { width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: #030610;
  border-top: 1px solid var(--accent-line);
  padding: 54px 0 40px;
}
.footer-inner {
  max-width: var(--inner-max); margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  display: grid; justify-items: center; gap: 20px; text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 46px; height: 46px; object-fit: contain; }
.footer-brand-text { display: grid; line-height: 1.3; text-align: left; }
.footer-brand-text strong { color: var(--text-hi); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }
.footer-brand-text strong b { color: var(--cyan); }
.footer-brand-text small { color: var(--gold); font-size: 9.5px; font-weight: 700; letter-spacing: 0.34em; }
.footer-inner > p { max-width: 56ch; font-size: 13.5px; color: var(--text-mute); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.footer-links a {
  padding: 9px 18px; min-height: 44px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; text-decoration: none;
  color: var(--text-body);
  border: 1px solid rgba(155, 173, 195, 0.2);
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-links a:hover { color: var(--text-hi); border-color: var(--accent-line); background: var(--accent-soft); }
.footer-stamp { font-size: 11px; letter-spacing: 0.2em; color: rgba(155, 173, 195, 0.55); margin: 6px 0 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%;
  transform: translate(-50%, 16px);
  z-index: 250;
  padding: 12px 22px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-hi);
  background: rgba(10, 18, 36, 0.95);
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 24px var(--accent-glow), 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.review-panel {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 240;
  width: min(240px, calc(100vw - 28px));
  padding: 12px;
  color: var(--text-hi);
  background: rgba(5, 9, 20, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.24);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 22px var(--accent-glow);
  backdrop-filter: blur(14px);
  font-size: 11px;
  clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, var(--cut-sm) 100%, 0 calc(100% - var(--cut-sm)));
}
.review-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.review-panel dl {
  display: grid;
  gap: 6px;
  margin: 0;
}
.review-panel div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.review-panel dt {
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.review-panel dd {
  margin: 0;
  color: var(--text-body);
  text-align: right;
}

/* ---------- Showroom artifact modal ---------- */
body.solution-lock { overflow: hidden; }
.solution-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
  background:
    radial-gradient(900px 520px at 50% 12%, rgba(0, 229, 255, 0.15), transparent 66%),
    rgba(2, 5, 12, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.solution-demo-modal[hidden] { display: none; }
.solution-shell {
  width: min(1180px, 100%);
  max-height: min(820px, 92svh);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--accent-line);
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.98), rgba(5, 9, 20, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.64), 0 0 44px var(--accent-glow);
}
.solution-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.16);
}
.solution-bar strong {
  display: block;
  color: var(--text-hi);
  font-size: 17px;
  letter-spacing: 0.06em;
}
.solution-console-label {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.solution-close {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--text-body);
  background: rgba(10, 18, 36, 0.72);
  border: 1px solid rgba(155, 173, 195, 0.24);
  cursor: pointer;
}
.solution-close:hover {
  color: var(--crimson);
  border-color: rgba(255, 48, 66, 0.42);
}
.solution-workbench {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.48fr);
  gap: 0;
  overflow: auto;
}
.solution-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  border-right: 1px solid rgba(0, 229, 255, 0.14);
}
.solution-form-head span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.solution-form-head h3 {
  font-size: 23px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.solution-form-head p {
  margin: 0;
  color: var(--text-mute);
  font-size: 13.5px;
  line-height: 1.6;
}
.solution-fields {
  display: grid;
  gap: 14px;
}
.solution-field {
  display: grid;
  gap: 7px;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.solution-field input,
.solution-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(155, 173, 195, 0.28);
  background: rgba(5, 9, 20, 0.7);
  color: var(--text-hi);
  font-family: var(--font);
  font-size: 14px;
  border-radius: 0;
}
.solution-field input:focus,
.solution-field select:focus {
  outline: 2px solid var(--accent-line);
  outline-offset: 2px;
  border-color: var(--accent);
}
.solution-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.solution-output {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.04), transparent 36%),
    rgba(5, 9, 20, 0.36);
}
.solution-output-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.solution-output h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.24;
  margin-bottom: 10px;
}
.solution-output p {
  margin: 0 0 18px;
  color: var(--text-mute);
  line-height: 1.62;
}
.micro-flow,
.micro-phase-grid,
.micro-module-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.micro-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.micro-node,
.micro-phase,
.micro-module {
  position: relative;
  min-width: 0;
  padding: 14px 13px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(10, 18, 36, 0.62);
}
.micro-node::before,
.micro-phase::before,
.micro-module::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.micro-node b,
.micro-phase b,
.micro-module b {
  display: block;
  margin-bottom: 6px;
  color: var(--text-hi);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.micro-node span,
.micro-phase span,
.micro-module span {
  display: block;
  color: var(--text-mute);
  font-size: 12.5px;
  line-height: 1.5;
}
.micro-phase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.micro-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.micro-section-title {
  margin: 20px 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.micro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.micro-actions button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--text-body);
  background: rgba(5, 9, 20, 0.46);
  border: 1px solid rgba(155, 173, 195, 0.22);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.micro-actions button:hover {
  color: var(--text-hi);
  border-color: var(--accent-line);
}
.artifact-frame {
  display: grid;
  gap: 18px;
}
.artifact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 214, 140, 0.16);
}
.artifact-head h3 {
  margin: 0 0 6px;
  max-width: 24ch;
}
.artifact-head p {
  margin: 0;
  max-width: 52ch;
}
.artifact-source {
  flex: none;
  padding: 6px 9px;
  border: 1px solid rgba(0, 214, 140, 0.30);
  color: var(--godata);
  background: rgba(0, 214, 140, 0.08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.artifact-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.artifact-kpi {
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid rgba(0, 214, 140, 0.18);
  background: rgba(0, 214, 140, 0.055);
}
.artifact-kpi small {
  display: block;
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.artifact-kpi b {
  display: block;
  color: var(--text-hi);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.artifact-kpi span {
  display: inline-block;
  margin-top: 7px;
  color: var(--godata);
  font-size: 11px;
  font-weight: 900;
}
.artifact-chart {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background:
    linear-gradient(rgba(166, 187, 218, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 187, 218, 0.045) 1px, transparent 1px),
    rgba(5, 9, 20, 0.48);
  background-size: 100% 32px, 25% 100%, auto;
}
.artifact-chart-title {
  margin: 0 0 14px;
  color: var(--text-hi);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(58px, 0.24fr) minmax(120px, 1fr) minmax(54px, 0.18fr);
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 800;
}
.bar-row > span:first-child,
.bar-row > b {
  min-width: 0;
  overflow-wrap: anywhere;
}
.bar-row > b {
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.bar-track {
  position: relative;
  height: 12px;
  background: rgba(166, 187, 218, 0.10);
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  width: var(--v, 0%);
  background: linear-gradient(90deg, var(--godata), var(--cyan));
  box-shadow: 0 0 18px rgba(0, 214, 140, 0.28);
}
.bar-target {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: var(--t, 0%);
  width: 2px;
  background: var(--warm);
}
.chart-empty {
  min-height: 84px;
  display: grid;
  place-items: center;
  color: var(--text-mute);
  border: 1px dashed rgba(166, 187, 218, 0.20);
  background: rgba(5, 9, 20, 0.44);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.artifact-insight,
.artifact-alert,
.artifact-bridge {
  padding: 14px 16px;
  border: 1px solid rgba(0, 214, 140, 0.18);
  background: rgba(0, 214, 140, 0.06);
  color: var(--text-body);
  font-size: 13.5px;
  line-height: 1.55;
}
.artifact-alert {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.07);
}
.artifact-bridge {
  border-color: rgba(255, 159, 107, 0.28);
  background: rgba(255, 159, 107, 0.07);
  color: var(--text-hi);
  font-weight: 800;
}
.model-score {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  color: #04150E;
  background: linear-gradient(115deg, var(--godata), var(--cyan));
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pattern-card {
  padding: 14px;
  border: 1px solid rgba(166, 187, 218, 0.16);
  background: rgba(10, 18, 36, 0.62);
}
.pattern-card small {
  display: block;
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pattern-card b {
  display: block;
  margin-top: 7px;
  color: var(--text-hi);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.pattern-card[data-tone="danger"] { border-color: rgba(248, 113, 113, 0.28); }
.pattern-card[data-tone="warning"] { border-color: rgba(251, 191, 36, 0.28); }
.pattern-card[data-tone="ok"] { border-color: rgba(0, 214, 140, 0.28); }
.action-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.action-list li {
  padding: 11px 13px;
  border: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 229, 255, 0.045);
  color: var(--text-body);
  font-size: 13px;
}
.ask-question {
  padding: 14px 16px;
  color: var(--text-hi);
  background: rgba(0, 229, 255, 0.055);
  border: 1px solid rgba(0, 229, 255, 0.16);
  font-weight: 800;
}
.ask-answer {
  color: var(--text-hi);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
.raw-box {
  padding: 14px;
  color: var(--text-body);
  background: rgba(5, 9, 20, 0.72);
  border: 1px solid rgba(166, 187, 218, 0.16);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.raw-box b {
  display: block;
  margin-bottom: 7px;
  color: var(--godata);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.extract-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 214, 140, 0.18);
}
.extract-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 12.5px;
}
.extract-table th,
.extract-table td {
  padding: 10px 11px;
  border-bottom: 1px solid rgba(166, 187, 218, 0.12);
  text-align: left;
  color: var(--text-body);
}
.extract-table th {
  color: var(--godata);
  background: rgba(0, 214, 140, 0.07);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.confidence-pill {
  display: inline-flex;
  width: max-content;
  padding: 6px 9px;
  color: #04150E;
  background: var(--godata);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.summary-tldr {
  padding: 16px;
  border: 1px solid rgba(0, 214, 140, 0.24);
  background: linear-gradient(145deg, rgba(0, 214, 140, 0.10), rgba(0, 229, 255, 0.045));
}
.summary-tldr small,
.caption-card small,
.code-artifact small,
.plan-phase span {
  display: block;
  color: var(--godata);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.summary-tldr p {
  margin: 7px 0 0;
  color: var(--text-hi);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}
.summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.summary-list li {
  position: relative;
  padding: 10px 12px 10px 28px;
  color: var(--text-body);
  border: 1px solid rgba(166, 187, 218, 0.14);
  background: rgba(166, 187, 218, 0.045);
  font-size: 13px;
  line-height: 1.5;
}
.summary-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 17px;
  width: 6px;
  height: 6px;
  background: var(--godata);
  box-shadow: 0 0 12px rgba(0, 214, 140, 0.42);
}
.caption-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.caption-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  background: rgba(10, 18, 36, 0.66);
}
.caption-card p {
  margin: 10px 0 12px;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.55;
}
.caption-card b {
  display: inline-flex;
  color: var(--text-hi);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.code-artifact {
  overflow: hidden;
  border: 1px solid rgba(0, 214, 140, 0.22);
  background: rgba(2, 8, 18, 0.82);
}
.code-artifact small {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 214, 140, 0.16);
  background: rgba(0, 214, 140, 0.06);
}
.code-artifact pre {
  margin: 0;
  padding: 15px;
  overflow-x: auto;
  color: var(--text-hi);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
}
.plan-timeline {
  display: grid;
  gap: 10px;
}
.plan-phase {
  position: relative;
  padding: 15px 15px 15px 22px;
  border: 1px solid rgba(0, 214, 140, 0.18);
  background: rgba(0, 214, 140, 0.05);
}
.plan-phase::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 17px;
  bottom: 17px;
  width: 2px;
  background: linear-gradient(var(--godata), var(--cyan));
}
.plan-phase h4 {
  margin: 6px 0 7px;
  color: var(--text-hi);
  font-size: 17px;
}
.plan-phase p,
.plan-phase small {
  display: block;
  margin: 0;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.5;
}
.plan-phase small {
  margin-top: 8px;
  color: var(--warm);
}
.artifact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 159, 107, 0.28);
  background: rgba(255, 159, 107, 0.075);
}
.artifact-cta p {
  margin: 0;
  color: var(--text-hi);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}
.artifact-cta .button {
  flex: none;
}
.processing-orbit {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 16px;
}
.processing-orbit i {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(0, 214, 140, 0.14);
  border-top-color: var(--godata);
  border-right-color: var(--cyan);
  animation: boot-spin 0.9s linear infinite;
}
.processing-orbit b {
  display: block;
  color: var(--text-hi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.processing-orbit span {
  color: var(--text-mute);
  font-size: 13px;
}

/* ---------- Reveal animation (3D perspective entrance) ---------- */
.reveal {
  opacity: 0;
  transform: perspective(900px) translateY(26px) rotateX(7deg);
  transform-origin: 50% 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html[data-depth="off"] .reveal { transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 3D tilt cards ---------- */
.tilt { position: relative; }
.tilt.tilting { transition: transform 0.06s linear !important; }
.tilt.tilting::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(280px 200px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(244, 248, 255, 0.07), transparent 70%);
}

/* ---------- Motion preferences / tweak levels ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cinema-media img,
  .cinema-media video { transform: none !important; transition: none !important; }
  .story-orbit-canvas { display: none; }
}
html[data-motion="off"] .hero-sweep::after,
html[data-motion="off"] .hud-ring,
html[data-motion="off"] .eyebrow-dot,
html[data-motion="off"] .status-chip i,
html[data-motion="off"] .scroll-cue,
html[data-motion="off"] .hero-statement::after { animation: none; }
html[data-motion="off"] .reveal { opacity: 1; transform: none; transition: none; }
html[data-motion="off"] .hero-grid,
html[data-motion="off"] .hud-ring-1,
html[data-motion="off"] .hud-ring-2 { animation: none; }
html[data-motion="off"] .story-orbit-canvas { display: none; }
html[data-motion="calm"] .hero-sweep::after { animation: none; }
html[data-motion="calm"] .hud-ring-3 { animation-duration: 40s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .brand-text small { display: none; }
  .hero-hud { opacity: 0.4; right: -30vw; }
  .tier-inner { grid-template-columns: 1fr; }
  .two-column { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .system-map { grid-template-columns: 1fr 1fr; }
  .system-map::before { display: none; }
  .system-layer::after { display: none; }
  .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-grid::before { display: none; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .pdf-layout { grid-template-columns: 1fr; }
  .contact-band { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .showroom-panel { grid-template-columns: 1fr; }
  .pdf-frame object, .pdf-preview img { height: 480px; }
  .solution-workbench { grid-template-columns: 1fr; }
  .solution-form { border-right: 0; border-bottom: 1px solid rgba(0, 229, 255, 0.14); }
  .cinema-copy h2 { max-width: 19ch; }
}

@media (max-width: 900px) {
  .story-orbit-canvas { display: none; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .tier-options { grid-template-columns: 1fr; }
  .project-band { grid-template-columns: 1fr; }
  .micro-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .micro-phase-grid,
  .micro-module-grid { grid-template-columns: 1fr; }
  .artifact-kpi-grid,
  .pattern-grid,
  .caption-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stack-flow i {
    width: 1px;
    height: 22px;
    justify-self: center;
    background: linear-gradient(180deg, var(--cyan), var(--gold));
  }
  .stack-flow i::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px clamp(16px, 4vw, 32px) 22px;
    background: rgba(5, 9, 20, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--accent-line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a,
  .site-nav button { padding: 14px 12px; font-size: 15px; min-height: 48px; }
  .site-nav button.nav-watch,
  .site-nav a.nav-cta { margin: 10px 0 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand-text strong { font-size: 12px; letter-spacing: 0.08em; }
  .brand-text small { display: none; }
  .site-header { gap: 8px; padding: 0 12px; }
  .brand-lockup { gap: 9px; flex: 1 1 auto; min-width: 0; }
  .brand-sigil { width: 38px; height: 38px; }
  .brand-text strong { font-size: 12px; letter-spacing: 0.08em; }
  .brand-text small { display: none; }
  .header-tools { gap: 6px; flex: none; }
  .lang-toggle {
    display: inline-flex;
    min-height: 40px;
    padding: 0 9px;
    gap: 5px;
    font-size: 11px;
    letter-spacing: 0.06em;
    background: rgba(5, 9, 20, 0.48);
  }
  .lang-toggle i { height: 12px; }
  .nav-toggle { width: 42px; height: 40px; }
  .hero-frame { padding-left: 18px; padding-right: 18px; }
  .hero-copy { max-width: calc(100vw - 36px); padding: 18px 0 18px 16px; width: 100%; }
  .hero-copy::before { top: 12px; bottom: 12px; }
  .eyebrow { align-items: flex-start; font-size: 10px; letter-spacing: 0.12em; line-height: 1.6; }
  .eyebrow span { min-width: 0; overflow-wrap: anywhere; }
  .hero h1 {
    font-size: clamp(32px, 9.4vw, 40px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .hero-statement,
  .hero-body { max-width: 100%; overflow-wrap: anywhere; }
  .hero-status { display: grid; grid-template-columns: 1fr; }
  .status-chip b { min-width: 0; overflow-wrap: anywhere; }
  .hero-proofline { grid-template-columns: 1fr 1fr; }
  .hero-proofline > span:nth-child(2n) { border-right: 0; }
  .hero-proofline > span { padding: 10px 11px; }
  .hero-actions .button { width: 100%; padding-inline: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta .meta-chip-right { display: none; }
  .metric-strip { grid-template-columns: 1fr; margin-top: -36px; }
  .tier-selector + .metric-strip { margin-top: 0; }
  .tier-copy h2 { max-width: none; }
  .tier-option { min-height: auto; }
  .timeline-grid { grid-template-columns: 1fr; }
  .timeline-card { min-height: auto; }
  .timeline-card h3 { min-height: 0; }
  .timeline-cta { width: 100%; justify-content: center; text-align: center; line-height: 1.45; }
  .system-map { grid-template-columns: 1fr; }
  .system-layer { min-height: auto; }
  .layer-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .solution-card h3 { min-height: 0; }
  .solution-meta { grid-template-columns: 1fr; }
  .solution-meta i {
    width: 1px;
    height: 18px;
    justify-self: center;
    background: linear-gradient(180deg, var(--cyan), var(--gold));
  }
  .solution-meta i::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }
  .showroom-controls { grid-template-columns: 1fr; }
  .artifact-head { display: grid; }
  .artifact-source { width: max-content; }
  .bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0;
  }
  .bar-row > b { text-align: left; }
  .artifact-kpi-grid,
  .pattern-grid,
  .caption-grid { grid-template-columns: 1fr; }
  .artifact-cta { display: grid; }
  .artifact-cta .button { width: 100%; justify-content: center; }
  .project-list { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ecosystem-heading { flex-direction: column; align-items: flex-start; }
  .poster-track { grid-auto-columns: min(86vw, 420px); }
  .pdf-actions .button { width: 100%; }
  .pdf-frame object, .pdf-preview img { height: 420px; }
  .contact-form button { width: 100%; justify-self: stretch; }
  .contact-facts div { grid-template-columns: 1fr; gap: 4px; }
  .contact-actions .button { min-height: 48px; }
  .solution-demo-modal { padding: 8px; align-items: flex-start; padding-top: 10vh; }
  .solution-shell { max-height: 86svh; }
  .solution-bar { align-items: flex-start; }
  .solution-bar strong { font-size: 14px; }
  .solution-form-actions .button { width: 100%; }
  .micro-flow { grid-template-columns: 1fr; }
  .cinema-strip { min-height: auto; }
  .cinema-frame {
    position: relative;
    min-height: 520px;
    padding: 104px 18px 34px;
    align-items: end;
  }
  .cinema-media img,
  .cinema-media video {
    object-position: center;
    opacity: 0.30;
  }
  .cinema-media::after {
    background:
      linear-gradient(180deg, rgba(5, 9, 20, 0.62), rgba(5, 9, 20, 0.98)),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
  }
  .cinema-copy h2 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 42px);
  }
  .cinema-rail {
    left: 18px;
    right: 18px;
    top: 26px;
    justify-items: start;
  }
  .cinema-rail i { width: min(180px, 52vw); }
}

@media (min-width: 1500px) {
  .hero-frame { max-width: 1480px; }
}

/* ============================================================
   PREMIUM ARCADE
   ============================================================ */
.section-arcade {
  background:
    radial-gradient(1000px 520px at 50% -10%, rgba(68, 106, 255, 0.10), transparent 62%),
    #060B18;
  border-top: 1px solid rgba(0, 229, 255, 0.10);
  border-bottom: 1px solid rgba(0, 229, 255, 0.10);
  overflow: hidden;
}
.arcade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.arcade-card {
  display: flex; flex-direction: column;
  background: linear-gradient(170deg, rgba(10, 18, 36, 0.92), rgba(5, 9, 20, 0.85));
  border: 1px solid rgba(0, 229, 255, 0.16);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.arcade-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 26px var(--accent-glow);
}
.arcade-screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(420px 200px at 50% 110%, rgba(0, 229, 255, 0.10), transparent 70%),
    #04070F;
  border-bottom: 1px solid rgba(0, 229, 255, 0.14);
}
.arcade-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
}
/* contra 3D shooter art */
.art-contra {
  background:
    radial-gradient(300px 170px at 70% 30%, rgba(255, 48, 66, 0.16), transparent 62%),
    radial-gradient(360px 210px at 30% 100%, rgba(0, 229, 255, 0.14), transparent 70%),
    #04070F;
}
.contra-road {
  position: absolute; left: -8%; right: -8%; bottom: -22%;
  height: 68%;
  background:
    repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.22) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(215, 183, 110, 0.16) 0 1px, transparent 1px 34px);
  transform: perspective(260px) rotateX(62deg);
  transform-origin: top center;
  opacity: 0.7;
}
.contra-hero {
  position: absolute; left: 18%; bottom: 22%;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--cyan), #F4F8FF);
  clip-path: polygon(50% 0, 82% 18%, 82% 70%, 50% 100%, 18% 70%, 18% 18%);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.75));
}
.contra-hero::after {
  content: ""; position: absolute; left: 25px; top: 13px;
  width: 34px; height: 7px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(215, 183, 110, 0.75);
}
.contra-shot {
  position: absolute; left: 34%; height: 3px; width: 58px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: contra-shot 1.4s linear infinite;
}
.cs-1 { bottom: 41%; }
.cs-2 { bottom: 31%; animation-delay: 0.55s; }
.contra-target {
  position: absolute; right: 18%;
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 48, 66, 0.72);
  background: rgba(255, 48, 66, 0.16);
  box-shadow: inset 0 0 18px rgba(255, 48, 66, 0.2), 0 0 12px rgba(255, 48, 66, 0.3);
  animation: target-hover 2.4s ease-in-out infinite;
}
.contra-target::before,
.contra-target::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: 42px; height: 1px;
  background: rgba(255, 48, 66, 0.7);
  transform: translate(-50%, -50%);
}
.contra-target::after { width: 1px; height: 42px; }
.ct-1 { top: 24%; }
.ct-2 { top: 50%; right: 30%; animation-delay: 0.7s; }
@keyframes contra-shot {
  from { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  to { transform: translateX(190px); opacity: 0; }
}
@keyframes target-hover { 50% { transform: translateY(-12px) scale(1.08); } }
/* GoVerse Gold Rush card art */
.art-goldrush {
  background:
    radial-gradient(220px 160px at 50% 16%, rgba(0, 229, 255, 0.13), transparent 70%),
    linear-gradient(180deg, #050914 0%, #081628 34%, #2c1d13 35%, #120d09 100%);
}
.goldrush-card-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.06) brightness(0.92);
}
.goldrush-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.82);
}
.goldrush-card-miner {
  position: absolute;
  left: 34%;
  top: -15%;
  width: 44%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(240, 182, 67, 0.36)) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.72));
}
.goldrush-soil {
  position: absolute; left: -6%; right: -6%; bottom: -4%;
  height: 67%;
  background:
    repeating-linear-gradient(0deg, rgba(215, 183, 110, 0.13) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.10) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, rgba(80, 51, 28, 0.12), rgba(16, 10, 7, 0.28));
  transform: skewY(-2deg);
  opacity: 0.72;
}
.goldrush-miner {
  position: absolute; left: 50%; top: 18%;
  width: 52px; height: 38px;
  transform: translateX(-50%);
  display: none;
}
.goldrush-miner::before {
  content: "";
  position: absolute; left: 9px; top: 0;
  width: 34px; height: 16px;
  background: #F0B643;
  clip-path: polygon(12% 100%, 28% 22%, 50% 0, 72% 22%, 88% 100%);
  box-shadow: 0 0 14px rgba(240, 182, 67, 0.42);
}
.goldrush-miner::after {
  content: "";
  position: absolute; left: 6px; top: 16px;
  width: 40px; height: 20px;
  background: linear-gradient(180deg, #2E3338, #111824);
  border: 1px solid rgba(0, 229, 255, 0.32);
}
.goldrush-rope {
  position: absolute; left: 50%; top: 38%;
  width: 2px; height: 88px;
  background: rgba(214, 228, 247, 0.72);
  transform-origin: top center;
  transform: rotate(-18deg);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.28);
  animation: goldrush-swing 2.6s ease-in-out infinite;
}
.goldrush-claw {
  position: absolute; left: calc(50% - 33px); top: 70%;
  width: 28px; height: 24px;
  border-left: 3px solid #00E5FF;
  border-right: 3px solid #00E5FF;
  border-bottom: 3px solid #00E5FF;
  border-radius: 0 0 18px 18px;
  transform: rotate(-18deg);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.48);
  animation: goldrush-claw 2.6s ease-in-out infinite;
}
.goldrush-nugget,
.goldrush-diamond,
.goldrush-rock {
  position: absolute;
  box-shadow: 0 0 15px currentColor;
}
.goldrush-nugget {
  width: 28px; height: 20px;
  color: #F0B643;
  background: #F0B643;
  border-radius: 56% 44% 48% 52%;
}
.gn-1 { left: 23%; bottom: 18%; transform: rotate(-14deg); }
.gn-2 { right: 21%; bottom: 28%; width: 38px; height: 28px; color: #D7B76E; background: #D7B76E; transform: rotate(12deg); }
.goldrush-diamond {
  left: 61%; bottom: 16%;
  width: 22px; height: 22px;
  color: #8DF4FF;
  background: #8DF4FF;
  clip-path: polygon(50% 0, 100% 42%, 50% 100%, 0 42%);
  animation: gem-twinkle 1.8s ease-in-out infinite;
}
.goldrush-rock {
  left: 35%; bottom: 32%;
  width: 34px; height: 28px;
  color: #687384;
  background: #687384;
  clip-path: polygon(14% 30%, 38% 4%, 78% 13%, 100% 52%, 74% 96%, 18% 78%);
  box-shadow: none;
}
@keyframes goldrush-swing {
  0%, 100% { transform: rotate(-23deg); }
  50% { transform: rotate(23deg); }
}
@keyframes goldrush-claw {
  0%, 100% { transform: translateX(-12px) rotate(-23deg); }
  50% { transform: translateX(36px) rotate(23deg); }
}
@keyframes gem-twinkle {
  50% { filter: brightness(1.9); transform: scale(1.12) rotate(10deg); }
}
/* lexicon art */
.fall-word {
  position: absolute; top: -20%;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-hi);
  animation: word-fall 5s linear infinite;
}
.fall-word::first-letter { color: var(--cyan); }
.fw-1 { left: 16%; animation-delay: 0s; }
.fw-2 { left: 48%; animation-delay: 1.7s; color: var(--gold); }
.fw-3 { left: 72%; animation-delay: 3.2s; }
@keyframes word-fall {
  from { transform: translateY(0); opacity: 1; }
  85% { opacity: 1; }
  to { transform: translateY(165px); opacity: 0; }
}
.art-shield {
  position: absolute; left: 8%; right: 8%; bottom: 16%;
  height: 2px; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  opacity: 0.7;
}
/* GoVerse Tank 1990 card art */
.art-tank {
  background:
    radial-gradient(190px 140px at 50% 42%, rgba(0, 229, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #050914 0%, #0a101d 100%);
  overflow: hidden;
}
.tank-grid {
  position: absolute; left: 50%; top: 50%;
  width: 226px; height: 166px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 229, 255, 0.48);
  background:
    linear-gradient(90deg, rgba(214, 228, 247, 0.08) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(214, 228, 247, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    rgba(5, 9, 20, 0.82);
  box-shadow: inset 0 0 28px rgba(0, 229, 255, 0.08), 0 0 18px rgba(0, 229, 255, 0.16);
}
.tank-brick,
.tank-steel,
.tank-base,
.tank-player,
.tank-enemy,
.tank-bullet {
  position: absolute;
}
.tank-brick {
  width: 42px; height: 24px;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(5, 9, 20, 0.34) 48% 53%, transparent 53%),
    linear-gradient(0deg, transparent 0 47%, rgba(5, 9, 20, 0.34) 47% 54%, transparent 54%),
    #8A4A2A;
  box-shadow: inset 0 0 0 1px rgba(240, 182, 67, 0.18);
}
.tbk-1 { left: 21%; top: 25%; }
.tbk-2 { right: 22%; top: 35%; }
.tbk-3 { left: 36%; bottom: 19%; width: 54px; }
.tank-steel {
  right: 34%; bottom: 24%;
  width: 34px; height: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.28), transparent 38%),
    #687384;
  box-shadow: inset 0 0 0 2px rgba(5, 9, 20, 0.32), 0 0 12px rgba(104, 115, 132, 0.48);
}
.tank-base {
  left: 50%; bottom: 13%;
  width: 34px; height: 34px;
  transform: translateX(-50%);
  background: #F0B643;
  clip-path: polygon(50% 0, 88% 18%, 80% 82%, 50% 100%, 20% 82%, 12% 18%);
  box-shadow: 0 0 15px rgba(240, 182, 67, 0.72);
}
.tank-base::after {
  content: "B";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #050914;
  font-size: 14px; font-weight: 900;
}
.tank-player,
.tank-enemy {
  width: 34px; height: 34px;
  filter: drop-shadow(0 0 12px currentColor);
}
.tank-player {
  left: 45%; bottom: 30%;
  color: #00E5FF;
}
.tank-enemy {
  color: #FF3042;
}
.te-1 { left: 31%; top: 30%; transform: rotate(90deg); }
.te-2 { right: 30%; top: 22%; transform: rotate(180deg); }
.tank-player::before,
.tank-enemy::before {
  content: "";
  position: absolute; left: 7px; top: 5px;
  width: 20px; height: 24px;
  background: currentColor;
}
.tank-player::after,
.tank-enemy::after {
  content: "";
  position: absolute; left: 15px; top: -6px;
  width: 4px; height: 18px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.tank-bullet {
  left: 48%; top: 31%;
  width: 8px; height: 8px; border-radius: 50%;
  background: #F0B643;
  box-shadow: 0 0 12px #F0B643;
  animation: tank-shot 1.2s linear infinite;
}
@keyframes tank-shot {
  from { transform: translateY(38px); opacity: 1; }
  to { transform: translateY(-42px); opacity: 0; }
}
/* GoVerse Moto Rush card art */
.art-motor {
  background:
    radial-gradient(230px 160px at 50% 34%, rgba(0, 229, 255, 0.22), transparent 68%),
    radial-gradient(210px 150px at 76% 58%, rgba(255, 48, 66, 0.16), transparent 70%),
    linear-gradient(180deg, #050914 0%, #0a1732 45%, #05070b 100%);
  overflow: hidden;
}
.motor-skyline {
  position: absolute; left: -4%; right: -4%; top: 6%;
  height: 38%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(0, 229, 255, 0.16) 8% 11%, transparent 11% 20%, rgba(214, 228, 247, 0.10) 20% 24%, transparent 24% 38%, rgba(240, 182, 67, 0.16) 38% 41%, transparent 41% 58%, rgba(0, 229, 255, 0.14) 58% 62%, transparent 62% 76%, rgba(255, 48, 66, 0.12) 76% 80%, transparent 80%),
    linear-gradient(180deg, rgba(5, 9, 20, 0), rgba(5, 9, 20, 0.76));
  opacity: 0.9;
}
.motor-road {
  position: absolute; left: 50%; bottom: -30%;
  width: 82%; height: 88%;
  transform: translateX(-50%) perspective(260px) rotateX(62deg);
  transform-origin: bottom center;
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.18) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(214, 228, 247, 0.13) 0 1px, transparent 1px 38px),
    linear-gradient(180deg, rgba(10, 18, 36, 0.78), rgba(5, 7, 11, 0.95));
  border-left: 2px solid rgba(0, 229, 255, 0.42);
  border-right: 2px solid rgba(0, 229, 255, 0.42);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.18);
}
.motor-lane {
  position: absolute; top: 39%; bottom: -8%;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 182, 67, 0), rgba(240, 182, 67, 0.82));
  transform-origin: top center;
  box-shadow: 0 0 12px rgba(240, 182, 67, 0.58);
}
.ml-1 { left: 42%; transform: rotate(10deg); }
.ml-2 { right: 42%; transform: rotate(-10deg); }
.motor-bike,
.motor-rival {
  position: absolute;
  filter: drop-shadow(0 0 13px rgba(0, 229, 255, 0.7));
}
.motor-bike {
  left: 46%; bottom: 18%;
  width: 70px; height: 54px;
  transform: rotate(-5deg);
  animation: motor-lean 1.3s ease-in-out infinite;
}
.motor-bike::before,
.motor-rival::before {
  content: "";
  position: absolute; left: 8%; right: 8%; top: 22%;
  height: 42%;
  background: linear-gradient(135deg, #00E5FF, #F0B643);
  clip-path: polygon(0 56%, 38% 0, 82% 20%, 100% 58%, 72% 100%, 18% 88%);
}
.motor-bike::after,
.motor-rival::after {
  content: "";
  position: absolute; left: 3%; right: 3%; bottom: 4%;
  height: 31%;
  background:
    radial-gradient(circle at 18% 50%, transparent 0 8px, rgba(214, 228, 247, 0.9) 8px 10px, transparent 11px),
    radial-gradient(circle at 82% 50%, transparent 0 8px, rgba(214, 228, 247, 0.9) 8px 10px, transparent 11px);
}
.motor-rival {
  width: 42px; height: 34px;
}
.motor-rival::before { background: linear-gradient(135deg, #FF3042, #F0B643); }
.mr-1 { left: 29%; bottom: 38%; transform: scale(0.72) rotate(7deg); }
.mr-2 { right: 25%; bottom: 47%; transform: scale(0.58) rotate(-6deg); }
.motor-boost {
  position: absolute; left: 62%; bottom: 35%;
  width: 22px; height: 22px;
  background: #23F5AE;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 18px rgba(35, 245, 174, 0.84);
  animation: motor-boost-pulse 1.1s ease-in-out infinite;
}
.motor-speedline {
  position: absolute; top: 30%;
  width: 3px; height: 130px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0), rgba(0, 229, 255, 0.72));
  transform: rotate(14deg);
  filter: blur(0.2px);
  animation: motor-speed 1.1s linear infinite;
}
.ms-1 { left: 20%; }
.ms-2 { right: 18%; animation-delay: 0.4s; transform: rotate(-14deg); }
@keyframes motor-lean { 50% { transform: translateX(8px) rotate(5deg); } }
@keyframes motor-boost-pulse { 50% { filter: brightness(1.7); transform: scale(1.18) rotate(45deg); } }
@keyframes motor-speed {
  from { opacity: 0; transform: translateY(-20px) rotate(14deg); }
  20% { opacity: 1; }
  to { opacity: 0; transform: translateY(130px) rotate(14deg); }
}
/* GoStrike: NEXUS-7 card art */
.art-gostrike {
  background:
    radial-gradient(220px 150px at 82% 36%, rgba(224, 53, 59, 0.22), transparent 62%),
    radial-gradient(320px 180px at 22% 84%, rgba(34, 211, 238, 0.18), transparent 70%),
    linear-gradient(180deg, #05070B 0%, #101418 58%, #05070B 100%);
}
.gostrike-airlock {
  position: absolute; right: 8%; top: 18%;
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px solid rgba(224, 53, 59, 0.56);
  box-shadow: inset 0 0 28px rgba(224, 53, 59, 0.16), 0 0 22px rgba(224, 53, 59, 0.16);
  animation: nexus-core-pulse 2.2s ease-in-out infinite;
}
.gostrike-airlock::before,
.gostrike-airlock::after {
  content: ""; position: absolute; inset: 15px; border-radius: 50%;
  border: 1px dashed rgba(234, 242, 245, 0.28);
}
.gostrike-airlock::after {
  inset: 33px;
  background: #E0353B;
  border: 0;
  box-shadow: 0 0 18px rgba(224, 53, 59, 0.85);
}
.gostrike-floor {
  position: absolute; left: -8%; right: -8%; bottom: -24%;
  height: 70%;
  background:
    repeating-linear-gradient(90deg, rgba(34, 211, 238, 0.20) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 180, 92, 0.14) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, rgba(46, 51, 56, 0.08), rgba(46, 51, 56, 0.52));
  transform: perspective(270px) rotateX(62deg);
  transform-origin: top center;
  opacity: 0.86;
}
.gostrike-nova {
  position: absolute; left: 18%; bottom: 25%;
  width: 30px; height: 46px;
  background: linear-gradient(180deg, #3A4148, #1A1C1E);
  clip-path: polygon(39% 0, 65% 0, 82% 22%, 74% 62%, 92% 100%, 57% 100%, 50% 72%, 41% 100%, 9% 100%, 27% 62%, 18% 22%);
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.68));
  animation: gostrike-run 0.72s steps(4, end) infinite;
}
.gostrike-nova::before {
  content: ""; position: absolute; left: 7px; top: 8px;
  width: 19px; height: 3px;
  background: #22D3EE;
  box-shadow: 0 0 10px #22D3EE;
}
.gostrike-nova::after {
  content: ""; position: absolute; left: 21px; top: 24px;
  width: 38px; height: 6px;
  background: #E0A82E;
  box-shadow: 0 0 10px rgba(224, 168, 46, 0.75);
}
.gostrike-bolt {
  position: absolute; left: 34%; width: 62px; height: 3px;
  background: #22D3EE;
  box-shadow: 0 0 13px #22D3EE;
  animation: gostrike-bolt 1.18s linear infinite;
}
.gb-1 { bottom: 48%; }
.gb-2 { bottom: 36%; animation-delay: 0.48s; }
.gostrike-drone {
  position: absolute; right: 24%;
  width: 32px; height: 22px;
  background: linear-gradient(180deg, #3A4148, #1A1C1E);
  border: 1px solid rgba(224, 53, 59, 0.62);
  clip-path: polygon(50% 0, 100% 32%, 82% 100%, 18% 100%, 0 32%);
  box-shadow: 0 0 12px rgba(224, 53, 59, 0.25);
  animation: target-hover 2.1s ease-in-out infinite;
}
.gostrike-drone::before {
  content: ""; position: absolute; left: 50%; top: 47%;
  width: 7px; height: 7px; border-radius: 50%;
  background: #E0353B;
  box-shadow: 0 0 10px #E0353B;
  transform: translate(-50%, -50%);
}
.gd-1 { top: 27%; }
.gd-2 { top: 54%; right: 38%; animation-delay: 0.7s; }
.gostrike-core {
  position: absolute; right: 11%; bottom: 20%;
  width: 30px; height: 52px;
  background: linear-gradient(180deg, #2E3338, #1A1C1E);
  border: 1px solid rgba(224, 53, 59, 0.44);
  box-shadow: inset 0 0 18px rgba(224, 53, 59, 0.18);
}
.gostrike-core::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: #E0353B;
  box-shadow: 0 0 14px #E0353B;
  transform: translate(-50%, -50%);
}
.gostrike-cell {
  position: absolute; left: 49%; bottom: 19%;
  width: 15px; height: 15px;
  background: #34D399;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.82);
  animation: energy-cell-float 1.6s ease-in-out infinite;
}
@keyframes nexus-core-pulse { 50% { filter: brightness(1.5); transform: scale(1.04); } }
@keyframes gostrike-run {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-3px) rotate(2deg); }
}
@keyframes gostrike-bolt {
  from { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  to { transform: translateX(190px); opacity: 0; }
}
@keyframes energy-cell-float { 50% { transform: translateY(-9px) rotate(45deg); } }
/* GoVerse Tetris card art */
.art-tetris {
  background:
    radial-gradient(180px 130px at 50% 30%, rgba(0, 229, 255, 0.16), transparent 68%),
    radial-gradient(180px 120px at 70% 78%, rgba(215, 183, 110, 0.12), transparent 68%),
    linear-gradient(180deg, #050914 0%, #0a1224 100%);
}
.tetris-grid {
  position: absolute; left: 50%; top: 50%;
  width: 128px; height: 154px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 229, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.13) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(0, 229, 255, 0.10) 1px, transparent 1px) 0 0 / 16px 16px,
    rgba(5, 9, 20, 0.62);
  box-shadow: inset 0 0 26px rgba(0, 229, 255, 0.08), 0 0 22px rgba(0, 229, 255, 0.12);
}
.tetris-block,
.tetris-ghost {
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 14px currentColor;
}
.tetris-block::before,
.tetris-ghost::before {
  content: "";
  position: absolute; left: 2px; right: 2px; top: 2px; height: 3px;
  background: rgba(255, 255, 255, 0.35);
}
.tb-1 { left: calc(50% - 48px); top: calc(50% + 43px); color: #00E5FF; background: #00E5FF; }
.tb-2 { left: calc(50% - 32px); top: calc(50% + 43px); color: #00E5FF; background: #00E5FF; }
.tb-3 { left: calc(50% - 16px); top: calc(50% + 43px); color: #00E5FF; background: #00E5FF; }
.tb-4 { left: calc(50% + 0px); top: calc(50% + 43px); color: #00E5FF; background: #00E5FF; }
.tb-5 { left: calc(50% + 16px); top: calc(50% + 27px); color: #F0B643; background: #F0B643; }
.tb-6 { left: calc(50% + 32px); top: calc(50% + 27px); color: #F0B643; background: #F0B643; }
.tb-7 { left: calc(50% + 16px); top: calc(50% + 43px); color: #F0B643; background: #F0B643; }
.tb-8 { left: calc(50% + 32px); top: calc(50% + 43px); color: #F0B643; background: #F0B643; }
.tetris-ghost {
  left: calc(50% - 8px); top: calc(50% - 58px);
  color: #9B6CFF;
  background: rgba(155, 108, 255, 0.28);
  animation: tetris-fall 2.8s ease-in-out infinite;
}
.tetris-ghost::after {
  content: "";
  position: absolute;
  left: -16px; top: 16px;
  width: 48px; height: 16px;
  border: 1px solid rgba(155, 108, 255, 0.35);
  background: rgba(155, 108, 255, 0.16);
  box-shadow: 0 0 16px rgba(155, 108, 255, 0.42);
}
@keyframes tetris-fall {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(34px); opacity: 0.48; }
}
html[data-motion="off"] .fall-word,
html[data-motion="off"] .gostrike-airlock,
html[data-motion="off"] .gostrike-nova,
html[data-motion="off"] .gostrike-bolt,
html[data-motion="off"] .gostrike-drone,
html[data-motion="off"] .gostrike-cell,
html[data-motion="off"] .goldrush-rope,
html[data-motion="off"] .goldrush-claw,
html[data-motion="off"] .goldrush-diamond,
html[data-motion="off"] .tetris-ghost,
html[data-motion="off"] .contra-shot,
html[data-motion="off"] .contra-target { animation: none; }

.arcade-info { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.demo-label {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 9px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
}
.arcade-info h3 { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 6px; }
.arcade-info p { font-size: 13.5px; color: var(--text-mute); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.demo-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 18px;
}
.demo-tags span {
  padding: 5px 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-body);
  border: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(0, 229, 255, 0.055);
}
.arcade-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.arcade-best {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold);
  padding: 6px 10px;
  border: 1px solid var(--gold-line); background: var(--gold-soft);
}

/* ---------- Arcade console modal ---------- */
body.arcade-lock { overflow: hidden; }
.arcade-modal {
  position: fixed; inset: 0; z-index: 320;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px, 3vw, 40px);
  background: rgba(3, 6, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.arcade-modal[hidden] { display: none; }
.arcade-shell {
  width: min(1020px, 100%);
  background: #04070F;
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 60px var(--accent-glow), 0 30px 80px rgba(0, 0, 0, 0.6);
}
.arcade-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(10, 18, 36, 0.8);
}
.arcade-bar-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--text-hi);
}
.arcade-hud {
  display: flex; gap: 18px; flex: 1; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
}
#arcadeScore { color: var(--cyan); }
#arcadeLives { color: var(--crimson); letter-spacing: 0.3em; }
#arcadeBestHud { color: var(--gold); }
.arcade-close {
  width: 44px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: transparent; color: var(--text-mute);
  border: 1px solid rgba(155, 173, 195, 0.25);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.arcade-close:hover { color: var(--crimson); border-color: rgba(255, 48, 66, 0.4); }
.arcade-stage { position: relative; aspect-ratio: 16 / 9; background: #050914; }
.arcade-stage.arcade-v2 {
  overflow: hidden;
  background:
    radial-gradient(760px 360px at 72% 30%, rgba(0, 229, 255, 0.12), transparent 64%),
    radial-gradient(620px 320px at 20% 86%, rgba(215, 183, 110, 0.10), transparent 62%),
    #050914;
}
.arcade-stage.arcade-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.35;
}
.arcade-stage.contra-stage {
  background-color: #050914;
  background-size: cover;
  background-position: center;
}
.arcade-stage.contra-side-stage {
  background-size: auto, cover;
  background-repeat: no-repeat, repeat-x;
}
#arcadeCanvas { width: 100%; height: 100%; display: block; touch-action: none; }
#arcadeCanvas.is-muted { opacity: 0.45; }
.contra-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  touch-action: none;
  z-index: 1;
}
.contra-sprite-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.contra-sprite {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 50% 90%;
  will-change: transform, filter, opacity;
  filter:
    drop-shadow(0 0 12px color-mix(in srgb, var(--sprite-accent, var(--crimson)) 42%, transparent))
    drop-shadow(0 12px 16px rgba(0, 0, 0, 0.58));
}
.contra-sprite img {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleX(var(--face, 1));
  transform-origin: 50% 50%;
  user-select: none;
  pointer-events: none;
}
.contra-sprite-body {
  display: block;
  transform-origin: 48% 88%;
  will-change: transform, filter;
}
.contra-player-sprite {
  width: clamp(86px, 8vw, 126px);
  --sprite-accent: var(--cyan);
  --face: 1;
  --recoil-x: -3px;
  --recoil-rot: -1deg;
}
.contra-player-sprite.is-facing-left {
  --face: -1;
  --recoil-x: 3px;
  --recoil-rot: 1deg;
}
.contra-player-sprite::before {
  content: "";
  position: absolute;
  left: 24%;
  right: 18%;
  bottom: 2%;
  height: 12%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
  transform: translateY(46%);
  z-index: -1;
}
.contra-player-sprite::after {
  content: "";
  position: absolute;
  right: -34%;
  top: 35%;
  width: 48%;
  height: 6px;
  opacity: 0;
  background: linear-gradient(90deg, var(--sprite-accent), rgba(255, 255, 255, 0));
  box-shadow: 0 0 20px var(--sprite-accent);
  transform: rotate(-5deg);
  transition: opacity 0.04s;
}
.contra-player-sprite.is-facing-left::after {
  left: -34%;
  right: auto;
  transform: rotate(185deg);
}
.contra-player-sprite.is-firing::after { opacity: 0.92; }
.contra-player-sprite.is-blink { opacity: 0.34; }
.contra-player-sprite.is-running .contra-sprite-body {
  animation: contraRunCycle 0.44s steps(4, end) infinite;
}
.contra-player-sprite.is-running::before {
  animation: contraRunShadow 0.44s steps(4, end) infinite;
}
.contra-player-sprite.is-strafing .contra-sprite-body {
  animation-duration: 0.34s;
}
.contra-player-sprite.is-firing img {
  animation: contraGunRecoil 0.09s steps(2, end) infinite;
}
.contra-player-sprite.is-crouching .contra-sprite-body {
  transform: translateY(18%) scale(1.1, 0.72) rotate(-7deg);
  filter: contrast(1.08) brightness(0.9);
}
.contra-player-sprite.is-jumping {
  filter:
    drop-shadow(0 0 18px color-mix(in srgb, var(--sprite-accent, var(--cyan)) 55%, transparent))
    drop-shadow(0 16px 18px rgba(0, 0, 0, 0.5));
}
.contra-player-sprite.is-jumping .contra-sprite-body {
  animation: contraJumpPose 0.58s ease-out infinite alternate;
}
.contra-player-sprite.is-jumping::before {
  transform: translateY(92%) scale(0.72, 0.55);
  opacity: 0.55;
}
.contra-enemy-sprite {
  width: clamp(62px, 6.4vw, 104px);
  --sprite-accent: var(--crimson);
}
.contra-enemy-sprite .contra-sprite-body {
  animation: contraDroneHover 1.15s ease-in-out infinite;
}
.contra-enemy-sprite.is-lancer .contra-sprite-body { animation-duration: 0.92s; }
.contra-enemy-sprite.is-juggernaut .contra-sprite-body { animation-duration: 1.45s; }
.contra-enemy-sprite.is-boss .contra-sprite-body { animation-duration: 1.8s; }
.contra-enemy-sprite::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 8%;
  height: 18%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0));
  transform: translateY(64%);
  z-index: -1;
}
.contra-enemy-sprite.is-lancer { width: clamp(70px, 7.2vw, 118px); }
.contra-enemy-sprite.is-juggernaut { width: clamp(96px, 10vw, 156px); }
.contra-enemy-sprite.is-boss { width: clamp(138px, 15vw, 238px); }
.contra-enemy-sprite.is-hit {
  filter:
    brightness(1.9) saturate(1.35)
    drop-shadow(0 0 20px rgba(255, 48, 66, 0.82))
    drop-shadow(0 12px 16px rgba(0, 0, 0, 0.58));
}

@keyframes contraRunCycle {
  0% { transform: translate(0, 0) rotate(-1.8deg) skewX(-1deg) scale(1.02, 0.985); }
  25% { transform: translate(2px, -3px) rotate(1.8deg) skewX(1.2deg) scale(0.985, 1.025); }
  50% { transform: translate(0, 1px) rotate(-1.1deg) skewX(-0.8deg) scale(1.015, 0.99); }
  75% { transform: translate(-2px, -2px) rotate(1.4deg) skewX(0.9deg) scale(0.99, 1.018); }
  100% { transform: translate(0, 0) rotate(-1.8deg) skewX(-1deg) scale(1.02, 0.985); }
}
@keyframes contraRunShadow {
  0%, 50%, 100% { transform: translateY(46%) scale(1, 1); opacity: 0.82; }
  25%, 75% { transform: translateY(46%) scale(0.82, 0.78); opacity: 0.58; }
}
@keyframes contraGunRecoil {
  0% { transform: scaleX(var(--face, 1)) translateX(0) rotate(0deg); filter: brightness(1.08); }
  100% { transform: scaleX(var(--face, 1)) translateX(var(--recoil-x)) rotate(var(--recoil-rot)); filter: brightness(1.22); }
}
@keyframes contraJumpPose {
  0% { transform: translateY(0) rotate(-4deg) scale(0.96, 1.04); }
  100% { transform: translateY(-3px) rotate(3deg) scale(1.02, 0.98); }
}
@keyframes contraDroneHover {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); filter: brightness(0.96); }
  50% { transform: translateY(-5px) rotate(2deg); filter: brightness(1.15); }
}

.arcade-overlay {
  position: absolute; inset: 0;
  z-index: 6;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center;
  padding: 24px;
  background: rgba(5, 9, 20, 0.82);
}
.arcade-overlay.show { display: flex; }
.ao-title {
  font-size: clamp(26px, 4vw, 44px); font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-hi); margin: 0;
  text-shadow: 0 0 30px var(--accent-glow);
}
.ao-sub { font-size: 15px; color: var(--text-body); max-width: 46ch; margin: 0 0 8px; }
.ao-extra {
  width: min(920px, 100%);
  max-height: min(58vh, 430px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-line) transparent;
}
.ao-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 4px auto 2px;
}
.ao-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(5, 9, 20, 0.58);
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.ao-pill b {
  color: var(--gold);
  font-weight: 800;
}
.contra-select-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.contra-card {
  display: grid;
  grid-template-rows: 108px auto;
  min-width: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(10, 18, 36, 0.9), rgba(5, 9, 20, 0.96));
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--text-body);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.contra-card:hover,
.contra-card.is-selected {
  border-color: var(--contra-accent, var(--accent));
  box-shadow: 0 0 20px color-mix(in srgb, var(--contra-accent, var(--accent)) 34%, transparent);
}
.contra-card.is-selected { transform: translateY(-2px); }
.contra-card img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.05);
}
.contra-card-body { padding: 10px 10px 12px; }
.contra-card h4 {
  margin: 0 0 4px;
  color: var(--text-hi);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.contra-card small {
  display: block;
  color: var(--contra-accent, var(--accent));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.contra-card p {
  margin: 0 0 8px;
  color: var(--text-mute);
  font-size: 11px;
  line-height: 1.35;
}
.contra-stat {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 9px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}
.contra-stat i {
  height: 4px;
  background: rgba(155, 173, 195, 0.16);
  overflow: hidden;
}
.contra-stat i::before {
  content: "";
  display: block;
  width: calc(var(--v) * 20%);
  height: 100%;
  background: var(--contra-accent, var(--accent));
}
.contra-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin: 0 auto;
}
.contra-upgrade-card {
  min-height: 142px;
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(215, 183, 110, 0.26);
  background:
    linear-gradient(180deg, rgba(10, 18, 36, 0.92), rgba(5, 9, 20, 0.98)),
    var(--upgrade-img, none);
  color: var(--text-body);
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.contra-upgrade-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(215, 183, 110, 0.22);
}
.contra-upgrade-card b {
  display: block;
  color: var(--text-hi);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.contra-upgrade-card span {
  display: block;
  color: var(--text-mute);
  font-size: 12px;
  line-height: 1.45;
}
.contra-run-hint {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 9px 11px;
  max-width: min(360px, calc(100% - 28px));
  background: rgba(5, 9, 20, 0.62);
  border: 1px solid rgba(0, 229, 255, 0.18);
  color: var(--text-mute);
  font-size: 11px;
  line-height: 1.25;
  pointer-events: none;
}
.contra-run-hint b {
  color: var(--text-hi);
  letter-spacing: 0.12em;
}
.contra-run-hint i {
  color: var(--gold);
  font-style: normal;
}

.memory-pads {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(2, minmax(90px, 150px)); grid-auto-rows: minmax(90px, 150px);
  gap: 16px; align-content: center; justify-content: center;
  z-index: 3;
}
.memory-pads[hidden] { display: none; }
.mem-pad {
  border: 1px solid; cursor: pointer;
  color: var(--text-hi);
  font-family: var(--font);
  font-size: clamp(17px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.12em;
  transition: filter 0.12s, box-shadow 0.12s, transform 0.12s, border-color 0.12s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.03);
}
.mem-pad[data-pad="0"] { background: rgba(0, 229, 255, 0.13); border-color: rgba(0, 229, 255, 0.5); }
.mem-pad[data-pad="1"] { background: rgba(215, 183, 110, 0.13); border-color: rgba(215, 183, 110, 0.5); }
.mem-pad[data-pad="2"] { background: rgba(68, 106, 255, 0.15); border-color: rgba(68, 106, 255, 0.55); }
.mem-pad[data-pad="3"] { background: rgba(255, 48, 66, 0.12); border-color: rgba(255, 48, 66, 0.5); }
.mem-pad:hover { transform: translateY(-2px); }
.mem-pad.lit,
.mem-pad.ok { filter: brightness(3); box-shadow: 0 0 34px var(--accent-glow); transform: scale(1.03); }
.mem-pad.ok { border-color: rgba(35, 245, 174, 0.74); }
.mem-pad.err { filter: brightness(0.6) sepia(1) hue-rotate(-50deg) saturate(4); }
.mem-status {
  position: absolute; top: 18px; left: 0; right: 0;
  z-index: 5;
  text-align: center; pointer-events: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.3em;
  color: var(--text-mute);
}
.arcade-v2-memory .mem-status {
  top: 92px;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(215, 183, 110, 0.25);
}
.lex-input {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  width: min(320px, 80%);
  display: none;
  padding: 10px 14px;
  background: rgba(10, 18, 36, 0.9);
  border: 1px solid var(--accent-line);
  color: var(--text-hi); font-family: var(--font); font-size: 16px;
}
.lex-input.show { display: block; }

@media (max-width: 900px) {
  .arcade-grid { grid-template-columns: 1fr; }
  .arcade-hud { gap: 10px; font-size: 11px; }
  .contra-select-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contra-upgrade-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .arcade-modal { padding: 8px; align-items: flex-start; padding-top: 12vh; }
  .arcade-title { font-size: 11px; line-height: 1.6; letter-spacing: 0.14em; }
  .arcade-hud { gap: 8px; font-size: 10px; letter-spacing: 0.08em; }
  .memory-pads { grid-template-columns: repeat(2, minmax(80px, 120px)); grid-auto-rows: minmax(80px, 120px); }
  .ao-extra { max-height: 48vh; }
  .contra-select-grid { grid-template-columns: 1fr; }
  .contra-card { grid-template-columns: 118px 1fr; grid-template-rows: auto; }
  .contra-card img { height: 100%; min-height: 132px; }
  .contra-player-sprite { width: clamp(44px, 12vw, 58px); }
  .contra-enemy-sprite { width: clamp(42px, 11vw, 58px); }
  .contra-enemy-sprite.is-lancer { width: clamp(48px, 12vw, 64px); }
  .contra-enemy-sprite.is-juggernaut { width: clamp(60px, 15vw, 78px); }
  .contra-enemy-sprite.is-boss { width: clamp(82px, 23vw, 112px); }
  .contra-run-hint {
    left: 7px;
    right: 7px;
    bottom: 6px;
    max-width: none;
    padding: 6px 8px;
    font-size: 9px;
    background: rgba(5, 9, 20, 0.5);
  }
  .contra-run-hint span,
  .contra-run-hint i { display: none; }
}

/* ============================================================
   v5 REAL IMAGERY WIRING (2026-06-14) — Johnny-generated webp
   ============================================================ */
/* Timeline: era image as faint cinematic backdrop per card */
.timeline-bg{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover;
  opacity:0.2; pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 52%,transparent 100%);
          mask-image:linear-gradient(180deg,#000 0%,#000 52%,transparent 100%);
}
.timeline-card > *:not(.timeline-bg){ position:relative; z-index:1; }
.timeline-card-prime .timeline-bg{ opacity:0.36; }

/* Profile portrait */
.profile-portrait{
  display:block; width:100%; max-width:330px; margin-top:24px;
  aspect-ratio:4/5; object-fit:cover; object-position:top center;
  border:1px solid var(--accent-line);
  box-shadow:0 18px 44px rgba(0,0,0,.5), 0 0 26px var(--accent-glow);
  clip-path:polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

/* Role icon tiles (layer cards) */
.layer-icon{
  display:block; width:54px; height:54px; margin-bottom:12px;
  object-fit:cover; border-radius:9px; border:1px solid var(--accent-line);
}

/* Stack capability icon (inline in cap-head) */
.cap-icon{
  width:28px; height:28px; flex:none;
  object-fit:cover; border-radius:6px; border:1px solid var(--accent-line);
}

/* Case media banner */
.case-media{
  display:block; width:100%; aspect-ratio:16/10; object-fit:cover;
  margin-bottom:14px; border-radius:8px; border:1px solid rgba(0,229,255,.16);
}

/* Arcade preview image (tank / tetris) */
.arcade-preview{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }

/* Tier glyph */
.tier-glyph{
  position:absolute; top:14px; right:14px; width:38px; height:38px; z-index:2;
  object-fit:cover; border-radius:8px; border:1px solid var(--accent-line); opacity:.9;
}

/* Overview ambient backdrop */
.section-overview{ position:relative; }
.section-overview > .section-inner{ position:relative; z-index:1; }
.section-overview::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:url("assets/img/scenes/overview-conduits.webp") center/cover no-repeat;
  opacity:.12;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 35%,#000 65%,transparent);
          mask-image:linear-gradient(180deg,transparent,#000 35%,#000 65%,transparent);
}
@media (max-width:760px){
  .profile-portrait{ max-width:260px; margin-left:auto; margin-right:auto; }
}

/* Showroom card thumbnail (per render type) */
.showroom-icon{
  display:block; width:46px; height:46px; margin-bottom:10px;
  object-fit:cover; border-radius:9px; border:1px solid var(--accent-line);
}

/* ===== v5 HERO COMMAND LOOP (Claude Design iframe — REVERSIBLE) =====
   Live cockpit loop sits above the static hero image (.hero::before, which stays
   as instant-paint + mobile/reduced-motion fallback). .hero::after re-applies the
   left-dark scrim above the loop so hero text (z-index:3) stays legible. */
.hero-loop{
  position:absolute; inset:0; width:100%; height:100%;
  border:0; z-index:0; pointer-events:none;
  background:#050914;
  opacity:0; transition:opacity 1.4s ease;
}
.hero-loop[src]{ opacity:0.92; }
.hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(5,9,20,0.92) 0%, rgba(5,9,20,0.66) 44%, rgba(5,9,20,0.26) 100%),
    linear-gradient(180deg, rgba(5,9,20,0.12), rgba(5,9,20,0.78));
}
@media (max-width:759px){ .hero-loop{ display:none; } }
@media (prefers-reduced-motion:reduce){ .hero-loop{ display:none; } }

/* ===== v6 PRODUCT SHOWCASE (thay showroom data trừu tượng) ===== */
.product-filter{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px; }
.product-chip{ cursor:pointer; border:1px solid rgba(0,229,255,.28); background:rgba(8,17,31,.6); color:#A6BBDA; padding:8px 16px; border-radius:999px; font:inherit; font-size:13px; font-weight:600; transition:.18s ease; }
.product-chip:hover{ color:#E8F1FF; border-color:#00E5FF; }
.product-chip.is-on{ background:#00E5FF; color:#03101A; border-color:#00E5FF; }
.product-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:18px; }
.product-card{ display:flex; flex-direction:column; background:linear-gradient(180deg,#0C1730,#0a1426); border:1px solid rgba(232,241,255,.1); overflow:hidden;
  clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px)); transition:.2s ease; }
.product-card:hover{ border-color:rgba(0,229,255,.45); box-shadow:0 0 26px rgba(0,229,255,.12); transform:translateY(-2px); }
.product-card-media,.product-gallery-main,.product-gallery-thumb{ position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(120% 120% at 30% 20%,rgba(0,229,255,.14),transparent 60%),linear-gradient(160deg,#0C1730,#050914); }
.product-card-media{ aspect-ratio:16/10; }
.product-ph{ font-size:15px; font-weight:700; letter-spacing:.04em; color:rgba(166,187,218,.5); padding:10px; text-align:center; }
.product-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .4s ease; }
.has-img .product-img{ opacity:1; }
.has-img .product-ph{ opacity:0; }
.product-card-body{ display:flex; flex-direction:column; gap:8px; padding:14px 16px 16px; flex:1; }
.product-card-top{ display:flex; }
.product-badge{ font-size:10.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; padding:3px 9px; border-radius:999px; border:1px solid; }
.product-badge-full{ color:#00D68C; border-color:#00D68C; background:rgba(0,214,140,.12); }
.product-badge-lite{ color:#2FD9F5; border-color:#2FD9F5; background:rgba(0,229,255,.1); }
.product-badge-card{ color:#D7B76E; border-color:#D7B76E; background:rgba(215,183,110,.1); }
.product-card-title{ font-size:18px; font-weight:700; margin:0; color:#E8F1FF; }
.product-card-tagline{ font-size:13.5px; line-height:1.5; color:#A6BBDA; margin:0; flex:1; }
.product-card .button{ align-self:flex-start; margin-top:4px; }
.product-empty,.product-card-skeleton{ grid-column:1/-1; padding:34px; text-align:center; color:#8194B4; border:1px dashed rgba(232,241,255,.14); border-radius:12px; }
/* modal */
.product-modal{ display:none; position:fixed; inset:0; z-index:1200; padding:clamp(10px,3vw,40px); background:rgba(3,7,16,.82); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.product-modal:not([hidden]){ display:flex; align-items:center; justify-content:center; }
.product-shell{ width:min(1080px,100%); max-height:92vh; display:flex; flex-direction:column; background:linear-gradient(180deg,#0C1730,#08111F); border:1px solid rgba(0,229,255,.25);
  clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px)); box-shadow:0 30px 80px rgba(0,0,0,.6); overflow:hidden; }
.product-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 20px; border-bottom:1px solid rgba(232,241,255,.1); }
.product-console-label{ display:block; font-size:10.5px; letter-spacing:.22em; color:#FF9F6B; font-weight:700; }
#productModalTitle{ font-size:18px; color:#E8F1FF; }
.product-close{ flex:none; width:36px; height:36px; display:flex; align-items:center; justify-content:center; cursor:pointer; background:transparent; border:1px solid rgba(232,241,255,.18); border-radius:8px; color:#A6BBDA; }
.product-close:hover{ color:#E8F1FF; border-color:#00E5FF; }
.product-body{ padding:20px; overflow:auto; }
.product-detail{ display:grid; grid-template-columns:1.1fr 1fr; gap:22px; }
.product-gallery{ display:flex; flex-direction:column; gap:10px; }
.product-gallery-main{ aspect-ratio:16/10; border:1px solid rgba(232,241,255,.1); border-radius:10px; }
.product-gallery-strip{ display:flex; gap:8px; flex-wrap:wrap; }
.product-gallery-thumb{ width:72px; height:48px; border-radius:7px; border:1px solid rgba(232,241,255,.12); cursor:pointer; }
.product-gallery-thumb.is-on{ border-color:#00E5FF; }
.product-bro-wrap{ display:flex; flex-direction:column; gap:12px; margin-top:4px; }
.product-bro{ display:flex; flex-direction:column; gap:8px; cursor:pointer; background:transparent; border:0; padding:0; text-align:center; width:100%; }
.product-bro-thumb{ position:relative; aspect-ratio:16/10; max-height:180px; border:1px solid rgba(0,229,255,.18); border-radius:10px; overflow:hidden; display:flex; align-items:center; justify-content:center; transition:.18s;
  background:radial-gradient(120% 120% at 30% 20%,rgba(0,229,255,.12),transparent 60%),#08111F; }
.product-bro:hover .product-bro-thumb{ border-color:#00E5FF; box-shadow:0 0 18px rgba(0,229,255,.18); }
.product-bro-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top center; }
.product-bro-pdf{ font-size:13px; font-weight:800; letter-spacing:.12em; color:#FF9F6B; border:1px solid #FF9F6B; padding:6px 12px; border-radius:7px; }
.product-bro-label{ font-size:13px; font-weight:700; color:#2FD9F5; }
.product-bro:hover .product-bro-label{ color:#00E5FF; }
.product-info{ display:flex; flex-direction:column; gap:10px; }
.product-info-title{ font-size:22px; margin:2px 0 0; color:#E8F1FF; }
.product-info-tagline{ font-size:14.5px; color:#2FD9F5; margin:0; }
.product-info-summary{ font-size:14px; line-height:1.6; color:#A6BBDA; margin:0; }
.product-features{ margin:4px 0 0; padding-left:18px; color:#C7D6EE; font-size:13.5px; line-height:1.6; }
.product-features li{ margin:3px 0; }
.product-sample-note{ font-size:12px; color:#8194B4; background:rgba(0,214,140,.07); border:1px solid rgba(0,214,140,.25); border-radius:8px; padding:8px 10px; margin:4px 0 0; }
.product-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }
.product-substate-bar{ display:flex; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
.product-frame-wrap{ display:flex; flex-direction:column; gap:10px; }
.product-pdf-frame,.product-demo-frame{ width:100%; height:72vh; border:1px solid rgba(232,241,255,.12); border-radius:10px; background:#050914; }
.product-video-frame{ width:100%; max-height:74vh; border:1px solid rgba(232,241,255,.12); border-radius:10px; background:#000; display:block; }
.product-video-btn{ border-color:rgba(255,159,107,.45)!important; color:#FF9F6B!important; }
.product-video-btn:hover{ border-color:#FF9F6B!important; box-shadow:0 0 14px rgba(255,159,107,.22); }
.product-brochure-img{ max-height:72vh; overflow:auto; border:1px solid rgba(232,241,255,.12); border-radius:10px; background:#050914; }
.product-brochure-img img{ width:100%; height:auto; display:block; }
.product-gallery-main{ cursor:zoom-in; }
.product-gallery-main::after{ content:"🔍"; position:absolute; right:8px; bottom:8px; font-size:13px; background:rgba(3,7,16,.6); border:1px solid rgba(0,229,255,.3); border-radius:7px; padding:3px 7px; opacity:0; transition:.15s; }
.product-gallery-main:hover::after{ opacity:1; }
.product-zoom{ position:fixed; inset:0; z-index:2000; display:none; align-items:center; justify-content:center; background:rgba(2,6,14,.93); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); padding:24px; cursor:zoom-out; }
.product-zoom.on{ display:flex; }
.product-zoom img{ max-width:96vw; max-height:92vh; object-fit:contain; border:1px solid rgba(0,229,255,.3); border-radius:8px; box-shadow:0 24px 90px rgba(0,0,0,.75); }
.product-zoom-close{ position:absolute; top:18px; right:22px; width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.08); border:1px solid rgba(232,241,255,.2); color:#E8F1FF; font-size:18px; cursor:pointer; }
.product-zoom-close:hover{ border-color:#00E5FF; }
.product-frame-fallback{ font-size:12.5px; color:#8194B4; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.product-frame-missing{ display:flex; align-items:center; justify-content:center; min-height:46vh; border:1px dashed rgba(0,229,255,.3); border-radius:10px; background:radial-gradient(120% 120% at 50% 30%,rgba(0,229,255,.08),transparent 60%),#08111F; color:#A6BBDA; font-size:15px; font-weight:600; text-align:center; padding:20px; }

/* Cinema flow: forced intro video gate + product voiceover bar (v6.1) */
.product-card-media{ position:relative; }
.product-card-vbadge{ position:absolute; top:8px; right:8px; width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(5,9,20,.72); border:1px solid rgba(0,229,255,.55); color:#00E5FF; font-size:12px; }
.product-gate{ position:relative; }
.product-gate .product-video-frame{ width:100%; max-height:72vh; background:#05080f; border-radius:10px; display:block; }
.product-gate-status{ margin-top:10px; text-align:center; color:#00E5FF; font-size:14px; font-weight:700; letter-spacing:.02em; }
.product-gate-overlay{ position:absolute; left:0; right:0; top:0; bottom:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; border:0; cursor:pointer; background:radial-gradient(120% 120% at 50% 40%,rgba(0,229,255,.12),rgba(5,9,20,.88)); color:#EAF4FF; font-size:15px; font-weight:600; border-radius:10px; }
.product-gate-play{ width:74px; height:74px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#00E5FF; color:#05080f; font-size:30px; box-shadow:0 0 28px rgba(0,229,255,.5); }
.product-gate-skip{ display:block; margin:12px auto 0; background:transparent; border:1px solid rgba(166,187,218,.4); color:#A6BBDA; padding:7px 16px; border-radius:8px; font-size:13px; cursor:pointer; }
.product-gate-skip:hover{ color:#EAF4FF; border-color:#00E5FF; }
.product-audio-bar{ display:flex; align-items:flex-start; gap:10px; margin:0 0 14px; padding:11px 13px; border:1px solid rgba(0,229,255,.28); border-radius:10px; background:linear-gradient(180deg,rgba(0,229,255,.08),rgba(0,229,255,.02)); }
.product-audio-icon{ font-size:18px; line-height:1.4; }
.product-audio-cap{ flex:1; min-width:0; }
.product-audio-state{ display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#00E5FF; }
.product-audio-text{ margin:3px 0 0; font-size:13.5px; line-height:1.5; color:#C8D7EE; }
.product-audio-ctrl{ flex:none; width:34px; height:34px; border-radius:50%; border:1px solid rgba(0,229,255,.4); background:rgba(0,229,255,.1); color:#EAF4FF; font-size:14px; cursor:pointer; }
.product-audio-ctrl:hover{ background:rgba(0,229,255,.22); }
@media (max-width:640px){ .product-audio-text{ font-size:13px; } .product-gate-play{ width:60px; height:60px; font-size:24px; } }
@media (max-width:760px){ .product-detail{ grid-template-columns:1fr; } .product-pdf-frame,.product-demo-frame{ height:64vh; } }

/* v6.2 mobile/touch */
.site-header{height:var(--header-safe-h);padding-top:env(safe-area-inset-top)}body.nav-open{overflow:hidden}.product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}.product-chip,.product-bro,.product-gallery-thumb,.product-gate-overlay,.product-gate-skip,.product-audio-ctrl{min-height:44px}.product-close{width:44px;height:44px}.product-body,.arcade-modal,.product-modal{overscroll-behavior:contain}
@media (max-width:900px){.site-nav{top:var(--header-safe-h);max-height:calc(100svh - var(--header-safe-h));overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:max(22px,calc(22px + env(safe-area-inset-bottom)))}}
@media (max-width:760px){.product-modal:not([hidden]){align-items:flex-start}.product-modal{padding:calc(8px + env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.product-shell{width:100%;max-height:calc(100svh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.product-body{padding:14px;-webkit-overflow-scrolling:touch}.product-gallery-strip{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x proximity}.product-gallery-thumb{flex:0 0 78px;scroll-snap-align:start}.product-actions .button,.product-substate-bar .button{width:100%}.product-pdf-frame,.product-demo-frame{height:64svh}.product-brochure-img{max-height:64svh}.product-gate .product-video-frame{max-height:62svh}}
@media (max-width:640px){.hero-hud,.hero-meta{display:none}.hero-frame{padding-top:calc(var(--header-safe-h) + 22px);padding-bottom:max(28px,env(safe-area-inset-bottom));gap:18px}.hero-grid{height:38%;opacity:.28}.hero-status,.hero-proofline{margin-bottom:16px}.site-header{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.arcade-modal{padding:calc(8px + env(safe-area-inset-top)) 8px calc(8px + env(safe-area-inset-bottom));align-items:flex-start}.arcade-shell{max-height:calc(100svh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:hidden}.arcade-close{height:44px}}

/* v6.3 tablet/iPad language safety */
@media (max-width:1280px){
  .site-header{gap:12px}
  .brand-lockup{flex:1 1 auto;min-width:0}
  .site-nav{
    position:fixed;
    top:var(--header-safe-h);
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    max-height:calc(100svh - var(--header-safe-h));
    overflow-y:auto;
    padding:14px clamp(16px,4vw,32px) max(22px,calc(22px + env(safe-area-inset-bottom)));
    background:rgba(5,9,20,.97);
    border-bottom:1px solid var(--accent-line);
    opacity:0;
    visibility:hidden;
    transform:translateY(-12px);
    transition:transform .25s,opacity .25s,visibility .25s;
    -webkit-overflow-scrolling:touch;
    -webkit-backdrop-filter:blur(18px);
    backdrop-filter:blur(18px);
  }
  .site-nav.open{opacity:1;visibility:visible;transform:none}
  .site-nav a,.site-nav button{min-height:48px;padding:14px 12px;font-size:15px}
  .site-nav button.nav-watch,.site-nav a.nav-cta{margin:10px 0 0;justify-content:center}
  .header-tools{display:flex;flex:none;gap:8px}
  .lang-toggle{display:inline-flex;min-width:70px;justify-content:center;background:rgba(5,9,20,.5)}
  .nav-toggle{display:inline-flex}
}
