/* ============================================================
   OATH PEPTIDES REVIEW — RUNWAY CINEMATIC EDITORIAL
   Aesthetic: runway-cinematic-editorial (designmd.app)
   Palette: graphite #1A1A1A, fog #F2F3F5, crimson #B2261A
   Type: Inter (single-family), tight tracking, 1.0 line-height
   ============================================================ */

:root {
  /* Palette */
  --primary: #1A1A1A;
  --primary-50: #E9ECF2;
  --primary-100: #D4D7DD;
  --primary-200: #B5BAC3;
  --primary-500: #27272A;
  --primary-700: #1A1A1A;
  --primary-900: #0A0A0A;
  --secondary: #27272A;
  --accent: #B2261A;
  --accent-50: #F6E5E2;
  --accent-700: #7E1A12;
  --neutral-0: #FFFFFF;
  --neutral-50: #F2F3F5;
  --neutral-100: #E9ECF2;
  --neutral-150: #DCDFE5;
  --neutral-200: #C9CCD3;
  --neutral-300: #A8ABB2;
  --neutral-400: #7D848E;
  --neutral-500: #767D88;
  --neutral-600: #5A6068;
  --neutral-700: #404040;
  --neutral-800: #27272A;
  --neutral-900: #1A1A1A;
  --bg: #F2F3F5;
  --bg-plate: #1A1A1A;
  --surface: #FFFFFF;
  --surface-panel: #F2F3F5;
  --surface-inverse: #1A1A1A;
  --text: #1A1A1A;
  --text-inverse: #F2F3F5;
  --text-muted: #5A6068;
  --text-label: #404040;
  --rule: #DCDFE5;
  --rule-strong: #1A1A1A;
  --rule-accent: #B2261A;
  --success: #1F5C3D;
  --warning: #7A5A12;
  --danger: #7E1A12;

  /* Layout */
  --max-width: 84rem;
  --container-px: clamp(1.25rem, 4vw, 3rem);
  --gutter: 1.25rem;

  /* Type */
  --font-heading: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Scale */
  --display: clamp(3rem, 9vw, 6rem);
  --h1: clamp(2.5rem, 6.5vw, 4.75rem);
  --h2: clamp(1.75rem, 3.6vw, 2.625rem);
  --h3: clamp(1.25rem, 2.2vw, 1.625rem);
  --h4: 1.0625rem;
  --lede: clamp(1.125rem, 1.7vw, 1.3125rem);
  --body-size: 1.0625rem;
  --small: 0.875rem;
  --micro: 0.75rem;
  --label: 0.6875rem;

  /* Motion */
  --t-fast: 240ms ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ol, ul, figure, blockquote, dl, dd { margin: 0; }
ol[role="list"], ul[role="list"] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* ============================================================
   BODY + TYPOGRAPHY
   ============================================================ */
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 800;
}

