/* =========================================================
   Zoth Studio — layout locked to assets/mockups/*
   Tokens derived from generated section photos
   ========================================================= */

:root {
  --bg: #05060a;
  --bg-2: #0a0c14;
  --panel: rgba(16, 20, 34, 0.78);
  --panel-solid: #101422;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(0, 229, 255, 0.45);
  --text: #f4f7ff;
  --muted: #b8c0d4;
  --muted-dark: #8b94a7;
  --cyan: #00e5ff;
  --magenta: #d946ef;
  --violet: #8b5cf6;
  --green: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 72px;
  --max: 1440px;
  --gutter: 24px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-cyan: 0 0 28px rgba(0, 229, 255, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   ZOTH SEAL SACRED WATERMARK LAYER — UNIVERSAL SITEWIDE BACKDROP
   ═══════════════════════════════════════════════════════════════ */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 85vw);
  height: min(880px, 85vw);
  background-image: url("/assets/brand/zoth-seal-hermetic-on-dark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.038;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.4));
}

body.nav-open,
body.modal-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  padding: 10px 14px; background: var(--cyan); color: #041018; font-weight: 700; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 400;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  pointer-events: none;
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- Header (mock 01) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5, 6, 10, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
body {
  padding-top: var(--header-h);
}
.site-header.is-scrolled {
  background: rgba(5, 6, 10, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: contain;
  background: #050510;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 20px;
  flex-wrap: nowrap;
}
.nav-desktop a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--text); text-decoration: none; }
.nav-desktop a.is-active { color: var(--cyan); }
.nav-desktop .nav-studio,
.nav-desktop .nav-vault {
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
  margin-left: 4px;
}
.nav-desktop .nav-studio {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}
.nav-desktop .nav-studio:hover,
.nav-desktop .nav-studio.is-active,
.nav-desktop .nav-vault:hover,
.nav-desktop .nav-vault.is-active {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.45);
  text-decoration: none;
}
.hero-subcta {
  margin: -16px 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-subcta a { color: var(--muted); }
.hero-subcta a:hover { color: var(--cyan); }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer { color: #cfd4e0; }
.footer-links a { color: #b8c0d4; }

/* Secondary text used on dark panels */
.kicker,
.section-lede,
.hero-subcta,
.eyebrow,
.deck-meta,
.map-card p,
.hero-aside-cap,
.feature-copy p,
.byok-head p,
.run-panel span,
.stats span { color: var(--muted); }

/* Live pill: non-color state indication */
.live-pill { font-weight: 700; }
.live-pill[aria-label*="offline"] { border-color: #ef4444; color: #fca5a5; }
.live-pill[aria-label*="online"] { border-color: #34d399; color: #6ee7b7; }
.live-pill[aria-label*="Checking"] { border-color: rgba(255,255,255,0.18); color: var(--muted); }
.hosting-vault-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Studio launch pad */
.deck-page .site-header { position: fixed; }
.deck-main { padding-bottom: 80px; }
.deck-hero {
  padding: 88px 0 28px;
  max-width: none;
}
.deck-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
  gap: 36px 48px;
  align-items: end;
}
.deck-hero-copy { max-width: 640px; }
.deck-hero h1 {
  margin: 8px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.deck-hero-aside { min-width: 0; }
.deck-hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #07070d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.deck-hero-visual > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}
.deck-hero-seal {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(7, 7, 13, 0.72);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.18);
}
.deck-hero-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 7, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.deck-status {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.deck-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 16px;
}
.deck-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.deck-map { margin-top: 8px; }
.deck-map.is-offline a {
  pointer-events: none;
  opacity: 0.42;
}
.nav-desktop .btn { text-transform: none; letter-spacing: 0.02em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  place-items: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; width: 100%; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-mobile {
  display: none; position: fixed; inset: var(--header-h) 0 0 0;
  background: rgba(5, 6, 10, 0.98); padding: 18px 20px; flex-direction: column; z-index: 99;
  overflow-y: auto; overscroll-behavior: contain;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  color: var(--text); font-family: var(--font-display); font-size: 1.25rem;
  padding: 16px 12px; border-bottom: 1px solid var(--line); text-decoration: none;
  min-height: 48px; display: flex; align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; min-width: 44px; padding: 0 20px; border-radius: 12px;
  border: 0; cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.92rem;
  background: var(--cyan);
  color: #031018;
  box-shadow: none;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  touch-action: manipulation;
}
.btn:hover { background: #5ef6ff; transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); background: transparent; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.84rem; }
.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  box-shadow: none;
}

/* ---------- Hero (mock 01) ---------- */
.hero {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero-content { position: relative; z-index: 3; }
.hero-copy { max-width: 560px; position: relative; z-index: 3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: none;
}
.hero h1 .line1,
.hero h1 .line2 { display: block; }
.hero h1 .line2 { color: var(--cyan); }
.lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}

.stats {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stats li {
  position: relative;
  padding: 14px 12px;
  border-radius: 14px;
  background: linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box,
    linear-gradient(135deg, rgba(0, 229, 255, 0.55), rgba(217, 70, 239, 0.35)) border-box;
  border: 1px solid transparent;
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stats span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-aside {
  position: relative;
  border-radius: 20px;
  padding: 0;
  background: transparent;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-aside-inner {
  border-radius: 20px;
  overflow: hidden;
  background: #07090f;
}
.hero-aside video,
.hero-aside img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  max-height: 560px;
}
.hero-aside-cap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(5, 6, 10, 0.85);
}
.pill {
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ---------- Section chrome ---------- */
.section { padding: 88px 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 340px);
  gap: 16px 40px;
  align-items: end;
  margin-bottom: 36px;
}
.kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section h2 .grad { color: var(--cyan); }
.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  text-align: right;
}

/* ---------- Map (mock 02) ---------- */
.overview-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.map-card {
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
  overflow: hidden;
}
.map-thumb {
  display: block;
  width: calc(100% + 40px);
  height: 92px;
  margin: -20px -20px 14px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(1.05);
}
.map-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.map-card .n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: 12px;
}
.map-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 750;
}
.map-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.map-card a {
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- Destinations (three doors) ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.door {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
  background: #101624;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}
.door:hover { text-decoration: none; border-color: rgba(34, 211, 238, 0.45); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); }
.door img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  filter: brightness(1.28) saturate(1.2) contrast(1.05);
  transition: transform 0.6s var(--ease);
}
.door:hover img { transform: scale(1.08); }
.door::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(90% 70% at 50% 0%, rgba(0, 229, 255, 0.18), transparent 62%);
  pointer-events: none;
}
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,6,10,0.05) 0%, rgba(5,6,10,0.42) 48%, rgba(5,6,10,0.88) 100%);
}
.door-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 22px;
}
.door-copy::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: var(--mx, 50%);
  top: var(--my, 72%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.32), transparent 68%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease;
}
.door:hover .door-copy::after { opacity: 1; }
.door-copy > * { position: relative; z-index: 1; }
.door .n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
}
.door h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.door p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28ch;
}
.door-go {
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.88rem;
}

