:root {
  color-scheme: light;
  --navy: #16362e;
  --ink: color-mix(in srgb, #16362e 87%, #65707a);
  --muted: #456158;
  --blue: #08735e;
  --deep-blue: #065543;
  --pale: #e5f3ec;
  --line: #d6e6df;
  --off-white: #f3f9f6;
  --white: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--off-white); }
[hidden] { display: none !important; }
a { color: var(--deep-blue); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, .brand { font-family: Manrope, 'DM Sans', system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; top: .75rem; left: .75rem; z-index: 3; padding: .7rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.875rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--navy); font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: 50%; color: var(--white); background: var(--blue); }
.brand-icon svg { width: 1.5rem; }
.brand-dot { color: var(--blue); }
.site-menu { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.7rem, 2.3vw, 1.75rem); font-size: .94rem; font-weight: 700; }
.site-menu a { text-decoration: none; color: var(--muted); }
.site-menu a:hover, .site-menu .selected { color: var(--deep-blue); }
.site-menu .selected { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-underline-offset: .4em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1rem; border-radius: 999px; color: var(--white); background: var(--deep-blue); font-weight: 800; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--navy); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.55rem 0; color: var(--muted); font-size: .9rem; }
.crumbs a { color: inherit; }
.index-hero { padding: clamp(2rem, 5vw, 4.1rem); border: 1px solid var(--line); border-radius: 2rem; background: linear-gradient(125deg, var(--pale), var(--off-white) 76%); }
.index-hero h1, .article-head h1 { max-width: 20ch; font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.05; letter-spacing: -.065em; font-weight: 800; }
.index-hero p, .article-head p { max-width: 57ch; margin-top: 1rem; color: var(--ink); font-size: clamp(1.03rem, 2vw, 1.19rem); line-height: 1.62; }
.index-hero .button { margin-top: 1.4rem; }
.article-section { padding: 2.8rem 0 4rem; }
.article-section h2, .related h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.044em; }
.filters { display: flex; flex-wrap: wrap; gap: .52rem; margin: 1.15rem 0 1.5rem; }
.filters button { min-height: 2.75rem; padding: .55rem .9rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 2rem; cursor: pointer; font: 700 .91rem/1.2 'DM Sans', system-ui, sans-serif; }
.filters button:hover { border-color: var(--blue); color: var(--deep-blue); }
.filters button[aria-pressed="true"] { border-color: var(--navy); color: var(--white); background: var(--navy); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.cards-reset { margin: 0; padding: 0; list-style: none; }
.story-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 1.4rem; overflow: hidden; box-shadow: 0 8px 25px color-mix(in srgb, var(--navy) 4%, transparent); }
.story-card:hover { border-color: color-mix(in srgb, var(--blue) 38%, var(--line)); }
.story-card > a { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.story-card > a:focus-visible { outline: none; }
.story-card:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.story-card img { aspect-ratio: 1.72; height: auto; }
.story-card-copy { display: flex; align-items: flex-start; flex-direction: column; gap: .55rem; flex: 1; padding: 1.25rem; }
.story-card h3 { font-size: 1.21rem; line-height: 1.22; letter-spacing: -.033em; }
.story-card p { color: var(--muted); font-size: .96rem; line-height: 1.52; }
.category { color: var(--deep-blue); font-size: .82rem; font-weight: 800; }
.read-link { color: var(--deep-blue); margin-top: auto; padding-top: .25rem; font-size: .94rem; font-weight: 800; }
.story-grid[data-filter="all"] > .feature { grid-column: 1 / -1; background: var(--pale); }
.story-grid[data-filter="all"] > .feature > a { display: grid; grid-template-columns: 1.15fr 1fr; }
.story-grid[data-filter="all"] > .feature img { height: 100%; max-height: 25rem; min-height: 15rem; }
.story-grid[data-filter="all"] > .feature .story-card-copy { align-self: center; gap: .85rem; padding: clamp(1.4rem, 4vw, 3rem); }
.story-grid[data-filter="all"] > .feature h3 { font-size: clamp(1.6rem, 3.25vw, 2.75rem); }
.article-head { padding: 1.2rem 0 2rem; }
.article-head h1 { max-width: 23ch; margin-top: .65rem; font-size: clamp(2.2rem, 5vw, 4rem); overflow-wrap: anywhere; }
.article-head p { max-width: 62ch; }
.article-image { margin: 0; }
.article-image img { height: auto; max-height: 32rem; aspect-ratio: 2.05; border-radius: 1.35rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 46rem) minmax(14rem, 1fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(1.7rem, 5vw, 3.5rem); }
.article-body { min-width: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.72; }
.article-body h2 { margin: 1.85em 0 .55em; color: var(--navy); font-size: clamp(1.45rem, 2.9vw, 2rem); line-height: 1.19; letter-spacing: -.035em; }
.article-body h3 { margin: 1.35em 0 .45em; color: var(--navy); font-size: 1.18rem; line-height: 1.28; }
.article-body p + p, .article-body p + ul, .article-body p + ol { margin-top: 1em; }
.article-body ul, .article-body ol { margin: .65em 0 1.15em; padding-left: 1.4rem; }
.article-body li + li { margin-top: .48rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: .75rem; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: .7rem .85rem; text-align: left; vertical-align: top; }
th { color: var(--navy); background: var(--pale); font-size: .94rem; }
td { border-top: 1px solid var(--line); }
.article-aside, .article-cta { padding: 1.45rem; background: var(--pale); border: 1px solid var(--line); border-radius: 1rem; }
.article-aside h2, .article-cta h2 { font-size: 1.24rem; line-height: 1.25; letter-spacing: -.025em; }
.article-aside p, .article-cta p { margin-top: .5rem; line-height: 1.55; color: var(--ink); }
.article-aside .button, .article-cta .button { margin-top: 1.15rem; }
.article-cta { display: none; }
.article-sources { margin-top: 1.7rem; padding: 1rem .1rem; border-top: 1px solid var(--line); font-size: .95rem; }
.article-sources summary { width: fit-content; min-height: 2.75rem; padding-block: .6rem; color: var(--navy); cursor: pointer; font-weight: 800; }
.article-sources ul { margin: .65rem 0 0; }
.related { padding: 3rem 0 4rem; }
.related .story-grid { margin-top: 1.2rem; }
.site-footer { padding: 1.6rem 0; border-top: 1px solid var(--line); color: var(--muted); background: var(--white); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 58rem) {
  .site-menu .optional { display: none; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47rem) {
  .article-layout { display: block; }
  .article-aside { display: none; }
  .article-cta { display: block; margin-top: 1.5rem; }
}
@media (max-width: 36rem) {
  .wrap { width: calc(100% - 1.75rem); }
  .site-nav { min-height: 4.1rem; gap: .65rem; }
  .site-nav > .button { display: none; }
  .brand { font-size: 1.08rem; }
  .brand-icon { width: 2.2rem; height: 2.2rem; }
  .site-menu { font-size: .89rem; }
  .crumbs { margin-block: .85rem; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .index-hero { padding: 1.55rem; }
  .story-grid, .story-grid[data-filter="all"] > .feature > a { grid-template-columns: minmax(0, 1fr); }
  .story-grid[data-filter="all"] > .feature img { min-height: 0; height: auto; }
  .article-image img { aspect-ratio: 1.48; border-radius: 1rem; }
  table { table-layout: fixed; font-size: 1rem; line-height: 1.55; }
  th:first-child { width: 43%; }
  td, th { padding: .6rem; overflow-wrap: anywhere; hyphens: auto; }
}
