:root {
  color: #2b1b16;
  background: #f8f2e9;
  font-family: "Avenir Next", system-ui, sans-serif;
  font-synthesis: none;
  --accent: #7d3026;
  --accent-dark: #61231b;
  --muted: #5f4b42;
  --paper: #f8f2e9;
  --line: #d5c5b7;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font: 500 2rem/1.04 var(--serif); letter-spacing: -.035em; }
p { line-height: 1.65; }
.site-width { width: min(1272px, calc(100% - 112px)); margin-inline: auto; }
.reading-width { width: min(720px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px; transform: translateY(-150%); background: white; z-index: 2; }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.wordmark { font: 600 1.8rem/1 var(--serif); letter-spacing: -.06em; text-decoration: none; }
.header-inner nav { display: flex; gap: clamp(1.25rem, 3vw, 2.6rem); }
.header-inner nav a, .footer-inner > a:last-child { font-size: .95rem; text-decoration: none; }
.header-inner nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .94fr 1.06fr; margin-block: clamp(1.75rem, 4vw, 3.5rem); min-height: 460px; background: #efe2d3; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 4.7vw, 4.65rem); }
.eyebrow { font-size: .875rem; font-weight: 650; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--accent); }
.hero-copy .eyebrow { margin: 0 0 1.15rem; }
.hero h1 { font-size: clamp(3rem, 5.9vw, 6.2rem); letter-spacing: -.067em; }
.hero h1 em { color: var(--accent); font-weight: inherit; }
.hero-description { max-width: 33ch; margin: 1.4rem 0 1.7rem; font-size: 1.0625rem; color: var(--muted); }
.hero-photo { min-height: 100%; overflow: hidden; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 54% center; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: .75rem 1.25rem; background: var(--accent); color: #fffaf4; text-decoration: none; font-size: .95rem; font-weight: 650; }
.button:hover { background: var(--accent-dark); }
.guide-section { margin-bottom: 4.5rem; scroll-margin-top: 1.5rem; }
.guide-section h2 { margin-bottom: 1.25rem; font-size: clamp(2.35rem, 3.55vw, 3.55rem); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 2.6vw, 2.5rem); }
.guide-card a { display: block; text-decoration: none; }
.guide-card img { aspect-ratio: 1.6; object-fit: cover; margin-bottom: 1rem; background: #e4d6c8; }
.guide-card .eyebrow { display: block; margin-bottom: .4rem; }
.guide-card h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.guide-card a:hover h3 { text-decoration: underline; }
.guide-card p { margin: .55rem 0 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #eee2d5; }
.footer-inner { min-height: 100px; }
.article-header, .about-page { padding-block: 2.75rem 2rem; }
.article-header .eyebrow { margin: 1.7rem 0 .65rem; }
.article-header .eyebrow span { margin-inline: .35rem; color: var(--muted); }
.back-link, .article-jump-link a { color: var(--accent); font-weight: 650; }
.article-header h1, .about-page h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.article-intro { margin: 1rem 0 0; font-size: clamp(1.125rem, 2vw, 1.32rem); color: var(--muted); }
.article-jump-link { margin: .75rem 0 0; }
.article-photo { width: min(900px, calc(100% - 48px)); margin-inline: auto; background: #e4d6c8; }
.article-photo img { aspect-ratio: 16 / 8; object-fit: cover; }
.article-photo figcaption { padding: .5rem .75rem; color: var(--muted); font-size: .875rem; }
.article-copy { padding-block: 2.1rem 3.5rem; }
.article-copy section + section { margin-top: 2.6rem; }
.article-copy section[id] { scroll-margin-top: 1.5rem; }
.article-copy h2, .about-page h2 { font-size: clamp(1.85rem, 3vw, 2.45rem); }
.article-copy p, .about-page > p:not(.article-intro) { font-size: 1.0625rem; }
.counter-plan { margin-block: 1.25rem; }
.counter-plan-zones { display: grid; grid-template-columns: minmax(0, 14fr) minmax(0, 10fr); }
.counter-plan-zones > div { padding: .75rem; border: 1px solid var(--line); background: #efe2d3; }
.counter-plan-zones > div + div { border-left: 0; background: #fff9f2; }
.counter-plan-zones strong { display: block; margin-bottom: .25rem; }
.counter-plan figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
.gear-list { line-height: 1.65; }
.gear-list dt { font-weight: 700; }
.gear-list dd { margin: .2rem 0 1.1rem; }
.about-page { min-height: 62vh; padding-bottom: 4rem; }
.about-page h2 { margin-top: 2rem; }
.about-page .button { margin-top: .5rem; }
.error-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.more-guides { border-top: 1px solid var(--line); padding-top: 2rem; }
.table-scroll { overflow-x: auto; margin-block: 1.1rem; }
table { width: 100%; border-collapse: collapse; text-align: left; background: #fff9f2; }
th, td { padding: .72rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead, tfoot { background: #efe2d3; font-weight: 650; }

@media (max-width: 920px) {
  .site-width { width: calc(100% - 56px); }
  .hero { min-height: 400px; }
}

@media (max-width: 700px) {
  .site-width { width: calc(100% - 36px); }
  .header-inner, .footer-inner { min-height: 64px; }
  .wordmark { font-size: 1.55rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2rem 1.5rem 2.2rem; }
  .hero h1 { font-size: clamp(2.85rem, 11vw, 4.5rem); }
  .hero-photo img { aspect-ratio: 1.48; }
  .guide-grid { grid-template-columns: 1fr; gap: 2rem; }
  .guide-section { margin-bottom: 3rem; }
  .article-photo img { aspect-ratio: 1.45; }
  th, td { padding: .65rem .5rem; }
}
