/* ==========================================================================
   SageVLA-A2 — Left-Aligned Architectural Research Monograph
   Design Philosophy:
   - Strictly left-aligned Swiss editorial grid (210px index rail + 900px main)
   - Zero cheap SaaS card clutter or rainbow pills; crisp 1px hairlines
   - Warm architectural stone paper (#F6F5F1), deep carbon ink (#151513),
     restrained Prussian Slate (#1F4B6E) primary accent
   ========================================================================== */

:root {
  /* Cohesive Warm Archival Paper & Pure White Figure Surfaces */
  --desk: #f1ede5;
  --paper: #faf8f4;
  --surface: #ffffff;
  --surface-subtle: #f2eee6;
  --surface-tint: #f6f4ee;

  /* Ink Hierarchy */
  --ink: #151513;
  --ink-body: #363531;
  --ink-muted: #706d66;
  --ink-faint: #99958d;

  /* Hairlines */
  --rule: rgba(21, 21, 19, 0.11);
  --rule-strong: rgba(21, 21, 19, 0.20);
  --rule-heavy: #151513;

  /* Paper-Native Burgundy Rose Accent (Harmonized with Paper Figures) */
  --accent: #8f4959;
  --accent-mid: #b06f7e;
  --accent-light: #dfadb6;
  --accent-wash: rgba(154, 83, 100, 0.08);
  --accent-cell: rgba(154, 83, 100, 0.13);

  /* Muted Chart & Diagram Secondary Tones */
  --tone-sage: #52735e;
  --tone-sage-soft: #e8efea;
  --tone-ochre: #966b36;
  --tone-ochre-soft: #f5eee3;
  --tone-plum: #7d4858;
  --tone-plum-soft: #f3e9ec;
  --tone-grey: #c5c4be;

  /* 4-Role Editorial Typography System */
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-serif: "Newsreader", "Charter", Georgia, serif;
  --font-body: "Literata", "Charter", "Bitstream Charter", "Iowan Old Style", Georgia, serif;
  --font-palatino: "Palatino", "Palatino Linotype", "Book Antiqua", "URW Palladio L", "P052", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout Measures */
  --shell-max: 1296px;
  --rail-w: 204px;
  --main-w: 910px;
  --prose-w: 736px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background-color: var(--desk);
}

body {
  margin: 0;
  background-color: var(--desk);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.8px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Whisper-Light Matte Finish (Zero Vintage Yellowing) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.015;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ==========================================================================
   0. Full-Viewport Immersive Teaser Scene & Optical Dissolve into Monograph
   ========================================================================== */

.teaser-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 155svh;
  background: #0b0e12;
}

.teaser-scene__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #0b0e12;
}

.teaser-scene.is-covered .teaser-scene__sticky {
  visibility: hidden;
  pointer-events: none;
}

.teaser-scene__media {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  will-change: transform, filter;
}

.teaser-scene__vid {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #0b0e12;
  cursor: pointer;
}

/* Instant-Render Title Slate (Mirrors Video Endcard Before Load or On Fallback) */
.teaser-scene__slate {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #0b0e12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 72px;
  text-align: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.42s ease;
}

.teaser-scene__media.is-playing .teaser-scene__slate {
  opacity: 0;
}

.teaser-scene__slate-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-6%);
}

.teaser-scene__slate-brand {
  font-family: var(--font-display);
  font-size: clamp(46px, 7.6vw, 112px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #f5f3ee;
}

.teaser-scene__slate-sub {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #eef2f6;
}

.teaser-scene__slate-foot {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 58px;
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.15vw, 16.5px);
  font-weight: 400;
  letter-spacing: 0.005em;
  color: rgba(214, 221, 230, 0.76);
}

/* Full-bleed edge-to-edge on standard desktop browser aspect ratios (>= 16:9),
   anchoring lower caption band cleanly while avoiding sidebars */
@media (min-aspect-ratio: 16 / 9) {
  .teaser-scene__vid {
    object-fit: cover;
    object-position: center 82%;
  }
}

/* Warm archival light veil that dissolves dark cinema into sunlit monograph paper */
.teaser-scene__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  background-color: var(--desk);
  background-image: radial-gradient(125% 90% at 50% 100%, #faf8f4 0%, #f1ede5 62%, #e9e3d8 100%);
}

.teaser-scene__ctrls {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.34;
  transition: opacity 0.22s ease;
}

.teaser-scene.is-ended .teaser-scene__ctrls {
  opacity: 0.6;
}

.teaser-scene__sticky:hover .teaser-scene__ctrls,
.teaser-scene__sticky:focus-within .teaser-scene__ctrls,
.teaser-scene.is-paused .teaser-scene__ctrls,
.teaser-scene.is-sound-on .teaser-scene__ctrls {
  opacity: 0.95;
}

.teaser-scene__btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 13, 18, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.teaser-scene__btn:hover {
  background: rgba(20, 28, 40, 0.84);
  border-color: rgba(255, 255, 255, 0.44);
  color: #ffffff;
  transform: scale(1.05);
}

@keyframes teaserCueBreath {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.42;
  }
  50% {
    transform: translate(-50%, 3px);
    opacity: 0.78;
  }
}

.teaser-scene__cue {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 4;
  width: 44px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: teaserCueBreath 2.6s ease-in-out infinite;
  transition: color 0.18s ease, opacity 0.22s ease;
}

.teaser-scene__cue:hover {
  color: #ffffff;
  animation-play-state: paused;
  opacity: 1 !important;
}

.teaser-scene__cue:focus:not(:focus-visible) {
  outline: none;
}

.teaser-scene__cue:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
  border-radius: 999px;
}

.teaser-scene__cue.is-hidden {
  animation: none;
  opacity: 0;
  pointer-events: none;
}

.monograph-stage {
  position: relative;
  z-index: 10;
  margin-top: -55svh;
  background-image:
    linear-gradient(
      180deg,
      rgba(241, 237, 229, 0) 0px,
      rgba(241, 237, 229, 0.80) 96px,
      var(--desk) 200px
    );
}

/* ==========================================================================
   1. Asymmetric Two-Column Swiss Monograph Grid (Left-Aligned)
   ========================================================================== */

.monograph-shell {
  position: relative;
  width: min(var(--shell-max), 100%);
  margin: 0 auto;
  padding: 40px 44px 116px;
  background-color: var(--paper);
  background-image:
    radial-gradient(960px 460px at 60% 0%, rgba(255, 252, 244, 0.72) 0%, transparent 100%);
  border-top: 1px solid rgba(21, 21, 19, 0.06);
  border-left: 1px solid rgba(21, 21, 19, 0.085);
  border-right: 1px solid rgba(21, 21, 19, 0.085);
  box-shadow: 0 -16px 48px rgba(239, 234, 224, 0.55);
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, var(--main-w));
  column-gap: 72px;
  align-items: start;
}

/* Full-Bleed Modern Structural Column Rail */
.monograph-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(44px + var(--rail-w) + 36px);
  width: 1px;
  background: rgba(21, 21, 19, 0.08);
  pointer-events: none;
}

/* Sticky Left Architectural Index Rail */
.index-rail {
  position: sticky;
  top: 32px;
}

.rail-brand {
  display: flex;
  align-items: center;
  min-height: 50px;
  text-decoration: none;
  padding: 10px 0;
  margin-bottom: 16px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.rail-brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.rail-brand__accent {
  color: var(--accent);
}

.rail-brand__lab {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.rail-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--rule);
  display: grid;
  gap: 2px;
}

