@media screen {
  .tab-nav {gap:clamp(12px,1.5vw,26px)}
  .tab-nav button {flex:0 0 auto}
  .hero {min-height:0;align-items:center}
  .hero-copy {padding:clamp(26px,3.8vw,54px) 2.8% clamp(28px,3.4vw,48px) 5.2%;width:65%}
  .hero h1 {font-size:clamp(2rem,3.9vw,3.9rem);max-width:24ch}
  .hero-deck {font-size:clamp(1rem,1.4vw,1.13rem);line-height:1.55;margin:.75rem 0 1.05rem;max-width:67ch}
  .hero .eyebrow {margin-bottom:.5rem}
  .hero .button {padding:.48rem .85rem;font-size:.83rem}
  .hero-visual {width:35%;padding:14px 9% 10px 1%}
  .hero-visual svg {max-height:95px}
  .hero-visual .hero-math {display:none}
  .credit-bar {padding-top:.64rem;padding-bottom:.64rem}
  .feature {padding-top:clamp(2rem,4vw,3.2rem);padding-bottom:clamp(1.8rem,3vw,2.8rem)}
  .feature>p,.feature>div:not([class])>p {max-width:79ch}
  .feature>h2 {font-size:clamp(1.75rem,3.2vw,2.6rem);max-width:37ch}
  .feature>h3 {margin-top:1.5rem}
  .snapshot {padding-top:clamp(1.8rem,3vw,2.7rem);padding-bottom:clamp(1.5rem,2.8vw,2.6rem);border-bottom:1px solid var(--line)}
}
.rh-statement,.snapshot-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.25rem,3.5vw,3rem)}
.rh-statement {padding:.7rem 0 .8rem}
.rh-statement h3,.snapshot-grid h3 {font-size:clamp(1.1rem,2.1vw,1.6rem);color:var(--navy);margin-bottom:.4rem}
.rh-statement p,.snapshot-grid p {font-size:.96rem;line-height:1.55;margin-bottom:.65rem}
.rh-statement blockquote {margin:.42rem 0;padding:0;max-width:36ch;font-family:Georgia,serif;font-size:clamp(1.22rem,2.3vw,1.65rem);line-height:1.38}
.rh-statement .rh-math-display {margin:0!important}
.rh-statement .katex-display {margin:0;text-align:left}
.snapshot-grid article {border-top:3px solid var(--teal);padding-top:1rem}
.snapshot-grid article:nth-child(2) {border-color:#ad7840}
.snapshot-grid article .eyebrow {font-size:.69rem;color:#45605e;letter-spacing:.13em}
.ledger-wrap {overflow-x:auto;max-width:100%;margin:1.2rem 0}
table.ledger-table,table.factor-table {border-collapse:collapse;width:100%;max-width:56rem;background:#fff;font-variant-numeric:tabular-nums;font-size:.95rem;line-height:1.45}
.ledger-table caption,.factor-table caption {text-align:left;font-weight:700;color:var(--navy);padding-bottom:.5rem}
.ledger-table th,.ledger-table td,.factor-table th,.factor-table td {padding:.7rem .8rem;border-bottom:1px solid var(--line);text-align:right}
.ledger-table thead,.factor-table thead {color:#394d50;background:#e0eae4}
.ledger-table th:first-child,.factor-table th:first-child {text-align:left}
.ledger-table tbody tr:last-child {font-weight:700;color:#285e5b}
.factor-table {max-width:38rem!important}.factor-table td,.factor-table th {text-align:center;padding:.36rem .45rem}
.factor-table button {width:100%;min-height:41px;border:1px solid #cbd9d1;background:#fff;color:var(--navy);font-weight:700;font-size:1rem}
.factor-table button[aria-pressed=true] {background:#165b59;color:#fff;border-color:#165b59}
.factor-selection {max-width:38rem;padding:.65rem 1rem;background:var(--pale);margin:0 0 1rem}.factor-selection p {margin:0}
.chapter-callout {margin:1.2rem 0;width:100%;grid-column:1/-1}
.chapter-cta,.animation-link,.close-animation {border:0;background:none;color:#165b59;text-align:left;font-weight:700;line-height:1.35}
.chapter-cta {padding:.56rem .8rem;display:inline-flex;align-items:center;gap:.8rem;border:1px solid #9eafa9;background:#fafcf9;font-size:.76rem}
.chapter-cta b {font-weight:700;display:block;font-size:.88rem}.chapter-cta time {font-weight:400;font-variant-numeric:tabular-nums}.play-mark {font-size:.9rem}
.chapter-cta:focus-visible,.animation-link:focus-visible {outline:3px solid var(--teal);outline-offset:2px}
.chapter-dock {max-width:59rem;margin-top:.8rem}.player-unit {background:#102528;max-width:66rem}.player-unit video {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#102528}
.close-animation {padding:.75rem 1rem;color:white}
.media-heading {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:.7rem 0 1.2rem}.media-heading p {margin:0;color:var(--muted)}
.media-heading a {margin-right:1.15rem;color:#165b59;font-weight:700;display:inline-block}.media-heading div {display:flex;gap:.4rem .7rem;flex-wrap:wrap}
.native-paper object,.mobile-paper iframe {display:block;width:100%;height:min(80vh,58rem);min-height:26rem;border:1px solid #bacac0;background:white}
.mobile-paper {display:none}.full-paper,.full-animation {border-bottom:1px solid var(--line)}
.animation-playlist {list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(1rem,4vw,3rem);max-width:65rem}
.animation-playlist li {border-bottom:1px solid var(--line)}.animation-link {display:flex;align-items:baseline;gap:.8rem;width:100%;padding:.6rem .2rem;font-size:.95rem}.animation-link time {color:#465b58;font-weight:400;font-variant-numeric:tabular-nums}
.animation-transcript {max-width:79ch;margin:1rem 0}.animation-transcript h4 {margin:1.4rem 0 .5rem}.animation-transcript em {color:inherit;font-style:italic}
@media(max-width:700px){
  .hero-copy {width:100%;padding:1.35rem 5% 1.4rem}.hero-visual {display:none}.hero h1 {max-width:23ch}
  .rh-statement,.snapshot-grid {gap:1rem}.rh-statement p,.snapshot-grid p {font-size:.9rem}
  .rh-statement h3,.snapshot-grid h3 {font-size:1.15rem}.rh-statement blockquote {font-size:1.19rem}
  .native-paper {display:none}.mobile-paper {display:block}.media-heading {font-size:.91rem;gap:.4rem}
  .mobile-paper iframe {height:73vh;min-height:22rem}.animation-playlist {grid-template-columns:1fr}
  .ledger-table th,.ledger-table td {padding:.49rem .33rem;font-size:.78rem}
}
@media(max-width:470px){
  .rh-statement {grid-template-columns:1fr;gap:.4rem}
  .snapshot-grid {grid-template-columns:1fr;gap:1.05rem}.snapshot-grid article {padding-top:.65rem}
  .ledger-table th,.ledger-table td {padding:.42rem .2rem;font-size:.72rem}
  .credit-bar {display:flex;flex-wrap:wrap;gap:.45rem 1.15rem}.credit-bar strong {font-size:.78rem}.credit-bar span {font-size:.68rem!important}
}
@media print {
  .chapter-callout,.full-paper,.full-animation,.animation-home,.factor-table button,.tab-nav {display:none!important}
  .factor-table button {display:inline!important;appearance:none;padding:0;border:0}.feature,.snapshot {break-inside:auto}
  .rh-statement,.snapshot-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10pt}
  .snapshot-grid article {break-inside:avoid}
}
.feature,.proof-map-section,.chapter-callout,.full-animation,.full-paper{scroll-margin-top:5rem}
.player-unit {max-width:47rem}
.player-unit video {aspect-ratio:1}
.chapter-dock {max-width:39rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.6rem}
@media screen and (min-width:950px) {
  .full-animation {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:clamp(1.5rem,4vw,4rem);grid-template-areas:"head head" "meta meta" "animation chapters" "animation list" "read read" "transcript transcript";grid-template-rows:auto auto auto 1fr auto auto}
  .full-animation>h2{grid-area:head}.full-animation>.media-heading{grid-area:meta}.full-animation>.animation-home{grid-area:animation}
  .full-animation>h3{grid-area:chapters;margin:.35rem 0 .65rem}.full-animation>.animation-playlist{grid-area:list;display:block;align-self:start;margin:0}
  .full-animation>#transcript-toggle{grid-area:read;justify-self:start}.full-animation>.animation-transcript{grid-area:transcript}
}
@media screen and (min-width:1050px) {
 .site-header {padding-block:.7rem}.site-header .brand-logo{width:10rem}
 .tab-nav button{padding-block:.8rem}
 .hero-copy {width:75%;padding-top:1.6rem;padding-bottom:1.7rem}
 .hero h1{font-size:clamp(2rem,3.4vw,3.5rem);max-width:none;line-height:1.12}
 .hero-deck{max-width:75ch;margin:.55rem 0 .9rem}
 .hero-visual{width:25%;padding:1rem 4% 1rem 0}
 .snapshot{padding-top:1.45rem}.snapshot>h2{margin-bottom:.3em}
 .rh-statement{padding:.25rem 0 .4rem}.rh-statement h3{font-size:1.3rem}
}
.shared-overview {border-bottom:1px solid var(--line);background:#edf1e9}
.shared-overview .common-summary {font-size:clamp(1rem,1.4vw,1.16rem);line-height:1.65;max-width:85ch}
.argument-lead {font-weight:700;color:var(--navy);max-width:76ch}
.tab-nav {scrollbar-width:thin;overscroll-behavior-x:contain}
@media (min-width:1000px){.tab-nav{justify-content:space-between;gap:.8rem}.tab-nav button{font-size:.76rem}}
.glossary-content {max-width:88rem}
.glossary-group {padding:1.4rem 0;border-top:1px solid var(--line)}
.glossary-group>h3 {font-size:1.3rem}
.glossary-entry {padding:.7rem 0 1.1rem;scroll-margin-top:5rem;border-bottom:1px solid var(--line);max-width:83ch}
.glossary-entry dt {font-size:1.05rem;color:var(--navy);font-weight:700}.glossary-entry dd {margin:.4rem 0 0}.glossary-entry p {margin:.45rem 0}
#gl-filter-control{padding:1rem;background:var(--pale);max-width:49rem}
#gl-filter-control input{font:inherit;padding:.5rem .65rem;width:min(100%,30rem);min-height:44px;background:#fff;border:1px solid #879c93}
#gl-match-count{display:block;margin-top:.3rem;font-size:.86rem;color:#344f4e}
.gl-no-matches{margin-top:.5rem}
.animation-credits {font-size:.92rem;max-width:82ch;line-height:1.55}
@media screen and (min-width:950px) {.full-animation{grid-template-areas:"head head" "meta meta" "credits credits" "animation chapters" "animation list" "read read" "transcript transcript"}.full-animation>.animation-credits{grid-area:credits}}
@media print {#gl-filter-control,.gl-no-matches{display:none!important}}
.bg-content .section-wrap {padding-top:clamp(1.5rem,3vw,2.7rem);padding-bottom:clamp(1.2rem,2.4vw,2.3rem)}
.bg-nav{display:flex;gap:.55rem 1.1rem;flex-wrap:wrap;margin-top:.95rem;color:#165b59;font-weight:700}
.bg-content .bg-block {border-top:1px solid var(--line)}.bg-block>p {max-width:81ch}
.bg-chronology{list-style:none;padding:0;max-width:82ch}.bg-chronology>li{border-left:2px solid #8aa59c;padding:0 0 .85rem 1rem}
.bg-chronology li>strong{color:#265c55}.bg-chronology p{margin:.15rem 0 .3rem}
.bg-table{border-collapse:collapse;width:100%;table-layout:fixed;margin:1rem 0 1.25rem;font-size:.92rem;line-height:1.5;border-top:2px solid #6d8e7d}
.bg-table th,.bg-table td{text-align:left;padding:.6rem .65rem;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.bg-table thead{background:#e1eae3}.bg-method-table th:nth-child(1){width:23%}.bg-method-table th:nth-child(2){width:14%}
.bg-method-table tr[data-route] {border-left:4px solid #91a19a}
.bg-method-table tr[data-route=a] {border-left-color:#17746a}.bg-method-table tr[data-route=b]{border-left-color:#ab6a32}.bg-method-table tr[data-route=both]{border-left-color:#466691}
.bg-route{display:inline-block;padding:.16rem .4rem;border-radius:.15rem;font-size:.78rem;font-weight:700;line-height:1.35}
.bg-route-a{color:#115449;background:#daeae1}.bg-route-b{color:#794117;background:#f6e5d1}.bg-route-both{color:#24466a;background:#dfe8f1}.bg-route-background{color:#344340;background:#e6e9e4}
.bg-cite{color:#165b59}.bg-group{border-bottom:1px solid var(--line);padding:.65rem 0}.bg-group>summary{font-weight:700;cursor:pointer}
.bg-content [id],.glossary-content [id]{scroll-margin-top:5rem}
@media(max-width:780px){.bg-table,.bg-table thead,.bg-table tbody,.bg-table tr,.bg-table td,.bg-table tbody th{display:block;width:100%!important}
 .bg-table thead{position:absolute;width:1px!important;clip-path:inset(50%);height:1px;overflow:hidden;white-space:nowrap}
 .bg-table tr{margin-bottom:.85rem;background:#fafbf8}
 .bg-table th,.bg-table td{padding:.33rem .7rem;border-bottom:0}.bg-table td:last-child{padding-bottom:.65rem}
 .bg-table [data-label]::before{content:attr(data-label);display:block;color:#52665f;font-size:.72rem;font-weight:700}
 .bg-table tbody th{font-size:1.02rem;color:#1f3b37}}
.thanksgiving-note {border-top:1px solid var(--line)}
.thanksgiving-note .coda-signature {font-size:.9rem;font-weight:700;color:#305e57}
