:root {
  color-scheme: light;
  --coal: #1b1815;
  --coal-line: #4b3b31;
  --ink: #271d16;
  --cream: #efe2cc;
  --paper: #f3eadb;
  --paper-deep: #ebdcc6;
  --rust: #953d25;
  --orange: #e48661;
  --sand: #d1c0a9;
  --subtle: #665645;
  --rule: #c9b69f;
  --display: Rockwell, 'DejaVu Serif', Georgia, serif;
  --body: 'Noto Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.11; font-weight: 850; letter-spacing: -.038em; }
img { display: block; width: 100%; height: auto; }
.frame { width: min(100% - 4.5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 1rem; top: .8rem; transform: translateY(-180%); padding: .5rem .85rem; background: var(--cream); color: var(--coal); }
.skip:focus { transform: none; }
.site-head { background: var(--coal); color: var(--cream); border-top: 4px solid var(--orange); }
.masthead { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-block: 1.4rem 1.15rem; }
.masthead p { color: var(--sand); font-size: .9rem; }
.brand { display: inline-flex; flex-direction: column; width: fit-content; text-decoration: none; font: 900 clamp(1.7rem, 3.2vw, 2.45rem)/.97 var(--display); letter-spacing: -.035em; }
.brand span { display: block; margin-top: .35rem; color: var(--orange); font: 800 .85rem/1 var(--body); letter-spacing: .36em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem clamp(.8rem, 4vw, 3.25rem); border-top: 1px solid var(--coal-line); border-bottom: 1px solid var(--coal-line); padding-block: .65rem; }
.site-nav a { padding-block: .15rem; font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-nav .nav-archive { margin-left: auto; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--orange); }
.hero, .article-header { background: var(--coal); color: var(--cream); }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(1rem, 4vw, 4rem); padding-block: clamp(2.3rem, 4.5vw, 4rem) 2.6rem; }
.hero-copy { padding-left: 1.25rem; border-left: 3px solid var(--orange); }
.kicker { color: var(--rust); font-size: .875rem; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.hero .kicker, .article-header .kicker { color: var(--orange); }
.hero h1 { font-size: clamp(2.6rem, 4.15vw, 4.15rem); margin-block: .75rem 1rem; }
.lead { font-size: clamp(1.05rem, 1.55vw, 1.2rem); line-height: 1.58; }
.hero .lead, .article-header .lead { color: var(--sand); }
.hero .lead { max-width: 39ch; }
.cta, button { display: inline-block; border: 1px solid transparent; padding: .64rem 1.05rem; background: var(--orange); color: var(--coal); text-decoration: none; font: 800 1rem/1.35 var(--body); cursor: pointer; }
.cta { margin-top: 1.3rem; }
.cta:hover { background: var(--cream); }
.hero figure img { aspect-ratio: 1.45; object-fit: cover; object-position: center 47%; border: 1px solid #85705a; }
figcaption { margin-top: .4rem; color: var(--subtle); font-size: .79rem; line-height: 1.4; }
.hero figcaption { color: var(--sand); }
.editorial { padding-block: 2.6rem 3.35rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding-bottom: .75rem; border-bottom: 2px solid var(--ink); }
.section-head h2, .about h2 { font-size: clamp(1.9rem, 3.6vw, 2.95rem); }
.section-head a { color: var(--rust); font-weight: 750; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.65rem; margin-top: 1.45rem; }
.card { min-width: 0; border-bottom: 1px solid var(--rule); padding-bottom: 1.4rem; }
.card img { aspect-ratio: 1.95; object-fit: cover; object-position: center 49%; }
.card h3 { font-size: clamp(1.48rem, 2.35vw, 2.12rem); margin-block: .35rem .65rem; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--rust); text-decoration: underline; }
.card .kicker { margin-top: .95rem; }
.card .kicker span { color: var(--subtle); font-weight: 600; letter-spacing: normal; text-transform: none; }
.card p:last-child { max-width: 62ch; }
.about { display: grid; grid-template-columns: .7fr 1fr; gap: 1.25rem; padding-block: 1.55rem 3.5rem; }
.about p { max-width: 62ch; }
footer { background: var(--coal); color: var(--sand); padding-block: 2rem; }
.foot { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; align-items: center; font-size: .9rem; }
.foot .brand { color: var(--cream); font-size: 1.35rem; }
.foot .brand span { font-size: .7rem; }
.foot p { margin-right: auto; }
.article-header { padding-block: 1.55rem 3rem; }
.article-header .frame { max-width: 63rem; }
.breadcrumb { font-size: .88rem; color: var(--sand); margin-bottom: 1.55rem; }
.breadcrumb span, .byline span { margin-inline: .35rem; opacity: .8; }
.article-header h1 { font-size: clamp(2.65rem, 6vw, 5.2rem); max-width: 20ch; margin-block: .75rem 1rem; }
.article-header .lead { max-width: 65ch; }
.byline { color: var(--sand); font-weight: 630; font-size: .9rem; margin-top: 1.1rem; }
.article-figure { max-width: 63rem; margin-top: 1.8rem; }
.article-figure img { aspect-ratio: 2.12; object-fit: cover; object-position: center 52%; }
.article-grid { max-width: 63rem; display: grid; grid-template-columns: minmax(11rem, .72fr) minmax(0, 2.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-block: 2.5rem 1.5rem; }
.article-grid aside { align-self: stretch; }
.toc { position: sticky; top: 1.25rem; border-top: 2px solid var(--rust); padding-top: .8rem; }
.toc h2 { font-size: 1.15rem; }
.toc ol { margin: .55rem 0 0; padding-left: 1.2rem; }
.toc li + li { margin-top: .5rem; }
.toc a { font-size: .9rem; color: var(--subtle); }
.prose { font-size: clamp(1.05rem, 1.45vw, 1.2rem); line-height: 1.72; }
.prose > p:first-child { font-size: 1.14em; line-height: 1.56; }
.prose p + p { margin-top: .95rem; }
.prose h2 { margin: 2.1rem 0 .6rem; font-size: clamp(1.52rem, 3.15vw, 2.15rem); scroll-margin-top: 1rem; }
.prose ul, .prose ol { margin-block: .7rem 1rem; padding-left: 1.35rem; }
.prose li + li { margin-top: .6rem; }
.prose a { color: var(--rust); overflow-wrap: anywhere; }
.factbox { background: var(--paper-deep); border-left: 3px solid var(--rust); padding: .75rem 1.15rem .9rem; margin-block: 1.25rem; }
.factbox p { margin-top: .3rem; }
.sources { margin-top: 2.1rem; border-top: 1px solid var(--rule); font-size: .95rem; }
.sources h2 { font-size: 1.35rem; margin-top: 1.05rem; }
.related { max-width: 63rem; }
.archive-page { padding-block: 2.7rem 3.6rem; }
.archive-page h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); margin-bottom: .45rem; }
.filters { margin-top: 1.5rem; display: grid; grid-template-columns: 1.4fr 1fr auto auto; align-items: end; gap: .8rem; padding: 1rem; background: var(--paper-deep); }
.filters label { display: grid; gap: .25rem; font-weight: 750; }
.filters input, .filters select { min-width: 0; width: 100%; padding: .56rem .6rem; color: var(--ink); background: var(--paper); border: 1px solid #8e765d; border-radius: 0; font: 1rem/1.35 var(--body); }
.filters button { color: var(--cream); background: var(--coal); }
.filters button:hover { background: var(--rust); }
.filters a { padding: .5rem .2rem; color: var(--rust); }
.result { font-size: .94rem; font-weight: 650; color: var(--subtle); padding-top: .9rem; }
@media (max-width: 780px) {
  .frame { width: calc(100% - 2rem); }
  .masthead { align-items: start; flex-direction: column; padding-block: 1rem; gap: .6rem; }
  .masthead p { font-size: .87rem; }
  .site-nav { justify-content: start; gap: .3rem 1rem; }
  .site-nav .nav-archive { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.45rem; padding-block: 1.5rem 1.8rem; }
  .hero-copy { padding-left: .95rem; }
  .hero h1 { font-size: clamp(2.15rem, 8vw, 3.8rem); }
  .article-grid { grid-template-columns: 1fr; padding-top: 1.65rem; }
  .article-figure img { aspect-ratio: 1.55; }
  .toc { position: static; }
  .about { grid-template-columns: 1fr; gap: .7rem; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters a { padding-inline: .2rem; }
}
@media (max-width: 515px) {
  .card-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .filters { grid-template-columns: 1fr; }
  .filters button { justify-self: start; }
  .article-header { padding-bottom: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
