@font-face {
  font-family: "Archivo";
  src: url("/blog/assets/fonts/archivo-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/blog/assets/fonts/archivo-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/blog/assets/fonts/archivo-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/blog/assets/fonts/instrument-serif-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/blog/assets/fonts/instrument-serif-400-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #e8e2d8;
  --paper: #faf8f4;
  --card: #ffffff;
  --sand: #f4f1ea;
  --line: #e8e2d8;
  --ink: #1b1a18;
  --body: #57524a;
  --muted: #8b857b;
  --accent: #a8451f;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  width: min(1120px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 500; }
.site-nav > a:not(.nav-cta) { color: var(--body); }
.site-nav > a[aria-current="page"] { color: var(--ink); }
.nav-cta, .button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 5px; padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 500; }

.blog-hero {
  width: min(1120px, calc(100% - 48px));
  min-height: 340px;
  margin: 0 auto;
  padding: 92px 0 70px;
  border-bottom: 1px solid var(--line);
}

.kicker { margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.blog-hero h1, .article-hero h1, .not-found h1 { max-width: 840px; margin: 0; font-family: var(--serif); font-size: clamp(52px, 7vw, 96px); font-weight: 400; letter-spacing: -.055em; line-height: .95; }
.blog-hero h1 em { color: var(--accent); font-weight: 400; }
.blog-hero > p:last-child { max-width: 540px; margin: 30px 0 0; color: var(--body); font-size: 18px; }

.story-feed { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 108px; }
.story-card { display: grid; grid-template-columns: 44% 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.story-card-featured { min-height: 420px; grid-template-columns: 56% 1fr; }
.story-image-link { min-height: 100%; overflow: hidden; }
.story-image { height: 100%; min-height: 280px; }
.story-card-copy { display: flex; min-width: 0; flex-direction: column; padding: 34px; }
.story-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(35px, 4vw, 52px); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.story-card:not(.story-card-featured) h2 { font-size: 32px; }
.story-card-copy > p:not(.kicker) { margin: 22px 0; color: var(--body); }
.story-meta { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.story-meta span { max-width: 320px; }
.story-meta a { flex: none; color: var(--ink); font-weight: 600; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.story-grid .story-card { display: flex; flex-direction: column; }
.story-grid .story-image-link { aspect-ratio: 3 / 2; min-height: 0; }
.story-grid .story-image { min-height: 0; height: 100%; }

.empty-archive { width: min(760px, calc(100% - 48px)); margin: 100px auto; padding: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.empty-archive h2 { margin: 0; font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; }

.article-page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.article-hero { padding: 54px 0 0; }
.article-intro { max-width: 930px; padding-bottom: 42px; }
.article-back { display: inline-block; margin-bottom: 42px; color: var(--body); font-size: 12px; font-weight: 500; }
.article-back:hover { color: var(--accent); }
.article-hero h1 { max-width: 930px; font-size: clamp(58px, 7.5vw, 94px); }
.article-intro .lede { max-width: 770px; margin: 28px 0 28px; color: var(--body); font-family: var(--serif); font-size: clamp(23px, 2.4vw, 30px); line-height: 1.28; }
.meta { color: var(--muted); font-size: 11px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 0; color: var(--muted); font-size: 11px; }
.article-byline span { display: inline-flex; align-items: center; }
.article-byline span + span::before { content: "·"; margin: 0 10px; color: var(--line); }
.article-hero-image { width: 100%; aspect-ratio: 16 / 8.6; border-radius: 7px; object-position: center; }
.article-overview { margin: 24px 0 72px; }
.content-block { position: relative; margin: 0; padding: 54px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 28px; }
.content-block h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 52px); font-weight: 400; letter-spacing: -.035em; line-height: 1.03; }
.block-share { display: inline-flex; margin: 28px 0 0; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.block-share:hover { border-color: var(--muted); color: var(--ink); }

.article-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 86px; justify-content: center; align-items: start; }
.article-rail { position: sticky; top: 28px; padding-top: 8px; }
.article-rail .kicker { margin-bottom: 14px; }
.article-toc ol { margin: 0; padding: 0; list-style: none; }
.article-toc li { border-top: 1px solid var(--line); }
.article-toc li:last-child { border-bottom: 1px solid var(--line); }
.article-toc a { display: grid; grid-template-columns: 25px 1fr; gap: 7px; padding: 10px 0; color: var(--body); font-size: 11px; line-height: 1.35; }
.article-toc a span { color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.article-toc a:hover { color: var(--accent); }
.rail-sources { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.article-toc-mobile { display: none; }
.article-flow { min-width: 0; }
.article-flow > .content-block:first-child { padding-top: 0; }

.recommendation-block { display: block; }
.recommendation-image { aspect-ratio: 4 / 3; border-radius: 6px; }
.recommendation-copy .kicker { margin-bottom: 14px; }
.recommendation-copy .lede { margin: 24px 0 0; color: var(--body); font-family: var(--serif); font-size: 23px; line-height: 1.42; }
.why { margin: 24px 0 0; padding: 20px 0 0 22px; border-top: 1px solid var(--line); border-left: 2px solid var(--accent); color: var(--body); font-size: 17px; line-height: 1.7; }
.recommendation-copy > .meta { margin: 22px 0 0; }
.alternative span { display: block; margin-bottom: 5px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }

.facts-block { display: grid; grid-template-columns: 190px 1fr; gap: 42px; padding: 30px 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--sand); }
.facts-block h2 { font-size: 34px; }
.facts-block .kicker { margin-bottom: 10px; }
.facts-block dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin: 0; }
.facts-block dl div { min-width: 0; padding: 5px 0 12px; border-bottom: 1px solid var(--line); }
.facts-block dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.facts-block dd { margin: 5px 0 0; color: var(--ink); font-size: 14px; line-height: 1.4; }
.facts-block .block-share { display: none; }

.narrative-block { display: block; }
.narrative-copy p { margin: 22px 0 0; color: var(--body); font-size: 18px; line-height: 1.78; }
.narrative-image { aspect-ratio: 4 / 3; border-radius: 6px; }

.quote-block { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-block blockquote { margin: 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 72px); letter-spacing: -.035em; line-height: 1.02; }
.quote-block figcaption { margin-top: 28px; color: var(--muted); font-size: 11px; }

.skip-block { display: block; }
.skip-block ul { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: skip; }
.skip-block li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--body); }
.skip-block li::before { counter-increment: skip; content: "0" counter(skip); color: var(--accent); font-size: 10px; font-weight: 600; }
.skip-block .alternative { margin: 28px 0 0; color: var(--body); }

.faq-block { max-width: none; margin: 0; }
.faq-block details { padding: 21px 0; border-bottom: 1px solid var(--line); }
.faq-block summary { cursor: pointer; font-family: var(--serif); font-size: 24px; list-style-position: outside; }
.faq-block details p { margin: 15px 0 0; color: var(--body); }

.article-sources { max-width: none; margin: 0; padding: 54px 0 96px; scroll-margin-top: 28px; }
.article-sources h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 52px); font-weight: 400; letter-spacing: -.035em; line-height: 1.03; }
.article-sources > p { margin: 24px 0; color: var(--body); }
.article-sources ul { margin: 0; padding: 0; list-style: none; }
.article-sources li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--body); font-size: 14px; }
.article-sources a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }

