/* =====================================================================
   MOON MIDDLE OVERHAUL (Cloud Descent + Chapters 01..05 + Ocean & Vortex)
   Extracted & production-scoped for Website/ from moon-middle-overhaul-lab
   ===================================================================== */
.moon-overhaul-root,
.bp-portal-overlay,
.ocean-vortex-overlay,
.specimen-hover-card {
  --bg: #07080b;
  --bg-panel: #0c0e13;
  --bg-elev: #10131a;
  --line: rgba(230, 232, 239, 0.12);
  --line-strong: rgba(230, 232, 239, 0.25);
  --line-soft: rgba(230, 232, 239, 0.055);
  --fg: #f0f1f5;
  --muted: #98a0b3;
  --dim: #676d80;
  --red: #ff4d5a;
  --cyber: #ff4d5a;
  --gov: #fbbf24;
  --ai: #c026d3;
  --green: #a8d8b9;
  --amber: #e2b86b;
  --hero-font: 'OTF Glusp', 'Disket Mono', monospace;
  --display: 'Disket Mono', 'JetBrains Mono', monospace;
  --editorial: 'Disket Mono', 'JetBrains Mono', monospace;
  --sans: 'Archia', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --mo-sticky-top: 0px;
}

.moon-overhaul-root {
  font-family: var(--mono);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.moon-overhaul-root button {
  font-family: inherit;
}

button.cred-pill {
  appearance: none;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

html.js-dither.is-ready .moon-overhaul-root [data-dither] {
  opacity: 0;
  transition: opacity 0.25s ease;
}
html.js-dither.is-ready .moon-overhaul-root [data-dither].is-in,
html.is-reduced-motion .moon-overhaul-root [data-dither] {
  opacity: 1 !important;
}

html,
body {
  overflow-x: clip;
}

.hero-vortex-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  image-rendering: pixelated;
  mix-blend-mode: screen;
}
html[data-hero-mode^="vortex"] .hero-reticle {
  opacity: 0.22;
  transition: opacity 0.25s ease;
}

#moonCursorCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000001;
  pointer-events: none;
}
html.is-reduced-motion #moonCursorCanvas,
html.entry-active #moonCursorCanvas,
html.arc-offline-open #moonCursorCanvas {
  display: none !important;
}

#main-content.content-stream {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
#main-content.content-stream #footerHorizon.horizon-footer {
  margin-top: 0;
}
header.hero#top {
  position: relative;
  z-index: 2;
}

