:root {
  --yellow: #ffe600;
  --green: #00ff85;
  --black: #080808;
  --ink: #111111;
  --graphite: #1b1b1b;
  --line: #343434;
  --paper: #f4f1e8;
  --white: #ffffff;
  --muted: #a8a8a8;
  --max: 1240px;
  --display: "Anton", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
[hidden] { display: none !important; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only {
  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; left: 16px; top: -80px; z-index: 999;
  background: var(--yellow); color: var(--black); padding: 12px 18px;
  font-family: var(--mono); font-weight: 700;
}
.skip-link:focus { top: 16px; }

.preview-bar {
  min-height: 34px; display: flex; justify-content: center; align-items: center; gap: 18px;
  padding: 7px 20px; background: var(--yellow); color: var(--black);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
}
.preview-bar span:first-child { background: var(--black); color: var(--yellow); padding: 2px 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white); border-bottom: 3px solid var(--yellow); }
.site-header__inner { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.wordmark {
  color: var(--yellow); font-family: var(--display); font-size: 38px; font-style: italic;
  line-height: 1; letter-spacing: -.04em; text-decoration: none; transform: skew(-5deg);
}
.desktop-nav { display: flex; align-items: center; gap: 24px; margin-right: auto; }
.desktop-nav a { color: #e9e9e9; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--yellow); }
.header-search { display: flex; height: 38px; border: 1px solid #4a4523; }
.header-search input { width: 190px; border: 0; outline: 0; background: var(--graphite); color: var(--white); padding: 0 12px; font-family: var(--mono); font-size: 11px; }
.header-search button { width: 42px; border: 0; background: var(--yellow); color: var(--black); font-weight: 800; cursor: pointer; }
.menu-button { display: none; width: 44px; height: 40px; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; height: 3px; background: var(--yellow); margin: 4px 0; }
.mobile-nav { background: var(--black); padding: 16px 20px 24px; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 12px 0; color: var(--white); font-family: var(--mono); font-weight: 700; font-size: 13px; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid var(--line); }

.hero { min-height: 630px; display: grid; align-items: center; background: var(--black); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .65fr); gap: 72px; align-items: center; padding-block: 86px; }
.kicker { display: block; color: var(--yellow); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kicker--dark { color: var(--black); }
.hero h1, .section h2, .page-hero h1, .article-hero h1, .yellow-callout h2, .error-page h1, .quarantine-page h1, .author-copy h1 {
  margin: 18px 0 24px; font-family: var(--display); font-weight: 400; line-height: .92; letter-spacing: -.025em; text-transform: uppercase;
}
.hero h1 { max-width: 900px; font-size: clamp(70px, 9vw, 138px); }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-copy > p { max-width: 730px; color: #d0d0d0; font-size: 19px; }
.hero-actions, .author-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 12px 22px; border: 2px solid transparent; color: inherit;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .03em;
  text-decoration: none; text-transform: uppercase; cursor: pointer;
}
.button--yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.button--yellow:hover, .button--yellow:focus-visible { background: var(--white); border-color: var(--white); }
.button--outline { background: transparent; color: var(--white); border-color: #737373; }
.button--outline:hover, .button--outline:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.author-links .button--outline { color: var(--black); border-color: var(--black); }
.author-links .button--outline:hover, .author-links .button--outline:focus-visible { background: var(--black); color: var(--yellow); }
.button--black { background: var(--black); color: var(--yellow); border-color: var(--black); }
.button--ghost { background: transparent; color: var(--white); border-color: #555; }

.hero-proof { position: relative; padding-top: 54px; }
.stamp { display: inline-block; background: var(--yellow); color: var(--black); border: 3px solid var(--black); box-shadow: 7px 7px 0 var(--white); padding: 9px 14px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; transform: rotate(-4deg); }
.hero-proof .stamp { position: absolute; right: 8px; top: 0; }
.proof-card { display: grid; grid-template-columns: 64px 1fr; align-items: center; min-height: 92px; border-top: 1px solid var(--line); }
.proof-card:last-child { border-bottom: 1px solid var(--line); }
.proof-card span { color: var(--yellow); font-family: var(--mono); font-weight: 700; }
.proof-card p { margin: 0; font-weight: 700; text-transform: uppercase; }
.hazard-line { height: 15px; background: repeating-linear-gradient(45deg, var(--yellow) 0 18px, var(--black) 18px 36px); }

.status-strip { background: var(--yellow); border-bottom: 5px solid var(--black); }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.status-grid > div { display: flex; flex-direction: column; justify-content: center; min-height: 124px; padding: 20px; border-right: 2px solid var(--black); }
.status-grid > div:first-child { border-left: 2px solid var(--black); }
.status-grid strong { font-family: var(--display); font-size: 48px; line-height: 1; }
.status-grid span { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }

.section { padding-block: 96px; }
.section--black { max-width: none; width: 100%; background: var(--black); color: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.section-heading h2, .yellow-callout h2 { font-size: clamp(48px, 6vw, 86px); }
.section-heading--light h2 { color: var(--white); }
.text-link { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; text-underline-offset: 5px; }
.text-link:hover, .text-link:focus-visible { color: #8f7f00; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--black); border-left: 2px solid var(--black); }
.guide-card { min-height: 370px; display: flex; flex-direction: column; padding: 28px; background: #fffdf7; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.guide-card:nth-child(even) { background: #ece8dc; }
.guide-card__meta, .guide-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.guide-card__meta span:first-child { display: grid; width: 34px; height: 34px; place-items: center; background: var(--black); color: var(--yellow); }
.guide-card h2, .guide-card h3 { margin: 38px 0 14px; font-family: var(--display); font-size: 31px; font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.guide-card h2 a, .guide-card h3 a { text-decoration: none; }
.guide-card h2 a:hover, .guide-card h3 a:hover { background: var(--yellow); }
.guide-card > p { margin: 0; color: #4d4d4d; font-size: 14px; }
.guide-card__footer { margin-top: auto; padding-top: 28px; border-top: 1px solid #bdb8ab; }
.guide-card__footer a { font-weight: 800; text-underline-offset: 4px; }

.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; border: 1px solid var(--line); }
.pipeline li { min-height: 260px; padding: 26px; border-right: 1px solid var(--line); }
.pipeline li:last-child { border-right: 0; }
.pipeline li > span { color: var(--yellow); font-family: var(--mono); font-size: 12px; }
.pipeline h3 { margin: 50px 0 10px; font-family: var(--display); font-size: 36px; font-weight: 400; text-transform: uppercase; }
.pipeline p { color: #a9a9a9; font-size: 14px; }
.pipeline-human { background: var(--yellow); color: var(--black); }
.pipeline-human p { color: #242424; }
.pipeline-human > span { color: var(--black); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.split-section h2 { font-size: clamp(48px, 6vw, 82px); }
.editorial-note { border-left: 8px solid var(--yellow); padding: 12px 0 12px 30px; font-size: 17px; }
.editorial-note p:first-child { margin-top: 0; }
.yellow-callout { background: var(--yellow); color: var(--black); border-top: 6px solid var(--black); border-bottom: 6px solid var(--black); }
.yellow-callout__inner { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }

.page-hero { padding-block: 94px 72px; }
.page-hero h1 { max-width: 1000px; font-size: clamp(70px, 10vw, 140px); }
.page-hero > p { max-width: 780px; font-size: 20px; }
.library-search { max-width: 760px; margin-top: 40px; }
.library-search label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.library-search > div { display: flex; }
.library-search input { flex: 1; min-width: 0; border: 2px solid var(--black); background: var(--white); padding: 13px 15px; outline: 0; }
.library-search input:focus { box-shadow: inset 0 0 0 3px var(--yellow); }

.article-hero { background: var(--black); color: var(--white); padding-block: 84px; }
.article-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) 330px; gap: 72px; align-items: end; }
.article-hero h1 { max-width: 900px; font-size: clamp(58px, 7.4vw, 104px); }
.article-hero p { max-width: 800px; color: #c9c9c9; font-size: 19px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: #8e8e8e; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.breadcrumb a { color: var(--white); }
.article-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-facts > div { min-height: 92px; display: flex; flex-direction: column; justify-content: center; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-facts span { color: #8f8f8f; font-family: var(--mono); font-size: 9px; }
.article-facts strong { color: var(--white); font-family: var(--mono); font-size: 13px; }
.article-facts .fact-pending { background: var(--yellow); }
.article-facts .fact-pending span, .article-facts .fact-pending strong { color: var(--black); }

.article-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 88px; align-items: start; padding-block: 78px 110px; }
.article-toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--black); padding-top: 18px; }
.article-toc strong { font-family: var(--mono); font-size: 11px; }
.article-toc a { color: #595959; font-size: 12px; text-decoration: none; }
.article-toc a:hover { color: var(--black); text-decoration: underline; }
.article-lead { margin: 0 0 64px; font-size: 24px; font-weight: 600; line-height: 1.5; }
.article-body section, .trust-content section { scroll-margin-top: 110px; padding: 0 0 56px; margin-bottom: 56px; border-bottom: 2px solid var(--black); }
.section-number { display: block; margin-bottom: 12px; color: #716500; font-family: var(--mono); font-size: 12px; font-weight: 700; }
.article-body h2, .trust-content h2, .author-copy h2 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(38px, 5vw, 58px); font-weight: 400; line-height: 1; text-transform: uppercase; }
.article-body p, .trust-content p, .author-copy p { font-size: 18px; }
.article-body ul, .trust-content ul, .author-copy ul { padding: 0; list-style: none; }
.article-body li, .trust-content li, .author-copy li { position: relative; padding-left: 28px; margin: 12px 0; }
.article-body li::before, .trust-content li::before, .author-copy li::before { content: ""; position: absolute; left: 0; top: .75em; width: 14px; height: 4px; background: var(--yellow); border: 1px solid var(--black); }
.source-box { background: var(--white); padding: 34px !important; border: 3px solid var(--black) !important; box-shadow: 9px 9px 0 var(--yellow); }
.source-box ol { padding-left: 22px; }
.source-box li { padding-left: 0; }
.source-box li::before { display: none; }
.source-box a { text-underline-offset: 4px; }
.review-box { margin-top: 42px; padding: 26px; background: var(--black); color: var(--white); border-left: 8px solid var(--yellow); }
.review-box strong { color: var(--yellow); font-family: var(--mono); font-size: 11px; }
.review-box p { font-size: 15px; }
.review-box a { color: var(--yellow); font-family: var(--mono); font-size: 11px; font-weight: 700; }

.trust-content { max-width: 820px; padding-block: 80px 110px; }
.author-page { display: grid; grid-template-columns: minmax(280px, 430px) minmax(0, 1fr); gap: 78px; padding-block: 92px 110px; }
.author-photo { border: 6px solid var(--black); box-shadow: 14px 14px 0 var(--yellow); align-self: start; }
.author-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(100%); }
.author-copy h1 { font-size: clamp(70px, 9vw, 128px); }
.author-copy h2 { margin-top: 48px; font-size: 42px; }

.audit-table { border-top: 2px solid var(--black); border-left: 2px solid var(--black); }
.audit-row { display: grid; grid-template-columns: 1fr 170px 150px; }
.audit-row > * { padding: 14px 16px; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.audit-row a { font-weight: 700; }
.audit-row strong { background: var(--yellow); font-family: var(--mono); font-size: 11px; }
.audit-row--head { background: var(--black); color: var(--yellow); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.quarantine-page, .error-page { min-height: 650px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 88px; }
.quarantine-page h1, .error-page h1 { max-width: 1050px; font-size: clamp(64px, 9vw, 120px); }
.quarantine-page > p, .error-page > p { max-width: 780px; font-size: 19px; }
.quarantine-page .stamp { margin-bottom: 42px; box-shadow: 7px 7px 0 var(--black); }
.quarantine-checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quarantine-checks span { padding: 7px 10px; background: var(--black); color: var(--white); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.empty-state { padding: 50px; border: 3px dashed var(--black); }
.empty-state strong { font-family: var(--display); font-size: 38px; text-transform: uppercase; }

.site-footer { background: var(--black); color: var(--white); border-top: 7px solid var(--yellow); padding-block: 70px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.wordmark--footer { display: inline-block; font-size: 50px; }
.footer-thesis { max-width: 430px; color: #9e9e9e; }
.footer-grid h2 { margin: 0 0 18px; color: var(--yellow); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: 8px 0; color: #c2c2c2; font-size: 13px; text-decoration: none; }
.footer-privacy-button { display: block; margin: 8px 0; padding: 0; border: 0; background: transparent; color: #c2c2c2; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.footer-privacy-button:hover { color: var(--yellow); }
.footer-grid a:hover { color: var(--yellow); }
.footer-legal { margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: #7e7e7e; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }

.consent-panel { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300; max-width: 980px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--black); color: var(--white); border: 3px solid var(--yellow); padding: 20px; box-shadow: 10px 10px 0 rgba(0,0,0,.25); }
.consent-panel strong { color: var(--yellow); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.consent-panel p { margin: 4px 0 0; color: #bdbdbd; font-size: 13px; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 980px) {
  .desktop-nav, .header-search { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .hero-grid, .article-hero__grid, .split-section, .author-page { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-proof { max-width: 620px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline li:nth-child(2) { border-right: 0; }
  .pipeline li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .preview-bar { justify-content: flex-start; gap: 8px; overflow: hidden; white-space: nowrap; font-size: 8px; }
  .site-header__inner { min-height: 64px; }
  .wordmark { font-size: 32px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 64px; }
  .hero h1 { font-size: clamp(64px, 22vw, 94px); }
  .hero-copy > p, .page-hero > p, .article-hero p { font-size: 16px; }
  .hero-actions .button, .author-links .button { flex: 1; }
  .status-grid { grid-template-columns: 1fr 1fr; }
  .status-grid > div { min-height: 104px; border-bottom: 2px solid var(--black); }
  .status-grid strong { font-size: 40px; }
  .section { padding-block: 68px; }
  .section-heading { align-items: start; flex-direction: column; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 330px; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .yellow-callout__inner { min-height: 430px; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 56px; }
  .page-hero { padding-block: 66px 52px; }
  .page-hero h1 { font-size: clamp(64px, 21vw, 92px); }
  .library-search > div { flex-direction: column; gap: 8px; }
  .article-hero { padding-block: 58px; }
  .article-hero h1 { font-size: clamp(52px, 15vw, 76px); }
  .article-facts { grid-template-columns: 1fr 1fr; }
  .article-layout { padding-block: 56px 80px; }
  .article-toc { grid-template-columns: 1fr; }
  .article-lead { font-size: 20px; }
  .article-body p, .trust-content p, .author-copy p { font-size: 16px; }
  .source-box { padding: 22px !important; box-shadow: 6px 6px 0 var(--yellow); }
  .author-page { gap: 48px; }
  .audit-row { grid-template-columns: 1fr; }
  .audit-row > * { border-bottom-width: 1px; }
  .audit-row--head { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .consent-panel { align-items: stretch; flex-direction: column; }
  .consent-actions .button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
