:root {
  --otos-orange: #ff6b18;
  --otos-amber: #f5b21f;
  --otos-charcoal: #1b1712;
  --otos-black: #080706;
  --otos-cream: #fbf0db;
  --otos-paper: #f7ead2;
  --otos-warm-grey: #efe5d5;
  --otos-line: rgba(126, 88, 47, 0.16);
  --otos-thread: #ec7a24;
  --otos-thread-soft: rgba(236, 122, 36, 0.18);
  --text-dark: #211912;
  --text-muted: rgba(33, 25, 18, 0.62);
  --text-light: #fff4df;
  --cream-glass: rgba(255, 248, 235, 0.78);
  --border-soft: rgba(60, 43, 25, 0.12);
  --border-amber: rgba(236, 122, 36, 0.24);
  --shadow-soft: 0 24px 80px rgba(61, 37, 13, 0.10);
  --shadow-amber: 0 0 70px rgba(236, 122, 36, 0.22);
  --header-h: 62px;
  --chapter-h: 58px;
  --page-pad: clamp(18px, 4vw, 58px);
  --max-page: 1180px;
  --max-copy: 760px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text-dark);
  background: #f5ead8;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::selection { background: rgba(236, 122, 36, .22); }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--otos-charcoal);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.page-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: .12;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(33, 25, 18, .14) 1px, transparent 1.4px),
    linear-gradient(110deg, transparent, rgba(255,255,255,.16), transparent);
  background-size: 28px 28px, 100% 100%;
  mix-blend-mode: multiply;
}

/* Global PMOS-style header */
.series-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr minmax(170px, 1.2fr) 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--page-pad);
  background: rgba(255, 248, 235, 0.72);
  border-bottom: 1px solid rgba(77, 55, 32, 0.10);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  color: rgba(33, 25, 18, .88);
  transition: background .25s ease, border-color .25s ease;
}
.series-header.is-scrolled {
  background: rgba(255, 248, 235, 0.84);
  border-bottom-color: rgba(77, 55, 32, 0.15);
}
.series-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: 104px;
  text-decoration: none;
  opacity: .92;
}
.series-brand img { width: 104px; height: auto; }
.series-title {
  justify-self: center;
  max-width: min(52vw, 520px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .70rem;
  line-height: 1.2;
  color: rgba(33, 25, 18, .62);
  font-weight: 850;
}
.contents-link {
  justify-self: end;
  border: 0;
  padding: .48rem .62rem;
  border-radius: 999px;
  background: transparent;
  color: rgba(33, 25, 18, .72);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .70rem;
  font-weight: 850;
  cursor: pointer;
}
.contents-link:hover,
.contents-link:focus-visible {
  background: rgba(236, 122, 36, .08);
  color: rgba(33, 25, 18, .92);
  outline: none;
}
:focus-visible {
  outline: 2px solid rgba(236, 122, 36, .62);
  outline-offset: 4px;
}

/* Contents first page */
.contents-page {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(26px, 5vh, 54px)) var(--page-pad) clamp(28px, 5vh, 54px);
  background:
    radial-gradient(circle at 12% 18%, rgba(236, 122, 36, 0.055), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(245, 178, 31, 0.055), transparent 26%),
    linear-gradient(180deg, #f7eddd 0%, #f2e5d2 100%);
}
.contents-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(95deg, transparent 0 44%, rgba(236, 122, 36, .13) 48%, transparent 54%),
    radial-gradient(circle at 2px 2px, rgba(33, 25, 18, .11) 1px, transparent 1.5px);
  background-size: 100% 100%, 30px 30px;
}
.contents-page::after {
  content: "";
  position: absolute;
  left: clamp(18px, 8vw, 120px);
  bottom: 7vh;
  width: min(520px, 56vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 122, 36, .32), transparent);
  transform: rotate(-3deg);
  opacity: .48;
  z-index: -1;
}
.contents-shell {
  width: min(var(--max-page), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(390px, .78fr);
  grid-template-areas:
    "intro list"
    "actions list";
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}
.contents-intro { grid-area: intro; align-self: center; padding-top: 1.2vh; }
.series-kicker,
.section-kicker {
  margin: 0 0 1.05rem;
  color: rgba(236, 122, 36, .86);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 900;
}
.contents-intro h1 {
  margin: 0 0 clamp(1rem, 3vh, 1.8rem);
  max-width: 9ch;
  color: #1f1710;
  font-size: clamp(3.25rem, 7.3vw, 6.9rem);
  line-height: .88;
  letter-spacing: -.07em;
  font-weight: 850;
  text-wrap: balance;
}
.contents-intro h1 span { display: block; }
.intro-lede,
.intro-support {
  max-width: 57ch;
  margin: 0 0 .85rem;
  color: rgba(33, 25, 18, .70);
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}
.intro-lede { color: rgba(33, 25, 18, .82); }
.module-list {
  grid-area: list;
  border-top: 1px solid rgba(33, 25, 18, .16);
  align-self: start;
}
.module-row {
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  align-items: center;
  min-height: 48px;
  gap: 1rem;
  border-bottom: 1px solid rgba(33, 25, 18, .115);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.module-row:hover,
.module-row:focus-visible {
  color: rgba(174, 76, 21, .98);
  background: linear-gradient(90deg, rgba(236, 122, 36, .045), transparent 75%);
  transform: translateX(2px);
}
.module-number {
  color: rgba(33, 25, 18, .44);
  font-size: .78rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.module-text { display: flex; flex-direction: column; gap: .16rem; min-width: 0; }
.module-text strong {
  font-size: .98rem;
  color: currentColor;
  font-weight: 770;
  letter-spacing: -.012em;
}
.module-text em {
  font-style: normal;
  color: rgba(33, 25, 18, .42);
  font-size: .73rem;
  letter-spacing: .03em;
}
.module-arrow {
  justify-self: end;
  color: rgba(33, 25, 18, .34);
  transition: transform .18s ease, color .18s ease;
}
.module-row:hover .module-arrow,
.module-row:focus-visible .module-arrow { transform: translateX(2px); color: rgba(236, 122, 36, .72); }
.contents-actions {
  grid-area: actions;
  align-self: end;
  margin-top: clamp(1rem, 4vh, 3rem);
}
.begin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .84rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 122, 36, .36);
  background: rgba(255, 248, 235, .52);
  box-shadow: 0 14px 48px rgba(61, 37, 13, .06);
  text-decoration: none;
  color: rgba(33, 25, 18, .88);
  font-weight: 850;
  letter-spacing: -.01em;
}
.begin-button:hover,
.begin-button:focus-visible { background: rgba(236, 122, 36, .08); color: rgba(155, 63, 16, 1); }
.footer-note {
  max-width: 52ch;
  margin: 1rem 0 0;
  color: rgba(33, 25, 18, .44);
  font-size: .82rem;
  line-height: 1.55;
}

/* Reading state and chapter navigation */
.reader-page {
  position: relative;
  background: #f4e7d2;
  padding-top: var(--header-h);
}
.reader-page::before {
  content: "";
  display: block;
  height: clamp(34px, 6vh, 70px);
  background:
    linear-gradient(90deg, transparent, rgba(236, 122, 36, .30), transparent),
    linear-gradient(180deg, #f2e5d2, #f8eddb);
  background-size: 72% 1px, 100% 100%;
  background-repeat: no-repeat;
  background-position: center 58%, center;
}
.chapter-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  display: flex;
  gap: .4rem;
  align-items: center;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: .62rem var(--page-pad);
  min-height: var(--chapter-h);
  background: rgba(255, 249, 237, .80);
  backdrop-filter: blur(16px) saturate(1.04);
  -webkit-backdrop-filter: blur(16px) saturate(1.04);
  border-top: 1px solid rgba(77, 55, 32, .08);
  border-bottom: 1px solid rgba(77, 55, 32, .105);
}
.chapter-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 34px;
  padding: .36rem .62rem .36rem .38rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(33, 25, 18, .55);
  font-size: .78rem;
  font-weight: 770;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.chapter-nav a span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(33, 25, 18, .14);
  color: rgba(33, 25, 18, .50);
  font-size: .70rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.chapter-nav a:hover,
.chapter-nav a:focus-visible { background: rgba(236, 122, 36, .065); color: rgba(33, 25, 18, .85); }
.chapter-nav a.is-active { color: rgba(33, 25, 18, .92); background: rgba(255, 255, 255, .42); }
.chapter-nav a.is-active span { background: rgba(236, 122, 36, .88); color: #fff9ec; border-color: transparent; }
.reading-flow { position: relative; }

/* Module baseline and atmosphere family */
.read-section {
  --section-bg: linear-gradient(180deg, #f8eddb, #f2e5d2);
  --section-ink: var(--text-dark);
  --section-muted: var(--text-muted);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(620px, 84svh, 960px);
  padding: clamp(6rem, 10vw, 9.5rem) var(--page-pad);
  color: var(--section-ink);
  background: var(--section-bg);
  scroll-margin-top: calc(var(--header-h) + var(--chapter-h) + 26px);
}
.read-section::before,
.read-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.read-section::before {
  inset: 0;
  opacity: .08;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(33, 25, 18, .20) 1px, transparent 1.35px),
    linear-gradient(105deg, transparent 10%, rgba(236, 122, 36, .22), transparent 46%);
  background-size: 34px 34px, 100% 100%;
}
.read-section::after {
  width: min(660px, 68vw);
  height: 1px;
  left: 12vw;
  bottom: 11%;
  background: linear-gradient(90deg, transparent, rgba(236, 122, 36, .26), rgba(245, 178, 31, .16), transparent);
  transform: rotate(-4deg);
  opacity: .36;
}
.read-grid {
  width: min(var(--max-page), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(310px, .66fr);
  gap: clamp(2rem, 6vw, 5.8rem);
  align-items: center;
}
.read-grid--reverse { grid-template-columns: minmax(310px, .66fr) minmax(0, .92fr); }
.read-grid--reverse .section-copy { grid-column: 2; }
.read-grid--reverse .simple-visual { grid-column: 1; grid-row: 1; }
.section-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max-copy);
}
.section-copy--narrow { width: min(var(--max-copy), 100%); margin: 0 auto 2rem; }
.section-copy--center { width: min(900px, 100%); margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.section-copy h2 {
  margin: 0 0 1.25rem;
  max-width: 13ch;
  font-size: clamp(2.35rem, 5.5vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.061em;
  text-wrap: balance;
}
.section-copy--center h2 { margin-inline: auto; max-width: 16ch; }
p { font-size: clamp(1rem, 1.18vw, 1.14rem); line-height: 1.7; }
.section-copy p:not(.section-kicker) { color: var(--section-muted); margin: 0 0 1rem; }
.large-copy {
  color: rgba(33, 25, 18, .86) !important;
  font-size: clamp(1.16rem, 1.9vw, 1.65rem);
  line-height: 1.42;
  letter-spacing: -.025em;
  font-weight: 760;
}
.fineprint { font-size: .9rem; color: rgba(33,25,18,.48) !important; }
.boundary-strip {
  position: relative;
  z-index: 3;
  width: min(930px, 100%);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border-amber);
  border-radius: 16px;
  background: rgba(255, 249, 238, .58);
  color: rgba(33, 25, 18, .72);
  box-shadow: 0 18px 60px rgba(61, 37, 13, .07);
  backdrop-filter: blur(12px);
  font-weight: 700;
  line-height: 1.55;
}
.boundary-strip--strong {
  background: rgba(33, 25, 18, .92);
  color: rgba(255, 244, 222, .92);
  border-color: rgba(33, 25, 18, .28);
  text-align: center;
}
.single-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-left: 2px solid rgba(236, 122, 36, .62);
  background: rgba(255, 249, 237, .44);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 18px 56px rgba(61,37,13,.08);
}
.single-card p {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: -.045em;
  font-weight: 850;
  color: rgba(33, 25, 18, .88);
}

/* Light editorial modules: 01, 02, 03, 05, 07, 08 */
.read-section--opening,
.read-section--plain,
.read-section--ink,
.read-section--split {
  --section-bg:
    radial-gradient(circle at 86% 18%, rgba(236, 122, 36, .06), transparent 24%),
    linear-gradient(180deg, #f8eddb 0%, #f3e5cf 100%);
}
.thread-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background:
    linear-gradient(112deg, transparent 16%, rgba(236, 122, 36, .14) 45%, transparent 64%),
    radial-gradient(circle at 70% 32%, rgba(245, 178, 31, .10), transparent 25%);
}
.thread-field span,
.simple-visual::after,
.separate-services::before,
.quiet-list::before,
.info-grid::before,
.is-not-split::before {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 122, 36, .56), rgba(245, 178, 31, .34), transparent);
  box-shadow: 0 0 16px rgba(236,122,36,.14);
  pointer-events: none;
}
.thread-field span { left: 14%; right: 15%; top: 45%; transform: rotate(-8deg); }
.simple-visual {
  min-height: 360px;
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(33,25,18,.10);
  background:
    radial-gradient(circle at 46% 48%, rgba(236,122,36,.16), transparent 19%),
    rgba(255, 249, 237, .38);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.simple-visual span:first-child,
.simple-visual span:nth-child(2) {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(236,122,36,.22);
}
.simple-visual span:first-child { width: 38%; aspect-ratio: 1; left: 20%; top: 28%; }
.simple-visual span:nth-child(2) { width: 58%; aspect-ratio: 1; right: 9%; top: 19%; border-color: rgba(33,25,18,.11); }
.simple-visual strong {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  color: rgba(33,25,18,.58);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}
.simple-visual::after { left: -10%; right: -8%; top: 57%; transform: rotate(-17deg); opacity: .52; }
.separate-services {
  min-height: 420px;
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(33,25,18,.10);
  background: rgba(255,249,237,.36);
  box-shadow: var(--shadow-soft);
}
.separate-services::before { left: 13%; right: 13%; top: 56%; opacity: .23; transform: rotate(8deg); }
.svc,
.outer-service {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  padding: .65rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(33,25,18,.12);
  background: rgba(255, 249, 237, .72);
  color: rgba(33,25,18,.70);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 36px rgba(61,37,13,.08);
}
.svc-1 { left: 10%; top: 13%; }
.svc-2 { right: 9%; top: 17%; }
.svc-3 { left: 7%; top: 45%; }
.svc-4 { right: 7%; top: 48%; }
.svc-5 { left: 18%; bottom: 12%; }
.svc-6 { right: 16%; bottom: 11%; }
.person-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(33,25,18,.90);
  color: var(--text-light);
  font-weight: 850;
  box-shadow: 0 0 0 16px rgba(236,122,36,.08), var(--shadow-amber);
}
.quiet-list {
  position: relative;
  display: grid;
  gap: .7rem;
}
.quiet-list::before { left: -8%; right: 8%; top: 50%; opacity: .24; transform: rotate(-8deg); }
.quiet-list p {
  margin: 0;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid rgba(33,25,18,.12);
  color: rgba(33,25,18,.78);
  font-weight: 760;
  background: rgba(255,249,237,.32);
  border-radius: 12px 12px 0 0;
}

