:root {
  --sky: #8bd9f7;
  --sky-light: #dff6ff;
  --yellow: #ffe84d;
  --ink: #111111;
  --paper: #ffffff;
  --soft: #f4f4ef;
  --coral: #ff6f61;
  --line: #1a1a1a;
  --wrap: min(1180px, calc(100% - 40px));
}

* { 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: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input { font: inherit; }
button { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.topline { border-bottom: 1px solid var(--line); background: var(--yellow); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.topline-inner { display: flex; justify-content: space-between; padding-block: 6px; letter-spacing: .06em; }
.masthead { min-height: 98px; display: grid; grid-template-columns: 270px 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; width: fit-content; color: var(--ink); text-decoration: none; font-size: 30px; line-height: 1; letter-spacing: 0; }
.brand span { font-weight: 400; }
.brand b { padding: 5px 7px 4px; background: var(--sky); font-weight: 900; }
.main-nav { display: flex; justify-content: center; gap: 26px; font-size: 14px; font-weight: 700; }
.main-nav a { text-decoration: none; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { border-color: var(--ink); }
.search-open, .search-panel button, .search-row button { border: 2px solid var(--ink); border-radius: 0; background: var(--paper); padding: 9px 14px; font-weight: 700; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.search-open:hover, .search-panel button:hover, .search-row button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.kicker, .eyebrow { display: inline-block; font-size: 12px; line-height: 1.2; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { text-decoration: none; border-bottom: 3px solid var(--yellow); }

.issue-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; padding: 70px 0 48px; border-top: 1px solid var(--line); }
.issue-intro h1 { max-width: 760px; margin: 10px 0 0; font-size: clamp(50px, 7vw, 96px); line-height: .92; letter-spacing: 0; }
.issue-intro p { margin: 0; font-size: 19px; line-height: 1.45; }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); min-height: 540px; border: 2px solid var(--ink); background: var(--sky-light); box-shadow: 10px 10px 0 var(--yellow); }
.lead-visual { position: relative; min-width: 0; overflow: hidden; }
.lead-visual a, .lead-visual img { width: 100%; height: 100%; }
.lead-visual img { object-fit: cover; }
.issue-stamp { position: absolute; left: 18px; bottom: 18px; padding: 7px 10px; background: var(--yellow); border: 1px solid var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.lead-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 44px; border-left: 2px solid var(--ink); }
.lead-copy h2 { margin: 18px 0; font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: 0; }
.lead-copy h2 a { text-decoration: none; }
.lead-copy p { margin: 0 0 26px; }
.read-link { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--ink); }
.story-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.section-heading { display: grid; grid-template-columns: 80px 1fr 300px; gap: 20px; align-items: baseline; padding: 78px 0 28px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: 40px; line-height: 1; }
.section-heading p { margin: 0; font-size: 15px; }
.section-number { color: var(--coral); font-size: 16px; font-weight: 800; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-top: 28px; }
.story-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; border-bottom: 2px solid var(--ink); padding-bottom: 26px; }
.story-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sky-light); }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.story-card:hover .story-image img { transform: scale(1.025); }
.story-copy { padding-top: 18px; }
.story-copy h3 { margin: 12px 0 10px; font-size: 27px; line-height: 1.08; }
.story-copy h3 a { text-decoration: none; }
.story-copy p { margin: 0; font-size: 15px; }
.story-copy .story-meta { margin-top: 18px; }
.editorial-band { margin-top: 88px; padding: 70px 0; background: var(--sky); border-block: 2px solid var(--ink); }
.band-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px 80px; align-items: end; }
.band-statement { grid-row: span 2; margin: 0; font-size: clamp(44px, 6vw, 78px); line-height: .98; }
.band-statement strong { display: inline; background: var(--yellow); box-shadow: 8px 0 0 var(--yellow), -8px 0 0 var(--yellow); }
.band-grid > div p { margin: 10px 0 0; }
.band-link { justify-self: start; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--ink); }
.search-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 360px; padding: 34px; background: var(--yellow); border: 2px solid var(--ink); }
.search-panel h3 { margin: 15px 0; font-size: 34px; line-height: 1.05; }
.search-panel p { margin: 0 0 24px; }
.category-index { padding-bottom: 100px; }
.category-lines a { display: grid; grid-template-columns: 70px 270px 1fr 30px; gap: 20px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--ink); text-decoration: none; }
.category-lines a:hover { background: var(--sky-light); }
.category-lines span { color: var(--coral); font-size: 13px; font-weight: 800; }
.category-lines strong { font-size: 23px; }
.category-lines em { font-size: 14px; font-style: normal; }

