/* Jade Atlas: page composition. Registered artwork and benchmark plots own their CSS. */
:root {
  --paper: #f5f1e5;
  --ink: #183b32;
  --jade: #24664f;
  --deep: #123b32;
  --gold: #98712b;
  --line: #d1d5c3;
  --mint: #b9edd3;
  --muted: #526457;
  --chapter-nav-height: 63px;
  --guide-rail-height: 128px;
  --guide-gap: 15px;
  --reading-clearance: calc(var(--chapter-nav-height) + 27px);
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gold); }
button, input, select { font: inherit; color: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary, input[type=range] { cursor: pointer; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid #aa7a24; outline-offset: 5px; }
p, h1, h2, h3, h4 { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.048em; }
h1 { font-size: clamp(58px, 6.4vw, 94px); line-height: 1.04; margin-bottom: 27px; }
h2 { font-size: clamp(38px, 4.3vw, 58px); line-height: 1.1; margin-bottom: 24px; }
h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 27px; line-height: 1.2; letter-spacing: -.025em; }
em { color: var(--jade); font-weight: 400; }
img { max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: var(--reading-clearance); }
.wrap { width: min(1320px, calc(100% - 88px)); margin-inline: auto; }
.eyebrow, .q4-kicker { font: 700 11px/1.6 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 22px; background: white; }
.skip:focus { top: 12px; }
.masthead { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; gap: 11px; align-items: center; font: 32px/1 Georgia, serif; letter-spacing: -.03em; text-decoration: none; }
.wordmark b { color: var(--gold); font-weight: 400; }
.wordmark small { display: block; margin-top: 8px; font: 9px/1 Arial, sans-serif; letter-spacing: .16em; }
.brand-face { width: 52px; height: 52px; object-fit: contain; }
.masthead nav { display: flex; gap: 26px; }
.masthead nav a, .hub-link { font-size: 13px; text-decoration: none; padding-block: 12px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 45px; padding-block: 54px 48px; align-items: center; }
.hero-copy { padding-block: 20px; min-width: 0; }
.hero .eyebrow { margin-bottom: 27px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--jade); border-radius: 50%; margin-right: 7px; }
.intro { color: var(--muted); max-width: 510px; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 29px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 25px; min-height: 49px; padding: 13px 22px; border: 1px solid var(--deep); border-radius: 5px; background: var(--deep); color: #fffdf6; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.4; transition: background .2s, box-shadow .2s; }
.button:hover { background: #245941; box-shadow: 0 3px 0 #bdad7a; }
.text-link { font-size: 14px; font-weight: 700; padding-block: 12px; }
.hero-note { border-left: 1px solid var(--gold); padding-left: 20px; margin-top: 37px; }
.hero-note span { font-size: 10px; letter-spacing: .14em; color: var(--gold); }
.hero-note p { font: 21px/1.45 Georgia, serif; margin: 9px 0 0; }
.companion-alcove, .hero-alcove { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 40px 12px 23px; background: radial-gradient(ellipse at 50% 42%, #42654b, #183d32 62%, #12332c); border-radius: 48% 48% 8px 8px; border: 1px solid #afab7f; box-shadow: inset 0 0 0 7px #254a3a; }
.alcove-label { color: #d7dec4; font-size: 9px; letter-spacing: .16em; text-align: center; margin-bottom: -4px; position: relative; z-index: 2; }
.companion-stage { position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; flex: none; }
.companion-stage > [data-shared-artwork] { width: 100%; height: 100%; }
.companion-stage svg, .companion-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspots button { position: absolute; left: var(--x); top: var(--y); width: var(--r); aspect-ratio: 1; min-width: 44px; min-height: 44px; transform: translate(-50%, -50%); background: transparent; border: 0; border-radius: 50%; pointer-events: auto; }
.hotspots button:hover, .hotspots button:active { background: transparent; border-color: transparent; box-shadow: none; }
.hotspots button:focus:not(:focus-visible) { outline: none; }
.hotspots button:focus-visible { outline: 2px solid #98712b; outline-offset: 2px; border-radius: 4px; background: transparent; box-shadow: none; }
.speech { position: relative; display: grid; place-content: center; flex: none; height: 112px; margin: -1% 7% 0; padding: 15px 19px; background: #fbf6e5; border: 1px solid #c4b580; border-radius: 6px; color: var(--ink); font: 19px/1.4 Georgia, serif; text-align: center; z-index: 2; }
.speech::before { content: ''; position: absolute; width: 14px; height: 14px; top: -8px; left: calc(50% - 7px); background: #fbf6e5; border-top: 1px solid #c4b580; border-left: 1px solid #c4b580; transform: rotate(45deg); }
.guide-cue { color: #dae0c7; text-align: center; font-size: 11px; line-height: 1.4; margin: 16px 0 0; }
.guide-cue span { color: #e1bc68; }
.latest { display: flex; align-items: center; gap: 25px; padding-block: 22px; border-block: 1px solid var(--line); }
.latest > * { margin: 0; }
.latest p { font: 22px/1.4 Georgia, serif; }
.latest a { margin-left: auto; font-size: 13px; }
.chapter-nav { position: sticky; top: 0; z-index: 30; background: #f5f1e5f5; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
/* Desktop layout must never turn the mobile disclosure into a second header row. */
.chapter-nav > .wrap:not(.mobile-nav) { display: flex; gap: 6px; align-items: center; justify-content: space-between; min-height: 62px; }
.chapter-nav a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 12px; text-decoration: none; font-size: 13px; line-height: 1.4; border-bottom: 2px solid transparent; }
.chapter-nav a span { color: var(--gold); font-size: 10px; }
.chapter-nav a:hover, .chapter-nav a[aria-current] { color: var(--jade); border-color: var(--gold); }
.chapter-nav > .mobile-nav { display: none; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 60px; align-items: start; }
.reading-content { grid-column: 1; grid-row: 1; min-width: 0; }
.guide-rail { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--chapter-nav-height) + var(--guide-gap)); margin-top: 72px; padding: 18px 0; align-self: start; min-width: 0; text-align: center; }
/* Size the arch with the artwork so its caption stays below the frame at every rail width. */
.guide-rail .companion-stage::before { content: ''; position: absolute; inset: -10px 0; border: 1px solid #cbd1b9; border-radius: 49% 49% 0 0; background: radial-gradient(ellipse, #dee8ce, #eeedde 68%); z-index: -1; }
.guide-rail .eyebrow { font-size: 10px; margin: 0 10px 6px; }
.guide-rail .companion-stage { width: 230px; max-width: 100%; margin: 0 auto; }
.guide-rail .speech { height: 130px; margin: -2px 0 0; padding: 18px 15px; font-size: 17px; box-shadow: 0 8px 18px #25412a08; }
.guide-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 12px; }
.guide-actions button { min-height: 44px; min-width: 0; padding: 6px 3px; border: 1px solid #cbd1b9; border-radius: 4px; background: #edeedc; font-size: 12px; }
.guide-actions button:hover { background: #e0e6cd; border-color: var(--gold); }
.chapter { padding-block: 48px; border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 30px; }
.section-heading p:not(.eyebrow), .q4-section-intro > p:not(.q4-kicker) { max-width: 690px; color: var(--muted); font-size: 17px; }
.family-selector { display: flex; flex-wrap: wrap; gap: 7px; margin: 30px 0 20px; }
.family-selector button { flex: 1 1 auto; min-height: 48px; padding: 10px 13px; border: 1px solid #bfc9b0; border-radius: 4px; background: transparent; font-size: 14px; font-weight: 700; }
.family-selector button small { font-size: 11px; font-weight: 400; }
.family-selector button[aria-pressed=true] { background: var(--deep); color: #fcf6df; border-color: var(--deep); box-shadow: inset 0 -3px #bda666; }
.family-selector button:hover { border-color: var(--gold); }
.family-overview { display: grid; grid-template-columns: 1.15fr 1fr; border-block: 1px solid #c4cbb4; margin-bottom: 32px; background: #e9ebda; }
.family-feature { padding: 31px; border-right: 1px solid #c4cbb4; }
.family-feature h3 { font-size: 34px; }
.family-feature p:last-child { margin-bottom: 0; }
.family-signal { padding: 31px; align-self: center; }
.family-signal > span, .family-signal .note-glyph { display: block; color: var(--gold); font-size: 34px; }
.family-signal a { font-size: 14px; }
.family-file { border-top: 1px solid var(--line); }
.family-file:last-child { border-bottom: 1px solid var(--line); }
.family-file summary { position: relative; padding: 22px 35px 22px 0; font: 24px/1.3 Georgia, serif; list-style: none; }
.family-file summary::-webkit-details-marker { display: none; }
.family-file summary::after { content: '+'; position: absolute; right: 5px; top: 22px; color: var(--gold); font: 24px/1 Arial, sans-serif; }
.family-file[open] summary::after { content: '−'; }
.family-file summary small { display: inline-block; font: 12px/1.4 Arial, sans-serif; margin-left: 12px; color: var(--muted); }
.family-file > p, .family-file > div { padding-right: 25px; max-width: 720px; }
.family-file > :last-child { margin-bottom: 25px; }
.family-file[open] { background: linear-gradient(90deg, #e9eddd80, transparent); }
.q4-section-intro { margin-bottom: 32px; }
.q4-family-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.q4-family-file { padding: 21px 20px 21px 0; border-bottom: 1px solid var(--line); }
.q4-family-file:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.q4-family-file h3 { font-size: 25px; margin: 9px 0; }
.q4-family-file p { font-size: 15px; margin: 0; }
.q4-strength { display: inline-block; font: 700 10px/1.5 Arial, sans-serif; letter-spacing: .055em; text-transform: uppercase; color: #746025; }
.q4-family-file--hypothesis { border-bottom-style: dashed; }
.q4-family-source, .q4-tech-caption { font-size: 13px; line-height: 1.65; color: var(--muted); margin-block: 20px 32px; }
.q4-clue-log { list-style: none; padding: 0 0 0 24px; margin: 42px 0; border-left: 1px solid #b6c3a5; }
.q4-clue { position: relative; padding: 0 0 29px 16px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.q4-clue::before { content: ''; position: absolute; top: 5px; left: -30px; width: 11px; height: 11px; background: var(--paper); border: 2px solid var(--gold); transform: rotate(45deg); }
.q4-clue:last-child { margin-bottom: 0; }
.q4-clue time { font: 12px/1.5 monospace; color: var(--muted); display: inline-block; margin-right: 20px; }
.q4-clue h3 { margin: 12px 0; font-size: 28px; }
.q4-clue p { margin-bottom: 12px; }
.q4-clue > a { font-size: 13px; }
.q4-guide-note { padding: 23px 28px; border-left: 3px solid var(--gold); background: #e9ebd9; font: italic 23px/1.4 Georgia, serif; margin: 28px 0; }
.q4-guide-note p { margin: 0; }
.q4-tech-split { display: grid; grid-template-columns: 1fr 38px 1fr; align-items: center; padding: 30px; border: 1px solid #bdc9ac; background: #e6ead5; }
.q4-tech-split strong { display: block; font: 62px/1 Georgia, serif; letter-spacing: -.06em; margin-bottom: 13px; }
.q4-tech-split span { display: block; font-weight: 700; }
.q4-tech-split small { display: block; font-size: 13px; margin-top: 6px; color: var(--muted); }
.q4-tech-split__plus { font: 30px Georgia, serif; color: var(--gold); text-align: center; }
.q4-tech-split__table { padding-left: 20px; }
.q4-lookup { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.q4-lookup-flow { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.q4-lookup-flow li { position: relative; padding: 19px 12px; background: #fcfaf1; border: 1px solid #c3cbb5; }
.q4-lookup-flow li:not(:last-child)::after { content: '→'; position: absolute; right: -15px; top: 40%; color: var(--gold); }
.q4-lookup-flow strong { display: block; font-size: 14px; line-height: 1.4; }
.q4-lookup-flow span { display: block; color: var(--muted); font-size: 12px; margin-top: 10px; line-height: 1.5; }
.q4-memory-path { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; font-size: 15px; }
.q4-tech-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 35px; }
.q4-tech-card { padding: 26px 0 12px; border-top: 1px solid #c3ccb4; }
.q4-tech-card h3 span { display: block; font: 700 12px/1.5 Arial, sans-serif; letter-spacing: .02em; margin-top: 9px; color: var(--gold); }
.q4-tech-card p { font-size: 15px; }
.q4-memory-guide { margin-top: 34px; padding-top: 28px; border-top: 2px solid #ad9560; }
.q4-memory-heading h3 { font-size: clamp(28px,3vw,38px); margin-bottom: 14px; }
.q4-memory-heading > p { max-width: 70ch; }
.q4-memory-basis { font-size: 12px; color: var(--muted); }
.q4-quant-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.q4-quant-choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 20px 17px; border: 1px solid #b9c4ae; border-top: 3px solid #b9c4ae; border-radius: 4px; background: #eeeedf; text-align: left; line-height: 1.5; }
.q4-quant-choice[aria-pressed=true] { background: #e0e9d6; border-color: var(--jade); box-shadow: inset 0 0 0 1px var(--jade); }
.q4-quant-choice:not(:disabled):hover { border-color: var(--gold); }
.q4-quant-role { min-height: 2.8em; font: 700 9px/1.4 Arial,sans-serif; letter-spacing: .09em; color: #715822; }
.q4-quant-choice > strong { font: 24px/1.2 Georgia,serif; overflow-wrap: anywhere; }
.q4-quant-size { display: block; margin-top: 15px; font: 30px/1.1 Georgia,serif; letter-spacing: -.03em; }
.q4-quant-size small { display: block; margin-top: 4px; font: 11px/1.5 Arial,sans-serif; letter-spacing: 0; }
.q4-quant-memory { margin-top: 12px; font-size: 11px; color: var(--muted); }
.q4-quant-choice > span:last-child { margin-top: 12px; font-size: 13px; }
.q4-memory-source { margin: 12px 0 24px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.q4-memory-workbench { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
.q4-memory-settings, .q4-memory-result { min-width: 0; }
.q4-memory-settings h4 { font: 23px/1.3 Georgia,serif; margin-bottom: 16px; }
.q4-memory-settings > p { font-size: 14px; line-height: 1.65; }
.q4-memory-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.q4-memory-controls label { font-size: 11px; font-weight: 700; }
.q4-memory-budget { grid-column: 1 / -1; }
.q4-memory-controls select { display: block; width: 100%; min-height: 44px; margin-top: 5px; padding: 7px; font-size: 12px; border: 1px solid #aab798; border-radius: 3px; background: #fffdf5; }
.q4-cache-comparison { display: grid; gap: 8px; }
.q4-cache-comparison > div { display: grid; grid-template-columns: 40px minmax(0,1fr) 65px; gap: 9px; align-items: center; font: 11px/1.5 monospace; color: var(--muted); }
.q4-cache-comparison strong { text-align: right; font-size: 11px; }
.q4-cache-track { height: 8px; background: #dce1cf; border-radius: 1px; }
.q4-cache-track i { display: block; height: 100%; background: #9eae8d; }
.q4-cache-comparison .is-selected { color: var(--ink); font-weight: 700; }
.q4-cache-comparison .is-selected i { background: var(--gold); }
.q4-memory-settings .q4-cache-saving { margin: 12px 0 0; font-size: 12px; color: #6c531c; }
.q4-memory-result { padding: 21px; background: #153e32; border-radius: 5px; color: #f7f1db; }
.q4-memory-result .q4-kicker { color: #d6c080; font-size: 9px; line-height: 1.5; letter-spacing: .07em; }
.q4-memory-result output { display: block; min-height: 2.4em; font: clamp(25px,2.7vw,32px)/1.2 Georgia,serif; }
.q4-memory-stack { display: flex; height: 13px; gap: 2px; margin: 5px 0 19px; overflow: hidden; border-radius: 2px; }
.q4-memory-stack i { height: 100%; flex-shrink: 1; }
.q4-memory-stack [data-memory-segment=weights], .q4-memory-breakdown .weights { background: #a9c495; }
.q4-memory-stack [data-memory-segment=cache], .q4-memory-breakdown .cache { background: #e1bd69; }
.q4-memory-stack [data-memory-segment=runtime], .q4-memory-breakdown .runtime { background: #69877b; }
.q4-memory-breakdown { margin: 0; font-size: 12px; }
.q4-memory-breakdown > div { display: flex; justify-content: space-between; gap: 10px; padding-block: 7px; border-bottom: 1px solid #c8d2b52a; }
.q4-memory-breakdown dt { display: flex; align-items: center; gap: 7px; }
.q4-memory-breakdown dt i { width: 7px; height: 7px; flex: none; }
.q4-memory-breakdown dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.q4-memory-fit { min-height: 4.8em; margin: 15px 0 10px; font-size: 13px; line-height: 1.6; color: #deebce; }
.q4-memory-result[data-fit=over] .q4-memory-fit { color: #f8d29d; }
.q4-memory-reserve { margin: 0; font-size: 11px; line-height: 1.6; color: #c1d0ba; }
.q4-memory-takeaway { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: 22px; margin-top: 24px; padding: 20px 0; border-block: 1px solid #bfc9b1; }
.q4-memory-takeaway > strong { font: 25px/1.25 Georgia,serif; }
.q4-memory-takeaway p { font-size: 14px; margin: 0; }
.q4-memory-method { margin-top: 16px; font-size: 12px; line-height: 1.7; }
.q4-memory-method summary { display: list-item; min-height: 44px; padding-block: 10px; font-weight: 700; }
.q4-memory-method p { max-width: 75ch; }
@media (max-width: 1120px) and (min-width: 851px), (max-width: 600px) {
  .q4-memory-workbench { grid-template-columns: 1fr; gap: 20px; }
  .q4-quant-choice { padding: 15px 12px; }
  .q4-quant-choice > strong { font-size: 21px; }
  .q4-quant-size { font-size: 27px; }
}
@media (max-width: 600px) {
  .q4-quant-choices { grid-template-columns: 1fr; gap: 9px; }
  .q4-quant-choice { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 5px 12px; padding: 16px; }
  .q4-quant-role { grid-column: 1 / -1; min-height: 0; }
  .q4-quant-size { grid-column: 2; grid-row: 2 / 4; margin: 0; text-align: right; }
  .q4-quant-memory { grid-column: 1; margin: 0; }
  .q4-quant-choice > span:last-child { grid-column: 1 / -1; margin: 3px 0 0; }
  .q4-memory-result output { min-height: 1.3em; font-size: 30px; }
  .q4-memory-fit { min-height: 0; }
  .q4-memory-takeaway { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 420px) {
  .q4-memory-controls { grid-template-columns: 1fr; }
}
.listening-chapter { position: relative; padding: 42px 36px; margin-block: 48px; border: 1px solid #a99a60; border-radius: 7px; background: radial-gradient(ellipse at 85% 10%, #355b42, #123b32 70%); color: #faf5e3; box-shadow: inset 0 0 0 6px #ffffff04; }
.listening-chapter .eyebrow { color: #dcc47b; }
.listening-chapter h2 { font-size: clamp(39px, 4.2vw, 57px); }
.listening-chapter em { color: #c2dab2; }
.studio-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 24px; }
.studio-intro > div > p:not(.eyebrow) { color: #d7e1ce; }
.studio-companion { min-width: 0; }
.studio-companion .speech { margin: -9px 0 10px; height: 104px; font-size: 17px; }
.gold { background: #e3cc8a; color: #183b32; border-color: #e3cc8a; }
.gold:hover { background: #f2db9c; }
.studio-tutorial { display: inline-block; font-size: 13px; padding-block: 15px; }
.player { position: relative; padding: 29px 30px; margin-top: 29px; background: #f8f1dc; color: var(--ink); border: 1px solid #d5c186; border-radius: 7px; box-shadow: inset 0 0 0 6px #e9e0c5, 0 12px 28px #061f2366; }
.player-top { display: flex; align-items: center; justify-content: space-between; color: #796128; font: 11px/1.5 monospace; letter-spacing: .09em; margin-bottom: 12px; }
.player-top > :last-child { font-size: 27px; }
.player h3 { font-size: 34px; margin-bottom: 9px; }
.player-subtitle { font-size: 14px; color: var(--muted); }
.transport { display: flex; gap: 25px; align-items: center; margin-top: 24px; }
.play-orb { width: 86px; height: 86px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 23%, #72966b, #194d39 70%); color: #fff3c9; border: 3px solid #b2994d; box-shadow: 0 0 0 5px #e1d8b8, inset 0 0 0 3px #729163; font-size: 25px; display: grid; place-items: center; }
.play-orb:hover { box-shadow: 0 0 0 5px #ddd0a7, 0 0 25px #a89a5955, inset 0 0 0 3px #729163; }
.progress-area { flex: 1; min-width: 0; }
.audio-wave { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 2px; overflow: hidden; color: #bac5a2; }
.audio-wave i, .audio-wave span { display: block; height: var(--height, var(--bar-height, 2px)); min-height: 2px; max-height: 100%; flex: 1; background: currentColor; border-radius: 2px; }
.audio-wave .played, .audio-wave [data-played=true] { color: var(--jade); }
.audio-wave svg { width: 100%; height: 100%; }
.progress-area input[type=range] { width: 100%; height: 25px; accent-color: var(--jade); margin: 5px 0 0; }
.timing { display: flex; justify-content: space-between; font: 12px/1.5 monospace; color: var(--muted); }
.player-actions, .player-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 17px; }
.player-actions button, .player-bottom button { min-height: 44px; padding: 9px 0; border: 0; background: none; font-size: 14px; }
.player-actions p, .player-bottom p { margin: 0 0 0 auto; font-size: 13px; color: var(--muted); }
.listener-comment { padding-top: 19px; border-top: 1px solid #d1ccb2; margin: 17px 0 0; font: italic 20px/1.4 Georgia, serif; text-align: center; }
.player[data-state=playing] .play-orb { box-shadow: 0 0 0 5px #e1d8b8, 0 0 32px #b09a5877; }
audio { display: block; width: 100%; margin-top: 20px; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.access-grid > * { padding: 27px 0 0; border-top: 2px solid var(--gold); }
.access-grid h3 { font-size: 28px; }
.access-grid p { font-size: 15px; }
.access-grid a { font-size: 14px; font-weight: 700; }
.faq-list details, .q4-questions details { border-top: 1px solid var(--line); }
.faq-list details:last-child, .q4-questions details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary, .q4-questions summary { padding: 20px 26px 20px 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
.faq-list details p, .q4-questions details p { max-width: 710px; padding-right: 15px; }
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.related-list > * { min-width: 0; border-top: 1px solid var(--line); padding-block: 21px; }
.related-list a { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.related-list img { width: 60px; height: 60px; object-fit: contain; flex: none; }
.related-list h3 { margin: 0 0 7px; font-size: 23px; }
.related-list p { font-size: 14px; margin: 0; color: var(--muted); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 36px; }
footer p, footer > a:last-child { font-size: 12px; margin: 0; }
footer .wordmark { font-size: 25px; }
@media (max-width: 1120px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 25px; }
  h1 { font-size: clamp(58px, 6.6vw, 78px); }
  .reading-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) 210px; }
  .chapter-nav a { padding-inline: 7px; font-size: 12px; }
  .family-feature, .family-signal { padding: 24px; }
  .q4-lookup-flow { grid-template-columns: 1fr 1fr; }
  .q4-lookup-flow li:nth-child(2)::after { display: none; }
  .studio-intro { grid-template-columns: 1.15fr 1fr; gap: 12px; }
  .listening-chapter { padding: 32px 24px; }
  .studio-companion .speech { font-size: 15px; padding: 12px; }
}
@media (max-width: 850px) {
  :root { --chapter-nav-height: 55px; --guide-gap: 0px; --reading-clearance: calc(var(--chapter-nav-height) + var(--guide-rail-height) + 20px); }
  html { scroll-padding-top: 0; }
  .masthead nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 35px; }
  h1 { font-size: clamp(46px, 7.4vw, 64px); }
  .intro { font-size: 16px; }
  .hero-note { margin-top: 25px; }
  .hero-note p { font-size: 19px; }
  .hero-alcove, .companion-alcove { padding-top: 29px; }
  .alcove-label { font-size: 8px; letter-spacing: .08em; }
  .speech { font-size: 17px; padding-inline: 12px; }
  .chapter-nav > .wrap:not(.mobile-nav) { display: none; }
  .chapter-nav > .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: '＋'; color: var(--gold); }
  .mobile-nav[open] summary::after { content: '−'; }
  /* An open menu takes up space, so it cannot cover the companion's face or controls. */
  .mobile-nav nav { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; max-height: 50dvh; overflow-y: auto; }
  .mobile-nav a { display: flex; font-size: 14px; }
  .reading-layout { display: block; }
  .guide-rail { z-index: 20; display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: 73px 44px; gap: 0 13px; height: 128px; padding: 5px 0 6px; margin: 0; background: #f5f1e5fa; border-bottom: 1px solid #c5cbb6; }
  .guide-rail::before { content: ''; position: absolute; inset: 0 -24px; border-bottom: 1px solid #c5cbb6; background: #f5f1e5fa; box-shadow: 0 6px 12px #173d3209; z-index: -1; }
  .guide-rail .companion-stage::before { display: none; }
  .guide-rail > .eyebrow, .guide-rail > .guide-cue { display: none; }
  .guide-rail .companion-stage { width: 108px; height: 108px; grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .guide-rail .hotspots { display: block; }
  .guide-rail .speech { grid-column: 2; grid-row: 1; height: 73px; margin: 0; padding: 5px 9px; border: 0; background: transparent; box-shadow: none; font-size: 17px; text-align: left; place-content: center start; }
  .guide-rail .speech::before { display: none; }
  .guide-actions { grid-column: 2; grid-row: 2; margin: 0; max-width: 360px; }
  .guide-actions button { font-size: 12px; }
  .chapter { padding-block: 55px; }
  .listening-chapter { margin-block: 55px; }
  .q4-lookup-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .q4-lookup-flow li:nth-child(2)::after { display: block; }
  .studio-intro { grid-template-columns: 1.2fr 1fr; gap: 24px; }
  .studio-companion .speech { font-size: 17px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 88px; gap: 12px; }
  .wordmark { font-size: 29px; }
  .brand-face { width: 46px; height: 46px; }
  .hub-link { font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 31px; padding-block: 31px 34px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(48px, 11.7vw, 70px); }
  .hero .eyebrow { margin-bottom: 21px; }
  .intro { max-width: 470px; font-size: 17px; }
  .hero-note { display: none; }
  .hero-actions { gap: 13px 19px; margin-top: 24px; }
  .hero-alcove, .companion-alcove { width: min(100%, 440px); justify-self: center; padding: 34px 10px 20px; }
  .alcove-label { font-size: 9px; letter-spacing: .12em; }
  .speech { font-size: 19px; }
  .latest { gap: 9px; flex-wrap: wrap; padding-block: 19px; }
  .latest .eyebrow { width: 100%; }
  .latest p { font-size: 20px; }
  .latest a { margin: 0; font-size: 12px; width: 100%; }
  .guide-rail { grid-template-columns: 94px minmax(0, 1fr); gap: 0 7px; }
  .guide-rail::before { left: -18px; right: -18px; }
  .guide-rail .companion-stage { width: 94px; height: 94px; }
  .guide-rail .speech { font-size: 15px; line-height: 1.35; padding-inline: 3px; }
  .guide-actions { gap: 4px; }
  .guide-actions button { font-size: 11px; padding-inline: 2px; }
  h2 { font-size: clamp(36px, 9.5vw, 48px); }
  .section-heading p:not(.eyebrow), .q4-section-intro > p:not(.q4-kicker) { font-size: 16px; }
  .family-selector { gap: 6px; }
  .family-selector button { font-size: 13px; }
  .family-overview { grid-template-columns: 1fr; }
  .family-feature { border-right: 0; padding: 24px; }
  .family-feature h3 { font-size: 31px; }
  .family-signal { padding: 22px 24px; border-top: 1px solid #c4cbb4; }
  .family-file summary { font-size: 23px; }
  .family-file summary small { display: block; margin: 7px 0 0; }
  .q4-family-files { grid-template-columns: 1fr; }
  .q4-family-file:nth-child(even) { padding-left: 0; border-left: 0; }
  .q4-clue-log { padding-left: 17px; }
  .q4-clue { padding-left: 12px; }
  .q4-clue::before { left: -23px; }
  .q4-clue time { display: block; margin-bottom: 4px; }
  .q4-clue h3 { font-size: 27px; }
  .q4-guide-note { font-size: 22px; padding: 20px 23px; }
  .q4-tech-split { padding: 21px 17px; grid-template-columns: 1fr 25px 1fr; }
  .q4-tech-split strong { font-size: 47px; }
  .q4-tech-split span { font-size: 14px; line-height: 1.4; }
  .q4-tech-split small { font-size: 12px; line-height: 1.5; }
  .q4-tech-split__table { padding-left: 8px; }
  .q4-lookup-flow { grid-template-columns: 1fr 1fr; gap: 16px; }
  .q4-lookup-flow li:nth-child(2)::after { display: none; }
  .q4-memory-path, .q4-tech-cards { grid-template-columns: 1fr; gap: 0; }
  .listening-chapter { padding: 29px 20px; }
  .studio-intro { grid-template-columns: 1fr; gap: 10px; }
  .listening-chapter h2 { font-size: 46px; }
  .studio-companion { width: min(100%, 290px); justify-self: center; }
  .studio-companion .speech { font-size: 18px; height: 94px; }
  .player { padding: 24px 20px; margin-top: 22px; }
  .player h3 { font-size: 29px; }
  .player-top { font-size: 9px; letter-spacing: .06em; }
  .transport { gap: 17px; }
  .play-orb { width: 64px; height: 64px; font-size: 22px; }
  .audio-wave { height: 39px; gap: 1px; }
  .player-actions, .player-bottom { gap: 2px 20px; }
  .player-actions p, .player-bottom p { width: 100%; margin: 0; }
  .listener-comment { font-size: 19px; }
  .access-grid, .related-list { grid-template-columns: 1fr; }
  .access-grid { gap: 23px; }
  footer { flex-wrap: wrap; gap: 18px; padding-block: 28px; }
  footer p { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Full-page markup alignment. */
.nav-label { font: italic 17px/1.2 Georgia, serif; margin-right: auto; }
.guide-invitation { color: #d6dfc8; font-size: 12px; text-align: center; line-height: 1.5; max-width: 290px; margin: 17px 15px 0; }
.guide-speech-wrap { min-width: 0; }
.guide-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 8px 0 17px; }
.read-progress { height: 2px; background: #d9ddc8; margin-top: 20px; overflow: hidden; }
.read-progress span { display: block; width: 0; height: 100%; background: var(--gold); }
.section-head { margin-bottom: 30px; }
.section-head > p, .intro-copy { max-width: 690px; color: var(--muted); font-size: 17px; }
.family-signal { text-align: center; }
.family-signal .signal-gem { font-size: 70px; line-height: 1; margin-bottom: 13px; }
.family-signal p { font: italic 25px/1.4 Georgia, serif; margin: 0; }
.family-feature { min-height: 0; }
.family-file summary { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; }
.family-file summary h3 { font-size: 25px; margin: 0; }
.file-number { font: 11px/1.4 monospace; color: var(--gold); }
.status-tag { font: 10px/1.4 Arial, sans-serif; padding: 5px 7px; color: #4c6849; border: 1px solid #c6ceb5; border-radius: 3px; }
.status-tag.likely { color: #826124; border-style: dashed; }
.family-file summary small { grid-column: 2 / -1; margin: 0; }
.family-file details[open] summary::after { content: '−'; }
.family-file details[open] { background: linear-gradient(90deg, #e9eddd80, transparent); }
.file-copy { padding: 0 25px 24px 37px; }
.file-meta { display: flex; flex-wrap: wrap; gap: 10px 23px; font-size: 13px; }
.studio-teaser { margin-top: 32px; padding: 22px 0; border-block: 1px solid #c4cbb4; display: flex; gap: 20px; align-items: center; }
.teaser-mark { color: var(--gold); font: 40px/1 Georgia, serif; }
.studio-teaser .eyebrow { margin-bottom: 4px; font-size: 9px; }
.studio-teaser p:not(.eyebrow) { font: 21px/1.3 Georgia, serif; margin: 0; }
.studio-teaser > a { margin-left: auto; font-size: 13px; }
.ngram-demo { padding: 25px; border: 1px solid #c4cbb4; background: #e8ebd8; margin-top: 27px; }
.token-example { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.token-example span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid #bfc8ab; background: #fdf9e9; font: 22px/1 Georgia, serif; }
.token-example .token-current { background: var(--deep); color: #f8ecc8; border-color: var(--deep); }
.ngram-demo .button { font-size: 13px; }
.ngram-demo > p { min-height: 3.3em; margin: 18px 0 0; font-size: 15px; }
.q4-lookup-flow li.active, .q4-lookup-flow li[data-active=true], .q4-lookup-flow li[aria-current=step] { background: #dfe8cb; border-color: var(--gold); box-shadow: inset 0 -3px #b69d59; }
.studio-bubble { position: relative; min-height: 88px; display: grid; place-content: center; padding: 14px; margin: -8px 0 0; border: 1px solid #c6b97e; border-radius: 5px; background: #f5eed5; color: var(--ink); text-align: center; font: italic 18px/1.4 Georgia, serif; }
.studio-bubble::before { content: ''; position: absolute; width: 12px; height: 12px; left: calc(50% - 6px); top: -7px; background: #f5eed5; border-top: 1px solid #c6b97e; border-left: 1px solid #c6b97e; transform: rotate(45deg); }
.player-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 18px; }
.player-heading h3 { margin: 0; }
.audio-kind { font-size: 11px; color: #75652d; }
.player-subtitle { margin-top: 12px; }
.studio-links { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 15px 25px; }
.studio-links .button { background: #e2cc8c; border-color: #e2cc8c; color: var(--deep); }
.studio-links > a:not(.button) { font-size: 13px; }
@media (max-width: 850px) {
  .guide-rail .guide-speech-wrap { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-rows: 73px 44px; min-width: 0; }
  .guide-rail .guide-label, .guide-rail .read-progress { display: none; }
  .guide-rail .speech { grid-column: 1; grid-row: 1; }
  .guide-rail .guide-actions { grid-column: 1; grid-row: 2; }
}
@media (max-width: 600px) {
  .section-head > p, .intro-copy { font-size: 16px; }
  .family-feature { min-height: 0; }
  .family-file summary { grid-template-columns: 20px minmax(0, 1fr); gap: 6px 10px; }
  .family-file summary h3 { font-size: 23px; }
  .family-file summary .status-tag { grid-column: 2; justify-self: start; }
  .family-file summary small { margin: 0; }
  .file-copy { padding-left: 30px; padding-right: 10px; }
  .studio-teaser { gap: 14px; flex-wrap: wrap; }
  .studio-teaser > a { margin-left: 39px; }
  .studio-teaser p:not(.eyebrow) { font-size: 19px; }
  .ngram-demo { padding: 22px 18px; }
  .ngram-demo > p { min-height: 5em; }
  .studio-bubble { min-height: 88px; font-size: 18px; }
}
.family-file > details:last-child { margin-bottom: 0; }
.audio-wave .is-heard { color: var(--jade); }
.q4-lookup-flow li.is-active { background: #dfe8cb; border-color: var(--gold); box-shadow: inset 0 -3px #b69d59; }
.related-list > a { display: flex; align-items: start; flex-direction: column; gap: 7px; text-decoration: none; }
.related-list > a strong { font: 25px/1.25 Georgia, serif; }
.related-list > a span { font-size: 13px; color: var(--muted); }
.related-list > a:hover strong { color: var(--gold); }
.footer-meta { color: var(--muted); margin-top: 5px; }

/* The atlas opens as a masthead, then becomes an annotated reading sheet. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.masthead-note { margin: 0; color: var(--muted); font: italic 18px/1.4 Georgia, serif; }
.wordmark > img { flex: none; object-fit: contain; }
.hero h1 { font-size: clamp(58px, 6.2vw, 89px); }
.lead { max-width: 490px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.hero-summary { display: grid; grid-template-columns: .8fr 1fr 1.25fr; gap: 16px; margin-top: 37px; padding-top: 23px; border-top: 1px solid var(--line); }
.hero-summary > div { min-width: 0; }
.hero-summary strong { display: block; font: 29px/1.2 Georgia, serif; letter-spacing: -.025em; }
.hero-summary span { display: block; margin-top: 9px; font-size: 9px; line-height: 1.5; letter-spacing: .08em; color: var(--muted); }
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: end; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { margin: 0 0 4px; font-size: 16px; }
.family-selector { gap: 0; border-bottom: 1px solid #bfc9b0; }
.family-selector button { border: 0; border-radius: 3px 3px 0 0; border-bottom: 3px solid transparent; }
.family-selector button:hover { background: #e5e9d7; }
.family-selector button[aria-pressed=true] { background: var(--deep); border-bottom-color: #bda666; box-shadow: none; }
.family-selector small { display: block; line-height: 1.2; opacity: .8; }
.family-feature { display: flex; flex-direction: column; justify-content: center; }
.family-feature > a { align-self: start; font-size: 13px; margin-top: auto; padding-top: 8px; }
.family-signal { position: relative; }
.family-signal::before { content: ''; position: absolute; left: 0; top: 50%; width: 30%; height: 1px; background: linear-gradient(90deg, #ae9454, transparent); }
.family-signal[data-tracing=true] .signal-gem { color: #66511b; text-shadow: 0 0 18px #c9a14b88; }
.family-file.is-selected { box-shadow: inset 3px 0 var(--gold); }
.family-file.is-selected summary { padding-left: 12px; }
.q4-clue { transition: background-color .2s; }
.q4-clue.is-examined { background: #e9ecda; }
.clue-examine { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; margin-left: 22px; border: 0; background: transparent; color: var(--jade); font-size: 13px; text-decoration: underline; text-underline-offset: .22em; }
.q4-tech-split { border-width: 1px 0; padding-block: 34px; }
.q4-tech-split__main { padding-right: 12px; }
.q4-tech-cards { counter-reset: mechanism; }
.q4-tech-card { counter-increment: mechanism; }
.q4-tech-card::before { content: '0' counter(mechanism); display: block; margin-bottom: 12px; font: 11px/1.4 monospace; color: var(--gold); }
.studio-bubble { height: 106px; min-height: 0; }
.studio-companion { align-self: end; }
.player-heading { align-items: baseline; }
.audio-kind { margin-left: auto; }
.player-subtitle { margin-bottom: 0; }
.guide-rail { isolation: isolate; }
.guide-rail .speech { overflow: auto; scrollbar-width: thin; }

@media (min-width: 851px) {
  .q4-clue-log { margin-left: 4px; }
  .q4-clue { padding-right: 12px; }
  .q4-clue p { max-width: 66ch; }
}
@media (max-width: 1120px) and (min-width: 851px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .family-overview { grid-template-columns: 1.25fr 1fr; }
  .family-signal p { font-size: 22px; }
}
@media (max-width: 850px) {
  .hero h1 { font-size: clamp(47px, 7.3vw, 64px); }
  .masthead-note { font-size: 16px; }
  .lead { font-size: 16px; }
  .hero-summary { grid-template-columns: 1fr 1fr; gap: 17px 12px; margin-top: 25px; }
  .hero-summary > div:last-child { grid-column: 1 / -1; }
  .hero-summary > div:last-child strong { font-size: 23px; }
  .guide-rail .speech { overflow: auto; }
}
@media (max-width: 600px) {
  .masthead-note { display: none; }
  .hero h1 { font-size: clamp(49px, 12vw, 70px); }
  .lead { max-width: 40ch; font-size: 17px; }
  .hero-summary { grid-template-columns: .8fr 1fr 1.3fr; margin-top: 25px; gap: 12px; }
  .hero-summary > div:last-child { grid-column: auto; }
  .hero-summary strong, .hero-summary > div:last-child strong { font-size: 25px; }
  .hero-summary span { font-size: 8px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .family-feature { min-height: 0; }
  .family-signal { min-height: 168px; display: grid; grid-template-columns: 55px 1fr; align-items: center; gap: 20px; text-align: left; }
  .family-signal .signal-gem { margin: 0; font-size: 55px; }
  .family-signal::before { display: none; }
  .family-signal p { font-size: 23px; }
  .clue-examine { display: flex; margin-left: 0; }
  .studio-bubble { height: 106px; }
  .audio-kind { margin-left: 0; }
  .listening-chapter h2 { font-size: clamp(36px, 10vw, 46px); }
}

/* Keep the complete square artwork and its matching hit map inside a small safety gutter.
   Explicit overrides also prevent a cached shared artwork crop from trimming the ears. */
.companion-stage { --art-gutter: 8px; overflow: visible; clip-path: none; }
.companion-stage > [data-shared-artwork] { position: absolute; inset: var(--art-gutter); width: auto; height: auto; overflow: visible; clip-path: none; }
.companion-stage .model-artwork.qwen-companion-art { width: 100%; height: 100%; overflow: visible; clip-path: none; border-radius: 0; }
.companion-stage .hotspots { inset: var(--art-gutter); }
.hero-alcove, .companion-alcove, .guide-rail, .studio-companion { overflow: visible; clip-path: none; }
.hotspots button { box-shadow: none; }

/* Compact reading rhythm: headings establish scope, details remain close to them. */
h2 { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 18px; }
.hero { padding-block: 36px; gap: 32px; }
.hero-copy { padding-block: 8px; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(54px, 5.8vw, 82px); margin-bottom: 22px; }
.hero-summary { margin-top: 26px; padding-top: 18px; }
.hero-alcove, .companion-alcove { padding-top: 28px; }
.reading-layout { gap: 36px; }
.guide-rail { margin-top: 44px; padding-top: 10px; }
.guide-rail .speech { height: 132px; font-size: 16px; line-height: 1.45; }
.guide-label { margin-block: 22px 10px; }
.section-head, .section-heading, .q4-section-intro { margin-bottom: 22px; }
.section-head { grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
.section-head h2 br { display: none; }
.section-head h2 em::before { content: ' '; }
.section-head > p, .intro-copy, .q4-section-intro > p:not(.q4-kicker) { line-height: 1.55; }
.section-brief { max-width: 70ch; margin-block: 12px 20px; color: var(--muted); line-height: 1.55; }
.section-jumps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block: 16px 22px; font-size: 13px; }
.section-jumps a { min-height: 36px; display: inline-flex; align-items: center; }
.family-selector { margin-block: 22px 12px; }
.family-overview { grid-template-columns: 1.45fr 1fr; margin-bottom: 22px; }
.family-feature, .family-signal { padding: 22px; }
.family-feature h3 { font-size: 28px; margin-bottom: 12px; }
.family-feature p { margin-bottom: 12px; }
.family-feature > a { margin-top: 0; }
.family-signal .signal-gem { font-size: 40px; margin-bottom: 9px; }
.family-signal p { font-size: 20px; }
.family-file summary { padding-block: 17px; }
.family-file summary::after { top: 19px; }
.q4-clue-log { margin-block: 27px; }
.q4-clue { padding-bottom: 21px; margin-bottom: 22px; }
.q4-clue h3 { font-size: 25px; margin-block: 9px; }
.q4-guide-note { font-size: 20px; padding: 17px 22px; margin-block: 22px; }
.q4-tech-split { padding-block: 25px; }
.q4-tech-split strong { font-size: 52px; }
.q4-lookup { margin-top: 28px; padding-top: 25px; }
.q4-tech-cards { margin-top: 24px; }
.q4-tech-card { padding-top: 20px; }
.q4-family-source, .q4-tech-caption { margin-block: 16px 24px; }

/* The early Demodokos placement is a complete, warm listening invitation. */
.studio-teaser[data-player] { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px 20px; align-items: center; margin-top: 28px; padding: 20px; border: 1px solid #c2ac72; border-radius: 7px; background: linear-gradient(115deg, #e2e8d2, #f7efd8 72%); box-shadow: inset 0 0 0 4px #ffffff40; }
.teaser-art { width: 110px; min-width: 0; grid-column: 1; grid-row: 1 / 3; align-self: center; }
.teaser-art .companion-stage { width: 110px; height: 110px; --art-gutter: 3px; }
.teaser-copy { min-width: 0; }
.studio-teaser .teaser-copy .eyebrow { color: #796028; margin-bottom: 5px; }
.studio-teaser .teaser-copy h3 { font-size: 26px; margin: 0 0 7px; }
.studio-teaser .teaser-copy p:not(.eyebrow) { font: 14px/1.55 Arial, sans-serif; max-width: 56ch; }
.teaser-controls { grid-column: 2; min-width: 0; }
.teaser-controls .custom-player { min-width: 0; }
.teaser-controls .transport { margin: 0; gap: 16px; }
.teaser-controls .play-orb { width: 52px; height: 52px; border-width: 2px; font-size: 19px; box-shadow: 0 0 0 3px #e0d3aa, inset 0 0 0 2px #729163; }
.teaser-controls .audio-wave { height: 25px; }
.teaser-controls .timing { font-size: 11px; }
.teaser-controls input[type=range] { accent-color: var(--jade); }
.teaser-controls .player-actions { gap: 6px 17px; margin-top: 5px; }
.teaser-controls .player-actions button, .teaser-controls .player-actions p { font-size: 12px; }
.teaser-controls audio { margin-top: 0; min-width: 0; }
.studio-teaser .teaser-link { grid-column: 2; font-size: 12px; margin: 0; justify-self: start; }
.studio-teaser[data-state=playing] { border-color: #66845a; background: linear-gradient(115deg, #dae7cf, #f7efd8 72%); }

@media (max-width: 1120px) and (min-width: 851px) {
  .reading-layout { gap: 25px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 850px) {
  .guide-rail { margin-top: 0; padding: 5px 0 6px; }
  .guide-rail .speech { height: 73px; font-size: 16px; line-height: 1.35; }
  .guide-rail .companion-stage { --art-gutter: 4px; }
  .chapter { padding-block: 38px; }
  .listening-chapter { margin-block: 38px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .hero { padding-block: 25px 30px; gap: 23px; }
  .hero h1 { font-size: clamp(46px, 11.6vw, 65px); }
  .hero-alcove, .companion-alcove { max-width: 360px; padding-top: 25px; }
  h2 { font-size: clamp(32px, 8.8vw, 42px); }
  .guide-rail .speech { font-size: 14px; }
  .family-overview { grid-template-columns: 1fr; }
  .family-feature { padding: 20px; }
  .family-signal { min-height: 0; padding: 14px 20px; grid-template-columns: 30px 1fr; gap: 12px; }
  .family-signal .signal-gem { font-size: 30px; margin: 0; }
  .family-signal p { font-size: 18px; }
  .q4-clue h3 { font-size: 24px; }
  .q4-tech-split strong { font-size: 43px; }
  .studio-teaser[data-player] { grid-template-columns: 76px minmax(0, 1fr); gap: 10px 12px; padding: 17px; }
  .teaser-art { width: 76px; grid-row: 1; }
  .teaser-art .companion-stage { width: 76px; height: 76px; }
  .studio-teaser .teaser-copy h3 { font-size: 23px; }
  .teaser-controls, .studio-teaser .teaser-link { grid-column: 1 / -1; }
  .teaser-controls .player-actions p { width: auto; margin-left: auto; }
}

/* Precise feature targets sit above the forgiving whole-character tap target. */
.companion-tap { position: absolute; inset: var(--art-gutter); z-index: 1; width: calc(100% - 2 * var(--art-gutter)); height: calc(100% - 2 * var(--art-gutter)); padding: 0; background: transparent; border: 0; border-radius: 4px; box-shadow: none; }
.companion-tap:hover, .companion-tap:active { background: transparent; box-shadow: none; }
.companion-tap:focus:not(:focus-visible) { outline: none; }
.companion-tap:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.companion-stage .hotspots { z-index: 2; }
.guide-rail .hotspots button, .teaser-art .hotspots button { min-width: 0; min-height: 0; }
.hotspots button[data-region^="eye"] { min-width: 0; min-height: 0; }

/* Integrated teaser markup keeps its compact transport inside the copy column. */
.studio-teaser[data-player] .teaser-art { grid-row: 1; }
.teaser-controls.custom-player { display: grid; grid-template-columns: 52px 65px minmax(0, 1fr); align-items: center; gap: 4px 13px; margin-top: 13px; }
.teaser-controls > .play-orb { grid-column: 1; grid-row: 1; }
.teaser-controls > .progress-area { grid-column: 2 / -1; grid-row: 1; }
.teaser-controls > button:not(.play-orb) { min-height: 44px; min-width: 44px; padding: 6px 0; border: 0; background: transparent; text-align: left; font-size: 12px; }
.teaser-controls > [data-mute] { grid-column: 1; grid-row: 2; }
.teaser-controls > [data-replay] { grid-column: 2; grid-row: 2; }
.studio-teaser .teaser-controls > [data-player-status] { grid-column: 3; grid-row: 2; font: 12px/1.4 Arial, sans-serif; color: var(--muted); }
.studio-teaser .teaser-copy .teaser-track { margin-top: 9px; color: #766027; font-size: 12px; }
.studio-teaser .teaser-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
.studio-teaser .teaser-copy > audio { margin-top: 12px; }
.family-signal { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 13px 10px; text-align: left; }
.family-signal::before { display: none; }
.family-facts { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.4; }
.family-facts > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 8px; padding-block: 7px; border-bottom: 1px solid #cdd2bb; }
.family-facts dt { color: var(--muted); }
.family-facts dd { margin: 0; font-weight: 700; }
.family-signal .signal-gem { font-size: 27px; margin: 0; align-self: center; }
.family-signal p { font-size: 18px; align-self: center; }
@media (max-width: 600px) {
  .studio-teaser .teaser-copy { display: contents; }
  .studio-teaser[data-player] .teaser-art { grid-column: 1; grid-row: 1 / 4; align-self: center; }
  .studio-teaser .teaser-copy > .eyebrow { grid-column: 2; grid-row: 1; margin-bottom: 0; }
  .studio-teaser .teaser-copy > h3 { grid-column: 2; grid-row: 2; margin: 0; }
  .studio-teaser .teaser-copy > p:not(.eyebrow):not(.teaser-track) { grid-column: 2; grid-row: 3; }
  .studio-teaser .teaser-copy > .teaser-track, .studio-teaser .teaser-copy > audio, .studio-teaser .teaser-copy > .teaser-controls, .studio-teaser .teaser-copy > .teaser-link { grid-column: 1 / -1; }
  .studio-teaser .teaser-copy > .teaser-track { margin-top: 2px; }
  .teaser-controls.custom-player { margin-top: 2px; column-gap: 11px; }
  .studio-teaser .teaser-controls > [data-player-status] { font-size: 11px; }
  .family-signal { grid-template-columns: 25px minmax(0, 1fr); gap: 10px; }
}
.teaser-controls .progress-area input[type=range] { min-height: 44px; }