/* Cocoon centrepiece */
.read-section--cocoon {
  --section-bg:
    radial-gradient(circle at 50% 52%, rgba(245, 178, 31, .18), transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(236, 122, 36, .10), transparent 38%),
    linear-gradient(180deg, #f8eddb 0%, #f4e1bf 100%);
  min-height: 100svh;
}
.read-section--cocoon::before { opacity: .06; }
.cocoon-diagram {
  width: min(1060px, 100%);
  min-height: 650px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(236,122,36,.20);
  background:
    radial-gradient(circle at 50% 52%, rgba(245,178,31,.24), transparent 26%),
    radial-gradient(circle at 50% 52%, rgba(255,249,237,.80), transparent 42%),
    rgba(255, 249, 237, .36);
  box-shadow: var(--shadow-soft), inset 0 0 120px rgba(245,178,31,.09);
  overflow: hidden;
}
.cocoon-diagram::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(560px, 58vw);
  height: min(390px, 42vw);
  transform: translate(-50%, -50%) rotate(-5deg);
  border-radius: 50%;
  border: 2px solid rgba(236, 122, 36, .58);
  box-shadow: 0 0 36px rgba(236,122,36,.20), inset 0 0 50px rgba(245,178,31,.11);
}
.cocoon-diagram::after {
  content: "";
  position: absolute;
  left: 31%;
  right: 29%;
  top: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(236,122,36,.86), rgba(245,178,31,.72), transparent);
  transform: rotate(-20deg);
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(236,122,36,.35);
}
.cocoon-ring {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(440px, 46vw);
  height: min(300px, 32vw);
  transform: translate(-50%, -50%) rotate(12deg);
  border-radius: 50%;
  border: 1px dashed rgba(236,122,36,.40);
  box-shadow: inset 0 0 44px rgba(245,178,31,.10);
}
.cocoon-person {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #211912;
  color: var(--text-light);
  font-weight: 900;
  box-shadow: 0 0 0 18px rgba(236,122,36,.11), 0 0 70px rgba(236,122,36,.28);
  z-index: 3;
}
.cocoon-core-line {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  z-index: 4;
  width: min(640px, calc(100% - 42px));
  text-align: center;
  color: rgba(33,25,18,.86);
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -.045em;
  font-weight: 900;
}
.cocoon-label {
  position: absolute;
  z-index: 5;
  padding: .42rem .58rem;
  border-radius: 999px;
  border: 1px solid rgba(33,25,18,.12);
  background: rgba(255, 249, 237, .72);
  color: rgba(33,25,18,.58);
  font-size: .69rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .10em;
}
.label-person { left: 50%; top: 39%; transform: translateX(-50%); }
.label-layer { left: 50%; top: 27%; transform: translateX(-50%); border-color: rgba(236,122,36,.28); color: rgba(171,69,17,.82); }
.label-services { left: 2rem; top: 2rem; }
.label-boundary { right: 2rem; top: 2rem; }
.label-no-epr { left: 2rem; bottom: 2rem; }
.label-no-pipe { right: 2rem; bottom: 2rem; }
.os-1 { left: 17%; top: 18%; }
.os-2 { right: 14%; top: 20%; }
.os-3 { left: 8%; top: 47%; }
.os-4 { right: 8%; top: 47%; }
.os-5 { left: 18%; bottom: 24%; }
.os-6 { right: 18%; bottom: 24%; }