.rail-link {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: baseline;
  padding: 4.5px 0 4.5px 11px;
  margin-left: -1px;
  font-family: var(--font-palatino);
  font-size: 13.6px;
  line-height: 1.35;
  color: #3e3b36;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.rail-link__num {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 12.2px;
  color: #6e6a61;
  transition: color 0.15s ease;
}

.rail-link:hover {
  color: var(--ink);
  text-decoration: none;
}

.rail-link:hover .rail-link__num {
  color: #3e3b36;
}

.rail-link.is-active {
  color: var(--ink);
  font-weight: 700;
  border-left-color: var(--accent);
}

.rail-link.is-active .rail-link__num {
  color: var(--accent);
  font-weight: 600;
}

.rail-subnav {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: grid;
  gap: 1px;
}

.rail-sublink {
  display: block;
  padding: 2.5px 0 2.5px 35px;
  margin-left: -1px;
  font-family: var(--font-palatino);
  font-size: 12.2px;
  line-height: 1.35;
  color: #59554d;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.rail-sublink:hover {
  color: var(--ink);
  text-decoration: none;
}

.rail-sublink.is-active {
  color: var(--accent);
  font-weight: 700;
  border-left-color: var(--accent);
}

.rail-progress-wrap {
  margin-top: 18px;
}

.rail-progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.rail-progress-track {
  height: 2px;
  background: var(--rule);
  overflow: hidden;
}

.rail-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.08s linear;
}

/* Main Left-Aligned Content Stream */
.main-stream {
  min-width: 0;
  width: 100%;
}

/* ==========================================================================
   2. Left-Aligned Monograph Header & 2x2 Real-Robot Quad Showcase
   ========================================================================== */

.doc-header {
  padding-bottom: 8px;
}

.hero-masthead {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 9px 0;
  margin-bottom: 26px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.masthead-logo {
  height: 28px;
  width: auto;
  filter: brightness(1.06) contrast(1.14);
  mix-blend-mode: multiply;
}

.masthead-series {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.masthead-link {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 12.4px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #46433d;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.masthead-link:hover {
  color: var(--ink);
  background: rgba(20, 20, 18, 0.055);
  text-decoration: none;
}

.masthead-link__arr {
  font-size: 10.5px;
  line-height: 1;
  color: var(--ink-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.masthead-link:hover .masthead-link__arr {
  color: var(--ink);
  transform: translate(1px, -1px);
}

.masthead-sep {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--rule-strong);
  user-select: none;
}

.masthead-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-muted);
}

.masthead-team strong {
  font-weight: 600;
  color: var(--ink);
}

.masthead-sep {
  color: var(--ink-faint);
}

.doc-title {
  margin: 0 0 14px;
}

.doc-title__brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #141412;
}

.doc-title__ver {
  color: inherit;
}

.doc-title__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 48;
  font-size: clamp(20px, 2.25vw, 26px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.014em;
  color: #1c1b19;
}

.doc-title__accent {
  color: inherit;
  font-weight: inherit;
}

/* Hero One-Sentence Standfirst Deck */
.doc-deck {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 16.8px;
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: -0.006em;
  color: #2f2d28;
  margin: 0 0 14px;
  max-width: 840px;
}

/* Clean Left-Aligned Team Byline */
.doc-byline-team {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 13.8px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-body);
}

/* Tactile Flagship Resource Bar */
.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.act-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 17px;
  border: 1px solid rgba(21, 21, 19, 0.16);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(21, 21, 19, 0.04);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.act-link:hover {
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 0 3px 8px rgba(21, 21, 19, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.act-link--primary {
  background: #191816;
  border-color: #191816;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(21, 21, 19, 0.16);
}

.act-link--primary:hover {
  background: #2c2a26;
  border-color: #2c2a26;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 21, 19, 0.22);
}

.act-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  background: #f3efe8;
  color: #5e584f;
  border-radius: 999px;
}

.act-link--primary .act-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Full-Measure Panoramic Overview Video Stage */
.overview-cinema {
  border: 1px solid rgba(21, 21, 19, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: #0d1015;
  box-shadow: 0 12px 32px rgba(21, 21, 19, 0.08);
  scroll-margin-top: 28px;
}

.overview-cinema__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d1015;
  overflow: hidden;
}

.overview-cinema__stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0d10;
  display: none;
  z-index: 2;
}

.overview-cinema__stage.is-ready .overview-cinema__vid {
  display: block;
}

.overview-cinema__stage.is-ready .overview-cinema__placeholder {
  display: none;
}

/* Clean Visual Cover + Centered Play Trigger Before First Play (Zero Text) */
.overview-cinema__cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  background: #0d1015;
  cursor: pointer;
}

.overview-cinema__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12, 16, 23, 0.16) 0%, rgba(12, 16, 23, 0.56) 100%),
    linear-gradient(180deg, rgba(12, 16, 23, 0.08) 0%, rgba(12, 16, 23, 0.36) 100%);
  pointer-events: none;
  transition: background 0.2s ease;
}

.overview-cinema__stage.is-ready:not(.has-started) .overview-cinema__cover {
  display: flex;
}

.overview-cinema__play-trigger {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  padding: 0 0 0 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(14, 20, 29, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.16s ease, border-color 0.16s ease;
}

.overview-cinema__cover:hover .overview-cinema__play-trigger,
.overview-cinema__play-trigger:focus-visible {
  transform: scale(1.08);
  background: rgba(24, 23, 21, 0.92);
  border-color: rgba(255, 255, 255, 0.72);
}

.overview-cinema__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: #ffffff;
}

.overview-cinema__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(12, 16, 23, 0.22) 0%, rgba(12, 16, 23, 0.64) 100%),
    linear-gradient(180deg, rgba(12, 16, 23, 0.12) 0%, rgba(12, 16, 23, 0.48) 100%);
  pointer-events: none;
}

.overview-cinema__backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #0b0e13;
  opacity: 0.82;
  filter: saturate(0.95) contrast(1.04);
  pointer-events: none;
}

.overview-cinema__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overview-cinema__card {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 13px 26px 13px 15px;
  border-radius: 999px;
  background: rgba(15, 21, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36);
  text-align: left;
}

.overview-cinema__play {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.overview-cinema__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.overview-cinema__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  color: #ffffff;
}

.overview-cinema__desc {
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.overview-cinema__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ebd096;
}

.overview-cinema__hint code {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 6px;
  border-radius: 3px;
}

.overview-chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  background: var(--surface);
}

.overview-chapter {
  padding: 12px 14px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.overview-chapter:last-child {
  border-right: none;
}

.overview-chapter__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.07em;
}

.overview-chapter__name {
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink);
}

.overview-chapter__meta {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.hero-showcase {
  border: 1px solid var(--rule-strong);
  background: var(--surface);
}

.hero-showcase--spaced {
  margin-top: 26px;
}

.hero-showcase__jump {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hero-showcase__jump:hover {
  text-decoration: underline;
}

.hero-showcase__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-tint);
}

.hero-showcase__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.inline-tabs {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 2px;
  border-radius: 4px;
}

.itab {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.itab:hover {
  color: var(--ink);
}

.itab.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.quad-wall-card {
  margin: 0 0 28px;
}

.quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
}

.quad-cell {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #141619;
}

.quad-cell[data-quad-key] {
  cursor: pointer;
}