.article-header { display: grid; grid-template-columns: minmax(0, 900px) 100px; justify-content: space-between; gap: 40px; padding: 78px 0 42px; border-top: 1px solid var(--ink); }
.article-heading h1 { max-width: 950px; margin: 18px 0 24px; font-size: clamp(45px, 6vw, 78px); line-height: .98; }
.article-heading > p { max-width: 760px; margin: 0; font-size: 20px; line-height: 1.45; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 13px; font-weight: 700; }
.article-folio { align-self: start; padding: 14px; background: var(--yellow); border: 2px solid var(--ink); text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; box-shadow: 6px 6px 0 var(--sky); }
.article-folio strong { display: block; font-size: 40px; line-height: 1; }
.article-hero { margin-bottom: 70px; }
.article-hero img { width: 100%; aspect-ratio: 3 / 1.65; object-fit: cover; border: 2px solid var(--ink); }
.article-hero figcaption { padding-top: 8px; font-size: 12px; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 75px; justify-content: center; align-items: start; }
.article-aside { position: sticky; top: 24px; padding: 22px; background: var(--sky-light); border-top: 5px solid var(--sky); }
.article-aside p { font-size: 14px; }
.article-aside a { font-size: 13px; font-weight: 800; }
.article-body { min-width: 0; font-size: 18px; line-height: 1.75; }
.article-body .article-intro { margin-top: 0; font-size: 22px; line-height: 1.58; font-weight: 700; }
.article-body h2 { margin: 64px 0 16px; font-size: 38px; line-height: 1.08; }
.article-body h3 { margin: 42px 0 12px; font-size: 25px; line-height: 1.15; }
.article-body p { margin: 0 0 24px; }
.article-body li { margin-bottom: 8px; }
.takeaway { margin: 50px 0 0; padding: 28px 30px; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--sky); }
.takeaway strong { font-size: 22px; }
.article-next { padding: 90px 0 110px; }
.article-next > .kicker { padding-bottom: 12px; border-bottom: 2px solid var(--ink); width: 100%; }

