@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-variable-wght.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
:root {
  --ink: #10100f;
  --carbon: #171715;
  --steel: #292925;
  --paper: #f2eee4;
  --paper-deep: #e4ded1;
  --white: #fffdf7;
  --muted: #918d84;
  --muted-dark: #5f5c55;
  --signal: #f05423;
  --focus: #ffb000;
  --rule-dark: rgba(255, 253, 247, .18);
  --rule-light: rgba(16, 16, 15, .22);
  --gutter: clamp(1rem, 3.2vw, 3.75rem);
  --max: 1500px;
  --reading: 780px;
  --display: "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 0; overflow-x: clip; background: var(--ink); color: var(--white); font-family: var(--display); line-height: 1.55; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 1000; top: .5rem; left: .5rem; padding: .75rem 1rem; background: var(--focus); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow, .meta, .section-index, label, .filter-count, .disclosure, .page-meta, .breadcrumbs, .byline { font-family: var(--mono); text-transform: uppercase; letter-spacing: .075em; font-size: .72rem; }
.eyebrow { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; font-weight: 500; }
.eyebrow::before { content: ""; width: 1.8rem; height: 3px; background: var(--signal); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(16, 16, 15, .98); border-bottom: 1px solid var(--rule-dark); }
.nav-wrap { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center; }
.masthead { min-height: 48px; display: inline-flex; flex-direction: column; justify-content: center; text-decoration: none; line-height: .82; }
.masthead strong { font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.075em; white-space: nowrap; }
.masthead span { font: 400 .56rem/1.5 var(--mono); letter-spacing: .095em; color: var(--muted); text-transform: uppercase; }
.desktop-nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(.5rem, 2vw, 1.8rem); }
.desktop-nav a, .mobile-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 3px solid transparent; }
.desktop-nav a:hover { border-bottom-color: var(--signal); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--rule-dark); background: transparent; color: var(--white); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: 77px 0 0; background: var(--ink); padding: 1.25rem var(--gutter) 3rem; overflow: auto; }
.mobile-nav a { min-height: 62px; border-bottom: 1px solid var(--rule-dark); font-size: clamp(1.5rem, 7vw, 2.7rem); letter-spacing: -.035em; }
.mobile-meta { margin-top: 2rem; color: var(--muted); font: .68rem/1.6 var(--mono); text-transform: uppercase; }
.breadcrumbs { width: min(100%, var(--max)); margin-inline: auto; padding: 1.2rem var(--gutter) 0; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--signal); }
.breadcrumbs a:hover { color: var(--white); }
.page-hero { padding-top: clamp(4rem, 9vw, 9rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.page-hero h1 { max-width: 14ch; margin: 1.2rem 0; font-size: clamp(3.2rem, 8vw, 8.7rem); line-height: .86; letter-spacing: -.07em; text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.page-hero > p { max-width: 58rem; margin: 0; color: #c6c2b9; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.page-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2rem; border-block: 1px solid var(--rule-dark); }
.page-meta span { padding: .75rem 1rem .75rem 0; margin-right: 1rem; }
.hero-image { margin: clamp(2rem, 5vw, 4rem) 0 0; overflow: hidden; background: var(--carbon); aspect-ratio: 3 / 2; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.paper { background: var(--paper); color: var(--ink); }
.content-layout { padding-top: clamp(3rem, 7vw, 7rem); padding-bottom: clamp(4rem, 8vw, 8rem); }
.article-body, .hub-body { max-width: var(--reading); min-width: 0; }
.prose h2, .sources h2 { margin: 3.5rem 0 1rem; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; scroll-margin-top: 7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li, .sources p, .sources li { color: var(--muted-dark); font-size: clamp(1rem, 1.25vw, 1.12rem); }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose a, .sources a { text-decoration-thickness: 2px; text-decoration-color: var(--signal); text-underline-offset: .2em; overflow-wrap: anywhere; }
.byline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 3rem 0; padding: 1px; background: var(--ink); }
.byline div { min-width: 0; padding: 1rem; background: var(--paper-deep); }
.byline dt { color: var(--muted-dark); }
.byline dd { margin: .45rem 0 0; font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: .95rem; }
.sources { margin-top: 4rem; padding-top: 1px; border-top: 2px solid var(--ink); }
.sources ol { padding-left: 1.25rem; }
.sources li { margin-block: .75rem; }
.governance-grid { margin-top: 4rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.governance-grid > h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.governance-grid > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule-light); border: 1px solid var(--rule-light); }
.governance-grid section { min-width: 0; padding: 1.25rem; background: var(--paper-deep); scroll-margin-top: 7rem; }
.governance-grid h3 { margin: 0 0 .65rem; font-size: 1.4rem; text-transform: uppercase; }
.governance-grid p { margin: 0; color: var(--muted-dark); }
.file-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: var(--rule-light); border: 1px solid var(--rule-light); }
.file-card { min-width: 0; background: var(--paper); }
.file-card a { height: 100%; min-height: 280px; padding: 1.25rem; display: flex; flex-direction: column; text-decoration: none; }
.file-card h3 { margin: .75rem 0; font-size: clamp(1.45rem, 2.3vw, 2.3rem); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.file-card p { margin: 0; color: var(--muted-dark); }
.card-link { margin-top: auto; padding-top: 2rem; font-weight: 700; text-transform: uppercase; text-decoration: underline 3px var(--signal); text-underline-offset: .35rem; }
.file-card a:hover { background: var(--paper-deep); }
.search-panel, .related-content { padding-top: clamp(5rem, 9vw, 9rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 28rem); align-items: end; gap: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid currentColor; }
.section-head h2 { margin: .45rem 0 0; font-size: clamp(2.4rem, 5.8vw, 6.5rem); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.section-head p { margin: 0; color: var(--muted-dark); }
.section-head.compact { grid-template-columns: 1fr; }
.filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, .45fr)) auto; gap: 1px; margin-top: 2rem; background: var(--ink); border: 1px solid var(--ink); }
.field { position: relative; min-width: 0; background: var(--white); }
.field label { position: absolute; z-index: 1; top: .55rem; left: .85rem; color: var(--muted-dark); pointer-events: none; }
.field input, .field select { width: 100%; min-width: 0; min-height: 64px; padding: 1.45rem .85rem .35rem; border: 0; border-radius: 0; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: -3px; }
.clear-button { min-height: 64px; padding: 0 1.2rem; border: 0; background: var(--signal); color: var(--ink); font: 600 .7rem var(--mono); text-transform: uppercase; cursor: pointer; }
.filter-count { display: block; min-height: 52px; padding-top: 1.1rem; border-bottom: 1px solid var(--rule-light); }
.search-results:empty::before { content: "No matching files."; display: block; padding: 3rem 1rem; font-size: 1.4rem; }
.commercial-disclosure { width: min(100%, var(--max)); min-height: 270px; margin-inline: auto; padding: 2rem var(--gutter); display: grid; grid-template-columns: .7fr 1.4fr .9fr; gap: 2rem; align-items: center; background: var(--signal); color: var(--ink); }
.commercial-disclosure .disclosure { align-self: start; font-weight: 600; }
.commercial-disclosure h2 { margin: 0; font-size: clamp(2.2rem, 4.7vw, 5.3rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.commercial-disclosure p { max-width: 40rem; }
.disabled-cta { justify-self: end; padding: .85rem 1rem; border: 2px solid var(--ink); font-weight: 700; text-transform: uppercase; opacity: .7; }
footer { border-top: 1px solid var(--rule-dark); background: var(--ink); }
.footer-main { padding-top: 3rem; padding-bottom: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.footer-wordmark { font-size: clamp(3rem, 10vw, 10rem); font-weight: 700; line-height: .72; letter-spacing: -.09em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 2rem; }
.footer-links a { min-height: 44px; display: flex; align-items: center; color: #c5c1b9; text-decoration: none; border-bottom: 1px solid var(--rule-dark); }
.footer-links a:hover { color: var(--signal); }
.footer-legal { padding-top: 1.2rem; padding-bottom: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule-dark); color: var(--muted); font: .68rem/1.5 var(--mono); }
.footer-legal strong { color: var(--white); font-weight: 500; }
.not-found { min-height: 85vh; display: grid; place-items: center; padding: var(--gutter); }
.not-found h1 { margin: 1rem 0; font-size: clamp(4rem, 14vw, 11rem); line-height: .8; letter-spacing: -.08em; text-transform: uppercase; }
.button { min-height: 52px; display: inline-flex; align-items: center; margin-top: 1rem; padding: 0 1rem; border: 2px solid var(--signal); text-decoration: none; text-transform: uppercase; font-weight: 700; }
@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .mobile-nav[data-open="true"] { display: flex; flex-direction: column; }
  .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .commercial-disclosure { grid-template-columns: .6fr 1.4fr; }
  .disabled-cta { grid-column: 2; justify-self: start; }
}
@media (max-width: 720px) {

  .nav-wrap { min-height: 68px; }
  .mobile-nav { inset-block-start: 69px; }
  .masthead span { max-width: 180px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .page-hero h1 { font-size: clamp(3rem, 16vw, 5.7rem); }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-head h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .file-grid, .filter-bar { grid-template-columns: minmax(0, 1fr); }
  .file-card a { min-height: 240px; }
  .byline { grid-template-columns: 1fr; }
  .commercial-disclosure { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .disabled-cta { grid-column: auto; justify-self: stretch; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