h1 {
  font-size: var(--h1);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h2 {
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-top: 4.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: var(--h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

h4 {
  font-size: var(--h4);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast), color var(--t-fast);
}
a:hover { text-decoration-color: var(--accent); color: var(--text); }

code {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.125rem 0.375rem;
  background: transparent;
}

/* ============================================================
   LAYOUT — CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.container--narrow { max-width: 56rem; }
.container--reading { max-width: 64rem; }

/* ============================================================
   MASTHEAD — graphite ground, 72px, crimson plate-mark
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-plate);
  border-bottom: 1px solid var(--neutral-700);
  color: var(--text-inverse);
}
.site-header .header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand-block { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}
.site-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-inverse);
  text-decoration: none;
  white-space: nowrap;
}
.site-brand:hover { color: var(--text-inverse); text-decoration: none; }

.site-nav { flex: 1 1 auto; }
.site-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 2rem; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--neutral-400);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.site-nav a:hover { color: var(--text-inverse); }
.site-nav a[aria-current="page"] {
  color: var(--text-inverse);
  border-bottom-color: var(--accent);
}

.issue-chip {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-inverse);
  background: var(--neutral-800);
  border: 1px solid var(--neutral-700);
  border-radius: 2px;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--neutral-700);
  border-radius: 2px;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-inverse);
}
.nav-toggle:hover { border-color: var(--text-inverse); }

@media (max-width: 900px) {
  .site-header .header-inner { gap: 1rem; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .site-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--bg-plate);
    padding: 3rem var(--container-px);
    transform: translateX(100%);
    transition: transform 240ms ease;
    overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .site-nav a { font-size: 1rem; }
  .issue-chip { display: none; }
}

/* ============================================================
   HERO — full-bleed 78vh cinematic plate
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 36rem;
  background: var(--bg-plate);
  overflow: hidden;
  color: var(--text-inverse);
}
.hero-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 1;
  animation: fadeIn 600ms ease-out both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.40) 0%, rgba(26,26,26,0.10) 35%, rgba(26,26,26,0.20) 70%, rgba(26,26,26,0.55) 100%);
  z-index: 2;
}
.hero-content {
  position: absolute; inset: 0;
  z-index: 3;
  padding: 4rem 3rem 3rem;
  display: flex; flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.hero-content > * { pointer-events: auto; }
.plate-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-inverse);
}
.plate-label-mark {
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
}
.hero-body { max-width: 64rem; }
.hero-h1 {
  font-family: var(--font-heading);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-inverse);
  mix-blend-mode: difference;
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-family: var(--font-body);
  font-size: var(--lede);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-inverse);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.cta-row {
  display: inline-flex; flex-wrap: wrap; gap: 0.75rem;
}

@media (max-width: 768px) {
  .hero { height: auto; min-height: 0; padding-bottom: 4rem; }
  .hero-content { position: static; padding: 2.5rem var(--container-px) 2rem; min-height: 60vh; }
  .hero-image { position: absolute; height: 60vh; }
  .hero-overlay { height: 60vh; }
  .hero-h1 { font-size: clamp(2rem, 9vw, 3.5rem); max-width: none; }
}

/* ============================================================
   BUTTONS — rectangular, 2px radius, uppercase tracked
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--text-inverse);
  color: var(--neutral-900);
  border-color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--neutral-200);
  border-color: var(--neutral-200);
  color: var(--neutral-900);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--text-inverse);
  border-color: var(--text-inverse);
}
.btn-secondary:hover {
  border-width: 1px;
  box-shadow: inset 0 0 0 1px var(--text-inverse);
  color: var(--text-inverse);
  text-decoration: none;
}
.btn-tertiary {
  background: transparent;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0;
  border: 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.btn-tertiary:hover { border-bottom-color: var(--accent); color: var(--text); text-decoration: none; }

/* Inverse-aware secondary on fog ground */
.on-fog .btn-secondary {
  color: var(--text);
  border-color: var(--text);
}
.on-fog .btn-secondary:hover { border-width: 1px; box-shadow: inset 0 0 0 1px var(--text); color: var(--text); }

/* ============================================================
   MAIN + ARTICLE BODY
   ============================================================ */
main { display: block; }
.article-body {
  padding: 6rem 0 5rem;
}
.article-body section { margin-bottom: 3rem; }
.article-body section:first-of-type h2 { margin-top: 0; }
.article-body p { font-size: var(--body-size); line-height: 1.65; max-width: 72ch; }
.article-body ul, .article-body ol { padding-left: 1.25rem; margin-bottom: 1.5rem; max-width: 72ch; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.6; }

/* ============================================================
   IMAGE PLATES — full-bleed structural separators
   ============================================================ */
.image-plate {
  width: 100%;
  background: var(--bg-plate);
  margin: 4rem 0;
}
.image-plate img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.image-plate-caption {
  max-width: var(--max-width);
  margin: 0.75rem auto 0;
  padding: 0 var(--container-px);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--neutral-500);
}
.plate-marker {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-right: 0.5rem;
}

/* Hero figure variant for inner pages (no overlap with masthead) */
.page-hero {
  background: var(--bg-plate);
  color: var(--text-inverse);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero .page-hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.page-hero h1 {
  font-size: var(--h1);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-inverse);
  font-weight: 800;
  max-width: 22ch;
  margin-bottom: 1.25rem;
  margin-top: 0.75rem;
}
.page-hero .hero-lede {
  margin-bottom: 0;
  max-width: 64ch;
}
.page-hero .breadcrumbs a { color: var(--neutral-400); }
.page-hero .breadcrumbs a:hover { color: var(--text-inverse); }
.page-hero .plate-label--spaced { margin-top: 1.5rem; display: inline-flex; }
.page-hero .cta-row--spaced { margin-top: 1.5rem; }
.btn-primary--inverse { background: var(--text); color: var(--text-inverse); border-color: var(--text); }
.btn-primary--inverse:hover { background: var(--neutral-700); border-color: var(--neutral-700); color: var(--text-inverse); }
.btn-tertiary--dark { color: var(--text); }

/* ============================================================
   VERDICT TILE
   ============================================================ */
.verdict-tile {
  background: var(--neutral-900);
  color: var(--text-inverse);
  border-top: 1px solid var(--accent);
  border-radius: 2px;
  padding: 3rem;
  margin: 4rem auto 0;
  max-width: var(--max-width);
}
.verdict-tile-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.verdict-tile-headline {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-inverse);
  max-width: 36ch;
  margin: 0;
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  margin: 3rem 0;
}
.stat-strip-cell {
  flex: 1 1 12rem;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--rule-strong);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.stat-strip-cell:last-child { border-right: 0; }