/* Medication signature atmosphere - approved style preserved */
.read-section--medication {
  --section-ink: var(--text-light);
  --section-muted: rgba(255, 244, 222, .74);
  --section-bg:
    radial-gradient(circle at 78% 42%, rgba(255, 191, 72, .28), transparent 23%),
    radial-gradient(circle at 17% 20%, rgba(236, 122, 36, .22), transparent 30%),
    linear-gradient(125deg, #080706 0%, #17100c 44%, #5b2b10 74%, #f4a72e 145%);
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.read-section--medication::before {
  opacity: .11;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255,244,222,.28) 1px, transparent 1.5px),
    linear-gradient(110deg, transparent, rgba(245,178,31,.22), transparent);
}
.read-section--medication::after { display: none; }
.medication-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.paper-stack {
  position: absolute;
  right: clamp(6vw, 10vw, 13vw);
  top: 16%;
  width: min(470px, 42vw);
  height: min(620px, 58vw);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255,249,237,.18), rgba(255,249,237,.035)),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02));
  border: 1px solid rgba(255,249,237,.18);
  box-shadow: 0 40px 130px rgba(0,0,0,.22), inset 0 0 80px rgba(255,249,237,.04);
  transform: rotate(5deg);
}
.paper-stack::before,
.paper-stack::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(255,249,237,.17);
}
.paper-stack::before { top: 23%; box-shadow: 0 62px 0 rgba(255,249,237,.12), 0 124px 0 rgba(255,249,237,.09); }
.paper-stack::after { bottom: 18%; }
.stable-thread {
  position: absolute;
  left: 8%;
  right: 0;
  top: 51%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(236,122,36,.38), rgba(245,178,31,.94), rgba(255,244,222,.78), transparent);
  box-shadow: 0 0 32px rgba(236,122,36,.55);
  transform: rotate(-7deg);
}
.warm-door {
  position: absolute;
  right: -7vw;
  top: 24%;
  width: 28vw;
  height: 64%;
  background: radial-gradient(ellipse at center, rgba(255,227,161,.40), rgba(245,178,31,.12) 42%, transparent 70%);
  filter: blur(2px);
}
.read-section--medication .section-copy {
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - var(--max-page)) / 2));
}
.read-section--medication .section-copy h2 {
  max-width: 10ch;
  color: var(--text-light);
}
.read-section--medication .large-copy { color: #ffe3a1 !important; }
.read-section--medication .boundary-strip {
  margin-left: max(var(--page-pad), calc((100vw - var(--max-page)) / 2));
  margin-right: auto;
  width: min(760px, calc(100% - (var(--page-pad) * 2)));
  background: rgba(255,244,222,.10);
  color: rgba(255,244,222,.82);
  border-color: rgba(255,244,222,.16);
}

/* Definition and boundary */
.info-grid {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}
.info-grid::before { left: 4%; right: 4%; top: 50%; opacity: .16; }
.info-grid div {
  min-height: 128px;
  display: flex;
  align-items: end;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(33,25,18,.105);
  background: rgba(255,249,237,.48);
  color: rgba(33,25,18,.76);
  font-weight: 850;
  box-shadow: 0 14px 42px rgba(61,37,13,.055);
}
.is-not-split {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(33,25,18,.10);
}
.is-not-split::before { left: -7%; right: -7%; top: 50%; opacity: .12; }
.is-not-split > div { padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.is-not-split > div:first-child { background: rgba(255, 249, 237, .64); }
.is-not-split > div:last-child { background: #17120e; color: var(--text-light); }
.is-not-split h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  letter-spacing: -.04em;
}
ul { margin: 0; padding-left: 1.1rem; }
li { margin: .58rem 0; color: inherit; line-height: 1.48; }
.is-not-split li { color: rgba(33,25,18,.72); }
.is-not-split > div:last-child li { color: rgba(255,244,222,.74); }

/* Formal proof family: 09-12 */
.read-section--evidence,
.read-section--timeline,
.read-section--route,
.read-section--test {
  --section-bg:
    radial-gradient(circle at 14% 18%, rgba(236, 122, 36, .045), transparent 30%),
    linear-gradient(180deg, #fbf1e1, #f4e8d3);
  min-height: auto;
}
.read-section--evidence::before,
.read-section--timeline::before,
.read-section--route::before,
.read-section--test::before { opacity: .045; }
.read-section--evidence::after,
.read-section--timeline::after,
.read-section--route::after,
.read-section--test::after { opacity: .16; }
.evidence-grid,
.formal-grid,
.test-metrics {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  gap: .9rem;
}
.evidence-grid { grid-template-columns: repeat(3, 1fr); }
.evidence-grid article,
.formal-grid div,
.test-metrics div {
  border: 1px solid rgba(33,25,18,.105);
  border-radius: 18px;
  background: rgba(255,255,255,.42);
  box-shadow: 0 14px 40px rgba(61,37,13,.055);
}
.evidence-grid article { padding: 1.2rem; min-height: 180px; display: grid; align-content: space-between; }
.evidence-grid span {
  color: rgba(236, 122, 36, .76);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .66rem;
  font-weight: 900;
}
.evidence-grid p { margin: 1rem 0 0; color: rgba(33,25,18,.72); font-weight: 720; }
.more-evidence {
  width: min(1040px, 100%);
  margin: 1rem auto 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(33,25,18,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.28);
  color: rgba(33,25,18,.60);
}
.more-evidence summary { cursor: pointer; font-weight: 850; color: rgba(33,25,18,.70); }
.more-evidence p { margin: .7rem 0 0; font-size: .95rem; color: rgba(33,25,18,.56); }
.record-timeline {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
  counter-reset: record;
  position: relative;
}
.record-timeline::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 33px;
  height: 1px;
  background: linear-gradient(90deg, rgba(236,122,36,.24), rgba(33,25,18,.10), rgba(236,122,36,.24));
}
.record-timeline li {
  counter-increment: record;
  position: relative;
  margin: 0;
  min-height: 150px;
  padding: 4.2rem .85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(33,25,18,.105);
  background: rgba(255,255,255,.38);
  box-shadow: 0 14px 40px rgba(61,37,13,.05);
}
.record-timeline li::before {
  content: counter(record, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff8ec;
  border: 1px solid rgba(236,122,36,.24);
  color: rgba(33,25,18,.60);
  font-size: .72rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.record-timeline li:nth-child(4) { border-color: rgba(236,122,36,.30); background: rgba(255,249,237,.58); }
.record-timeline li:nth-child(5) { background: rgba(33,25,18,.92); color: var(--text-light); }
.record-timeline span { display: block; text-align: center; font-weight: 850; line-height: 1.35; color: inherit; }
.formal-badge {
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0 auto 1.3rem;
  padding: .52rem .78rem;
  border-radius: 999px;
  background: rgba(33,25,18,.92);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .68rem;
  font-weight: 900;
}
.formal-grid { grid-template-columns: repeat(3, 1fr); }
.formal-grid div { min-height: 92px; display: grid; place-items: center; padding: 1rem; text-align: center; font-weight: 850; color: rgba(33,25,18,.70); }
.not-strip,
.test-notes {
  width: min(1040px, 100%);
  margin: 1rem auto 0;
  padding: .85rem 1rem;
  border-top: 1px solid rgba(33,25,18,.12);
  border-bottom: 1px solid rgba(33,25,18,.12);
  text-align: center;
  color: rgba(33,25,18,.52);
  font-weight: 850;
  letter-spacing: .04em;
}
.test-metrics { grid-template-columns: repeat(3, 1fr); }
.test-metrics div { min-height: 150px; padding: 1.1rem; display: grid; align-content: center; }
.test-metrics strong { display: block; color: rgba(236,122,36,.92); font-size: clamp(2rem, 4vw, 4.1rem); line-height: .9; letter-spacing: -.06em; }
.test-metrics span { display: block; margin-top: .5rem; color: rgba(33,25,18,.64); font-weight: 820; }

/* Held-back gated atmosphere */
.read-section--heldback {
  --section-ink: var(--text-light);
  --section-muted: rgba(255, 244, 222, .70);
  --section-bg:
    radial-gradient(circle at 70% 46%, rgba(236,122,36,.22), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(245,178,31,.10), transparent 28%),
    linear-gradient(130deg, #070605 0%, #16100c 55%, #080706 100%);
  min-height: 100svh;
  display: grid;
  place-items: center;
}
.read-section--heldback::before {
  opacity: .08;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,244,222,.24) 1px, transparent 1.4px);
  background-size: 34px 34px;
}
.read-section--heldback::after {
  left: 5%; right: 3%; width: auto; top: 50%; bottom: auto; height: 3px;
  opacity: .55;
  background: linear-gradient(90deg, transparent, rgba(236,122,36,.62), rgba(245,178,31,.45), transparent);
  box-shadow: 0 0 42px rgba(236,122,36,.35);
  transform: rotate(-8deg);
}
.blurred-schematic {
  position: absolute;
  inset: 6%;
  z-index: -1;
  opacity: .38;
  filter: blur(7px);
  background:
    radial-gradient(circle at 50% 50%, rgba(236,122,36,.19) 0 12%, transparent 13%),
    radial-gradient(circle at 18% 24%, rgba(255,249,237,.14) 0 7%, transparent 8%),
    radial-gradient(circle at 82% 24%, rgba(255,249,237,.12) 0 7%, transparent 8%),
    radial-gradient(circle at 18% 78%, rgba(255,249,237,.12) 0 7%, transparent 8%),
    radial-gradient(circle at 82% 78%, rgba(255,249,237,.12) 0 7%, transparent 8%);
}
.locked-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.7rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,244,222,.17);
  background: rgba(255, 244, 222, .09);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px rgba(0,0,0,.20), inset 0 0 80px rgba(255,244,222,.035);
}
.locked-card h2 { color: var(--text-light); max-width: 14ch; }
.locked-card p:not(.section-kicker) { color: rgba(255,244,222,.72); }
.locked-card > span { display: block; margin-top: .9rem; color: rgba(255,244,222,.50); font-size: .86rem; }
.cta-card {
  display: inline-flex;
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(245,178,31,.28);
  background: rgba(255,244,222,.08);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 850;
}
.cta-card:hover,
.cta-card:focus-visible { background: rgba(245,178,31,.13); }

/* Closing dawn atmosphere */
.read-section--closing {
  --section-bg:
    radial-gradient(circle at 78% 30%, rgba(245,178,31,.24), transparent 29%),
    linear-gradient(120deg, #f6e8d0 0%, #fff5e1 50%, #f0bd72 135%);
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.read-section--closing::before { opacity: .04; }
.read-section--closing::after { display: none; }
.closing-thread {
  position: absolute;
  left: -12vw;
  right: -12vw;
  top: 57%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(236,122,36,.38), rgba(245,178,31,.60), rgba(255,249,237,.72), transparent);
  box-shadow: 0 0 38px rgba(236,122,36,.28);
  transform: rotate(-6deg);
  z-index: -1;
}
.read-section--closing .section-copy h2 { max-width: 15ch; }
.read-section--closing .section-copy p:not(.section-kicker) {
  color: rgba(33,25,18,.72);
  font-weight: 850;
}
.reader-footer {
  width: min(900px, 100%);
  margin: 2.2rem auto 0;
  text-align: center;
  color: rgba(33,25,18,.48);
  font-size: .86rem;
}

/* Reveal and motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }



/* P1 visual asset integration: Module 04 SVG cocoon, Module 13 gated schematic, Module 14 route close */
.cocoon-diagram::after { display: none; }
.cocoon-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.cocoon-orbit-svg .orbit-boundary,
.cocoon-orbit-svg .orbit-faint,
.cocoon-orbit-svg .thread-wrap,
.cocoon-orbit-svg .thread-resolve {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.cocoon-orbit-svg .orbit-boundary {
  stroke: rgba(33, 25, 18, .12);
  stroke-width: 1.2;
  stroke-dasharray: 2 11;
}
.cocoon-orbit-svg .orbit-faint {
  stroke: rgba(236, 122, 36, .22);
  stroke-width: 1;
  stroke-dasharray: 8 16;
}
.cocoon-orbit-svg .thread-wrap {
  stroke: rgba(236, 122, 36, .78);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(236, 122, 36, .22));
}
.cocoon-orbit-svg .thread-wrap-b {
  stroke: rgba(245, 178, 31, .46);
  stroke-width: 1.4;
  stroke-dasharray: 14 12;
}
.cocoon-orbit-svg .thread-resolve {
  stroke: rgba(236, 122, 36, .36);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.cocoon-person {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  align-items: center;
  justify-content: center;
}
.cocoon-person .person-symbol {
  position: relative;
  display: block;
  width: 24px;
  height: 34px;
}
.cocoon-person .person-symbol::before,
.cocoon-person .person-symbol::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 244, 222, .94);
}
.cocoon-person .person-symbol::before {
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.cocoon-person .person-symbol::after {
  bottom: 0;
  width: 23px;
  height: 18px;
  border-radius: 16px 16px 8px 8px;
}
.cocoon-person span:last-child {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.outer-service { z-index: 4; }
.cocoon-ring { z-index: 2; }

.read-section--medication .medication-stage::before {
  content: "";
  position: absolute;
  left: 42%;
  top: 18%;
  width: 46vw;
  height: 62vh;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245,178,31,.18), rgba(236,122,36,.06) 44%, transparent 72%);
  filter: blur(18px);
  opacity: .82;
}
.stable-thread::before,
.stable-thread::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
}
.stable-thread::before {
  transform: translateY(-13px) scaleX(.72);
  opacity: .22;
  filter: blur(7px);
}
.stable-thread::after {
  transform: translateY(12px) scaleX(.82);
  opacity: .16;
  filter: blur(8px);
}
.paper-stack {
  transform-origin: center;
}

