:root {
  --ink: #10213a;
  --navy: #0b1b34;
  --navy-soft: #18314f;
  --mint: #a8efd3;
  --mint-strong: #62d8ae;
  --mint-pale: #e6faf2;
  --paper: #ffffff;
  --mist: #f3f7f6;
  --line: #ccdad6;
  --muted: #5b6975;
  --warm: #f3b66d;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lucida Sans", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--mint-strong);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.masthead {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy);
  line-height: 1;
}

.brand-main {
  font-size: clamp(1.35rem, 3vw, 2.45rem);
  font-weight: 700;
}

.brand-tail {
  margin-top: 6px;
  color: #287b65;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header-note {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
  text-align: right;
}

.nav-band {
  background: var(--navy);
  color: var(--paper);
}

.nav-inner {
  min-height: 54px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.main-nav {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: thin;
}

.main-nav a {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 0 17px;
  border-bottom: 3px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--mint);
  background: var(--navy-soft);
}

.search-open {
  min-height: 54px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid #35506f;
  border-right: 1px solid #35506f;
  background: transparent;
  color: var(--paper);
  font-weight: 700;
}

.search-open:hover {
  background: var(--mint);
  color: var(--navy);
}

main {
  min-height: 60vh;
}

.feature-wrap {
  padding-top: 32px;
}

.feature {
  position: relative;
  min-height: min(690px, 76vh);
  overflow: hidden;
  background: var(--navy);
}

.feature > img {
  width: 100%;
  height: min(690px, 76vh);
  min-height: 520px;
  object-fit: cover;
}

.feature-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(735px, 76%);
  padding: clamp(24px, 5vw, 64px);
  background: rgba(11, 27, 52, 0.94);
  color: var(--paper);
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: #287b65;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.feature .eyebrow {
  color: var(--mint);
}

.feature h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.65rem);
  line-height: 1.03;
  font-weight: 700;
}

.feature h1 a {
  text-decoration: none;
}

.feature-summary {
  max-width: 58ch;
  margin: 20px 0 0;
  color: #dbe8e5;
  font-size: 1rem;
  line-height: 1.65;
}

.feature-meta,
.card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 0.78rem;
}

.feature-meta {
  color: var(--mint);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 88px 0 26px;
  border-bottom: 1px solid var(--ink);
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.15;
}

.section-head p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px 24px;
  padding: 36px 0 100px;
}

.story-card {
  grid-column: span 4;
  min-width: 0;
}

.story-card:nth-child(1),
.story-card:nth-child(4) {
  grid-column: span 7;
}

.story-card:nth-child(2),
.story-card:nth-child(3) {
  grid-column: span 5;
}

.story-card a {
  text-decoration: none;
}

.card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--mist);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.story-card:hover .card-image img,
.list-story:hover img {
  transform: scale(1.02);
}

.card-body {
  padding-top: 20px;
}

.card-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.2;
}

.card-body p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.card-meta {
  margin-top: 14px;
  color: #287b65;
}

.category-band {
  background: var(--mint-pale);
}

.category-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.7fr;
  gap: 80px;
  padding: 88px 0 96px;
}

.category-intro h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
}

.category-intro p {
  max-width: 34ch;
  margin: 18px 0 0;
  color: var(--muted);
}

.category-links {
  border-top: 1px solid #7ba99a;
}

.category-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 23px 4px;
  border-bottom: 1px solid #7ba99a;
  text-decoration: none;
}

.category-link:hover {
  background: rgba(255, 255, 255, 0.45);
}

.category-number {
  color: #287b65;
  font-size: 0.75rem;
}

.category-name {
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  font-weight: 700;
}

.category-count {
  color: var(--muted);
  font-size: 0.78rem;
}

.page-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  padding: 86px 0 55px;
  border-bottom: 1px solid var(--ink);
}

.breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.page-head h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.page-intro {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.list-stories {
  padding: 18px 0 96px;
}

.list-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: 48px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.list-story:first-child {
  border-top: 0;
}

.list-story .card-image {
  aspect-ratio: 3 / 2;
}

.list-story h2 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.list-story h2 a {
  text-decoration: none;
}

.list-story p {
  max-width: 60ch;
  margin: 16px 0 0;
  color: var(--muted);
}

.article-head {
  padding: 66px 0 42px;
}

.article-head .breadcrumbs {
  margin-bottom: 38px;
}

.article-title-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 56px;
}

.article-head h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.3rem, 5.4vw, 5.4rem);
  line-height: 1.01;
}