.related-guides { padding: 54px 0 96px; border-top: 1px solid var(--line); }
.related-guides h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 52px); font-weight: 400; letter-spacing: -.035em; line-height: 1.03; }
.related-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.related-guide { min-width: 0; }
.related-guide-image { aspect-ratio: 4 / 3; border-radius: 5px; }
.related-guide span { display: block; margin-top: 12px; color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.related-guide strong { display: block; margin-top: 5px; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.08; }
.related-guide:hover strong { color: var(--accent); }

.cta-block { margin: 72px 0; padding: 52px; border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-block h2 { max-width: 620px; }
.cta-block p { color: var(--ground); }
.button-light { border-color: var(--paper); background: var(--paper); color: var(--ink); }

.shared-page { min-height: 68vh; padding: 80px 24px; background: var(--ground); }
.shared-label { width: min(840px, 100%); margin: 0 auto 14px; display: flex; justify-content: space-between; color: var(--body); font-size: 11px; }
.shared-label a { font-weight: 600; }
.shared-card { width: min(840px, 100%); margin: 0 auto; padding: 0 44px; background: var(--paper); border: 1px solid rgba(27, 26, 24, .12); border-radius: 6px; }
.shared-card .content-block { border: 0; }
.shared-card .block-share { display: none; }

.blog-footer { min-height: 290px; padding: 70px max(24px, calc((100% - 1120px) / 2)); background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.blog-footer p { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(38px, 6vw, 70px); letter-spacing: -.045em; line-height: 1; }
.blog-footer p em { color: var(--accent); font-weight: 400; }
.blog-footer small { display: block; max-width: 620px; margin-top: 20px; color: var(--ground); font-size: 11px; }
.not-found { min-height: 75vh; display: grid; place-content: center; gap: 24px; width: min(760px, calc(100% - 48px)); margin: 0 auto; }

@media (max-width: 820px) {
  .site-header { min-height: 70px; }
  .site-nav > a:not(.nav-cta) { display: none; }
  .blog-hero { padding: 72px 0 52px; }
  .story-card, .story-card-featured { display: flex; flex-direction: column; }
  .story-card-featured .story-image-link { aspect-ratio: 16 / 9; min-height: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .article-layout { display: block; }
  .article-rail { display: none; }
  .article-overview { margin-bottom: 18px; }
  .article-toc-mobile { display: block; margin: 0 0 46px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .article-toc-mobile summary { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; cursor: pointer; font-size: 12px; font-weight: 600; list-style: none; }
  .article-toc-mobile summary::-webkit-details-marker { display: none; }
  .article-toc-mobile summary::after { content: "+"; margin-left: auto; color: var(--accent); }
  .article-toc-mobile[open] summary::after { content: "−"; }
  .article-toc-mobile summary span { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 400; }
  .article-toc-mobile .article-toc { padding: 0 0 18px; }
  .facts-block { grid-template-columns: 1fr; gap: 22px; }
  .facts-block dl { grid-template-columns: repeat(2, 1fr); }
  .related-guide-grid { grid-template-columns: 1fr 1fr; }
  .article-hero-image { aspect-ratio: 16 / 10; }
  .skip-block .alternative { grid-column: auto; }
  .cta-block, .blog-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header, .blog-hero, .story-feed, .article-page { width: calc(100% - 36px); }
  .wordmark { font-size: 27px; }
  .nav-cta { min-height: 38px; padding: 8px 12px; font-size: 10px; }
  .blog-hero { min-height: 0; padding: 55px 0 42px; }
  .blog-hero h1, .article-hero h1 { font-size: 51px; }
  .story-feed { padding: 18px 0 72px; }
  .story-card-copy { padding: 24px; }
  .story-card h2, .story-card:not(.story-card-featured) h2 { font-size: 36px; }
  .story-meta { align-items: flex-start; flex-direction: column; gap: 16px; }
  .article-hero { padding: 48px 0 38px; }
  .article-back { margin-bottom: 34px; }
  .article-intro .lede { font-size: 22px; }
  .article-byline { flex-direction: column; gap: 5px; }
  .article-byline span + span::before { display: none; }
  .article-hero-image { aspect-ratio: 3 / 2; }
  .article-overview { margin-top: -14px; }
  .content-block { padding: 50px 0; }
  .content-block h2 { font-size: 43px; }
  .block-share { margin-top: 24px; }
  .facts-block { padding: 25px 22px; }
  .facts-block h2 { font-size: 34px; }
  .facts-block dl { grid-template-columns: 1fr; }
  .related-guide-grid { grid-template-columns: 1fr; }
  .quote-block blockquote { font-size: 42px; }
  .cta-block { margin: 42px 0; padding: 34px 26px; }
  .cta-block .button { position: sticky; bottom: 12px; width: 100%; }
  .shared-page { padding: 32px 14px; }
  .shared-label { flex-direction: column; gap: 4px; }
  .shared-card { padding: 0 22px; }
  .blog-footer { padding: 58px 18px; }
}