.quad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9.8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(16, 19, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.quad-cell.is-ready .quad-badge {
  display: none;
}

.quad-cell img,
.quad-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.quad-cell video {
  display: none;
}

.quad-cell.is-ready video {
  display: block;
}

.quad-cell.is-ready img {
  display: none;
}

.quad-cell:hover img {
  transform: scale(1.025);
}

.quad-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 11px;
  background: linear-gradient(180deg, transparent, rgba(12, 13, 16, 0.84));
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.quad-caption__task {
  font-size: 13px;
  font-weight: 600;
}

.quad-caption__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}

.teaser-video-pane {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #121418;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: left;
  padding: 32px;
}

.teaser-video-pane video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.teaser-video-pane.is-ready video {
  display: block;
}

.teaser-video-pane.is-ready .teaser-slate {
  display: none;
}

.teaser-slate {
  max-width: 480px;
  border-left: 2px solid var(--accent-light);
  padding-left: 18px;
}

.hero-showcase__foot {
  padding: 8px 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--tone-ochre);
  line-height: 1.45;
}

.hero-showcase__foot strong {
  color: var(--ink);
}

/* 4-Column Architectural Key-Findings Ledger */
.ledger-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border: 1px solid var(--rule);
  border-top: 1.5px solid var(--ink);
  background: var(--surface);
}

.lmetric-cell {
  padding: 16px 18px 17px;
  border-right: 1px solid var(--rule);
}

.lmetric-cell:last-child {
  border-right: none;
}

.lmetric__kicker {
  font-family: var(--font-mono);
  font-size: 9.8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}

.lmetric__num {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 64;
  font-variant-numeric: lining-nums;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.lmetric__label {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 13.5px;
  line-height: 1.46;
  color: #57534b;
}

/* ==========================================================================
   3. Left-Aligned Editorial Sections, Prose & Architectural Ledgers
   ========================================================================== */

/* Modern Crisp 6px Architectural Radius Across Document Cards */
.ledger-metrics,
.paradigm-board,
.platform-card,
.quad-wall-card,
.instrument,
.arch-clean,
.eef-board,
.ft-card,
.bib-frame {
  border-radius: 6px;
  overflow: hidden;
}

.m-figure__frame,
.m-table-wrap {
  border-radius: 6px;
}

.m-section {
  position: relative;
  padding-top: 48px;
  margin-top: 72px;
  scroll-margin-top: 24px;
}

/* Horizontal Section Rule Extending Into the Structural Column Rail */
.m-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -36px;
  right: 0;
  height: 1px;
  background: rgba(21, 21, 19, 0.085);
  pointer-events: none;
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 22px;
}

