:root {
  --ink: #16181d;
  --ink2: #40454f;
  --mute: #6b7280;
  --paper: #ffffff;
  --wash: #f6f5f1;
  --rule: #d9d6cd;
  --accent: #8c1c13;
  --link: #1a4480;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
.col { max-width: 720px; margin: 0 auto; padding: 0 22px; }
.wide { max-width: 980px; margin: 0 auto; padding: 0 22px; }
a { color: var(--link); text-underline-offset: 2px; }
p { margin: 0 0 1.05em; }
q { quotes: "\201C" "\201D"; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 50; }

/* masthead */
.mast { border-top: 6px solid var(--ink); border-bottom: 1px solid var(--rule); }
.mast-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; font-family: var(--sans); font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink2); }
.mast-in strong { color: var(--ink); font-weight: 700; }

/* headline */
.head { padding: 56px 0 28px; }
.kicker { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.25rem); line-height: 1.1; font-weight: 700; letter-spacing: -.015em; margin: 0 0 20px; }
.dek { font-size: 1.24rem; line-height: 1.5; color: var(--ink2); margin-bottom: 26px; }
.byline { font-family: var(--sans); font-size: 13.5px; color: var(--mute); border-top: 1px solid var(--rule); padding-top: 12px; }

/* facts */
.facts { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; margin: 6px 0 10px; border-top: 2px solid var(--ink); }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.facts th { width: 34%; font-weight: 600; color: var(--ink2); padding-right: 14px; }

.toc { font-family: var(--sans); font-size: 14.5px; margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* sections */
section { padding: 44px 0 8px; }
h2 { font-size: 1.72rem; line-height: 1.2; margin: 0 0 16px; padding-top: 18px; border-top: 1px solid var(--ink); letter-spacing: -.01em; }
h2 .n { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); display: block; margin-bottom: 6px; }
h3 { font-size: 1.18rem; margin: 30px 0 10px; }
blockquote { margin: 0 0 1.05em; padding: 2px 0 2px 18px; border-left: 3px solid var(--ink); font-size: 1.02rem; }
.cite { font-family: var(--sans); font-size: 13.5px; color: var(--mute); }
.status { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.s-reg { color: #1a4480; } .s-sworn { color: #54278f; } .s-pub { color: #40454f; } .s-alleg { color: #8a5300; }
.note { font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--ink2); background: var(--wash); border-left: 3px solid var(--ink2); padding: 12px 16px; margin: 0 0 1.2em; }

/* document figures */
figure { margin: 26px 0 30px; }
.docfig button { display: block; width: 100%; padding: 0; background: #fff; border: 1px solid #bdb9ae; cursor: zoom-in; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.07); }
.docfig img { display: block; width: 100%; height: auto; }
figcaption { font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--mute); margin-top: 10px; }
figcaption strong { color: var(--ink); }
.pair { display: grid; grid-template-columns: 1fr; gap: 0; }
.pair figure { margin: 14px 0; }
.lab { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink); }

