:root {
  --blue: #073b9a;
  --blue-deep: #05265f;
  --yellow: #ffd51f;
  --ink: #16191f;
  --paper: #f7f8f4;
  --white: #ffffff;
  --mint: #dfeadf;
  --brick: #a4432d;
  --line: #1b1e23;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input { font: inherit; letter-spacing: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--yellow); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.signal-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--blue);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.site-header {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(440px, 1.5fr) auto;
  gap: 2rem;
  align-items: end;
  padding: 1.4rem 0 1.5rem;
  border-bottom: 4px solid var(--ink);
}
.brand { text-decoration: none; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: .83; }
.brand-kicker { margin-bottom: .6rem; color: var(--blue); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.brand-name { font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 400; text-transform: lowercase; }
.brand-name b { color: var(--blue); font-weight: 700; }
.primary-nav { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; align-items: center; padding-bottom: .35rem; }
.primary-nav a { font-size: .78rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav a:focus-visible { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 5px; }
.search-trigger { border: 0; border-radius: 0; padding: .75rem .9rem; background: var(--yellow); color: var(--ink); font-weight: 700; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.search-trigger:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
main { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.eyebrow { display: block; margin-bottom: .8rem; color: var(--blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.issue-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: end; padding: 3.5rem 0 2rem; }
.issue-intro h2 { margin: 0; max-width: 980px; font-size: clamp(2.1rem, 5.2vw, 5.6rem); line-height: .95; font-weight: 700; }
.issue-intro p { max-width: 36rem; margin: 0 0 .4rem; padding-left: 1.2rem; border-left: 8px solid var(--yellow); font-weight: 700; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-card { min-width: 0; }
.story-card--featured { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }
.story-card--featured .story-image { min-height: 590px; }
.story-image { display: block; overflow: hidden; background: #d9d9d4; }
.story-image img { height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.story-image:hover img { transform: scale(1.018); }
.story-copy { padding: 1.4rem; }
.story-card--featured .story-copy { display: flex; flex-direction: column; justify-content: flex-end; background: var(--white); border-right: 1px solid var(--line); }
.story-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; color: var(--blue); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.story-meta span { min-width: 2rem; padding: .1rem .3rem; background: var(--yellow); color: var(--ink); text-align: center; }
.story-meta a { text-decoration: none; }
.story-card h1, .story-card h2 { margin: 0 0 .8rem; line-height: 1.02; font-size: 1.45rem; }
.story-card--featured h1 { font-size: clamp(2rem, 3.8vw, 4.7rem); }
.story-card h1 a, .story-card h2 a { text-decoration: none; }
.story-card h1 a:hover, .story-card h2 a:hover { color: var(--blue); }
.story-card p { margin: 0 0 1.2rem; }
.read-link { color: var(--blue); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.field-notes { display: flex; flex-direction: column; padding: 1.3rem; background: var(--yellow); }
.field-title { display: flex; justify-content: space-between; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); font-size: .7rem; }
.field-title b { font-size: 1.1rem; }
.note-big { margin: 2.5rem 0; font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.field-notes dl { margin: auto 0 2rem; }
.field-notes dl div { display: grid; grid-template-columns: 5rem 1fr; padding: .55rem 0; border-top: 1px solid rgba(0,0,0,.4); font-size: .75rem; }
.field-notes dt { font-weight: 700; text-transform: uppercase; }
.field-notes dd { margin: 0; }
.field-notes > a { font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.latest-section { padding: 5rem 0; }
.section-rule { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-bottom: 1.8rem; padding: .7rem 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.section-rule h2 { margin: 0; font-size: 1.25rem; text-transform: uppercase; }
.section-rule span { font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.section-rule span:last-child { text-align: right; }
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.story-grid .story-card { grid-column: span 6; display: grid; grid-template-columns: 1.15fr .85fr; border-top: 1px solid var(--line); }
.story-grid .story-card:nth-child(odd) { border-right: 1px solid var(--line); }
.story-grid .story-image img { aspect-ratio: 4 / 3; }
.category-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; width: calc(100% + 2rem); padding: 4rem; margin-left: -1rem; background: var(--blue-deep); color: var(--white); }
.category-band > * { width: 100%; }
.category-band .eyebrow { color: var(--yellow); }
.category-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1; }
.category-list { padding-right: 0; }
.category-list a { display: grid; grid-template-columns: 3rem 1fr auto; gap: .8rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.45); text-decoration: none; }
.category-list a:last-child { border-bottom: 1px solid rgba(255,255,255,.45); }
.category-list span { color: var(--yellow); }
.category-list strong { font-size: 1.15rem; }
.category-list p { grid-column: 2; margin: 0; color: #d7def1; font-size: .78rem; }
.category-list b { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--yellow); font-size: 1.5rem; }
.site-footer { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding: 3rem 0; border-top: 8px solid var(--yellow); }
.footer-brand span { color: var(--blue); font-size: 2.8rem; font-weight: 700; }
.footer-brand p { max-width: 36rem; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; font-size: .75rem; font-weight: 700; }
.copyright { margin: 0; font-size: .7rem; }

.article-header { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-top: 2.5rem; border-bottom: 2px solid var(--line); }
.article-heading { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 3rem 3rem 2rem 6rem; background: var(--white); }
.article-index { position: absolute; left: 1.3rem; top: 1.3rem; display: flex; flex-direction: column; color: var(--blue); font-size: .65rem; }
.article-index b { color: var(--ink); font-size: 3.5rem; line-height: 1; }
.article-category { align-self: flex-start; margin-bottom: 1rem; color: var(--blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.article-heading h1 { margin: 0 0 1.2rem; font-size: clamp(2.3rem, 5vw, 5.4rem); line-height: .95; }
.article-heading > p { max-width: 47rem; margin: 0 0 1.5rem; padding-left: 1rem; border-left: 7px solid var(--yellow); font-weight: 700; }
.byline { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.article-header figure { margin: 0; background: var(--blue); }
.article-header figure img { min-height: 640px; height: 100%; object-fit: cover; }
.article-header figcaption { padding: .45rem .7rem; background: var(--blue); color: var(--white); font-size: .62rem; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: minmax(220px, .5fr) minmax(0, 1.6fr) minmax(120px, .3fr); gap: 3.5rem; padding: 4rem 0 6rem; }
.article-rail { grid-column: 1; align-self: start; position: sticky; top: 1rem; border-top: 5px solid var(--blue); }
.article-rail > span { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--blue); font-size: .65rem; font-weight: 700; }
.article-rail p { display: grid; grid-template-columns: 2.2rem 1fr; margin: 0; padding: .8rem 0; border-bottom: 1px solid #a4a6a1; font-size: .75rem; }
.article-rail b { color: var(--blue); }
.article-rail a { display: block; margin-top: 1rem; font-size: .7rem; font-weight: 700; }
.article-body { grid-column: 2; max-width: 780px; font-family: Arial, Helvetica, sans-serif; font-size: 1.06rem; line-height: 1.78; }
.article-body .lead { margin-top: 0; font-family: "Courier New", Courier, monospace; font-size: 1.3rem; line-height: 1.5; font-weight: 700; }
.article-body h2, .article-body h3, .article-body h4 { font-family: "Courier New", Courier, monospace; letter-spacing: 0; }
.article-body h2 { margin: 3.2rem 0 1rem; font-size: 2rem; line-height: 1.08; }
.article-body h3 { margin: 2rem 0 .5rem; color: var(--blue); font-size: 1.25rem; line-height: 1.2; }
.article-body h4 { margin: 1.4rem 0 .4rem; font-size: 1rem; text-transform: uppercase; }
.article-body ul, .article-body ol { margin: 1.5rem 0; padding: 1.2rem 1.2rem 1.2rem 2.5rem; background: var(--white); border-left: 7px solid var(--yellow); }
.article-body li + li { margin-top: .55rem; }
.article-note { margin: 2.2rem -7rem 2.2rem 2rem; padding: 1.3rem; background: var(--yellow); color: var(--ink); font-family: "Courier New", Courier, monospace; box-shadow: 8px 8px 0 var(--blue); }
.article-note strong { display: block; margin-bottom: .6rem; font-size: .75rem; text-transform: uppercase; }
.article-note span { display: block; font-weight: 700; line-height: 1.45; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--white); font-size: .82rem; }
th, td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--blue); color: var(--white); font-family: "Courier New", Courier, monospace; }
.related-section { padding: 2rem 0 5rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related-grid .story-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); background: var(--paper); }

.category-header { position: relative; padding: 5rem 2rem 3rem 6rem; border-bottom: 8px solid var(--blue); }
.category-header h1 { max-width: 1050px; margin: 0; font-size: clamp(3rem, 8vw, 8.5rem); line-height: .9; }
.category-header p { max-width: 650px; margin: 2rem 0 0; font-weight: 700; }
.category-count { position: absolute; right: 0; top: 2rem; padding: .8rem; background: var(--yellow); font-size: .8rem; font-weight: 700; }
.category-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2.5rem 0 5rem; border: 1px solid var(--line); }
.category-stories .story-card { display: grid; grid-template-columns: 1fr; border-right: 1px solid var(--line); }
.category-stories .story-card:last-child { border-right: 0; }
.category-stories .story-card--featured .story-image { min-height: 0; }
.category-stories .story-card--featured h1 { font-size: clamp(2rem, 4vw, 4rem); }
.category-note { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; margin: 0 0 5rem; padding: 2rem; border: 1px solid var(--line); background: var(--mint); }
.category-note strong { color: var(--blue); }
.category-note p { max-width: 760px; margin: 0; font-weight: 700; }

.search-dialog { width: min(760px, calc(100% - 2rem)); max-height: 85vh; padding: 0; border: 3px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--yellow); }
.search-dialog::backdrop { background: rgba(5, 38, 95, .78); }
.search-head { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; background: var(--blue); color: var(--white); }
.search-head button { width: 2.6rem; height: 2.6rem; border: 0; background: var(--yellow); color: var(--ink); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.search-dialog label { display: block; margin: 1.2rem 1.2rem .4rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.search-dialog input { width: calc(100% - 2.4rem); margin: 0 1.2rem; padding: .9rem; border: 2px solid var(--ink); border-radius: 0; background: var(--white); font-size: 1rem; }
.search-status { margin: .8rem 1.2rem; font-size: .72rem; }
.search-results { padding: 0 1.2rem 1.2rem; }
.search-result { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.search-result img { height: 90px; object-fit: cover; }
.search-result span { display: block; color: var(--blue); font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.search-result strong { display: block; margin: .3rem 0; line-height: 1.1; }
.search-result p { margin: 0; font-size: .72rem; line-height: 1.4; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; }
  .lead-grid { grid-template-columns: 1fr; }
  .story-card--featured { grid-template-columns: 1.2fr .8fr; }
  .field-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .field-title, .field-notes > a { grid-column: 1 / -1; }
  .note-big { margin: 0; }
  .field-notes dl { margin: 0; }
  .story-grid .story-card { grid-column: span 12; }
  .story-grid .story-card:nth-child(odd) { border-right: 0; }
  .article-header { grid-template-columns: 1fr; }
  .article-header figure img { min-height: 440px; max-height: 650px; }
  .article-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .article-note { margin-right: 0; }
  .related-grid .story-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .signal-bar span:last-child { display: none; }
  .site-header { width: min(100% - 1.2rem, var(--max)); min-height: 0; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; }
  .brand-name { font-size: 2.35rem; }
  .search-trigger { grid-column: 1; grid-row: 2; justify-self: start; align-self: center; font-size: .72rem; }
  .primary-nav { grid-column: 1; grid-row: 3; gap: .5rem 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
  .primary-nav a { font-size: .68rem; }
  main, .site-footer { width: min(100% - 1.2rem, var(--max)); }
  .issue-intro { grid-template-columns: 1fr; gap: 1.2rem; padding: 2.2rem 0 1.5rem; }
  .issue-intro h2 { font-size: 2.25rem; }
  .issue-intro p { font-size: .86rem; }
  .story-card--featured { grid-template-columns: 1fr; }
  .story-card--featured .story-image { min-height: 0; }
  .story-card--featured .story-image img { aspect-ratio: 4 / 3; }
  .story-card--featured h1 { font-size: 2.2rem; }
  .field-notes { display: flex; }
  .note-big { margin: 1.5rem 0; }
  .field-notes dl { margin: 0 0 1.2rem; }
  .section-rule { grid-template-columns: 1fr auto; }
  .section-rule span:last-child { display: none; }
  .latest-section { padding: 3.5rem 0; }
  .story-grid .story-card { grid-template-columns: 1fr; }
  .category-band { grid-template-columns: 1fr; gap: 2rem; width: calc(100% + 1.2rem); margin-left: -.6rem; padding: 3rem .6rem; }
  .category-band > div:first-child { margin-left: 0; }
  .category-band > *, .category-list { max-width: none; padding-right: 0; }
  .category-band h2 { font-size: 2.6rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .article-header { margin-top: 1rem; }
  .article-heading { padding: 5rem 1rem 1.5rem; }
  .article-index { left: 1rem; top: 1rem; }
  .article-index b { font-size: 2.8rem; }
  .article-heading h1 { font-size: 2.45rem; overflow-wrap: anywhere; }
  .article-header figure img { min-height: 0; aspect-ratio: 4 / 3; }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 4rem; }
  .article-rail { position: static; grid-column: 1; }
  .article-body { grid-column: 1; font-size: 1rem; line-height: 1.7; }
  .article-body .lead { font-size: 1.1rem; }
  .article-body h2 { font-size: 1.7rem; }
  .article-note { margin: 2rem 0; box-shadow: 5px 5px 0 var(--blue); }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid .story-card { grid-template-columns: 1fr; }
  .category-header { padding: 4.5rem 0 2rem; }
  .category-header h1 { font-size: 3.2rem; overflow-wrap: anywhere; }
  .category-count { right: 0; top: 1rem; }
  .category-stories { grid-template-columns: 1fr; }
  .category-stories .story-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .category-stories .story-card:last-child { border-bottom: 0; }
  .category-note { grid-template-columns: 1fr; }
  .search-result { grid-template-columns: 90px 1fr; }
  .search-result img { height: 78px; }
}

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