.sec-idx {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 64;
  font-variant-numeric: lining-nums proportional-nums;
  font-size: clamp(30px, 3.5vw, 37px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: #9e988c;
  user-select: none;
}

.sec-heading {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 64;
  font-size: clamp(30px, 3.5vw, 37px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0;
  color: #141412;
}

.sub-heading {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: clamp(21.5px, 2.35vw, 24.5px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.016em;
  margin: 48px 0 14px;
  color: #141311;
  scroll-margin-top: 28px;
}

.prose {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 16.5px;
  line-height: 1.76;
  letter-spacing: -0.006em;
  max-width: var(--prose-w);
  margin: 0 0 19px;
  color: #2b2925;
}

.prose--dropcap {
  line-height: 1.7;
}

.prose--dropcap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 72, "wght" 330;
  font-size: 48px;
  font-weight: 330;
  line-height: 0.82;
  margin: 5px 6px 0 -1px;
  color: #46423b;
}

.prose strong {
  color: #12110f;
  font-weight: 600;
}

.prose em {
  font-style: italic;
  color: inherit;
}

/* Visual & Editorial Paradigm Comparison Board (Section 01) */
.paradigm-board {
  margin: 28px 0 12px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
}

.paradigm-head {
  display: grid;
  grid-template-columns: 152px 1fr 1.24fr;
  border-bottom: 1px solid var(--rule-strong);
}

.paradigm-head__axis {
  padding: 14px;
  background: var(--surface-tint);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.paradigm-axis-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.paradigm-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.paradigm-kicker--accent {
  color: var(--accent);
  font-weight: 600;
}

.paradigm-axis-note {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.paradigm-head__prior {
  padding: 14px 18px;
  background: #faf9f6;
  border-right: 1px solid var(--rule);
}

.paradigm-head__ours {
  padding: 14px 18px;
  background: #fdfbf6;
}

.paradigm-head__title {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 500;
  color: #4a453e;
  margin: 0 0 10px;
}

.paradigm-head__title--ours {
  font-weight: 600;
  color: var(--ink);
}

.paradigm-mini-svg {
  width: 100%;
  height: auto;
  display: block;
}

.paradigm-row {
  display: grid;
  grid-template-columns: 152px 1fr 1.24fr;
  border-bottom: 1px solid var(--rule);
}

.paradigm-row:last-child {
  border-bottom: none;
}

.paradigm-row__dim {
  padding: 13px 14px;
  background: var(--surface-tint);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.paradigm-row__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

.paradigm-row__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.paradigm-row__prior {
  padding: 13px 18px;
  border-right: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 14.4px;
  line-height: 1.54;
  color: #5e5a52;
  background: var(--surface);
  display: flex;
  align-items: center;
}

.paradigm-row__ours {
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--ink);
  background: #fdfbf6;
}

.p-chip {
  display: inline-block;
  font-family: var(--font-sans);
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid transparent;
}

.p-chip--sage {
  background: #eff4ea;
  border-color: #c2ceb9;
  color: #263621;
}

.p-chip--ochre {
  background: #f6ecda;
  border-color: #d6c3a3;
  color: #3d301d;
}

.p-chip--rose {
  background: #fae6ea;
  border-color: #dbb5bd;
  color: #4d2630;
}

.p-chip--terra {
  background: #faeee5;
  border-color: #d9bba6;
  color: #4a2f1d;
}

.p-chip--slate {
  background: #eaf0f5;
  border-color: #b7cade;
  color: var(--accent);
}

/* ==========================================================================
   4. Full-Measure Figures (Crisp Hairline Frame, Left-Aligned Caption)
   ========================================================================== */

.m-figure {
  margin: 28px 0 32px;
}

.m-figure__frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 18px 20px;
}

/* Unified Tactile Zoom Affordance (Zero Text Clutter) */
[data-zoom] {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}

.m-figure__frame[data-zoom] {
  transition: border-color 0.22s ease, box-shadow 0.24s ease;
}

.m-figure__frame[data-zoom]:hover {
  border-color: rgba(21, 21, 19, 0.28);
  box-shadow: 0 10px 26px -16px rgba(21, 21, 19, 0.14);
}

.m-figure__frame[data-zoom] img,
.vf-composite__demo[data-zoom] img {
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-figure__frame[data-zoom]:hover img {
  transform: scale(1.008);
}

.vf-composite__demo[data-zoom]:hover img {
  transform: scale(1.018);
}

/* Frosted Magnifying-Glass Micro-Badge Emerging on Hover */
[data-zoom]::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(21, 21, 19, 0.20);
  background-color: rgba(255, 255, 255, 0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322201d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13.5px 13.5px;
  box-shadow: 0 3px 10px rgba(21, 21, 19, 0.12);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(3px) scale(0.9);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 4;
}

[data-zoom]:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.m-caption {
  margin-top: 11px;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: 14.8px;
  line-height: 1.6;
  color: #4f4b43;
  max-width: 840px;
}

.m-caption strong {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 700;
}

/* ==========================================================================
   4B. Academic Two-Tier MoT Architecture Diagram (4-Step Forward-Pass)
   ========================================================================== */

.arch-clean {
  margin: 28px 0 12px;
  border: 1px solid var(--rule);
  background: var(--surface);
}

.arch-clean__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-tint);
}

.arch-clean__hint {
  font-family: var(--font-mono);
  font-size: 10.4px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.arch-clean__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.arch-clean__canvas {
  padding: 18px 16px 14px;
  background: #ffffff;
}

.arch-clean__foot {
  padding: 10px 16px;
  background: #faf8f2;
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.54;
  color: #3a3731;
}

.arch-clean__foot strong {
  color: var(--ink);
  font-weight: 600;
}

.acad-clickable {
  cursor: pointer;
}

.arch-clean__svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

/* Smooth academic step-highlight transitions */
.acad-block,
.acad-tok,
.acad-line,
.acad-layer,
.acad-tick {
  transition: opacity 0.36s ease, filter 0.36s ease, transform 0.36s ease, stroke 0.3s ease, stroke-width 0.3s ease;
}

.acad-dim {
  opacity: 0.64;
}

.acad-active-glow {
  filter: drop-shadow(0 4px 12px rgba(32, 28, 22, 0.10));
}

.acad-tok-pop {
  transform: translateY(-2px);
  filter: drop-shadow(0 3px 7px rgba(32, 28, 22, 0.13));
}

.acad-tok {
  transform-box: fill-box;
  transform-origin: center;
}

.acad-layer-hit {
  stroke: var(--accent) !important;
  stroke-width: 1.8px !important;
}

.acad-tick-lit {
  stroke: var(--accent) !important;
  stroke-width: 2px !important;
}

.itab.is-stage-current:not(.is-active) {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* ==========================================================================
   5. Architectural Instruments (Dynamics, EEF Alignment, Skill Scrubber)
   ========================================================================== */

.instrument {
  margin: 26px 0 32px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
}

.instrument__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-tint);
}

.instrument__title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.instrument__body {
  padding: 20px 18px;
}

/* Execution Modes SVG Schematic & 100% Latency Bar (Section 03) */
.dyn-svg-card {
  background: #ffffff;
  border: 1px solid var(--rule);
  padding: 14px 14px 10px;
  margin-bottom: 16px;
}

.dyn-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.dyn-node,
.dyn-link {
  transition: opacity 0.26s ease, filter 0.26s ease;
}

.dyn-node.is-skipped {
  opacity: 0.44;
}

.dyn-link.is-muted {
  opacity: 0.26;
}

.dyn-readout {
  padding-top: 2px;
}

.dyn-readout__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 13.8px;
  line-height: 1.52;
  margin-bottom: 12px;
}

.dyn-readout__summary {
  max-width: 780px;
  font-family: var(--font-body);
  font-size: 14.8px;
  line-height: 1.56;
  color: #2e2c27;
}

.sim-lead {
  font-family: var(--font-body);
  font-size: 15.2px;
  line-height: 1.6;
  color: #2b2925;
  margin: 0 0 14px;
}

.sim-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.dyn-readout__summary strong {
  color: var(--ink);
}

/* Paper-Aligned RTX 5090 Proportional Stacked Latency Bars */
.lat-chart {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.lat-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.16s ease;
}

.lat-row:hover {
  background: #faf8f3;
}

.lat-row.is-selected {
  background: #fcf6f7;
  box-shadow: inset 2.5px 0 0 var(--accent);
}

.lat-row.is-dim {
  opacity: 0.62;
}

.lat-row__lbl {
  font-family: var(--font-serif);
  font-size: 13.6px;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.lat-row.is-selected .lat-row__lbl {
  font-weight: 600;
}

.lat-row__track {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lat-bar {
  height: 24px;
  min-width: 84px;
  display: flex;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(21, 21, 19, 0.14);
}

.lat-seg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 11px;
  color: #24201a;
  white-space: nowrap;
  overflow: hidden;
}

.lat-seg--pre {
  background: #f6efc9;
  border-right: 1px solid rgba(21, 21, 19, 0.08);
}

.lat-seg--ntp {
  background: #dad1c2;
  border-right: 1px solid rgba(21, 21, 19, 0.08);
}

.lat-seg--fm {
  background: #d1e2c4;
}

.lat-row__total {
  font-family: var(--font-serif);
  font-size: 14.2px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.dyn-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 12.8px;
  color: var(--ink-body);
}

.dyn-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dyn-swatch {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

.dyn-swatch--pre {
  background: #f6efc9;
  border: 1px solid #cfc48f;
}

.dyn-swatch--ntp {
  background: #dad1c2;
  border: 1px solid #b3a896;
}

.dyn-swatch--fm {
  background: #d1e2c4;
  border: 1px solid #9db58c;
}

/* Grounded Episode Inspector (Real Multi-View CapCap Data) */
.ge-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
}

.ge-ep-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ge-ep-tabs .itab {
  padding: 4.5px 9px;
  font-size: 11.6px;
  white-space: nowrap;
}

.ge-tab-src {
  font-family: var(--font-mono);
  font-size: 9.2px;
  font-weight: 500;
  opacity: 0.72;
  margin-left: 3px;
}

.itab.is-active .ge-tab-src {
  opacity: 0.88;
}

.ge-kbd-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-left: auto;
}

.ge-visual__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #201e1b;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ge-transport {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ge-vbtn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e9e5dc;
  font-family: var(--font-sans);
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1;
  padding: 5.5px 8.5px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.ge-vbtn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.ge-vbtn--play {
  min-width: 72px;
  text-align: center;
}

.ge-vbtn--play.is-playing {
  background: #f5f1e7;
  border-color: #f5f1e7;
  color: #151513;
}

.ge-vbtn--loop {
  font-family: var(--font-mono);
  font-size: 10.2px;
  color: #c7c2b8;
  margin-left: 2px;
}

.ge-vbtn--loop.is-active {
  background: rgba(76, 175, 115, 0.2);
  border-color: rgba(76, 175, 115, 0.55);
  color: #9be5b7;
}

.ge-speed-group {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.ge-speed-btn {
  appearance: none;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #b7b2a7;
  font-family: var(--font-mono);
  font-size: 10.2px;
  font-weight: 600;
  padding: 5.5px 7px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.ge-speed-btn:last-child {
  border-right: none;
}

.ge-speed-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.ge-speed-btn.is-active {
  background: #f5f1e7;
  color: #151513;
}

.ge-body {
  display: grid;
  gap: 14px;
}

.ge-meta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 14px;
  padding: 9px 12px;
  background: var(--surface-tint);
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.ge-prompt-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  flex: 1 1 320px;
}

.ge-prompt-tag {
  font-family: var(--font-mono);
  font-size: 10.2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}

.ge-prompt-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.38;
  color: var(--ink);
}

.ge-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.ge-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.2px;
  line-height: 1.35;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-body);
  white-space: nowrap;
}

.ge-badge--src {
  background: #f4f1ea;
  border-color: #dad3c5;
  color: #3a3630;
  font-weight: 600;
}

.ge-badge--ok {
  background: #eef4ef;
  border-color: #c9dccb;
  color: #2f5436;
  font-weight: 600;
}

/* Main Split Stage */
.ge-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.ge-visual {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  overflow: hidden;
  background: #161513;
}

