@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=IBM+Plex+Mono:wght@400;500&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --ink: #111416;
  --surface: #1D2327;
  --panel: #2B3338;
  --paper: #ECEEE8;
  --muted: #AFB8BD;
  --rule: #59636A;
  --signal: #FF6A2A;
  --signal-dark: #a83208;
  --white: #ffffff;
  --black: #080a0b;
  --soft-rule: rgba(236,238,232,.16);
  --paper-rule: rgba(17,20,22,.22);
  --shadow: 0 18px 42px rgba(0,0,0,.24);
  --shadow-soft: 0 10px 26px rgba(0,0,0,.16);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --gutter: clamp(1.125rem, 4vw, 4.5rem);
  --shell: 100rem;
  --reading: 47.5rem;
  --space-1: .35rem;
  --space-2: .7rem;
  --space-3: 1rem;
  --space-4: 1.4rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: clamp(4rem, 9vw, 10rem);
  --text-xs: .72rem;
  --text-sm: .88rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.2rem, 1.8vw, 1.55rem);
  --title: clamp(2.6rem, 8.8vw, 9rem);
  --title-small: clamp(2.35rem, 5vw, 5.2rem);
  --h2: clamp(2.1rem, 5vw, 5.5rem);
  --h3: clamp(1.55rem, 2.6vw, 2.7rem);
  --leading-tight: .89;
  --leading-body: 1.55;
  --ease-standard: cubic-bezier(.2,.7,.2,1);
  --ease-sharp: cubic-bezier(.8,0,.2,1);
  --ease-linear: linear;
  --duration-fast: 160ms;
  --duration-base: 240ms;
  --duration-slow: 600ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); font-size: 100%; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: var(--text-base); line-height: var(--leading-body); text-rendering: optimizeLegibility; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { color: inherit; font: inherit; }
button, a, summary, input[type=checkbox], input[type=radio] { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--signal); }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: var(--leading-tight); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--title); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: 1.25rem; }
p, li { max-width: 68ch; }
p + p { margin-top: 1.15em; }
strong { font-weight: 600; }
small { font-size: var(--text-sm); }
.mono, code, kbd, dt, th { font-family: var(--mono); }
.eyebrow, .coordinate, .label, .meta, .caption, .section-kicker { font-family: var(--mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.eyebrow, .section-kicker { color: var(--signal); }
.muted { color: var(--muted); }

/* Readable muted text on the paper surfaces used by the document pages. */
.paper-ground .muted, .document-card .muted, .about-page .muted { color: #41484b; }
.prose { max-width: var(--reading); }
.prose h2 { margin-top: 2.8em; margin-bottom: .55em; }
.prose h3 { margin-top: 2em; margin-bottom: .45em; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-top: 1rem; }
.prose li + li { margin-top: .55rem; }
.prose a { color: var(--paper); }
.prose blockquote { border-left: 2px solid var(--signal); padding: .25rem 0 .25rem 1.25rem; margin: 2rem 0; font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.prose code { color: var(--signal); font-size: .9em; }

.shell-width { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.reading-width { width: min(100% - (var(--gutter) * 2), var(--reading)); margin-inline: auto; }
.section { padding-block: var(--space-8); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2.5rem); }
.grid-12 > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.rule-top { border-top: 1px solid var(--soft-rule); }
.rule-bottom { border-bottom: 1px solid var(--soft-rule); }
.paper-ground { background: var(--paper); color: var(--ink); }
.surface-ground { background: var(--surface); }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .6rem; left: .6rem; transform: translateY(-160%); background: var(--signal); color: var(--ink); padding: .7rem 1rem; font-family: var(--mono); transition: transform var(--duration-fast) var(--ease-standard); }
.skip-link:focus { transform: translateY(0); color: var(--ink); }

.measure { max-width: 75rem; margin-inline: auto; }
.full-bleed { width: 100%; }
.aspect-wide { aspect-ratio: 16 / 9; object-fit: cover; }
.aspect-portrait { aspect-ratio: 2 / 3; object-fit: cover; }
.figure-frame { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: .7rem; }
.figure-frame img { width: 100%; }
.caption { display: block; color: var(--muted); padding-top: .65rem; }
.coordinate-line { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; color: var(--muted); }
.coordinate-line::before { content: ''; width: 2.4rem; height: 1px; background: var(--signal); }
.divider-list > * + * { border-top: 1px solid var(--soft-rule); }
.centered { text-align: center; margin-inline: auto; }
.align-end { text-align: right; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 767px) {
  html { scroll-behavior: auto; }
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: clamp(3.8rem, 13vw, 6rem); }
  .prose h2 { margin-top: 2em; }
}
.line-mark { position: relative; padding-left: 1.25rem; }
.line-mark::before { content: ''; position: absolute; left: 0; top: .45em; width: .55rem; height: .55rem; background: var(--signal); }
.number { color: var(--signal); font-family: var(--mono); font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.surface-text { color: var(--paper); }
.paper-text { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* Additional layout vocabulary for field notes, legal reading, and responsive issue records */
:root { --measure-wide: 86rem; --measure-copy: 70ch; --focus-ring: 0 0 0 3px var(--ink), 0 0 0 5px var(--signal); --hairline: 1px solid var(--soft-rule); }
.copy-measure { max-width: var(--measure-copy); }
.wide-measure { width: min(100% - (var(--gutter) * 2), var(--measure-wide)); margin-inline: auto; }
.inset-rule { padding-inline: clamp(1rem, 3vw, 3rem); border-inline: 1px solid var(--soft-rule); }
.kicker-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--rule); }
.kicker-row > * { min-width: 0; }
.hanging-rule { position: relative; }
.hanging-rule::before { content: ''; position: absolute; left: calc(var(--gutter) * -1); top: .7em; width: clamp(1.2rem, 3vw, 3.5rem); height: 1px; background: var(--signal); }
@media (max-width: 767px) { .inset-rule { border-inline: 0; padding-inline: 0; } .kicker-row { align-items: flex-start; flex-direction: column; gap: .35rem; } .hanging-rule::before { display: none; } }