.feature-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Pipeline rail ---------- */
.pipe-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.pipe-rail li {
  padding: 22px 20px 0 0;
  border-top: 2px solid transparent;
  margin-top: -1px;
  transition: border-color 0.2s ease;
}
.pipe-rail li:hover { border-top-color: var(--cyan); text-shadow: 0 0 18px rgba(0, 229, 255, 0.18); }
.pipe-rail li strong { transition: color 0.2s ease; }
.pipe-rail li:hover strong { color: var(--cyan); }
.pipe-rail span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 10px;
}
.pipe-rail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.pipe-rail em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 22ch;
}

/* ---------- Features (mock 03) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}
.feature-row.is-flip { grid-template-columns: 0.95fr 1.05fr; }
.feature-row.is-flip .feature-copy { order: 2; }
.feature-row.is-flip .feature-media { order: 1; }

.feature-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 300px;
  background: #07090f;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease;
}
.feature-row:hover .feature-media { border-color: rgba(34, 211, 238, 0.4); }
.feature-media video,
.feature-media img {
  width: 100%; height: 100%; min-height: 300px; object-fit: cover;
}
.feature-copy {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: center;
  transition: border-color 0.25s ease;
}
.feature-row:hover .feature-copy { border-color: rgba(167, 139, 250, 0.4); }
.feature-copy h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.feature-copy > p {
  margin: 0 0 18px;
  color: var(--muted);
}
.feature-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  width: 6px; height: 6px; margin-top: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.feature-list code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 6px;
  padding: 1px 6px;
}

/* ---------- BYOK / vault feature polish ---------- */
.feature-byok .feature-copy {
  border-color: rgba(0, 229, 255, 0.22);
  background:
    linear-gradient(165deg, rgba(0, 229, 255, 0.06), transparent 42%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.byok-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}
.byok-head h3 { margin: 0; }
.daemon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.08);
}
.daemon-badge[hidden] { display: none !important; }
.daemon-badge .live-dot {
  margin-right: 0;
  width: 6px;
  height: 6px;
}

