:root {
  --moss: #315b42;
  --moss-dark: #1e3b2b;
  --ivory: #f7f5ed;
  --paper: #fffefa;
  --wood: #7a5436;
  --ink: #26312d;
  --muted: #68716d;
  --mist: #dfe5e0;
  --line: #c8cfca;
  --white: #ffffff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lucida Sans", "Lucida Grande", Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--moss); }
button, input { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 94px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-size: 1.28rem; font-weight: 700; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--moss); color: var(--white); font-size: 1.15rem; font-weight: 700; }
.claim { margin: 0; color: var(--muted); font-size: .82rem; letter-spacing: 0; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 2rem; min-height: 58px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.main-nav a { flex: 0 0 auto; color: var(--ink); font-size: .84rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--moss); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px var(--moss); }
.site-search { position: relative; display: grid; grid-template-columns: auto minmax(240px, 360px); justify-content: end; align-items: center; gap: 1rem; min-height: 74px; border-bottom: 1px solid var(--line); }
.site-search label { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.search-line { display: grid; grid-template-columns: 1fr auto; }
.search-line input { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line); border-right: 0; border-radius: 2px 0 0 2px; background: var(--white); color: var(--ink); padding: 0 .8rem; }
.search-line button { height: 42px; border: 1px solid var(--moss); border-radius: 0 2px 2px 0; background: var(--moss); color: var(--white); padding: 0 1rem; font-weight: 700; }
.search-line button:hover { background: var(--moss-dark); }
.search-line input:focus, .search-line button:focus { outline: 3px solid #b9cbbf; outline-offset: 2px; }
.search-results { position: absolute; z-index: 20; right: 0; top: 66px; width: min(100%, 560px); max-height: 430px; overflow: auto; border: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 36px rgba(38,49,45,.16); }
.search-results > p { margin: 0; padding: 1rem; color: var(--muted); }
.search-result { display: grid; grid-template-columns: 92px 1fr; gap: .9rem; padding: .85rem; border-bottom: 1px solid var(--mist); text-decoration: none; }
.search-result:last-child { border-bottom: 0; }
.search-result img { width: 92px; height: 68px; object-fit: cover; }
.search-result strong { display: block; line-height: 1.35; }
.search-result small { color: var(--muted); }

main { overflow: hidden; }
.issue-head { width: min(var(--max), calc(100% - 48px)); margin: 4.8rem auto 3rem; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .7fr); align-items: end; gap: 4rem; }
.issue-head h1 { max-width: 900px; margin: .35rem 0 0; color: var(--moss-dark); font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1.02; font-weight: 700; letter-spacing: 0; }
.issue-head > p { margin: 0 0 .55rem; color: var(--muted); font-size: 1.05rem; }
.kicker { margin: 0; color: var(--wood); font-size: .78rem; font-weight: 700; text-transform: uppercase; }

.lead-story { width: min(var(--max), calc(100% - 48px)); margin: 0 auto 6.5rem; }
.featured-card { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); background: var(--ivory); }
.featured-card .card-image { min-height: 570px; }
.featured-card .card-image img { height: 100%; object-fit: cover; }
.featured-card .card-copy { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem; }
.featured-card h2, .featured-card h3 { margin: .8rem 0 1rem; font-size: clamp(1.8rem, 3vw, 3.15rem); line-height: 1.12; letter-spacing: 0; }
.featured-card h2 a, .featured-card h3 a { text-decoration: none; }
.category-label { color: var(--wood); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.card-copy > p { color: var(--muted); line-height: 1.65; }
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.2rem; color: var(--muted); font-size: .76rem; }

