:root {
  --ink: #080808;
  --paper: #ffffff;
  --blue: #1747e8;
  --mist: #eef1f7;
  --line: #b9bdc8;
  --measure: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.58;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
:focus-visible { outline: 4px solid #ffcc00; outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { border-bottom: 3px solid var(--ink); background: var(--paper); }
.utility { display: flex; justify-content: space-between; gap: 24px; padding: 8px clamp(16px, 4vw, 64px); background: var(--ink); color: white; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.masthead { display: grid; grid-template-columns: minmax(280px, 1fr) auto; align-items: end; gap: 24px; padding: 18px clamp(16px, 4vw, 64px) 20px; }
.brand { display: inline-block; max-width: 100%; font-size: clamp(2rem, 5.8vw, 5.8rem); line-height: .86; font-weight: 900; letter-spacing: 0; text-decoration: none; overflow-wrap: anywhere; }
.brand i { color: var(--blue); font-style: normal; }
.tagline { max-width: 250px; margin: 0 0 6px; font-size: .82rem; line-height: 1.25; font-weight: 700; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 clamp(16px, 4vw, 64px); border-top: 1px solid var(--ink); }
.site-nav { display: flex; align-items: stretch; gap: 0; overflow-x: auto; scrollbar-width: thin; }
.site-nav a { flex: none; padding: 13px 18px; border-right: 1px solid var(--ink); font-size: .78rem; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.site-nav a:first-child { border-left: 1px solid var(--ink); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; background: var(--blue); }
.search-link { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 44px; padding: 0 10px; color: white; background: var(--blue); text-decoration: none; font-size: .68rem; font-weight: 900; text-transform: uppercase; }

.issue-strip { display: grid; grid-template-columns: 72px minmax(0, 1.55fr) minmax(260px, .8fr); min-height: min(650px, 78vh); border-bottom: 3px solid var(--ink); }
.folio { display: flex; align-items: center; justify-content: center; color: white; background: var(--ink); writing-mode: vertical-rl; transform: rotate(180deg); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.lead-photo { position: relative; min-height: 480px; overflow: hidden; border-right: 3px solid var(--ink); }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.lead-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(24px, 4vw, 56px); color: white; background: var(--blue); }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.kicker::before { content: ""; width: 24px; height: 6px; background: currentColor; }
.lead-copy h1, .lead-copy h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 4.5rem); line-height: .96; letter-spacing: 0; }
.lead-copy p { margin: 20px 0 0; max-width: 42ch; }
.read-link { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; padding: 11px 14px; color: var(--ink); background: white; border: 2px solid var(--ink); font-size: .75rem; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.read-link::after { content: "\2192"; font-size: 1.25rem; }
.read-link:hover { color: white; background: var(--ink); }

.desk { padding: 42px clamp(16px, 4vw, 64px) 0; border-bottom: 3px solid var(--ink); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 3rem); line-height: 1; }
.section-head span { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.story-stream { border-top: 3px solid var(--ink); }
.story-row { display: grid; grid-template-columns: 72px minmax(260px, .85fr) minmax(340px, 1.15fr); min-height: 360px; border-bottom: 1px solid var(--ink); }
.story-row:nth-child(even) { grid-template-columns: 72px minmax(340px, 1.15fr) minmax(260px, .85fr); }
.story-no { display: flex; align-items: flex-start; justify-content: center; padding-top: 25px; color: white; background: var(--ink); font-weight: 900; }
.story-row:nth-child(even) .story-no { color: var(--ink); background: var(--mist); }
.story-media { overflow: hidden; border-right: 1px solid var(--ink); }
.story-row:nth-child(even) .story-media { order: 3; border-right: 0; border-left: 1px solid var(--ink); }
.story-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform .35s ease; }
.story-row:hover .story-media img { transform: scale(1.02); }
.story-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 4vw, 54px); }
.story-body h3 { max-width: 18ch; margin: 0; font-size: clamp(1.65rem, 3.2vw, 3.25rem); line-height: 1; letter-spacing: 0; }
.story-body p { max-width: 48ch; margin: 18px 0 24px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.meta a { color: var(--blue); }

.category-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--blue); color: white; border-bottom: 3px solid var(--ink); }
.category-ribbon a { min-height: 150px; padding: 26px clamp(20px, 3vw, 45px); border-right: 1px solid white; text-decoration: none; }
.category-ribbon a:last-child { border-right: 0; }
.category-ribbon small { display: block; margin-bottom: 20px; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.category-ribbon strong { display: block; font-size: clamp(1.2rem, 2vw, 2rem); line-height: 1.08; }
.category-ribbon a:hover { color: var(--ink); background: white; }

.site-footer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 42px clamp(16px, 4vw, 64px); color: white; background: var(--ink); }
.footer-brand { font-size: clamp(1.5rem, 3vw, 3.2rem); font-weight: 900; line-height: .9; overflow-wrap: anywhere; }
.footer-brand i { color: var(--blue); font-style: normal; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 12px 24px; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.footer-note { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid #555; color: #ccc; font-size: .75rem; }

.article-shell { display: grid; grid-template-columns: minmax(42px, 8vw) minmax(0, 1fr); }
.article-rail { color: white; background: var(--blue); writing-mode: vertical-rl; transform: rotate(180deg); padding: 26px 13px; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.article-main { min-width: 0; }
.article-hero { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(300px, .82fr); min-height: 560px; border-bottom: 3px solid var(--ink); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; border-right: 3px solid var(--ink); }
.article-title { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 5vw, 72px); }
.breadcrumbs { margin-bottom: auto; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.article-title h1 { max-width: 13ch; margin: 50px 0 22px; font-size: clamp(2.35rem, 5vw, 5.4rem); line-height: .93; letter-spacing: 0; }
.article-title .standfirst { max-width: 46ch; margin: 0 0 20px; font-size: 1.1rem; line-height: 1.42; }
.article-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: clamp(38px, 8vw, 110px); max-width: 1200px; margin: 0 auto; padding: 64px clamp(20px, 5vw, 70px) 90px; }
.prose { min-width: 0; }
.prose > p:first-child { font-size: 1.18rem; font-weight: 700; }
.prose h2 { margin: 62px 0 18px; padding-top: 18px; border-top: 6px solid var(--ink); font-size: clamp(1.65rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: 0; }
.prose h3 { margin: 38px 0 12px; color: var(--blue); font-size: 1.35rem; line-height: 1.2; }
.prose h4 { margin: 28px 0 8px; font-size: 1rem; text-transform: uppercase; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { margin: 0 0 26px; padding-left: 1.25em; }
.prose li { margin-bottom: 9px; padding-left: 6px; }
.prose blockquote { margin: 40px 0; padding: 25px 28px; border-left: 9px solid var(--blue); background: var(--mist); font-size: 1.15rem; font-weight: 700; }
.prose table { width: 100%; margin: 28px 0 38px; border-collapse: collapse; font-size: .88rem; }
.prose caption { margin-bottom: 9px; text-align: left; font-weight: 800; }
.prose th, .prose td { padding: 11px; border: 1px solid var(--ink); text-align: left; vertical-align: top; }
.prose th { color: white; background: var(--ink); }
.article-aside { align-self: start; position: sticky; top: 18px; border-top: 6px solid var(--blue); }
.article-aside h2 { margin: 14px 0; font-size: .75rem; text-transform: uppercase; }
.article-aside a { display: block; padding: 13px 0; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 800; line-height: 1.25; }
.article-aside p { font-size: .78rem; }

.archive-head { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr); min-height: 330px; color: white; background: var(--blue); border-bottom: 3px solid var(--ink); }
.archive-index { display: flex; align-items: center; justify-content: center; border-right: 3px solid var(--ink); font-size: clamp(5rem, 14vw, 12rem); font-weight: 900; line-height: 1; }
.archive-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 6vw, 80px); }
.archive-copy h1 { max-width: 13ch; margin: 0 0 20px; font-size: clamp(2.4rem, 6vw, 6.5rem); line-height: .9; letter-spacing: 0; }
.archive-copy p { max-width: 52ch; margin: 0; }
.archive-list { max-width: 1200px; margin: 0 auto; padding: 52px clamp(16px, 4vw, 64px) 82px; }

.search-panel { min-height: 62vh; padding: 50px clamp(16px, 6vw, 90px) 90px; }
.search-panel h1 { margin: 0 0 30px; font-size: clamp(2.4rem, 7vw, 7rem); line-height: .9; }
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 900px; border: 3px solid var(--ink); }
.search-form input { min-width: 0; padding: 18px; border: 0; color: var(--ink); background: white; }
.search-form button { padding: 12px 24px; border: 0; color: white; background: var(--blue); font-weight: 900; cursor: pointer; }
.search-status { margin: 28px 0 12px; font-weight: 800; }
.search-results { max-width: 900px; border-top: 3px solid var(--ink); }
.search-result { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.search-result img { width: 110px; height: 88px; object-fit: cover; }
.search-result h2 { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.15; }
.search-result p { margin: 0; font-size: .86rem; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .masthead { grid-template-columns: 1fr; }
  .tagline { max-width: 52ch; }
  .issue-strip { grid-template-columns: 44px 1fr; }
  .lead-photo { min-height: 390px; border-right: 0; }
  .lead-copy { grid-column: 2; }
  .folio { grid-row: 1 / span 2; }
  .story-row, .story-row:nth-child(even) { grid-template-columns: 44px 1fr; min-height: 0; }
  .story-no { grid-row: 1 / span 2; }
  .story-media, .story-row:nth-child(even) .story-media { order: initial; border: 0; border-bottom: 1px solid var(--ink); }
  .story-media img { min-height: 280px; max-height: 430px; }
  .category-ribbon { grid-template-columns: 1fr; }
  .category-ribbon a { min-height: 120px; border-right: 0; border-bottom: 1px solid white; }
  .article-hero { grid-template-columns: 1fr; }
  .article-hero img { max-height: 520px; border-right: 0; border-bottom: 3px solid var(--ink); }
  .article-content { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 620px) {
  .utility span:last-child { display: none; }
  .brand { font-size: clamp(2rem, 12vw, 4rem); }
  .nav-wrap { padding-right: 12px; }
  .site-nav a { padding: 12px 13px; }
  .issue-strip { min-height: 0; }
  .lead-photo { min-height: 300px; }
  .lead-copy h1, .lead-copy h2 { font-size: 2.15rem; }
  .desk { padding-left: 0; padding-right: 0; }
  .section-head { padding: 0 16px; }
  .story-body { padding: 25px 20px; }
  .story-body h3 { font-size: 1.75rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-note { grid-column: auto; }
  .article-shell { grid-template-columns: 32px minmax(0, 1fr); }
  .article-rail { padding-left: 7px; padding-right: 7px; }
  .article-hero { min-height: 0; }
  .article-hero img { min-height: 280px; }
  .article-title { padding: 26px 20px 34px; }
  .article-title h1 { margin-top: 34px; font-size: 2.35rem; }
  .article-content { padding: 38px 20px 64px; }
  .prose table { display: block; overflow-x: auto; }
  .archive-head { grid-template-columns: 82px 1fr; min-height: 290px; }
  .archive-copy { padding: 28px 20px; }
  .archive-copy h1 { font-size: 2.55rem; overflow-wrap: anywhere; }
  .search-form { grid-template-columns: 1fr; }
  .search-result { grid-template-columns: 86px 1fr; }
  .search-result img { width: 86px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
