/* visual-quality-baseline-v1 */
:root {
  --ink: #101010;
  --paper: #f4f1e9;
  --acid: #d7ff35;
  --coral: #ff6048;
  --blue: #3b56f0;
  --muted: #5d5b55;
  --line: #232323;
  --max: 1360px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--coral); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 50; top: -80px; left: 16px; padding: 10px 14px; background: white; border: 2px solid; font-weight: 700; }
.skip-link:focus { top: 16px; }
.site-header { background: var(--ink); color: white; }
.masthead {
  width: min(calc(100% - 48px), var(--max));
  min-height: 138px;
  margin: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0 24px;
}
.brand { color: white; font-size: clamp(3rem, 8vw, 7rem); font-weight: 900; line-height: .74; text-decoration: none; text-transform: lowercase; }
.brand span { color: var(--acid); font-weight: 300; }
.brand-note { margin: 0; color: #cacaca; font-size: .77rem; font-weight: 700; line-height: 1.35; text-align: right; text-transform: uppercase; }
.main-nav {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  overflow-x: auto;
  border-top: 1px solid #444;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { flex: 0 0 auto; padding: 15px 22px; border-right: 1px solid #444; color: white; font-size: .78rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.main-nav a:first-child { padding-left: 0; color: var(--acid); }
.header-top, .header-nav {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
}
.header-top {
  min-height: 120px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 25px 0 22px;
}
.header-top .brand { font-size: clamp(2.8rem, 7vw, 6rem); }
.issue-label {
  max-width: 240px;
  margin: 0;
  color: #c5c5c5;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}
.nav-band { border-top: 1px solid #444; }
.header-nav {
  display: flex;
  min-height: 50px;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar { display: none; }
.nav-links { display: flex; flex: 0 0 auto; }
.nav-links a, .search-trigger {
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 0;
  border-right: 1px solid #444;
  background: transparent;
  color: white;
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:first-child { padding-left: 0; }
.search-trigger { margin-left: auto; cursor: pointer; }
.search-mark { display: none; }
.opening {
  width: min(calc(100% - 48px), var(--max));
  min-height: min(650px, 74vh);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .38fr);
  grid-template-rows: auto 1fr auto;
  gap: 20px 56px;
  align-items: end;
  padding: 42px 0 58px;
  border-bottom: 12px solid var(--ink);
}
.opening__issue { grid-column: 1 / -1; align-self: start; margin: 0; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.opening h1 { grid-row: 2 / 4; margin: 0; max-width: 9ch; font-size: 4rem; font-weight: 900; line-height: .76; letter-spacing: 0; text-transform: uppercase; }
.opening h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.opening__dek { margin: 0; align-self: end; font-family: Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.3; }
.opening__jump { display: flex; justify-content: space-between; gap: 20px; padding-top: 12px; border-top: 3px solid; font-size: .78rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.story-wall { width: min(calc(100% - 48px), var(--max)); margin: auto; padding: 48px 0 80px; }
.story-wall__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 18px; border-bottom: 2px solid; }
.story-wall__head h2 { margin: 0; font-size: 3.8rem; line-height: .88; text-transform: uppercase; }
.story-wall__head > p { max-width: 250px; margin: 0; color: var(--muted); text-align: right; }
.eyebrow { margin: 0 0 7px; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 22px; padding-top: 24px; }
.story {
  grid-column: span 4;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 1px solid;
  padding-top: 10px;
  text-decoration: none;
}
.story:nth-child(4n + 2) { margin-top: 70px; }
.story:nth-child(4n + 3) .story__image { background: var(--acid); }
.story:nth-child(4n + 4) .story__image { background: var(--coral); }
.story--lead { grid-column: span 8; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 24px; margin: 0; border-top-width: 8px; }
.story--wide { grid-column: span 8; }
.story--portrait { grid-column: span 4; }
.story__image { margin: 0; overflow: hidden; background: var(--blue); }
.story__image--type { display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; padding: 18px; background: var(--ink); color: var(--acid); }
.story__image--type span { font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.story__image--type strong { font-size: clamp(4rem, 10vw, 8rem); line-height: .75; }
.story__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.story--lead .story__image img { height: 100%; min-height: 530px; aspect-ratio: auto; }
.story--wide .story__image img { aspect-ratio: 16 / 8; }
.story--portrait .story__image img { aspect-ratio: 4 / 5; }
.story:hover .story__image img { transform: scale(1.025); }
.story__copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 15px 0 5px; }
.story--lead .story__copy { justify-content: end; padding: 22px 0; }
.story--text .story__copy { min-height: 170px; justify-content: end; }
.story h2 { margin: 0 0 11px; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.03; overflow-wrap: anywhere; }
.story--lead h2 { font-size: clamp(2rem, 4.3vw, 4.8rem); }
.story__copy > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); font-family: Georgia, serif; font-size: .94rem; line-height: 1.45; }
.read-more { width: fit-content; margin-top: auto; border-bottom: 2px solid; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.topic-strip { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); background: var(--acid); border-block: 2px solid; }
.topic-strip > * { margin: 0; padding: 28px max(24px, calc((100vw - var(--max)) / 2)); padding-right: 24px; border-right: 1px solid; }
.topic-strip p { font-weight: 900; text-transform: uppercase; }
.topic-strip a { font-family: Georgia, serif; font-size: 1.15rem; text-decoration: none; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(260px, .5fr) auto;
  gap: 40px;
  align-items: end;
  padding: 54px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: white;
}
.footer-brand { color: white; font-size: 2rem; font-weight: 900; text-decoration: none; }
.site-footer p { margin: 0; color: #bdbdbd; font-size: .85rem; }
.site-footer nav { display: flex; gap: 22px; }

/* Article and archive surfaces */
.page-shell, .archive-import-main { width: min(calc(100% - 48px), 1180px); margin: auto; padding: 32px 0 80px; }
.breadcrumbs { margin: 0 0 28px; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.article-header, .archive-import-article-header { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: 40px; align-items: end; margin-bottom: 44px; padding-bottom: 26px; border-bottom: 8px solid; }
.article-title-block h1, .archive-import-article-header h1 { margin: 8px 0 18px; font-size: 4rem; line-height: .86; overflow-wrap: anywhere; }
.article-deck, .archive-import-dek { margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.4; }
.article-meta, .archive-import-byline, .archive-import-kicker { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 18px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.article-figure, .archive-import-hero { grid-column: 2; grid-row: 1; margin: 0; }
.article-figure img, .archive-import-hero img { width: 100%; max-height: 700px; aspect-ratio: 4 / 5; object-fit: cover; }
figcaption { padding-top: 8px; color: var(--muted); font-size: .72rem; }
.article-layout, .archive-import-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(35px, 7vw, 95px); justify-content: center; }
.article-aside, .archive-import-layout aside { align-self: start; position: sticky; top: 22px; padding: 18px 0; border-block: 3px solid; font-size: .82rem; }
.article-aside p, .archive-import-layout aside p { color: var(--muted); }
.article-body, .archive-import-content { min-width: 0; font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.78; }
.article-body > p:first-child, .archive-import-content > p:first-child { font-size: 1.25rem; line-height: 1.65; }
.article-body h2, .archive-import-content h2 { margin: 2.2em 0 .55em; font-family: Arial, sans-serif; font-size: 2rem; line-height: 1.05; }
.article-body h3, .archive-import-content h3 { margin: 1.8em 0 .4em; font-family: Arial, sans-serif; }
.article-body a, .archive-import-content a { text-decoration-color: var(--blue); }
.archive-import-article-header { grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); }
.archive-import-article-header + .archive-import-hero { display: none; }
.archive-import-article > .archive-import-hero { margin: 0 0 46px 42%; }
.category-page, .archive-page { width: min(calc(100% - 48px), var(--max)); margin: auto; padding: 50px 0 80px; }
.category-intro { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px 48px; align-items: end; padding: 28px 0 34px; border-bottom: 10px solid var(--ink); }
.category-intro .eyebrow, .category-intro h1, .category-intro > p { grid-column: 1; }
.category-intro h1 { margin: 0; font-size: 2.75rem; line-height: .8; overflow-wrap: anywhere; }
.category-intro > p:not(.eyebrow) { max-width: 52ch; margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: 1.15rem; }
.category-count { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 8px; align-items: end; padding: 18px 0; border-block: 3px solid; text-align: right; text-transform: uppercase; }
.category-count strong { color: var(--coral); font-size: 5rem; line-height: .8; }
.category-count span { font-size: .7rem; font-weight: 900; }
.category-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 34px 22px; padding-top: 34px; }
.category-grid .story { grid-column: span 4; }
.category-grid .story:nth-child(3n + 1) { grid-column: span 8; }
.search-panel[hidden] { display: none; }
.search-panel { position: fixed; z-index: 40; inset: 0; overflow: auto; padding: 10vh 24px; background: rgba(16,16,16,.96); color: white; }
.search-inner { max-width: 760px; margin: auto; }
.search-head { display: flex; justify-content: space-between; }
.search-close { border: 0; background: none; color: white; font-size: 2rem; }
.search-form input { width: 100%; padding: 14px; }

@media (max-width: 900px) {
  .opening { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; min-height: 0; }
  .opening h1 { grid-row: auto; }
  .story { grid-column: span 6; }
  .story--lead, .story--wide { grid-column: 1 / -1; }
  .story--lead { grid-template-columns: 1fr; }
  .story--lead .story__image img { min-height: 0; aspect-ratio: 16 / 10; }
  .story:nth-child(4n + 2) { margin-top: 0; }
  .topic-strip { grid-template-columns: repeat(3, 1fr); }
  .topic-strip p { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer nav { grid-column: 1 / -1; }
  .article-header, .archive-import-article-header { grid-template-columns: 1fr; }
  .article-figure, .archive-import-hero { grid-column: auto; grid-row: auto; }
  .article-figure img, .archive-import-hero img { max-height: 520px; aspect-ratio: 16 / 10; }
  .archive-import-article > .archive-import-hero { margin-left: 0; }
  .category-intro { grid-template-columns: 1fr; gap: 16px; }
  .category-intro .eyebrow, .category-intro h1, .category-intro > p { grid-column: 1; }
  .category-count { grid-column: 1; grid-row: auto; align-items: start; text-align: left; }
  .category-grid { grid-template-columns: 1fr; }
  .category-grid .story, .category-grid .story:nth-child(3n + 1) { grid-column: 1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .masthead { width: min(calc(100% - 28px), var(--max)); min-height: 105px; padding: 22px 0 18px; }
  .brand { font-size: 3.2rem; }
  .brand-note { display: none; }
  .main-nav { width: calc(100% - 28px); }
  .main-nav a { padding: 13px 16px; }
  .header-top, .header-nav { width: calc(100% - 28px); }
  .header-top { min-height: 96px; display: block; padding: 19px 0 15px; }
  .header-top .brand { font-size: 3rem; }
  .issue-label { max-width: none; margin-top: 10px; font-size: .65rem; text-align: left; }
  .nav-links a, .search-trigger { padding: 12px 14px; }
  .nav-links a:first-child { padding-left: 0; }
  .opening, .story-wall, .page-shell, .archive-import-main { width: calc(100% - 28px); }
  .opening { gap: 26px; padding: 28px 0 40px; border-bottom-width: 8px; }
  .opening h1 { font-size: 3rem; line-height: .8; }
  .opening__dek { font-size: 1.15rem; }
  .story-wall { padding: 34px 0 56px; }
  .story-wall__head { display: block; }
  .story-wall__head h2 { font-size: 2.75rem; }
  .story-wall__head > p { margin-top: 12px; text-align: left; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .story, .story--lead, .story--wide, .story--portrait { grid-column: 1; display: block; }
  .story__image img, .story--wide .story__image img, .story--portrait .story__image img, .story--lead .story__image img { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .story h2, .story--lead h2 { font-size: 1.7rem; }
  .topic-strip { grid-template-columns: 1fr; }
  .topic-strip p { grid-column: auto; }
  .topic-strip > * { padding: 18px 14px; border-right: 0; border-bottom: 1px solid; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding-inline: 14px; }
  .site-footer nav { grid-column: auto; }
  .article-title-block h1, .archive-import-article-header h1 { font-size: clamp(2.35rem, 11vw, 3.7rem); hyphens: auto; overflow-wrap: break-word; }
  .article-header, .archive-import-article-header { gap: 24px; margin-bottom: 32px; }
  .article-layout, .archive-import-layout { grid-template-columns: 1fr; gap: 20px; }
  .article-aside, .archive-import-layout aside { position: static; }
  .article-body, .archive-import-content { font-size: 1rem; line-height: 1.7; }
  .article-body h2, .archive-import-content h2 { font-size: 1.65rem; }
}