.blurred-schematic {
  background: none;
  filter: blur(8px);
}
.obscured-map {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  opacity: .82;
}
.obscured-map rect {
  fill: rgba(255, 244, 222, .11);
  stroke: rgba(255, 244, 222, .16);
  stroke-width: 1.1;
}
.obscured-map .obscured-line,
.obscured-map .obscured-thread {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.obscured-map .obscured-line {
  stroke: rgba(255, 244, 222, .14);
  stroke-width: 1.6;
  stroke-dasharray: 10 16;
}
.obscured-map .obscured-line.alt { stroke: rgba(255, 244, 222, .10); }
.obscured-map .obscured-thread {
  stroke: rgba(236, 122, 36, .58);
  stroke-width: 2.8;
  filter: drop-shadow(0 0 18px rgba(236, 122, 36, .34));
}
.read-section--heldback .locked-card {
  position: relative;
  z-index: 3;
}

.closing-thread { display: none; }
.closing-route-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.closing-route {
  position: absolute;
  left: -6vw;
  top: 10%;
  width: 112vw;
  height: 84%;
  opacity: .88;
}
.closing-route path {
  fill: none;
  stroke: rgba(236,122,36,.48);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 22px rgba(236,122,36,.22));
  vector-effect: non-scaling-stroke;
}
.closing-route .route-haze {
  stroke: rgba(245,178,31,.18);
  stroke-width: 18;
  filter: blur(14px);
}
.read-section--closing .section-copy {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 1080px) {
  .contents-shell { grid-template-columns: 1fr; grid-template-areas: "intro" "list" "actions"; gap: 2rem; }
  .contents-intro h1 { font-size: clamp(3.2rem, 11vw, 6rem); max-width: 10ch; }
  .read-grid,
  .read-grid--reverse { grid-template-columns: 1fr; }
  .read-grid--reverse .section-copy,
  .read-grid--reverse .simple-visual { grid-column: auto; grid-row: auto; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-grid,
  .formal-grid,
  .test-metrics { grid-template-columns: repeat(2, 1fr); }
  .record-timeline { grid-template-columns: 1fr; }
  .record-timeline::before { left: 22px; right: auto; top: 24px; bottom: 24px; width: 1px; height: auto; }
  .record-timeline li { min-height: auto; padding: 1.15rem 1rem 1.15rem 4.2rem; }
  .record-timeline li::before { left: 1.5rem; top: 50%; transform: translateY(-50%); }
}

@media (max-width: 720px) {
  :root { --header-h: 58px; --chapter-h: 54px; --page-pad: 16px; }
  .series-header { grid-template-columns: auto 1fr auto; gap: .55rem; }
  .series-brand { width: 82px; }
  .series-brand img { width: 82px; }
  .series-title { font-size: .58rem; letter-spacing: .12em; max-width: 38vw; }
  .contents-link { font-size: .62rem; letter-spacing: .10em; padding-inline: .35rem; }
  .contents-page { padding-top: calc(var(--header-h) + 28px); }
  .contents-intro h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .intro-support { display: none; }
  .module-row { min-height: 46px; grid-template-columns: 34px 1fr 22px; gap: .7rem; }
  .module-text strong { font-size: .92rem; }
  .chapter-nav { padding-block: .54rem; }
  .chapter-nav a { font-size: .72rem; max-width: 230px; }
  .read-section { min-height: auto; padding-top: clamp(4.6rem, 14vw, 6.2rem); padding-bottom: clamp(4.6rem, 14vw, 6.2rem); }
  .section-copy h2 { font-size: clamp(2.2rem, 13vw, 3.8rem); }
  .single-card p { font-size: clamp(1.2rem, 7vw, 1.8rem); }
  .simple-visual,
  .separate-services { min-height: 330px; }
  .svc,
  .outer-service { position: static; min-width: 0; min-height: 40px; font-size: .68rem; padding: .55rem .62rem; }
  .separate-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; padding: 1rem; align-content: center; }
  .person-dot { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; justify-self: center; order: 3; width: 92px; height: 92px; }
  .cocoon-diagram { min-height: 560px; display: grid; grid-template-columns: repeat(2, 1fr); gap: .52rem; align-content: center; padding: 5.8rem 1rem 8.2rem; }
  .cocoon-diagram::before { width: 300px; height: 250px; max-width: 84vw; max-height: 56vw; }
  .cocoon-diagram::after { left: 18%; right: 18%; top: 53%; }
  .cocoon-ring { width: 246px; height: 202px; max-width: 72vw; max-height: 48vw; }
  .cocoon-person { position: absolute; width: 92px; height: 92px; }
  .cocoon-core-line { bottom: 3.7rem; font-size: 1.3rem; }
  .cocoon-label { font-size: .55rem; padding: .34rem .44rem; }
  .label-person { display: none; }
  .label-layer { top: 3.9rem; }
  .label-services { left: 1rem; top: 1rem; }
  .label-boundary { right: 1rem; top: 1rem; }
  .label-no-epr { left: 1rem; bottom: 1rem; }
  .label-no-pipe { right: 1rem; bottom: 1rem; }
  .read-section--medication .section-copy { margin-left: 0; }
  .paper-stack { right: -10vw; top: 18%; width: 72vw; height: 92vw; opacity: .72; }
  .stable-thread { left: -8%; right: -25%; top: 50%; }
  .read-section--medication .boundary-strip { margin-inline: 0; width: 100%; }
  .info-grid,
  .is-not-split,
  .evidence-grid,
  .formal-grid,
  .test-metrics { grid-template-columns: 1fr; }
  .info-grid div { min-height: 78px; }
  .is-not-split { border-radius: 22px; }
  .boundary-strip { border-radius: 14px; }
}

@media (max-width: 420px) {
  .series-title { display: none; }
  .contents-intro h1 { font-size: clamp(2.8rem, 17vw, 4rem); }
  .contents-page::after { width: 84vw; }
  .module-row { min-height: 44px; }
  .module-number { font-size: .70rem; }
  .module-text strong { font-size: .88rem; }
  .module-text em { font-size: .68rem; }
  .read-section--heldback .locked-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .series-header, .chapter-nav, .page-grain { display: none !important; }
  .contents-page, .read-section { min-height: auto; padding: 2rem !important; background: white !important; color: #111 !important; break-inside: avoid; }
  .reader-page { padding-top: 0; }
}

/* ADHD Lens motif + P1 visual asset audit tightening */
.read-section--lens {
  --section-bg:
    radial-gradient(ellipse at 28% 46%, rgba(236,122,36,.075), transparent 28%),
    linear-gradient(180deg, #f8eddb 0%, #f3e5cf 100%);
}
.lens-visual {
  background:
    radial-gradient(ellipse at 46% 49%, rgba(245,178,31,.13), transparent 27%),
    linear-gradient(135deg, rgba(255,249,237,.62), rgba(255,249,237,.26));
  box-shadow: 0 20px 70px rgba(61,37,13,.075);
}
.lens-visual span {
  position: absolute;
  pointer-events: none;
}
.lens-visual .lens-oval {
  width: min(430px, 78%);
  height: min(218px, 52%);
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-7deg);
  border: 1px solid rgba(236,122,36,.28);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(236,122,36,.10), inset 0 0 44px rgba(245,178,31,.08);
}
.lens-visual .lens-aperture {
  width: min(245px, 46%);
  height: min(146px, 32%);
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(9deg);
  border: 1px dashed rgba(33,25,18,.12);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,249,237,.40), transparent 68%);
}
.lens-visual .lens-thread {
  left: -10%;
  right: -10%;
  top: 52%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0 13%, rgba(33,25,18,.17) 18%, rgba(33,25,18,.10) 35%, rgba(236,122,36,.66) 52%, rgba(245,178,31,.50) 72%, transparent 92%);
  transform: rotate(-11deg);
  box-shadow: 0 0 18px rgba(236,122,36,.16);
}
.lens-visual .lens-tangle {
  left: 8%;
  top: 28%;
  width: 37%;
  height: 35%;
  border-radius: 46% 54% 48% 52%;
  border: 1px solid rgba(33,25,18,.075);
  opacity: .75;
  background:
    linear-gradient(24deg, transparent 22%, rgba(33,25,18,.12) 23% 24%, transparent 25%),
    linear-gradient(132deg, transparent 30%, rgba(33,25,18,.10) 31% 32%, transparent 33%),
    linear-gradient(76deg, transparent 42%, rgba(33,25,18,.08) 43% 44%, transparent 45%);
}
.lens-visual::after {
  left: 17%;
  right: 14%;
  top: 55%;
  opacity: .18;
  transform: rotate(-11deg);
}
.lens-visual em {
  position: absolute;
  left: 2rem;
  top: 2rem;
  font-style: normal;
  color: rgba(33,25,18,.72);
  font-weight: 900;
  letter-spacing: -.02em;
}
.lens-visual strong {
  color: rgba(33,25,18,.48);
}
.lens-visual em::after {
  content: "not watching — seeing the pattern correctly";
  display: block;
  margin-top: .38rem;
  max-width: 24ch;
  color: rgba(33,25,18,.45);
  font-size: .72rem;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .02em;
}

