:root {
  --cream: #f4eddf;
  --paper: #fffaf1;
  --red: #b52d26;
  --red-dark: #7f1f1b;
  --ink: #22201e;
  --muted: #6d6258;
  --line: #cdbfae;
  --blue: #2258a8;
  --soft-blue: #dce6f3;
  --yellow: #e1b84a;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--red); }
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 99; background: var(--ink); color: white; padding: .75rem 1rem; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--ink); }
.signal-bar {
  min-height: 29px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: .7rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: .25rem 1.5rem;
  color: var(--red-dark);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.signal-bar i { display: block; height: 1px; background: var(--red); }
.masthead {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto minmax(280px, 390px);
  align-items: end;
  gap: 2rem;
}
.brand { display: inline-flex; width: max-content; flex-direction: column; color: var(--red); text-decoration: none; line-height: .83; }
.brand:hover { color: var(--red-dark); }
.brand span { font-size: clamp(2rem, 4.6vw, 4.6rem); font-weight: 700; }
.brand small { margin-top: .5rem; color: var(--ink); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; }
.brand-note { margin: 0; padding-left: 1rem; border-left: 4px solid var(--blue); color: var(--muted); font-size: .76rem; line-height: 1.35; }
.header-search { display: grid; grid-template-columns: 1fr auto; border-bottom: 2px solid var(--ink); }
.header-search input { min-width: 0; border: 0; background: transparent; padding: .65rem .2rem; color: var(--ink); }
.header-search input:focus { outline: 2px solid var(--blue); outline-offset: 3px; }
.header-search button, .search-large button { border: 0; background: var(--red); color: white; padding: .6rem 1rem; font-size: .78rem; font-weight: 700; }
.header-search button:hover, .search-large button:hover { background: var(--red-dark); }
.main-nav {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
}
.main-nav a { padding: .7rem 1.15rem .72rem 0; margin-right: 1.15rem; white-space: nowrap; text-decoration: none; font-size: .76rem; font-weight: 700; }
.main-nav .nav-search { margin-left: auto; margin-right: 0; padding-right: 0; color: var(--red-dark); }
main { min-height: 55vh; }

.edition-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.2rem 1.5rem 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(260px, .85fr);
  gap: 4rem;
  align-items: end;
}
.eyebrow { display: block; margin-bottom: .8rem; color: var(--red-dark); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.edition-head h1, .archive-header h1, .search-hero h1, .article-header h1 { margin: 0; line-height: 1.02; font-weight: 700; }
.edition-head h1 { max-width: 850px; font-size: clamp(2.6rem, 6vw, 5.7rem); }
.edition-head p { margin: 0; padding-top: 1.2rem; border-top: 6px solid var(--red); color: var(--muted); font-size: 1.02rem; }
.lead-grid {
  max-width: var(--max);
  margin: 0 auto 4.7rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr);
  gap: 1.5rem;
}
.story-card { min-width: 0; border-top: 1px solid var(--ink); }
.story-card .story-image { display: block; margin-top: .75rem; overflow: hidden; background: var(--line); border-radius: 6px; }
.story-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.story-card .story-image:hover img { transform: scale(1.018); }
.story-copy { padding: .95rem 0 .35rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; color: var(--muted); font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.story-meta a { color: var(--red-dark); }
.story-copy h2 { margin: .6rem 0 .6rem; font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.18; }
.story-copy h2 a { text-decoration: none; }
.story-copy p { margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.text-link { color: var(--red-dark); font-size: .76rem; font-weight: 700; text-decoration: none; }
.story-card-featured { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .95fr); gap: 1.35rem; border-top: 6px solid var(--ink); }
.story-card-featured .story-image { margin-top: 1rem; }
.story-card-featured .story-copy { padding-top: 1rem; align-self: end; }
.story-card-featured .story-copy h2 { font-size: clamp(1.65rem, 3vw, 3.05rem); }
.story-card-featured .story-copy p { font-size: .96rem; }
.briefing { background: var(--red); color: white; border-radius: 6px; padding: 1.35rem 1.25rem; position: relative; overflow: hidden; }
.briefing::after { content: ''; position: absolute; right: -22px; top: 0; width: 74px; height: 100%; border-left: 1px solid rgba(255,255,255,.45); transform: skewX(-9deg); }
.briefing-number { display: block; font-size: 4.6rem; line-height: .85; font-weight: 700; color: #f5c7b0; }
.briefing h2 { margin: .9rem 0 1.1rem; font-size: 1rem; }
.briefing ol { list-style: none; margin: 0; padding: 0; }
.briefing li { border-top: 1px solid rgba(255,255,255,.4); }
.briefing a { display: grid; grid-template-columns: 2rem 1fr; gap: .25rem; padding: .75rem 0; text-decoration: none; font-size: .74rem; line-height: 1.35; }
.briefing a:hover { color: #fff2d2; }
.briefing a span { color: #f5c7b0; }

.section-heading {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.5rem 1.35rem;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.section-heading span { color: var(--red-dark); font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.section-heading h2 { margin: .2rem 0 0; font-size: clamp(1.55rem, 3vw, 2.7rem); line-height: 1.1; }
.section-heading p { margin: 0; max-width: 390px; color: var(--muted); font-size: .82rem; }
.story-grid { max-width: var(--max); margin: 0 auto 5rem; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.4rem 1.5rem; }
.story-grid .story-card { grid-column: span 6; }
.story-grid .story-card:nth-child(3), .story-grid .story-card:nth-child(4) { grid-column: span 5; }
.story-grid .story-card:nth-child(4) { grid-column: 7 / span 6; }
.story-grid .story-card:nth-child(3) .story-image, .story-grid .story-card:nth-child(4) .story-image { aspect-ratio: 4 / 2.35; }
.topic-band { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); }
.topic-band > * { padding: 2.2rem max(1.5rem, calc((100vw - var(--max)) / 8)); border-right: 1px solid #5b554f; }
.topic-band > *:last-child { border-right: 0; }
.topic-band .eyebrow { color: #f09a84; }
.topic-intro h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.15; }
.topic-band > a { display: block; text-decoration: none; }
.topic-band > a:hover { background: var(--blue); color: white; }
.topic-band > a span { color: #f09a84; font-size: .7rem; }
.topic-band > a strong { display: block; margin: 1.4rem 0 .7rem; font-size: 1rem; }
.topic-band > a p { margin: 0; color: #cfc8bf; font-size: .78rem; }
.newsletter-strip { max-width: var(--max); margin: 0 auto; padding: 2.1rem 1.5rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; border-bottom: 1px solid var(--ink); }
.newsletter-strip > span { color: var(--red-dark); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.newsletter-strip p { margin: 0; font-size: .88rem; }
.newsletter-strip a { color: var(--red-dark); font-weight: 700; font-size: .78rem; text-decoration: none; }

.archive-header, .search-hero { max-width: var(--max); margin: 0 auto; padding: 4.2rem 1.5rem 3rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .8fr); column-gap: 3rem; align-items: end; }
.archive-header .eyebrow, .search-hero .eyebrow { grid-column: 1 / -1; }
.archive-header h1, .search-hero h1 { font-size: clamp(2.5rem, 5.8vw, 5.4rem); }
.archive-header p { margin: 0; padding-top: 1rem; border-top: 5px solid var(--blue); color: var(--muted); }
.archive-grid { max-width: var(--max); margin: 0 auto 4.5rem; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem 1.5rem; }
.category-switcher { max-width: var(--max); margin: 0 auto 4rem; padding: 1.25rem 1.5rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-wrap: wrap; gap: .8rem 2rem; font-size: .8rem; }
.category-switcher span { color: var(--red-dark); font-weight: 700; text-transform: uppercase; }

.article-shell { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem 2rem; }
.article-header { max-width: 980px; }
.article-kicker, .byline { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.article-kicker a { color: var(--red-dark); }
.article-header h1 { margin-top: 1rem; font-size: clamp(2.35rem, 5.8vw, 5.55rem); }
.article-deck { max-width: 840px; margin: 1.3rem 0 1.6rem; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.28rem); line-height: 1.55; }
.byline { padding-top: 1rem; border-top: 1px solid var(--line); }
.article-hero { margin: 2.7rem 0 3.7rem; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.article-hero figcaption { margin-top: .45rem; color: var(--muted); font-size: .65rem; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 4rem; justify-content: center; }
.article-rail { align-self: start; position: sticky; top: 1.5rem; padding-top: .75rem; border-top: 5px solid var(--red); font-size: .7rem; }
.article-rail span { font-weight: 700; text-transform: uppercase; }
.article-rail p { margin: .45rem 0; color: var(--muted); }
.article-body { min-width: 0; font-size: 1.02rem; line-height: 1.78; }
.article-body .lead { margin-top: 0; font-size: 1.18rem; line-height: 1.65; }
.article-body h2 { margin: 2.8rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--ink); font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.2; }
.article-body h3 { margin: 2rem 0 .6rem; color: var(--red-dark); font-size: 1.2rem; line-height: 1.3; }
.article-body h4 { margin: 1.7rem 0 .4rem; font-size: .92rem; text-transform: uppercase; }
.article-body p { margin: 0 0 1.2rem; }
.article-body ul, .article-body ol { margin: .5rem 0 1.5rem; padding-left: 1.35rem; }
.article-body li { margin-bottom: .55rem; padding-left: .3rem; }
.article-note { margin: 2rem 0; padding: 1.2rem 1.35rem; background: var(--soft-blue); border-left: 6px solid var(--blue); border-radius: 0 6px 6px 0; }
.article-note strong { display: block; margin-bottom: .3rem; color: var(--blue); font-size: .75rem; text-transform: uppercase; }
.article-note span { font-size: .92rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .8rem; }
th, td { padding: .75rem; border: 1px solid var(--line); text-align: left; }
th { background: var(--ink); color: white; }
.related { margin-top: 4rem; padding: 3rem 0 4rem; background: var(--paper); border-top: 1px solid var(--ink); }
.related-grid { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }

.search-hero { display: block; }
.search-hero h1 { max-width: 900px; }
.search-large { max-width: 820px; margin-top: 2.5rem; }
.search-large label { display: block; margin-bottom: .55rem; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.search-large > div { display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--ink); background: var(--paper); }
.search-large input { width: 100%; min-width: 0; padding: 1rem; border: 0; background: transparent; }
.search-large input:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.search-large button { padding-inline: 1.5rem; }
.search-results { padding-top: 1rem; }
.empty-state { grid-column: 1 / -1; padding: 2rem; background: var(--paper); border-left: 6px solid var(--yellow); }

.site-footer { margin-top: 4rem; background: var(--red); color: white; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.brand-footer { color: white; }
.brand-footer span { font-size: 2.2rem; }
.brand-footer small { color: #f8d5c7; }
.footer-grid p { max-width: 430px; color: #f4d7cf; font-size: .78rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-grid strong { margin-bottom: .35rem; font-size: .74rem; text-transform: uppercase; }
.footer-grid a:not(.brand) { font-size: .78rem; }
.site-footer a:hover { color: #fff2d2; }
.footer-grid .fineprint { margin-top: .8rem; font-size: .66rem; }
.footer-line { max-width: var(--max); margin: 0 auto; padding: .8rem 1.5rem; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.45); font-size: .65rem; text-transform: uppercase; }

@media (max-width: 900px) {
  .masthead { grid-template-columns: 1fr auto; }
  .header-search { grid-column: 1 / -1; }
  .edition-head, .archive-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .lead-grid { grid-template-columns: 1fr; }
  .briefing { display: none; }
  .story-card-featured { grid-template-columns: 1fr; }
  .topic-band { grid-template-columns: 1fr 1fr; }
  .topic-band > * { padding: 1.7rem 1.5rem; border-bottom: 1px solid #5b554f; }
  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-rail { position: static; display: flex; gap: 1rem; border-top-width: 3px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .signal-bar { padding-inline: 1rem; }
  .signal-bar span:nth-of-type(2), .signal-bar i:nth-of-type(2) { display: none; }
  .signal-bar { grid-template-columns: auto 1fr auto; }
  .masthead { padding: 1rem; gap: 1rem; align-items: center; }
  .brand span { font-size: 2.25rem; }
  .brand-note { display: none; }
  .main-nav { padding: 0 1rem; }
  .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .main-nav a { margin: 0; padding: .65rem .65rem .65rem 0; white-space: normal; line-height: 1.25; border-bottom: 1px solid var(--line); }
  .main-nav a:nth-child(even) { padding-left: .65rem; border-left: 1px solid var(--line); }
  .main-nav .nav-search { margin-left: 0; padding-right: .65rem; }
  .edition-head { padding: 2.3rem 1rem 1.7rem; }
  .edition-head h1 { font-size: 2.65rem; }
  .lead-grid { padding: 0 1rem; margin-bottom: 3.5rem; }
  .story-card-featured .story-copy h2 { font-size: 1.8rem; }
  .section-heading { padding-inline: 1rem; grid-template-columns: 1fr; gap: .6rem; }
  .story-grid, .archive-grid, .related-grid { padding-inline: 1rem; grid-template-columns: 1fr; }
  .story-grid .story-card, .story-grid .story-card:nth-child(3), .story-grid .story-card:nth-child(4) { grid-column: auto; }
  .story-grid .story-card:nth-child(3) .story-image, .story-grid .story-card:nth-child(4) .story-image { aspect-ratio: 3 / 2; }
  .topic-band { grid-template-columns: 1fr; }
  .topic-band > * { border-right: 0; }
  .newsletter-strip { padding-inline: 1rem; grid-template-columns: 1fr; gap: .6rem; }
  .archive-header, .search-hero { padding: 2.6rem 1rem 2rem; }
  .archive-header h1, .search-hero h1 { font-size: 2.55rem; overflow-wrap: anywhere; }
  .category-switcher { margin-inline: 1rem; padding-inline: 0; flex-direction: column; }
  .article-shell { padding: 2.6rem 1rem 1rem; }
  .article-header h1 { font-size: 2.45rem; overflow-wrap: anywhere; }
  .article-hero { margin: 2rem 0 2.6rem; }
  .article-hero img { aspect-ratio: 4 / 3; }
  .article-rail { flex-wrap: wrap; }
  .article-body { font-size: 1rem; line-height: 1.72; }
  .article-body .lead { font-size: 1.08rem; }
  .article-note { margin-inline: -.2rem; }
  .related { padding-top: 2rem; }
  .search-large > div { grid-template-columns: 1fr; }
  .search-large button { min-height: 48px; }
  .footer-grid { padding: 2.4rem 1rem; grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-line { padding-inline: 1rem; flex-direction: column; gap: .35rem; }
}

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