:root{color-scheme:light;--ink:#17242f;--muted:#52616e;--line:#dbe2e8;--blue:#075dad;--paper:#fff;--wash:#f3f6f9;--accent:#126e64;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;line-height:1.65}a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:.2em}a:hover{color:#003b72}a:focus-visible,summary:focus-visible,video:focus-visible{outline:3px solid #c26313;outline-offset:4px}.skip{position:absolute;left:1rem;top:-8rem;background:white;padding:.8rem;z-index:10}.skip:focus{top:1rem}.layout{max-width:884px;margin:auto;padding:2.8rem 2rem 4rem}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;font-weight:650;color:var(--accent);margin:0 0 1rem}main{max-width:820px;min-width:0}h1,h2,h3{line-height:1.2;letter-spacing:-.025em;color:var(--ink)}h1{font-size:clamp(2rem,3.2vw,2.7rem);font-weight:650;margin:0 0 1.5rem;max-width:24ch}h2{font-size:1.5rem;margin:2.7rem 0 1rem}h3{font-size:1.125rem;margin:1.7rem 0 .6rem}p{margin:0 0 1.1rem}.lead{font-size:1.2rem;line-height:1.65;max-width:68ch}.muted,figcaption{color:var(--muted)}.note{border-left:3px solid var(--accent);background:var(--wash);padding:1rem 1.25rem;margin:1.6rem 0}.note p:last-child{margin-bottom:0}.steps{padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;counter-reset:step;margin:1.7rem 0 2rem}.steps li{border-top:2px solid var(--ink);padding-top:1rem;counter-increment:step}.steps li:before{content:"0" counter(step);display:block;font-family:ui-monospace,monospace;font-size:.875rem;color:var(--accent);margin-bottom:.6rem}.steps strong{display:block;margin-bottom:.3rem}.steps p{font-size:.95rem;margin:0}.world{border:1px solid var(--line);padding:1.5rem;margin:1.5rem 0}.world h2{margin-top:0}.badge{display:inline-block;background:#e8f2ef;color:#185b50;padding:.15rem .55rem;font-size:.875rem;border-radius:3px;margin-bottom:.8rem}.grid{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}.grid h3{margin-top:0}.grid>section{border-top:1px solid var(--line);padding-top:1.2rem}figure{margin:1.8rem 0}img,video{max-width:100%;height:auto;display:block}video{width:100%;background:#10202a;border:1px solid var(--line)}figcaption{font-size:.875rem;line-height:1.55;margin-top:.7rem}code,kbd,pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.875em}code{background:var(--wash);padding:.12em .25em;overflow-wrap:anywhere}pre{background:var(--wash);border:1px solid var(--line);padding:1.15rem;line-height:1.65;overflow-x:auto;max-width:100%;tab-size:4}pre code{padding:0;overflow-wrap:normal;font-size:1em}.table-scroll{max-width:100%;overflow-x:auto;margin:1.4rem 0}table{width:100%;border-collapse:collapse;font-size:.875rem;text-align:left}caption{text-align:left;font-weight:600;padding-bottom:.6rem}th,td{padding:.7rem .65rem;border-bottom:1px solid var(--line);vertical-align:top}th{background:var(--wash);font-weight:600}td.numeric{font-variant-numeric:tabular-nums;white-space:nowrap}dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:.6rem 1rem;font-size:.95rem}dt{font-weight:600}dd{margin:0}li{margin-bottom:.45rem}details{border:1px solid var(--line);padding:1rem;margin:1rem 0}summary{cursor:pointer;font-weight:600}details[open] summary{margin-bottom:1rem}.equation{font-size:1rem;line-height:1.8;overflow-x:auto;background:var(--wash);padding:1rem 1.2rem;margin:1rem 0;white-space:nowrap}.equation var{font-family:inherit}.equation sub,.equation sup{font-size:.75em}.breadcrumb{font-size:.875rem;color:var(--muted);margin:0 0 1.3rem}.breadcrumb a{color:var(--muted)}.breadcrumb span[aria-hidden]{padding:0 .4rem}.page-continuation{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1.5rem;border-top:1px solid var(--line);padding-top:1.3rem;margin-top:2.5rem}.page-continuation a{text-decoration:none}.page-continuation a:hover{text-decoration:underline}.page-continuation a span{display:block;font-size:.875rem;color:var(--muted);margin-bottom:.3rem}.page-continuation .following{margin-left:auto;text-align:right}.return-link{border-top:1px solid var(--line);padding-top:1.3rem;margin-top:2.5rem}
@media(max-width:680px){.layout{padding:1.7rem 1.2rem 2.5rem}.steps,.grid{grid-template-columns:1fr}.steps{gap:1rem}.steps li{padding-top:.6rem}.steps li:before{margin-bottom:.3rem}h1{max-width:none}.world{padding:1.1rem}dl{grid-template-columns:1fr;gap:.2rem}dd{margin-bottom:.7rem}th,td{padding:.6rem .5rem}}
.intro-film{max-width:400px;margin:1.8rem auto}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{.skip{display:none}.layout{display:block;padding:0}main{max-width:none}a{color:inherit}pre{white-space:pre-wrap}.table-scroll{overflow:visible}details{break-inside:avoid}}

/* Shared chapter outline and reading anchors. */
.contents{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:1rem 0;margin:1.8rem 0 2.5rem;font-size:.9rem}
.contents>p{font-weight:600;margin:0}
.contents ol{padding-left:1.4rem;margin:.7rem 0 0}.contents a{text-decoration:none}.contents a:hover{text-decoration:underline}
.contents li{padding-left:.2rem;margin:.25rem 0}.contents li::marker{color:var(--muted)}
h2[id],h3[id]{scroll-margin-top:1.5rem}
@media(max-width:680px){.equation{padding:.8rem;font-size:.95rem}}

/* Native mathematical layout keeps summation limits and indices aligned. A bundled math font
   (an OpenType MATH table) lets radicals, sums and accents stretch on systems without one. */
@font-face{font-family:"STIX Two Math";src:local("STIX Two Math"),local("STIXTwoMath-Regular"),url("assets/fonts/stix-two-math.woff2") format("woff2");font-display:swap}
math{font-family:"STIX Two Math",math}
.scoring-math math{font-size:1.1em;width:max-content;margin:.35rem auto}
/* A formula too wide for a phone has a second copy broken after its first term. */
.math-narrow{display:none}.math-narrow mtd{padding:0;text-align:left}.math-narrow mtd:first-child{text-align:right}.math-narrow mtr+mtr mtd{padding-top:.6em}
@media(max-width:560px){.math-wide{display:none}.math-narrow{display:block}}

/* Recorded field snapshots and optional exact world equations. */
.world-panels{display:grid;gap:1rem}.world-panels.two{grid-template-columns:repeat(2,minmax(0,1fr))}.world-panels.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.panel-label{font-size:.95rem;font-weight:600;text-align:center;margin:0 0 .6rem}.world-panels img{width:100%}
.field-scale{max-width:320px;margin:1.2rem auto 0;text-align:center;font-size:.875rem}.field-scale img{width:100%}
.world-equations{margin:1.6rem 0 2.3rem}.world-equations h4{font-size:1rem;margin:1.6rem 0 .6rem}.world-equations p{font-size:.95rem}
.equation-lines .equation{white-space:normal;overflow-wrap:anywhere;line-height:2;padding:.7rem 1rem;margin:.5rem 0}.world-equations p:last-child{margin:1rem 0 0}
@media(max-width:600px){.world-panels.two,.world-panels.three{grid-template-columns:1fr}.world-panels{gap:1.3rem}.world-equations{padding:.8rem}.equation-lines .equation{padding:.6rem}}

/* Preserve legible matrix labels on narrow screens. */
.score-matrix{overflow-x:auto}.score-matrix img{min-width:720px}

.footnote,.figure-note{font-size:.85rem;color:var(--muted)}.footnote{margin-top:-.4rem}.term-note{padding:.2em;font-size:.8em;cursor:help}
.world-film{max-width:690px;margin:1.5rem auto}.world-film video{background:white}
.world-film-single video{max-width:460px;margin-inline:auto}

/* Paper framing for the article; keep the reading area full-width on phones. */
.article-page{background:#eeede8;display:flow-root}
.article-page .layout{width:calc(100% - 3rem);max-width:1014px;margin:3rem auto;padding:4rem clamp(2rem,7.5vw,6rem);background:var(--paper);border:1px solid #e1e0db}
.article-title{margin-bottom:2.5rem}
.article-title h1{font-size:clamp(2.5rem,4vw,3.25rem);line-height:1.1;margin:0 0 .4rem}
.article-title p{font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.4;color:var(--muted);margin:0}
@media(max-width:680px){.article-page{background:var(--paper)}.article-page .layout{width:100%;margin:0;padding:1.7rem 1.2rem 2.5rem;border:0}.article-title{margin-bottom:2rem}}
@media print{.article-page{background:white}.article-page .layout{width:100%;max-width:none;margin:0;padding:0;border:0}}

/* Field figures and films: one panel per field on white, designed for the full column. */
.field-figure img,.field-figure video{width:100%}.field-figure video{background:white}
/* Apparatus components: stacked disclosures, each holding its figure. */
.components{margin:1rem 0 1.6rem}.components details{margin:0;padding:.8rem 1rem}.components details+details{border-top:0}
.components summary{font-weight:400}.components summary strong{font-weight:600}.components details[open] summary{margin-bottom:0}.components figure{margin:1rem 0 .2rem}
@media(max-width:680px){.components details{padding:.7rem .75rem}}