/* Module 04: keep cocoon/layer reading stronger than eye/surveillance */
.cocoon-diagram::before {
  width: min(440px, 48vw);
  height: min(500px, 52vw);
  transform: translate(-50%, -50%) rotate(4deg);
  border-radius: 46% 54% 49% 51% / 54% 46% 54% 46%;
  border-color: rgba(236,122,36,.44);
  box-shadow: 0 0 46px rgba(236,122,36,.16), inset 0 0 78px rgba(245,178,31,.12);
}
.cocoon-ring {
  width: min(340px, 38vw);
  height: min(390px, 42vw);
  transform: translate(-50%, -50%) rotate(-3deg);
  border-radius: 47% 53% 50% 50% / 54% 46% 54% 46%;
  border-style: solid;
  border-color: rgba(236,122,36,.30);
}
.cocoon-orbit-svg .orbit-boundary {
  stroke: rgba(33,25,18,.09);
  stroke-width: 1;
}
.cocoon-orbit-svg .orbit-faint {
  stroke: rgba(236,122,36,.16);
  stroke-width: 1;
}
.cocoon-orbit-svg .cocoon-shell {
  fill: rgba(245,178,31,.045);
  stroke: rgba(236,122,36,.26);
  stroke-width: 1.2;
  stroke-dasharray: 5 12;
  vector-effect: non-scaling-stroke;
}
.cocoon-orbit-svg .thread-wrap-c {
  stroke: rgba(236,122,36,.30);
  stroke-width: 1.2;
  stroke-dasharray: 10 16;
}
.cocoon-orbit-svg .thread-resolve { display: none; }
.cocoon-person {
  background: radial-gradient(circle at 50% 38%, #35261b, #1f1710 70%);
  box-shadow: 0 0 0 14px rgba(236,122,36,.10), 0 0 56px rgba(236,122,36,.24);
}
.label-layer::after {
  content: "cocoon";
  margin-left: .35rem;
  color: rgba(33,25,18,.40);
}

/* Module 06: preserve approved atmosphere, tighten thread/document/caveat */
.paper-stack {
  right: clamp(5vw, 11vw, 14vw);
  top: 13%;
  transform: rotate(4deg) translateZ(0);
  opacity: .92;
}
.stable-thread {
  left: 4%;
  right: -4%;
  top: 48%;
  transform: rotate(-6deg);
}
.read-section--medication .section-copy {
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.read-section--medication .boundary-strip {
  background: rgba(28,20,14,.54);
  border-color: rgba(255,244,222,.20);
  box-shadow: 0 20px 80px rgba(0,0,0,.18);
}

/* Module 13: keep schematic visibly gated, not readable as product mechanics */
.read-section--heldback::after {
  opacity: .42;
  filter: blur(.6px);
}
.blurred-schematic {
  opacity: .30;
  filter: blur(12px);
  transform: scale(1.03);
}
.obscured-map rect { opacity: .72; }
.obscured-map .obscured-line { opacity: .58; }
.obscured-map .obscured-thread { opacity: .74; }
.locked-card {
  background: rgba(255,244,222,.105);
  box-shadow: 0 44px 130px rgba(0,0,0,.26), inset 0 0 90px rgba(255,244,222,.045);
}

/* Module 14: strengthen calm dawn route without sales energy */
.read-section--closing {
  --section-bg:
    radial-gradient(circle at 78% 30%, rgba(245,178,31,.22), transparent 30%),
    radial-gradient(ellipse at 62% 76%, rgba(236,122,36,.12), transparent 38%),
    linear-gradient(120deg, #f6e8d0 0%, #fff5e1 52%, #f3c17e 138%);
}
.closing-route {
  top: 6%;
  opacity: .78;
}
.closing-route path {
  stroke: rgba(236,122,36,.42);
  stroke-width: 2.4;
}
.closing-route .route-haze {
  stroke: rgba(245,178,31,.15);
  stroke-width: 20;
}

@media (max-width: 720px) {
  .lens-visual { min-height: 280px; }
  .lens-visual em { left: 1.2rem; top: 1.2rem; }
  .lens-visual strong { left: 1.2rem; bottom: 1.2rem; }
  .lens-visual .lens-oval { width: 84%; height: 48%; }
  .lens-visual .lens-aperture { width: 52%; height: 30%; }
  .cocoon-diagram::before { width: 245px; height: 300px; max-width: 68vw; max-height: 74vw; }
  .cocoon-ring { width: 190px; height: 238px; max-width: 58vw; max-height: 64vw; }
  .cocoon-orbit-svg { opacity: .78; }
  .paper-stack { right: -15vw; top: 12%; width: 76vw; height: 98vw; opacity: .52; }
  .stable-thread { left: -14%; right: -28%; top: 47%; }
  .blurred-schematic { inset: 2%; opacity: .24; }
  .closing-route { left: -38vw; width: 160vw; opacity: .62; }
}

/* Five-module PMOS-equivalent correction */
.contents-shell--five .module-list { align-self: center; }
.chapter-nav--five {
  justify-content: center;
}
.chapter-nav--five a {
  max-width: 260px;
}
.reading-flow--five .read-section--chapter {
  min-height: auto;
  padding-top: clamp(7rem, 10vw, 10rem);
  padding-bottom: clamp(7rem, 10vw, 10rem);
}
.article-band,
.chapter-subsections,
.integrated-stack,
.heldback-panel,
.closing-panel {
  width: min(var(--max-page), 100%);
  margin: clamp(2.2rem, 5vw, 4rem) auto 0;
  position: relative;
  z-index: 3;
}
.article-band,
.chapter-subsection {
  border-top: 1px solid rgba(33,25,18,.12);
  padding-top: clamp(1.2rem, 3vw, 2rem);
}
.article-band h3,
.chapter-subsection h3,
.medication-panel h3,
.locked-card h3,
.closing-panel h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.article-band p,
.chapter-subsection p {
  max-width: 830px;
  color: rgba(33,25,18,.66);
}
.chapter-subsections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.chapter-subsection {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(33,25,18,.11);
  border-radius: 24px;
  background: rgba(255,249,237,.40);
  box-shadow: 0 20px 70px rgba(61,37,13,.055);
}

.reread-visual {
  background:
    radial-gradient(circle at 26% 32%, rgba(33,25,18,.10), transparent 22%),
    radial-gradient(circle at 70% 56%, rgba(236,122,36,.16), transparent 23%),
    rgba(255, 249, 237, .42);
}
.reread-visual::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 50%;
  height: 120px;
  background:
    repeating-linear-gradient(167deg, rgba(33,25,18,.10) 0 1px, transparent 1px 19px),
    linear-gradient(90deg, transparent, rgba(236,122,36,.28), transparent);
  opacity: .48;
  transform: rotate(-8deg);
  border-radius: 999px;
  filter: blur(.2px);
}

.medication-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(var(--max-page), 100%);
  margin: clamp(3rem, 7vw, 5.8rem) auto 0;
  min-height: clamp(520px, 70vh, 780px);
  display: grid;
  align-content: center;
  padding: clamp(2.2rem, 6vw, 5rem);
  border-radius: clamp(24px, 4vw, 42px);
  color: var(--text-light);
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 191, 72, .28), transparent 23%),
    radial-gradient(circle at 17% 20%, rgba(236, 122, 36, .22), transparent 30%),
    linear-gradient(125deg, #080706 0%, #17100c 44%, #5b2b10 74%, #f4a72e 145%);
  box-shadow: 0 40px 140px rgba(51,31,14,.18);
}
.medication-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .11;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255,244,222,.28) 1px, transparent 1.5px),
    linear-gradient(110deg, transparent, rgba(245,178,31,.22), transparent);
  background-size: 34px 34px, 100% 100%;
}
.medication-panel .section-copy {
  width: min(690px, 100%);
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.medication-panel .section-copy h3 {
  max-width: 11ch;
  color: var(--text-light);
}
.medication-panel .section-copy p:not(.section-kicker) { color: rgba(255,244,222,.75); }
.medication-panel .large-copy { color: #ffe3a1 !important; }
.medication-panel .boundary-strip {
  margin: clamp(1.8rem, 4vw, 3rem) 0 0;
  width: min(760px, 100%);
  background: rgba(28,20,14,.54);
  color: rgba(255,244,222,.82);
  border-color: rgba(255,244,222,.20);
  box-shadow: 0 20px 80px rgba(0,0,0,.18);
}
.medication-panel .paper-stack { right: clamp(3vw, 8vw, 9vw); top: 9%; }
.medication-panel .stable-thread { left: -5%; right: -3%; top: 50%; }
.medication-panel .warm-door { right: -8vw; }

.evidence-grid--chapter {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max-page), 100%);
  margin-top: clamp(2.2rem, 5vw, 4rem);
}

