/* V3.2 — legible reading surfaces and purposeful motion. */
:root{--read-ink:#25311f;--read-muted:#4a593e;--read-paper:#f7f8f1;--read-panel:#eef1e5;--motion-ease:cubic-bezier(.22,1,.36,1)}
.reading-page{background:var(--read-paper)}
.article-body{color:var(--read-ink)}.article-body p{color:#35452d}
.answer,.note-banner,.material-outline>div,.step-flow,.parameter-grid>div,.definition-pair>div,.definition-pair>div+div,.metric-grid>div,.mode-card,.mode-card:nth-child(2),.mode-card:nth-child(3),.design-response{background:var(--read-panel);color:var(--read-ink)}
.scope-table th{background:#e4ead7;color:#26361f}.scope-table td{background:#fafbf6;color:#35452d}.scope-table tr:nth-child(even) td{background:#eef2e5}.scope-table a{color:#355a20;text-decoration:underline;text-underline-offset:3px}
.article-body .source-note,.article-body .context-note{color:var(--read-muted)!important;font-size:12px!important;line-height:1.9!important}
.insight-card>span,.roadmap>div>span,.glossary-item h3 span,.field-entry small,.field-entry p b,.source-card .source-title,.study-card dd:last-child{color:var(--read-muted)}
.article-body .mode-card .eyebrow{color:#3f5928}.mode-card .mode-index,.metric-grid>div>span,.field-entry>span{color:#526c36}
.article-body .signal-lab,.logic-figure,.body-map,.textile-figure,.calorie-model,.phase-ribbon>div{color:#f2f5e8}
.article-body .signal-lab h3,.article-body .calorie-model h3,.logic-flow strong{color:#f2f5e8}
.article-body .signal-lab p,.calorie-model p,.logic-flow small,.logic-figure figcaption,.body-map figcaption,.textile-figure figcaption{color:#cad6bd!important}
.article-body .signal-lab .signal-switch>input:checked+label{color:#101510}
.fine-print{color:#48563d;font-size:12px}.deep-dive{background:#f4f6ed}.deep-dive .eyebrow,.deep-dive .section-heading>p{color:#455b32}.chapter-card{background:#e8eedc;color:#25351e}.chapter-card:hover{background:#dce8c8;color:#25351e}.chapter-card p{color:#435a31}.chapter-card .chapter-number{color:#536f36}.chapter-card .eyebrow{color:#425d2b}
.photo-chapter,.photo-chapter:hover{background:linear-gradient(180deg,#111c1280,#111c12f5),url('assets/post-track.webp') center 50%/cover;color:#f4f7ed}.photo-chapter .eyebrow,.photo-chapter p{color:#e0ebd3}.photo-chapter>b{color:#f4f7ed}
.compare-entry{background:#eef2e3}.compare-path a:hover,.compare-path a:focus-visible{color:#233119;background:#e1e9d0}
.reading-next{background:#e1edbe;color:#23351b}.reading-next:hover{background:#d2e59f;color:#23351b}
.skip{background:#fff;color:#182510}.skip:focus{z-index:1000;outline:3px solid #6e8b35}
.scene-top{padding:5px 8px;background:#101b12d9}.photo-top>span:last-child{padding:7px 10px;background:#101510d9}.photo-bottom>span{background:#101510d9;padding:7px 10px}.scene-copy p{color:#f1f5eb}.scene-copy{ text-shadow:0 1px 6px #071008 }
.footer-word{color:#899e76}.field-video video{color:#e8efdc}
.article-body .text-link:hover,.source-tabs a:focus-visible{text-decoration:underline}
.reading-progress{position:absolute;bottom:-1px;left:0;height:3px;width:100%;background:#d6fa48;transform:scaleX(0);transform-origin:left;pointer-events:none}
.motion-toggle{position:fixed;right:16px;bottom:16px;z-index:80;border:1px solid #809267;border-radius:30px;background:#15200ff2;color:#f1f5e9;min-height:44px;padding:9px 16px;font:600 12px/1.4 var(--sans);cursor:pointer;box-shadow:0 3px 18px #0002}.motion-toggle:focus-visible{outline:3px solid #66852d;outline-offset:4px}.site-footer{padding-bottom:80px}
.button,.text-link,.compare-path a,.system-index a,.evidence-links>a,.reading-next,.source-tabs a{transition:background-color .22s,color .22s,transform .3s var(--motion-ease),border-color .22s}
.signal-switch>label{transition:background-color .2s,color .2s,border-color .2s}
.mobile-menu summary span,details.explain summary:after{transition:transform .25s var(--motion-ease)}
@media(hover:hover) and (pointer:fine){.system-index a:hover,.evidence-links>a:hover{transform:translateX(6px)}.compare-path a:hover{padding-left:14px}.compare-path a{transition:background-color .2s,padding-left .35s var(--motion-ease)}.scene:hover>img{transform:scale(1.045);transition:transform .8s var(--motion-ease)}.reading-next:hover{transform:translateY(-3px)}}
@media(max-width:560px){.motion-toggle{right:12px;bottom:12px}.source-card .source-title,.field-entry small,.glossary-item h3 span{font-size:12px}.chapter-card .chapter-number{font-size:62px;top:28px}.mode-card .mode-index{font-size:48px}.article-body .source-note{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation:none!important;transition:none!important}.button:hover,.chapter-card:hover,.scene:hover>img,.reading-next:hover,.system-index a:hover,.evidence-links>a:hover{transform:none}}
html[data-motion="off"]{scroll-behavior:auto!important}html[data-motion="off"] *,html[data-motion="off"] *:before,html[data-motion="off"] *:after{animation:none!important;transition:none!important}html[data-motion="off"] .button:hover,html[data-motion="off"] .chapter-card:hover,html[data-motion="off"] .scene:hover>img,html[data-motion="off"] .reading-next:hover,html[data-motion="off"] .system-index a:hover,html[data-motion="off"] .evidence-links>a:hover{transform:none}
.article-toc>a>span{color:#4a593e}.film-number{color:#a6ba91}
@media(hover:none){.button:hover,.chapter-card:hover,.reading-next:hover{transform:none}.scene:hover>img{transform:none}}
.article-toc a:hover,.article-toc a:focus-visible{color:#35531f;background:#e5ecd9}.article-toc a{transition:background-color .2s,color .2s}
.article-body :focus-visible,.article-toc :focus-visible,.deep-dive :focus-visible,.compare-entry :focus-visible{outline:3px solid #426129;outline-offset:4px}.article-body .signal-switch>input:focus-visible+label{outline-color:#f5f8ed}
