@font-face{font-family:"DM Sans";src:url("../assets/dm-sans.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("../assets/instrument-serif-italic.woff2") format("woff2");font-style:italic;font-weight:400;font-display:swap}
:root{
  color-scheme:light;
  --paper:#f7f7f0;--card:#fffffa;--tint:#e9eee5;--ink:#192f2b;--muted:#4e6259;--line:#c9d3c7;
  --accent:#225c4e;--on-accent:#fff;--accent-soft:#dbe8db;--student:#805323;--student-soft:#f3ead6;
  --night:#102f29;--night-text:#f0f4e6;--mint:#b7debf;--gold:#e8cb8c;--focus:#b56118;
  --sans:"DM Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  --serif:"Instrument Serif",Georgia,"Times New Roman",serif;
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --paper:#12251f;--card:#192f29;--tint:#1f372f;--ink:#ecf1e4;--muted:#b8c9bb;--line:#38554a;
  --accent:#a5d8b7;--on-accent:#142d21;--accent-soft:#304e3b;--student:#e9c68a;--student-soft:#383526;--focus:#ffc981;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.62 var(--sans);text-rendering:optimizeLegibility}
a{color:var(--accent);text-underline-offset:.19em;text-decoration-thickness:.075em}
a:hover{text-decoration-thickness:.13em}
button,input,textarea,select{font:inherit}
button,summary,select,input[type=range]{cursor:pointer}
button{color:var(--ink)}
img,svg{display:block}
img{max-width:100%;height:auto}
figure,p,h1,h2,h3,h4,ul,ol{margin:0}
p+p{margin-top:.8em}
h1,h2,h3,h4{font-weight:600;line-height:1.11;text-wrap:balance}
h1,h2{letter-spacing:-.052em}
h3{letter-spacing:-.028em}
h4{letter-spacing:-.015em}
h1 em{font-family:var(--serif);font-weight:400;letter-spacing:-.032em}
h2{font-size:clamp(2.05rem,4vw,3.55rem)}
h3{font-size:clamp(1.22rem,2vw,1.52rem)}
h4{font-size:1.12rem}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{
  outline:3px solid var(--focus);outline-offset:4px;
}
main:focus{outline:none}
[hidden]{display:none!important}
html:not(.enhanced) .js-only{display:none!important}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip:focus{position:fixed;left:1rem;top:.7rem;z-index:20;background:var(--card);color:var(--ink);padding:.6rem 1rem}
.wrap{width:min(100% - clamp(2.25rem,9vw,9rem),81rem);margin-inline:auto}
.icon{width:1.25em;height:1.25em;flex:none}
.brand{display:inline-flex;align-items:center;gap:.65rem;text-decoration:none;color:inherit;font-size:1.2rem;line-height:1.1;letter-spacing:-.045em;font-weight:700;white-space:nowrap}
.brand .icon{width:2.08rem;height:2.08rem}
.mast{position:relative;z-index:6;background:var(--paper);border-bottom:1px solid var(--line)}
.mast-inner{display:flex;gap:clamp(1.25rem,4vw,4rem);align-items:center;min-height:4.65rem}
.page-nav{display:flex;align-self:stretch;align-items:stretch;gap:clamp(.7rem,2.2vw,2.15rem);margin-left:auto}
.page-nav a{display:flex;align-items:center;position:relative;color:var(--muted);text-decoration:none;font-size:.94rem;font-weight:500;white-space:nowrap}
.nav-short{display:none}
.page-nav a[aria-current],.page-nav a:hover{color:var(--ink)}
.page-nav a[aria-current]::after{content:"";position:absolute;left:0;right:0;bottom:.82rem;height:2px;background:var(--accent)}
.mast-tools{display:flex;align-items:center;gap:.45rem}
.source-drawer>summary{display:inline-flex;align-items:center;gap:.42rem;min-height:2.55rem;padding:.45rem .8rem;line-height:1.1;border:1px solid var(--line);border-radius:3px;font-size:.91rem;font-weight:600}
.source-drawer>summary:hover,.icon-button:hover{background:var(--tint)}
summary{list-style:none}
summary::-webkit-details-marker{display:none}
.icon-button{display:inline-grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:3px;color:var(--ink);width:2.55rem;height:2.55rem}
.theme[aria-pressed=true]{background:var(--accent-soft)}
.drawer-panel{position:absolute;right:max(calc((100vw - 81rem)/2),4.5vw);top:calc(100% + .35rem);width:min(33rem,calc(100vw - 2.2rem));background:var(--card);padding:1.4rem 1.6rem;border:1px solid var(--line);border-radius:4px;box-shadow:0 12px 32px #09281e2d}
.drawer-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:.7rem}
.drawer-title h2{font-size:1.55rem;letter-spacing:-.035em}
.drawer-panel .resource-groups{grid-template-columns:1fr 1fr;gap:1rem}
.drawer-panel>p{font-size:.86rem;margin-top:1rem;color:var(--muted)}
.eyebrow,.mono,.figure-rule,.diagram-header,.diagram-caption,.case-label,.phase-no,.mile-date{font-family:var(--mono)}
.eyebrow{font-size:.75rem;line-height:1.5;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0 0 .8rem}
.cover{overflow:hidden;position:relative;color:var(--night-text);background-color:#16372e;background-image:radial-gradient(ellipse at 74% 35%,#355a442e 0,transparent 66%),linear-gradient(90deg,#102e27 0%,#183c32 73%,#183a31 100%)}
.cover::before,.diagram-panel::before,.portrait::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#bedea810 1px,transparent 1px),linear-gradient(90deg,#bedea810 1px,transparent 1px);background-size:32px 32px}
.cover::before{mask-image:linear-gradient(90deg,transparent 0%,#0006 35%,#000 65%,#000b)}
.cover-grid{position:relative;display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.32fr);gap:.6rem;align-items:center;min-height:clamp(25rem,38vw,33.5rem);padding-block:2.9rem 3.1rem}
.cover .eyebrow{color:#c2d7af;font-size:.75rem;display:flex;align-items:center;gap:.7rem}
.cover .eyebrow::before{content:"";height:1px;width:2rem;background:#dbbf82}
.cover h1{font-size:clamp(4rem,7.4vw,7.2rem);line-height:.91;letter-spacing:-.07em;white-space:nowrap}
.cover h1 em{color:#d6ddad}
.cover-copy>p:not(.eyebrow){font-size:clamp(1.04rem,1.45vw,1.24rem);line-height:1.5;color:#dae5d5;max-width:31rem;margin:1.45rem 0}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem 1.05rem}
.button,.small-button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border-radius:3px;min-height:2.8rem;text-decoration:none;font-weight:600;font-size:.94rem;line-height:1.25;padding:.65rem 1.05rem;border:1px solid var(--line)}
.button:hover,.small-button:hover{filter:brightness(.96)}
.button.primary{background:var(--mint);border-color:var(--mint);color:#153c2b}
.button.quiet{color:#f0f4e5;background:transparent;border-color:#809787}
.small-button{background:var(--card);color:var(--ink);min-height:2.55rem;padding:.55rem .8rem}
.cover-plate{position:relative;min-width:0;align-self:center;margin-inline:-1.3rem -2.5rem}
.cover-plate img{width:100%;height:auto;filter:drop-shadow(0 10px 12px #061f1930)}
.cover-plate figcaption{display:flex;align-items:center;justify-content:center;gap:.55rem;margin-top:.75rem;font:500 .75rem/1.4 var(--mono);letter-spacing:.035em;color:#c6d6c5}
.figure-rule{display:inline-block;width:1.8rem;height:1px;background:#95b39b}
.cover-plate figcaption>span:nth-child(2){color:#a4b6a8}
.section{padding-block:clamp(2.7rem,5.8vw,5.1rem);scroll-margin-top:1rem}
.section-heading{max-width:46rem;margin-bottom:1.6rem}
.section-heading .eyebrow{margin-bottom:.47rem}
.section-heading>p:not(.eyebrow),.deck{margin-top:1rem;color:var(--muted);font-size:1.06rem;line-height:1.58}
.section-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:1.65rem}
.section-head-row .section-heading{margin:0}
.choices{display:flex;flex-wrap:wrap;align-items:stretch;gap:.15rem;background:var(--tint);border:1px solid var(--line);border-radius:4px;padding:.2rem;width:fit-content}
.choices button{font-size:.91rem;font-weight:500;line-height:1.25;min-height:2.3rem;background:transparent;color:var(--muted);border:0;border-radius:2px;padding:.38rem .79rem}
.choices button[aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}
.choices button:not([aria-pressed="true"]):hover{background:var(--accent-soft);color:var(--ink)}
.card-grid,.boundaries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.85rem,2vw,1.6rem)}
.study-card{color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:4px;overflow:hidden;display:flex;flex-direction:column;text-decoration:none;transition:transform .18s ease,border-color .18s ease}
.study-card:hover{transform:translateY(-3px);border-color:var(--accent)}
.card-art{height:clamp(7.4rem,11vw,10.5rem);background:#264a40;overflow:hidden;border-bottom:1px solid var(--line)}
.photo-band{height:100%;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(90deg,#c6cbbb15 0,#c6cbbb15 1px,transparent 1px,transparent 14px),#4b6052}
.photo-band img{height:100%;width:68%;object-fit:cover;object-position:50% 29%;filter:grayscale(.85) sepia(.26);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 87%,transparent)}
.plan-band{height:100%;display:grid;place-items:center;background-color:#24483b;background-image:linear-gradient(90deg,#c1d7ba12 1px,transparent 1px),linear-gradient(#c1d7ba12 1px, transparent 1px);background-size:19px 19px}
.plan-band svg{height:230%;width:auto;max-width:96%;margin-top:0;align-self:start;transform:translateY(-24%)}
.net-band{height:100%;width:100%;object-fit:cover}
.card-body{padding:1.2rem 1.25rem 1.35rem}
.card-body .eyebrow{margin-bottom:.55rem;font-size:.73rem}
.net-card .eyebrow,.student .eyebrow,.student-section .eyebrow{color:var(--student)}
.card-body h3{font-size:clamp(1.28rem,2.1vw,1.7rem);margin-bottom:.45rem}
.card-body p:not(.eyebrow){color:var(--muted);line-height:1.48}
.context-section{background:var(--tint);border-block:1px solid var(--line)}
.context-grid{display:grid;grid-template-columns:1.12fr 1fr;align-items:start;gap:clamp(2rem,7vw,7rem);padding-block:clamp(2.7rem,5.8vw,5rem)}
.context-grid h2{margin-bottom:1rem}
.context-grid p:not(.eyebrow),.boundaries p:not(.eyebrow),.concept-list p,.marginal p,.debate-list p,.duo p,.mile-body p,.plain-details p,.smallnote{color:var(--muted)}
.fact-sheet{border-top:1px solid var(--line)}
.fact-sheet>div{padding:.65rem 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:6.6rem 1fr;gap:1rem;align-items:center}
.fact-sheet strong{font-size:clamp(1.8rem,3.8vw,3.1rem);font-weight:500;line-height:1.2;letter-spacing:-.05em}
.fact-sheet span{color:var(--muted)}
.boundaries article,.marginal>div{border-top:2px solid var(--line);padding-top:1.2rem}
.boundaries article.student{border-color:var(--student)}
.boundaries h3,.marginal h3,.duo h3{margin-bottom:.65rem}
.source-link,.refs a,.text-link{font-weight:500}
.refs,.text-link{margin-top:.8rem}
.refs{font-size:.855rem;line-height:1.6}
.refs span{color:var(--muted)}
.text-link{display:inline-block}
.inner-cover{background:var(--tint);border-bottom:1px solid var(--line)}
.inner-cover.compact>.wrap{padding-block:clamp(2.25rem,5vw,4rem)}
.inner-cover h1{font-size:clamp(3.3rem,6.7vw,6.2rem);line-height:1.02}
.inner-cover h1 em{color:var(--accent)}
.inner-cover .deck{font-size:clamp(1.04rem,1.6vw,1.27rem);max-width:52rem;margin-top:.85rem}
.bio-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,19rem);align-items:center;gap:2rem;padding-block:2rem}
.portrait{display:grid;grid-template-columns:auto;position:relative;justify-items:center;background:#203c32;color:#d9e7d7;border-radius:3px;overflow:hidden}
.portrait img{z-index:1;width:min(100%,12rem);height:12.6rem;object-fit:cover;object-position:50% 42%;filter:grayscale(.65) sepia(.15)}
.portrait figcaption{position:relative;width:100%;background:#193327;padding:.4rem .7rem;font-size:.78rem;color:#e8ecdb;text-align:center}
.portrait a{color:#d0e1bd}
.chapter-meta{display:flex;align-items:center;gap:.9rem 1.4rem;margin-top:1.25rem;flex-wrap:wrap}
.chapter-meta span{display:inline-flex;align-items:center;gap:.4rem;color:var(--muted);font-size:.95rem}
.reading-layout{display:grid;grid-template-columns:minmax(0,.74fr) minmax(0,1.36fr);gap:clamp(2rem,7.5vw,6.5rem)}
.reading-layout>div,.context-grid>div,.duo article{min-width:0}
.reading-layout .section-heading{margin-bottom:1rem}
.sticky-intro{position:sticky;top:1.5rem;align-self:start}
.smallnote{font-size:.95rem}
.subtle{color:var(--muted)}
#event-count{font-size:.8rem;margin:.8rem 0 .9rem}
.timeline{padding:0;list-style:none;border-top:1px solid var(--line)}
.milestone,.plain-details{border-bottom:1px solid var(--line)}
.milestone summary,.plain-details>summary,.study-notes>summary{display:flex;align-items:center;gap:.85rem;padding:1.05rem .25rem;font-weight:600;line-height:1.33}
summary .icon-chev{margin-left:auto;flex:none}
details[open]>summary .icon-chev{transform:rotate(180deg)}
.mile-date{flex:none;min-width:5.5rem;font-size:.88rem;color:var(--accent);font-weight:500}
.mile-body{padding:.05rem .7rem 1.15rem 6.6rem}
.phase-no{font-size:.86rem;min-width:4.15rem;color:var(--accent)}
.plain-details>div{padding:.1rem .3rem 1.2rem}
.concept-list article+article,.debate-list article+article{border-top:1px solid var(--line);padding-top:1.35rem;margin-top:1.35rem}
.concept-list h3,.debate-list h3{margin-bottom:.55rem}
.debate-list p b{color:var(--ink)}
.explorer{border:1px solid var(--line);background:var(--card);border-radius:5px;overflow:hidden}
.tool-shelf,.explorer-bottom{padding:.8rem 1rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem;background:var(--tint)}
.tool-shelf{border-bottom:1px solid var(--line)}
.explore-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr)}
.diagram-panel{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:1rem 1.2rem;background:#193b32;color:#dae7d6}
.diagram-panel::before{z-index:-1}
.diagram-header,.diagram-caption,.inspector-meta{font-size:.78rem;letter-spacing:.07em}
.diagram-header{padding-bottom:.4rem}
.diagram-panel svg{display:block;place-self:center;width:min(100%,25rem);height:auto;overflow:visible;margin:auto}
.diagram-panel:has(.hotspot) svg{width:min(100%,30rem)}
.diagram-caption{padding-top:.4rem;color:#c4d6c5}
.zone-shape,.hotspot{cursor:pointer}
.zone-shape[aria-pressed=true]{stroke:#ffdd88;stroke-width:4.8px}
.zone-shape:hover,.zone-shape:focus-visible{stroke:#fff6c6;stroke-width:4px}
.hotspot[aria-pressed=true] circle,.hotspot:focus-visible circle,.hotspot:hover circle{stroke:#ffdf8e;stroke-width:4;fill:#325c48}
.inspector{padding:clamp(1rem,2.4vw,2.1rem);align-self:center}
.zone-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem .55rem;margin:1rem 0 1.2rem}
.zone-buttons button{display:flex;align-items:center;text-align:left;border:1px solid var(--line);background:transparent;border-radius:3px;font-size:.89rem;min-height:2.35rem;line-height:1.25;padding:.38rem .48rem;gap:.4rem}
.zone-buttons button>span{font:400 .75rem var(--mono);color:var(--muted)}
.zone-buttons [aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);font-weight:600}
.inspect-copy{border-top:1px solid var(--line);padding-top:.85rem}
.inspector-meta{color:var(--muted);margin-bottom:.4rem}
.zone-entry h4{margin-bottom:.4rem}
.zone-entry .eyebrow{color:var(--student);margin-bottom:.2rem;font-size:.73rem}
.zone-entry>div>p:not(.eyebrow):not(.refs){color:var(--muted)}
html:not(.enhanced) .zone-entry{margin-bottom:1rem} 
html:not(.enhanced) [data-reading=expansion]{margin-top:.5rem}
.explorer-bottom{border-top:1px solid var(--line)}
.explorer-bottom .mono{font-size:.85rem}
.marginal,.duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.2rem,3.1vw,3rem);margin-top:2rem}
.duo article{padding:1.5rem;background:var(--card);border:1px solid var(--line);border-radius:4px}
.arch-icon{display:inline-grid;place-items:center;width:2.45rem;height:2.45rem;color:var(--accent);background:var(--accent-soft);border-radius:50%;margin-bottom:.8rem}
.notes-wrap{padding-block:1rem 2.1rem}
.study-notes>summary{border-bottom:1px solid var(--line)}
.study-notes>summary .subtle{font-weight:400}
.study-notes>div{padding:1rem .25rem}
.study-notes label,.select-label label,.slider-label label{font-weight:600}
.study-notes textarea{display:block;width:min(100%,50rem);padding:.65rem;border:1px solid var(--line);color:var(--ink);background:var(--card);border-radius:3px;resize:vertical;margin:.5rem 0}
#study-message,#storage-state,.progress-label{color:var(--muted);font-size:.93rem;margin-bottom:.65rem}
.reset-study>summary{text-decoration:underline;color:var(--accent)}
.reset-study[open]>summary{font-weight:600}
.simulation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.94fr);gap:clamp(1rem,3vw,2.4rem);align-items:stretch}
.sliders{min-width:0;border:1px solid var(--line);padding:.7rem 1.3rem 1.25rem;border-radius:4px;background:var(--card);margin:0}
.sliders legend{font-weight:600;font-size:1.12rem;letter-spacing:-.015em;padding:0 .4rem}
.slider-group{padding:.36rem 0 .58rem}
.slider-label,.meter-row>div,.readout-top{display:flex;align-items:center;justify-content:space-between;gap:.7rem}
.slider-label output{font:600 .96rem var(--mono);color:var(--accent)}
.slider-group p{font-size:.88rem;color:var(--muted);line-height:1.4}
input[type=range]{width:100%;accent-color:var(--accent);min-height:1.7rem;margin:0}
.select-label{display:grid;gap:.3rem;margin:.5rem 0 .9rem}
select{display:block;width:100%;max-width:100%;color:var(--ink);background-color:var(--paper);border:1px solid var(--line);border-radius:3px;padding:.55rem 2rem .55rem .7rem;appearance:none;background-image:linear-gradient(45deg,transparent 49%,var(--accent) 50%,var(--accent) 64%,transparent 65%),linear-gradient(135deg,transparent 35%,var(--accent) 36%,var(--accent) 50%,transparent 51%);background-position:right 1.1rem center,right .79rem center;background-size:.36rem .45rem;background-repeat:no-repeat}
.readout{align-self:stretch;background:#183b31;color:#eef2e2;padding:clamp(1.15rem,2.7vw,2.2rem);border-radius:4px}
.readout-top{flex-wrap:wrap;align-items:baseline}
.readout .eyebrow{color:#cbdfbe}
.case-label{color:#e4d3a5;font-size:.82rem}
.headline-value{display:flex;flex-direction:column;margin:.75rem 0 1.35rem}
.headline-value strong{font-size:clamp(3.6rem,7vw,6rem);line-height:1;letter-spacing:-.07em;font-weight:500}
.headline-value span{color:#d4e0cd}
.metric-pair{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #78907b66;padding:.7rem 0;margin-bottom:1.3rem}
.metric-pair div{display:flex;flex-direction:column}
.metric-pair strong{font:500 1.7rem var(--sans);letter-spacing:-.03em;color:#e1d49f}
.metric-pair span{font-size:.88rem;color:#c8d9c6}
.meter-row{margin-top:.7rem}
.meter-row>div{font-size:.92rem;color:#e6eddc}
meter{width:100%;height:.62rem;display:block;margin-top:.28rem;border:0;background:#3c5c4e;border-radius:1rem;overflow:hidden;appearance:none}
meter::-webkit-meter-bar{height:.62rem;border:none;background:#3c5c4e;border-radius:1rem}
meter::-webkit-meter-optimum-value{background:#b2d3a5}
meter::-moz-meter-bar{background:#b2d3a5}
.lab-summary{padding-top:1rem;color:#cfddcb}
.agent-reports{margin:.75rem 0 1rem;color:#d4e0cd;font-size:.94rem}
.agent-table{width:100%;border-collapse:collapse;font-size:.92rem;border-block:1px solid #78907b66}
.agent-table th,.agent-table td{text-align:left;vertical-align:top;padding:.55rem .6rem .55rem 0;line-height:1.35}
.agent-table tbody tr{border-top:1px solid #78907b40}
.agent-table thead th{font:500 .78rem var(--mono);text-transform:uppercase;letter-spacing:.04em;color:#cbdfbe}
.agent-table tbody th{font-weight:500;color:#e6eddc;width:38%}
.agent-table td{color:#e1d49f;font-weight:500}
.method{margin-top:1rem}
.method ol{padding-left:1.4rem;margin:.6rem 0}
.method li+li{margin-top:.4rem}
.experiment-prompt{margin-top:1.15rem;max-width:62rem}
.site-foot{background:#102b24;color:#e7edde;padding:2.7rem 0 1.2rem}
.foot-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr);gap:clamp(1.4rem,6vw,6rem)}
.foot-brand p{margin-top:.65rem;color:#c5d5c5;max-width:26rem;font-size:.91rem}
.resource-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem}
.resource-groups h3{font:600 .94rem/1.4 var(--sans);margin-bottom:.45rem}
.resource-groups ul{padding:0;list-style:none}
.resource-groups li+li{margin-top:.2rem}
.resource-groups a,.foot-line{font-size:.86rem}
.site-foot a{color:#c8d9c5}
.foot-line{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid #3d5849;margin-top:2rem;padding-top:1rem;color:#c5d5c5}
@media(max-width:900px){
  .cover-grid{grid-template-columns:minmax(0,.84fr) minmax(0,1.1fr)}
  .cover h1{font-size:clamp(3.6rem,7.8vw,5rem)}
  .cover-plate{margin-inline:-1rem -1.5rem}
  .page-nav{gap:1rem}
  .mast-inner{gap:1.2rem}
  .brand{font-size:1.12rem}
  .brand .icon{width:1.85rem;height:1.85rem}
  .reading-layout{grid-template-columns:minmax(0,.68fr) minmax(0,1.35fr);gap:2rem}
  .card-body{padding:1rem}
}
@media (min-width:721px) and (max-width:850px){
  .mast-inner{display:grid;grid-template-columns:1fr auto;gap:0;min-height:auto;padding-top:.55rem}
  .mast-tools{grid-column:2;grid-row:1}
  .page-nav{grid-column:1/-1;grid-row:2;justify-content:space-between;margin:0}
  .page-nav a{padding:.46rem .15rem .64rem}
  .page-nav a[aria-current]::after{bottom:1px}
}
@media(max-width:720px){
  .wrap{width:min(100% - 2.2rem,42rem)}
  .mast-inner{display:grid;grid-template-columns:1fr auto;gap:0;padding-top:.55rem;min-height:unset}
  .mast-tools{grid-column:2;grid-row:1}
  .page-nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:.2rem;margin:0}
  .page-nav a{padding:.52rem 0 .68rem;font-size:.89rem}
  .page-nav a[aria-current]::after{bottom:1px}
  .source-drawer>summary{min-height:2.35rem;padding:.4rem .65rem}
  .drawer-panel{right:1.1rem}
  .cover-grid{grid-template-columns:minmax(0,1fr);gap:1.15rem;padding-block:2.1rem 1.65rem}
  .cover h1{font-size:clamp(3.75rem,11.6vw,5.1rem)}
  .cover-copy>p:not(.eyebrow){margin:.9rem 0 1.15rem;max-width:33rem}
  .cover-plate{margin-inline:-.65rem;max-width:40rem}
  .cover-plate figcaption{margin-top:.2rem}
  .cover::before{mask-image:linear-gradient(0deg,#000 0%,#0004 70%,transparent)}
  .context-grid,.reading-layout,.explore-layout,.simulation,.foot-grid{grid-template-columns:minmax(0,1fr)}
  .sticky-intro{position:static}
  .context-grid,.reading-layout{gap:1.15rem}
  .card-grid{gap:.65rem}
  .card-body{padding:.8rem}
  .card-grid .eyebrow{font-size:.7rem;letter-spacing:.06em}
  .card-art{height:6.8rem}
  .card-body h3{font-size:1.15rem}
  .card-body p:not(.eyebrow){font-size:.94rem}
  .boundaries{grid-template-columns:minmax(0,1fr);gap:1.35rem}
  .bio-head{grid-template-columns:minmax(0,1fr) 9.3rem;gap:1rem}
  .portrait img{height:10.5rem}
  .diagram-panel svg{max-height:22rem}
  .explorer-bottom{padding:.7rem}
  .foot-grid{gap:1.5rem}
}
@media(max-width:520px){
  .nav-full{display:none}
  .nav-short{display:inline}
  .page-nav a{min-height:2.75rem;padding:.47rem .1rem}
  .cover .actions{gap:.55rem}
  .cover .button{font-size:.9rem;padding:.62rem .67rem}

  .card-grid,.duo,.marginal{grid-template-columns:minmax(0,1fr)}
  .card-art{height:8rem}
  .card-body{padding:1rem 1.05rem}
  .card-body h3{font-size:1.43rem}
  .card-body p:not(.eyebrow){font-size:1rem}
  .section-head-row{gap:1rem}
  .bio-head{grid-template-columns:minmax(0,1fr)}
  .portrait{margin-top:.25rem;grid-template-columns:7.2rem minmax(0,1fr);align-items:center;justify-items:start}
  .portrait img{height:5.9rem;object-position:50% 31%}
  .portrait figcaption{text-align:left;background:none}
  .portrait figcaption a{display:block}
  .choices button{padding:.4rem .59rem}
  .tool-shelf{padding:.65rem}
  .diagram-panel{padding:.7rem}
  .zone-buttons{gap:.35rem}
  .mile-date{min-width:4.3rem;font-size:.82rem}
  .mile-body{padding-left:.25rem}
  .resource-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sliders{padding:.6rem .85rem 1rem}
  .study-notes>summary{flex-wrap:wrap;gap:.4rem}
}
@media(max-width:350px){.wrap{width:calc(100% - 1.4rem)}.page-nav a{font-size:.82rem}.cover h1{font-size:3.35rem}.tool-shelf{gap:.4rem}.resource-groups{gap:.8rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.mast,.site-foot,.js-only,.button,.tool-shelf,.explorer-bottom{display:none!important}body{background:#fff;color:#15291f}.cover,.readout,.diagram-panel{print-color-adjust:exact}.wrap{width:96%}.section,.context-grid{padding:1rem 0}.sticky-intro{position:static}}

/* The film companion shares the atlas palette and uses film-stock and paper details. */
.screen-cover {
  color: var(--night-text);
  background: radial-gradient(ellipse at 88% 0%, #32533d, transparent 62%), #142e27;
  border-bottom: 3px solid #ae9d70;
}
.screen-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding-block: clamp(2.4rem, 5.1vw, 4.3rem);
}
.screen-cover h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 6.35vw, 6.3rem);
  line-height: .99;
}
.screen-cover h1 em { color: #e4d0a0; }
.screen-cover .eyebrow { color: #bad4b9; }
.screen-cover .deck {
  color: #e0e8d8;
  max-width: 58ch;
  margin-top: 1.25rem;
  font-size: clamp(1.04rem, 1.55vw, 1.25rem);
}
.screen-actions { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; align-items: center; margin-top: 1.45rem; }
.screen-actions a { display: inline-flex; align-items: center; min-height: 2.65rem; color: #dee9d6; font-size: .95rem; font-weight: 600; }
.screen-actions a:first-child { padding: .54rem .92rem; border-radius: 3px; background: #e4d1a2; color: #172e23; text-decoration: none; }
.screen-actions a:first-child:hover { background: #f0e2bf; }
.screen-figure { min-width: 0; max-width: 28.5rem; width: 100%; justify-self: end; }
.screen-figure img { width: 100%; height: clamp(13rem, 19vw, 18.25rem); border: 1px solid #697762; border-radius: 2px; }
.screen-figure.object-frame img { object-fit: contain; background: #36352f; }
.screen-figure.person-frame img { object-fit: cover; object-position: 50% 31%; }
.screen-figure.city-frame img { object-fit: contain; padding: .4rem; background: #19382e; }
.screen-figure figcaption { margin-top: .5rem; color: #cedbca; font: 400 .76rem/1.5 var(--mono); }
.screen-figure figcaption a { color: #eed9a5; }
.guide-reel, .dated-note { width: 100%; max-width: 26rem; justify-self: end; }
.guide-reel { padding: 1.28rem clamp(1.3rem, 3vw, 2.2rem); border: 1px solid #708674; border-block: 5px double #829381; background: #11271f; }
.reel-caption, .note-sign, .screen-date { font: 600 .78rem/1.55 var(--mono); letter-spacing: .06em; }
.reel-caption { text-transform: uppercase; color: #d9c691; }
.guide-reel ol { list-style: none; padding: 0; margin-top: .65rem; }
.guide-reel li { border-top: 1px solid #526957; }
.guide-reel li a { display: flex; align-items: baseline; gap: 1.1rem; padding: .4rem 0; color: #eef2e3; text-decoration: none; font: italic 400 clamp(1.45rem, 2.4vw, 2.1rem)/1.28 var(--serif); }
.guide-reel li a span { color: #c9cfb7; font: 500 .81rem/1.4 var(--mono); }
.guide-reel li a:hover, .guide-reel li a:focus-visible { color: #efd49a; text-decoration: underline; }
.dated-note { background: #efe7d0; padding: clamp(1.25rem, 3vw, 2.15rem); color: #29352c; border-inline-start: 4px solid #b8a16b; }
.dated-note .reel-caption, .dated-note .note-sign { color: #4d5948; }
.paper-date { font: italic 400 clamp(2.2rem, 3.4vw, 3.4rem)/1.14 var(--serif); letter-spacing: -.03em; margin: .7rem 0; }
.dated-note .note-sign { padding-top: .7rem; margin-top: .75rem; border-top: 1px solid #babaa3; }
.companion-rail { border-block-end: 1px solid var(--line); background: var(--card); }
.companion-rail > div { display: flex; flex-wrap: wrap; gap: .25rem clamp(.9rem, 2.6vw, 2.5rem); }
.companion-rail a { display: inline-flex; align-items: center; min-height: 3rem; color: var(--muted); font-size: .92rem; font-weight: 550; text-decoration: none; border-block: 2px solid transparent; padding-inline: .1rem; }
.companion-rail a[aria-current] { border-bottom-color: var(--accent); color: var(--ink); font-weight: 700; }
.companion-rail a:hover, .screen-next a:hover { text-decoration: underline; }
.screen-section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr); gap: 1rem 4.5rem; align-items: end; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.screen-section-head > p { max-width: 50ch; color: var(--muted); }
.screenings, .voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.6rem); }
.screening-card, .topic-card { display: block; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; }
.screening-card:hover, .topic-card:hover { border-color: var(--accent); }
.screening-card:hover h3, .topic-card:hover h3 { text-decoration: underline; }
.screening-card { display: flex; flex-direction: column; }
.screen-thumb { height: clamp(8rem, 12vw, 12rem); background: #263f31; border-bottom: 1px solid var(--line); }
.screen-thumb img { width: 100%; height: 100%; object-fit: cover; }
.screen-thumb.object-frame { background: #383932; }
.screen-thumb.object-frame img { object-fit: contain; }
.screen-thumb.person-frame img { object-position: center 30%; }
.screen-thumb.city-frame img { object-fit: contain; }
.screen-card-text { display: flex; flex-direction: column; flex: 1; padding: clamp(1rem, 2vw, 1.5rem); }
.screen-card-text h3, .topic-card h3, .film-part h3, .concept-note h3, .split-chronology h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.screen-card-text > p:not(.eyebrow), .topic-card > p:not(.eyebrow), .voices p:not(.refs) { color: var(--muted); margin-top: .6rem; }
.card-link { display: block; padding-top: 1rem; margin-top: auto; color: var(--accent); font-weight: 600; }
.screen-wash, .screen-activity { background: var(--tint); border-block: 1px solid var(--line); }
.voices > div { border-top: 2px solid var(--line); padding-top: 1rem; }
.screen-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.topic-card { padding: clamp(1rem, 2.1vw, 1.6rem); }
.topic-card h3 { display: flex; justify-content: space-between; gap: .8rem; }
.topic-card h3 span { color: var(--accent); flex: none; }
.film-study, .screen-activity-grid { display: grid; grid-template-columns: minmax(0, .63fr) minmax(0, 1.37fr); gap: clamp(2rem, 6vw, 6rem); }
.film-index { align-self: start; }
.film-index > p:not(.eyebrow):not(.refs), .film-index ol { margin-top: .9rem; color: var(--muted); }
.film-index ol { padding-left: 1.55rem; }
.film-index li { padding: .2rem 0 .2rem .15rem; }
.film-part, .concept-note { padding-block: 1.65rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.film-part:first-child, .concept-note:first-child { padding-top: 1.1rem; border-top: 2px solid var(--accent); }
.film-part:last-child, .concept-note:last-child { padding-bottom: 0; }
.film-part > p:not(.eyebrow), .concept-note > p, .split-chronology li p, .evidence-note p { max-width: 73ch; margin-top: .65rem; }
.film-part .eyebrow { margin-bottom: .38rem; }
.evidence-note { border-left: 3px solid var(--line); margin-top: 1rem; padding: .1rem 0 .1rem 1rem; }
.evidence-note h4 { font-size: 1rem; }
.evidence-note p, .concept-note > p:not(.refs):not(.screen-next), .split-chronology li p:not(.refs) { color: var(--muted); }
.evidence-note p { margin-top: .35rem; }
.screen-activity .screen-activity-grid { padding-block: clamp(2rem, 4.8vw, 4rem); }
.screen-next { margin-top: 1.1rem; font-weight: 600; }
.screening-fold { margin-top: .8rem; border-top: 1px solid var(--line); }
.screening-fold summary { justify-content: space-between; }
.fold-mark::before { content: "+"; font: 400 1.35rem var(--mono); color: var(--accent); }
.screening-fold[open] .fold-mark::before { content: "−"; }
.table-wrap { overflow-x: auto; }
.mobile-table-key { display: none; }
.screen-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.screen-table caption { text-align: left; font-weight: 600; margin: 1rem 0 .55rem; }
.screen-table th, .screen-table td { text-align: left; vertical-align: top; padding: .78rem .85rem; border-bottom: 1px solid var(--line); }
.screen-table thead { background: var(--accent-soft); }
.pillars-table { min-width: 31rem; }
.pillars-table th:first-child { width: 19%; }
.pillars-table th:nth-child(2) { width: 39%; }
.small-ledger { font-variant-numeric: tabular-nums; font-size: .94rem; }
.small-ledger th, .small-ledger td { padding: .55rem .45rem; }
.split-chronology { margin: 0; padding: 0; list-style: none; }
.split-chronology li { display: grid; grid-template-columns: minmax(5.7rem, .34fr) 1.66fr; gap: clamp(.8rem, 2vw, 1.45rem); padding: 1.35rem 0; border-top: 1px solid var(--line); }
.split-chronology li:first-child { border-top: 2px solid var(--accent); }
.screen-date { color: var(--accent); padding-top: .22rem; }
.home-screening { background: var(--card); border-block-start: 1px solid var(--line); }
.home-screening .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.1rem 4rem; padding-block: clamp(1.85rem, 3.5vw, 3rem); }
.home-screening p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
.home-screening .text-link { display: inline-block; }
@media (min-width: 721px) and (max-width: 1050px) {
  .mast-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; min-height: auto; padding-top: .55rem; }
  .mast-tools { grid-column: 2; grid-row: 1; }
  .page-nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; margin: 0; }
  .page-nav a { padding: .46rem .15rem .64rem; }
  .page-nav a[aria-current]::after { bottom: 1px; }
}
@media (max-width: 760px) {
  .screen-cover-grid { gap: 1.35rem; grid-template-columns: minmax(0, 1fr) minmax(0, .73fr); }
  .film-study, .screen-activity-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .film-index ol { columns: 2; column-gap: 1.9rem; }
  .film-index li { break-inside: avoid; }
  .screen-section-head { column-gap: 1.5rem; }
}
@media (max-width: 650px) {
  .screenings, .voices { grid-template-columns: minmax(0, 1fr); }
  .screening-card { display: grid; grid-template-columns: 29% 1fr; }
  .screen-thumb { min-height: 100%; height: 8rem; border-bottom: 0; }
  .screen-cover-grid, .screen-section-head, .screen-topics, .home-screening .wrap { grid-template-columns: minmax(0, 1fr); }
  .screen-cover h1 { max-width: 15ch; }
  .guide-reel, .dated-note, .screen-figure { justify-self: start; max-width: 100%; }
  .guide-reel { padding-block: .85rem; }
  .screen-figure img { height: 12rem; }
  .screen-figure.person-frame img { object-position: center 29%; }
  .companion-rail > div { gap: 0 .95rem; padding-block: .25rem; }
  .companion-rail a { min-height: 2.6rem; font-size: .88rem; }
}
@media (max-width: 520px) {
  .pillars-table, .pillars-table tbody { display: block; width: 100%; min-width: 0; }
  .pillars-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .pillars-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .85rem; padding: .85rem .1rem; border-top: 1px solid var(--line); }
  .pillars-table tbody tr:first-child { border-top: 2px solid var(--accent); }
  .pillars-table tbody th:first-child { width: auto; grid-column: 1/-1; padding: 0; font-size: 1.1rem; }
  .pillars-table tbody td, .pillars-table tbody th { display: block; border: 0; padding: 0; }
  .pillars-table td { line-height: 1.55; font-size: .96rem; }
  .mobile-table-key { display: block; font: 600 .74rem/1.4 var(--mono); color: var(--accent); margin-bottom: .22rem; }
  .split-chronology li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .screen-thumb.object-frame img { object-fit: cover; object-position: 50% 30%; }
}
@media (max-width: 400px) {
  .film-index ol { columns: 1; }
  .screening-card { display: flex; }
  .screen-thumb { height: 8rem; min-height: 0; }
  .screen-thumb.object-frame img { object-fit: contain; }
  .screen-cover h1 { font-size: clamp(2.85rem, 13.5vw, 3.4rem); }
}
@media print {
  .companion-rail, .screen-actions, .guide-reel { display: none; }
  .screen-cover { background: #fff; color: #15291f; }
  .screen-cover h1 em, .screen-cover .deck, .screen-cover .eyebrow, .screen-figure figcaption, .screen-figure figcaption a { color: #213c2d; }
}
.source-practice { border-top: 1px solid var(--line); background: var(--card); }
.source-practice h2 { font-size: clamp(1.65rem, 2.9vw, 2.6rem); max-width: 25ch; }
.answer-choices { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .55rem; }
.answer-choices button { min-height: 2.75rem; text-align: left; border: 1px solid var(--line); border-radius: 3px; padding: .5rem .75rem; font-weight: 550; line-height: 1.4; background: var(--paper); }
.answer-choices button:hover, .answer-choices button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.check-result { margin-top: .85rem; max-width: 64ch; color: var(--ink); }
.discuss { border-top: 1px solid var(--line); }
.discuss h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); max-width: 25ch; }
.discuss-intro { max-width: 64ch; margin-top: 1rem; color: var(--muted); line-height: 1.58; }
.discuss-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.discuss-level { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: 1rem 1.05rem; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.discuss-level h3 { font-size: 1.08rem; letter-spacing: 0; }
.discuss-need, .discuss-more, .discuss-live-note, .discuss-status, .discuss-noscript { font-size: .95rem; line-height: 1.5; color: var(--muted); max-width: 64ch; }
.discuss-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.discuss-soon { font: 600 .76rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: .3rem .55rem; border-radius: 3px; }
.discuss-more { margin-top: auto; }
.discuss-live-note, .discuss-noscript { margin-top: 1.1rem; padding-left: .85rem; border-left: 3px solid var(--student); }
.discuss-status { margin-top: 1rem; }
.discuss-status:empty { margin: 0; }
.discuss-embed:not(:empty) { margin-top: 1.4rem; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 3px; }
.discuss-embed:focus { outline: none; }
@media print { .discuss { display: none; } }
.resource-groups { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
.chooser { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .8rem; padding: 0; margin: 0; list-style: none; }
.chooser a { display: block; height: 100%; padding: .9rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 3px; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.4; }
.chooser a span { display: block; margin-top: .25rem; font-weight: 400; font-size: .94rem; color: var(--muted); }
.chooser a:hover { border-color: var(--accent); background: var(--accent-soft); }
.guide-list .plain-details:target { background: var(--accent-soft); }
.guide-note { margin-left: auto; padding-left: 1rem; font: 500 .76rem/1.4 var(--mono); color: var(--muted); text-align: right; }
.guide-list summary .icon-chev { flex: none; }
.guide-label { font: 600 .76rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-right: .4rem; }
.guide-list ol, .plain-list { padding-left: 1.35rem; margin: .4rem 0 .9rem; max-width: 66ch; }
.guide-list li, .plain-list li { margin-top: .4rem; line-height: 1.55; }
.guide-list p { max-width: 66ch; line-height: 1.55; }
.soon-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.privacy-list { display: grid; gap: .9rem; margin: 0 0 1rem; max-width: 66ch; }
.privacy-list dt { font: 600 .76rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.privacy-list dd { margin: .15rem 0 0; line-height: 1.55; }
.record-entry { border-top: 2px solid var(--line); padding-top: 1rem; max-width: 66ch; }
@media (max-width: 520px) { .guide-note { display: none; } }
