:root {
  /* 晨雾青瓷 Daylight (derived from official Mosto Works mark) */
  --bg: #F7FAF8;
  --bg-elevated: #FFFFFF;
  --bg-celadon: #EDF5F0;
  --bg-warm: #FAF8F3;
  --bg-cotton: #FBF7F0;
  --ink: #111916;
  --ink-2: #43534C;
  --ink-3: #5E6F67;
  --hairline: rgba(17, 25, 22, 0.08);
  --hairline-strong: rgba(17, 25, 22, 0.15);

  /* Canonical IP Triad */
  --moss: #4E8145;
  --otto: #276399;
  --mosto: #6642CC;
  --lantern: #E6B566;
  --chimmo: #26605D;

  --shadow-soft: 0 22px 64px -18px rgba(17, 36, 28, 0.13), 0 4px 16px -4px rgba(17, 36, 28, 0.05);
  --shadow-device: 0 40px 80px -20px rgba(14, 28, 22, 0.28), 0 12px 28px -10px rgba(14, 28, 22, 0.14);
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

[data-theme="dark"] {
  /* 窗前夜房 Night (derived from Otto's bedside room & moonlit window) */
  --bg: #080D16;
  --bg-elevated: #0F1724;
  --bg-celadon: #0C1520;
  --bg-warm: #0C131E;
  --bg-cotton: #0E1326;
  --ink: #F2F5F3;
  --ink-2: #A6B4C2;
  --ink-3: #7E8E9F;
  --hairline: rgba(242, 245, 243, 0.09);
  --hairline-strong: rgba(242, 245, 243, 0.17);

  --moss: #84B878;
  --otto: #6AA7E0;
  --mosto: #AD90FF;
  --lantern: #F2C97D;
  --chimmo: #7ECBC5;

  --shadow-soft: 0 24px 70px -16px rgba(0, 0, 0, 0.56);
  --shadow-device: 0 44px 96px -18px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--otto);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 200;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 14px; }

@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 !important; transform: none !important; }
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* Subtle Apple-style scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Apple-Grade Glass Navigation ── */
.nav-bar {
  position: sticky; top: 0; z-index: 100;
  height: 54px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 0.5px solid var(--hairline);
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: inline-flex; align-items: center; }
.nav-brand img { height: 26px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav-links { display: none; } }

.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.nav-chip {
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-chip:hover {
  background: color-mix(in srgb, var(--ink) 11%, transparent);
  color: var(--ink);
}

/* ── HERO: 晨雾青瓷 × 窗前夜灯 ── */
.hero-band {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-celadon) 0%, var(--bg) 100%);
  transition: background 0.5s ease;
}
@media (max-width: 640px) { .hero-band { padding: 56px 0 48px; } }
[data-theme="dark"] .hero-band {
  background: linear-gradient(180deg, #070C17 0%, #0A1120 62%, var(--bg) 100%);
}
.lantern-cone {
  position: absolute;
  width: 680px; height: 680px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(242, 201, 125, 0.22) 0%, rgba(230, 181, 102, 0.06) 44%, transparent 72%);
  opacity: 0.55;
  transition: opacity 0.45s ease;
  z-index: 1;
}
[data-theme="dark"] .lantern-cone {
  background: radial-gradient(circle, rgba(242, 201, 125, 0.26) 0%, rgba(106, 167, 224, 0.08) 46%, transparent 74%);
  opacity: 0.92;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-mark-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  margin-bottom: 26px;
  border-radius: 18px;
  box-shadow: 0 18px 40px -10px rgba(45, 107, 162, 0.22);
}
.hero-mark-wrap img { width: 72px; height: 72px; display: block; border-radius: 18px; }

.hero-eyebrow {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ink-3); margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(16.5px, 2vw, 19.5px);
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.68;
  font-weight: 400;
}
.hero-cta-row {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 52px;
}
.btn-solid {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 15px; font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-solid:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 24px; border-radius: 999px;
  color: var(--ink); font-size: 15px; font-weight: 500;
  background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  border: 0.5px solid var(--hairline-strong);
  backdrop-filter: blur(12px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover { background: var(--bg-elevated); transform: translateY(-1px); }

/* Hero Cinema Artwork Stage */
.hero-stage {
  position: relative; z-index: 2;
  max-width: 980px; margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--bg-elevated);
  border: 0.5px solid var(--hairline);
}
@media (max-width: 640px) { .hero-stage { border-radius: 24px; } }
.hero-stage-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
}
.hero-stage-media img.scene-art {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-stage:hover .hero-stage-media img.scene-art { transform: scale(1.015); }
.hero-stage-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(8, 13, 22, 0.52) 100%);
}

