/* Server-rendered article document. Standalone: this page ships no app bundle,
   so it owns its own typography and never depends on the reader's stylesheet. */

:root {
  color-scheme: light;
  --paper: #f4ead8;
  --paper-soft: #faf3e6;
  --ink: #18110d;
  --muted: #5d4a3a;
  --rule: rgba(47, 33, 23, .18);
  --espresso: #2f2117;
  --lime: #8bdc3f;
  --lime-ink: #1d310f;
  --serif: "Iowan Old Style", "Charter", "Hoefler Text", Georgia, serif;
  --sans: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 154, 43, .20), transparent 45%),
    radial-gradient(circle at 88% 8%, rgba(8, 106, 102, .13), transparent 42%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.article-nav {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  width: min(100% - 32px, 46rem);
  margin: 0 auto;
  padding: 22px 0 0;
}

.article-nav .brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}

.article-nav .brand span { color: #b4622a; }

.article-nav > a:last-child {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.article-nav > a:last-child:hover { text-decoration: underline; }

.article-shell {
  width: min(100% - 32px, 46rem);
  margin: 0 auto;
  padding: 34px 0 64px;
}

.kicker {
  margin: 0 0 10px;
  color: #0b6b5f;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.article-shell h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .88rem;
}

.meta-dot { opacity: .5; }

.article-figure {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--espresso);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dek {
  margin: 0 0 26px;
  font-size: 1.14rem;
  line-height: 1.65;
}

.article-audio { width: 100%; margin: 0 0 22px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { filter: brightness(1.05); }

.button--ghost {
  border-color: var(--rule);
  background: transparent;
  color: var(--ink);
}

.button[hidden] { display: none; }

.disclosure {
  margin: 0 0 36px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.related h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.related ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.related a {
  display: grid;
  gap: 3px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .42);
  text-decoration: none;
}

.related a:hover { border-color: rgba(47, 33, 23, .34); }

.related-source {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-footer {
  width: min(100% - 32px, 46rem);
  margin: 0 auto;
  padding: 20px 0 48px;
  border-top: 1px solid var(--rule);
}

.article-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

.article-footer a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.article-footer a:hover { text-decoration: underline; }
