@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-condensed-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #0b1016;
  --panel: #111921;
  --raised: #16212a;
  --ink: #f2f4ee;
  --muted: #b5c2cc;
  --rule: #34434f;
  --cyan: #63e5f0;
  --yellow: #effb35;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: "Atkinson Hyperlegible Next", Inter, system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
a { color: var(--cyan); text-underline-offset: .19em; overflow-wrap: anywhere; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--paper); }
[hidden] { display: none !important; }
.wrap { width: min(1220px, calc(100% - clamp(2rem, 9vw, 9rem))); margin-inline: auto; }
.skip { position: absolute; top: .4rem; left: .75rem; z-index: 5; background: var(--yellow); color: var(--paper); padding: .6rem; transform: translateY(-170%); }
.skip:focus { transform: none; }
.mast { background: #0b1016; border-bottom: 1px solid var(--rule); }
.mast .wrap, .nav, .brand { display: flex; align-items: center; }
.mast .wrap { min-height: 4.35rem; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1.5rem; padding-block: .45rem; }
.brand { gap: .65rem; color: var(--ink); font: 800 1.34rem/1 var(--display); letter-spacing: .035em; text-transform: uppercase; text-decoration: none; }
.brand-mark { display: flex; align-items: flex-end; gap: 3px; padding: 2px 4px; transform: skew(-18deg); }
.brand-mark i { display: block; width: 5px; background: var(--yellow); }
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3) { height: 27px; }
.nav { flex-wrap: wrap; gap: .1rem clamp(.8rem, 2.6vw, 2.4rem); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d6dfe5; font: 550 .9rem/1.2 var(--sans); text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--yellow); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--yellow); box-shadow: inset 0 -2px var(--yellow); }
h1, h2, h3, h4 { margin: 0; line-height: 1.13; overflow-wrap: break-word; }
h1, h2 { font-family: var(--display); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.65vw, 3.1rem); letter-spacing: -.015em; }
h3, h4 { font-family: var(--sans); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { margin: .7rem 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #090e13; }
.hero-content { position: relative; z-index: 1; }
.over, .eyebrow, .meta { font: 600 .77rem/1.45 var(--mono); letter-spacing: .095em; text-transform: uppercase; }
.over { margin: 0 0 1rem; color: var(--cyan); }
.over::before, .eyebrow::before { content: ""; display: inline-block; width: 1.8rem; height: 2px; margin: 0 .65rem .28em 0; background: currentColor; }
.cover { display: grid; align-items: center; min-height: clamp(395px, 37vw, 565px); }
.cover-art { position: absolute; top: 0; right: 0; width: min(82%, 1420px); height: 100%; object-fit: cover; object-position: 67% 38%; }
.cover::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #090e13 6%, #090e13f2 22%, #090e13c7 36%, #090e1329 57%, transparent 76%); }
.cover::after, .reader-hero::after { position: absolute; z-index: 2; content: ""; height: 3px; bottom: 0; inset-inline: 0; background: linear-gradient(90deg, var(--yellow) 0 19%, #516337 19% 34%, #285363 34% 69%, var(--cyan) 69% 79%, #22343e 79%); }
.cover .hero-content { padding-block: clamp(2.8rem, 5.7vw, 5rem); }
.cover h1 { width: max-content; max-width: 100%; font-size: clamp(5.65rem, 8.7vw, 8.9rem); line-height: .82; letter-spacing: -.018em; text-transform: uppercase; }
.cover h1 span, .cover h1 em { display: block; }
.cover h1 em { margin-top: .055em; color: var(--yellow); font-style: normal; }
.deck { color: #dde5e8; font-size: clamp(1.02rem, 1.45vw, 1.23rem); line-height: 1.5; }
.cover .deck { max-width: min(43ch, 46%); margin: 1.45rem 0 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 1.45rem; }
.linkButton, .text-action { display: inline-flex; gap: .6rem; align-items: center; justify-content: center; min-height: 44px; font-size: .93rem; font-weight: 750; }
.linkButton { padding: .65rem 1.05rem; color: #101410; background: var(--yellow); text-decoration: none; border-radius: 1px 1px 9px 1px; }
.linkButton:hover { color: #091013; background: #fffda2; }
.linkButton:focus-visible { outline-color: var(--cyan); }
.text-action { width: fit-content; color: var(--cyan); text-underline-offset: .3rem; }
.reader-hero { background: linear-gradient(117deg, #101b23 5%, #121e28 72%, #123135 100%); }
.reader-hero .hero-content { padding-block: clamp(2.25rem, 5vw, 4rem); }
.reader-hero h1 { max-width: 22ch; font-size: clamp(2.85rem, 5.8vw, 5.8rem); line-height: .98; letter-spacing: -.02em; }
.reader-hero .deck { max-width: 67ch; margin: 1rem 0 0; }
.doc { padding-block: clamp(1.5rem, 3vw, 2.5rem) 4.2rem; }
.front-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; gap: clamp(1rem, 2.3vw, 2rem); }
.current, .newsletter { min-width: 0; padding: clamp(1.2rem, 2.4vw, 2rem); border: 1px solid var(--rule); }
.current { border-top: 3px solid var(--yellow); background: #10171e; }
.eyebrow { color: var(--yellow); margin: 0 0 .7rem; font-size: .72rem; }
.eyebrow span, .eyebrow time { color: var(--muted); }
.current h2 { max-width: 25ch; font-size: clamp(2.25rem, 3.35vw, 3.7rem); line-height: .99; }
.current h2 a, .history-feature h2 a { color: var(--ink); text-decoration: none; }
.current h2 a:hover, .history-feature h2 a:hover { color: var(--yellow); text-decoration: underline; }
.current p:not(.eyebrow), .newsletter p { color: var(--muted); }
.newsletter { position: relative; background: linear-gradient(120deg, #12242c, #102127 78%, #182e32); border: 1px solid #3a626a; border-top: 3px solid var(--cyan); }
.newsletter::after { content: ""; position: absolute; top: .85rem; right: .85rem; width: 1.65rem; height: 5px; background: repeating-linear-gradient(118deg, transparent 0 3px, #6bb7bf 3px 5px, transparent 5px 7px); }
.newsletter h2 { margin-top: 0; font-size: clamp(2rem, 2.8vw, 2.8rem); }
.newsletter label { margin-top: 1rem; font: 600 .76rem/1.5 var(--mono); color: var(--ink); }
.newsletter-controls { display: flex; margin-top: .35rem; border: 1px solid #66858b; background: #101b22; }
.newsletter-controls input { flex: 1; min-width: 0; border: 0; color: var(--muted); background: transparent; padding: .6rem .7rem; opacity: 1; }
.newsletter-controls input::placeholder { color: #b8c8cc; opacity: 1; }
#newsletter-status { display: inline-flex; flex: none; align-items: center; padding: .45rem .8rem; border-left: 1px solid #66858b; color: var(--cyan); background: #193238; font: 650 .76rem/1.4 var(--mono); }
.history-feature { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.55rem; padding: 1.3rem 0; margin-top: 1.5rem; border-block: 1px solid var(--rule); }
.year-range { color: var(--cyan); font: 800 clamp(1.8rem, 3vw, 2.9rem)/1 var(--display); white-space: nowrap; }
.history-feature h2 { font-size: 1.65rem; }
.history-feature p { color: var(--muted); font-size: .87rem; margin: .22rem 0 0; }
.history-feature .text-action { margin-inline-start: auto; }
.jump { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.2rem; padding: .8rem 0; border-block: 1px solid var(--rule); margin: 1rem 0 1.5rem; }
.jump a { display: inline-flex; align-items: center; min-height: 32px; font-size: .92rem; }
.block { margin: 2.7rem 0; }
.sectionName { margin-bottom: 1.1rem; padding-top: .7rem; border-top: 1px solid var(--rule); }
.sectionName::before { content: ""; display: inline-block; width: .28rem; height: .66em; margin-inline-end: .55rem; background: var(--yellow); transform: skew(-12deg); }
.lede-grid, .cards, .practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lead, .summary-card, .card, .practice, .decision { background: var(--panel); padding: 1.15rem 1.25rem; border: 1px solid var(--rule); }
.lead { border-left: 3px solid var(--cyan); }
.lead p, .card p, .practice p, .decision p { margin: 0 0 .65rem; }
.card h4, .summary-card h4 { margin: .55rem 0; }
.subhead { color: var(--ink); margin: 1.75rem 0 .8rem; }
.card, .practice, .decision { border-top: 2px solid #477582; scroll-margin: 1rem; }
.practice, .decision { border-top-color: #899844; }
.card:target, .decision:target, .summary-card:target { outline: 2px solid var(--yellow); outline-offset: 2px; }
.meta { display: flex; flex-wrap: wrap; gap: .15rem .7rem; color: var(--cyan); font-size: .71rem; letter-spacing: .065em; }
.meta span + span { color: var(--muted); }
.scope { color: var(--muted); max-width: 85ch; }
.guide { border-left: 2px solid var(--yellow); padding-left: .75rem; }
.refs { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .85rem; }
.filters { padding: 1rem; margin: 1rem 0; background: var(--raised); border: 1px solid var(--rule); }
.filter-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: .75rem; align-items: end; }
label { display: grid; gap: .25rem; font-size: .91rem; font-weight: 650; }
input, select, button { min-height: 44px; font: inherit; border-radius: 0; }
input, select { width: 100%; min-width: 0; padding: .55rem; color: var(--ink); background: #0d171e; border: 1px solid #68818c; font-size: 1rem; }
input::placeholder { color: var(--muted); }
button { padding: .52rem .9rem; color: var(--cyan); background: #16282e; border: 1px solid #68a7b1; cursor: pointer; }
button:hover { border-color: var(--yellow); color: var(--yellow); }
.count { color: var(--muted); margin: .65rem 0 0; font-size: .87rem; }
details { margin-top: .6rem; }
summary { cursor: pointer; color: var(--cyan); font-weight: 680; padding: .4rem 0; }
.decisions { display: grid; gap: .75rem; }
.sources-list { padding-left: 1.65rem; columns: 2; column-gap: 2.5rem; }
.sources-list li { padding: 0 0 .85rem .15rem; break-inside: avoid; }
.sources-list span { display: block; color: var(--muted); font-size: .83rem; }
.archive-entry { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: baseline; border-bottom: 1px solid var(--rule); padding: .75rem 0; }
.archive-entry time { color: var(--muted); font: .85rem var(--mono); }
footer { padding: 1.5rem 0; color: var(--muted); border-top: 1px solid var(--rule); background: #090e12; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; align-items: baseline; font-size: .9rem; }
footer p { margin: 0; }
.history-path, .timeline-refs { line-height: 1.8; }
.timeline-refs { margin-top: .6rem; font-size: .92rem; }
.history-era { margin-block: 2.2rem; max-width: 82ch; border-left: 2px solid #31545e; padding-left: clamp(.65rem, 2vw, 1.45rem); }
.history-era > h3 { color: var(--cyan); font-size: 1.44rem; }
.history-event { margin: 1rem 0; }
.history-event h4 { font-size: 1.25rem; }
.history-event p { margin-block: .65rem; }
#main .history-filter { grid-template-columns: 1.4fr 1fr auto; }
.doc:has(.history-era) > h2 { margin-top: 2.7rem; }
.doc:has(.history-era) > p { max-width: 82ch; }
.doc:has(.history-era) > h3 { margin-top: 1.4rem; }
@media (max-width: 760px) {
  .mast .wrap { gap: .2rem .8rem; }
  .nav { gap: .1rem .9rem; }
  .front-grid, .lede-grid, .cards, .practice-grid { grid-template-columns: 1fr; }
  .history-feature .text-action { margin-inline-start: 0; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-grid label:first-child { grid-column: 1/-1; }
  #main .history-filter { grid-template-columns: 1fr; }
  .sources-list { columns: 1; }
}
@media (max-width: 600px) {
  .mast .wrap { align-items: flex-start; flex-direction: column; padding-block: .65rem .1rem; }
  .nav { width: 100%; justify-content: space-between; gap: .3rem; }
  .nav a { font-size: .86rem; }
  .brand { font-size: 1.21rem; }
  .cover { min-height: 0; }
  .cover-art { width: 100%; height: clamp(235px, 65vw, 340px); object-position: 67% 23%; }
  .cover::before { height: clamp(236px, 65vw + 1px, 341px); background: linear-gradient(0deg, #090e13 0%, #090e1300 75%), linear-gradient(90deg, #090e1399, transparent 70%); }
  .cover .hero-content { padding-block: clamp(108px, 31vw, 165px) 1.7rem; }
  .cover h1 { font-size: clamp(4.35rem, 16vw, 6.9rem); }
  .cover .over { margin-bottom: .83rem; }
  .cover .deck { max-width: 36ch; margin-top: 1.05rem; }
  .hero-actions { margin-top: 1rem; gap: .35rem 1.2rem; }
  .front-grid { gap: 1rem; }
  .year-range { width: 100%; }
  .history-feature { gap: .4rem; }
  .history-feature .text-action { width: 100%; justify-content: flex-start; }
}
@media (max-width: 420px) {
  .filter-grid { grid-template-columns: 1fr; }
  .card, .summary-card, .practice, .decision { padding: .9rem; }
}
@media (max-width: 365px) {
  .nav { gap: .15rem; }
  .nav a { font-size: .8rem; }
}
@media print {
  :root { color-scheme: light; --ink: #111; --paper: #fff; --panel: #fff; --muted: #333; --rule: #999; --cyan: #153741; --yellow: #111; }
  .skip, .nav, .jump, .filters, .hero-actions, .newsletter, .cover-art, .hero::after, .cover::before { display: none !important; }
  .wrap { width: 100%; }
  .cover, .reader-hero, footer, .mast { min-height: 0; background: white; color: black; }
  .cover .hero-content, .reader-hero .hero-content { padding-block: 1rem; }
  .cover h1, .reader-hero h1 { font-size: 3rem; max-width: none; }
  .deck, .over, .brand, .eyebrow, .cover h1 em { color: black; }
  .front-grid, .cards, .practice-grid, .lede-grid { display: block; }
  .card, .summary-card, .lead, .decision, .practice { break-inside: avoid; margin: .5rem 0; }
}