.stat-strip-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-strip-value {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}
@media (max-width: 700px) {
  .stat-strip-cell { flex: 1 1 50%; border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .stat-strip-cell:nth-child(odd) { border-right: 1px solid var(--rule-strong); }
  .stat-strip-cell:last-child, .stat-strip-cell:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* ============================================================
   CALLOUT — left rule, no fill
   ============================================================ */
.callout {
  border-left: 2px solid var(--rule-strong);
  padding: 0 1.25rem;
  margin: 2rem 0;
}
.callout-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 0.5rem;
  display: block;
}

/* ============================================================
   CONFIDENCE CHIPS
   ============================================================ */
.chip {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
  vertical-align: middle;
  margin: 0 0.15rem;
}
.chip--public-record-verified,
.chip--verified,
.chip--corroborated,
.chip--independently-corroborated {
  border-color: var(--accent);
  color: var(--accent);
}
.chip--partial,
.chip--partial-fetch {
  border-color: var(--warning);
  color: var(--warning);
}
.chip--unverifiable,
.chip--not-verifiable-from-public-records,
.chip--caveat {
  border-color: var(--neutral-500);
  color: var(--neutral-500);
}

/* ============================================================
   REFERENCES LIST
   ============================================================ */
.references-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  counter-reset: ref;
}
.references-list li {
  position: relative;
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0 1.25rem 3rem;
  display: block;
  counter-increment: ref;
}
.references-list li:last-child { border-bottom: 1px solid var(--rule); }
.references-list li::before {
  content: "[" counter(ref) "]";
  position: absolute;
  left: 0;
  top: 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.references-list .ref-citation { display: block; max-width: 72ch; }
.references-list .ref-source-type {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-right: 0.75rem;
}
.references-list .ref-link {
  display: inline-block;
  margin-top: 0.5rem;
  margin-left: 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.references-list .ref-link:hover { border-bottom-color: var(--accent); color: var(--text); }

/* Inline citation markers */
.cit {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.05em;
}
.cit a {
  text-decoration: none;
  color: var(--accent);
  border-bottom: 0;
  padding: 0 0.1em;
}
.cit a:hover { color: var(--accent-700); }

/* ============================================================
   TABLE
   ============================================================ */
table {
  width: 100%;
  max-width: 72ch;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.9375rem;
}
table th {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--rule-strong);
}
table td {
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { margin-top: 2rem; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 0;
}
.faq-list .faq-item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq-question {
  display: flex;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--h3);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
  cursor: pointer;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.faq-question::after {
  content: "+";
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  display: none;
  padding: 0 0 1.5rem;
  max-width: 72ch;
}
.faq-answer p { line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: 0;
}
.breadcrumbs a { text-decoration: none; color: var(--neutral-400); }
.breadcrumbs a:hover { color: var(--text-inverse); }
.breadcrumbs span { display: inline-block; margin: 0 0.5rem; color: var(--neutral-700); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
  margin-top: 2rem;
}
.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.75rem 0.875rem;
  transition: border-color var(--t-fast);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
}
.contact-form textarea { min-height: 10rem; resize: vertical; }

/* ============================================================
   FOOTER — graphite, crimson hairline, 3 columns
   ============================================================ */
.site-footer {
  background: var(--bg-plate);
  color: var(--text-inverse);
  padding: 5rem 0 3rem;
  margin-top: 6rem;
}
.footer-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.footer-rule-accent {
  border-top: 1px solid var(--accent);
  margin-bottom: 2rem;
}
.footer-disclaimer {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: var(--h3);
  line-height: 1.4;
  color: var(--text-inverse);
  max-width: 56ch;
  margin-bottom: 4rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-inverse);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.5rem;
}
.footer-col a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--neutral-400);
  text-decoration: none;
}
.footer-col a:hover { color: var(--text-inverse); }
.footer-sub {
  border-top: 1px solid var(--neutral-700);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--neutral-500);
  margin: 0;
}
.footer-issue {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin: 0;
}
@media (max-width: 700px) {
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer-disclaimer { font-size: var(--lede); margin-bottom: 3rem; }
}

/* ============================================================
   404
   ============================================================ */
.error-block {
  padding: 8rem 0;
  text-align: center;
}
.error-block .plate-label { margin-bottom: 1.5rem; }
.error-block h1 { margin-bottom: 1.5rem; }
.error-block p { max-width: 36rem; margin: 0 auto 2rem; }

/* ============================================================
   TIPPY EDITORIAL THEME
   ============================================================ */
.tippy-box[data-theme~="oath-editorial"] {
  background: var(--neutral-900);
  color: var(--text-inverse);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  box-shadow: none;
}
.tippy-box[data-theme~="oath-editorial"] .tippy-content { padding: 0.875rem 1rem; }
.tippy-box[data-theme~="oath-editorial"] .tippy-arrow { color: var(--neutral-900); }
.tippy-citation-text { line-height: 1.5; margin-bottom: 0.5rem; }
.tippy-citation-mono {
  font-weight: 600; font-size: 0.625rem; letter-spacing: 0.10em;
  color: var(--accent); margin-bottom: 0.5rem;
}
.tippy-citation-link {
  display: inline-block;
  color: var(--text-inverse);
  text-decoration: none;
  border-bottom: 1px solid var(--neutral-700);
  padding-bottom: 1px;
  font-size: 0.8125rem;
}

/* ============================================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-image { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