.security-strip {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.security-strip li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.08);
}
.security-strip li:nth-child(2) {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.08);
}
.security-strip li:nth-child(3) {
  border-color: rgba(217, 70, 239, 0.35);
  background: rgba(217, 70, 239, 0.07);
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.08);
}

.byok-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 1.15rem;
}
.byok-cta .btn { min-height: 44px; }
.hosting-vault-cta { margin-top: 1.25rem; }

.run-close {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}
.run-close-inner { max-width: 640px; margin: 0 auto; }
.run-close .lede { margin-inline: auto; }
.run-close .cta-row { justify-content: center; }
.run-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.run-details {
  margin-top: 28px;
  text-align: center;
}
.run-details .code-wrap { text-align: left; }
.run-details summary {
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  list-style: none;
}
.run-details summary::-webkit-details-marker { display: none; }
.run-details[open] summary { margin-bottom: 12px; color: var(--cyan); }

.nav-mobile-vault {
  color: var(--cyan) !important;
  font-weight: 700;
  border-bottom: none !important;
  margin-top: 8px;
  border: 1.5px solid rgba(0, 229, 255, 0.45) !important;
  border-radius: 12px;
  text-align: center;
  padding: 12px 8px !important;
}

/* ---------- Pipeline (mock 04) ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.pipeline::before {
  content: "";
  position: absolute;
  top: 42%;
  left: 4%;
  right: 4%;
  border-top: 1px dashed rgba(0, 229, 255, 0.35);
  pointer-events: none;
}
.pipeline-step {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding: 22px 18px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 40, 60, 0.55), rgba(12, 16, 28, 0.9));
  border: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}
.pipeline-step .step-num {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--magenta);
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.pipeline-step h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pipeline-step h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--cyan);
}
.pipeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.pipeline-step .step-icon {
  margin-top: 18px;
  color: var(--cyan);
  font-size: 1.4rem;
  opacity: 0.85;
}

/* ---------- Pets (mock 05) ---------- */
.roster-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0 0 22px;
}
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0;
}
.art-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.art-toggle button {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  padding: 10px 12px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  touch-action: manipulation;
}
.art-toggle button.is-active,
.art-toggle button:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.08); }
.filter-chip {
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: all 0.2s ease;
}
.filter-chip.is-active,
.filter-chip:hover {
  color: #041018;
  background: var(--cyan);
  border-color: var(--cyan);
}
.pets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pet {
  --mx: 50%;
  --my: 40%;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0f18;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}