.dual-screen {
  width: min(var(--max-page), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}
.dual-panel {
  position: relative;
  padding: clamp(1.4rem, 3.6vw, 2.6rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(33,25,18,.11);
  background: rgba(255,249,237,.54);
  box-shadow: 0 22px 74px rgba(61,37,13,.065);
}
.dual-panel--amber {
  background:
    radial-gradient(circle at 90% 18%, rgba(236,122,36,.12), transparent 28%),
    rgba(255,249,237,.58);
  border-color: rgba(236,122,36,.20);
}
.dual-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(33,25,18,.88);
  color: var(--text-light);
  font-weight: 900;
  font-size: .8rem;
  margin-bottom: 1rem;
}
.dual-panel--amber .dual-number { background: rgba(236,122,36,.86); }
.dual-panel h3 { margin: 0 0 .8rem; font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.dual-panel p,
.dual-panel li { color: rgba(33,25,18,.66); }
.dual-bridge {
  align-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(236,122,36,.10);
  color: rgba(236,122,36,.78);
  font-weight: 900;
}

.read-section--integrated {
  padding-bottom: 0;
}
.read-section--integrated .cocoon-diagram { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.integrated-stack {
  display: grid;
  gap: clamp(1.3rem, 3vw, 2rem);
}
.info-grid--compact { width: 100%; margin-top: 1.2rem; }
.info-grid--compact div { min-height: 104px; }
.chapter-subsection .is-not-split { width: 100%; margin-top: 1.2rem; }
.chapter-subsection .boundary-strip { width: 100%; }
.formal-practice {
  background:
    radial-gradient(circle at 92% 20%, rgba(236,122,36,.06), transparent 25%),
    rgba(255,249,237,.58);
}
.formal-practice .formal-grid,
.formal-practice .test-metrics { margin-top: 1.2rem; }
.heldback-panel {
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 68% 32%, rgba(236,122,36,.19), transparent 28%),
    linear-gradient(135deg, #090706 0%, #15100c 54%, #321707 135%);
  box-shadow: 0 34px 120px rgba(51,31,14,.20);
  isolation: isolate;
}
.heldback-panel .blurred-schematic {
  position: absolute;
  inset: 4%;
  opacity: .34;
  filter: blur(12px);
  transform: scale(1.04);
  z-index: 0;
}
.heldback-panel .locked-card {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 2rem));
}
.closing-panel {
  min-height: clamp(520px, 70vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(245,178,31,.22), transparent 30%),
    radial-gradient(ellipse at 62% 76%, rgba(236,122,36,.12), transparent 38%),
    linear-gradient(120deg, #f6e8d0 0%, #fff5e1 52%, #f3c17e 138%);
  isolation: isolate;
}
.closing-panel .section-copy h3 {
  max-width: 16ch;
  margin-inline: auto;
}
.closing-panel .reader-footer {
  position: absolute;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: 1.2rem;
}

@media (max-width: 880px) {
  .chapter-subsections,
  .dual-screen,
  .evidence-grid--chapter {
    grid-template-columns: 1fr;
  }
  .dual-bridge {
    margin: -.3rem auto;
    transform: rotate(90deg);
  }
  .info-grid--compact { grid-template-columns: 1fr; }
  .medication-panel { padding: 2rem; }
}
@media (max-width: 720px) {
  .chapter-nav--five { justify-content: flex-start; }
  .chapter-nav--five a { max-width: 240px; }
  .article-band,
  .chapter-subsections,
  .integrated-stack,
  .heldback-panel,
  .closing-panel { margin-top: 2rem; }
  .medication-panel { border-radius: 26px; min-height: 560px; }
  .medication-panel .paper-stack { right: -12vw; top: 10%; width: 74vw; height: 98vw; opacity: .54; }
  .medication-panel .stable-thread { left: -18%; right: -32%; top: 46%; }
  .dual-panel { padding: 1.25rem; }
}

/* --------------------------------------------------------------------------
   Static OTOS atmosphere + scrolling editorial glass pass
   -------------------------------------------------------------------------- */
main { position: relative; z-index: 2; }
.static-atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.48), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(236,122,36,.045), transparent 28%),
    linear-gradient(180deg, #f8eedf 0%, #f1e3cf 54%, #f7eddd 100%);
  transition: background 900ms ease, filter 900ms ease;
}
.static-atmosphere::before,
.static-atmosphere::after {
  content: "";
  position: absolute;
  inset: -8%;
  opacity: .18;
  transition: opacity 900ms ease, transform 900ms ease, background 900ms ease;
}
.static-atmosphere::before {
  background-image:
    radial-gradient(circle at 2px 2px, rgba(33,25,18,.105) 1px, transparent 1.45px),
    linear-gradient(112deg, transparent 0 38%, rgba(236,122,36,.095) 46%, transparent 58%);
  background-size: 34px 34px, 100% 100%;
  transform: rotate(-.7deg) scale(1.02);
}
.static-atmosphere::after {
  background:
    radial-gradient(ellipse at 56% 48%, rgba(255,249,237,.34), transparent 20%),
    radial-gradient(ellipse at 56% 48%, rgba(236,122,36,.075), transparent 38%),
    linear-gradient(90deg, transparent, rgba(236,122,36,.055), transparent);
  opacity: .32;
}
.atmo-thread,
.atmo-lens,
.atmo-cocoon,
.atmo-route {
  position: absolute;
  display: block;
  transition: opacity 900ms ease, transform 900ms ease, width 900ms ease, height 900ms ease, border-color 900ms ease;
}
.atmo-thread {
  left: -12vw;
  right: -12vw;
  height: 1px;
  background: linear-gradient(90deg, transparent 7%, rgba(33,25,18,.12) 18%, rgba(236,122,36,.19) 48%, rgba(245,178,31,.14) 68%, transparent 92%);
  box-shadow: 0 0 28px rgba(236,122,36,.10);
  opacity: .22;
  transform-origin: center;
}
.atmo-thread-a { top: 40%; transform: rotate(-7deg); }
.atmo-thread-b { top: 62%; transform: rotate(4deg); opacity: .10; }
.atmo-lens {
  left: 49%;
  top: 46%;
  width: min(680px, 58vw);
  height: min(280px, 24vw);
  border: 1px solid rgba(236,122,36,.10);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-6deg) scale(.9);
  opacity: .10;
  box-shadow: inset 0 0 70px rgba(236,122,36,.045), 0 0 70px rgba(245,178,31,.035);
}
.atmo-cocoon {
  left: 50%;
  top: 48%;
  width: min(430px, 38vw);
  height: min(520px, 46vw);
  border: 1px solid rgba(236,122,36,.10);
  border-radius: 48% 52% 46% 54% / 56% 44% 58% 42%;
  transform: translate(-50%, -50%) scale(.78);
  opacity: .08;
  background: radial-gradient(ellipse at 50% 50%, rgba(245,178,31,.045), transparent 65%);
}
.atmo-route {
  left: 8vw;
  right: -16vw;
  bottom: 18vh;
  height: 2px;
  opacity: .08;
  transform: rotate(-5deg);
  background: linear-gradient(90deg, transparent 0 8%, rgba(236,122,36,.18) 20%, rgba(245,178,31,.18) 62%, rgba(255,249,237,.38) 82%, transparent 100%);
  box-shadow: 0 0 36px rgba(245,178,31,.12);
}
body[data-mode="contents"] .static-atmosphere {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.46), transparent 32%),
    radial-gradient(circle at 86% 14%, rgba(236,122,36,.038), transparent 28%),
    linear-gradient(180deg, #f8eddd 0%, #f1e2cd 100%);
}
body[data-mode="reader"][data-active-module="module-01"] .static-atmosphere::before {
  opacity: .22;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(33,25,18,.07) 1px, transparent 1.45px),
    repeating-linear-gradient(116deg, transparent 0 23px, rgba(33,25,18,.035) 24px 25px, transparent 26px 54px),
    linear-gradient(112deg, transparent 0 38%, rgba(236,122,36,.11) 47%, transparent 60%);
}
body[data-mode="reader"][data-active-module="module-01"] .atmo-thread-a {
  opacity: .32;
  transform: rotate(-9deg) translateY(-2vh);
}
body[data-mode="reader"][data-active-module="module-02"] .static-atmosphere {
  background:
    radial-gradient(circle at 78% 48%, rgba(245,178,31,.16), transparent 31%),
    radial-gradient(circle at 12% 18%, rgba(20,15,11,.045), transparent 28%),
    linear-gradient(105deg, #f7ead8 0%, #f1e1ca 52%, #f5dfb7 100%);
}
body[data-mode="reader"][data-active-module="module-02"] .atmo-thread-a {
  opacity: .42;
  transform: rotate(-4deg) translateY(2vh);
  background: linear-gradient(90deg, transparent 6%, rgba(33,25,18,.08), rgba(236,122,36,.30) 50%, rgba(245,178,31,.32) 74%, transparent 94%);
}
body[data-mode="reader"][data-active-module="module-02"] .atmo-cocoon { opacity: .035; }
body[data-mode="reader"][data-active-module="module-03"] .static-atmosphere {
  background:
    radial-gradient(ellipse at 50% 44%, rgba(236,122,36,.10), transparent 34%),
    radial-gradient(circle at 80% 14%, rgba(255,255,255,.36), transparent 22%),
    linear-gradient(180deg, #f8eddd 0%, #f0dfc7 100%);
}
body[data-mode="reader"][data-active-module="module-03"] .atmo-lens {
  opacity: .34;
  transform: translate(-50%, -50%) rotate(-4deg) scale(1.02);
  border-color: rgba(236,122,36,.20);
}
body[data-mode="reader"][data-active-module="module-03"] .atmo-thread-a {
  opacity: .34;
  transform: rotate(-3deg) translateY(-1vh);
}
body[data-mode="reader"][data-active-module="module-04"] .static-atmosphere {
  background:
    linear-gradient(90deg, rgba(255,249,237,.42), rgba(236,122,36,.045) 49%, rgba(33,25,18,.035) 50%, rgba(255,249,237,.48)),
    linear-gradient(180deg, #f8eddd, #f0dfc7);
}
body[data-mode="reader"][data-active-module="module-04"] .static-atmosphere::after {
  opacity: .26;
  background:
    radial-gradient(ellipse at 34% 48%, rgba(33,25,18,.055), transparent 30%),
    radial-gradient(ellipse at 66% 48%, rgba(236,122,36,.075), transparent 32%);
}
body[data-mode="reader"][data-active-module="module-05"] .static-atmosphere {
  background:
    radial-gradient(ellipse at 50% 43%, rgba(245,178,31,.12), transparent 28%),
    radial-gradient(circle at 72% 82%, rgba(255,255,255,.42), transparent 32%),
    linear-gradient(180deg, #f8eddd 0%, #f2dfbf 58%, #f7ead6 100%);
}
body[data-mode="reader"][data-active-module="module-05"] .atmo-cocoon {
  opacity: .28;
  transform: translate(-50%, -50%) scale(1);
  border-color: rgba(236,122,36,.20);
}
body[data-mode="reader"][data-active-module="module-05"] .atmo-route { opacity: .24; }
body[data-mode="reader"][data-active-module="module-05"] .atmo-thread-a { opacity: .36; transform: rotate(-5deg) translateY(1vh); }

/* Let the static field sit behind the reader; panels do the reading work. */
.reader-page {
  background: transparent !important;
  position: relative;
  z-index: 2;
}
.reader-page::before {
  background:
    linear-gradient(90deg, transparent, rgba(236, 122, 36, .20), transparent),
    linear-gradient(180deg, rgba(242,229,210,.55), rgba(248,237,219,.20)) !important;
}
.reading-flow--five {
  background: transparent;
}
.reading-flow--five .read-section--chapter {
  background: transparent !important;
  overflow: visible;
}
.reading-flow--five .read-section--chapter::before {
  opacity: .035;
  z-index: -1;
}
.reading-flow--five .read-section--chapter::after {
  opacity: .18;
}
.reading-flow--five .read-section--chapter > .read-grid,
.reading-flow--five .read-section--chapter > .article-band,
.reading-flow--five .read-section--chapter > .chapter-subsections,
.reading-flow--five .read-section--chapter > .evidence-grid,
.reading-flow--five .read-section--chapter > .dual-screen,
.reading-flow--five .read-section--chapter > .record-timeline,
.reading-flow--five .read-section--chapter > .cocoon-diagram,
.reading-flow--five .read-section--chapter > .integrated-stack,
.reading-flow--five .read-section--chapter > .heldback-panel,
.reading-flow--five .read-section--chapter > .closing-panel {
  border: 1px solid rgba(77,55,32,.12);
  background: rgba(255, 249, 237, .52);
  box-shadow: 0 22px 74px rgba(61,37,13,.075);
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
}
.reading-flow--five .read-section--chapter > .read-grid {
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border-radius: clamp(24px, 3.2vw, 38px);
}
.reading-flow--five .read-section--chapter > .article-band,
.reading-flow--five .read-section--chapter > .chapter-subsections,
.reading-flow--five .read-section--chapter > .evidence-grid,
.reading-flow--five .read-section--chapter > .record-timeline,
.reading-flow--five .read-section--chapter > .integrated-stack {
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(1.1rem, 3vw, 2rem);
}
.boundary-strip,
.single-card,
.chapter-subsection,
.dual-panel,
.info-grid > div,
.formal-grid > div,
.test-metrics > div,
.record-timeline li {
  background-color: rgba(255, 249, 237, .54);
  border-color: rgba(77,55,32,.12);
  backdrop-filter: blur(9px) saturate(1.02);
  -webkit-backdrop-filter: blur(9px) saturate(1.02);
  box-shadow: 0 16px 46px rgba(61,37,13,.055);
}
.single-card { background: rgba(255,249,237,.46); }
.boundary-strip { background: rgba(255,249,237,.58); }
.boundary-strip--strong { background: rgba(33,25,18,.88); }

/* Module 01: subtle pattern-coming-visible state. */
#module-01 .read-grid {
  background:
    radial-gradient(circle at 76% 26%, rgba(236,122,36,.065), transparent 28%),
    rgba(255,249,237,.50);
}
#module-01 .read-grid::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 12%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33,25,18,.10), rgba(236,122,36,.22), transparent);
  transform: rotate(-6deg);
  pointer-events: none;
}

/* Module 02: mechanism glass plus approved medication atmosphere panel. */
#module-02 .read-grid {
  background:
    radial-gradient(circle at 82% 54%, rgba(245,178,31,.07), transparent 26%),
    rgba(255,249,237,.48);
}
.medication-panel {
  border: 1px solid rgba(255,244,222,.18) !important;
  box-shadow: 0 34px 110px rgba(33,20,9,.25), 0 0 100px rgba(236,122,36,.12) !important;
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
}
.medication-panel .boundary-strip {
  border-color: rgba(255,244,222,.20);
  color: rgba(255,244,222,.84);
}

/* Module 03: ADHD Lens glass state; lens, insight, no surveillance. */
#module-03 .read-grid {
  background:
    radial-gradient(ellipse at 28% 50%, rgba(236,122,36,.10), transparent 32%),
    rgba(255,249,237,.48);
}
#module-03 .lens-visual {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,249,237,.62), transparent 34%),
    radial-gradient(ellipse at 50% 50%, rgba(236,122,36,.14), transparent 55%),
    rgba(255,249,237,.30);
  box-shadow: inset 0 0 80px rgba(255,249,237,.24), 0 28px 80px rgba(61,37,13,.08);
}
#module-03 .lens-visual .lens-oval,
#module-03 .lens-visual .lens-aperture {
  border-color: rgba(236,122,36,.20);
}

