:root {
  --paper: #f4f0e7;
  --paper-deep: #e8e1d3;
  --cream: #fffaf0;
  --ink: #173e34;
  --ink-dark: #102d27;
  --muted: #6e756d;
  --line: rgba(23, 62, 52, 0.2);
  --rust: #b85e41;
  --rust-dark: #8f402b;
  --sage: #b8c6ad;
  --white: #fffdf8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-dark);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rust-dark); }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink-dark); color: white; }
.skip-link:focus { top: 16px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(244, 240, 231, 0.96); }
.utility { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.header-main { min-height: 92px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand:hover { color: var(--ink-dark); }
.brand img { width: 52px; height: 52px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(23, 62, 52, 0.13); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.025em; }
.brand small { margin-top: 6px; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { justify-self: end; display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.site-nav a { position: relative; text-decoration: none; font-size: 0.86rem; font-weight: 650; letter-spacing: 0.025em; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--rust); transition: right 160ms ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { right: 0; }
.menu-button { display: none; justify-self: end; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; color: var(--ink); background: transparent; cursor: pointer; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr); gap: clamp(56px, 9vw, 120px); align-items: center; padding-block: clamp(70px, 10vw, 132px); }
.eyebrow, .kicker, .category { margin: 0 0 14px; color: var(--rust-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(3.3rem, 7vw, 6.4rem); font-weight: 500; letter-spacing: -0.065em; line-height: 0.92; }
.hero-lede { max-width: 680px; margin: 30px 0 0; color: #43544c; font-family: var(--serif); font-size: clamp(1.18rem, 2vw, 1.48rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 2px; font-size: 0.82rem; font-weight: 750; letter-spacing: 0.04em; text-decoration: none; }
.button-primary { color: var(--cream); background: var(--ink); }
.button-primary:hover { color: white; background: var(--rust-dark); border-color: var(--rust-dark); }
.button-outline { background: transparent; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 0.83rem; font-weight: 750; letter-spacing: 0.03em; text-decoration: none; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }

.cover { position: relative; aspect-ratio: 0.77; min-height: 510px; padding: 27px; overflow: hidden; color: var(--cream); background: var(--ink); box-shadow: 22px 24px 0 var(--paper-deep); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.cover:hover { color: var(--cream); transform: translate(-3px, -3px); box-shadow: 27px 29px 0 var(--paper-deep); }
.cover-top, .cover-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cover-bottom { position: absolute; left: 27px; right: 27px; bottom: 27px; align-items: end; }
.cover-bottom strong { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 0.94; text-transform: none; }
.cover-art { position: absolute; inset: 18% 12% 25%; }
.cover-art i { position: absolute; display: block; border: 2px solid rgba(255, 250, 240, 0.74); border-radius: 50%; }
.cover-art i:nth-child(1) { width: 82%; aspect-ratio: 1; top: 0; left: 9%; }
.cover-art i:nth-child(2) { width: 58%; aspect-ratio: 1; top: 13%; left: 21%; }
.cover-art i:nth-child(3) { width: 34%; aspect-ratio: 1; top: 26%; left: 33%; background: var(--rust); border: 0; }
.cover-art i:nth-child(4) { width: 1px; height: 118%; top: -9%; left: 50%; border: 0; border-radius: 0; background: rgba(255, 250, 240, 0.72); transform: rotate(32deg); }

.section { padding-block: clamp(68px, 9vw, 110px); }
.section-label { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.lead-grid { display: grid; grid-template-columns: 100px minmax(0, 1.5fr) minmax(230px, 0.55fr); gap: clamp(28px, 5vw, 70px); padding-top: 34px; }
.story-index { color: var(--rust); font-family: var(--serif); font-size: 5.5rem; line-height: 0.8; }
.lead-grid h2, .section-heading h2, .editorial-grid h2, .rss-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.04; }
.lead-grid h2 a, .story-card h3 a, .archive-item h2 a { text-decoration: none; }
.standfirst { max-width: 690px; margin: 24px 0; color: #4e5d56; font-family: var(--serif); font-size: 1.22rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 26px; color: var(--muted); font-size: 0.77rem; }
.margin-note { align-self: start; padding: 24px 0 0 24px; border-left: 3px solid var(--rust); }
.margin-note p:last-child { margin: 0; font-family: var(--serif); font-size: 1.02rem; }
.stories-section { background: var(--ink); color: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.stories-section .eyebrow, .stories-section .category { color: #e9a58e; }
.stories-section .text-link { color: var(--cream); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.22); border-bottom: 1px solid rgba(255,255,255,0.22); }
.story-card { min-height: 410px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border-right: 1px solid rgba(255,255,255,0.22); }
.story-card:first-child { border-left: 1px solid rgba(255,255,255,0.22); }
.story-card-rust { background: rgba(184,94,65,0.18); }
.story-card-green { background: rgba(184,198,173,0.08); }
.story-card-ink { background: rgba(0,0,0,0.08); }
.card-number { margin: 0; color: rgba(255,255,255,0.52); font-family: var(--serif); font-size: 2.1rem; }
.story-card h3 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.65rem, 2.5vw, 2.25rem); font-weight: 500; line-height: 1.06; }
.story-card h3 a:hover { color: #f0a68d; }
.story-card p:not(.category):not(.card-number):not(.story-meta) { color: rgba(255,250,240,0.74); }
.story-card .story-meta { justify-content: space-between; margin: 22px 0 0; color: rgba(255,250,240,0.58); }
.mobile-link { display: none; margin-top: 28px; }
.editorial-strip { border-bottom: 1px solid var(--line); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr); gap: 44px 9vw; }
.editorial-grid > div:nth-child(2) p { max-width: 560px; margin: 4px 0 22px; color: #506158; }
.issue-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.issue-facts span { display: flex; align-items: baseline; gap: 12px; padding: 22px 0; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.issue-facts span + span { padding-left: 30px; border-left: 1px solid var(--line); }
.issue-facts strong { color: var(--ink); font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.rss-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr) auto; gap: 30px 6vw; align-items: center; }
.rss-panel p { color: #506158; }

.page-hero { padding-block: clamp(65px, 9vw, 110px); border-bottom: 1px solid var(--line); }
.page-hero-narrow { max-width: 880px; margin-inline: auto; text-align: center; }
.page-hero h1 { max-width: 960px; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.2rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.95; }
.page-hero-narrow h1 { margin-inline: auto; }
.page-intro { max-width: 760px; margin: 28px 0 0; color: #4b5c54; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.page-hero-narrow .page-intro { margin-inline: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 0.76rem; }
.breadcrumbs a { text-decoration: none; }

.issue-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 8vw, 100px); }
.issue-sidebar { position: sticky; top: 30px; align-self: start; }
.issue-sidebar .mini-cover { aspect-ratio: 0.77; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: var(--cream); background: var(--ink); box-shadow: 12px 14px 0 var(--paper-deep); }
.mini-cover span { font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; }
.mini-cover strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1; }
.issue-sidebar dl { margin: 32px 0 0; }
.issue-sidebar dt { margin-top: 18px; color: var(--muted); font-size: 0.68rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.issue-sidebar dd { margin: 4px 0 0; font-family: var(--serif); }
.issue-list { border-top: 1px solid var(--line); }
.issue-item { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 26px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.issue-item > span { color: var(--rust); font-family: var(--serif); font-size: 2rem; }
.issue-item h2 { margin: 2px 0 10px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.55rem); font-weight: 500; line-height: 1.08; }
.issue-item h2 a { text-decoration: none; }
.issue-item p { max-width: 700px; margin: 0; color: #58665f; }
.issue-item .reading-time { color: var(--muted); font-size: 0.72rem; white-space: nowrap; }

.article-header { padding: clamp(55px, 8vw, 95px) 0 48px; border-bottom: 1px solid var(--line); }
.article-header-inner { max-width: 940px; }
.article-header h1 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 500; letter-spacing: -0.065em; line-height: 0.94; }
.article-deck { max-width: 800px; margin: 28px 0; color: #4b5b54; font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 0.78rem; }
.article-byline strong { color: var(--ink); }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 700px) 1fr; gap: 50px; padding-block: clamp(55px, 8vw, 95px); }
.article-aside { align-self: start; position: sticky; top: 24px; color: var(--muted); font-size: 0.73rem; }
.article-aside p { margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.article-body { font-family: var(--serif); font-size: clamp(1.08rem, 1.7vw, 1.23rem); line-height: 1.78; }
.article-body > p:first-child::first-letter { float: left; margin: 0.08em 0.08em 0 0; color: var(--rust); font-size: 4.4em; line-height: 0.75; }
.article-body h2 { margin: 2.1em 0 0.65em; font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; }
.article-body blockquote { margin: 2.2em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 4px solid var(--rust); color: var(--ink); font-size: 1.35em; line-height: 1.38; }
.article-body .article-note { margin: 2.2em 0; padding: 22px 24px; background: var(--paper-deep); font-family: var(--sans); font-size: 0.87rem; line-height: 1.65; }
.article-rail { align-self: end; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; }
.article-rail strong { display: block; margin-bottom: 8px; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.next-story { border-top: 1px solid var(--line); }
.next-story a { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding-block: 40px; text-decoration: none; }
.next-story span { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; }
.next-story strong { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2.2rem); font-weight: 500; }

.archive-list { max-width: 930px; }
.archive-year { display: grid; grid-template-columns: 130px 1fr; gap: 35px; padding: 26px 0 70px; border-top: 1px solid var(--line); }
.archive-year > h2 { margin: 0; color: var(--rust); font-family: var(--serif); font-size: 2.4rem; font-weight: 500; }
.archive-item { padding: 0 0 28px; }
.archive-item + .archive-item { padding-top: 28px; border-top: 1px solid var(--line); }
.archive-item p { margin: 0 0 8px; color: var(--muted); font-size: 0.76rem; }
.archive-item h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.archive-item .archive-summary { color: #53635b; font-size: 0.96rem; }
.prose-page { max-width: 780px; }
.prose-page section { padding: 34px 0; border-top: 1px solid var(--line); }
.prose-page h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.prose-page p, .prose-page li { color: #465950; }
.prose-page ul { padding-left: 1.2em; }

.site-footer { padding-block: 48px; color: rgba(255,250,240,0.78); background: var(--ink-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 50px; align-items: center; }
.brand-footer img { width: 44px; height: 44px; }
.brand-footer strong { color: var(--cream); font-size: 1.25rem; }
.brand-footer small { color: rgba(255,250,240,0.55); }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-grid nav a { font-size: 0.78rem; text-decoration: none; }
.footer-grid > p { margin: 0; color: rgba(255,250,240,0.52); font-size: 0.7rem; text-align: right; }

.not-found { min-height: 66vh; display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: var(--rust); font-family: var(--serif); font-size: clamp(5rem, 16vw, 12rem); font-weight: 500; line-height: 0.8; }
.not-found h1 { margin: 28px 0 12px; font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.not-found p { max-width: 500px; margin: 0 auto 26px; color: var(--muted); }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr minmax(280px, 0.65fr); gap: 45px; }
  .cover { min-height: 450px; }
  .lead-grid { grid-template-columns: 70px 1fr; }
  .lead-grid .margin-note { grid-column: 2; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 0; border-left: 1px solid rgba(255,255,255,0.22); border-bottom: 1px solid rgba(255,255,255,0.22); }
  .story-card:last-child { border-bottom: 0; }
  .article-layout { grid-template-columns: 130px minmax(0, 1fr); }
  .article-rail { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > p { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .utility span:first-child { display: none; }
  .utility { justify-content: flex-end; }
  .header-main { min-height: 78px; grid-template-columns: 1fr auto; gap: 16px; }
  .brand img { width: 44px; height: 44px; border-radius: 9px; }
  .brand strong { font-size: 1.28rem; }
  .brand small { display: none; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; z-index: 20; top: 112px; left: 14px; right: 14px; padding: 10px; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,45,39,0.16); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .site-nav a::after { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .cover { width: min(410px, 92%); min-height: 0; justify-self: center; }
  .lead-grid { grid-template-columns: 1fr; }
  .story-index { font-size: 3.8rem; }
  .lead-grid .margin-note { grid-column: auto; }
  .desktop-link { display: none; }
  .mobile-link { display: inline-flex; }
  .editorial-grid, .rss-panel { grid-template-columns: 1fr; }
  .issue-facts { grid-template-columns: 1fr; }
  .issue-facts span + span { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .issue-layout { grid-template-columns: 1fr; }
  .issue-sidebar { position: static; width: min(260px, 75vw); }
  .issue-item { grid-template-columns: 48px 1fr; }
  .issue-item .reading-time { grid-column: 2; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-aside { position: static; display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .article-aside p { flex: 1 1 150px; }
  .article-rail { grid-column: auto; margin-top: 25px; }
  .archive-year { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { flex-direction: column; }
  .footer-grid > p { grid-column: auto; }
  .next-story a { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
