:root {
  --ink: #17232a;
  --muted: #60717a;
  --sky: #a9def4;
  --sky-soft: #eaf8fd;
  --blue: #12658a;
  --lemon: #f4df42;
  --white: #fff;
  --line: #c8dce4;
  --paper: #f8fcfd;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
button, input { font: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--lemon); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.topline { min-height: 38px; background: var(--ink); color: var(--white); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.topline-inner, .nav-inner, .wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.topline-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.weather-note { color: var(--lemon); }
.nav-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; min-height: 88px; }
.brand { text-decoration: none; line-height: 1; }
.brand-main { display: block; font-size: 1.48rem; font-weight: 800; letter-spacing: .01em; }
.brand-sub { display: block; margin-top: 7px; color: var(--muted); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; justify-content: center; gap: 27px; }
.main-nav a { font-size: .87rem; font-weight: 700; text-decoration: none; }
.search-open { border: 1px solid var(--ink); background: var(--white); min-height: 42px; padding: 8px 14px; cursor: pointer; font-weight: 700; }
.search-open:hover { background: var(--lemon); }
.search-icon { display: inline-block; width: 12px; height: 12px; margin-right: 9px; border: 2px solid currentColor; border-radius: 50%; position: relative; top: 1px; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 2px; background: currentColor; right: -5px; bottom: -3px; transform: rotate(45deg); }
.mobile-nav { display: none; }

.home-intro { background: var(--sky); padding: 34px 0 28px; }
.home-intro .wrap { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.home-intro h1 { max-width: 800px; margin: 0; font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: .99; }
.issue { min-width: 135px; border-left: 5px solid var(--lemon); padding-left: 14px; font-size: .78rem; }
.issue strong { display: block; font-size: 1rem; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr); gap: 26px; padding-top: 30px; }
.lead-story { position: relative; min-height: 610px; overflow: hidden; }
.lead-story img { width: 100%; height: 610px; object-fit: cover; }
.lead-copy { position: absolute; inset: auto 0 0 0; padding: 80px 34px 30px; color: var(--white); background: linear-gradient(transparent, rgba(8,26,35,.92)); }
.tag { display: inline-block; background: var(--lemon); color: var(--ink); padding: 5px 9px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.lead-copy h2 { max-width: 760px; margin: 13px 0 8px; font-size: clamp(1.8rem, 3.5vw, 3.2rem); line-height: 1.07; }
.lead-copy h2 a { text-decoration: none; }
.meta { margin: 0; color: var(--muted); font-size: .76rem; }
.lead-copy .meta { color: #e8f5f8; }
.side-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.mini-story { display: grid; grid-template-rows: 190px auto; border-top: 6px solid var(--lemon); }
.mini-story img { width: 100%; height: 190px; object-fit: cover; }
.mini-copy { padding: 16px 2px 6px; }
.mini-copy h2 { margin: 5px 0 8px; font-size: 1.28rem; line-height: 1.25; }
.mini-copy h2 a { text-decoration: none; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 74px 0 25px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.section-head h2 { margin: 0; font-size: 1.55rem; }
.section-head a { color: var(--blue); font-size: .82rem; font-weight: 700; }
.story-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.story-card { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-card h3 { margin: 12px 0 8px; font-size: 1.2rem; line-height: 1.25; }
.story-card h3 a { text-decoration: none; }
.story-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.category-band { margin-top: 82px; background: var(--sky-soft); border-block: 1px solid var(--line); padding: 58px 0; }
.category-grid { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 24px; }
.category-lead h2 { margin: 4px 0 12px; font-size: 1.8rem; line-height: 1.15; }
.category-lead p { max-width: 310px; color: var(--muted); }
.category-link { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; border-top: 8px solid var(--lemon); background: var(--white); padding: 23px; text-decoration: none; }
.category-link:nth-child(3) { border-color: var(--sky); }
.category-link:nth-child(4) { border-color: var(--ink); }
.category-link strong { font-size: 1.22rem; line-height: 1.2; }
.category-link span { color: var(--blue); font-size: .78rem; font-weight: 700; }
.site-footer { margin-top: 84px; background: var(--ink); color: var(--white); padding: 45px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-grid h2, .footer-grid h3 { margin-top: 0; }
.footer-grid p { color: #c8d6dc; font-size: .85rem; max-width: 420px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--white); font-size: .84rem; }
.copyright { margin-top: 35px; padding-top: 18px; border-top: 1px solid #43545c; color: #9fb0b8; font-size: .72rem; }

.page-hero { background: var(--sky); padding: 55px 0 45px; }
.page-hero h1 { margin: 6px 0 12px; max-width: 820px; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.05; }
.page-hero p { max-width: 680px; margin: 0; }
.listing { padding-top: 44px; }
.list-item { display: grid; grid-template-columns: 330px 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.list-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.list-item h2 { margin: 5px 0 10px; font-size: 1.55rem; line-height: 1.2; }
.list-item h2 a { text-decoration: none; }
.list-item p { color: var(--muted); }

.article-shell { width: min(calc(100% - 40px), 1080px); margin-inline: auto; }
.breadcrumbs { padding: 18px 0; color: var(--muted); font-size: .75rem; }
.article-header { padding: 35px 0 30px; }
.article-header h1 { max-width: 900px; margin: 12px 0 16px; font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: 1.02; }
.article-deck { max-width: 760px; margin: 0 0 18px; font-size: 1.12rem; color: #43545c; }
.article-hero { width: 100%; max-height: 680px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 700px); justify-content: center; gap: 45px; padding-top: 45px; }
.article-aside { position: sticky; top: 20px; align-self: start; border-top: 5px solid var(--lemon); padding-top: 15px; font-size: .75rem; color: var(--muted); }
.article-aside strong { display: block; color: var(--ink); margin-bottom: 6px; }
.article-body { min-width: 0; font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 1.02rem; }
.article-body > p:first-child { font-size: 1.16rem; color: #334850; }
.article-body h2 { margin: 2.5em 0 .7em; font-size: 1.75rem; line-height: 1.2; }
.article-body h3 { margin: 2em 0 .5em; font-size: 1.25rem; line-height: 1.25; }
.article-body h4 { margin: 1.7em 0 .4em; font-size: 1rem; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 7px; }
.tip { margin: 30px 0; border-left: 7px solid var(--lemon); background: var(--sky-soft); padding: 20px 24px; }
.tip strong { display: block; margin-bottom: 6px; }
.article-end { margin-top: 45px; border-top: 1px solid var(--line); padding-top: 24px; }
.article-end a { color: var(--blue); font-weight: 700; }

.search-dialog { width: min(680px, calc(100% - 28px)); max-height: 82vh; border: 0; padding: 0; box-shadow: 0 20px 80px rgba(5,28,38,.25); }
.search-dialog::backdrop { background: rgba(13,34,43,.62); }
.search-dialog[open] { position: fixed; inset: 0; z-index: 60; margin: auto; overflow: auto; background: var(--white); }
.search-panel { padding: 26px; }
.search-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.search-top h2 { margin: 0; }
.search-close { width: 42px; height: 42px; border: 1px solid var(--ink); background: var(--white); cursor: pointer; font-size: 1.4rem; }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 24px 0 10px; }
.search-form input { min-width: 0; border: 1px solid var(--ink); padding: 12px; }
.search-form button { border: 1px solid var(--ink); background: var(--lemon); padding: 10px 16px; cursor: pointer; font-weight: 700; }
.search-results { display: grid; gap: 14px; margin-top: 20px; }
.search-result { border-top: 1px solid var(--line); padding-top: 13px; }
.search-result a { font-weight: 800; text-decoration: none; }
.search-result p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.empty-state { color: var(--muted); }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; min-height: 76px; gap: 14px; }
  .mobile-nav { display: block; grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 10px 0 14px; }
  .mobile-nav summary { font-weight: 700; cursor: pointer; }
  .mobile-links { display: grid; gap: 10px; padding: 12px 0 2px; }
  .lead-grid { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .lead-story, .lead-story img { min-height: 520px; height: 520px; }
  .story-row { grid-template-columns: 1fr 1fr; }
  .story-card:last-child { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 15px; }
  .article-aside { position: static; }
}

@media (max-width: 590px) {
  .topline-inner, .nav-inner, .wrap, .article-shell { width: min(calc(100% - 28px), var(--max)); }
  .topline-inner span:last-child { display: none; }
  .brand-main { font-size: 1.12rem; }
  .brand-sub { font-size: .58rem; }
  .search-open { width: 42px; padding: 8px; overflow: hidden; color: transparent; }
  .search-icon { color: var(--ink); margin: 0; }
  .home-intro .wrap { display: block; }
  .home-intro h1 { font-size: 2.35rem; }
  .issue { margin-top: 20px; }
  .lead-grid { padding-top: 14px; }
  .lead-story, .lead-story img { min-height: 470px; height: 470px; }
  .lead-copy { padding: 70px 18px 22px; }
  .lead-copy h2 { font-size: 1.75rem; }
  .side-stack, .story-row, .category-grid, .footer-grid { grid-template-columns: 1fr; }
  .story-card:last-child { grid-column: auto; }
  .section-head { margin-top: 50px; }
  .category-lead p { max-width: none; }
  .category-link { min-height: 150px; }
  .list-item { grid-template-columns: 1fr; gap: 15px; }
  .article-header h1 { font-size: 2.45rem; }
  .article-layout { padding-top: 28px; }
  .article-body { font-size: .98rem; }
  .article-body h2 { font-size: 1.5rem; }
  .search-form { grid-template-columns: 1fr; }
}