/* Living App Dock */
.hero-dock-bar {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  color: #111916;
}
[data-theme="dark"] .hero-dock-bar {
  background: rgba(12, 19, 32, 0.76);
  border-color: rgba(255, 255, 255, 0.14);
  color: #F2F5F3;
}
.dock-apps { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dock-app {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 10px 4px 4px; border-radius: 14px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.dock-app:hover { background: rgba(127, 127, 127, 0.14); transform: translateY(-1px); }
.dock-app img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover; display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.dock-app-meta { display: flex; flex-direction: column; text-align: left; }
.dock-app-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.dock-app-role { font-size: 11.5px; opacity: 0.72; }

@media (max-width: 720px) {
  .hero-dock-bar {
    position: static; border-radius: 0; border: none;
    border-top: 0.5px solid var(--hairline);
    padding: 16px 14px; flex-direction: column; gap: 14px;
    background: var(--bg-elevated); color: var(--ink);
  }
  .dock-apps {
    width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  }
  .dock-app {
    flex-direction: column; text-align: center; padding: 8px 4px; gap: 6px;
  }
  .dock-app-meta { text-align: center; }
  .dock-app-role { display: none; }
}

/* Bead Path (串珠小路 — interactive, unnumbered) */
.bead-path { display: inline-flex; align-items: center; gap: 6px; }
.bead-dot {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.bead-dot::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: 0.24;
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.bead-dot.lit::after {
  opacity: 1; background: var(--lantern);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(242, 201, 125, 0.88);
}

/* ── Shared Chapter Geometry ── */
.chapter { padding: 116px 0; scroll-margin-top: 54px; }
@media (max-width: 780px) { .chapter { padding: 72px 0; } }

.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .chapter-grid { grid-template-columns: 1fr; gap: 40px; }
  .band-keyboard .kb-stage { order: 2; }
}
.chapter-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.chapter-icon {
  width: 52px; height: 52px; border-radius: 13px; object-fit: cover;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.22);
}
.chapter-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); }
.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  text-wrap: balance; margin-bottom: 18px;
}
.chapter-lead {
  font-size: 17px; color: var(--ink-2); line-height: 1.72;
  margin-bottom: 28px; max-width: 460px;
}
.chapter-facts {
  list-style: none; display: grid; gap: 12px;
  margin-bottom: 34px; font-size: 14.5px; color: var(--ink-2);
}
.chapter-facts li { display: flex; align-items: baseline; gap: 10px; }
.fact-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; transform: translateY(-2px); }
.chapter-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.link-arrow {
  font-size: 15.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.link-arrow:hover { opacity: 0.76; transform: translateX(2px); }
.link-muted { font-size: 14.5px; color: var(--ink-3); transition: color 0.2s ease; }
.link-muted:hover { color: var(--ink); }

/* ── CHAPTER 1: 摸索台灯 ── */
.band-mossling { background: var(--bg-warm); }
.moss-showcase { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.moss-stage-halo {
  position: relative; width: 100%; max-width: 540px;
  padding: 44px 28px 36px; border-radius: 36px;
  background: linear-gradient(160deg, rgba(100, 157, 88, 0.12) 0%, rgba(242, 201, 125, 0.14) 100%);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
[data-theme="dark"] .moss-stage-halo {
  background: linear-gradient(160deg, rgba(45, 107, 162, 0.18) 0%, rgba(242, 201, 125, 0.12) 100%);
}
.moss-stage-halo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 24%, rgba(255, 245, 214, 0.45), transparent 62%);
  pointer-events: none;
}
[data-theme="dark"] .moss-stage-halo::before {
  background: radial-gradient(circle at 50% 24%, rgba(242, 201, 125, 0.22), transparent 62%);
}
.iphone-pro {
  position: relative; z-index: 2;
  width: 242px; aspect-ratio: 9 / 19.3;
  border-radius: 40px; padding: 9px;
  background: linear-gradient(145deg, #2B2F2D, #131615);
  box-shadow: var(--shadow-device);
}
.iphone-pro-screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #0F1512; }
.iphone-pro-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.moss-ip-left, .moss-ip-right {
  position: absolute; bottom: 26px; z-index: 3; pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18));
}
.moss-ip-left { left: 26px; width: 64px; }
.moss-ip-right { right: 24px; width: 78px; }
@media (max-width: 520px) { .moss-ip-left, .moss-ip-right { display: none; } }