.ge-visual__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #22201d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ge-live-readout {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ge-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c776d;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.ge-live-dot.is-playing {
  background: #4caf73;
  box-shadow: 0 0 0 3px rgba(76, 175, 115, 0.24);
}

.ge-frame-readout {
  font-family: var(--font-mono);
  font-size: 10.8px;
  color: #e6e2d8;
  letter-spacing: 0.01em;
}

.ge-sync-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #c5bfb4;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 3px;
}

.ge-visual__frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 382px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141311;
  cursor: pointer;
  overflow: hidden;
  outline: none;
}

.ge-visual__frame:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(143, 176, 202, 0.75);
}

.ge-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.ge-video-pool {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.ge-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.ge-video.is-active.is-ready {
  opacity: 1;
}

.ge-buffer-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 19, 17, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f3efe6;
  font-family: var(--font-mono);
  font-size: 10.2px;
  line-height: 1.25;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.ge-buffer-pill.is-error .ge-spinner {
  display: none;
}

.ge-spinner {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-top-color: #f3efe6;
  animation: geSpin 0.72s linear infinite;
  flex-shrink: 0;
}

@keyframes geSpin {
  to { transform: rotate(360deg); }
}

.ge-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: none;
  background: rgba(15, 15, 13, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.ge-play-overlay:hover {
  background: rgba(15, 15, 13, 0.38);
}

.ge-play-overlay__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(247, 244, 236, 0.92);
  color: #151513;
  font-size: 19px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease;
}

.ge-play-overlay:hover .ge-play-overlay__icon {
  transform: scale(1.07);
}

.ge-visual__frame.is-playing .ge-play-overlay,
.ge-visual__frame.is-errored .ge-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.ge-scrub-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--ink-faint);
  margin-left: 4px;
}

@keyframes geFieldPulse {
  0% { filter: brightness(0.95); }
  100% { filter: brightness(1); }
}

.ge-inspect.is-switching .seg-field {
  animation: geFieldPulse 0.24s ease;
}

/* Right Reasoning Target Column */
.ge-inspect {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 454px;
}

.ge-seg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.ge-step-counter {
  font-family: var(--font-sans);
  font-size: 12.8px;
  font-weight: 700;
  color: var(--ink);
}

.ge-interval-mono {
  font-family: var(--font-mono);
  font-size: 10.8px;
  color: var(--ink-muted);
}

.ge-seg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-left: auto;
}

.ge-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.4px;
  font-weight: 600;
  line-height: 1.35;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid transparent;
}

.ge-pill--skill {
  background: #f9eef0;
  border-color: #e0c2c9;
  color: #7d3b4b;
}

.ge-pill--nonactive {
  background: #f2efe8;
  border-color: #d9d3c6;
  color: #5e5a51;
}

.ge-pill--arm {
  background: #f8f1e4;
  border-color: #e2cfa9;
  color: #6e4e1f;
}

.ge-pill--out {
  background: #eef4ef;
  border-color: #c7dbc9;
  color: #2f5536;
}

.ge-pill--warn {
  background: #fbf0eb;
  border-color: #e3bfb2;
  color: #8a3d27;
}

.ge-pill--out-muted {
  background: #f3f1ec;
  border-color: #ddd8cd;
  color: #6e6a61;
}

.ge-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.seg-field {
  border: 1px solid var(--rule);
  border-left-width: 3px;
  padding: 8px 11px;
  border-radius: 2px;
}
.seg-field--mem { background: #f5f8f2; border-left-color: #6b8770; }
.seg-field--scn { background: #fcf8ef; border-left-color: #b08c5a; }
.seg-field--sub { background: #fcf4f6; border-left-color: #b57d8a; }

.seg-field__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.seg-field__tag {
  font-family: var(--font-sans);
  font-size: 11.2px;
  font-weight: 700;
  color: var(--ink-body);
}

.ge-mem-note {
  font-family: var(--font-mono);
  font-size: 9.6px;
  color: var(--ink-muted);
}

.ge-mem-note.is-retained {
  color: #2f5937;
  background: #e7f1e8;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 600;
}

.seg-field__val {
  font-family: var(--font-serif);
  font-size: 13.9px;
  line-height: 1.46;
  color: var(--ink);
  margin: 0;
}

.seg-field__val.is-empty {
  color: var(--ink-muted);
  font-style: italic;
}

.ge-action-cap {
  margin-top: auto;
  padding: 8px 11px;
  background: var(--surface-tint);
  border: 1px dashed var(--rule-strong);
  border-radius: 2px;
}

.ge-action-cap__lbl {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

.ge-action-cap__txt {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12.2px;
  line-height: 1.45;
  color: var(--ink-body);
}

/* Proportional Timeline & Proprioceptive Gripper Trace */
.ge-timeline {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  display: grid;
  gap: 6px;
}

.ge-timeline__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
}

.ge-timeline__title {
  font-family: var(--font-sans);
  font-size: 11.8px;
  font-weight: 600;
  color: var(--ink-body);
}

.ge-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.2px;
  color: var(--ink-muted);
}

.ge-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ge-leg-swatch {
  display: inline-block;
  width: 14px;
  height: 2.5px;
  border-radius: 2px;
}

.ge-leg-swatch--l { background: #5b7a62; }
.ge-leg-swatch--r { background: #9a5364; }

.ge-seg-track {
  display: flex;
  width: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  background: var(--paper);
}

.ge-seg-btn {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 6px 6px;
  border: none;
  border-right: 1px solid rgba(21, 21, 19, 0.18);
  background: #f4f1e8;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.14s ease, color 0.14s ease;
}

.ge-seg-btn:last-child {
  border-right: none;
}

.ge-seg-btn--action {
  background: #faf6f6;
}

.ge-seg-btn--slip {
  background: #faf0ec;
  color: #6b3322;
}

.ge-seg-btn--nonactive {
  background: #f5f2ea;
  color: #6a665d;
}

.ge-seg-btn:hover {
  background: #f2e8eb;
}

.ge-seg-btn.is-active {
  background: #1c1b19;
  color: #ffffff;
}

.ge-seg-btn.is-active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--ge-seg-prog, 0%);
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.ge-seg-btn__top,
.ge-seg-btn__lbl {
  position: relative;
  z-index: 1;
}

.ge-seg-btn__top {
  display: block;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 9.4px;
  line-height: 1.2;
  opacity: 0.78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ge-seg-btn__lbl {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 11.4px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ge-seg-btn--narrow {
  align-items: center;
  padding: 6px 2px;
}

.ge-seg-btn--narrow .ge-seg-btn__top {
  text-align: center;
}

.ge-seg-btn--narrow .ge-seg-btn__lbl {
  display: none;
}

.ge-seg-btn--tiny {
  align-items: center;
  padding: 6px 0;
}

.ge-seg-btn--tiny .ge-seg-btn__top {
  font-size: 8.5px;
  text-align: center;
}

.ge-seg-btn--tiny .ge-seg-btn__lbl {
  display: none;
}

.ge-grip-wrap {
  position: relative;
  margin-top: -6px;
  border: 1px solid var(--rule-strong);
  border-top: none;
  border-radius: 0 0 3px 3px;
  background: #ffffff;
  overflow: hidden;
}

.ge-scrub-tip {
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 4;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(21, 21, 19, 0.88);
  color: #f7f4ec;
  font-family: var(--font-mono);
  font-size: 9.8px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.ge-grip-svg {
  width: 100%;
  height: 78px;
  display: block;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  outline: none;
}

.ge-grip-svg:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(31, 75, 110, 0.45);
}

.ge-time-axis {
  display: flex;
  justify-content: space-between;
  padding: 3px 8px 4px;
  border-top: 1px solid rgba(21, 21, 19, 0.08);
  background: #faf8f3;
  font-family: var(--font-mono);
  font-size: 9.6px;
  color: var(--ink-muted);
}

.ge-foot-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 12.2px;
  color: var(--ink-muted);
  padding-top: 2px;
}

.ge-foot-ref {
  font-family: var(--font-mono);
  font-size: 10.2px;
  color: var(--ink-faint);
}

/* ==========================================================================
   6. Interactive Rollout Studio (Left-Aligned Architectural Layout)
   ========================================================================== */

.rollout-selector {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.rollout-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.rollout-group__name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  width: 96px;
  flex-shrink: 0;
}

.r-chip {
  appearance: none;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 12.5px;
  padding: 4px 11px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.r-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.r-chip.is-active {
  background: #1c1b19;
  border-color: #1c1b19;
  color: #ffffff;
  font-weight: 600;
}

.rollout-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #141619;
  overflow: hidden;
}

.rollout-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.rollout-stage.is-ready video {
  display: block;
}

.rollout-stage.is-ready .rollout-placeholder {
  display: none;
}

.rollout-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: #16181d;
}

.rollout-placeholder__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.rollout-stage.is-no-poster .rollout-placeholder {
  background-color: #13161b;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 32px 32px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px;
}

.rollout-stage.is-no-poster .rollout-placeholder__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
}

.rollout-placeholder__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 23, 0.15) 0%, rgba(16, 18, 23, 0.86) 100%);
}