/* Module 04: dual-screen field, not software or a diagnostic tool. */
#module-04 .section-copy--center,
#module-04 .dual-screen,
#module-04 .record-timeline {
  position: relative;
}
#module-04 .section-copy--center {
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  border-radius: 28px;
  border: 1px solid rgba(77,55,32,.10);
  background: rgba(255,249,237,.44);
  backdrop-filter: blur(10px) saturate(1.02);
  -webkit-backdrop-filter: blur(10px) saturate(1.02);
  box-shadow: 0 18px 60px rgba(61,37,13,.06);
}
.dual-screen {
  background:
    linear-gradient(90deg, rgba(255,249,237,.58), rgba(255,249,237,.40) 49%, rgba(236,122,36,.08) 50%, rgba(255,249,237,.52)) !important;
  border-radius: clamp(24px, 3.2vw, 38px);
}
.dual-panel { box-shadow: none; }
.dual-bridge {
  box-shadow: 0 0 0 9px rgba(236,122,36,.035), 0 0 46px rgba(236,122,36,.08);
}

/* Module 05: integrated practice contains the stronger glass states. */
#module-05 .section-copy--center {
  padding: clamp(1.1rem, 2.7vw, 2rem);
  border-radius: 30px;
  border: 1px solid rgba(236,122,36,.12);
  background: rgba(255,249,237,.42);
  backdrop-filter: blur(10px) saturate(1.02);
  -webkit-backdrop-filter: blur(10px) saturate(1.02);
  box-shadow: 0 18px 70px rgba(61,37,13,.055);
}
#module-05 .cocoon-diagram {
  background:
    radial-gradient(circle at 50% 49%, rgba(245,178,31,.18), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(255,249,237,.70), transparent 48%),
    rgba(255,249,237,.46) !important;
  border-color: rgba(236,122,36,.18) !important;
}
#module-05 .integrated-stack {
  background: rgba(255,249,237,.48) !important;
}
.heldback-panel {
  background:
    radial-gradient(circle at 48% 46%, rgba(236,122,36,.16), transparent 35%),
    linear-gradient(135deg, rgba(27,23,18,.90), rgba(45,31,19,.82)) !important;
  border-color: rgba(255,244,222,.14) !important;
  color: rgba(255,244,222,.88);
  box-shadow: 0 36px 120px rgba(18,10,6,.34) !important;
}
.heldback-panel .locked-card {
  background: rgba(255,244,222,.10) !important;
  border-color: rgba(255,244,222,.18) !important;
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
}
.closing-panel {
  background:
    radial-gradient(circle at 82% 28%, rgba(255,249,237,.66), transparent 28%),
    radial-gradient(circle at 72% 48%, rgba(245,178,31,.13), transparent 32%),
    linear-gradient(135deg, rgba(255,249,237,.60), rgba(246,225,185,.54)) !important;
  border-color: rgba(236,122,36,.13) !important;
  box-shadow: 0 22px 90px rgba(61,37,13,.07) !important;
}
.closing-panel .reader-footer { color: rgba(33,25,18,.52); }

/* Header and chapter navigation glass tuning. */
.series-header {
  background: rgba(255, 249, 237, .66) !important;
  border-bottom-color: rgba(77,55,32,.095) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px) saturate(1.04);
  -webkit-backdrop-filter: blur(16px) saturate(1.04);
}
.series-header.is-scrolled {
  background: rgba(255,249,237,.78) !important;
}
.chapter-nav {
  background: rgba(255, 249, 237, .58) !important;
  border-color: rgba(77,55,32,.095) !important;
  box-shadow: 0 12px 40px rgba(61,37,13,.035);
  backdrop-filter: blur(14px) saturate(1.04);
  -webkit-backdrop-filter: blur(14px) saturate(1.04);
}
.chapter-nav a.is-active {
  background: rgba(255,255,255,.34) !important;
}
.chapter-nav a.is-active span {
  background: rgba(236,122,36,.72) !important;
}

@media (max-width: 760px) {
  .static-atmosphere::before { opacity: .12; }
  .static-atmosphere::after { opacity: .20; }
  .atmo-lens { width: 88vw; height: 42vw; }
  .atmo-cocoon { width: 68vw; height: 82vw; }
  .atmo-thread { left: -38vw; right: -44vw; }
  .reading-flow--five .read-section--chapter > .read-grid,
  .reading-flow--five .read-section--chapter > .article-band,
  .reading-flow--five .read-section--chapter > .chapter-subsections,
  .reading-flow--five .read-section--chapter > .evidence-grid,
  .reading-flow--five .read-section--chapter > .dual-screen,
  .reading-flow--five .read-section--chapter > .record-timeline,
  .reading-flow--five .read-section--chapter > .cocoon-diagram,
  .reading-flow--five .read-section--chapter > .integrated-stack,
  .reading-flow--five .read-section--chapter > .heldback-panel,
  .reading-flow--five .read-section--chapter > .closing-panel {
    backdrop-filter: blur(8px) saturate(1.02);
    -webkit-backdrop-filter: blur(8px) saturate(1.02);
    box-shadow: 0 14px 46px rgba(61,37,13,.06);
  }
  .reading-flow--five .read-section--chapter > .read-grid {
    padding: 1rem;
  }
  #module-04 .section-copy--center,
  #module-05 .section-copy--center {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-atmosphere,
  .static-atmosphere::before,
  .static-atmosphere::after,
  .atmo-thread,
  .atmo-lens,
  .atmo-cocoon,
  .atmo-route {
    transition: none !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .reading-flow--five .read-section--chapter > .read-grid,
  .reading-flow--five .read-section--chapter > .article-band,
  .reading-flow--five .read-section--chapter > .chapter-subsections,
  .reading-flow--five .read-section--chapter > .evidence-grid,
  .reading-flow--five .read-section--chapter > .dual-screen,
  .reading-flow--five .read-section--chapter > .record-timeline,
  .reading-flow--five .read-section--chapter > .cocoon-diagram,
  .reading-flow--five .read-section--chapter > .integrated-stack,
  .reading-flow--five .read-section--chapter > .heldback-panel,
  .reading-flow--five .read-section--chapter > .closing-panel,
  .series-header,
  .chapter-nav {
    background-color: rgba(255,249,237,.86) !important;
  }
}

/* --------------------------------------------------------------------------
   Static / sticky image-depth pass + restrained stat settle motion
   -------------------------------------------------------------------------- */
body[data-mode="reader"] {
  background: #f4e7d3;
}

.static-atmosphere {
  will-change: background, filter;
  contain: paint;
}

.static-atmosphere .atmo-image {
  position: absolute;
  display: block;
  pointer-events: none;
  opacity: .18;
  transition: opacity 1000ms ease, transform 1200ms ease, filter 1000ms ease;
  transform: translate3d(0, calc(var(--atmo-shift, 0px) * -0.18), 0);
}

.atmo-paper-form {
  right: clamp(4vw, 9vw, 13vw);
  top: 16vh;
  width: min(520px, 42vw);
  height: min(680px, 62vh);
  border-radius: 30px;
  border: 1px solid rgba(77,55,32,.06);
  background:
    linear-gradient(150deg, rgba(255,255,255,.22), rgba(255,249,237,.035)),
    linear-gradient(180deg, rgba(33,25,18,.035), transparent 38%);
  box-shadow: 0 40px 140px rgba(61,37,13,.05), inset 0 0 90px rgba(255,255,255,.14);
  transform: rotate(4deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.14), 0);
  opacity: .10;
}
.atmo-paper-form::before,
.atmo-paper-form::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  height: 1px;
  background: rgba(77,55,32,.08);
}
.atmo-paper-form::before { top: 23%; box-shadow: 0 58px 0 rgba(77,55,32,.052), 0 116px 0 rgba(77,55,32,.036); }
.atmo-paper-form::after { bottom: 18%; opacity: .7; }

.atmo-line-field {
  left: -12vw;
  top: 17vh;
  width: 72vw;
  height: 54vh;
  opacity: .13;
  background:
    repeating-linear-gradient(118deg, transparent 0 22px, rgba(33,25,18,.060) 23px 24px, transparent 25px 52px),
    repeating-linear-gradient(32deg, transparent 0 28px, rgba(236,122,36,.052) 29px 30px, transparent 31px 64px);
  mask-image: radial-gradient(ellipse at center, black 0 42%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0 42%, transparent 72%);
  transform: rotate(-6deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.08), 0);
}

.atmo-dual-field {
  inset: 16vh 8vw auto auto;
  width: min(680px, 62vw);
  height: min(440px, 48vh);
  opacity: .06;
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(33,25,18,.10), rgba(33,25,18,.025) 49%, rgba(236,122,36,.09) 50%, rgba(236,122,36,.02)),
    radial-gradient(ellipse at 28% 50%, rgba(33,25,18,.11), transparent 42%),
    radial-gradient(ellipse at 72% 50%, rgba(236,122,36,.12), transparent 42%);
  border: 1px solid rgba(77,55,32,.055);
  transform: rotate(.8deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.11), 0);
}