.seg-pill {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.seg-btn {
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.seg-btn.active {
  background: var(--bg-elevated); color: var(--ink); font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ── CHAPTER 2: Mosto键盘 (Obsidian Kiln Pro Stage) ── */
.band-keyboard { background: #0B0B11; color: #F3F2F8; }
.band-keyboard .chapter-kicker { color: #A6A0C2; }
.band-keyboard .chapter-lead, .band-keyboard .chapter-facts { color: #BCB7D2; }
.band-keyboard .link-muted { color: #9A94B6; }
.band-keyboard .link-muted:hover { color: #FFFFFF; }

.kb-stage {
  position: relative; padding: 34px 26px 28px; border-radius: 34px;
  background: linear-gradient(160deg, #171523 0%, #0E0D16 100%);
  border: 0.5px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 36px 80px -20px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
@media (max-width: 520px) { .kb-stage { padding: 24px 16px 22px; border-radius: 26px; } }
.kb-top-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; margin-bottom: 10px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}
.kb-typo-pill {
  font-family: ui-monospace, "SF Mono", monospace; font-size: 13px; color: #9A94B6;
  text-decoration: line-through;
}
.kb-cands { display: flex; align-items: center; gap: 18px; font-size: 16px; }
.kb-c1 { font-weight: 700; color: #C7B0FF; }
.kb-c2, .kb-c3 { color: #ABA5C4; font-size: 14.5px; }
.kb-hint-line {
  font-size: 12.5px; color: #9A94B6; margin-bottom: 16px; padding: 0 4px;
}

.kb-matrix { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.kb-row { display: flex; justify-content: center; gap: 6px; }
.kb-cap {
  flex: 1; max-width: 42px; height: 42px; border-radius: 9px;
  background: linear-gradient(180deg, #272536 0%, #1E1C2A 100%);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 3px 0 #0A0910;
  color: #EEECF6; font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.08s ease, background 0.14s ease, box-shadow 0.08s ease;
  user-select: none;
}
.kb-cap:active, .kb-cap.lit {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0A0910;
  background: linear-gradient(180deg, #8B6BFF 0%, #6D48D4 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}
.kb-footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kb-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.kb-pill {
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: #BCB7D2;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.kb-pill:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.kb-pill.active { background: #FFFFFF; color: #0B0B11; font-weight: 600; }
.kb-mosto-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #A6A0C2; }
.kb-mosto-tag img { width: 24px; height: 24px; object-fit: contain; }

/* ── CHAPTER 3: 咩哞 ── */
.band-chimmo { background: var(--bg-cotton); }
.chimmo-stage {
  padding: 40px 32px 32px; border-radius: 36px;
  background: color-mix(in srgb, var(--bg-elevated) 86%, transparent);
  border: 0.5px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.chimmo-freq-display {
  font-family: var(--font-serif); font-size: 42px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--chimmo); line-height: 1;
}
.chimmo-subtitle { font-size: 13.5px; color: var(--ink-3); margin-top: -12px; }
#chimmo-wave { width: 100%; height: 148px; display: block; }
.chimmo-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.tone-btn {
  padding: 9px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  background: color-mix(in srgb, var(--chimmo) 9%, transparent);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.tone-btn:hover { background: color-mix(in srgb, var(--chimmo) 16%, transparent); color: var(--ink); }
.tone-btn.active { background: var(--chimmo); color: #FFFFFF; font-weight: 600; }
[data-theme="dark"] .tone-btn.active { color: #0B1220; }

/* ── CHAPTER 4: 磨石世界 · IP 人物志与光态剧场 ── */
.band-world { background: var(--bg); border-top: 0.5px solid var(--hairline); }
.world-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.world-quote {
  font-family: var(--font-serif);
  font-size: clamp(23px, 3.3vw, 35px);
  font-weight: 600; line-height: 1.42; letter-spacing: -0.015em;
  text-wrap: balance; margin-bottom: 18px;
}
.world-intro { font-size: 16px; color: var(--ink-2); }

.light-theater {
  position: relative; max-width: 960px; margin: 0 auto 56px;
  padding: 44px 34px 32px; border-radius: 34px;
  background: #0B1220; color: #F2F5F3;
  overflow: hidden; box-shadow: var(--shadow-soft);
}
@media (max-width: 640px) { .light-theater { padding: 32px 20px 26px; border-radius: 26px; } }
.light-beam {
  position: absolute; top: -40px; left: 32%;
  width: 540px; height: 420px; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(242, 201, 125, 0.34) 0%, rgba(242, 201, 125, 0.08) 48%, transparent 72%);
  pointer-events: none;
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease, transform 0.65s ease, background 0.65s ease;
}
.light-theater[data-state="tilted"] .light-beam { left: 68%; opacity: 0.82; transform: translateX(-50%) scale(0.92); }
.light-theater[data-state="low"] .light-beam { left: 44%; opacity: 0.44; transform: translateX(-50%) scale(0.64); }
.light-theater[data-state="dark"] .light-beam {
  left: 76%; opacity: 0.34; transform: translateX(-50%) scale(0.95);
  background: radial-gradient(circle, rgba(186, 216, 255, 0.30) 0%, rgba(106, 167, 224, 0.06) 52%, transparent 72%);
}

.trio-stage {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  margin-bottom: 32px;
}
@media (max-width: 740px) { .trio-stage { grid-template-columns: 1fr; } }
.trio-card {
  padding: 24px 20px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.09);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, border-color 0.35s ease;
}
.trio-avatar {
  width: 82px; height: 82px; object-fit: contain; display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, filter 0.45s ease;
}
/* Authentic IP Bible state responses */
.light-theater[data-state="bright"] .trio-mosto .trio-avatar { opacity: 0.56; transform: scale(0.95); }
.light-theater[data-state="tilted"] .trio-mosto {
  background: rgba(173, 144, 255, 0.11);
  border-color: rgba(173, 144, 255, 0.32);
}
.light-theater[data-state="tilted"] .trio-mosto .trio-avatar {
  opacity: 1; transform: translateY(-8px) scale(1.08);
  filter: drop-shadow(0 0 18px rgba(173, 144, 255, 0.55));
}
.light-theater[data-state="low"] .trio-otto .trio-avatar { transform: rotate(-7deg) translateY(3px); opacity: 0.85; }
.light-theater[data-state="low"] .trio-moss .trio-avatar { transform: translateX(6px); }
.light-theater[data-state="dark"] .trio-mosto .trio-avatar { opacity: 0.34; transform: scale(0.9); }
.light-theater[data-state="dark"] .trio-otto .trio-avatar {
  filter: drop-shadow(0 0 14px rgba(186, 216, 255, 0.36));
}

.trio-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.trio-role { font-size: 12.5px; color: #9DB0C4; }
.trio-desc { font-size: 13.5px; color: #C5D1DF; line-height: 1.65; }

.light-bar {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; border-top: 0.5px solid rgba(255, 255, 255, 0.10);
}
.light-caption { font-size: 14px; color: #D7E1EC; }
.light-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.light-pill {
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: #A9B9CC;
  background: rgba(255, 255, 255, 0.07);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.light-pill.active { background: #F2C97D; color: #0B1220; font-weight: 600; }

/* Quiet Studio Principles */
.principles-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px;
  max-width: 960px; margin: 0 auto; padding-top: 12px;
}
@media (max-width: 780px) { .principles-row { grid-template-columns: 1fr; gap: 28px; } }
.principle h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.015em; margin-bottom: 8px; }
.principle p { font-size: 14.5px; color: var(--ink-2); line-height: 1.72; }

/* ── Footer ── */
footer {
  padding: 56px 0 72px;
  border-top: 0.5px solid var(--hairline);
  background: var(--bg);
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 0.8fr));
  gap: 28px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 26px; width: auto; display: block; margin-bottom: 14px; }
.footer-meta { font-size: 13px; color: var(--ink-3); line-height: 1.75; }
.footer-meta a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-col h4 { font-size: 12.5px; font-weight: 650; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }

/* Clean Apple-Grade Studio Plinth */
.hero-plinth {
  position: relative; z-index: 2;
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 760px) { .hero-plinth { grid-template-columns: 1fr; gap: 12px; } }
.plinth-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 24px;
  background: color-mix(in srgb, var(--bg-elevated) 84%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid var(--hairline-strong);
  box-shadow: 0 12px 32px -12px rgba(17, 36, 28, 0.10);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}
[data-theme="dark"] .plinth-item {
  background: rgba(15, 23, 36, 0.72);
  box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.45);
}
.plinth-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
  box-shadow: var(--shadow-soft);
}
.plinth-icon {
  width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.22);
}
.plinth-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.plinth-title { font-size: 16px; font-weight: 650; letter-spacing: -0.015em; }
.plinth-desc { font-size: 13px; color: var(--ink-2); }
.plinth-tag { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.hero-beads-wrap { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: 28px; }