.pet::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.38), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
}
.pet:hover::before { opacity: 1; }
.pet:hover {
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(0, 229, 255, 0.12);
}
.pet:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.pet.is-filtered-out { display: none !important; }
.pet-media {
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: #080a10;
}
.pet-media img {
  width: 100%; height: 100%; object-fit: contain;
  background: #05060a;
  padding: 8%;
  transition: transform 0.45s var(--ease);
}
.pets-classic .pet-media img {
  object-fit: cover;
  padding: 0;
}
.pet:hover .pet-media img { transform: scale(1.04); }
.pet-body {
  padding: 14px 14px 16px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.95), rgba(8, 10, 16, 0.98));
}
.pet-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cyan);
}
.pet-role {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.pet-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
}
.pet-cta {
  display: inline-block;
  margin-top: 10px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Gallery (mock 06) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery-card {
  position: relative;
  margin: 0; padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #07090f;
  cursor: pointer;
  color: inherit;
  transition: transform 0.2s var(--ease), border-color 0.2s ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gallery-card::after {
  content: "▶";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(5, 6, 10, 0.55);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: var(--cyan);
  font-size: 0.85rem;
  opacity: 0.9;
  pointer-events: none;
}
.gallery-card[data-type="image"]::after { display: none; }
.gallery-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.92));
}

/* ---------- Arsenal bento (mock 07) ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 420px;
}
.bento-main {
  grid-row: 1 / span 2;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  transition: border-color 0.25s ease;
}
.bento-main:hover { border-color: rgba(34, 211, 238, 0.45); }
.bento-main video,
.bento-main img {
  width: 100%; height: 100%; object-fit: cover; min-height: 360px;
}
.bento-main .overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.94));
}
.bento-main h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}
.bento-main p { margin: 0; color: var(--muted); }
.bento-side {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  transition: border-color 0.25s ease;
}
.bento-side:hover { border-color: rgba(167, 139, 250, 0.4); }
.bento-side h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}
.bento-side p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.tool-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.tool-chips span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.06);
  border-radius: 8px;
  padding: 5px 8px;
}

/* ---------- Hosting ---------- */
.host-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.host-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
  min-height: 150px;
  transition: border-color 0.25s ease;
}
.host-card:hover { border-color: rgba(34, 211, 238, 0.4); }
.host-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}
.host-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.host-card code {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.82rem;
}

/* ---------- Runbook (mock 08) ---------- */
.run-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}
.run-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.run-steps li {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px 18px;
  transition: border-color 0.25s ease, transform 0.2s ease;
}
.run-steps li:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-1px);
}
.run-steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 4px;
}
.run-steps code {
  display: inline-block;
  margin: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  background: #0a0e18;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 8px;
}
.run-steps span { color: var(--muted); font-size: 0.88rem; }

.code-wrap {
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #07090f;
  box-shadow: var(--shadow);
}
.code-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.code {
  margin: 0;
  padding: 18px 16px;
  color: #c4b5fd;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  overflow: auto;
  white-space: pre;
}
.code-sm {
  white-space: pre-wrap;
  max-height: 140px;
  font-size: 0.78rem !important;
}

/* ---------- FAQ ---------- */
.faq details {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 16px 14px 18px;
  margin: 0 0 10px;
  border-left: 2px solid rgba(109, 40, 217, 0.45);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq details:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(167, 139, 250, 0.05);
}
.faq details[open] { border-color: rgba(0, 229, 255, 0.35); border-left-color: #22d3ee; }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.02rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.3);
}
.footer-brand strong {
  display: block; color: var(--text);
  font-family: var(--font-display);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.footer-links a {
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--cyan); text-decoration: none; }

/* ---------- Progress rail / back top ---------- */
.progress-rail {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 10px;
}
.progress-rail a {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  text-indent: -9999px; overflow: hidden;
}
.progress-rail a.is-active {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
  transform: scale(1.25);
}
.back-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(5, 6, 10, 0.9);
  color: var(--cyan); font-size: 1.1rem; cursor: pointer;
}
.back-top[hidden] { display: none !important; }

/* ---------- Modals ---------- */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 16px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 3, 8, 0.8);
  backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative; z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: #0c101c;
  box-shadow: var(--shadow);
  padding: 16px;
}
.modal-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.06);
  color: var(--text); font-size: 1.35rem; cursor: pointer;
  display: grid; place-items: center;
  touch-action: manipulation;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}
.modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}
.modal-media {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #080a10;
}
.modal-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.modal-copy h2 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
}
.modal-role { color: var(--cyan); font-weight: 700; margin: 0 0 12px; }
.modal-sub {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 750;
}
.lightbox-panel { width: min(1040px, 100%); }
.lightbox-stage {
  border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line);
}
.lightbox-stage video,
.lightbox-stage img {
  width: 100%; max-height: 72vh; object-fit: contain; background: #000;
}
.lightbox-cap { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- Responsive (360px, 768px, 1024px, 1440px+) ---------- */
@media (min-width: 1440px) {
  :root {
    --max: 1320px;
    --gutter: 32px;
  }
  .hero-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter: 20px;
  }
  .nav { grid-template-columns: auto auto; }
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; justify-self: end; }
  .hero-content { grid-template-columns: 1fr; gap: 28px; }
  .hero-aside video, .hero-aside img { max-height: 420px; aspect-ratio: 16/11; }
  .deck-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-head { grid-template-columns: 1fr; }
  .section-lede { text-align: left; }
  .overview-map,
  .doors { grid-template-columns: 1fr 1fr; }
  .pipe-rail { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .feature-row, .feature-row.is-flip { grid-template-columns: 1fr; }
  .feature-row.is-flip .feature-copy,
  .feature-row.is-flip .feature-media { order: initial; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline::before { display: none; }
  .pets { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .bento-main { grid-row: auto; }
  .host-grid { grid-template-columns: 1fr; }
  .run-panel { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .progress-rail { display: none; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-panel { width: min(680px, 100%); }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
    --header-h: 68px;
  }
  .section { padding: 64px 0; }
  .hero { min-height: auto; padding-top: 24px; padding-bottom: 24px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .lede { font-size: 0.98rem; }
  .overview-map,
  .doors,
  .pipeline,
  .pipe-rail,
  .pets,
  .gallery-grid { grid-template-columns: 1fr; }
  .feature-byok .feature-copy { padding: 24px 20px; }
  .byok-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .security-strip { gap: 6px; }
  .security-strip li { font-size: 0.68rem; padding: 0 10px; min-height: 28px; }
  .byok-cta { flex-direction: column; align-items: stretch; }
  .byok-cta .btn { width: 100%; }
  .footer-grid { flex-direction: column; gap: 24px; }
  .footer-links { gap: 12px 16px; }
  .hero-arc-track {
    justify-content: flex-start;
    padding: 6px 8px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .hero-arc-pet {
    transform: none !important;
    width: 52px;
    height: 52px;
  }
  .hero-arc-pet:hover,
  .hero-arc-pet:focus-visible {
    transform: scale(1.08) !important;
  }
}

@media (max-width: 360px) {
  :root {
    --gutter: 12px;
    --header-h: 64px;
  }
  .brand-text strong { font-size: 1rem; }
  .hero h1 { font-size: 1.95rem; }
  .lede { font-size: 0.9rem; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .roster-tools { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filter-chip { flex: 0 0 auto; }
  .art-toggle { justify-content: center; }
  .code { font-size: 0.75rem; padding: 14px 12px; }
  .modal-panel { padding: 12px; }
  .modal-close { top: 6px; right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pet, .gallery-card, .map-card { transition: none; }
  .fx-trail, .click-ripple, .cursor-dot, .cursor-ring { display: none !important; }
}

/* =========================================================
   Creative FX layer — grain, orbs, ticker, cursor, shimmer
   ========================================================= */

.fx-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fx-orb {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  z-index: 0;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.fx-orb-a {
  top: -8%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.55), transparent 70%);
}
.fx-orb-b {
  right: -12%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.45), transparent 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 60px, 0) scale(1.12); }
}

.fx-stars {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.fx-trail {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  width: 100%;
  height: 100%;
}

.cursor-dot,
.cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  z-index: 500;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(0, 229, 255, 0.55);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.25s ease;
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
body.has-cursor,
body.has-cursor a,
body.has-cursor button { cursor: none; }
body.has-cursor .cursor-ring.is-hot {
  width: 52px; height: 52px;
  border-color: var(--magenta);
  box-shadow: 0 0 22px rgba(217, 70, 239, 0.35);
}
.click-ripple {
  pointer-events: none;
  position: fixed;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
  z-index: 480;
  animation: ripple-out 0.7s var(--ease) forwards;
}
@keyframes ripple-out {
  to { transform: scale(14); opacity: 0; }
}

main, .site-footer, .ticker {
  position: relative;
  z-index: 1;
}
.site-header { z-index: 100; }
.progress-rail { z-index: 80; }
.back-top { z-index: 90; }
.modal { z-index: 300; }
.scroll-progress { z-index: 400; }

/* Ticker */
.ticker {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.04), rgba(217, 70, 239, 0.06), rgba(0, 229, 255, 0.04));
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 12px 0;
  animation: ticker 38s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker-track span:nth-child(odd) { color: rgba(244, 247, 255, 0.72); }
.ticker-track span:nth-child(even) { color: var(--cyan); opacity: 0.7; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero creative */
.hero-title .line1,
.hero-title .line2 {
  display: block;
}
.hero-title .line1 {
  position: relative;
}
.hero-aside {
  isolation: isolate;
}
.hero-aside-glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.28), transparent 62%);
  filter: blur(20px);
  z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}
.hero-aside-inner {
  position: relative;
  z-index: 1;
}
.scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.35;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-live 1.6s ease-in-out infinite;
  margin-right: 2px;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.hero-aside-cap {
  gap: 8px;
}
.float-chip {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(8, 12, 22, 0.82);
  border: 1px solid rgba(0, 229, 255, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: float-y 4.5s ease-in-out infinite;
}
.float-chip-1 { top: 12%; left: -8%; color: var(--cyan); }
.float-chip-2 {
  bottom: 18%;
  right: -6%;
  animation-delay: -1.8s;
  border-color: rgba(217, 70, 239, 0.4);
  color: #f0abfc;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover::after {
  animation: shimmer 0.9s var(--ease);
}
@keyframes shimmer {
  to { transform: translateX(120%); }
}
.btn-magnetic span { display: inline-block; will-change: transform; }

/* Section atmosphere */
.section-glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(70vw, 720px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.55), rgba(217, 70, 239, 0.45), transparent);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}
.section-pets-fx {
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(217, 70, 239, 0.08), transparent 70%);
}
.pets-hangar-cta { margin: 0 0 18px; }