.rollout-placeholder__caption {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 600px;
}

.rollout-placeholder__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
}

.rollout-placeholder__play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.rollout-placeholder__title {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.24;
  margin-bottom: 4px;
}

.rollout-placeholder__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.rollout-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}

.rollout-prompt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}

/* ==========================================================================
   7. Academic Column/Bar Charts & Booktabs Monograph Data Tables
   ========================================================================== */

/* Standalone Bimanual Hardware Platforms Pair (Section 03) */
.platform-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 24px;
}

.platform-card {
  display: grid;
  grid-template-columns: 164px 1fr;
  background: var(--surface);
  border: 1px solid var(--rule);
  align-items: stretch;
}

.platform-card__img {
  position: relative;
  overflow: hidden;
  background: #d3d5d7;
  cursor: zoom-in;
}

.platform-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.platform-card__img:hover img {
  transform: scale(1.03);
}

.platform-card__info {
  padding: 14px 16px;
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.platform-card__tag {
  font-family: var(--font-mono);
  font-size: 9.8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.platform-card__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.platform-card__desc {
  font-family: var(--font-body);
  font-size: 13.6px;
  line-height: 1.48;
  color: #545049;
  margin: 2px 0 0;
}

/* Canonical 32-D End-Effector Alignment Board (Table 2 Hybrid) */
.eef-board {
  margin: 22px 0 30px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
}

.eef-board__visual {
  padding: 16px 16px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
}

.eef-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

#eef-slot-right {
  transition: opacity 0.22s ease;
}

.eef-matrix-wrap {
  overflow-x: auto;
  padding: 10px 14px 6px;
  background: var(--surface);
}

.m-table.eef-table {
  font-size: 12.5px;
}

.m-table.eef-table th,
.m-table.eef-table td {
  padding: 8px 6px;
}

.m-table.eef-table th:first-child,
.m-table.eef-table td:first-child {
  padding-left: 10px;
}

.m-table.eef-table th:last-child,
.m-table.eef-table td:last-child {
  padding-right: 10px;
}

.eef-table .eef-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.eef-table .eef-row:hover td {
  background: #f6f8fa;
}

.eef-table .eef-row.is-selected td {
  background: #eff4f8;
}

.eef-table .eef-row.is-selected td:first-child {
  font-weight: 600;
  color: var(--accent);
}

.eef-src-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  border: 1.5px solid #b5afa4;
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.eef-row.is-selected .eef-src-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.12);
}

.eef-pill {
  display: inline-block;
  padding: 2px 6.5px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10.8px;
  line-height: 1.4;
  border: 1px solid transparent;
}

.eef-pill--ok {
  background: #f1f5f0;
  border-color: #d2ded0;
  color: #35503a;
}

.eef-pill--warn {
  background: #f9f0df;
  border-color: #e3cfa8;
  color: #704e1c;
}

.eef-pill--flip {
  background: #fbe9ec;
  border-color: #e5c1c7;
  color: #7d323d;
}

.eef-pill--muted {
  background: #f3f1ec;
  border-color: #ddd8cd;
  color: #5a564e;
}

.eef-pill--canon {
  background: #e7f0f7;
  border-color: #b7ccde;
  color: #1a405e;
  font-weight: 600;
}

.eef-board__cap {
  margin: 0;
  padding: 8px 16px 13px;
  border-top: 1px solid rgba(21, 21, 19, 0.06);
  background: var(--surface-tint);
  max-width: none;
}

/* Interactive Zero-Shot Grouped Column Chart */
.zchart-card {
  background: #ffffff;
  border: 1px solid var(--rule);
  padding: 18px 18px 12px;
}

.zchart-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.zchart-series {
  transition: opacity 0.24s ease;
}

.zchart-series.is-off {
  opacity: 0.11;
}

.itab-swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 1.5px;
  margin-right: 5px;
  vertical-align: -0.5px;
}

.itab:not(.is-active) .itab-swatch {
  opacity: 0.35;
}

.zchart-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--ink-muted);
}

.zchart-foot strong {
  color: var(--ink);
}

/* Publication-Grade Booktabs Monograph Data Tables */
.m-table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 6px 16px 10px;
}

.instrument__body .m-table-wrap,
.split-2 .m-table-wrap {
  padding: 4px 12px 8px;
}

.m-table-wrap > .m-caption {
  margin: 10px 0 2px;
}

.m-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1.5px solid #24211d;
  border-bottom: 1.5px solid #24211d;
  font-size: 13.2px;
  font-variant-numeric: tabular-nums;
  background: #ffffff;
}

.m-table th,
.m-table td {
  padding: 9px 11px;
  border-bottom: 1px solid rgba(21, 21, 19, 0.08);
  text-align: left;
  white-space: nowrap;
  color: var(--ink-body);
}

.m-table tbody tr:last-child td {
  border-bottom: none;
}

.m-table tbody tr:hover td {
  background: rgba(246, 243, 236, 0.55);
}

.instrument__body .m-table {
  font-size: 12.8px;
}

.instrument__body .m-table th,
.instrument__body .m-table td,
.split-2 .m-table th,
.split-2 .m-table td {
  padding: 8px 8px;
}

.split-2 .m-table {
  font-size: 12.5px;
}

.m-table thead th {
  font-family: var(--font-sans);
  font-size: 11.8px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #3d3932;
  background: #faf8f3;
  border-bottom: 1px solid #aba498;
  padding-top: 10px;
  padding-bottom: 10px;
}

