:root {
  --ink: #132f3c;
  --ink-soft: #4c6470;
  --forest: #123247;
  --forest-2: #19566b;
  --lime: #57d6c0;
  --lime-soft: #dff8f3;
  --cream: #f6f4ec;
  --paper: #fbfdfa;
  --line: #d6e3e7;
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 50, 71, .13);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.section-shell { width: var(--shell); 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: 100000; top: 12px; left: 12px; padding: 10px 14px;
  border-radius: 10px; color: var(--white); background: var(--forest); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #f3b64b; outline-offset: 3px; }

.site-header {
  position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(214, 227, 231, .88);
  background: rgba(251, 253, 250, .92); backdrop-filter: blur(14px); transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(18, 50, 71, .09); }
.header-inner {
  width: var(--shell); min-height: 76px; margin-inline: auto; display: grid;
  grid-template-columns: 48px 1fr minmax(260px, 390px); align-items: center; gap: 18px;
}
.header-inner.legal-header { grid-template-columns: 1fr auto; }
.icon-button {
  display: inline-grid; place-items: center; border: 0; cursor: pointer; background: transparent;
}
.menu-button { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); }
.menu-button span { width: 18px; height: 2px; margin: 2px 0; border-radius: 2px; background: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  color: var(--forest); background: var(--lime); font-family: Georgia, serif; font-size: 26px; font-weight: 700;
}
.brand-icon { object-fit: cover; background: var(--forest); }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 1px; color: var(--ink-soft); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.search-form {
  display: flex; min-height: 44px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within { border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(87, 214, 192, .22); }
.search-form input { min-width: 0; flex: 1; padding: 0 8px 0 18px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-form button { width: 48px; border: 0; cursor: pointer; color: var(--forest); background: transparent; }
.search-form svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.header-home-link { justify-self: end; color: var(--forest-2); font-weight: 800; text-decoration: none; }
.back-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; }

.drawer-backdrop { position: fixed; z-index: 1900; inset: 0; background: rgba(7, 24, 34, .54); backdrop-filter: blur(3px); }
.topic-drawer {
  position: fixed; z-index: 2000; inset: 0 auto 0 0; width: min(390px, 88vw); padding: 28px;
  color: var(--white); background: var(--forest); box-shadow: 20px 0 60px rgba(0, 0, 0, .22);
  transform: translateX(-105%); visibility: hidden; transition: transform .3s ease, visibility .3s;
}
.topic-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-head p { margin: 0; font-family: Georgia, serif; font-size: 28px; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; color: var(--forest); background: var(--lime); font-size: 29px; }
.topic-drawer nav { display: grid; gap: 6px; }
.drawer-topic {
  display: flex; justify-content: space-between; gap: 18px; padding: 15px 4px; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.13); color: inherit; background: transparent;
  cursor: pointer; text-align: left;
}
.drawer-topic span { color: #cfe5ec; }
.drawer-note { position: absolute; right: 28px; bottom: 28px; left: 28px; color: #b9d2da; font-size: 12px; line-height: 1.6; }

.ad-slot { position: relative; display: grid; place-items: center; margin-inline: auto; overflow: hidden; color: #87989e; background: #eff4f3; }
.ad-slot--banner { width: min(100%, 300px); min-height: 250px; margin-block: 20px; }
.ad-slot .ad-label { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ad-slot.is-empty { display: none; }
.hero-section { padding-block: 40px; }
.eyebrow { margin: 0 0 12px; color: #187e72; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.featured-carousel { position: relative; width: 100%; min-width: 0; }
.featured-stage { min-height: 480px; }
.featured-card {
  position: relative; display: flex; min-height: 480px; align-items: end; overflow: hidden;
  border-radius: 30px; color: var(--white); background: var(--forest); box-shadow: var(--shadow);
  cursor: pointer; text-decoration: none;
}
.featured-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 26%, rgba(7,30,44,.9) 100%); }
.featured-copy { position: relative; z-index: 1; width: min(88%, 650px); padding: clamp(28px, 5vw, 48px); }
.featured-copy p { margin: 0 0 9px; color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.featured-copy h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(27px, 3.4vw, 44px); line-height: 1.08; }
.featured-copy .featured-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 14px; font-weight: 800; }
.carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: #c8d3cf; }
.carousel-dot[aria-current="true"] { width: 25px; border-radius: 999px; background: var(--forest-2); }

.topic-strip { display: grid; grid-template-columns: 220px 1fr; gap: 42px; align-items: center; padding-block: 58px; border-block: 1px solid var(--line); }
.topic-strip h2, .section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 3vw, 43px); letter-spacing: -.035em; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chip {
  padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  color: var(--ink-soft); background: var(--white); font-size: 13px; font-weight: 750;
}
.topic-chip:hover, .topic-chip.is-active { border-color: var(--forest); color: var(--white); background: var(--forest); }

.stories-section { padding-block: 70px 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.results-status { margin: 0 0 5px; color: var(--ink-soft); font-size: 14px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.article-grid[hidden] { display: none; }
.story-card {
  content-visibility: auto; contain-intrinsic-size: 390px; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.story-card:hover { transform: translateY(-5px); border-color: #c5d7cc; box-shadow: var(--shadow); }
.story-card > a { display: flex; height: 100%; flex-direction: column; text-decoration: none; }
.story-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #e8eee9; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.story-card:hover .story-image img { transform: scale(1.035); }
.story-copy { display: flex; min-height: 176px; flex: 1; flex-direction: column; padding: 22px; }
.story-category { margin: 0 0 10px; color: #187e72; font-size: 11px; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.story-copy h3 { margin: 0; font-family: Georgia, serif; font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.story-cta { margin-top: auto; padding-top: 20px; color: var(--forest-2); font-size: 13px; font-weight: 850; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 42px; }
.page-button {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 11px; cursor: pointer; background: var(--white); font-weight: 800;
}
.page-button[aria-current="page"] { border-color: var(--forest); color: var(--white); background: var(--forest); }
.page-button:disabled { cursor: not-allowed; opacity: .38; }
.empty-state { padding: 60px 20px; border: 1px dashed #b8c9c0; border-radius: var(--radius); text-align: center; }
.empty-state h3 { margin: 0; font-family: Georgia, serif; font-size: 32px; }
.empty-state p { color: var(--ink-soft); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 850; text-decoration: none; }
.button--primary { color: var(--white); background: var(--forest); }
.site-footer { padding: 48px 0 82px; color: #dcecf1; background: var(--forest); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.brand--footer { color: var(--white); }
.brand--footer .brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 22px; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a { color: inherit; text-decoration: none; }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #93b4c0; font-size: 12px; }
.back-to-top {
  position: fixed; z-index: 900; right: 24px; bottom: 76px; display: grid; place-items: center; width: 46px; height: 46px;
  border: 0; border-radius: 50%; opacity: 0; pointer-events: none; cursor: pointer; color: var(--white); background: var(--forest);
  box-shadow: 0 10px 28px rgba(23,63,53,.28); transform: translateY(10px); transition: opacity .2s, transform .2s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reading-progress { position: fixed; z-index: 3000; top: 0; left: 0; width: 0; height: 3px; background: var(--lime); }
.article-shell { width: min(940px, calc(100% - 40px)); margin: 58px auto 90px; }
.article-loading { max-width: 820px; min-height: 280px; margin: 90px auto; text-align: center; }
.loading-line {
  width: min(100%, 720px); height: 20px; margin: 18px auto; border-radius: 999px;
  background: linear-gradient(90deg, #eef1ec 25%, #f8faf6 50%, #eef1ec 75%); background-size: 200% 100%;
  animation: loading-sheen 1.2s linear infinite;
}
.loading-line--title { height: 54px; }
.loading-line--short { width: min(62%, 430px); }
@keyframes loading-sheen { to { background-position: -200% 0; } }
.article-header { max-width: 820px; margin-inline: auto; text-align: center; }
.article-category { color: #638528; font-size: 12px; font-weight: 900; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.article-header h1 { margin: 18px 0 20px; font-family: Georgia, serif; font-size: clamp(38px, 6vw, 68px); line-height: 1.05; letter-spacing: -.045em; }
.article-meta { display: flex; justify-content: center; gap: 10px; color: var(--ink-soft); font-size: 13px; }
.article-hero { margin: 48px 0; overflow: hidden; border-radius: 30px; background: #e9eeea; box-shadow: var(--shadow); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 58px minmax(0, 720px); gap: 30px; justify-content: center; }
.share-rail { position: sticky; top: 110px; display: flex; height: fit-content; flex-direction: column; gap: 9px; align-items: center; }
.share-rail > span { margin-bottom: 3px; color: var(--ink-soft); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; }
.share-rail button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: var(--white); font-size: 13px; font-weight: 900; }
.share-rail button:hover { border-color: var(--forest); color: var(--white); background: var(--forest); }
.article-body { min-width: 0; color: #29463f; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.85; }
.article-body .artic > p { margin: 0 0 1.45em; }
.article-body .artic > p:first-child { font-size: 22px; line-height: 1.7; }
.article-body .artic > p:first-child::first-letter { float: left; margin: .09em .1em 0 0; color: var(--forest); font-size: 4.2em; font-weight: 700; line-height: .72; }
.ad-slot--inline { margin-block: 48px; }
.related-section { margin-top: 80px; padding-top: 50px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.related-card a { text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-card h3 { margin: 0; padding: 17px; font-family: Georgia, serif; font-size: 18px; line-height: 1.25; }
.article-missing { max-width: 680px; margin: 130px auto; text-align: center; }
.article-missing h1 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 52px; }
.article-missing p:not(.eyebrow) { margin-bottom: 25px; color: var(--ink-soft); }

.legal-shell { width: min(780px, calc(100% - 40px)); margin: 70px auto 100px; }
.legal-shell h1 { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 64px); letter-spacing: -.04em; }
.legal-shell h2 { margin-top: 36px; font-family: Georgia, serif; font-size: 26px; }
.legal-shell p, .legal-shell li { color: var(--ink-soft); line-height: 1.75; }

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; padding-top: 46px; }
  .featured-stage, .featured-card { min-height: 440px; }
  .topic-strip { grid-template-columns: 1fr; gap: 22px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; grid-template-columns: 42px 1fr auto; gap: 11px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand small { display: none; }
  .search-form { grid-column: 1 / -1; margin-bottom: 12px; }
  .detail-page .header-inner { grid-template-columns: 42px 1fr auto; }
  .header-home-link { font-size: 13px; }
  .ad-slot--banner { margin-block: 12px; }
  .hero-section { padding-block: 35px; }
  .featured-stage, .featured-card { min-height: 400px; }
  .featured-copy { padding: 28px 24px 74px; }
  .topic-strip { padding-block: 42px; }
  .stories-section { padding-block: 52px 70px; }
  .section-heading { display: block; }
  .results-status { margin-top: 12px; }
  .article-grid, .related-grid { grid-template-columns: 1fr; }
  .story-copy { min-height: 150px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .article-shell { width: min(100% - 28px, 940px); margin-top: 38px; }
  .article-header { text-align: left; }
  .article-meta { justify-content: flex-start; flex-wrap: wrap; }
  .article-hero { margin: 30px 0; border-radius: 20px; }
  .article-layout { display: block; }
  .share-rail { position: static; flex-direction: row; margin-bottom: 28px; }
  .share-rail > span { margin: 0 4px 0 0; writing-mode: initial; }
  .article-body { font-size: 18px; line-height: 1.78; }
  .article-body .artic > p:first-child { font-size: 20px; }
}

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