:root {
  --forest: #123f32;
  --forest-deep: #0b2a22;
  --gold: #c79a43;
  --gold-soft: #e9d39b;
  --paper: #f7f5ef;
  --white: #fffefa;
  --ink: #17201d;
  --muted: #65716c;
  --mist: #dfe9e4;
  --clay: #a65e45;
  --line: rgba(18, 63, 50, 0.2);
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

body.search-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
a:hover { color: var(--clay); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

button, input { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--white);
  padding: 0.7rem 1rem;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}
.masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding: 1.45rem 0 1.15rem;
  border-top: 1px solid var(--line);
}
.brand {
  color: var(--forest-deep);
  font-size: clamp(2.1rem, 6.5vw, 5.7rem);
  font-weight: 700;
  line-height: 0.95;
  text-decoration: none;
}
.brand span { color: var(--gold); }
.tagline { max-width: 24rem; margin: 0 0 0.25rem; color: var(--muted); font-size: 0.9rem; }
.nav-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.nav-row a {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.search-trigger {
  flex: 0 0 auto;
  margin-left: auto;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--forest);
  padding: 0.55rem 0 0.55rem 1.25rem;
  font-weight: 700;
}

.feature-band { background: var(--forest); color: var(--white); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 0.75fr);
  align-items: center;
  min-height: 37rem;
}
.feature-media { height: min(72vh, 42rem); margin-left: calc((100vw - min(calc(100vw - 3rem), var(--max))) / -2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: 4rem 0 4rem clamp(2.5rem, 5vw, 5rem); }
.eyebrow { color: var(--gold-soft); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.feature h1 { margin: 0.65rem 0 1.1rem; font-size: clamp(2.1rem, 4.8vw, 4.8rem); line-height: 1.02; }
.feature p { margin: 0 0 1.7rem; color: rgba(255, 255, 255, 0.78); }
.read-link { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--white); font-weight: 700; }
.read-link::after { content: ">"; color: var(--gold); }

.issue-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(4rem, 8vw, 8rem);
}
.issue-intro h2 { margin: 0; color: var(--forest); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.12; }
.issue-intro p { max-width: 46rem; margin: 0; font-size: 1.1rem; }

.story-stream { border-top: 1px solid var(--line); }
.story-row {
  display: grid;
  grid-template-columns: 4rem minmax(13rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.25rem, 4vw, 4.5rem);
  align-items: center;
  padding-block: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.story-row:nth-child(even) { grid-template-columns: 4rem minmax(0, 1.28fr) minmax(13rem, 0.72fr); }
.story-row:nth-child(even) .story-media { grid-column: 3; }
.story-row:nth-child(even) .story-copy { grid-column: 2; grid-row: 1; }
.story-number { align-self: start; color: var(--gold); font-size: 0.78rem; font-weight: 700; }
.story-media { aspect-ratio: 16 / 10; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.story-row:hover .story-media img { transform: scale(1.025); }
.story-copy h2 { margin: 0.4rem 0 0.8rem; color: var(--forest-deep); font-size: clamp(1.55rem, 3vw, 3.25rem); line-height: 1.08; }
.story-copy h2 a { text-decoration: none; }
.story-copy p { max-width: 38rem; margin: 0 0 1rem; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; }

.browse-band { margin-top: clamp(4rem, 9vw, 9rem); background: var(--mist); }
.browse {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4rem, 7vw, 7rem);
}
.browse h2 { margin: 0; color: var(--forest); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; }
.category-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.category-list li { border-bottom: 1px solid var(--line); }
.category-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-decoration: none; font-weight: 700; }
.category-list a::after { content: ">"; color: var(--clay); }

.site-footer { background: var(--forest-deep); color: var(--white); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
.footer-brand { margin: 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.footer-brand span { color: var(--gold); }
.footer-copy { max-width: 34rem; color: rgba(255,255,255,.72); }
.footer-links { columns: 2; margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 0.7rem; break-inside: avoid; }
.footer-links a { color: var(--white); }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.55); font-size: 0.75rem; }

.page-head { padding: clamp(4rem, 8vw, 8rem) 0 clamp(2.5rem, 5vw, 5rem); }
.page-head .eyebrow { color: var(--clay); }
.page-head h1 { max-width: 52rem; margin: 0.6rem 0 1rem; color: var(--forest-deep); font-size: clamp(2.35rem, 6vw, 5.8rem); line-height: 0.98; }
.page-head p { max-width: 43rem; color: var(--muted); font-size: 1.08rem; }