.article-deck {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.article-hero {
  width: min(calc(100% - 48px), 1440px);
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--mist);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(230px, 1fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
  padding: 72px 0 110px;
}

.article-body {
  min-width: 0;
  color: #263747;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  line-height: 1.82;
}

.article-body .lead {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.72;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--navy);
  font-family: "Lucida Sans", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.article-body h2 {
  margin: 2.9em 0 0.7em;
  font-size: 1.85rem;
  line-height: 1.22;
}

.article-body h3 {
  margin: 2.1em 0 0.6em;
  font-size: 1.3rem;
  line-height: 1.3;
}

.article-body h4 {
  margin: 1.8em 0 0.5em;
  color: #287b65;
  font-size: 1rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 1.35em;
}

.article-body li {
  margin-bottom: 0.45em;
  padding-left: 0.3em;
}

.article-body li::marker {
  color: #287b65;
  font-weight: 700;
}

.article-side {
  position: sticky;
  top: 24px;
  padding-top: 18px;
  border-top: 4px solid var(--mint-strong);
}

.article-side h2 {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.mini-story {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.mini-story:first-of-type {
  border-top: 0;
}

.mini-story img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 12px;
}

.mini-story a {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.site-footer {
  background: var(--navy);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 56px;
  padding: 70px 0;
}

.footer-brand {
  margin: 0;
  color: var(--mint);
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-copy {
  max-width: 42ch;
  margin: 12px 0 0;
  color: #c5d2dd;
  font-size: 0.84rem;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  width: fit-content;
  color: #dbe5ec;
  font-size: 0.84rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid #35506f;
  color: #9fb0bf;
  font-size: 0.72rem;
}

.search-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 70px rgba(4, 13, 25, 0.35);
}

.search-dialog::backdrop {
  background: rgba(3, 12, 24, 0.76);
}

.search-panel {
  padding: clamp(22px, 5vw, 42px);
}

.search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.search-top h2 {
  margin: 0;
  font-size: 1.65rem;
}

.search-close {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-form input {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #84958f;
  border-radius: 4px;
  color: var(--ink);
}

.search-submit {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: var(--paper);
  font-weight: 700;
}

.search-status {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-results {
  display: grid;
  max-height: 400px;
  overflow-y: auto;
}

.search-result {
  display: block;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.search-result strong {
  display: block;
  color: var(--navy);
}

.search-result span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .header-note {
    display: none;
  }

  .masthead {
    min-height: 92px;
    grid-template-columns: 1fr;
  }

  .feature-copy {
    width: 88%;
  }

  .story-card,
  .story-card:nth-child(1),
  .story-card:nth-child(2),
  .story-card:nth-child(3),
  .story-card:nth-child(4) {
    grid-column: span 6;
  }

  .category-layout,
  .page-head,
  .article-title-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .category-layout {
    gap: 52px;
  }

  .page-head {
    gap: 24px;
  }

  .article-title-grid {
    align-items: start;
    gap: 28px;
  }

  .article-layout {
    gap: 60px;
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .masthead {
    min-height: 78px;
  }

  .brand-main {
    font-size: 1.25rem;
  }

  .nav-inner {
    gap: 0;
  }

  .main-nav a {
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .search-open {
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .feature-wrap {
    padding-top: 14px;
  }

  .feature {
    min-height: 610px;
  }

  .feature > img {
    height: 610px;
    min-height: 610px;
  }

  .feature-copy {
    width: 100%;
    padding: 24px 20px 28px;
  }

  .feature h1 {
    font-size: 2.05rem;
  }

  .feature-summary {
    display: none;
  }

  .section-head {
    display: block;
    padding-top: 58px;
  }

  .section-head p {
    margin-top: 10px;
  }

  .story-grid {
    row-gap: 42px;
    column-gap: 0;
    padding-bottom: 70px;
  }

  .story-card,
  .story-card:nth-child(1),
  .story-card:nth-child(2),
  .story-card:nth-child(3),
  .story-card:nth-child(4) {
    grid-column: 1 / -1;
  }

  .category-layout {
    padding: 64px 0 70px;
  }

  .category-intro h2 {
    font-size: 2.3rem;
  }

  .category-link {
    grid-template-columns: auto 1fr;
  }

  .category-count {
    grid-column: 2;
  }

  .page-head {
    padding: 58px 0 38px;
  }

  .page-head h1 {
    font-size: 2.3rem;
  }

  .list-story {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-head {
    padding: 46px 0 30px;
  }

  .article-head .breadcrumbs {
    margin-bottom: 24px;
  }

  .article-head h1 {
    font-size: 2.25rem;
  }

  .article-hero {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .article-layout {
    padding: 48px 0 74px;
  }

  .article-body {
    font-size: 1.03rem;
    line-height: 1.75;
  }

  .article-body .lead {
    font-size: 1.14rem;
  }

  .article-body h2 {
    font-size: 1.55rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .search-form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-image img {
    transition: none;
  }
}