.m-table td:first-child {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.eef-table td:first-child {
  font-family: var(--font-sans);
  font-size: 12.6px;
}

/* Highlighting when InternVLA-A2 is a Row */
.m-table tr.row-ours td {
  background: #faf5e8;
  color: var(--ink);
}

.m-table tr.row-ours:hover td {
  background: #f6efdd;
}

.m-table tr.row-ours td:first-child {
  font-weight: 700;
  color: #1d3f59;
  box-shadow: inset 3px 0 0 #2c5570;
}

/* Highlighting Category Average / Summary Rows (e.g. X2Real) */
.m-table tr.row-summary td {
  background: #f6f4ee;
  border-top: 1px solid #c9c3b8;
  border-bottom: 1px solid #c9c3b8;
  font-weight: 600;
  color: var(--ink);
}

.m-table tr.row-summary td:first-child {
  font-weight: 700;
}

/* Highlighting when InternVLA-A2 is a Column (e.g. X2Real) */
.m-table th.col-ours {
  background: #f4efe2;
  color: #1d3f59;
  font-weight: 700;
}

.m-table td.col-ours {
  background: #fcf8ee;
  color: var(--ink);
  font-weight: 500;
}

.m-table tr.row-summary td.col-ours {
  background: #f5eedc;
  font-weight: 700;
}

.m-table .num {
  text-align: right;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 12.8px;
}

.instrument__body .m-table .num,
.split-2 .m-table .num {
  font-size: 12.3px;
}

.sub-score {
  color: #8a847a;
  font-weight: 400;
}

.cell-best {
  font-weight: 700;
  color: #181613;
  border-bottom: 1.5px solid #2c5570;
  padding-bottom: 1px;
}

.cell-best .sub-score {
  color: #4a453d;
  font-weight: 600;
}

.cell-gain {
  font-weight: 600;
  color: #823c4c;
  background: #faf0f2;
  border: 1px solid #e4c6cd;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11.8px;
}

.cell-pending {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #876842;
  background: #f7f0e4;
  border: 1px solid #e0d2ba;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.m-fig-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.m-figure__frame--svg {
  cursor: default;
  padding: 20px 22px 16px;
}

/* ==========================================================================
   Figure 6 — Native Interactive Attention Masking Board (Section 03)
   ========================================================================== */

.attn-board {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  overflow: hidden;
}

.attn-board__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 9px 16px;
  background: #faf8f2;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 11.6px;
  color: #4a463f;
}

.attn-board__axes strong {
  color: var(--ink);
  font-weight: 600;
}

.attn-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.attn-leg {
  display: inline-flex;
  align-items: center;
  gap: 5.5px;
  font-size: 11.3px;
  color: #4f4b43;
}

.attn-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.attn-swatch--vis {
  background: linear-gradient(135deg, #f7f1cf 0%, #f7f1cf 50%, #eadcc9 50%, #eadcc9 100%);
  border: 1px solid #b7b0a2;
}

.attn-swatch--ex {
  background: #fcfbf8;
  border: 1px solid #c8c2b6;
  color: #7d766b;
  font-weight: 600;
}

.attn-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  background: #ffffff;
}

.attn-panel {
  padding: 16px 12px 12px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}

.attn-panel:last-child {
  border-right: none;
}

.attn-panel__title {
  margin: 0;
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 32;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.attn-panel__title--center {
  text-align: center;
  margin-bottom: 10px;
}

.attn-opt-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.attn-opt-lbl {
  font-family: var(--font-sans);
  font-size: 10.8px;
  color: #6a665e;
  margin-right: 1px;
}

.attn-opt-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 1.5px 7.5px;
  border-radius: 4px;
  border: 1px solid #cbc5b9;
  background: #f5f2ea;
  font-family: var(--font-sans);
  font-size: 10.6px;
  font-weight: 500;
  line-height: 1.35;
  color: #6e6a62;
  cursor: pointer;
  transition: all 0.14s ease;
}

.attn-opt-btn:hover {
  border-color: #9e9688;
  color: var(--ink);
}

.attn-opt-btn .attn-opt-check {
  font-size: 9.5px;
  opacity: 0.32;
  transition: opacity 0.14s ease;
}

.attn-opt-btn.is-on {
  background: #1c1b19;
  border-color: #1c1b19;
  color: #ffffff;
  font-weight: 600;
}

.attn-opt-btn.is-on .attn-opt-check {
  opacity: 1;
  color: #ffffff;
}

.attn-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.attn-row-group {
  cursor: pointer;
  transition: opacity 0.16s ease;
}

.attn-svg.has-hover .attn-row-group:not(.is-hovered) {
  opacity: 0.42;
}

.attn-band-outline {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.attn-row-group.is-hovered .attn-band-outline {
  opacity: 1;
}

.attn-row-group.is-hovered .attn-ex-rect {
  fill: #fdf3f3;
  stroke: #c78c8c;
}

.attn-row-group.is-hovered .attn-ex-cross {
  stroke: #9e3838;
}

.attn-col-lbl {
  transition: opacity 0.16s ease, fill 0.16s ease;
}

.attn-col-lbl.is-dim {
  opacity: 0.38;
}

.attn-col-lbl.is-lit {
  fill: #151513;
  font-weight: 600;
}

.attn-board__foot {
  padding: 10px 16px;
  background: #faf8f2;
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.52;
  color: #3a3731;
}

.attn-board__foot span {
  display: inline;
}

.attn-board__foot strong {
  color: var(--ink);
  font-weight: 600;
}

/* Figure 7 Composite (High-DPI Demo Strip + Harmonized Vector Bar Chart) */
.vf-composite {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 20px;
  align-items: center;
}

.vf-composite__demo {
  position: relative;
  cursor: zoom-in;
}

.vf-composite__chart {
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}

/* Figure 9 Specialist Fine-Tuning 3-Column Triptych & Real-World Video Showcases */
.zs-wall {
  margin: 22px 0 28px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  overflow: hidden;
}

.zs-wall__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 16px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--rule);
}

.zs-wall__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.zs-wall__title {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.zs-wall__meta {
  font-family: var(--font-mono);
  font-size: 10.6px;
  color: var(--ink-muted);
}

.zs-wall__ctrls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zs-wall__hint {
  font-family: var(--font-mono);
  font-size: 10.2px;
  color: var(--ink-faint);
}

.zs-wall__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: #171614;
}

.zs-cell {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  background: #1d1c1a;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.zs-cell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.zs-cell.is-ready video {
  opacity: 1;
}

.zs-cell:hover video,
.zs-cell:focus-visible video {
  transform: scale(1.035);
}

.zs-cell__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 15, 13, 0.0) 44%,
    rgba(16, 15, 13, 0.56) 76%,
    rgba(14, 13, 12, 0.86) 100%
  );
  pointer-events: none;
}