/* Map cards neon edge */
.map-card {
  position: relative;
  overflow: hidden;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), transparent 40%, rgba(217, 70, 239, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.map-card:hover::before { opacity: 1; }
.map-card > * { position: relative; z-index: 1; }

/* Feature media vignette */
.feature-media {
  position: relative;
}
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
  border-radius: inherit;
}
.feature-media::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
}
.feature-media:hover::before { opacity: 1; }
.feature-row:hover .feature-media {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Pipeline pulse nodes */
.pipeline-step {
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}
.pipeline-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 229, 255, 0.12);
}
.pipeline-step .step-icon {
  transition: transform 0.3s var(--ease), color 0.3s ease;
}
.pipeline-step:hover .step-icon {
  transform: scale(1.15);
  color: var(--magenta);
}

/* Pet neon frame */
.pet {
  position: relative;
}
.pet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.25s ease;
}
.pet:hover::after {
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.45), 0 0 30px rgba(0, 229, 255, 0.12);
}

/* Gallery play pulse */
.gallery-card::after {
  animation: play-pulse 2.4s ease-in-out infinite;
}
@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.0); }
  50% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0.12); }
}

/* Code terminal caret blink on hover */
.code-wrap:hover .code-toolbar span::after {
  content: " ▍";
  color: var(--cyan);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Modal entrance */
.modal:not([hidden]) .modal-panel {
  animation: modal-in 0.35s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Stats pop */
.stats strong {
  background: linear-gradient(180deg, #fff, #9ef8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats strong.stat-text {
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 900px) {
  .float-chip { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
  .fx-orb { opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-orb, .ticker-track, .float-chip, .hero-aside-glow, .live-dot, .gallery-card::after {
    animation: none !important;
  }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* Neon roster pet defaults (from hero-pet-roster style) */
.pets-neon .pet-media {
  background: #000;
  display: grid;
  place-items: center;
}
.pets-neon .pet-media img {
  object-fit: contain;
  width: 86%;
  height: 86%;
  margin: auto;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.35));
  transition: transform 0.45s var(--ease), filter 0.3s ease;
}
.pets-neon .pet:hover .pet-media img {
  transform: scale(1.03);
  filter: none;
}
.pets-classic .pet-media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: none;
}
.art-style-bar {
  margin-top: -8px;
  margin-bottom: 22px;
}
.modal-media img.is-neon {
  object-fit: contain;
  background: #000;
  padding: 8%;
}

/* =========================================================
   Immersive hero stage — pets + graphics in play
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  padding: 32px 0 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-still,
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(0.85) brightness(0.5);
}
.hero-bg-deck {
  position: absolute;
  inset: 8% 35% -5% -8%;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 85%);
}
.hero-bg-deck video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) brightness(0.55) saturate(1.2);
}
.hero-bg-grid,
.hero-bg-radar,
.hero-hud,
.hero-pets,
.orbit-pet,
.float-chip,
.scanlines,
.ticker,
.progress-rail,
.fx-grain,
.fx-orb,
.fx-stars,
.fx-trail,
.cursor-dot,
.cursor-ring { display: none !important; }
.hero-bg-grid-off {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
  animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 0; }
}
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, transparent 0%, rgba(5, 6, 10, 0.35) 45%, rgba(5, 6, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.35) 0%, transparent 30%, rgba(5, 6, 10, 0.88) 100%);
}
.hero-bg-radar {
  position: absolute;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.12);
  box-shadow:
    0 0 0 40px rgba(0, 229, 255, 0.03),
    0 0 0 90px rgba(217, 70, 239, 0.03),
    inset 0 0 80px rgba(0, 229, 255, 0.05);
  animation: radar-spin 28s linear infinite;
  pointer-events: none;
}
.hero-bg-radar::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.18);
}
.hero-bg-radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 75%, rgba(0, 229, 255, 0.12) 100%);
}
@keyframes radar-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Floating field pets */
.hero-pets {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-pets .hp {
  position: absolute;
  width: clamp(52px, 7vw, 86px);
  height: clamp(52px, 7vw, 86px);
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0.55;
  will-change: transform;
  animation: hp-bob 5s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.28));
}
.hero-copy { position: relative; z-index: 3; }
.hp-1, .hp-2, .hp-3, .hp-4, .hp-5 { display: none; }
.hp-6 { top: 16%; right: 6%; animation-delay: -1s; }
.hp-7 { bottom: 30%; right: 3%; animation-delay: -3.2s; opacity: 0.5; }
.hp-8 { top: 62%; right: 18%; width: clamp(42px, 5.5vw, 64px); height: clamp(42px, 5.5vw, 64px); animation-delay: -0.5s; }
.hp-9 { display: none; }
@keyframes hp-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

/* HUD corners */
.hero-hud {
  position: absolute;
  inset: 12px 16px;
  z-index: 2;
  pointer-events: none;
}
.hud-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(0, 229, 255, 0.45);
}
.hud-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-badge {
  position: absolute;
  top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(5, 6, 10, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.28);
  backdrop-filter: blur(10px);
}
.hud-badge-l { left: 40px; }
.hud-badge-r { right: 40px; color: #f0abfc; border-color: rgba(217, 70, 239, 0.35); }

.hero-content {
  position: relative;
  z-index: 3;
}
.hero-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.hero-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.3);
  background: #05060a;
}