/* chronology */
.chron { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.chron li { display: grid; grid-template-columns: 124px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.chron time { font-family: var(--sans); font-size: 14px; font-weight: 700; padding-top: 4px; }
.chron h4 { margin: 0 0 4px; font-size: 1.08rem; line-height: 1.3; }
.chron p { margin: 0 0 6px; font-size: 1rem; line-height: 1.55; color: var(--ink2); }

/* chart */
.chart { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 18px 0 14px; margin: 24px 0 28px; font-family: var(--sans); }
.chart-title { font-weight: 700; font-size: 15.5px; margin-bottom: 14px; }
.row { margin-bottom: 14px; }
.row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; margin-bottom: 5px; }
.row-top b { font-size: 18px; font-variant-numeric: tabular-nums; }
.track { height: 26px; background: var(--wash); }
.bar { height: 100%; width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.b1 { background: var(--ink); }
.b2 { background: repeating-linear-gradient(135deg, #9a958a, #9a958a 6px, #b9b4a8 6px, #b9b4a8 12px); }
.chart .cite { margin: 6px 0 0; }

/* table */
.tablewrap { overflow-x: auto; margin: 8px 0 20px; }
table.st { width: 100%; min-width: 680px; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; line-height: 1.5; border-top: 2px solid var(--ink); }
table.st th, table.st td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
table.st thead th { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--mute); }
table.st td:first-child { font-weight: 600; width: 34%; }
table.st td:last-child { color: var(--mute); font-size: 13.5px; }

.src { font-family: var(--sans); font-size: 15px; line-height: 1.55; padding-left: 20px; }
.src li { margin-bottom: 8px; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }

footer { margin-top: 56px; border-top: 1px solid var(--rule); background: var(--wash); padding: 22px 0 30px; font-family: var(--sans); font-size: 13.5px; color: var(--mute); }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(20,22,26,.86); display: none; overflow: auto; z-index: 100; padding: 24px 12px 60px; cursor: zoom-out; }
.lb.on { display: block; }
.lb img { display: block; margin: 0 auto; max-width: min(1100px, 100%); background: #fff; }
.lb button { position: fixed; top: 12px; right: 14px; font-family: var(--sans); font-size: 14px; font-weight: 600; background: #fff; color: var(--ink); border: 0; padding: 8px 14px; cursor: pointer; }

@media (max-width: 620px) {
  body { font-size: 17.5px; }
  .head { padding-top: 36px; }
  .chron li { grid-template-columns: 1fr; gap: 2px; }
  .facts th { width: 40%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
@media print { .lb, .toc { display: none; } .docfig button { box-shadow: none; } }

/* ---------- hero: the Commissioner's words ---------- */
:root { --hl: #ffe24a; }
.hero { padding: 54px 0 46px; border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, #fbfaf6 0%, #fff 100%); }
.hero .kicker { font-size: 14px; }
.bigq { font-size: clamp(2.7rem, 9.4vw, 7.4rem); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 30px; max-width: 13ch; }
.mark, .mark2 { background-image: linear-gradient(var(--hl), var(--hl)); background-repeat: no-repeat; background-position: 0 62%; background-size: 0% 46%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mark { animation: sweep 1.1s .5s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes sweep { to { background-size: 100% 46%; } }
.strip { margin: 0 0 30px; max-width: 860px; }
.strip img { display: block; width: 100%; height: auto; border: 1px solid #bdb9ae; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 26px rgba(0,0,0,.08); }
.hero .dek { max-width: 760px; margin-bottom: 20px; }
.hero .dek strong { color: var(--ink); }
.scrollcue { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.scrollcue span { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- scrolling document ---------- */
.scrolly { padding: 0; background: #14161a; color: #fff; }
.stage { position: sticky; top: 0; height: 100vh; max-width: 1280px; margin: 0 auto; padding: 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.docview { position: relative; height: min(84vh, 800px); overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.page { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; transition: transform 1s cubic-bezier(.3,.7,.2,1), opacity .45s; will-change: transform; }
.page.on { opacity: 1; }
.page img { display: block; width: 100%; height: auto; }
.hl { position: absolute; background: var(--hl); mix-blend-mode: multiply; transform: scaleX(0); transform-origin: left center; transition: transform .7s .55s cubic-bezier(.3,.7,.2,1); }
.hl.on { transform: scaleX(1); }
.qpanel { position: relative; display: grid; align-items: center; }
.q { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s; pointer-events: none; }
.q.on { opacity: 1; transform: none; pointer-events: auto; }
.qlab { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hl); margin: 0 0 16px; }
.qtext { font-size: clamp(1.7rem, 3.3vw, 3rem); line-height: 1.14; font-weight: 700; letter-spacing: -.015em; margin: 0 0 18px; }
.q-big .qtext { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.04; }
.scrolly .mark2 { background-size: 100% 46%; color: #14161a; background-position: 0 50%; background-size: 100% 92%; padding: 0 .08em; }
.qsub { font-size: 1.08rem; color: #d3d6dc; margin: 0 0 14px; }
.scrolly .cite { color: #9aa1ad; }
.qcount { position: absolute; bottom: -46px; left: 0; font-family: var(--sans); font-size: 13px; letter-spacing: .1em; color: #9aa1ad; margin: 0; }
.steps { position: relative; margin-top: -100vh; pointer-events: none; }
.steps > div { height: 95vh; }

/* ---------- band ---------- */
.band { background: var(--hl); color: var(--ink); padding: 64px 0; }
.band .qlab { color: var(--ink); }
.bandq { font-size: clamp(1.8rem, 4.2vw, 3.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; margin: 0 0 20px; max-width: 22ch; }
.band .cite { color: #3a3a2a; }
.band a { color: var(--ink); }
.band + .col { padding-top: 44px; }

@media (max-width: 820px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: 40vh 1fr; gap: 18px; padding: 14px 16px 20px; align-items: start; }
  .docview { height: 40vh; }
  .qpanel { align-items: start; }
  .qcount { position: static; margin-top: 10px; grid-area: 2 / 1; }
  .q-big .qtext { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .qtext { font-size: clamp(1.5rem, 6.4vw, 2.2rem); }
  .qsub { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .mark { animation: none; background-size: 100% 46%; } .scrollcue span { animation: none; } }

/* ---------- film ---------- */
.film { background: #14161a; padding: 40px 0 34px; }
.film video { display: block; width: 100%; height: auto; background: #14161a; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.film .cite { color: #9aa1ad; margin: 14px 0 0; }
.scrolly { border-top: 1px solid #2a2e36; }

/* ---------- then and now ---------- */
.now { padding: 64px 0 20px; }
.nowh { border: 0; padding: 0; font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.1; letter-spacing: -.02em; max-width: 20ch; margin: 0 0 34px; }
.tn { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); }
.tn-col { padding: 26px 34px 30px 0; }
.tn-col + .tn-col { padding-left: 34px; padding-right: 0; border-left: 1px solid var(--rule); }
.tn-year { font-family: var(--sans); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; margin: 0 0 10px; }
.tn-who { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 18px 0 8px; }
.tn-q { font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; }
.tn-q.sm { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
.mk2 { background: var(--hl); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tn-end { font-size: 1.3rem; line-height: 1.5; border-top: 1px solid var(--rule); padding-top: 24px; margin: 0; max-width: 860px; }
.now + .col { padding-top: 40px; }
@media (max-width: 760px) { .tn { grid-template-columns: 1fr; } .tn-col, .tn-col + .tn-col { padding: 22px 0; border-left: 0; } .tn-col + .tn-col { border-top: 1px solid var(--rule); } .tn-end { font-size: 1.15rem; } }

/* ================= final layout ================= */
:root { --bar: 46px; }
html { scroll-padding-top: calc(var(--bar) + 12px); }
.banner { position: sticky; top: 0; z-index: 40; background: #14161a; border-bottom: 2px solid var(--hl); }
.banner-in { display: flex; align-items: center; gap: 16px; height: var(--bar); max-width: 1280px; margin: 0 auto; padding: 0 22px; text-decoration: none; white-space: nowrap; overflow: hidden; }
.banner-q { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--hl); }
.banner-who { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #c9cdd4; overflow: hidden; text-overflow: ellipsis; }
.banner-who .sm { display: none; }
.stage { top: var(--bar); height: calc(100vh - var(--bar)); }
.docview { height: min(calc(84vh - var(--bar)), 800px); }
.steps { margin-top: calc(var(--bar) - 100vh); }

h2 .n { text-transform: uppercase; }
#license .facts { margin-top: 22px; }

.pub { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); margin-top: 6px; }
.pub-col { padding: 28px 36px 26px 0; }
.pub-col + .pub-col { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--rule); }
.pub-big { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: clamp(3.4rem, 8vw, 6rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 16px; background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 78% / 100% 34%; padding: 0 .06em; }
.pub-head { font-weight: 700; font-size: 1.22rem; line-height: 1.3; margin: 0 0 10px; }
.pub-col p { font-size: 1rem; }
.pub-col .cite { font-size: 13.5px; margin: 0; }

.small-sec h2 { font-size: 1.45rem; }
.mini { display: grid; grid-template-columns: 1fr; gap: 0; margin: 4px 0 6px; }
.mini figure { margin: 12px 0; }

.close { background: #14161a; color: #fff; padding: 84px 0 76px; margin-top: 56px; }
.close-q { font-size: clamp(2.6rem, 8vw, 6.2rem); line-height: 1.03; font-weight: 700; letter-spacing: -.025em; margin: 0 0 30px; max-width: 14ch; }
.mk3 { background: var(--hl); color: #14161a; padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.close-q2 { font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.2; font-weight: 700; margin: 0 0 34px; max-width: 26ch; color: #e7e9ec; }
.close-id { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: #c9cdd4; border-top: 1px solid #3a3f48; padding-top: 20px; margin: 0 0 24px; }
.close-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 0; font-family: var(--sans); font-size: 14.5px; color: #9aa1ad; }
.btn { display: inline-block; background: var(--hl); color: #14161a; font-family: var(--sans); font-weight: 700; font-size: 15px; padding: 12px 20px; text-decoration: none; }
.btn:hover { background: #fff; }
#sources { padding-top: 30px; }
footer { margin-top: 40px; }

@media (max-width: 820px) {
  .stage { grid-template-rows: 38vh 1fr; }
  .docview { height: 38vh; }
}
@media (max-width: 760px) {
  .banner-q { font-size: 15px; }
  .banner-who .lg { display: none; } .banner-who .sm { display: inline; }
  .banner-who { font-size: 10.5px; }
  .pub { grid-template-columns: 1fr; }
  .pub-col, .pub-col + .pub-col { padding: 24px 0; border-left: 0; }
  .pub-col + .pub-col { border-top: 1px solid var(--rule); }
  .close { padding: 60px 0 54px; }
}
@media (max-width: 430px) { .banner-who { display: none; } .banner-in { justify-content: center; } }
.pub-col .pub-big { font-size: clamp(3.4rem, 8vw, 6rem); }
.pub-col .pub-head { font-size: 1.22rem; }
.pub-col .cite { font-size: 13.5px; }
.close-q { line-height: 1.14; }

/* download buttons */
.dl { margin: 0 0 22px; }
.btn { font-size: 16px; padding: 14px 22px; }
.btn span { display: inline-block; margin-right: 6px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: var(--hl); }
.band .dl { margin: 22px 0 0; }
.close .dl { margin: 0; }

/* hero: clean lead-in to the video */
.hero .dek { font-size: clamp(1.2rem, 2.2vw, 1.45rem); margin-bottom: 30px; }
.scrollcue { font-size: clamp(17px, 2.4vw, 22px); letter-spacing: .04em; }
.scrollcue a { color: var(--ink); text-decoration: none; border-bottom: 4px solid var(--hl); padding-bottom: 4px; }
.scrollcue a:hover { background: var(--hl); }
.hero { padding-bottom: 54px; }

/* button text must win over section link colors */
a.btn { color: #14161a; }
a.btn.btn-dark, .band a.btn.btn-dark { color: #fff; }
a.btn.btn-dark:hover, .band a.btn.btn-dark:hover { color: var(--hl); }
