:root {
  --ink: #102b3b;
  --ink-deep: #071b27;
  --cyan: #3b687b;
  --coral: #9d2635;
  --paper: #fbfbfa;
  --soft: #f0f1ef;
  --line: #c7ced0;
  --muted: #40525a;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgb(7 27 39 / 16%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.dialog-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #dfe6e7; background: #f7f8f7; }

.topbar {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand message";
  align-items: center;
  gap: 32px;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.header-message {
  grid-area: message;
  max-width: 370px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 18px;
  border-left: 2px solid var(--coral);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.header-message > span { color: var(--coral); font-size: 1.65rem; line-height: 0.8; }

.menu-button { display: none; }

.main-nav { border-top: 1px solid #dfe6e7; }

.nav-inner { display: flex; align-items: center; gap: 29px; min-height: 58px; }

.nav-inner a {
  position: relative;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-inner a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-inner a:hover::after { transform: scaleX(1); }

.nav-inner .nav-about { margin-left: auto; color: var(--coral); }

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 84px);
}

.story-image { position: relative; display: block; overflow: hidden; background: #dfe9ea; }

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.story-image:hover img { transform: scale(1.025); filter: saturate(1.06); }

.lead-image { aspect-ratio: 1.35; box-shadow: 18px 18px 0 var(--soft); }

.image-cue {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 13px;
  color: white;
  background: rgb(5 43 60 / 90%);
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lead-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.72rem, 2.45vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

.lead-copy h1 a, .story-card h3 a { transition: color 160ms ease; }
.lead-copy h1 a:hover, .story-card h3 a:hover { color: var(--coral); }

.dek { margin: 24px 0; color: #294d5b; font-size: 1.12rem; line-height: 1.7; }

.story-tags { display: flex; flex-wrap: wrap; gap: 6px; color: var(--cyan); font-size: 0.78rem; font-weight: 800; }
.story-tags span:not(:last-child)::after { content: " /"; color: var(--line); }

.section { padding-block: clamp(54px, 7vw, 86px); border-top: 1px solid var(--line); }

.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-heading h2, .about h2, .help-strip h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.section-heading p { max-width: 500px; margin: 0; color: var(--muted); }

.news-grid { display: grid; gap: 30px; }
.news-grid--three { grid-template-columns: repeat(3, 1fr); }
.news-grid--four { grid-template-columns: repeat(4, 1fr); gap: 24px; }

.story-card { min-width: 0; }
.story-card .story-image { aspect-ratio: 1.42; margin-bottom: 22px; }
.story-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.7vw, 1.62rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.story-card > p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); }

.story-card--compact .story-image { aspect-ratio: 1; }
.story-card--compact h3 { font-size: 1.3rem; }
.story-card--compact > p:not(.eyebrow) { font-size: 0.94rem; }

.quote-band { color: white; background: var(--coral); }
.quote-inner {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 32px;
  padding-block: 60px;
  text-align: center;
}
.quote-inner p {
  max-width: 840px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.027em;
  text-wrap: balance;
}
.quote-plaque { border: 2px solid white; padding: 10px 28px; font-size: 0.95rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }

.editor-pick { color: white; background: var(--ink); }
.editor-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; align-items: stretch; min-height: 520px; }
.editor-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 56px 64px 0; }
.eyebrow--light { color: #5ce1f1; }
.editor-copy h2 { margin: 0 0 24px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.18; letter-spacing: -0.018em; text-wrap: balance; }
.editor-copy p:not(.eyebrow) { margin: 0 0 28px; color: #d8e5e8; font-size: 1.08rem; }
.text-link { width: max-content; padding-bottom: 3px; border-bottom: 2px solid var(--coral); font-weight: 800; }
.editor-image { min-height: 430px; }

.help-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-block: clamp(55px, 7vw, 90px);
}
.help-strip h2 { max-width: 760px; font-size: 1.3rem; }
.help-strip > a {
  padding: 13px 20px;
  color: white;
  background: var(--coral);
  border: 2px solid var(--coral);
  font-size: 0.9rem;
  font-weight: 850;
  transition: color 160ms ease, background 160ms ease;
}
.help-strip > a:hover { color: var(--coral); background: white; }

.about { padding-block: clamp(55px, 7vw, 90px); border-top: 1px solid var(--line); text-align: center; }
.about h2 { margin-bottom: 22px; }
.about > p:last-child { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

.site-footer { color: #d8e5e8; background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 60px; padding-block: 70px; }
.brand--footer { color: white; font-size: 1.85rem; }
.footer-grid p { margin: 18px 0 0; color: #b8c9cf; }
.footer-grid h2 { margin: 0 0 16px; color: white; font-size: 0.83rem; letter-spacing: 0.09em; text-transform: uppercase; }
.footer-grid a:not(.brand) { display: block; margin: 9px 0; color: #b8eaf2; text-decoration: underline; text-decoration-color: rgb(184 234 242 / 30%); text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 14%); font-size: 0.85rem; }

.article-dialog {
  width: min(860px, calc(100% - 28px));
  max-height: min(92vh, 980px);
  padding: 0;
  color: var(--ink-deep);
  background: white;
  border: 0;
  box-shadow: var(--shadow);
  overflow: auto;
}
.article-dialog::backdrop { background: rgb(5 28 39 / 76%); backdrop-filter: blur(3px); }
.dialog-close {
  position: sticky;
  z-index: 2;
  top: 14px;
  float: right;
  width: 42px;
  height: 42px;
  margin: 14px 14px -56px 0;
  color: white;
  background: rgb(5 43 60 / 88%);
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}
.article-dialog > article > img { width: 100%; max-height: 460px; object-fit: cover; }
.dialog-content { padding: clamp(30px, 6vw, 68px); }
.dialog-content h2 { margin: 0 0 20px; color: var(--ink); font-family: var(--serif); font-size: clamp(1.85rem, 3.8vw, 2.8rem); line-height: 1.07; letter-spacing: -0.025em; }
.dialog-intro { margin: 0 0 28px; color: #315967; font-size: 1.14rem; font-weight: 650; }
#dialog-body h3 { margin: 30px 0 8px; color: var(--ink); font-family: var(--serif); font-size: 1.45rem; }
#dialog-body p { margin: 0 0 18px; }
#dialog-body ul { margin: 0 0 22px; padding-left: 24px; }
#dialog-body li { margin-bottom: 8px; }
#dialog-body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-disclaimer { margin: 34px 0 0; padding: 18px; color: var(--muted); background: var(--soft); border-left: 4px solid var(--coral); font-size: 0.9rem; }

@media (max-width: 900px) {
  .shell { width: min(100% - 30px, 760px); }
  .topbar { min-height: 92px; grid-template-columns: 1fr auto; grid-template-areas: "brand menu"; }
  .brand { font-size: clamp(1.7rem, 7vw, 2.15rem); }
  .header-message { display: none; }
  .menu-button { grid-area: menu; display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; background: transparent; cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--ink); transition: transform 160ms ease, opacity 160ms ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-inner { align-items: stretch; flex-direction: column; gap: 0; padding-block: 10px 18px; }
  .nav-inner a { padding: 11px 0; border-bottom: 1px solid #dfe6e7; }
  .nav-inner .nav-about { margin-left: 0; }
  .lead-story { grid-template-columns: 1fr; padding-block: 42px 58px; }
  .lead-copy { max-width: 650px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .news-grid--three { grid-template-columns: repeat(2, 1fr); }
  .news-grid--three .story-card:first-child { grid-column: 1 / -1; }
  .news-grid--four { grid-template-columns: repeat(2, 1fr); }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-copy { padding: 60px 0; }
  .editor-image { min-height: auto; aspect-ratio: 1.45; }
  .help-strip { grid-template-columns: 1fr; }
  .help-strip > a { width: max-content; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 520px); }
  .lead-image { box-shadow: 8px 8px 0 var(--soft); }
  .image-cue { right: 10px; bottom: 10px; }
  .news-grid--three, .news-grid--four { grid-template-columns: 1fr; gap: 44px; }
  .news-grid--three .story-card:first-child { grid-column: auto; }
  .story-card--compact .story-image { aspect-ratio: 1.28; }
  .quote-inner { min-height: 330px; }
  .quote-plaque { padding: 10px 13px; font-size: 0.73rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .dialog-content { padding-inline: 23px; }
}

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