.category-hero { padding: 76px 0 55px; background: var(--sky); border-block: 2px solid var(--ink); }
.category-hero .wrap { position: relative; }
.category-hero h1 { max-width: 900px; margin: 10px 0 18px; font-size: clamp(52px, 8vw, 100px); line-height: .92; }
.category-hero p { max-width: 600px; margin: 0; font-size: 19px; }
.category-count { position: absolute; right: 0; bottom: 0; padding: 8px 11px; background: var(--yellow); border: 1px solid var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.category-stories { padding-block: 56px 90px; }
.story-grid-category { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-switch { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-bottom: 100px; }
.category-switch .kicker { width: 100%; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.category-switch a { font-size: 22px; font-weight: 800; text-decoration: none; }

.site-footer { padding: 58px 0; color: white; background: var(--ink); border-top: 8px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 70px; }
.footer-brand { color: white; }
.footer-brand b { color: var(--ink); }
.footer-grid p { max-width: 420px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a, .footer-grid span, .footer-search { font-size: 14px; }
.footer-search { padding: 0; color: white; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.search-dialog { width: min(760px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 3px solid var(--ink); border-radius: 0; box-shadow: 12px 12px 0 var(--yellow); }
.search-dialog::backdrop { background: rgb(139 217 247 / .82); }
.search-head { display: flex; justify-content: space-between; gap: 20px; padding: 28px; border-bottom: 2px solid var(--ink); }
.search-head h2 { margin: 8px 0 0; font-size: 34px; line-height: 1.05; }
.icon-button { width: 42px; height: 42px; flex: 0 0 42px; padding: 0; border: 2px solid var(--ink); background: var(--yellow); font-size: 30px; line-height: 1; cursor: pointer; }
.search-form { padding: 25px 28px; }
.search-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-row input { min-width: 0; padding: 12px; border: 2px solid var(--ink); border-radius: 0; }
.search-row button { box-shadow: none; background: var(--yellow); }
.search-results { padding: 0 28px 30px; }
.result-count { font-size: 13px; font-weight: 800; }
.search-result { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--ink); text-decoration: none; }
.search-result span { color: #555; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.search-result strong { font-size: 20px; line-height: 1.15; }
.search-result em { font-size: 13px; font-style: normal; }

@media (max-width: 920px) {
  .masthead { grid-template-columns: 1fr auto; min-height: 84px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; padding-bottom: 14px; }
  .issue-intro { grid-template-columns: 1fr; gap: 22px; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-visual { aspect-ratio: 3 / 2; }
  .lead-copy { border-left: 0; border-top: 2px solid var(--ink); }
  .section-heading { grid-template-columns: 50px 1fr; }
  .section-heading p { grid-column: 2; }
  .story-grid-three, .story-grid-category { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-panel { min-height: 320px; }
  .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  body { font-size: 16px; }
  .topline-inner span:last-child { display: none; }
  .masthead { gap: 12px; }
  .brand { font-size: 24px; }
  .search-open { padding: 7px 9px; box-shadow: 3px 3px 0 var(--ink); }
  .main-nav { gap: 18px; font-size: 13px; }
  .issue-intro { padding: 48px 0 30px; }
  .issue-intro h1 { font-size: 51px; }
  .issue-intro p { font-size: 17px; }
  .lead-story { box-shadow: 6px 6px 0 var(--yellow); }
  .lead-copy { padding: 26px 20px; }
  .lead-copy h2 { font-size: 37px; }
  .section-heading { grid-template-columns: 34px 1fr; padding-top: 58px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading p { font-size: 14px; }
  .story-grid, .story-grid-three, .story-grid-category { grid-template-columns: 1fr; }
  .story-copy h3 { font-size: 25px; }
  .editorial-band { margin-top: 64px; padding: 52px 0; }
  .band-grid { grid-template-columns: 1fr; gap: 28px; }
  .band-statement { grid-row: auto; font-size: 45px; }
  .category-lines a { grid-template-columns: 34px 1fr 20px; gap: 10px; }
  .category-lines strong { font-size: 19px; }
  .category-lines em { display: none; }
  .article-header { grid-template-columns: 1fr; padding-top: 50px; }
  .article-heading h1 { font-size: 45px; }
  .article-heading > p { font-size: 18px; }
  .article-folio { display: none; }
  .article-hero { width: 100%; margin-bottom: 45px; }
  .article-hero img { border-inline: 0; aspect-ratio: 4 / 3; }
  .article-hero figcaption { padding-inline: 14px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-aside { position: static; }
  .article-body { font-size: 17px; line-height: 1.72; }
  .article-body .article-intro { font-size: 20px; }
  .article-body h2 { margin-top: 52px; font-size: 31px; }
  .article-body h3 { font-size: 23px; }
  .article-next { padding: 70px 0 80px; }
  .category-hero { padding-top: 52px; }
  .category-hero h1 { font-size: 52px; overflow-wrap: anywhere; }
  .category-count { position: static; display: inline-block; margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .search-head { padding: 21px; }
  .search-head h2 { font-size: 28px; }
  .search-form { padding: 20px; }
  .search-row { grid-template-columns: 1fr; }
  .search-results { padding: 0 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