.latest { padding: 5.8rem max(24px, calc((100% - var(--max)) / 2)); background: var(--moss-dark); color: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading > p { margin: 0 0 .4rem; color: #b9cbbf; font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: 2.15rem; line-height: 1.15; letter-spacing: 0; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
.article-card { min-width: 0; }
.latest .article-card { border-top: 1px solid #557060; padding-top: 1.1rem; }
.article-card .card-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.article-card .card-image img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card .card-image:hover img { transform: scale(1.015); }
.article-card .card-copy { padding-top: 1.2rem; }
.article-card h3 { margin: .65rem 0 .8rem; font-size: 1.48rem; line-height: 1.24; letter-spacing: 0; }
.article-card h3 a { text-decoration: none; }
.latest .article-card .card-copy > p, .latest .card-meta { color: #cbd5cf; }
.latest .category-label { color: #dfc4ac; }

.method-band { width: min(var(--max), calc(100% - 48px)); margin: 6.5rem auto; display: grid; grid-template-columns: .9fr 1.5fr; gap: 5rem; align-items: start; }
.method-band h2 { margin: .5rem 0; color: var(--moss-dark); font-size: 2.5rem; line-height: 1.17; letter-spacing: 0; }
.method-band ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-band li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.method-band li span { color: var(--wood); font-size: .8rem; font-weight: 700; }
.category-directory { padding: 5.5rem max(24px, calc((100% - var(--max)) / 2)); background: var(--mist); }
.category-directory .section-heading > p { color: var(--wood); }
.category-links { border-top: 1px solid #aeb8b1; }
.category-links a { display: grid; grid-template-columns: minmax(230px, .7fr) 1fr; gap: 2rem; padding: 1.45rem 0; border-bottom: 1px solid #aeb8b1; text-decoration: none; }
.category-links span { font-size: 1.35rem; font-weight: 700; }
.category-links small { color: var(--muted); font-size: .94rem; }

.article-head { width: min(var(--max), calc(100% - 48px)); margin: 4.5rem auto 0; }
.article-head-copy { width: min(900px, 100%); margin-bottom: 2.7rem; }
.article-head h1 { margin: .7rem 0 1.2rem; color: var(--moss-dark); font-size: clamp(2.45rem, 5vw, 4.8rem); line-height: 1.05; letter-spacing: 0; }
.article-head-copy > p { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.byline { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: .78rem; color: var(--muted); }
.article-head figure { margin: 0; }
.article-head figure img { max-height: 760px; object-fit: cover; }
.article-head figcaption { padding-top: .55rem; color: var(--muted); font-size: .74rem; }
.article-layout { width: min(1080px, calc(100% - 48px)); margin: 4.5rem auto 6rem; display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: space-between; gap: 5rem; align-items: start; }
.article-aside { position: sticky; top: 1rem; padding-top: 1rem; border-top: 3px solid var(--moss); }
.article-aside > p { margin: 0 0 .9rem; color: var(--wood); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.article-aside nav { display: grid; gap: .75rem; }
.article-aside a { color: var(--muted); font-size: .82rem; line-height: 1.4; text-decoration: none; }
.article-aside a:hover { color: var(--moss); }
.article-body { min-width: 0; font-size: 1.05rem; line-height: 1.82; }
.article-body .lead { margin-top: 0; color: var(--ink); font-size: 1.2rem; line-height: 1.72; }
.article-body h2 { margin: 3.5rem 0 1.1rem; color: var(--moss-dark); font-size: 2rem; line-height: 1.2; letter-spacing: 0; scroll-margin-top: 1rem; }
.article-body h3 { margin: 2.5rem 0 .8rem; color: var(--wood); font-size: 1.35rem; line-height: 1.3; letter-spacing: 0; }
.article-body p { margin: 0 0 1.35rem; }
.article-body ul { margin: 1.2rem 0 1.8rem; padding-left: 1.2rem; }
.article-body li { margin-bottom: .55rem; padding-left: .35rem; }
.table-wrap { margin: 2rem 0; overflow-x: auto; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .88rem; }
th, td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--mist); color: var(--moss-dark); }
.related { padding: 5.5rem max(24px, calc((100% - var(--max)) / 2)); background: var(--ivory); }
.related .section-heading > p { color: var(--wood); }
.article-grid.compact .article-card { display: grid; grid-template-columns: 42% 1fr; gap: 1.4rem; align-items: start; }
.article-grid.compact .card-image { aspect-ratio: 1 / 1; }
.article-grid.compact .card-copy { padding-top: 0; }

.category-head { width: min(var(--max), calc(100% - 48px)); margin: 4.8rem auto 3.5rem; display: grid; grid-template-columns: 1fr minmax(260px, .55fr); gap: .4rem 5rem; align-items: end; }
.category-head .kicker, .category-head h1 { grid-column: 1; }
.category-head h1 { margin: .4rem 0 0; color: var(--moss-dark); font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: 1.02; letter-spacing: 0; }
.category-head > p:not(.kicker) { margin: 0; color: var(--muted); }
.category-head > span { grid-column: 2; color: var(--wood); font-size: .78rem; }
.category-list { width: min(var(--max), calc(100% - 48px)); margin: 0 auto 6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 2rem; }
.category-list .featured-card { grid-column: 1 / -1; }
.category-note { padding: 4.5rem max(24px, calc((100% - var(--max)) / 2)); background: var(--moss); color: var(--white); display: grid; grid-template-columns: 180px 1fr auto; gap: 2rem; align-items: center; }
.category-note > p { color: #d6e1da; font-size: .76rem; text-transform: uppercase; }
.category-note h2 { margin: 0; max-width: 760px; font-size: 1.9rem; line-height: 1.25; letter-spacing: 0; }
.category-note a { font-size: .84rem; font-weight: 700; }

.site-footer { padding: 3.2rem max(24px, calc((100% - var(--max)) / 2)); background: var(--ink); color: var(--white); display: flex; justify-content: space-between; gap: 3rem; }
.site-footer strong { font-size: 1.1rem; }
.site-footer p { margin: .3rem 0 0; color: #bdc7c1; font-size: .82rem; }
.site-footer nav { display: flex; align-items: center; gap: 1.4rem; font-size: .8rem; }

@media (max-width: 900px) {
  .issue-head, .featured-card, .method-band, .category-head { grid-template-columns: 1fr; }
  .issue-head { gap: 1.5rem; }
  .featured-card .card-image { min-height: 0; aspect-ratio: 3 / 2; }
  .featured-card .card-copy { padding: 2rem; }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-aside { position: static; }
  .article-aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-head > span { grid-column: 1; }
  .category-note { grid-template-columns: 1fr; gap: .6rem; }
  .category-note > p { margin: 0; }
}

@media (max-width: 680px) {
  .site-header, .issue-head, .lead-story, .method-band, .article-head, .article-layout, .category-head, .category-list { width: min(100% - 32px, var(--max)); }
  .masthead { min-height: 76px; }
  .claim { display: none; }
  .main-nav { gap: 1.25rem; min-height: 52px; }
  .site-search { grid-template-columns: 1fr; gap: .3rem; padding: .65rem 0 .8rem; }
  .site-search label { font-size: .72rem; }
  .search-results { top: 76px; width: 100%; }
  .issue-head { margin-top: 3.2rem; }
  .issue-head h1 { font-size: 2.55rem; }
  .lead-story { margin-bottom: 4rem; }
  .article-grid, .category-list { grid-template-columns: 1fr; }
  .latest, .category-directory, .related { padding-top: 4rem; padding-bottom: 4rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-bottom: .35rem; }
  .method-band { margin: 4rem auto; gap: 1.5rem; }
  .category-links a { grid-template-columns: 1fr; gap: .3rem; }
  .article-head { margin-top: 3rem; }
  .article-head h1 { font-size: 2.55rem; }
  .article-layout { margin-top: 3rem; }
  .article-aside nav { grid-template-columns: 1fr; }
  .article-body { font-size: 1rem; }
  .article-body .lead { font-size: 1.1rem; }
  .article-body h2 { font-size: 1.65rem; }
  .article-grid.compact .article-card { grid-template-columns: 1fr; }
  .article-grid.compact .card-image { aspect-ratio: 3 / 2; }
  .site-footer { display: block; }
  .site-footer nav { margin-top: 1.5rem; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-card .card-image img { transition: none; }
}