.article-hero { width: min(calc(100% - 3rem), 1440px); margin: 0 auto; }
.article-hero img { width: 100%; max-height: 50rem; aspect-ratio: 16 / 9; object-fit: cover; }
.article-shell {
  display: grid;
  grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  width: min(calc(100% - 3rem), 1020px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) 0;
}
.article-aside { color: var(--muted); font-size: 0.78rem; }
.article-aside strong { display: block; color: var(--forest); margin-bottom: 0.4rem; }
.article-aside p { margin: 0 0 1.5rem; }
.article-body { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.82; }
.article-body .lead { margin-top: 0; color: var(--forest); font-size: 1.35rem; line-height: 1.55; }
.article-body h2, .article-body h3, .article-body h4 { font-family: "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif; color: var(--forest-deep); }
.article-body h2 { margin: 3.4rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; }
.article-body h3 { margin: 2.4rem 0 0.8rem; font-size: 1.35rem; line-height: 1.25; }
.article-body h4 { margin: 1.8rem 0 0.6rem; font-size: 1rem; text-transform: uppercase; }
.article-body p { margin: 0 0 1.4rem; }
.article-body li { margin-bottom: 0.6rem; }
.article-body blockquote { margin: 2.5rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 4px solid var(--gold); color: var(--forest); font-size: 1.25rem; }
.article-body .note { margin: 2.5rem 0; padding: 1.5rem; background: var(--mist); font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 0.92rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 0.86rem; }
.article-body th, .article-body td { padding: 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.more-reading { background: var(--white); padding: 4rem 0; border-top: 1px solid var(--line); }
.more-reading h2 { color: var(--forest); }
.more-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.more-list a { display: block; padding-top: 1rem; border-top: 2px solid var(--gold); text-decoration: none; font-weight: 700; }

.category-page { padding-bottom: clamp(4rem, 8vw, 8rem); }
.category-feature { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; border-top: 1px solid var(--line); padding-top: 2rem; }
.category-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.category-feature h2 { margin: 0.5rem 0 1rem; color: var(--forest); font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.06; }
.category-feature h2 a { text-decoration: none; }
.editorial-note { max-width: 46rem; margin: 3rem 0 0 auto; padding-left: 2rem; border-left: 3px solid var(--gold); color: var(--muted); }

.search-panel { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(11, 42, 34, 0.96); color: var(--white); overflow-y: auto; }
.search-panel.is-open { display: block; }
.search-inner { width: min(calc(100% - 3rem), 850px); margin: 0 auto; padding: 5rem 0; }
.search-top { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.search-top h2 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); }
.search-close { border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); padding: 0.6rem 1rem; }
.search-form { display: flex; gap: 0.75rem; margin-top: 2.5rem; }
.search-form input { flex: 1; min-width: 0; border: 0; border-bottom: 2px solid var(--gold); background: transparent; color: var(--white); padding: 0.9rem 0; font-size: 1.1rem; }
.search-form button { border: 0; background: var(--gold); color: var(--forest-deep); padding: 0.8rem 1.2rem; font-weight: 700; }
.search-results { margin-top: 2rem; }
.search-result { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.search-result a { color: var(--white); font-size: 1.15rem; font-weight: 700; }
.search-result p { margin: 0.4rem 0 0; color: rgba(255,255,255,.65); font-size: 0.9rem; }
.search-status { color: var(--gold-soft); }

@media (max-width: 820px) {
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .header-note span:last-child, .tagline { display: none; }
  .masthead { grid-template-columns: 1fr; padding-block: 1rem; }
  .brand { font-size: clamp(1.6rem, 7.3vw, 2.8rem); white-space: nowrap; }
  .nav-row { gap: 1rem; }
  .search-trigger { margin-left: 0; }
  .feature { display: block; }
  .feature-media { height: 56vh; min-height: 23rem; margin-inline: -1rem; }
  .feature-copy { padding: 2.5rem 0 3.2rem; }
  .feature h1 { font-size: clamp(2.2rem, 11vw, 3.8rem); }
  .issue-intro, .browse, .footer-grid, .article-shell, .category-feature { grid-template-columns: 1fr; }
  .issue-intro { gap: 1.5rem; }
  .story-row, .story-row:nth-child(even) { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .story-row .story-media, .story-row:nth-child(even) .story-media { grid-column: 2; grid-row: 1; }
  .story-row .story-copy, .story-row:nth-child(even) .story-copy { grid-column: 2; grid-row: 2; }
  .story-number { grid-column: 1; grid-row: 1 / span 2; }
  .footer-links { columns: 1; }
  .page-head h1 { font-size: clamp(2.3rem, 12vw, 4.4rem); }
  .article-hero { width: 100%; }
  .article-hero img { aspect-ratio: 4 / 3; }
  .article-shell { width: min(calc(100% - 2rem), 720px); gap: 0.5rem; }
  .article-aside { display: flex; flex-wrap: wrap; gap: 1rem 2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
  .article-aside p { margin-bottom: 1rem; }
  .article-body { font-size: 1.04rem; }
  .more-list { grid-template-columns: 1fr; }
  .search-inner { width: min(calc(100% - 2rem), 850px); padding-top: 2rem; }
  .search-form { flex-direction: column; }
}

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