:root {
  --bg: #000000;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --hairline: rgba(255, 255, 255, 0.11);
  --blue: #2997ff;
  --green: #30d158;
  --violet: #bf5af2;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.48;
}

a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; color: inherit; }
.hidden { display: none !important; }

/* ---- Scroll Progress & Mouse Ambient Light ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 1.5px; width: 0%; z-index: 150;
  background: linear-gradient(90deg, #2997ff, #bf5af2, #30d158);
  pointer-events: none;
}

.cursor-light {
  position: fixed; top: 0; left: 0; width: 640px; height: 640px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.085) 0%, rgba(191, 90, 242, 0.035) 36%, transparent 68%);
  transform: translate3d(-999px, -999px, 0);
  will-change: transform;
  opacity: 0; transition: opacity 0.6s ease;
}
body.has-pointer .cursor-light { opacity: 1; }

/* ---- Minimal Apple.com Header (48px, borderless text links) ---- */
.apple-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 48px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.apple-nav.scrolled {
  background: rgba(8, 8, 10, 0.80);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
.apple-nav-inner {
  max-width: 1120px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.apple-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.02em;
  color: rgba(245, 245, 247, 0.94);
  transition: opacity 0.2s;
}
.apple-brand:hover { opacity: 1; }

.apple-tabs {
  display: flex; align-items: center; gap: 28px;
}
.apple-tab {
  position: relative;
  font-size: 12.5px; font-weight: 400; color: rgba(245, 245, 247, 0.62);
  padding: 14px 0; white-space: nowrap;
  transition: color 0.25s ease;
}
.apple-tab:hover { color: #ffffff; }
.apple-tab.active { color: #ffffff; font-weight: 500; }
.apple-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: #ffffff; transform: scaleX(0); transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.apple-tab.active::after { transform: scaleX(1); }

.apple-nav-right { display: flex; align-items: center; gap: 18px; }
.icon-btn, .text-btn {
  cursor: pointer; background: none; border: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: rgba(245, 245, 247, 0.72);
  transition: color 0.2s ease;
}
.icon-btn:hover, .text-btn:hover { color: #ffffff; }
.status-dot {
  width: 6px; height: 6px; border-radius: 99px; background: #6e6e73;
  transition: all 0.25s ease;
}
.text-btn.unlocked { color: #e9d5ff; }
.text-btn.unlocked .status-dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.admin-link { color: var(--blue); }

@media (max-width: 780px) {
  .apple-tabs { gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .apple-tabs::-webkit-scrollbar { display: none; }
  .apple-brand span { display: none; }
}

/* ---- SCENE 1: Pure Full-Bleed Apple Hero ---- */
.hero-stage {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 80px 24px 64px;
  overflow: hidden;
  background: #000000;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-orb-layer {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none; z-index: 2;
}
.hero-orb-img {
  width: min(94vw, 1180px);
  max-height: 82svh;
  object-fit: contain;
  opacity: 0.84;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 44%, transparent 92%);
  mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 44%, transparent 92%);
  will-change: transform, opacity;
}
.hero-copy {
  position: relative; z-index: 5;
  text-align: center; max-width: 960px;
  display: flex; flex-direction: column; align-items: center;
  will-change: transform, opacity;
}
.hero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245, 245, 247, 0.52);
  margin-bottom: 18px;
  animation: fadeRise 1s var(--ease) both;
}
.hero-title {
  font-size: clamp(3.4rem, 9.6vw, 7.6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 52%, #7c7c86 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fadeRise 1.1s var(--ease) 0.08s both;
}
.hero-sub-cn {
  margin-top: 16px;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(245, 245, 247, 0.90);
  animation: fadeRise 1.1s var(--ease) 0.18s both;
}
.hero-links {
  margin-top: 34px;
  display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap;
  animation: fadeRise 1.1s var(--ease) 0.30s both;
}
.apple-link {
  cursor: pointer; background: none; border: none;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 5px;
  transition: opacity 0.2s ease, transform 0.25s var(--ease);
}
.apple-link.primary { color: var(--blue); }
.apple-link.secondary { color: rgba(245, 245, 247, 0.78); }
.apple-link:hover { opacity: 1; }
.apple-link .chev { display: inline-block; transition: transform 0.25s var(--ease); font-size: 21px; line-height: 1; }
.apple-link:hover .chev { transform: translateX(4px); }

.hero-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5;
}
.scroll-stem {
  width: 1px; height: 42px; background: rgba(255, 255, 255, 0.14);
  overflow: hidden; position: relative;
}
.scroll-stem i {
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, #ffffff, transparent);
  animation: dropStem 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes dropStem { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes fadeRise {
  from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(6px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

/* ---- SCENE 2: Apple Scroll-Scrubbed Kinetic Manifesto ---- */
.manifesto-section {
  position: relative;
  height: 175svh;
  background: #000000;
  z-index: 4;
}
.manifesto-sticky {
  position: sticky; top: 0;
  height: 100svh;
  display: grid; place-items: center;
  padding: 0 28px;
}
.manifesto-inner {
  max-width: 980px; width: 100%;
}
.manifesto-line {
  font-size: clamp(2rem, 5.2vw, 4.1rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.036em;
  color: rgba(255, 255, 255, 0.14);
  transition: color 0.12s linear, transform 0.2s ease-out;
  will-change: color, transform;
}
.manifesto-line.accent.lit {
  background: linear-gradient(90deg, #ffffff 0%, #93c5fd 55%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}

/* ---- Unlocked Hairline Scope Bar ---- */
.unlocked-bar {
  position: sticky; top: 48px; z-index: 80;
  background: rgba(10, 10, 14, 0.84);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(191, 90, 242, 0.24);
}
.unlocked-bar-inner {
  max-width: 1120px; margin: 0 auto; padding: 9px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 12.5px;
}
.unlocked-state { display: inline-flex; align-items: center; gap: 8px; color: #e9d5ff; }
.u-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--green); box-shadow: 0 0 8px var(--green); display: inline-block; }
.unlocked-filters { display: flex; gap: 18px; }
.unlocked-filters button {
  cursor: pointer; background: none; border: none; color: var(--text-3);
  font-size: 12.5px; font-weight: 500; transition: color 0.2s;
}
.unlocked-filters button:hover { color: var(--text-2); }
.unlocked-filters button.active { color: #ffffff; }
.unlocked-ops { display: flex; align-items: center; gap: 18px; }
.unlocked-ops a { color: var(--blue); }
.unlocked-ops button { cursor: pointer; background: none; border: none; color: var(--text-2); font-size: 12.5px; }
.unlocked-ops button:hover { color: #ffffff; }

/* ---- Chapters Base ---- */
.chapters-root { position: relative; z-index: 4; background: #000000; }

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: opacity 0.95s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in-view { opacity: 1; transform: translate3d(0, 0, 0); }

/* =====================================================================
   LAYOUT A: FULL-BLEED CINEMATIC SPOTLIGHT + BORDERLESS TYPOGRAPHIC LIST
   (Used for Cinema — Zero Cards!)
   ===================================================================== */
.scene-fullbleed {
  position: relative;
  padding: 120px 0 96px;
}
.fullbleed-stage {
  position: relative;
  width: 100%;
  min-height: 82svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #000000;
}
.fullbleed-art {
  position: absolute; inset: -10% 0;
  width: 100%; height: 120%;
  object-fit: cover; object-position: center 42%;
  opacity: 0.88;
  will-change: transform;
}
.fullbleed-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(650px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 158, 11, 0.12), transparent 55%),
    linear-gradient(180deg, #000000 0%, rgba(0,0,0,0.08) 22%, rgba(0,0,0,0.28) 58%, #000000 100%);
}
.fullbleed-content {
  position: relative; z-index: 3;
  max-width: 1120px; width: 100%; margin: 0 auto;
  padding: 0 24px 56px;
}
.scene-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 14px; display: block;
}
.scene-h2 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.04em;
  color: #ffffff; max-width: 780px;
}
.scene-lead {
  margin-top: 16px; max-width: 560px;
  font-size: clamp(16px, 1.6vw, 20px); color: rgba(245, 245, 247, 0.78);
  font-weight: 400; line-height: 1.55;
}
.hero-feature-cta {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.apple-cta-solid {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 24px; border-radius: 99px;
  background: #f5f5f7; color: #000000;
  font-size: 15px; font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.apple-cta-solid:hover { background: #ffffff; transform: scale(1.03); }
.feature-host-note {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--text-3);
}

/* Borderless Kinetic Typographic Directory (Zero Cards!) */
.typo-index {
  max-width: 1120px; margin: 44px auto 0; padding: 0 24px;
}
.typo-row {
  position: relative;
  display: grid; grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 1.3fr) auto;
  align-items: center; gap: 20px;
  padding: 30px 14px;
  border-top: 1px solid var(--hairline);
  transition: padding-left 0.35s var(--ease), border-color 0.3s ease;
  overflow: hidden;
}
.typo-row:last-child { border-bottom: 1px solid var(--hairline); }
.typo-row::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), var(--row-glow, rgba(41,151,255,0.14)), transparent 65%);
  transition: opacity 0.35s ease;
}
.typo-row:hover::before { opacity: 1; }
.typo-row:hover { padding-left: 26px; border-top-color: rgba(255,255,255,0.28); }

.tr-idx {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-3);
  position: relative; z-index: 2;
}
.tr-name-wrap { position: relative; z-index: 2; }
.tr-name {
  font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; letter-spacing: -0.03em;
  color: rgba(245, 245, 247, 0.88);
  transition: color 0.25s ease;
}
.typo-row:hover .tr-name { color: #ffffff; }
.tr-priv {
  margin-left: 10px; vertical-align: middle;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em;
  color: #d896ff; opacity: 0.9;
}
.tr-desc {
  position: relative; z-index: 2;
  font-size: 14.5px; color: var(--text-2); line-height: 1.55;
}
.tr-desc small {
  display: block; margin-top: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-3);
}
.tr-go {
  position: relative; z-index: 2;
  font-size: 22px; color: var(--text-3);
  transition: transform 0.3s var(--ease), color 0.25s ease;
}
.typo-row:hover .tr-go { color: #ffffff; transform: translate(5px, -4px); }

@media (max-width: 820px) {
  .typo-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 24px 6px; }
  .tr-idx { display: none; }
  .tr-desc { grid-column: 1 / -1; }
  .typo-row:hover { padding-left: 12px; }
}

/* =====================================================================
   LAYOUT B: ASYMMETRIC STICKY SPLIT STORYTELLING (Explore & Knowledge)
   Left: Floating Seamless 3D Globe Artwork | Right: Spacious Editorial Stories
   ===================================================================== */
.scene-split {
  max-width: 1180px; margin: 0 auto;
  padding: 130px 24px 110px;
}
.split-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px; align-items: start;
}
.split-visual-col {
  position: sticky; top: 96px;
}
.split-art-wrap {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: visible;
}
.split-art-img {
  width: 108%; height: 108%; object-fit: cover;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 74%);
  will-change: transform;
  transition: transform 0.2s ease-out;
}
.split-visual-caption {
  margin-top: 10px; text-align: center;
}
.split-stories {
  display: flex; flex-direction: column;
}
.story-item {
  padding: 56px 0;
  border-bottom: 1px solid var(--hairline);
}
.story-item:first-child { padding-top: 12px; }
.story-item:last-child { border-bottom: none; }
.story-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.story-title {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.12;
  color: #ffffff;
}
.story-tagline {
  margin-top: 14px; font-size: 17px; color: rgba(245, 245, 247, 0.86); font-weight: 500;
}
.story-desc {
  margin-top: 10px; font-size: 15px; color: var(--text-2); line-height: 1.7;
}
.story-cta {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 500; color: var(--blue);
  transition: opacity 0.2s;
}
.story-cta .chev { transition: transform 0.25s var(--ease); display: inline-block; font-size: 19px; }
.story-cta:hover .chev { transform: translateX(5px); }

@media (max-width: 880px) {
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-visual-col { position: static; }
  .split-art-wrap { max-width: 420px; margin: 0 auto; }
  .story-item { padding: 38px 0; }
}

/* =====================================================================
   LAYOUT C: APPLE SILICON DIE STAGE + HORIZONTAL HIGHLIGHTS RAIL (Infra)
   ===================================================================== */
.scene-rail {
  padding: 110px 0 110px;
  position: relative;
}
.rail-hero-wrap {
  position: relative; width: 100%; min-height: 68svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; margin-bottom: 54px;
}
.rail-hero-art {
  position: absolute; inset: -10% 0; width: 100%; height: 120%;
  object-fit: cover; opacity: 0.85;
  will-change: transform;
}
.rail-hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.12) 25%, rgba(0,0,0,0.45) 65%, #000 100%);
}
.rail-hero-text {
  position: relative; z-index: 3;
  max-width: 1120px; width: 100%; margin: 0 auto; padding: 0 24px 28px;
}
.telemetry-strip {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 36px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.tele-node { display: flex; flex-direction: column; gap: 4px; }
.tele-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; }
.tele-val { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; }
.tele-val i { width: 8px; height: 8px; border-radius: 99px; background: var(--green); box-shadow: 0 0 10px var(--green); display: inline-block; }
.tele-val i.off { background: #ff453a; box-shadow: 0 0 10px #ff453a; }

/* Apple Highlights Horizontal Scroll Rail */
.rail-outer {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.rail-track {
  display: flex; gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 8px 0 24px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-slide {
  flex: 0 0 min(78vw, 660px);
  scroll-snap-align: start;
  position: relative;
  padding: 44px 42px 40px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(22, 26, 36, 0.72), rgba(8, 10, 14, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  min-height: 310px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}
.rail-slide::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--slide-glow, rgba(56,189,248,0.20)), transparent 62%);
  transition: opacity 0.3s ease;
}
.rail-slide:hover::before { opacity: 1; }
.rail-slide:hover { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-4px); }
.rail-slide-top { position: relative; z-index: 2; }
.rail-slide-en { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; }
.rail-slide-title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; margin-top: 10px; }
.rail-slide-desc { font-size: 15.5px; color: var(--text-2); margin-top: 12px; line-height: 1.65; max-width: 480px; }
.rail-slide-foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.rail-controls {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin-top: 8px;
}
.rail-btn {
  cursor: pointer; width: 38px; height: 38px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f5f7; font-size: 18px; display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.rail-btn:hover { background: rgba(255, 255, 255, 0.18); transform: scale(1.06); }

/* =====================================================================
   LAYOUT D: PRIVATE ENCLAVE MONOLITH + UNLOCKED AI PRISM STAGE
   (Exact same Apple fluid visual choreography!)
   ===================================================================== */
.scene-vault {
  position: relative;
  padding: 130px 0 110px;
  background: #000000;
}
.vault-stage {
  position: relative; width: 100%; min-height: 78svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 24px;
  overflow: hidden;
}
.vault-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0.78;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 45%, transparent 92%);
  mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 45%, transparent 92%);
  pointer-events: none;
  will-change: transform;
}
.vault-copy {
  position: relative; z-index: 3; max-width: 720px;
}
.vault-inline-capsule {
  margin: 34px auto 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 20px; border-radius: 99px;
  background: rgba(20, 20, 26, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}
.vault-inline-capsule input {
  background: transparent; border: none; outline: none;
  width: 210px; font-size: 14.5px; color: #ffffff;
}
.vault-inline-capsule button {
  cursor: pointer; border: none;
  padding: 10px 22px; border-radius: 99px;
  background: #f5f5f7; color: #000000; font-size: 14px; font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.vault-inline-capsule button:hover { background: #ffffff; transform: scale(1.03); }
.vault-err { min-height: 20px; font-size: 13px; color: #ff453a; margin-top: 12px; }

/* ---- Minimal Apple Footer ---- */
.apple-footer {
  position: relative; z-index: 4;
  border-top: 1px solid var(--hairline);
  background: #050507;
  padding: 48px 24px 56px;
}
.apple-footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 22px;
}
.footer-telemetry {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-3);
}
.footer-telemetry .sep { opacity: 0.4; }
.footer-telemetry .ok-pill { color: var(--text-2); }
.footer-telemetry .ok-pill i {
  display: inline-block; width: 6px; height: 6px; border-radius: 99px;
  background: var(--green); margin-right: 6px; vertical-align: middle;
}
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px; color: var(--text-3);
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a:hover { color: #ffffff; }

/* ---- Modals ---- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(22px);
  display: grid; place-items: center; padding: 20px;
}
.modal-panel {
  position: relative; width: 100%; max-width: 400px;
  background: rgba(18, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px; padding: 38px 30px 30px; text-align: center;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.8);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; cursor: pointer;
  width: 30px; height: 30px; border-radius: 99px; border: none;
  background: rgba(255, 255, 255, 0.08); color: var(--text-2); font-size: 12px;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.modal-kicker { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.2em; color: var(--violet); margin-bottom: 10px; }
.modal-panel h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.modal-desc { font-size: 13.5px; color: var(--text-2); margin: 10px 0 24px; line-height: 1.6; }
.modal-input {
  width: 100%; padding: 13px 16px; border-radius: 14px; text-align: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px; outline: none;
}
.modal-input:focus { border-color: var(--blue); }
.modal-err { min-height: 20px; font-size: 12.5px; color: #ff453a; margin: 8px 0; }
.modal-submit {
  width: 100%; cursor: pointer; border: none;
  padding: 13px; border-radius: 99px;
  background: #f5f5f7; color: #000; font-size: 15px; font-weight: 500;
}
.modal-submit:hover { background: #ffffff; }

.spotlight-panel {
  width: 100%; max-width: 560px;
  background: rgba(18, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.85);
}
.spotlight-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-2);
}
.spotlight-bar input { flex: 1; background: none; border: none; outline: none; font-size: 16px; color: #fff; }
.esc-hint { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-3); }
.spotlight-list { max-height: 380px; overflow-y: auto; padding: 8px; }
.sp-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 12px; transition: background 0.15s;
}
.sp-item:hover, .sp-item.selected { background: rgba(255, 255, 255, 0.08); }
.sp-title { font-size: 15px; font-weight: 500; }
.sp-host { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-3); margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .manifesto-line { color: #ffffff !important; }
  .hero-orb-img, .fullbleed-art, .split-art-img, .rail-hero-art, .vault-art { transform: none !important; }
}