.cloud-descent-band,
.ocean-descent-section,
.middle-shell > .press-wrap,
.middle-shell .od-layer,
.middle-shell .od-shared-canvas,
.middle-shell #pressWrapMain,
.middle-shell .lower-lock-wrap,
.middle-shell .lower-bridge-track,
.bp-portal-overlay,
.horizon-footer {
  transition: opacity 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

html.has-gsap-caliper.is-caliper-dimming .cloud-descent-band,
html.has-gsap-caliper.is-caliper-dimming .ocean-descent-section,
html.has-gsap-caliper.is-caliper-dimming .middle-shell > .press-wrap,
html.has-gsap-caliper.is-caliper-dimming .middle-shell .od-layer,
html.has-gsap-caliper.is-caliper-dimming .middle-shell .od-shared-canvas,
html.has-gsap-caliper.is-caliper-dimming .middle-shell #pressWrapMain,
html.has-gsap-caliper.is-caliper-dimming .middle-shell .lower-lock-wrap,
html.has-gsap-caliper.is-caliper-dimming .middle-shell .lower-bridge-track,
html.has-gsap-caliper.is-caliper-dimming .bp-portal-overlay,
html.has-gsap-caliper.is-caliper-dimming .horizon-footer {
  opacity: var(--caliper-dim-middle, 1);
  transition: none;
}

html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .cloud-descent-band,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .cloud-descent-band,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .cloud-descent-band,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .ocean-descent-section,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .ocean-descent-section,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .ocean-descent-section,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .middle-shell > .press-wrap,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .middle-shell > .press-wrap,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .middle-shell > .press-wrap,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .middle-shell .od-layer,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .middle-shell .od-layer,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .middle-shell .od-layer,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .middle-shell .od-shared-canvas,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .middle-shell .od-shared-canvas,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .middle-shell .od-shared-canvas,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .middle-shell #pressWrapMain,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .middle-shell #pressWrapMain,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .middle-shell #pressWrapMain,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .middle-shell .lower-lock-wrap,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .middle-shell .lower-lock-wrap,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .middle-shell .lower-lock-wrap,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .middle-shell .lower-bridge-track,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .middle-shell .lower-bridge-track,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .middle-shell .lower-bridge-track,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .bp-portal-overlay,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .bp-portal-overlay,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .bp-portal-overlay,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry.is-open) .horizon-footer,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry:hover) .horizon-footer,
html:not(.has-gsap-caliper) body:has(.ambient-telemetry .caliper-node:focus-visible) .horizon-footer {
  opacity: 0.26;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}


  /* =====================================================================
     ALTITUDE LAYER 1: #cloudDescentSection (SCROLL-CURTAIN SKY & CLOUD SEA)
     ===================================================================== */
  .cloud-descent-band {
    position: relative;
    height: 165vh;
    height: 165svh;
    background: #07080b;
  }
  .cloud-overlay-fixed {
    position: fixed;
    inset: 0;
    z-index: 30;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
  }
  .cloud-canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
  }
  html.is-reduced-motion .cloud-descent-band {
    height: clamp(320px, 44vh, 420px);
    overflow: hidden;
  }
  html.is-reduced-motion .cloud-overlay-fixed {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    visibility: visible !important;
    z-index: 1;
  }
  .cloud-top-fade {
    position: absolute;
    inset: 0 0 auto 0;
    height: 76px;
    background: linear-gradient(180deg, rgba(5, 6, 8, 0.72) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
  }
  .cloud-bottom-fade {
    position: absolute;
    inset: auto 0 0 0;
    height: 92px;
    background: linear-gradient(0deg, rgba(8, 9, 12, 0.78) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
  }
  html.is-reduced-motion .cloud-top-fade,
  html.is-reduced-motion .cloud-bottom-fade {
    opacity: 1;
  }

  /* =====================================================================
     ALTITUDE LAYER 2: SWISS-EDITORIAL MID-SECTION (THE GROUND)
     ===================================================================== */
  .middle-shell {
    position: relative;
    background: var(--bg);
    color: var(--fg);
    padding: 0 0 clamp(12px, 2vh, 24px);
  }
  .ground-atmosphere-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    margin-bottom: -100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .ground-spine-canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
  .press-wrap {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 72px);
  }
  .press-plate {
    padding: clamp(56px, 7.5vh, 88px) 0;
    border-top: 0;
  }
  .press-plate--first {
    padding-top: 0;
    border-top: 0;
  }

  /* Scroll-drawn Expedition Meridian Bridges (Linear Story Thread) */
  .meridian-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0 4px;
    position: relative;
  }
  .meridian-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, rgba(230, 232, 239, 0.08) 0%, rgba(255, 77, 90, 0.65) 55%, rgba(230, 232, 239, 0.14) 100%);
    transform-origin: top center;
    transform: scaleY(var(--meridian-p, 1));
    transition: transform 0.25s ease-out;
  }
  .meridian-node {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .meridian-star {
    color: var(--red);
    font-size: 11px;
    line-height: 1;
  }
  .meridian-node b {
    color: var(--fg);
    font-weight: 500;
  }
  html.is-reduced-motion .meridian-line {
    transform: scaleY(1) !important;
  }

  /* Inline editorial folio marker allowing varied asymmetric chapters */
  .folio-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .folio-tag b {
    color: var(--red);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
  .folio-tag span {
    color: var(--dim);
  }
  .chapter-heading {
    margin: 0 0 clamp(28px, 4vh, 44px);
    font-family: var(--editorial);
    font-weight: 700;
    font-size: clamp(1.65rem, 2.85vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--fg);
    text-wrap: balance;
  }

  .cta-shell {
    display: inline-block;
    padding: 1.5px;
    background: var(--pillar-accent, var(--red));
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: transform 0.2s ease, filter 0.2s ease;
  }
  .cta-shell:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 12px var(--pillar-accent, var(--red)));
  }
  .ghost-btn {
    position: relative;
    isolation: isolate;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--fg);
    padding: 8px 16px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease, transform 0.12s ease;
  }
  .ghost-btn::before,
  .ghost-btn::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .ghost-btn::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 77, 90, 0.65);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  }
  .ghost-btn::after {
    inset: 1px;
    z-index: -1;
    background: #090b10;
    clip-path: polygon(7.5px 0, 100% 0, 100% calc(100% - 7.5px), calc(100% - 7.5px) 100%, 0 100%, 0 7.5px);
  }
  .ghost-btn:hover {
    color: #fff;
  }
  .ghost-btn:hover::before {
    background: var(--red);
  }
  .ghost-btn:hover::after {
    background: #190b10;
  }
  .ghost-btn:active {
    transform: scale(0.96);
  }

  .editorial-link {
    position: relative;
    isolation: isolate;
    appearance: none;
    background: transparent;
    border: 0;
    width: 100%;
    padding: 11px 14px;
    color: var(--fg);
    font-family: var(--display);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    transition: color 0.15s ease, transform 0.15s ease;
  }
  .editorial-link::before,
  .editorial-link::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .editorial-link::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.16);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .editorial-link::after {
    inset: 1px;
    z-index: -1;
    background: #07080c;
    clip-path: polygon(0 0, calc(100% - 9.5px) 0, 100% 9.5px, 100% 100%, 9.5px 100%, 0 calc(100% - 9.5px));
  }
  .editorial-link:hover {
    color: #fff;
  }
  .editorial-link:hover::before {
    background: var(--red);
  }
  .editorial-link:hover::after {
    background: #190b10;
  }
  .editorial-link b {
    color: var(--red);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    border-right: 1px dashed rgba(255, 255, 255, 0.14);
    padding-right: 8px;
  }
  .editorial-link:hover b {
    border-right-color: rgba(255, 77, 90, 0.42);
  }

  /* Chapter 01: Left-Anchored Origin Broadsheet + Right Staggered Darkroom Collage */
  .origin-split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: start;
  }
  .press-display {
    margin: 0;
    font-family: var(--editorial);
    font-weight: 700;
    font-size: clamp(1.85rem, 3.1vw, 2.85rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--fg);
    text-wrap: balance;
  }
  .origin-copy-body {
    margin-top: clamp(24px, 3.5vh, 36px);
  }
  .press-lead {
    margin: 0 0 18px;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.72;
    max-width: 50ch;
    color: rgba(240, 241, 245, 0.86);
    text-wrap: pretty;
  }
  .press-lead:last-of-type { margin-bottom: 0; }
  .press-door-row {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 470px;
  }

  .origin-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }
  .origin-flight-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: radial-gradient(circle at 50% 48%, rgba(28, 33, 46, 0.34) 0%, rgba(8, 9, 12, 0) 72%);
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
  }
  .origin-flight-stage:active {
    cursor: grabbing;
  }
  .origin-draft-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.42;
  }
  .origin-flight-canvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    -webkit-mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 72%, transparent 99%);
    mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 72%, transparent 99%);
  }
  .origin-flight-meta {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-top: 0;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .origin-flight-meta::before,
  .origin-flight-meta::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .origin-flight-meta::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.16);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  }
  .origin-flight-meta::after {
    inset: 1px;
    z-index: -1;
    background: #07080c;
    clip-path: polygon(0 0, calc(100% - 9.5px) 0, 100% 9.5px, 100% 100%, 0 100%);
  }
  .origin-flight-coord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--fg);
    overflow-wrap: anywhere;
  }
  .origin-flight-coord::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--red);
    box-shadow: 0 0 6px var(--red);
    flex-shrink: 0;
  }
  .origin-flight-count {
    padding-left: 12px;
    border-left: 1px dashed rgba(255, 255, 255, 0.12);
    color: var(--red);
    white-space: nowrap;
  }
  .origin-station-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .origin-station-btn {
    position: relative;
    isolation: isolate;
    appearance: none;
    background: transparent;
    border: 0;
    height: 34px;
    padding: 0 11px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    cursor: pointer;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    text-align: left;
    transition: color 0.15s ease;
  }
  .origin-station-btn::before,
  .origin-station-btn::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .origin-station-btn::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.15);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  }
  .origin-station-btn::after {
    inset: 1px;
    z-index: -1;
    background: #07080c;
    clip-path: polygon(0 0, calc(100% - 7.5px) 0, 100% 7.5px, 100% 100%, 7.5px 100%, 0 calc(100% - 7.5px));
  }
  .origin-station-btn b {
    color: var(--dim);
    font-weight: 500;
    border-right: 1px dashed rgba(255, 255, 255, 0.11);
    padding-right: 6px;
    font-variant-numeric: tabular-nums;
    transition: color 0.15s ease, border-right-color 0.15s ease;
  }
  .origin-station-btn:hover,
  .origin-station-btn.is-active {
    color: #fff;
  }
  .origin-station-btn:hover::before,
  .origin-station-btn.is-active::before {
    background: var(--red);
  }
  .origin-station-btn:hover::after,
  .origin-station-btn.is-active::after {
    background: #190b10;
  }
  .origin-station-btn.is-active b,
  .origin-station-btn:hover b {
    color: var(--red);
    border-right-color: rgba(255, 77, 90, 0.35);
  }
  .triptych-card {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
  }
  .triptych-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 0;
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
    background: #06070a;
    overflow: hidden;
  }
  .triptych-frame--tall {
    aspect-ratio: 4 / 3;
  }
  .triptych-frame--frameless {
    outline: 0;
    background: #07080b;
  }
  .triptych-frame--frameless::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 46px 22px #07080b;
    z-index: 2;
  }
  .triptych-frame--threshold::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 44px 18px #07080b;
    background: linear-gradient(180deg, rgba(7, 8, 11, 0.48) 0%, transparent 20%, transparent 64%, #07080b 100%);
    z-index: 2;
  }
  .triptych-frame--doctrine {
    aspect-ratio: 4 / 3;
    max-width: 440px;
    outline: 0;
    background: #07080b;
  }
  .triptych-frame--doctrine::before,
  .triptych-frame--threshold::before {
    content: "+";
    position: absolute;
    left: 6px;
    top: 4px;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(240, 241, 245, 0.28);
    pointer-events: none;
    z-index: 3;
  }
  .triptych-frame--doctrine::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 38px 16px #07080b;
    z-index: 2;
  }
  .triptych-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.16) brightness(0.92);
  }
  .triptych-frame--doctrine img,
  .triptych-frame--graded img {
    filter: none;
  }
  .triptych-dither {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
  }
  .triptych-cap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .triptych-cap b {
    color: var(--red);
    font-weight: 500;
  }

  /* Chapter 02: Full-Bleed Eye-Level Manila Bay Vista + Right-Column C4 Discipline Slabs */
  #doctrineAnchor {
    position: relative;
  }
  .doctrine-vista-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  .doctrine-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.90fr) minmax(0, 1.10fr);
    gap: clamp(24px, 3.2vw, 48px);
    align-items: center;
  }
  .doctrine-aside {
    position: relative;
    align-self: start;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: clamp(8px, 1.8vh, 24px);
  }
  .doctrine-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .doctrine-item {
    --pillar-accent: var(--red);
    position: relative;
    z-index: 1;
    min-width: 0;
    transition: transform 0.28s ease, filter 0.28s ease;
  }
  .doctrine-item[data-pillar="cyber"] {
    --pillar-accent: var(--cyber);
    --slab-clip-outer: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    --slab-clip-inner: polygon(0 0, calc(100% - 21.5px) 0, 100% 21.5px, 100% 100%, 15.5px 100%, 0 calc(100% - 15.5px));
  }
  .doctrine-item[data-pillar="gov"] {
    --pillar-accent: var(--gov);
    --slab-clip-outer: polygon(20px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 20px);
    --slab-clip-inner: polygon(19.5px 0, 100% 0, 100% calc(100% - 21.5px), calc(100% - 21.5px) 100%, 0 100%, 0 19.5px);
  }
  .doctrine-item[data-pillar="ai"] {
    --pillar-accent: var(--ai);
    --slab-clip-outer: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 16px);
    --slab-clip-inner: polygon(15.5px 0, calc(100% - 15.5px) 0, 100% 15.5px, 100% calc(100% - 21.5px), calc(100% - 21.5px) 100%, 0 100%, 0 15.5px);
  }
  .doctrine-item:hover,
  .doctrine-item:focus-within,
  .doctrine-item.is-ring-linked {
    z-index: 40;
    transform: translateY(-2px);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.78));
  }
  .doctrine-slab-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    padding: 1px;
    background: rgba(255, 255, 255, 0.17);
    clip-path: var(--slab-clip-outer);
    transition: background 0.28s ease;
  }
  .doctrine-item:hover .doctrine-slab-bg,
  .doctrine-item:focus-within .doctrine-slab-bg,
  .doctrine-item.is-ring-linked .doctrine-slab-bg {
    background: var(--pillar-accent);
  }
  .doctrine-slab-surface {
    position: relative;
    width: 100%;
    height: 100%;
    clip-path: var(--slab-clip-inner);
    background:
      radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--pillar-accent) 13%, transparent) 0%, transparent 52%),
      repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 11px),
      rgba(7, 9, 13, 0.94);
  }
  .doctrine-item {
    filter: drop-shadow(0 16px 32px rgba(4, 5, 9, 0.85));
  }
  .doctrine-slab-surface::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: var(--pillar-accent);
    opacity: 0.48;
    transition: opacity 0.25s ease;
  }
  .doctrine-item:hover .doctrine-slab-surface::before,
  .doctrine-item:focus-within .doctrine-slab-surface::before,
  .doctrine-item.is-ring-linked .doctrine-slab-surface::before {
    opacity: 1;
  }
  .doctrine-slab-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: stretch;
  }
  .doc-numcol {
    position: relative;
    padding: 22px 16px 20px 20px;
    border-right: 1px dashed rgba(255, 255, 255, 0.09);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
  }
  .doc-numhead {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
  }
  .doc-numhead svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--pillar-accent);
  }
  .baybayin-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    outline: none;
    padding: 2px 4px;
  }
  .sigil-baybayin {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    letter-spacing: 0.08em;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.24);
    padding-bottom: 2px;
    transition: color 0.22s ease, text-shadow 0.22s ease, border-color 0.22s ease;
  }
  .baybayin-trigger:hover .sigil-baybayin,
  .baybayin-trigger:focus-visible .sigil-baybayin {
    color: var(--pillar-accent);
    border-bottom-color: var(--pillar-accent);
    text-shadow: 0 0 10px var(--pillar-accent);
  }
  .baybayin-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 284px;
    padding: 13px 15px;
    background: rgba(7, 8, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 2px solid var(--pillar-accent);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.92);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
    pointer-events: none;
    z-index: 120;
    text-align: left;
    font-weight: 400;
    letter-spacing: normal;
  }
  .baybayin-trigger:hover .baybayin-tooltip,
  .baybayin-trigger:focus-visible .baybayin-tooltip,
  .baybayin-trigger:focus-within .baybayin-tooltip {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .bt-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  }
  .bt-word {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--pillar-accent);
  }
  .bt-ipa {
    font-family: var(--mono);
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.45);
  }
  .bt-tag {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.58);
  }
  .bt-meaning {
    margin: 0 0 6px;
    font-family: var(--sans);
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
  }
  .bt-meaning strong {
    color: #fff;
    font-weight: 600;
  }
  .bt-doctrine {
    margin: 0 0 8px;
    font-family: var(--sans);
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.54);
  }
  .bt-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
  }
  .bt-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pillar-accent);
    box-shadow: 0 0 6px var(--pillar-accent);
  }
  .doc-numeral {
    position: relative;
    display: inline-block;
    align-self: flex-start;
    font-family: var(--display);
    font-size: clamp(3.3rem, 4.4vw, 4.3rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--pillar-accent);
    background-image: linear-gradient(0deg, var(--pillar-accent) 0%, var(--pillar-accent) 100%);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    user-select: none;
    transition:
      background-size 0.72s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.4s ease;
  }
  .doc-numeral::before,
  .doc-numeral::after {
    content: attr(data-num);
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transform: translate(0, 0);
    -webkit-text-stroke: 1px var(--pillar-accent);
    transition:
      transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.42s ease;
  }
  .doctrine-item:hover .doc-numeral,
  .doctrine-item:focus-within .doc-numeral {
    background-size: 100% 100%;
    transform: translate(-2px, -2px);
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--pillar-accent) 46%, transparent));
  }
  .doctrine-item:hover .doc-numeral::after,
  .doctrine-item:focus-within .doc-numeral::after {
    opacity: 0.46;
    transform: translate(5px, 4px);
  }
  .doctrine-item:hover .doc-numeral::before,
  .doctrine-item:focus-within .doc-numeral::before {
    opacity: 0.22;
    transform: translate(10px, 8px);
  }
  .doc-hazard-foot {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .doctrine-hazard {
    width: 92px;
    height: 8px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    background: repeating-linear-gradient(
      45deg,
      #050608 0,
      #050608 5px,
      var(--pillar-accent) 5px,
      var(--pillar-accent) 10px
    );
    opacity: 0.88;
  }
  .doc-hazard-cap {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-family: var(--mono);
    font-size: 7.5px;
    line-height: 1.3;
    letter-spacing: 0.11em;
    color: rgba(255, 255, 255, 0.36);
    text-transform: uppercase;
  }
  .doc-content {
    padding: 22px 22px 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
  }
  .doc-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .doc-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.15rem, 1.55vw, 1.38rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fg);
  }
  .doc-sector-code {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.36);
    text-transform: uppercase;
  }
  .doc-stance {
    margin: 10px 0 18px;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.68;
    max-width: 54ch;
    color: var(--muted);
    text-wrap: pretty;
  }
  .doc-action-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .doc-strip-shell {
    display: inline-block;
    padding: 1px;
    background: var(--pillar-accent);
    clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
    transition: transform 0.22s ease, filter 0.25s ease;
  }
  .doctrine-item:hover .doc-strip-shell,
  .doctrine-item:focus-within .doc-strip-shell {
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--pillar-accent) 65%, transparent));
  }
  .doc-strip-shell:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 14px var(--pillar-accent)) !important;
  }
  .doc-strip {
    display: inline-flex;
    align-items: center;
    height: 36px;
    background: #080a0f;
    clip-path: polygon(0 0, calc(100% - 10.5px) 0, 100% 10.5px, 100% 100%, 0 100%);
    transition: background 0.22s ease;
  }
  .doc-strip:hover {
    background: #0d1017;
  }
  .doc-strip-emblem {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.72);
  }
  .doc-strip-emblem svg {
    width: 12px;
    height: 12px;
    color: var(--pillar-accent);
  }
  .doc-strip-seam {
    width: 7px;
    height: 100%;
    background: var(--pillar-accent);
    transform: skewX(-20deg);
    margin: 0 2px;
  }
  .doc-strip-dots {
    display: inline-flex;
    gap: 3px;
    padding: 0 7px;
  }
  .doc-strip-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    transition: background 0.22s ease, box-shadow 0.22s ease;
  }
  .doctrine-item:hover .doc-strip-dots span,
  .doc-strip:hover .doc-strip-dots span {
    background: var(--pillar-accent);
    box-shadow: 0 0 7px var(--pillar-accent);
  }
  .doc-strip-cta {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    height: 100%;
    padding: 0 11px 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.22s ease, color 0.22s ease;
  }
  .doc-strip-cta:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  .doc-strip-cta svg {
    width: 11px;
    height: 11px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
  }
  .doc-strip-cta:hover svg {
    transform: translateX(3px);
    color: var(--pillar-accent);
  }
  .doc-spec {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-self: end;
    row-gap: 3px;
    column-gap: 8px;
    margin: 0;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.04em;
    min-width: 0;
  }
  .doc-spec dt {
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
  }
  .doc-spec dd {
    margin: 0;
    color: rgba(240, 241, 245, 0.9);
    white-space: nowrap;
  }

  /* Chapter 03: Full-Width Proof Ledger + Zero-Overlap Metrics */
  .proof-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
  }
  .proof-header-row .chapter-heading {
    margin-bottom: 0;
  }
  .proof-scope-note {
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--dim);
    text-transform: uppercase;
  }
  .press-metric-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    padding: 30px 0 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .press-metric-strip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, rgba(230, 232, 239, 0.28) 0 1px, transparent 1px 28px);
    pointer-events: none;
  }
  .press-metric-cell {
    position: relative;
    min-width: 0;
  }
  .press-metric-cell b {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
    letter-spacing: -0.02em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: 6px;
  }
  .press-metric-cell strong {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--fg);
    text-transform: uppercase;
    line-height: 1.35;
    margin-bottom: 3px;
  }
  .press-metric-cell span {
    display: block;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    line-height: 1.4;
  }
  .moon-overhaul-root .ctrl-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  .moon-overhaul-root .ctrl-label {
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-right: 2px;
  }
  .moon-overhaul-root .ctrl-btn {
    position: relative;
    isolation: isolate;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.12s ease;
  }
  .moon-overhaul-root .ctrl-btn::before,
  .moon-overhaul-root .ctrl-btn::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .moon-overhaul-root .ctrl-btn::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.16);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  }
  .moon-overhaul-root .ctrl-btn::after {
    inset: 1px;
    z-index: -1;
    background: #090b10;
    clip-path: polygon(0 0, calc(100% - 7.5px) 0, 100% 7.5px, 100% 100%, 7.5px 100%, 0 calc(100% - 7.5px));
  }
  .moon-overhaul-root .ctrl-btn:hover {
    color: var(--fg);
  }
  .moon-overhaul-root .ctrl-btn:hover::before {
    background: rgba(240, 241, 245, 0.48);
  }
  .moon-overhaul-root .ctrl-btn:hover::after {
    background: #10131c;
  }
  .moon-overhaul-root .ctrl-btn:active {
    transform: scale(0.96);
  }
  .moon-overhaul-root .ctrl-btn.active {
    color: #fff;
  }
  .moon-overhaul-root .ctrl-btn.active::before {
    background: var(--red);
  }
  .moon-overhaul-root .ctrl-btn.active::after {
    background: #190b10;
  }
  .moon-overhaul-root .ctrl-btn.toggle-on {
    color: var(--green);
  }
  .moon-overhaul-root .ctrl-btn.toggle-on::before {
    background: var(--green);
  }
  .moon-overhaul-root .ctrl-btn.toggle-on::after {
    background: #0c1712;
  }
  .moon-overhaul-root .ctrl-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .press-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 48px 0 18px;
  }
  .ledger-scan-rule {
    height: 1px;
    width: 100%;
    margin-bottom: 4px;
    background: linear-gradient(90deg, rgba(255, 77, 90, 0.72) 0%, rgba(230, 232, 239, 0.34) 38%, rgba(230, 232, 239, 0.06) 100%);
    transform-origin: left center;
    transform: scaleX(0.18);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ledger-scan-rule.is-in,
  html.is-reduced-motion .ledger-scan-rule {
    transform: scaleX(1);
  }
  .press-table {
    border-bottom: 1px solid var(--line);
  }
  .press-row {
    width: 100%;
    text-align: left;
    appearance: none;
    background: transparent;
    border: 0;
    border-left: 2px solid transparent;
    border-top: 1px solid var(--line);
    padding: 18px 14px;
    color: var(--fg);
    display: grid;
    grid-template-columns: 84px minmax(0, 1.15fr) minmax(0, 1.25fr) 156px;
    gap: 20px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-left-color 0.15s ease;
  }
  .press-row:hover { background: rgba(255, 255, 255, 0.025); }
  .press-row.active {
    background: rgba(255, 77, 90, 0.06);
    border-left-color: var(--red);
  }
  .lr-code {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--dim);
    font-variant-numeric: tabular-nums;
  }
  .press-row.active .lr-code { color: var(--red); }
  .lr-title {
    font-family: var(--editorial);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.03em;
    color: var(--fg);
    overflow-wrap: anywhere;
  }
  .lr-org {
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
    overflow-wrap: anywhere;
  }
  .lr-metric {
    position: relative;
    isolation: isolate;
    justify-self: end;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--fg);
    padding: 6px 13px;
    white-space: nowrap;
  }
  .lr-metric::before,
  .lr-metric::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .lr-metric::before {
    inset: 0;
    z-index: -2;
    background: var(--line-strong);
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  }
  .lr-metric::after {
    inset: 1px;
    z-index: -1;
    background: #090b10;
    clip-path: polygon(6.5px 0, 100% 0, 100% calc(100% - 6.5px), calc(100% - 6.5px) 100%, 0 100%, 0 6.5px);
  }
  .press-row:hover .lr-metric::before,
  .press-row.active .lr-metric::before {
    background: var(--red);
  }
  .press-row:hover .lr-metric::after,
  .press-row.active .lr-metric::after {
    background: #190b10;
  }

  .specimen-hover-card {
    position: fixed;
    top: 0;
    left: 0;
    width: 432px;
    z-index: 160;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    padding: 1px;
    background: linear-gradient(135deg, var(--red) 0%, rgba(255, 255, 255, 0.32) 48%, rgba(255, 77, 90, 0.68) 100%);
    clip-path: polygon(
      0 15px,
      15px 0,
      56% 0,
      calc(56% + 12px) 10px,
      100% 10px,
      100% calc(100% - 22px),
      calc(100% - 22px) 100%,
      30% 100%,
      calc(30% - 10px) calc(100% - 8px),
      0 calc(100% - 8px)
    );
    filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.85));
    will-change: transform, opacity;
  }
  .specimen-hover-inner {
    position: relative;
    min-height: 328px;
    background: #050609;
    clip-path: polygon(
      0 14.5px,
      14.5px 0,
      calc(56% - 0.5px) 0,
      calc(56% + 11.5px) 10px,
      100% 10px,
      100% calc(100% - 21.5px),
      calc(100% - 21.5px) 100%,
      calc(30% - 0.5px) 100%,
      calc(30% - 10.5px) calc(100% - 8px),
      0 calc(100% - 8px)
    );
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .specimen-hover-inner::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    border-right: 1px solid rgba(255, 255, 255, 0.34);
    pointer-events: none;
    z-index: 2;
  }
  .specimen-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .specimen-hover-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(5, 6, 9, 0.08) 0%,
      rgba(5, 6, 9, 0.34) 36%,
      rgba(5, 6, 9, 0.90) 64%,
      #050609 100%
    );
  }
  .specimen-motion-pill {
    position: absolute;
    isolation: isolate;
    top: 14px;
    left: 20px;
    z-index: 2;
    padding: 5px 14px 5px 11px;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
  }
  .specimen-motion-pill::before,
  .specimen-motion-pill::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .specimen-motion-pill::before {
    inset: 0;
    z-index: -2;
    background: var(--red);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  }
  .specimen-motion-pill::after {
    inset: 1px;
    z-index: -1;
    background: #1e0a10;
    clip-path: polygon(0 0, calc(100% - 7.5px) 0, 100% 7.5px, 100% 100%, 7.5px 100%, 0 calc(100% - 7.5px));
  }
  .specimen-hover-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 146px 20px 18px;
  }
  .drawer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
  }
  .drawer-tag {
    position: relative;
    isolation: isolate;
    font-size: 9px;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    color: rgba(240, 241, 245, 0.88);
    text-transform: uppercase;
  }
  .drawer-tag::before,
  .drawer-tag::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .drawer-tag::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.22);
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%);
  }
  .drawer-tag::after {
    inset: 1px;
    z-index: -1;
    background: #0a0c12;
    clip-path: polygon(0 0, calc(100% - 4.5px) 0, 100% 4.5px, 100% 100%, 0 100%);
  }
  @media (hover: none), (pointer: coarse) {
    .specimen-hover-card { display: none !important; }
  }
  html.is-reduced-motion .specimen-hover-card {
    display: none !important;
  }

  /* Chapter 04: Asymmetric Split (Left Die-Cut Credentials Plates + Right Sticky Hex Keycap Stack) */
  .audits-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }
  .cred-strip {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .cred-pill {
    position: relative;
    padding: 1px;
    background: rgba(255, 255, 255, 0.14);
    clip-path: var(--cred-clip-outer);
    transition: background-color 0.2s ease, transform 0.2s ease;
    min-width: 0;
  }
  .cred-pill:nth-child(odd) {
    --cred-clip-outer: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    --cred-clip-inner: polygon(9.5px 0, 100% 0, 100% calc(100% - 9.5px), calc(100% - 9.5px) 100%, 0 100%, 0 9.5px);
  }
  .cred-pill:nth-child(even) {
    --cred-clip-outer: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    --cred-clip-inner: polygon(0 0, calc(100% - 9.5px) 0, 100% 9.5px, 100% 100%, 9.5px 100%, 0 calc(100% - 9.5px));
  }
  .cred-pill:hover {
    background: rgba(255, 77, 90, 0.72);
  }
  .cred-pill-inner {
    width: 100%;
    height: 100%;
    clip-path: var(--cred-clip-inner);
    background:
      repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 11px),
      #07080c;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: stretch;
  }
  .cred-idx {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    color: var(--dim);
    border-right: 1px dashed rgba(255, 255, 255, 0.09);
    transition: color 0.2s ease, border-right-color 0.2s ease;
  }
  .cred-pill:hover .cred-idx {
    color: var(--red);
    border-right-color: rgba(255, 77, 90, 0.35);
  }
  .cred-pill-main {
    min-width: 0;
    padding: 11px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .cred-pill-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.03em;
    line-height: 1.35;
    text-transform: uppercase;
    color: #ffffff;
  }
  .cred-pill-issuer {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.11em;
    color: var(--muted);
    text-transform: uppercase;
  }
  .cred-stamp-cell {
    padding: 10px 12px 10px 0;
    display: flex;
    align-items: center;
  }
  .cred-pill-code {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    padding: 4px 11px 4px 9px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--red);
    font-weight: 500;
    white-space: nowrap;
  }
  .cred-pill-code::before,
  .cred-pill-code::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .cred-pill-code::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 77, 90, 0.42);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  }
  .cred-pill-code::after {
    inset: 1px;
    z-index: -1;
    background: #120a0e;
    clip-path: polygon(0 0, calc(100% - 5.5px) 0, 100% 5.5px, 100% 100%, 0 100%);
  }

  .stack-box {
    position: sticky;
    top: 88px;
    padding: 0;
    border-top: 0;
    background: transparent;
    min-width: 0;
  }
  .stack-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
  }
  .stack-filter-row {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
  }
  .stack-filter-row.is-open { display: flex; }
  .stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .stack-chip {
    position: relative;
    isolation: isolate;
    appearance: none;
    background: transparent;
    border: 0;
    color: rgba(240, 241, 245, 0.68);
    padding: 6px 13px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    font-family: var(--mono);
    font-size: 10.5px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.12s ease;
  }
  .stack-chip::before,
  .stack-chip::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .stack-chip::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.13);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  }
  .stack-chip::after {
    inset: 1px;
    z-index: -1;
    background: #07080c;
    clip-path: polygon(0 0, calc(100% - 6.5px) 0, 100% 6.5px, 100% 100%, 0 100%);
  }
  .stack-chip[data-core="true"] {
    color: #f0f1f5;
  }
  .stack-chip[data-core="true"]::before {
    background: rgba(230, 232, 239, 0.34);
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  }
  .stack-chip[data-core="true"]::after {
    background: #0d1018;
    clip-path: polygon(5.5px 0, calc(100% - 5.5px) 0, 100% 5.5px, 100% calc(100% - 5.5px), calc(100% - 5.5px) 100%, 5.5px 100%, 0 calc(100% - 5.5px), 0 5.5px);
  }
  .stack-chip.is-companion {
    color: rgba(255, 224, 228, 0.94);
  }
  .stack-chip.is-companion::before {
    background: rgba(255, 77, 90, 0.48);
  }
  .stack-chip.is-companion::after {
    background: #13090e;
  }
  .stack-chip.active,
  .stack-chip:hover {
    color: #ffffff;
  }
  .stack-chip.active::before,
  .stack-chip:hover::before {
    background: var(--red);
  }
  .stack-chip.active::after,
  .stack-chip:hover::after {
    background: #190b10;
  }
  .stack-chip:active {
    transform: scale(0.96);
  }
  .stack-inspector {
    position: relative;
    isolation: isolate;
    margin-top: 16px;
    padding: 18px 18px 16px;
    border-top: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 11px;
    color: var(--muted);
  }
  .stack-inspector::before,
  .stack-inspector::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .stack-inspector::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.16);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }
  .stack-inspector::after {
    inset: 1px;
    z-index: -1;
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 77, 90, 0.08) 0%, transparent 55%),
      repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 11px),
      #07080c;
    clip-path: polygon(0 0, calc(100% - 13.5px) 0, 100% 13.5px, 100% 100%, 13.5px 100%, 0 calc(100% - 13.5px));
  }
  .stack-insp-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .stack-insp-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
  }
  .stack-insp-kicker {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--red);
    text-transform: uppercase;
  }
  .stack-insp-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-transform: uppercase;
  }
  .stack-insp-note {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.55;
    color: rgba(240, 241, 245, 0.78);
    margin: 0;
  }
  .stack-schematic-wrap {
    position: relative;
    width: 100%;
    height: 236px;
    background: #050609;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }
  .stack-schematic-canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
  .stack-deployed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.15em;
    color: var(--dim);
    text-transform: uppercase;
  }
  .stack-deployed-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .stack-deployed-btn {
    position: relative;
    isolation: isolate;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 8px 11px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    transition: transform 0.15s ease;
  }
  .stack-deployed-btn::before,
  .stack-deployed-btn::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .stack-deployed-btn::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.15);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  }
  .stack-deployed-btn::after {
    inset: 1px;
    z-index: -1;
    background: #090b10;
    clip-path: polygon(0 0, calc(100% - 6.5px) 0, 100% 6.5px, 100% 100%, 6.5px 100%, 0 calc(100% - 6.5px));
  }
  .stack-deployed-btn:hover::before {
    background: var(--red);
  }
  .stack-deployed-btn:hover::after {
    background: #190b10;
  }
  .stack-deployed-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.13em;
    color: var(--red);
    text-transform: uppercase;
  }
  .stack-deployed-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: #ffffff;
    text-transform: uppercase;
  }

  /* Chapter 05: Left Interactive Halftone Brain Dissection + Right Expanded 2-Zone Arknights Portals */
  .offduty-split {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 3.8vw, 52px);
    align-items: stretch;
  }
  .offduty-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .brain-stage-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }
  .brain-dissection-stage {
    position: relative;
    flex: 1;
    min-height: 456px;
    background: radial-gradient(circle at 50% 46%, rgba(28, 33, 46, 0.24) 0%, rgba(8, 9, 12, 0) 74%);
    padding: 0;
    clip-path: none;
    overflow: hidden;
    cursor: crosshair;
  }
  .brain-dissection-stage::before {
    display: none;
  }
  .brain-dissection-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 454px;
    background: transparent;
    clip-path: none;
    overflow: hidden;
  }
  .brain-dissection-canvas {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 454px;
  }
  .brain-telemetry-bar {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--fg);
  }
  .brain-telemetry-bar::before,
  .brain-telemetry-bar::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .brain-telemetry-bar::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.16);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  }
  .brain-telemetry-bar::after {
    inset: 1px;
    z-index: -1;
    background: #07080c;
    clip-path: polygon(0 0, calc(100% - 9.5px) 0, 100% 9.5px, 100% 100%, 0 100%);
  }
  .brain-lobe-readout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .brain-lobe-readout::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--red);
    box-shadow: 0 0 6px var(--red);
    flex-shrink: 0;
  }
  .brain-lobe-tag {
    padding-left: 12px;
    border-left: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--red);
    white-space: nowrap;
  }
  .brain-lobe-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .brain-lobe-btn {
    position: relative;
    isolation: isolate;
    appearance: none;
    background: transparent;
    border: 0;
    height: 32px;
    padding: 0 9px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: color 0.15s ease;
  }
  .brain-lobe-btn::before,
  .brain-lobe-btn::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: background-color 0.15s ease;
  }
  .brain-lobe-btn::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 255, 255, 0.15);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  }
  .brain-lobe-btn::after {
    inset: 1px;
    z-index: -1;
    background: #07080c;
    clip-path: polygon(0 0, calc(100% - 6.5px) 0, 100% 6.5px, 100% 100%, 6.5px 100%, 0 calc(100% - 6.5px));
  }
  .brain-lobe-btn b {
    color: var(--dim);
    font-weight: 500;
  }
  .brain-lobe-btn:hover,
  .brain-lobe-btn.is-active {
    color: #ffffff;
  }
  .brain-lobe-btn:hover::before,
  .brain-lobe-btn.is-active::before {
    background: var(--red);
  }
  .brain-lobe-btn:hover::after,
  .brain-lobe-btn.is-active::after {
    background: #190b10;
  }
  .brain-lobe-btn:hover b,
  .brain-lobe-btn.is-active b {
    color: var(--red);
  }

  .doorways-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    perspective: 960px;
  }
  .doorway-btn {
    appearance: none;
    border: 0;
    padding: 1px;
    text-align: left;
    color: var(--fg);
    cursor: pointer;
    display: flex;
    min-height: 312px;
    background: rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    will-change: transform;
    transition: background 0.22s ease, filter 0.22s ease;
  }
  .doorway-btn:nth-child(1) {
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 16px);
  }
  .doorway-btn:nth-child(2) {
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  }
  .doorway-btn:nth-child(3) {
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px);
  }
  .doorway-btn:nth-child(4) {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 14px 100%, 0 calc(100% - 14px));
  }
  .doorway-btn:hover,
  .doorway-btn.is-brain-linked {
    background: var(--red);
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.82));
  }
  .doorway-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #07080c;
    overflow: hidden;
  }
  .doorway-btn:nth-child(1) .doorway-inner {
    clip-path: polygon(15.5px 0, 100% 0, 100% calc(100% - 17.5px), calc(100% - 17.5px) 100%, 0 100%, 0 15.5px);
  }
  .doorway-btn:nth-child(2) .doorway-inner {
    clip-path: polygon(0 0, calc(100% - 17.5px) 0, 100% 17.5px, 100% 100%, 15.5px 100%, 0 calc(100% - 15.5px));
  }
  .doorway-btn:nth-child(3) .doorway-inner {
    clip-path: polygon(13.5px 0, calc(100% - 13.5px) 0, 100% 13.5px, 100% 100%, 0 100%, 0 13.5px);
  }
  .doorway-btn:nth-child(4) .doorway-inner {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 17.5px), calc(100% - 17.5px) 100%, 13.5px 100%, 0 calc(100% - 13.5px));
  }
  .doorway-art-zone {
    position: relative;
    width: 100%;
    height: 136px;
    padding: 16px 18px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    flex-shrink: 0;
  }
  .doorway-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
  }
  .doorway-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(7, 8, 12, 0.72) 0%, rgba(7, 8, 12, 0.22) 55%, rgba(7, 8, 12, 0.15) 100%),
      linear-gradient(0deg, rgba(7, 8, 12, 0.82) 0%, rgba(7, 8, 12, 0.12) 60%, rgba(7, 8, 12, 0.45) 100%);
  }
  .doorway-watermark {
    position: absolute;
    right: 12px;
    bottom: 6px;
    z-index: 2;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.55rem, 3.6vw, 3.35rem);
    line-height: 0.84;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.05);
    -webkit-text-stroke: 1.25px rgba(255, 255, 255, 0.26);
    pointer-events: none;
    user-select: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke-color 0.25s ease, color 0.25s ease;
  }
  .doorway-btn:hover .doorway-watermark,
  .doorway-btn.is-brain-linked .doorway-watermark {
    transform: translateX(-4px);
    -webkit-text-stroke-color: rgba(255, 77, 90, 0.78);
    color: rgba(255, 77, 90, 0.14);
  }
  .doorway-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .doorway-slug {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    padding: 4px 11px 4px 9px;
  }
  .doorway-slug::before,
  .doorway-slug::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .doorway-slug::before {
    inset: 0;
    z-index: -2;
    background: rgba(255, 77, 90, 0.58);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  }
  .doorway-slug::after {
    inset: 1px;
    z-index: -1;
    background: rgba(20, 10, 14, 0.94);
    clip-path: polygon(0 0, calc(100% - 5.5px) 0, 100% 5.5px, 100% 100%, 0 100%);
  }
  .doorway-num {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: rgba(240, 241, 245, 0.85);
    letter-spacing: 0.04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
    transition: color 0.22s ease;
  }
  .doorway-btn:hover .doorway-num,
  .doorway-btn.is-brain-linked .doorway-num {
    color: var(--red);
  }
  .doorway-copy-zone {
    position: relative;
    z-index: 3;
    flex: 1;
    padding: 16px 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    background:
      repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 12px),
      #07080c;
  }
  .doorway-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .doorway-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.06rem, 1.32vw, 1.24rem);
    line-height: 1.22;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
  }
  .doorway-note {
    font-family: var(--sans);
    font-size: 13px;
    color: rgba(240, 241, 245, 0.8);
    line-height: 1.56;
    text-wrap: pretty;
  }
  .doorway-foot {
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(240, 241, 245, 0.58);
    transition: color 0.2s ease, border-top-color 0.2s ease;
  }
  .doorway-foot-cta {
    color: var(--red);
    font-weight: 600;
    white-space: nowrap;
  }
  .doorway-btn:hover .doorway-foot,
  .doorway-btn.is-brain-linked .doorway-foot {
    color: #ffffff;
    border-top-color: rgba(255, 77, 90, 0.48);
  }

  /* =====================================================================
     ALTITUDE LAYER 3: REAL BINARY OCEAN (CHAPTER 05 -> WHALE -> FOOTER SPARK)
     ===================================================================== */
  .ocean-descent-section {
    position: relative;
    background: #07080b;
    overflow: visible;
  }
  .descent-spacer--footer {
    height: 145vh;
    height: 145svh;
    background: #07080b;
  }
  .footer-singularity-track {
    position: relative;
    min-height: 225vh;
    min-height: 225dvh;
    background: #07080b;
  }
  .footer-singularity-track > #footerHorizon.horizon-footer {
    position: sticky;
    top: 0;
    margin-top: 0;
    z-index: 1;
    background: #07080b;
  }
  .binary-ocean-fixed {
    z-index: 25;
  }
  html.is-reduced-motion .ocean-descent-section,
  html.is-reduced-motion .descent-spacer--footer,
  html.is-reduced-motion #binaryOcean {
    display: none !important;
    height: 0 !important;
  }
  html.is-reduced-motion .footer-singularity-track {
    min-height: auto !important;
    height: auto !important;
  }
  html.is-reduced-motion .footer-singularity-track > #footerHorizon.horizon-footer {
    position: relative !important;
    top: auto !important;
  }

  #sparkCoreDot[data-vortex-dir="absorb"] {
    transform: scale(calc(1 + var(--spark-charge, 0) * 0.95));
    box-shadow: 0 0 calc(10px + var(--spark-charge, 0) * 26px) rgba(255, 77, 90, 0.95),
                0 0 calc(22px + var(--spark-charge, 0) * 44px) rgba(255, 255, 255, 0.65);
  }
  #sparkCoreDot[data-vortex-dir="reverse"] {
    background: #d8fbff;
    transform: scale(calc(1 + var(--spark-charge, 0) * 1.15));
    box-shadow: 0 0 calc(12px + var(--spark-charge, 0) * 30px) rgba(126, 232, 250, 0.95),
                0 0 calc(26px + var(--spark-charge, 0) * 50px) rgba(126, 232, 250, 0.55);
  }

  /* =====================================================================
     ALTITUDE LAYER 4: #footerHorizon (SURFACING AT MIDNIGHT MOON VALLEY)
     ===================================================================== */
  .ocean-vortex-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 26;
    pointer-events: none;
    visibility: hidden;
    opacity: 1;
  }
  .ocean-vortex-canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
  .ocean-vortex-hud {
    position: absolute;
    right: 28px;
    top: 22px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(240, 241, 245, 0.62);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.96);
    transition: color 0.16s ease;
  }
  .ocean-vortex-hud.is-reverse {
    color: rgba(126, 232, 250, 0.92);
  }
  html.is-reduced-motion .ocean-vortex-overlay {
    display: none !important;
  }

  /* Chapter 01 Pinned Beat Story + Archival Filmstrip Deck + Dive HUD */
  .press-row.is-filtered-out {
    display: none !important;
  }
  /* Unified Full-Viewport Origin -> Manila -> Doctrine Camera Stage */
  .od-unified-track {
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .od-sticky-viewport {
    position: relative;
    width: 100%;
  }
  .od-shared-canvas {
    display: none;
  }
  .od-layer {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(48px, 7vh, 80px) clamp(24px, 5vw, 72px);
  }
  .od-layer--origin {
    padding-top: 0;
  }
  @media (min-width: 981px) {
    html:not(.is-reduced-motion) .od-unified-track {
      min-height: 600vh;
      z-index: 3;
      pointer-events: none;
    }
    html:not(.is-reduced-motion) .od-sticky-viewport {
      position: sticky;
      top: var(--mo-sticky-top, 0px);
      height: calc(100vh - var(--mo-sticky-top, 0px));
      width: 100%;
      display: grid;
      place-items: center;
      overflow: visible;
      pointer-events: none;
    }
    html:not(.is-reduced-motion) .od-shared-canvas {
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      background: #07080b;
      pointer-events: none;
    }
    html:not(.is-reduced-motion) #pressWrapMain {
      position: relative;
      margin-top: calc(var(--mo-sticky-top, 0px) - 100vh);
      z-index: 5;
    }
    html:not(.is-reduced-motion) .bp-portal-rig {
      position: relative;
      transform-origin: center top;
      will-change: transform;
    }
    html:not(.is-reduced-motion) .ledger-static-seam {
      display: none;
    }
    html:not(.is-reduced-motion) .od-layer {
      position: absolute;
      inset: 0;
      margin: 0 auto;
      max-width: 1320px;
      width: 100%;
      padding: 0 clamp(24px, 5vw, 72px);
      display: flex;
      align-items: center;
    }
    html:not(.is-reduced-motion) .od-layer > .origin-split,
    html:not(.is-reduced-motion) .od-layer > .doctrine-split {
      width: 100%;
    }
    html:not(.is-reduced-motion) .od-layer--origin {
      z-index: 3;
    }
    html:not(.is-reduced-motion) .od-layer--doctrine {
      z-index: 2;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    html:not(.is-reduced-motion) .od-unified-track #originFlightStage {
      background: transparent;
    }
    html:not(.is-reduced-motion) .od-unified-track #originFlightCanvas,
    html:not(.is-reduced-motion) .od-unified-track #doctrineVistaCanvas {
      display: none;
      opacity: 0;
      pointer-events: none;
    }
    html:not(.is-reduced-motion) .od-unified-track .doctrine-aside {
      position: static;
      align-self: start;
      padding-top: clamp(18px, 3vh, 36px);
    }
    html:not(.is-reduced-motion) .od-unified-track #doctrineAnchor .chapter-heading {
      margin-bottom: 0;
      font-size: clamp(1.5rem, 2.35vw, 2.15rem);
      max-width: 16ch;
    }
    html:not(.is-reduced-motion) .od-unified-track .doctrine-stack {
      gap: clamp(12px, 1.7vh, 18px);
    }
    html:not(.is-reduced-motion) .od-unified-track .doc-content {
      padding: clamp(16px, 2vh, 24px) clamp(18px, 2vw, 24px);
    }
  }
  /* Living Blueprint Portal: Pre-dithered Back Hands + Drafting Paper + Front Thumbs Overlays */
  .bp-portal-overlay {
    position: fixed;
    top: var(--mo-sticky-top, 0px);
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
  }
  .bp-portal-overlay--back { z-index: 4; }
  .bp-portal-overlay--front { z-index: 14; }
  .bp-portal-box {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1384px;
    margin-left: -692px;
    height: 1px;
    transform-origin: center top;
    will-change: transform;
  }
  .bp-hand-sprite {
    position: absolute;
    top: 184px;
    width: 1040px;
    height: 580px;
    max-width: none;
    display: block;
    pointer-events: none;
    image-rendering: pixelated;
  }
  .bp-hand-sprite--left { left: -840px; }
  .bp-hand-sprite--right { right: -840px; }
  #bpPortalBackBox .bp-hand-sprite { z-index: 1; }
  .bp-sheet-paper {
    position: relative;
    top: -64px;
    width: 100%;
    height: 920px;
    z-index: 2;
    background-color: #0c1017;
    background-image:
      linear-gradient(90deg, rgba(230, 232, 239, 0.032) 1px, transparent 1px),
      linear-gradient(rgba(230, 232, 239, 0.032) 1px, transparent 1px);
    background-size: 48px 48px;
    border-top: 1.5px solid rgba(230, 232, 239, 0.58);
    border-left: 1px solid rgba(230, 232, 239, 0.28);
    border-right: 1px solid rgba(230, 232, 239, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .bp-sheet-paper::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(230, 232, 239, 0.12);
    pointer-events: none;
  }
  .bp-sheet-skyline-band {
    position: absolute;
    top: 10px;
    left: 18px;
    right: 18px;
    height: 86px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    pointer-events: none;
  }
  .bp-sheet-skyline-band img {
    width: 100%;
    height: 68px;
    object-fit: contain;
    display: block;
    image-rendering: pixelated;
    opacity: 0.92;
  }
  .bp-sheet-datum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 8px 0;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    color: rgba(230, 232, 239, 0.54);
    text-transform: uppercase;
  }
  /* Monochrome Drafting Ink -> Live Crimson Bloom transitions on #ledgerAnchor */
  #ledgerAnchor .folio-tag b,
  #ledgerAnchor .press-row,
  #ledgerAnchor .press-row .lr-code,
  #ledgerAnchor .press-row .lr-metric::before,
  #ledgerAnchor .press-row .lr-metric::after,
  #ledgerAnchor .ctrl-btn.active,
  #ledgerAnchor .ctrl-btn.active::before,
  #ledgerAnchor .ctrl-btn.active::after,
  #ledgerAnchor .ledger-scan-rule,
  #ledgerAnchor .press-metric-strip {
    transition:
      color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }
  #ledgerAnchor.is-blueprint-ink .folio-tag b {
    color: rgba(230, 232, 239, 0.72);
  }
  #ledgerAnchor.is-blueprint-ink .ctrl-btn.active {
    color: #e6e8ef;
  }
  #ledgerAnchor.is-blueprint-ink .ctrl-btn.active::before {
    background: rgba(230, 232, 239, 0.48);
  }
  #ledgerAnchor.is-blueprint-ink .ctrl-btn.active::after {
    background: #10141c;
  }
  #ledgerAnchor.is-blueprint-ink .ledger-scan-rule {
    background: linear-gradient(90deg, rgba(230, 232, 239, 0.45) 0%, rgba(230, 232, 239, 0.14) 50%, transparent 100%);
  }
  #ledgerAnchor.is-blueprint-ink .press-row.active {
    background: rgba(230, 232, 239, 0.045);
    border-left-color: rgba(230, 232, 239, 0.56);
  }
  #ledgerAnchor.is-blueprint-ink .press-row.active .lr-code {
    color: rgba(230, 232, 239, 0.82);
  }
  #ledgerAnchor.is-blueprint-ink .press-row.active .lr-metric::before {
    background: rgba(230, 232, 239, 0.54);
  }
  #ledgerAnchor.is-blueprint-ink .press-row.active .lr-metric::after {
    background: #11151d;
  }
  #ledgerAnchor.is-blueprint-ink .press-metric-strip {
    border-color: rgba(230, 232, 239, 0.20);
  }
  #ledgerAnchor.is-blueprint-ink .press-metric-cell + .press-metric-cell::before {
    content: "";
    position: absolute;
    left: calc(clamp(20px, 3vw, 40px) * -0.5);
    top: 4px;
    bottom: 4px;
    width: 1px;
    border-left: 1px dashed rgba(230, 232, 239, 0.14);
    pointer-events: none;
  }
  @media (max-width: 980px) {
    .bp-portal-overlay { display: none !important; }
    .bp-portal-rig {
      transform: none !important;
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
    }
    #doctrineAnchor {
      padding-top: clamp(24px, 4vh, 42px);
    }
    #doctrineAside {
      min-height: clamp(305px, 43vh, 368px);
      padding-top: 0;
      margin-bottom: 10px;
    }
  }
  .ledger-static-seam {
    display: block;
    height: 1px;
    width: 100%;
    margin: 12px 0 8px;
    background: linear-gradient(90deg, rgba(255, 77, 90, 0.35) 0%, rgba(230, 232, 239, 0.14) 40%, transparent 100%);
  }
  html.is-reduced-motion .bp-portal-overlay {
    display: none !important;
  }
  html.is-reduced-motion .bp-portal-rig {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  html.is-reduced-motion .od-unified-track {
    min-height: auto;
  }
  html.is-reduced-motion .od-shared-canvas {
    display: none;
  }
  html.is-reduced-motion #pressWrapMain {
    margin-top: 0 !important;
  }
  html.is-reduced-motion .ledger-static-seam {
    display: block;
  }

  /* =====================================================================
     LOWER CHAPTER TRUE-LOCK BRIDGES (CUT 3->4, CUT 4->5, TETHER, OCEAN RAIN)
     ===================================================================== */
  .lower-bridge-track {
    position: relative;
    width: 100%;
    pointer-events: none;
  }
  .lower-bridge-sticky {
    display: none;
    pointer-events: none;
  }
  .lower-bridge-canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .lower-lock-wrap {
    position: relative;
    z-index: 5;
  }
  .cortex-synapse-svg {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    overflow: visible;
    transition: opacity 0.16s ease;
  }
  .cortex-synapse-glow {
    fill: none;
    stroke: rgba(255, 77, 90, 0.22);
    stroke-width: 5.5;
    stroke-linecap: round;
  }
  .cortex-synapse-wire {
    fill: none;
    stroke: rgba(255, 77, 90, 0.88);
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-dasharray: 5 5;
    animation: synapseDash 1.15s linear infinite;
  }
  .cortex-synapse-node {
    fill: #ff4d5a;
    stroke: #07080c;
    stroke-width: 1.5;
  }
  .cortex-synapse-node.is-end {
    fill: #ffffff;
    stroke: #ff4d5a;
    stroke-width: 1.5;
  }
  .cortex-synapse-bead {
    fill: #ffffff;
    stroke: #ff4d5a;
    stroke-width: 1.5;
    offset-rotate: 0deg;
    animation: synapseBeadMove 2.2s linear infinite;
  }
  @keyframes synapseBeadMove {
    0% { offset-distance: 0%; opacity: 0.95; }
    92% { offset-distance: 100%; opacity: 0.95; }
    100% { offset-distance: 100%; opacity: 0.15; }
  }
  .cortex-synapse-badge {
    pointer-events: none;
  }
  .cortex-synapse-badge-bg {
    fill: rgba(7, 8, 12, 0.92);
    stroke: rgba(255, 77, 90, 0.72);
    stroke-width: 1;
  }
  .cortex-synapse-badge-text {
    fill: #f0f1f5;
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-anchor: middle;
    dominant-baseline: central;
  }
  @keyframes synapseDash {
    to { stroke-dashoffset: -20; }
  }
  .ocean-signal-rain {
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
    width: 100%;
    height: 360px;
    pointer-events: none;
    z-index: 4;
    opacity: 0.96;
  }
  @media (min-width: 981px) {
    html:not(.is-reduced-motion) .lower-bridge-track {
      margin-top: -32vh;
      z-index: 8;
    }
    html:not(.is-reduced-motion) .lower-bridge-track--subsurface {
      min-height: 160vh;
    }
    html:not(.is-reduced-motion) .lower-bridge-track--cortex {
      min-height: 150vh;
    }
    html:not(.is-reduced-motion) .lower-bridge-sticky {
      display: block;
      position: sticky;
      top: var(--mo-sticky-top, 0px);
      height: calc(100vh - var(--mo-sticky-top, 0px));
      width: 100%;
      overflow: visible;
      pointer-events: none;
    }
    html:not(.is-reduced-motion) .lower-bridge-track .meridian-bridge--mobile-only {
      display: none;
    }
    html:not(.is-reduced-motion) .lower-lock-wrap {
      margin-top: calc(var(--mo-sticky-top, 0px) - 100vh);
      z-index: 5;
    }
    .cortex-synapse-svg {
      display: block;
    }
  }
  @media (max-width: 980px) {
    .lower-bridge-track { min-height: auto; margin-top: 0; }
    .lower-bridge-sticky,
    .cortex-synapse-svg { display: none !important; }
    .lower-lock-wrap { margin-top: 0; }
  }
  html.is-reduced-motion .lower-bridge-track {
    min-height: auto !important;
    margin-top: 0 !important;
  }
  html.is-reduced-motion .lower-bridge-sticky,
  html.is-reduced-motion .ocean-signal-rain,
  html.is-reduced-motion .cortex-synapse-bead {
    display: none !important;
    animation: none !important;
  }
  html.is-reduced-motion .lower-lock-wrap {
    margin-top: 0 !important;
  }
  html.is-reduced-motion .cortex-synapse-wire {
    animation: none !important;
    stroke-dasharray: none;
    stroke: rgba(255, 77, 90, 0.52);
  }
  @media (min-width: 981px) {
    html.is-reduced-motion .lower-bridge-track .meridian-bridge--mobile-only {
      display: flex;
    }
  }
  .origin-beat-deck {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 162px minmax(0, 1fr);
    gap: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(7, 8, 12, 0.86);
    align-items: stretch;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  }
  .origin-beat-media {
    position: relative;
    width: 100%;
    height: 92px;
    overflow: hidden;
    background: #050609;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .origin-beat-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.88) contrast(1.16) brightness(0.82);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }
  .origin-beat-img.is-active {
    opacity: 1;
    z-index: 2;
  }
  .origin-beat-scanline {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
    box-shadow: inset 0 0 18px rgba(5, 6, 9, 0.72);
  }
  .origin-beat-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
  }
  .origin-beat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--red);
  }
  .origin-beat-bar {
    position: relative;
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }
  .origin-beat-bar-fill {
    position: absolute;
    inset: 0;
    background: var(--red);
    transform-origin: left center;
    transform: scaleX(0.25);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .origin-beat-caption {
    margin: 0;
    font-family: var(--sans);
    font-size: 12.2px;
    line-height: 1.44;
    color: rgba(240, 241, 245, 0.86);
    text-wrap: pretty;
  }

  .meridian-pulse-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    opacity: 0;
    pointer-events: none;
  }
  .meridian-bridge.is-pulsing .meridian-pulse-dot {
    animation: meridianPulseDrop 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes meridianPulseDrop {
    0% { transform: translateY(0) scale(0.8); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 0.95; }
    100% { transform: translateY(44px) scale(0.4); opacity: 0; }
  }

  html.is-reduced-motion .ghost-btn:active,
  html.is-reduced-motion .ctrl-btn:active,
  html.is-reduced-motion .stack-chip:active {
    transform: none;
  }

  .origin-split > *,
  .doctrine-split > *,
  .audits-split > *,
  .offduty-split > *,
  .triptych-subrow > *,
  .doorways-row > * {
    min-width: 0;
    max-width: 100%;
  }

  /* =====================================================================
     RESPONSIVE BREAKPOINTS (<= 980px & <= 640px)
     ===================================================================== */
  .moon-overhaul-root .press-plate, .moon-overhaul-root section { scroll-margin-top: var(--mo-sticky-top, 0px); }
  @media (max-width: 980px) {
    .moon-overhaul-root .press-plate, .moon-overhaul-root section { scroll-margin-top: 12px; }

    .origin-split,
    .doctrine-split,
    .audits-split,
    .offduty-split,
      grid-template-columns: minmax(0, 1fr);
    }
    .doctrine-aside,
    .stack-box {
      position: static;
    }
    .triptych-frame--doctrine { max-width: 340px; margin-bottom: 8px; }
    .press-metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .press-row { grid-template-columns: 74px minmax(0, 1fr); gap: 8px 14px; }
    .press-row > :nth-child(3),
    .press-row > :nth-child(4) { grid-column: 2; justify-self: start; }
  }
  @media (max-width: 640px) {
    .lab-title { border-right: 0; padding-right: 0; width: 100%; }
    .press-wrap { padding: 0 20px; }
    .middle-shell { padding: 64px 0 44px; }
    .press-plate { padding: 48px 0; }
    .meridian-line { height: 34px; }
    .ghost-btn { white-space: normal; text-align: left; max-width: 100%; overflow-wrap: anywhere; }
    .press-metric-strip,
    .doorways-row { grid-template-columns: minmax(0, 1fr); }
    .doctrine-slab-inner { grid-template-columns: minmax(0, 1fr); }
    .doc-numcol {
      border-right: 0;
      border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
      padding: 18px 20px 14px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-rows: auto auto;
      column-gap: 14px;
      row-gap: 10px;
      align-items: center;
    }
    .doc-numhead { grid-column: 1; grid-row: 1; }
    .doc-hazard-foot { grid-column: 1; grid-row: 2; }
    .doc-numeral { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 2.9rem; }
    .doc-content { padding: 18px 20px 22px; }
    .doc-action-row { grid-template-columns: minmax(0, 1fr); }
    .doc-spec { justify-self: start; }
    .doc-spec dd { white-space: normal; }
    .baybayin-tooltip { width: 256px; }
    .editorial-link { font-size: 10px; letter-spacing: 0.08em; }
    .origin-station-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .origin-beat-deck { grid-template-columns: minmax(0, 1fr); }
    .descent-spacer--footer { height: 120vh; height: 120svh; }
    .footer-singularity-track { min-height: 195vh; min-height: 195dvh; }
    .stack-deployed-row { grid-template-columns: minmax(0, 1fr); }
    .brain-lobe-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cred-pill-inner { grid-template-columns: 36px minmax(0, 1fr); }
    .cred-idx { grid-row: 1 / span 2; }
    .cred-pill-main { grid-column: 2; grid-row: 1; padding: 10px 12px 6px; }
    .cred-stamp-cell { grid-column: 2; grid-row: 2; padding: 0 12px 10px; }
    .ctrl-btn { max-width: 100%; overflow-wrap: anywhere; }
  }