body[data-mode="reader"] .atmo-thread-a,
body[data-mode="reader"] .atmo-thread-b,
body[data-mode="reader"] .atmo-lens,
body[data-mode="reader"] .atmo-cocoon,
body[data-mode="reader"] .atmo-route {
  will-change: transform, opacity;
}

body[data-mode="reader"] .atmo-thread-a {
  transform: rotate(-7deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.12), 0);
}
body[data-mode="reader"] .atmo-thread-b {
  transform: rotate(4deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.05), 0);
}
body[data-mode="reader"] .atmo-lens {
  transform: translate(-50%, -50%) rotate(-6deg) scale(.9) translate3d(0, calc(var(--atmo-shift, 0px) * -0.08), 0);
}
body[data-mode="reader"] .atmo-cocoon {
  transform: translate(-50%, -50%) scale(.78) translate3d(0, calc(var(--atmo-shift, 0px) * -0.06), 0);
}

/* Module 01: the visible label hides a deeper driver. */
body[data-mode="reader"][data-active-module="module-01"] .atmo-line-field {
  opacity: .27;
  transform: rotate(-7deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.12), 0);
}
body[data-mode="reader"][data-active-module="module-01"] .atmo-paper-form { opacity: .07; }
body[data-mode="reader"][data-active-module="module-01"] .atmo-dual-field { opacity: .02; }
body[data-mode="reader"][data-active-module="module-01"] .static-atmosphere::after {
  opacity: .24;
  background:
    radial-gradient(ellipse at 28% 50%, rgba(33,25,18,.065), transparent 29%),
    radial-gradient(ellipse at 72% 43%, rgba(236,122,36,.085), transparent 34%),
    linear-gradient(105deg, transparent 20%, rgba(236,122,36,.060), transparent 66%);
}

/* Module 02: same records become readable differently; medication thread steadies. */
body[data-mode="reader"][data-active-module="module-02"] .atmo-paper-form {
  opacity: .22;
  border-color: rgba(236,122,36,.075);
  transform: rotate(4deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.18), 0);
}
body[data-mode="reader"][data-active-module="module-02"] .atmo-line-field { opacity: .14; }
body[data-mode="reader"][data-active-module="module-02"] .atmo-thread-a {
  height: 2px;
  opacity: .48;
  box-shadow: 0 0 36px rgba(236,122,36,.18);
}

/* Module 03: ADHD Lens atmosphere; insight rather than surveillance. */
body[data-mode="reader"][data-active-module="module-03"] .atmo-lens {
  opacity: .42;
  width: min(760px, 68vw);
  height: min(330px, 31vw);
  border-color: rgba(236,122,36,.22);
  transform: translate(-50%, -50%) rotate(-4deg) scale(1.02) translate3d(0, calc(var(--atmo-shift, 0px) * -0.10), 0);
}
body[data-mode="reader"][data-active-module="module-03"] .atmo-line-field {
  opacity: .19;
  mask-image: radial-gradient(ellipse at 52% 45%, black 0 34%, transparent 64%);
  -webkit-mask-image: radial-gradient(ellipse at 52% 45%, black 0 34%, transparent 64%);
}
body[data-mode="reader"][data-active-module="module-03"] .atmo-paper-form { opacity: .06; }

/* Module 04: dual-screen recognition field; not decision software. */
body[data-mode="reader"][data-active-module="module-04"] .atmo-dual-field {
  opacity: .22;
  transform: rotate(.6deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.16), 0);
}
body[data-mode="reader"][data-active-module="module-04"] .atmo-line-field {
  opacity: .14;
  transform: rotate(-1deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.08), 0);
}
body[data-mode="reader"][data-active-module="module-04"] .static-atmosphere::after {
  background:
    linear-gradient(90deg, rgba(33,25,18,.050), transparent 49%, rgba(236,122,36,.070) 50%, transparent 72%),
    radial-gradient(ellipse at 34% 48%, rgba(33,25,18,.060), transparent 31%),
    radial-gradient(ellipse at 66% 48%, rgba(236,122,36,.085), transparent 34%);
}

/* Module 05: integrated practice carries cocoon / hold-back / route depth. */
body[data-mode="reader"][data-active-module="module-05"] .atmo-cocoon {
  opacity: .34;
  border-color: rgba(236,122,36,.24);
  box-shadow: inset 0 0 90px rgba(245,178,31,.09), 0 0 100px rgba(236,122,36,.06);
  transform: translate(-50%, -50%) scale(1.05) translate3d(0, calc(var(--atmo-shift, 0px) * -0.11), 0);
}
body[data-mode="reader"][data-active-module="module-05"] .atmo-route {
  opacity: .32;
  transform: rotate(-5deg) translate3d(0, calc(var(--atmo-shift, 0px) * -0.18), 0);
}
body[data-mode="reader"][data-active-module="module-05"] .atmo-paper-form {
  opacity: .12;
  filter: blur(.3px);
}
body[data-mode="reader"][data-active-module="module-05"] .atmo-line-field { opacity: .10; }

/* More deliberate glass: one main reading pane, stronger only for caveats / held-back. */
.reading-flow--five .read-section--chapter > .read-grid,
.reading-flow--five .read-section--chapter > .article-band,
.reading-flow--five .read-section--chapter > .chapter-subsections,
.reading-flow--five .read-section--chapter > .evidence-grid,
.reading-flow--five .read-section--chapter > .dual-screen,
.reading-flow--five .read-section--chapter > .record-timeline,
.reading-flow--five .read-section--chapter > .cocoon-diagram,
.reading-flow--five .read-section--chapter > .integrated-stack,
.reading-flow--five .read-section--chapter > .heldback-panel,
.reading-flow--five .read-section--chapter > .closing-panel {
  background: rgba(255, 249, 237, .50) !important;
  border-color: rgba(77,55,32,.115) !important;
  box-shadow: 0 26px 88px rgba(61,37,13,.075), inset 0 1px 0 rgba(255,255,255,.26) !important;
  backdrop-filter: blur(13px) saturate(1.05);
  -webkit-backdrop-filter: blur(13px) saturate(1.05);
}
.chapter-subsection,
.single-card,
.boundary-strip,
.dual-panel,
.record-timeline li,
.info-grid > div,
.formal-grid > div,
.test-metrics > div,
.evidence-grid article {
  background: rgba(255, 249, 237, .55) !important;
  border-color: rgba(77,55,32,.115) !important;
}
.boundary-strip,
.boundary-strip--strong,
.heldback-panel .locked-card {
  backdrop-filter: blur(16px) saturate(1.06) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.06) !important;
}
.boundary-strip--strong { background: rgba(27, 23, 18, .88) !important; }

/* Preserve approved medication panel as the richer image-depth subsection. */
.medication-panel {
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 191, 72, .31), transparent 24%),
    radial-gradient(circle at 17% 20%, rgba(236, 122, 36, .23), transparent 31%),
    linear-gradient(125deg, #080706 0%, #17100c 42%, #5b2b10 74%, #f4a72e 146%) !important;
  transform: translateZ(0);
}
.medication-panel .stable-thread {
  height: 3px;
  top: 49%;
  background: linear-gradient(90deg, transparent 4%, rgba(236,122,36,.30), rgba(245,178,31,.96), rgba(255,244,222,.74), transparent 94%);
}
.medication-panel .paper-stack {
  opacity: .74;
  box-shadow: 0 48px 150px rgba(0,0,0,.24), inset 0 0 90px rgba(255,249,237,.055);
}
.medication-panel .boundary-strip { background: rgba(18,13,9,.52) !important; }

/* Hold-back and close keep distinct internal visual states inside Module 05. */
.heldback-panel {
  background:
    radial-gradient(circle at 48% 45%, rgba(236,122,36,.18), transparent 34%),
    linear-gradient(135deg, rgba(9,7,6,.96), rgba(41,27,17,.88) 60%, rgba(16,10,7,.95)) !important;
}
.heldback-panel .locked-card { background: rgba(255,244,222,.095) !important; }
.closing-panel {
  background:
    radial-gradient(circle at 82% 26%, rgba(255,249,237,.72), transparent 28%),
    radial-gradient(ellipse at 62% 74%, rgba(236,122,36,.13), transparent 38%),
    linear-gradient(135deg, rgba(255,249,237,.68), rgba(246,225,185,.56)) !important;
}

/* Jump-style restrained stat settle. */
.stat-settle {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transform: translate3d(0, 10px, 0);
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 760ms cubic-bezier(.18,.92,.24,1.06),
    color 500ms ease,
    text-shadow 500ms ease;
  will-change: transform, opacity;
}
.stat-settle.is-settled {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  color: rgba(236,122,36,.94);
  text-shadow: 0 0 22px rgba(236,122,36,.11);
}
.evidence-grid .stat-settle {
  font-size: 1.08em;
  font-weight: 900;
  letter-spacing: -.02em;
}
.test-metrics .stat-settle {
  color: rgba(236,122,36,.84);
}
.test-metrics .stat-settle.is-settled {
  color: rgba(236,122,36,.94);
}

@media (max-width: 760px) {
  .atmo-paper-form { width: 78vw; height: 58vh; right: -20vw; opacity: .07; }
  .atmo-line-field { width: 120vw; height: 46vh; left: -48vw; opacity: .11; }
  .atmo-dual-field { width: 96vw; height: 36vh; right: -28vw; opacity: .045; }
  body[data-mode="reader"][data-active-module="module-03"] .atmo-lens {
    width: 96vw;
    height: 46vw;
    opacity: .25;
  }
  body[data-mode="reader"][data-active-module="module-05"] .atmo-cocoon {
    opacity: .22;
  }
  .reading-flow--five .read-section--chapter > .read-grid,
  .reading-flow--five .read-section--chapter > .article-band,
  .reading-flow--five .read-section--chapter > .chapter-subsections,
  .reading-flow--five .read-section--chapter > .evidence-grid,
  .reading-flow--five .read-section--chapter > .dual-screen,
  .reading-flow--five .read-section--chapter > .record-timeline,
  .reading-flow--five .read-section--chapter > .cocoon-diagram,
  .reading-flow--five .read-section--chapter > .integrated-stack,
  .reading-flow--five .read-section--chapter > .heldback-panel,
  .reading-flow--five .read-section--chapter > .closing-panel {
    backdrop-filter: blur(7px) saturate(1.02) !important;
    -webkit-backdrop-filter: blur(7px) saturate(1.02) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-atmosphere .atmo-image,
  .stat-settle,
  .stat-settle.is-settled {
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
}

/* Progressive enhancement: stats remain visible without JavaScript. */
.stat-settle { opacity: 1; transform: none; }
.has-js .stat-settle {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}
.has-js .stat-settle.is-settled {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