/* Orbit pets around media frame */
.orbit-pet {
  position: absolute;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
  z-index: 4;
  animation: orbit-float 6s ease-in-out infinite;
}
.op-1 { top: -12px; left: -18px; animation-delay: 0s; }
.op-2 { top: -8px; right: -14px; animation-delay: -1.5s; }
.op-3 { bottom: 48px; left: -22px; animation-delay: -3s; }
.op-4 { bottom: 42px; right: -18px; animation-delay: -4.2s; }
@keyframes orbit-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

/* Bottom companion arc */
.hero-arc {
  position: relative;
  z-index: 3;
  margin-top: 28px;
  padding: 14px 16px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.75), rgba(5, 6, 10, 0.85));
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hero-arc-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
}
.hero-arc-track {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(6px, 1.2vw, 14px);
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 4px 8px;
  scrollbar-width: none;
}
.hero-arc-track::-webkit-scrollbar { display: none; }
.hero-arc-pet {
  flex: 0 0 auto;
  width: clamp(52px, 7vw, 72px);
  height: clamp(52px, 7vw, 72px);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: #000;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s ease;
}
.hero-arc-pet img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.35));
}
.hero-arc-pet:hover,
.hero-arc-pet:focus-visible {
  transform: translateY(-8px) scale(1.08);
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.5), 0 0 48px rgba(0, 229, 255, 0.18);
  outline: none;
}
.hero-arc-pet.is-ping {
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.7);
}
.hero-arc-pet:nth-child(1) { transform: translateY(10px); }
.hero-arc-pet:nth-child(2) { transform: translateY(4px); }
.hero-arc-pet:nth-child(3) { transform: translateY(0); }
.hero-arc-pet:nth-child(4) { transform: translateY(-4px); }
.hero-arc-pet:nth-child(5) { transform: translateY(-8px); }
.hero-arc-pet:nth-child(6) { transform: translateY(-4px); }
.hero-arc-pet:nth-child(7) { transform: translateY(0); }
.hero-arc-pet:nth-child(8) { transform: translateY(4px); }
.hero-arc-pet:nth-child(9) { transform: translateY(10px); }
.hero-arc-pet:nth-child(1):hover,
.hero-arc-pet:nth-child(1):focus-visible { transform: translateY(2px) scale(1.08); }
.hero-arc-pet:nth-child(2):hover,
.hero-arc-pet:nth-child(2):focus-visible { transform: translateY(-4px) scale(1.08); }
.hero-arc-pet:nth-child(3):hover,
.hero-arc-pet:nth-child(3):focus-visible { transform: translateY(-8px) scale(1.08); }
.hero-arc-pet:nth-child(4):hover,
.hero-arc-pet:nth-child(4):focus-visible { transform: translateY(-12px) scale(1.08); }
.hero-arc-pet:nth-child(5):hover,
.hero-arc-pet:nth-child(5):focus-visible { transform: translateY(-16px) scale(1.08); }
.hero-arc-pet:nth-child(6):hover,
.hero-arc-pet:nth-child(6):focus-visible { transform: translateY(-12px) scale(1.08); }
.hero-arc-pet:nth-child(7):hover,
.hero-arc-pet:nth-child(7):focus-visible { transform: translateY(-8px) scale(1.08); }
.hero-arc-pet:nth-child(8):hover,
.hero-arc-pet:nth-child(8):focus-visible { transform: translateY(-4px) scale(1.08); }
.hero-arc-pet:nth-child(9):hover,
.hero-arc-pet:nth-child(9):focus-visible { transform: translateY(2px) scale(1.08); }

.hero-arc-link {
  display: block;
  text-align: center;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero { min-height: auto; padding-bottom: 20px; }
  .hero-pets .hp-2,
  .hero-pets .hp-5,
  .hero-pets .hp-8 { display: none; }
  .hero-bg-radar { opacity: 0.45; }
  .hud-badge-r { display: none; }
  .orbit-pet { width: 46px; height: 46px; }
}
@media (max-width: 768px) {
  .hero-pets { display: none; }
  .orbit-pet { display: none; }
  .hero-hud .hud-corner { opacity: 0.5; }
  .hud-badge-l { left: 12px; top: 4px; font-size: 0.62rem; }
  .hero-arc-pet { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-grid,
  .hero-bg-radar,
  .hero-pets .hp,
  .orbit-pet { animation: none !important; }
}

.more-tools {
  margin-top: 14px;
}
.more-tools summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}
.more-tools summary::-webkit-details-marker { display: none; }
.more-tools summary:hover { color: var(--cyan); }