.zs-cell:hover::after,
.zs-cell:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.zs-cell__expand {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: rgba(20, 20, 18, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 10.5px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}

.zs-cell:hover .zs-cell__expand,
.zs-cell:focus-visible .zs-cell__expand {
  opacity: 1;
  transform: translateY(0);
}

.zs-cell__info {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  pointer-events: none;
}

.zs-cell__bot {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 1.5px 4.5px;
  border-radius: 2.5px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

.zs-cell__name {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* Memory-Based Adaptation 2-Video Side-by-Side Showcase */
.mem-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 28px;
}

.mem-card {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mem-card__media {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  background: #1b1a18;
  overflow: hidden;
  cursor: pointer;
}

.mem-card__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.mem-card__media.is-ready video {
  opacity: 1;
}

.mem-card__media:hover video,
.mem-card__media:focus-visible video {
  transform: scale(1.02);
}

.mem-card__meta {
  padding: 12px 15px 13px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mem-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.mem-card__title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.mem-card__tag {
  font-family: var(--font-mono);
  font-size: 10.2px;
  font-weight: 600;
  color: #7d3b4b;
  background: #faf0f2;
  border: 1px solid #e4c6cd;
  padding: 1.5px 6.5px;
  border-radius: 3px;
}

.mem-card__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.4px;
  line-height: 1.48;
  color: #545049;
}

.vid-expand-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(20, 20, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}

.mem-card__media:hover .vid-expand-pill,
.mem-card__media:focus-visible .vid-expand-pill,
.ft-card__media--video:hover .vid-expand-pill,
.ft-card__media--video:focus-visible .vid-expand-pill {
  opacity: 1;
  transform: translateY(0);
}

.ft-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ft-card {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ft-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1b1a18;
  cursor: zoom-in;
}

.ft-card__media--video {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
}

.ft-card__media img,
.ft-card__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ft-card__media:hover img,
.ft-card__media:hover video,
.ft-card__media:focus-visible video {
  transform: scale(1.025);
}

.ft-card__media--pending {
  cursor: default;
  background-color: #f7f5ef;
  background-image:
    linear-gradient(rgba(21, 21, 19, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 19, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.ft-card__media--pending img {
  display: none;
}

.ft-card__media--pending.is-ready {
  cursor: zoom-in;
  padding: 0;
}

.ft-card__media--pending.is-ready img {
  display: block;
}

.ft-card__media--pending.is-ready .ft-pending-slate {
  display: none;
}

.ft-pending-slate {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ft-pending-slate__tag {
  font-family: var(--font-mono);
  font-size: 9.8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #876842;
  background: #f5ebd9;
  border: 1px solid #dfd0b5;
  padding: 2px 8px;
  border-radius: 2px;
}

.ft-pending-slate__name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-body);
  margin-top: 2px;
}

.ft-pending-slate__sub {
  font-size: 12px;
  color: var(--ink-muted);
}

.ft-pending-slate__note {
  font-family: var(--font-mono);
  font-size: 9.8px;
  color: var(--ink-faint);
  margin-top: 2px;
}

.ft-results-card {
  margin-top: 12px;
  padding: 16px 18px 10px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.ft-card__meta {
  padding: 11px 13px 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ft-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ft-card__title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.ft-card__sub {
  font-size: 11.8px;
  color: var(--ink-muted);
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 24px 0;
}

.split-2 > .m-table-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   8. Contributors, BibTeX, Colophon, Lightbox & Draft Switch
   ========================================================================== */

.contributors-box {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  overflow: hidden;
  scroll-margin-top: 32px;
}

.contributors-box__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 9px 16px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--rule);
}

.contributors-box__title {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.contributors-box__legend {
  font-family: var(--font-sans);
  font-size: 11.4px;
  color: var(--ink-muted);
}

.contributors-box__legend sup {
  color: var(--accent);
  font-weight: 700;
  margin-right: 1px;
}

.contributors-box__list {
  margin: 0;
  padding: 14px 18px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-body);
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
}

.contributors-box__list span {
  white-space: nowrap;
}

.contributors-box__list sup {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  margin-left: 1px;
}

.bib-frame {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  margin-top: 20px;
}

.bib-frame__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-tint);
}

.bib-frame__label {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.bib-frame pre {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink);
}

.bib-btn {
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.8px;
  padding: 4px 11px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.bib-btn:hover {
  background: var(--ink);
  color: #ffffff;
}

.m-footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-strong);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(18, 18, 16, 0.90);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.zoom-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zoom-overlay__close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.zoom-overlay__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.zoom-overlay img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  background: #ffffff;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  transform: scale(0.96);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.zoom-overlay.is-open img {
  transform: scale(1);
}

.zoom-overlay.is-video-mode #zoom-target,
.zoom-overlay.is-video-mode #zoom-caption {
  display: none;
}

.zoom-video-card {
  width: min(980px, 92vw);
  background: #181715;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.52);
  cursor: default;
}

.zoom-video-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 11px 16px;
  background: #201f1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-video-card__titles {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.zoom-video-card__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: #faf8f4;
}

.zoom-video-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250, 248, 244, 0.66);
}

.zoom-video-card__speeds {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zv-speed {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(250, 248, 244, 0.78);
  font-family: var(--font-mono);
  font-size: 10.6px;
  padding: 2.5px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.zv-speed:hover {
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.zv-speed.is-active {
  background: #faf8f4;
  border-color: #faf8f4;
  color: #151513;
  font-weight: 600;
}

.zoom-video-card video {
  width: 100%;
  max-height: 74vh;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0f0f0d;
  object-fit: contain;
}

.zoom-video-card__foot {
  padding: 9px 16px 11px;
  background: #201f1c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11.8px;
  color: rgba(250, 248, 244, 0.85);
}

.zoom-overlay__cap {
  max-width: 780px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.rail-draft-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
}

.rail-draft-box button {
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
}

.rail-draft-box button:hover {
  background: var(--ink);
  color: #ffffff;
}

body.release-preview .draft-only {
  display: none !important;
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */

@media (max-width: 1020px) {
  .monograph-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 22px 84px;
    border-left: none;
    border-right: none;
  }
  .monograph-shell::after,
  .hero-masthead::before,
  .m-section::after,
  .index-rail {
    display: none;
  }
  .m-section::before {
    left: 0;
  }
}

@media (hover: none) {
  .teaser-scene__ctrls {
    opacity: 0.76;
  }
}

@media (max-width: 720px) {
  .teaser-scene {
    height: auto;
  }
  .teaser-scene__sticky {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .teaser-scene__veil,
  .teaser-scene__cue {
    display: none;
  }
  .monograph-stage {
    margin-top: 0;
    background: var(--desk);
  }
  .doc-title__br {
    display: none;
  }
  .doc-byline-team {
    font-size: 13.8px;
  }
  .doc-deck {
    font-size: 15.8px;
    line-height: 1.56;
  }
  .quad-grid,
  .ledger-metrics,
  .split-2,
  .seg-fields,
  .vf-composite,
  .mem-showcase,
  .ft-triptych,
  .platform-pair,
  .platform-card {
    grid-template-columns: 1fr;
  }
  .zs-wall__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zs-wall__hint {
    display: none;
  }
  .platform-card__info {
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  .lmetric-cell {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .lmetric-cell:last-child {
    border-bottom: none;
  }
  .vf-composite__chart {
    border-left: none;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 14px;
  }
  .overview-cinema__backdrop {
    grid-template-columns: 1fr 1fr;
  }
  .overview-cinema__placeholder {
    padding: 16px;
  }
  .overview-cinema__card {
    padding: 10px 18px 10px 12px;
  }
  .paradigm-head,
  .paradigm-row {
    grid-template-columns: 1fr;
  }
  .paradigm-head__axis,
  .paradigm-head__prior,
  .paradigm-row__dim,
  .paradigm-row__prior {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .dyn-readout__top {
    flex-direction: column;
    gap: 8px;
  }
  .lat-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .lat-row__lbl {
    text-align: left;
  }
  .ge-kbd-hint {
    display: none;
  }
  .ge-stage {
    grid-template-columns: 1fr;
  }
  .ge-visual__frame {
    min-height: 260px;
  }
  .ge-inspect {
    min-height: 0;
  }
  .ge-seg-pills {
    margin-left: 0;
  }
  .attn-panels {
    grid-template-columns: 1fr;
  }
  .attn-panel {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
  }
  .attn-panel:last-child {
    border-bottom: none;
  }
  .hbar-line {
    grid-template-columns: 116px 1fr 42px;
  }
}
