/* A living consciousness field, not isolated pictures in a fixed-width shell. */
:root {
  --canvas-edge: clamp(24px, 3.2vw, 144px);
  --reading-size: clamp(18px, .86vw, 28px);
  --interface-size: clamp(16px, .8vw, 26px);
  --label-size: clamp(13px, .58vw, 20px);
  --section-space: clamp(56px, 4vw, 108px);
  --living-line: #528dce52;
}

body { position: relative; isolation: isolate; }
.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 25%, #17498126, transparent 52%),
    radial-gradient(ellipse at 12% 80%, #162e681f, transparent 50%);
}
#ambient-field { width: 100%; height: 100%; display: block; opacity: .85; }
.ambient-halo {
  position: absolute;
  width: max(70vw, 850px);
  height: max(70vw, 850px);
  border-radius: 50%;
  background: radial-gradient(ellipse, #1f80d934, #2457bc12 38%, transparent 68%);
  animation: atmosphereDrift 36s ease-in-out infinite alternate;
}
.halo-one { left: -20%; top: -40%; }
.halo-two { right: -20%; bottom: -45%; animation-delay: -18s; }
@keyframes atmosphereDrift { to { transform: translate3d(8vw, 5vh, 0) scale(1.12); } }

/* Bright functional type; the subdued palette is reserved for decorative detail. */
.nav-inner, .hero-inner, .wide-section, .chapter-head-inner, .container {
  width: 100%;
  max-width: none;
  padding-inline: var(--canvas-edge);
}
.nav-inner { min-height: 96px; gap: 30px; }
.nav-links { gap: clamp(26px, 2vw, 68px); }
.nav-links a { font-size: var(--interface-size); color: #c8daf1; min-height: 48px; display: inline-flex; align-items: center; }
.nav-toggle { font-size: var(--interface-size); min-height: 48px; padding: 12px 20px; }
.motion-toggle { width: 48px; height: 48px; }
.motion-toggle svg { width: 22px; height: 22px; }
.site-title { font-size: clamp(12px, .64vw, 21px); gap: 18px; }
.site-title > svg { width: clamp(38px, 1.6vw, 56px); height: clamp(38px, 1.6vw, 56px); filter: drop-shadow(0 0 10px #479eff75); }
.site-title > span > span { font-size: clamp(10px, .5vw, 17px); margin-top: 5px; }
.explore-menu { right: var(--canvas-edge); width: min(560px, calc(100vw - 40px)); max-height: calc(100svh - 140px); overflow: auto; }
.explore-menu > a { font-size: clamp(16px, .7vw, 23px); padding: 16px 20px; }
.explore-menu small { font-size: var(--label-size); }
.menu-heading, .menu-number { font-size: var(--label-size); }
.dev-strip { padding-inline: var(--canvas-edge); font-size: 12px; }
.eyebrow, .chapter-head .eyebrow { font-size: var(--label-size); color: #a9caff; letter-spacing: .13em; }
.text-link, .frontier-copy .text-link, .atlas-note .text-link { font-size: var(--interface-size); }
.primary-button, .secondary-button { font-size: var(--interface-size); min-height: 52px; padding: 15px 25px; }

/* The original large brain unfolds down a scroll scene; never crop it to a short band. */
.new-hero { isolation: isolate; background: transparent; overflow: clip; }
.new-hero::before { opacity: .2; }
.new-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #05080feb 0%, #05080fba 22%, #05080f65 42%, #05080f0a 70%),
    linear-gradient(0deg, #05080ff5 0%, #05080f20 22%, transparent 78%, #05080f48);
}
.new-hero .hero-inner {
  position: relative;
  --brain-width: 100vw;
  --brain-top: clamp(40px, 4vw, 120px);
  display: block;
  min-height: calc(66.6667vw + var(--brain-top) + 40px);
  padding-block: clamp(50px, 5svh, 78px);
}
.new-hero .hero-copy { width: 61%; position: sticky; top: 124px; z-index: 4; }
.new-hero .hero-credit { width: 81.967213%; margin-bottom: 14px; }
.new-hero .credit-name { font-size: clamp(23px, 1.06vw, 38px); line-height: 1.3; }
.new-hero .credit-presents { font-size: clamp(14px, .62vw, 22px); }
.new-hero h1 {
  font-size: clamp(78px, 4.65vw, 168px);
  line-height: 1.035;
  letter-spacing: -.055em;
  margin: 22px 0 26px;
  max-width: 100%;
  text-shadow: 0 2px 25px #020711aa;
}
.hero-statement, .hero-resolution { display: block; }
.hero-resolution { margin-top: .12em; }
.new-hero .hero-deck { font-size: clamp(25px, 1.14vw, 40px); line-height: 1.35; margin: 0 0 15px; color: #e8f2ff; }
.new-hero .hero-description { font-size: clamp(19px, .88vw, 30px); line-height: 1.6; max-width: 43ch; color: #cadbf0; margin-bottom: 26px; }
.new-hero .hero-cta { gap: 18px; }
.new-hero .primary-button, .new-hero .secondary-button { font-size: clamp(18px, .79vw, 27px); min-height: 60px; padding: 18px 28px; }
.new-hero .hero-footnote { font-size: clamp(12px, .5vw, 17px); letter-spacing: .055em; margin-top: 22px; color: #adcaee; }
.new-hero .art-stage {
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: auto;
  transform: none;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}
.new-hero .art-stage > .living-art { z-index: 1; }
.new-hero .art-stage .hero-brain {
  inset: auto;
  left: 55%;
  top: var(--brain-top);
  translate: -50% 0;
  width: var(--brain-width);
  height: auto;
  max-width: none;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
  opacity: .83;
  animation: immersiveBrainDrift 26s ease-in-out infinite;
}
.new-hero .art-stage .art-aura { inset: 0; background: radial-gradient(ellipse at 66% 48%, #246ceb50, #174b9022 42%, transparent 72%); }
.new-hero .art-stage .art-orbit { inset: 7% 4%; border-color: #68b5ff44; }
.new-hero .art-stage .orbit-far { inset: 14% 9%; }
.new-hero .art-stage .art-orbit > i::before { width: 7px; height: 7px; box-shadow: 0 0 12px #dcf8ff, 0 0 32px #3995ff, 0 0 65px #3b82f6; }
.new-hero .art-stage .art-motes > i { width: 4px; height: 4px; opacity: .85; }
.new-hero .art-stage > canvas { z-index: 2; opacity: .5; mix-blend-mode: screen; }
.new-hero .art-stage .sphere-label, .new-hero .art-stage .crosshair { display: none; }
.new-hero .art-stage .visual-caption { right: 16%; bottom: 4%; font-size: 12px; z-index: 3; }
@keyframes immersiveBrainDrift {
  0%, 100% { transform: translate3d(-.35%, 0, 0) scale(.985); }
  50% { transform: translate3d(.35%, 4px, 0) scale(1); }
}


.scene-scroll-cue { display: inline-flex; align-items: center; gap: 18px; margin-top: 26px; padding-block: 10px; font-size: var(--label-size); letter-spacing: .12em; color: #b9d8ff; }
.scene-scroll-cue > span { font-size: 26px; }
.brain-reveal-anchor { position: absolute; top: 48%; left: 0; scroll-margin-top: 130px; }
.new-hero .art-stage .art-depth { transform: perspective(1400px) rotateX(calc(var(--art-tilt-x) * .2)) rotateY(calc(var(--art-tilt-y) * .2)); }

/* A data rail with enough scale and distribution to anchor the entire scene. */
.new-hero .hero-baseline {
  position: relative;
  z-index: 4;
  max-width: none;
  margin-inline: var(--canvas-edge);
  padding-block: 28px;
  display: flex;
  gap: 38px;
  align-items: center;
  background: linear-gradient(90deg, #070d19d9, #091c3780, #070d1966);
}
.hero-baseline .stat-grid { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hero-baseline .stat-box { gap: 18px; border-right: 1px solid #5482be4d; padding-right: 24px; }
.hero-baseline .stat-box:last-child { border-right: 0; }
.hero-baseline .stat-box .number { font-size: clamp(38px, 1.75vw, 62px); }
.hero-baseline .stat-box .label { font-size: clamp(15px, .72vw, 25px); line-height: 1.4; max-width: 17ch; color: #cfdef2; }
.scroll-cue { font-size: var(--label-size); color: #b6d3f7; padding: 15px; white-space: nowrap; }
.concept-stream { background: #0b1930a6; padding-block: 18px; }
.concept-stream > div { font-size: var(--label-size); gap: 48px; color: #abc9f2; }

/* Space follows the content, rather than leaving a moat between small text blocks. */
.wide-section { padding-block: var(--section-space); position: relative; }
.wide-section::before {
  content: '';
  position: absolute;
  left: var(--canvas-edge);
  right: var(--canvas-edge);
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #65b0ff75, transparent 65%);
  background-size: 180% 100%;
  animation: sectionCurrent 22s linear infinite;
  opacity: .55;
}
@keyframes sectionCurrent { to { background-position: -180% 0; } }
.mystery-section { gap: clamp(45px, 4vw, 130px); align-items: start; }
.mystery-left { flex: 1; }
.mystery-left h2 { max-width: 16ch; font-size: clamp(46px, 3vw, 106px); }
.mystery-right { flex: 1.1; width: auto; max-width: none; padding-top: 35px; font-size: var(--reading-size); color: #c2d3e9; line-height: 1.8; }
.mystery-right .lead-prose { font-size: clamp(23px, 1.1vw, 37px); line-height: 1.6; color: #e2edfb; }
.signal-diagram { font-size: var(--label-size); max-width: 520px; gap: 22px; }
.signal-diagram i { flex: 1; max-width: 90px; }
.signal-diagram i::after { animation: signalTravel 5s ease-in-out infinite; }
@keyframes signalTravel { 0% { right: 100%; opacity: .3; } 70%, 100% { right: 0; opacity: 1; } }
.quote-section { padding-block: var(--section-space); background: radial-gradient(ellipse, #15386455, #08152b33 55%, transparent); }
.quote-section blockquote { max-width: 29em; font-size: clamp(34px, 2vw, 70px); line-height: 1.45; }
.quote-section > p { max-width: 65ch; font-size: var(--reading-size); color: #bed0e9; }
.quote-section blockquote cite { font-size: var(--label-size); }
.section-heading h2, .closing-section h2 { font-size: clamp(42px, 2.35vw, 82px); line-height: 1.15; }
.pathway-grid, .atlas-index { gap: clamp(24px, 1.1vw, 38px); }
.atlas-card { padding: clamp(28px, 1.25vw, 44px); background: linear-gradient(145deg, #172f5099, #0a1426d9); }
.atlas-card h3 { font-size: clamp(29px, 1.4vw, 49px); }
.atlas-card p { font-size: clamp(18px, .8vw, 27px); color: #c0d2eb; line-height: 1.75; }
.atlas-card .tag, .card-index, .atlas-card-bottom { font-size: var(--label-size); }
.card-art { height: clamp(235px, 12vw, 430px); }
.frontier-grid { gap: clamp(24px, 1.2vw, 42px); }
.frontier-card { min-height: clamp(610px, 27vw, 960px); }
.frontier-copy { padding: clamp(30px, 1.4vw, 50px); background: linear-gradient(transparent, #071326ef 30%); }
.frontier-copy h3 { max-width: 22ch; font-size: clamp(42px, 2.15vw, 76px); }
.frontier-copy p { max-width: 56ch; font-size: clamp(18px, .8vw, 27px); line-height: 1.75; color: #c1d5f0; }
.frontier-copy .eyebrow { font-size: var(--label-size); }
.experiment-teaser { gap: clamp(45px, 4vw, 130px); margin-top: 20px; }
.teaser-copy h2 { font-size: clamp(46px, 2.6vw, 92px); }
.teaser-copy p { font-size: var(--reading-size); line-height: 1.75; color: #c3d7f0; }
.teaser-copy small, .teaser-label { font-size: var(--label-size); color: #a7c5ec; }
.ghost-button { width: clamp(180px, 10vw, 350px); height: clamp(185px, 10vw, 355px); font-size: clamp(80px, 4vw, 140px); }
.teaser-visual { min-height: clamp(360px, 18vw, 620px); }
.remaining-topics a { font-size: clamp(20px, .92vw, 31px); padding-block: 26px; }

/* A more legible, connected atlas with traveling light paths. */
.explore-intro { padding-bottom: 40px; }
.explore-intro h1 { font-size: clamp(80px, 4.7vw, 165px); }
.explore-intro-bottom p { font-size: var(--reading-size); color: #c4d7f0; line-height: 1.65; }
.view-switch button { font-size: var(--interface-size); min-height: 48px; padding: 12px 20px; }
.atlas-browser { padding-top: 0; }
.atlas-search, .library-search { max-width: 750px; padding: 13px 20px; min-height: 56px; }
.atlas-search input, .library-search input { font-size: var(--interface-size); min-height: 34px; }
.atlas-toolbar .topic-controls { gap: 12px; }
.atlas-toolbar .topic-controls button { font-size: var(--label-size); min-height: 48px; padding: 12px 20px; }
.atlas-status, .source-status { font-size: var(--interface-size); }
.map-hint, .map-key { font-size: var(--label-size); }
.atlas-map { height: clamp(680px, 47vw, 1020px); background-color: #0a19305c; }
.atlas-lines { stroke: #6fa9e581; stroke-width: 1.4; stroke-dasharray: 12 18; animation: atlasFlow 32s linear infinite; }
@keyframes atlasFlow { to { stroke-dashoffset: -300; } }
.atlas-node { max-width: clamp(210px, 10vw, 350px); min-width: 170px; gap: 15px; }
.node-symbol { width: clamp(60px, 2.6vw, 92px); height: clamp(60px, 2.6vw, 92px); font-size: clamp(34px, 1.6vw, 56px); background: #102542; }
.node-title { max-width: 24ch; font-size: clamp(17px, .85vw, 29px); }
.node-title small { font-size: clamp(12px, .54vw, 18px); color: #abc2e3; }
.atlas-center { width: clamp(190px, 8vw, 280px); height: clamp(190px, 8vw, 280px); font-size: clamp(17px, .8vw, 28px); }
.atlas-center small { font-size: var(--label-size); }
.atlas-library-link { font-size: var(--interface-size); }
.atlas-note { max-width: 1400px; }
.atlas-note p { font-size: clamp(24px, 1.15vw, 40px); }

/* Header spectacle is broad; reading and its rail are intentionally adjacent. */
.chapter-head { background: radial-gradient(ellipse at 78% 45%, #22558a45, transparent 65%); position: relative; }
.chapter-head-inner { min-height: clamp(470px, 35vw, 800px); gap: clamp(35px, 3vw, 100px); padding-block: 50px; }
.chapter-head-copy { width: 58%; }
.chapter-head-visual { width: 42%; height: clamp(390px, 24vw, 840px); }
.chapter-head h1 { font-size: clamp(58px, 3.4vw, 120px); max-width: 22ch; }
.chapter-head .breadcrumb, .save-reading { font-size: var(--interface-size); min-height: 44px; }
.chapter-original-title { font-size: clamp(21px, 1vw, 34px); }
.chapter-head .article-meta { font-size: var(--label-size); flex-wrap: wrap; gap: 18px 30px; }
.chapter-glyph > span { font-size: clamp(160px, 12vw, 390px); }
.glyph-orbit { width: 75%; height: 75%; }
.glyph-caption { font-size: var(--label-size); }
.chapter-layout, .experiment-layout {
  width: min(calc(100% - 2 * var(--canvas-edge)), 2250px);
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
  gap: clamp(50px, 3vw, 105px);
}
.chapter-rail { width: clamp(260px, 13vw, 440px); }
.chapter-rail .sidebar-sticky { top: 132px; max-height: calc(100svh - 160px); }
.chapter-rail li a { font-size: clamp(17px, .8vw, 27px); min-height: 42px; color: #b9cee9; }
.chapter-rail li a > span { font-size: var(--label-size); }
.journey-heading .eyebrow, .journey-heading > span:last-child { font-size: var(--label-size); }
.rail-atlas { font-size: var(--interface-size); }
.chapter-layout > .chapter-reading, .experiment-reading { max-width: 72ch; margin: 0; }
.chapter-reading { font-size: var(--reading-size); line-height: 1.85; color: #c8d8ed; }
.chapter-intro { font-size: clamp(22px, 1vw, 34px); line-height: 1.75; }
.reading-section { padding-top: 40px; }
.reading-section-heading h2 { font-size: clamp(34px, 1.55vw, 54px); }
.section-number { font-size: var(--label-size); }
.chapter-reading h3 { font-size: clamp(27px, 1.16vw, 40px); }
.chapter-reading h4 { font-size: clamp(23px, 1vw, 34px); }
.idea-panel p { font-size: var(--reading-size); color: #c5d9f1; }
.idea-number { font-size: var(--label-size); }
.chapter-reading blockquote { font-size: clamp(27px, 1.18vw, 40px); }
.chapter-reading blockquote cite, .next-exploration > small { font-size: var(--label-size); }
.chapter-reading table { font-size: clamp(16px, .69vw, 23px); }
.original-page-nav, .chapter-reading .sources { font-size: var(--interface-size); }
.next-exploration > a { font-size: clamp(34px, 1.7vw, 59px); }
.experiment-instructions { width: clamp(260px, 13vw, 440px); }
.experiment-instructions li, .privacy-note p, .keyboard-note { font-size: var(--interface-size); }
.experiment-instructions li span, .privacy-note span { font-size: var(--label-size); }
.experiment-context-note { font-size: var(--interface-size); line-height: 1.75; }
.experiment-reading .card p, .experiment-reading > p { font-size: var(--reading-size); }
.reading-list-panel h2, .library-heading h2 { font-size: clamp(40px, 2vw, 70px); }
.saved-note, .saved-empty, .saved-chip > a { font-size: var(--interface-size); }
.library-search { width: min(700px, 100%); }
.library-content { max-width: none; }
.library-content .chapter-intro { font-size: var(--reading-size); max-width: 75ch; }
.source-group > ol > li, .source-group > ul > li, .source-group .idea-panel p, .source-group .idea-panel li { font-size: clamp(18px, .76vw, 26px); }
.source-group > h3, .source-group .idea-panel h3 { font-size: clamp(29px, 1.3vw, 45px); }
.library-content > p, .source-group > p { font-size: var(--reading-size); }
footer { padding-inline: var(--canvas-edge); background: #071125ba; }
.footer-inner, .footer-bottom { max-width: none; }
.footer-brand { font-size: clamp(22px, 1vw, 34px); }
.footer-brand small, .footer-links, .footer-bottom { font-size: var(--interface-size); }

/* Living surfaces: only background light changes; the type remains stationary. */
.atlas-card::before { height: 2px; background-size: 200% 100%; animation: sectionCurrent 18s linear infinite; }
.center-ring { animation: surfaceBreathe 12s ease-in-out infinite; }
.node-symbol { animation: surfaceBreathe 16s ease-in-out infinite; }
.atlas-node:nth-of-type(3n) .node-symbol { animation-delay: -7s; }
.idea-panel, .next-exploration, .source-group > ol > li, .source-group > ul > li { border-color: var(--living-line); background: linear-gradient(135deg, #17365888, #08172ada); }
.idea-panel::after, .next-exploration::after, .source-group > ol > li::after, .source-group > ul > li::after {
  content: ''; position: absolute; left: 18px; right: 18px; top: 0; height: 1px;
  pointer-events: none; background: linear-gradient(90deg, transparent, #91ccffb5, transparent);
  background-size: 200% 100%; animation: sectionCurrent 24s linear infinite;
}
.next-exploration { position: relative; }
@keyframes surfaceBreathe { 50% { box-shadow: 0 0 36px #3b82f644, inset 0 0 20px #3b82f61c; } }

@media (min-width: 2400px) {
  .source-group > ol, .source-group > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .nav-inner { gap: 16px; }
  .nav-links { gap: 18px; }
  .new-hero h1 { font-size: 70px; }
  .chapter-rail { width: 235px; }
}
@media (max-width: 900px) {
  :root { --canvas-edge: 28px; --reading-size: 18px; --interface-size: 16px; --label-size: 12px; --section-space: 55px; }
  .nav-inner { min-height: 82px; gap: 12px; }
  .nav-links { display: none; }
  .site-title { font-size: 12px; gap: 12px; }
  .site-title > span > span { font-size: 10px; }
  .new-hero .hero-copy { width: 90%; }
  .new-hero .hero-credit { width: 55.555556%; }
  .new-hero h1 { font-size: clamp(57px, 8.4vw, 76px); }
  .new-hero .hero-inner { min-height: 780px; }
  .new-hero::after { background: linear-gradient(90deg, #05080fed, #05080f99 53%, #05080f30), linear-gradient(0deg, #05080f, transparent 40%); }
  .new-hero .art-stage { left: 0; width: 100%; height: 100%; top: 0; }
  .new-hero .art-stage .hero-brain { left: 55%; }
  .hero-baseline .stat-grid { gap: 15px; }
  .hero-baseline .stat-box { flex-direction: column; align-items: start; gap: 7px; padding-right: 12px; }
  .hero-baseline .stat-box .number { font-size: 35px; }
  .hero-baseline .stat-box .label { font-size: 13px; }
  .new-hero .hero-baseline { gap: 10px; }
  .scroll-cue { font-size: 11px; padding: 5px; }
  .mystery-section { gap: 35px; }
  .mystery-right { font-size: 18px; }
  .mystery-right .lead-prose { font-size: 23px; }
  .frontier-card { min-height: 560px; }
  .chapter-layout { display: block; }
  .chapter-layout > .chapter-reading { max-width: none; }
  .chapter-head-copy { width: 65%; }
  .chapter-head h1 { font-size: 54px; }
  .chapter-head-visual { width: 35%; height: 360px; }
  .chapter-rail { display: none; }
  .experiment-instructions { width: 200px; }
  .atlas-node { min-width: 125px; max-width: 190px; }
  .node-title { font-size: 14px; }
  .node-title small { font-size: 11px; }
  .node-symbol { width: 48px; height: 48px; font-size: 28px; }
  .atlas-map { height: 710px; }
  .atlas-center { width: 155px; height: 155px; font-size: 14px; }
  .map-key { font-size: 10px; }
}
@media (max-width: 600px) {
  :root { --canvas-edge: 20px; --reading-size: 17px; --interface-size: 15px; --label-size: 11px; --section-space: 48px; }
  .dev-strip { font-size: 9px; }
  .nav-inner { min-height: 76px; }
  .site-title { font-size: 10px; gap: 9px; }
  .site-title > span > span { font-size: 9px; }
  .site-title > svg { width: 31px; height: 31px; }
  .nav-actions { gap: 6px; }
  .nav-toggle { font-size: 12px; padding: 10px 11px; }
  .motion-toggle { width: 40px; }
  .new-hero .hero-inner { min-height: 790px; padding: 45px 20px 55px; }
  .new-hero .hero-copy { width: 100%; }
  .new-hero .hero-credit { width: 100%; }
  .new-hero .credit-name { font-size: 20px; }
  .new-hero .credit-presents { font-size: 12px; }
  .new-hero h1 { font-size: clamp(43px, 10.2vw, 61px); margin: 24px 0; }
  .new-hero .hero-deck { font-size: 23px; }
  .new-hero .hero-description { font-size: 18px; line-height: 1.65; }
  .new-hero .hero-cta { gap: 12px; }
  .new-hero .primary-button, .new-hero .secondary-button { font-size: 15px; min-height: 50px; padding: 14px 18px; }
  .new-hero .hero-footnote { font-size: 10px; line-height: 1.6; }
  .new-hero .art-stage { left: 0; width: 100%; top: 0; height: 100%; }
  .new-hero .art-stage .hero-brain { left: 53%; opacity: .83; }
  .new-hero .art-stage .visual-caption { display: none; }
  .new-hero::after { background: linear-gradient(90deg, #05080fe6 0%, #05080f96 55%, #05080f52), linear-gradient(0deg, #05080f, transparent 45%); }
  .new-hero .hero-baseline { display: block; padding-block: 22px; }
  .hero-baseline .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-baseline .stat-box { padding-right: 8px; }
  .hero-baseline .stat-box .number { font-size: 29px; }
  .hero-baseline .stat-box .label { font-size: 11px; }
  .scroll-cue { display: none; }
  .concept-stream > div { font-size: 11px; gap: 30px; }
  .mystery-section { flex-direction: column; gap: 26px; }
  .mystery-right { width: 100%; padding-top: 0; font-size: 17px; }
  .mystery-left h2 { font-size: 43px; }
  .mystery-right .lead-prose { font-size: 22px; }
  .signal-diagram { margin: 25px 0; }
  .quote-section { padding-inline: 20px; }
  .quote-section blockquote { font-size: 30px; }
  .quote-section > p { font-size: 17px; }
  .pathway-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .pathway-grid > .atlas-card:first-child { display: flex; }
  .card-art, .pathway-grid > .atlas-card:first-child .card-art { height: 255px; width: calc(100% + 40px); margin: 12px -20px 20px; }
  .atlas-card { padding: 27px; }
  .atlas-card h3 { font-size: 30px; }
  .atlas-card p { font-size: 17px; }
  .frontier-grid { grid-template-columns: 1fr; }
  .frontier-card { min-height: 550px; }
  .frontier-copy { padding: 27px; }
  .frontier-copy h3 { font-size: 40px; }
  .frontier-copy p { font-size: 17px; }
  .experiment-teaser { gap: 24px; align-items: start; flex-direction: column; }
  .teaser-visual { width: 100%; min-height: 280px; }
  .ghost-button { width: 135px; height: 145px; font-size: 65px; }
  .teaser-copy h2 { font-size: 47px; }
  .teaser-copy p { font-size: 17px; }
  .section-heading h2, .closing-section h2 { font-size: 37px; }
  .remaining-topics { grid-template-columns: 1fr; }
  .remaining-topics a { font-size: 18px; padding-block: 20px; }
  .explore-intro h1 { font-size: 69px; }
  .explore-intro-bottom { display: block; }
  .explore-intro-bottom p { font-size: 18px; margin-bottom: 25px; }
  .view-switch button { font-size: 14px; }
  .atlas-search { width: 100%; }
  .atlas-search input, .library-search input { font-size: 16px; }
  .atlas-toolbar .topic-controls button { font-size: 12px; padding: 10px 13px; min-height: 44px; }
  .atlas-status { font-size: 13px; }
  .map-hint { display: none; }
  .atlas-map { height: auto; min-height: 790px; padding-bottom: 20px; }
  .atlas-node { max-width: none; min-width: 0; gap: 15px; }
  .node-title { font-size: 17px; max-width: none; text-align: left; }
  .node-title small { font-size: 12px; }
  .node-symbol { width: 45px; height: 45px; font-size: 27px; }
  .atlas-library-link { font-size: 15px; }
  .atlas-note p { font-size: 23px; }
  .chapter-head-inner { padding-block: 35px; min-height: 420px; }
  .chapter-head-copy { width: 100%; }
  .chapter-head h1 { font-size: 45px; }
  .chapter-original-title { font-size: 19px; }
  .chapter-head .breadcrumb, .save-reading { font-size: 14px; }
  .chapter-head .article-meta { font-size: 11px; gap: 12px 20px; }
  .chapter-head-visual { width: 100%; }
  .chapter-head:has(.chapter-living-art) .chapter-head-visual { height: 285px; }
  .chapter-layout, .experiment-layout { width: calc(100% - 40px); gap: 28px; }
  .chapter-intro { font-size: 21px; }
  .reading-section-heading h2 { font-size: 31px; }
  .idea-panel { padding: 25px 24px 25px 45px; }
  .chapter-reading h3 { font-size: 26px; }
  .chapter-reading table { font-size: 14px; }
  .experiment-instructions { width: 100%; }
  .experiment-instructions ol { display: block; }
  .experiment-instructions li { display: flex; margin-bottom: 14px; }
  .library-heading { align-items: stretch; }
  .source-group > ol, .source-group > ul { grid-template-columns: 1fr; }
  .source-group .idea-panel { width: 100%; margin-right: 0; }
  .footer-inner { gap: 25px; }
  .footer-brand { font-size: 22px; }
  .footer-brand small, .footer-links, .footer-bottom { font-size: 13px; }
}

/* All decorative motion shares the existing single pause preference. */
.motion-paused *, .motion-paused *::before, .motion-paused *::after,
.visuals-sleep *, .visuals-sleep *::before, .visuals-sleep *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .art-depth { transform: none !important; transition: none !important; }
}

/* Explicit nested roles must not retain the former miniature base sizes. */
.site-title > span { font-size: clamp(12px, .64vw, 21px); }
.footer-bottom > span:last-child { font-size: var(--label-size); }
.chapter-reading table th { font-size: inherit; }
.round-counter, .stats-bar .lbl { font-size: var(--label-size); }
#prompt-text { font-size: clamp(27px, 1.2vw, 42px); }
.choice-btn { font-size: var(--interface-size); min-height: 72px; }
.prediction-display, .next-btn, .reset-btn { font-size: var(--interface-size); }
.stats-bar .val { font-size: clamp(35px, 1.5vw, 52px); }
@media (max-width: 600px) {
  .site-title > span { font-size: 10px; }
  .site-title > span > span { font-size: 9px; }
  .choice-btn { min-height: 60px; }
  #prompt-text { font-size: 26px; }
}

.hero-resolution .star-word { margin-right: .06em; }

@media (min-width: 901px) {
  .chapter-layout, .experiment-layout {
    font-size: var(--reading-size);
    max-width: calc(72ch + clamp(260px, 13vw, 440px) + clamp(50px, 3vw, 105px));
  }
  .chapter-head:has(.chapter-living-art) .chapter-head-inner { position: relative; isolation: isolate; }
  .chapter-head:has(.chapter-living-art) .chapter-head-visual {
    position: absolute;
    left: 22%; right: -10%; top: -15%;
    width: 88%; height: 130%;
    z-index: 0;
    pointer-events: none;
  }
  .chapter-head:has(.chapter-living-art) .chapter-head-inner::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, #050d19e6, #050d1999 38%, transparent 78%), linear-gradient(0deg, #050d19b5, transparent 35%);
  }
  .chapter-head:has(.chapter-living-art) .chapter-living-art { width: 100%; margin-left: 0; }
  .chapter-head:has(.chapter-living-art) .living-art-image { object-fit: cover; mask-image: none; opacity: .68; }
}

@media (min-width: 601px) and (max-width: 1100px) {
  .atlas-node {
    left: clamp(110px, var(--node-x), calc(100% - 110px));
    width: 190px;
    max-width: 190px;
    min-width: 0;
  }
}

/* Fifteen terms per cycle; two equal groups make the seam mathematically exact. */
.concept-stream > div { gap: 0; animation-duration: 165s; }
.ticker-group { display: flex; align-items: center; gap: 48px; padding-right: 48px; flex-shrink: 0; }
@media (max-width: 600px) {
  .ticker-group { gap: 30px; padding-right: 30px; }
}

/* Narrow screens flow copy then artwork; both retain their natural, scrollable height. */
@media (max-width: 900px) {
  .new-hero .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 28px; min-height: 0; }
  .new-hero .hero-copy { width: 100%; position: relative; top: auto; }
  .new-hero::after { background: none; }
  .new-hero .art-stage {
    --brain-width: 120vw; --brain-top: 0px;
    position: relative; left: auto; right: auto; top: auto;
    width: calc(100% + 2 * var(--canvas-edge)); height: calc(80vw + 30px);
    margin-inline: calc(-1 * var(--canvas-edge)); flex: none;
  }
  .new-hero .art-stage .hero-brain { left: 52%; width: var(--brain-width); height: auto; top: var(--brain-top); }
  .scene-scroll-cue { margin-top: 18px; }
}
