@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: optional;
  src: url("/fonts/fraunces-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 600;
  font-display: optional;
  src: url("/fonts/fraunces-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 600;
  font-display: optional;
  src: url("/fonts/inter-tight-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0b0a09;
  --surface: #151310;
  --surface-2: #1d1a16;
  --ink: #f4efe5;
  --ink-2: #d8d0c3;
  --muted: #979087;
  --rule: #302b25;
  --gold: #c9a961;
  --gold-2: #e0c690;
  --danger: #c84a2a;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--gold-2);
}

code {
  padding: 0.12em 0.35em;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--surface);
  color: var(--gold-2);
  font-size: 0.82em;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1180px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px color-mix(in srgb, var(--gold) 75%, transparent);
}

.nav-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  text-decoration: none;
}

.article-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.article-header {
  padding: 92px 0 54px;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.99;
}

.deck {
  max-width: 62ch;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 300;
  line-height: 1.46;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.scope-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--gold) 60%, var(--rule));
  border-radius: 999px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
}

.article-body {
  padding: 54px 0 88px;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.05em 0.12em 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 4.2em;
  line-height: 0.78;
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-body h2 {
  margin: 2.25em 0 0.7em;
  font-size: clamp(30px, 5vw, 43px);
  line-height: 1.1;
}

.article-body h3 {
  margin: 1.8em 0 0.55em;
  font-size: 25px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25em;
  margin: 0 0 1.5em;
}

.article-body li {
  margin-bottom: 0.6em;
}

.factbox,
.disclosure,
.boundary {
  margin: 34px 0;
  padding: 24px 26px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
}

.disclosure {
  border-left-color: var(--muted);
  color: var(--ink-2);
  font-size: 15px;
}

.boundary {
  border-left-color: var(--danger);
}

.factbox strong:first-child,
.disclosure strong:first-child,
.boundary strong:first-child {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

blockquote {
  margin: 46px 0;
  padding-left: 25px;
  border-left: 1px solid var(--gold);
  color: var(--ink-2);
  font-family: var(--display);
  font-size: clamp(25px, 4vw, 34px);
  font-style: italic;
  line-height: 1.35;
}

.sources {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

.sources h2 {
  margin-top: 0;
  color: var(--ink);
  font-size: 28px;
}

.article-cta {
  margin-top: 54px;
  padding: 30px;
  border-radius: 10px;
  background: var(--surface-2);
  text-align: center;
}

.article-cta a {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #0b0a09;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #fffdf9;
    --surface: #f7f1e7;
    --surface-2: #efe6d7;
    --ink: #171511;
    --ink-2: #454039;
    --muted: #706960;
    --rule: #d8d0c4;
    --gold: #92702f;
    --gold-2: #73551f;
    --danger: #a43825;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .nav-inner {
    height: 60px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .article-header {
    padding: 64px 0 40px;
  }

  .article-body {
    padding-top: 42px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
