/* Earth & Ink — site styles (Version 16: Fraunces/Geist, ink + lime palette). */
:root {
  --ink-950: #051321; --ink-900: #0b2236; --ink-800: #12324d; --ink-700: #1b4766;
  --teal-600: #0e5a6e;
  --leaf-500: #3da35d; --leaf-600: #2e8549; --leaf-700: #22663a;
  --lime-200: #ecf8b8; --lime-300: #d7f06b; --lime-400: #c6e54b;
  --river-400: #4db6e8;
  --orange: #f78b2e; --orange-300: #ffa24f; --orange-text: #b34c08;
  --paper: #f6f8f1; --paper-2: #edf1e4; --white: #fff;
  --line: #dfe6d5; --line-dark: #24425a;
  --text: #0b2236; --muted: #55666f; --muted-dark: #b6c6cf;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(5, 19, 33, .35);
  --masthead-height: 108px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; font-optical-sizing: auto; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--leaf-500); outline-offset: 3px; border-radius: 6px; }
.icon { flex: none; }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 48px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 12px 16px; border-radius: 8px; }
.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; }
[hidden] { display: none !important; }

/* ---------- Shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--leaf-700); margin-bottom: 14px; }
.eyebrow.rule::before { content: ''; width: 32px; height: 2px; background: var(--orange); }
.on-dark .eyebrow, .eyebrow.lime { color: var(--lime-300); }
.accent { font-style: italic; font-weight: 500; color: var(--orange-text); }
.on-dark .accent { color: var(--orange); }
.pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 12px; font: 600 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.pill-lime { background: var(--lime-300); color: var(--ink-950); }
.pill-orange { background: var(--orange); color: var(--ink-950); }
.pill-dark { background: rgba(5, 19, 33, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(6px); }
.pill-dark .dot, .pill-light .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.pill-light { background: rgba(255, 255, 255, .92); color: var(--ink-900); box-shadow: 0 2px 8px rgba(5, 19, 33, .12); }
.chip { display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper-2); color: var(--ink-800); padding: 5px 11px; font-size: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 15px/1 var(--sans); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime-300); color: var(--ink-950); }
.btn-lime:hover { background: var(--lime-400); box-shadow: 0 10px 24px -10px rgba(198, 229, 75, .9); }
.btn-orange { background: var(--orange); color: var(--ink-950); }
.btn-orange:hover { background: var(--orange-300); box-shadow: 0 10px 24px -10px rgba(247, 139, 46, .9); }
.btn-ink { background: var(--ink-900); color: var(--lime-300); }
.btn-ink:hover { background: var(--ink-800); }
.btn-ghost { border: 1px solid var(--line); background: #fff; color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--ink-700); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-600); }
.textlink:hover { color: var(--leaf-700); }
.textlink .icon { transition: transform .15s ease; }
.textlink:hover .icon { transform: translateX(3px); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.meta .icon { margin-right: -4px; }
.sample-flag { display: inline-flex; font: 600 10px/1 var(--sans); letter-spacing: .1em; color: #8a5a00; background: #fff4d6; border-radius: 999px; padding: 4px 8px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 48px); }

/* Anchored sections clear the sticky header. */
[id] { scroll-margin-top: calc(var(--masthead-height) + 20px); }

/* ---------- Loader (first page of a visit) ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--paper); transition: opacity .5s ease, visibility .5s ease; animation: loaderFailsafe 0s linear 4s forwards; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { position: relative; width: 120px; height: 120px; }
.loader-mark img { position: absolute; inset: 18px; width: 84px; height: 84px; animation: loaderBreathe 1.8s ease-in-out infinite; }
.loader-ring { width: 120px; height: 120px; animation: loaderSpin 1.4s linear infinite; }
.loader-ring circle { fill: none; stroke-width: 4; stroke-linecap: round; }
.loader-ring .track { stroke: var(--line); }
.loader-ring .arc { stroke-dasharray: 85 255; }
.loader-ring .arc-orange { stroke: var(--orange); }
.loader-ring .arc-lime { stroke: var(--lime-400); stroke-dashoffset: -170; }
.loader .wordmark { font-size: 26px; opacity: 0; animation: loaderFade .6s ease .2s forwards; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderBreathe { 50% { transform: scale(1.06); } }
@keyframes loaderFade { to { opacity: 1; } }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader-ring, .loader-mark img { animation: none; } }

/* ---------- Search panel ---------- */
.searchdialog { width: min(720px, calc(100% - 32px)); max-height: min(80vh, 720px); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink-900); box-shadow: 0 40px 80px -30px rgba(5, 19, 33, .6); overflow: auto; }
.searchdialog::backdrop { background: rgba(5, 19, 33, .55); backdrop-filter: blur(4px); }
.searchbar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.searchbar .icon { color: var(--muted); }
.searchbar input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 19px/1.4 var(--sans); padding: 10px 0; background: transparent; }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchclose kbd { font: 600 11px var(--sans); background: var(--paper-2); color: var(--muted); border-radius: 6px; padding: 5px 8px; }
.searchresults:empty { display: none; }
.searchresults { padding: 8px; border-bottom: 1px solid var(--line); }
.searchresult { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; }
.searchresult:hover, .searchresult:focus-visible { background: var(--paper); }
.searchresult img { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; }
.searchresult b { display: block; font: 600 16px/1.3 var(--serif); }
.searchresult span { display: block; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 5px; }
.searchresults .note { padding: 14px 10px; color: var(--muted); font-size: 14px; }
.searchresults .all { display: block; padding: 12px 10px 6px; font-weight: 600; color: var(--teal-600); }
.searchtopics { padding: 18px 22px 22px; }
.searchtopics .eyebrow { margin-bottom: 12px; }
.searchtopics div { display: flex; flex-wrap: wrap; gap: 8px; }
.searchtopics .chip { gap: 6px; padding: 7px 12px; }
.searchtopics .chip:hover { background: var(--lime-200); }
@media (max-width: 640px) { .searchdialog { margin-top: 12px; max-height: calc(100vh - 24px); } }

/* ---------- Header ---------- */
.topbar { background: var(--ink-950); color: var(--muted-dark); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar .where { display: inline-flex; align-items: center; gap: 6px; }
.topbar .where .icon { color: var(--lime-300); }
.topbar .right { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: #fff; }
.masthead { position: sticky; top: 0; z-index: 40; background: rgba(246, 248, 241, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.masthead.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(5, 19, 33, .25); }
.brandrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 42px; height: 42px; flex: none; }
.mark img { width: 100%; height: 100%; object-fit: cover; }
.wordmark { font: 600 25px/1 var(--serif); letter-spacing: -.02em; color: var(--ink-900); }
.wordmark i { font-style: italic; font-weight: 500; color: var(--leaf-600); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav > .navdrop > button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-800); transition: background .15s; }
.nav > a:hover, .nav > .navdrop > button:hover, .nav > a[aria-current=page], .navdrop > button[aria-expanded=true] { background: rgba(11, 34, 54, .07); color: var(--ink-950); }
.navdrop > button .icon { transition: transform .2s; }
.navdrop > button[aria-expanded=true] .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.searchpill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-800); font-size: 15px; }
.searchpill kbd { font: 600 11px var(--sans); background: var(--lime-200); color: var(--leaf-700); border-radius: 6px; padding: 3px 6px; }
.searchpill:hover { border-color: var(--ink-700); }
.menutoggle { display: none; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; }
.megamenu { position: absolute; left: 0; right: 0; top: 100%; background: rgba(240, 244, 234, .98); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(5, 19, 33, .35); }
.megamenu .wrap { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding-top: 30px; padding-bottom: 32px; }
.megagrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
.megamenu .wrap:not(:has(.megafeature)) { grid-template-columns: 1fr; }
.megagrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nav > .navdrop > button[data-current] { background: rgba(11, 34, 54, .07); color: var(--ink-950); }
.megaitem { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 10px; border-radius: 14px; transition: background .15s; }
.megaitem:hover { background: rgba(255, 255, 255, .8); }
.megaitem .tile, .icontile { width: 42px; height: 42px; border-radius: 12px; background: var(--ink-900); color: var(--lime-300); display: inline-flex; align-items: center; justify-content: center; }
.megaitem b { display: block; font-weight: 600; color: var(--ink-900); }
.megaitem > span:last-child span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.megafeature { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; color: #fff; display: flex; align-items: flex-end; padding: 22px; }
.megafeature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.megafeature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 19, 33, .92) 10%, rgba(5, 19, 33, .2) 70%); }
.megafeature div { position: relative; z-index: 1; }
.megafeature h3 { font-size: 26px; color: #fff; margin: 6px 0 8px; }
.megafeature p { font-size: 14px; color: #dbe5ea; display: flex; align-items: center; gap: 6px; }

/* ---------- Hero slideshow ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink-900); color: #fff; min-height: calc(100vh - var(--hero-offset, var(--masthead-height))); min-height: calc(100svh - var(--hero-offset, var(--masthead-height))); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink-900) 22%, rgba(11, 34, 54, .82) 42%, rgba(11, 34, 54, .15) 72%, rgba(11, 34, 54, .05)); }
.hero-loc { position: absolute; top: 28px; right: 28px; }
.hero-topic-inline { display: none; }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-top: 140px; padding-bottom: 36px; width: 100%; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.hero h1 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-side p { font-size: 18px; line-height: 1.6; color: #d7e2e8; max-width: 470px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 26px; }
.hero-actions .meta { color: #b9c9d2; }
.hero-bar { display: flex; align-items: center; gap: 28px; width: 100%; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-count { font: 500 17px/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; min-width: 54px; }
.hero-count span { color: #7d93a1; }
.slide-tabs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.slide-tab { text-align: left; color: #8fa5b2; font-size: 13px; padding: 10px 0 4px; min-height: 44px; transition: color .15s; }
.slide-tab:hover, .slide-tab[aria-pressed=true] { color: #fff; }
.slide-tab .bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; margin-bottom: 9px; }
.slide-tab .bar i { display: block; height: 100%; width: 0; background: var(--orange); }
.slide-tab[aria-pressed=true] .bar i { width: 100%; }
.slide-tab[aria-pressed=true] .bar i.run { width: 0; animation: slidefill 7s linear forwards; }
.slide-tab .label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes slidefill { to { width: 100%; } }
.hero-pause .ic { display: inline-flex; }
.hero-pause { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14px; font-weight: 500; }
.hero-pause:hover { background: rgba(255, 255, 255, .08); }
.slot { display: grid; }
.slot > * { grid-area: 1 / 1; min-width: 0; }
.slide-size { visibility: hidden; pointer-events: none; user-select: none; }
/* Headline: no reserved height, so the topic labels stay attached to it; the block is anchored
   to the bottom of the slide, so the controls never move. The summary keeps its reserved
   height, anchored to sit just above the button. */
.hero h1.slot .slide-size { display: none; }
.hero-body > div:first-child { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-side p.slot { align-items: end; }

/* ---------- Purpose ---------- */
.purpose { background: var(--paper-2); }
.purpose .wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; padding-top: 80px; padding-bottom: 80px; }
.purpose h2 { font-size: clamp(38px, 4vw, 56px); }
.purpose .lead { font: 400 26px/1.4 var(--serif); color: var(--ink-900); }
.purpose .lead + p { font-size: 17px; line-height: 1.75; color: var(--muted); margin-top: 18px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.value .icontile { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 12px; }
.value b { display: block; font: 600 17px/1.2 var(--serif); }
.value > span:not(.icontile) { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Animated logo in the purpose section */
.purpose-mark { position: relative; width: 220px; height: 220px; margin-top: 44px; }
.purpose-mark img { position: absolute; inset: 30px; width: 160px; height: 160px; filter: drop-shadow(0 18px 28px rgba(5, 19, 33, .22)); animation: markFloat 6s ease-in-out infinite; }
.purpose-mark svg { position: absolute; inset: 0; width: 220px; height: 220px; animation: loaderSpin 18s linear infinite; }
.purpose-mark circle { fill: none; stroke-width: 3; stroke-linecap: round; }
.purpose-mark .track { stroke: rgba(11, 34, 54, .08); }
.purpose-mark .arc-orange { stroke: var(--orange); stroke-dasharray: 120 571; }
.purpose-mark .arc-lime { stroke: var(--lime-400); stroke-dasharray: 80 611; stroke-dashoffset: -330; }
.purpose-mark .dot { fill: var(--orange); }
@keyframes markFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .purpose-mark img, .purpose-mark svg { animation: none; } }
@media (max-width: 960px) { .purpose-mark { width: 160px; height: 160px; margin-top: 24px; } .purpose-mark svg { width: 160px; height: 160px; } .purpose-mark img { inset: 22px; width: 116px; height: 116px; } }

/* Featured video */
.watch { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.watch::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; right: -140px; top: -180px; background: var(--teal-600); opacity: .25; }
.watch .wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.watch h2 { font-size: clamp(34px, 3.6vw, 50px); color: #fff; }
.watch p { color: var(--muted-dark); font-size: 17px; margin-top: 14px; }
.watch-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000 center / cover no-repeat; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.watch-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 19, 33, .45), transparent 50%); }
.watch-frame .play { z-index: 1; width: 86px; height: 86px; }
.watch-frame:hover .play { transform: scale(1.08); }
.flag-gy { display: inline-block; vertical-align: -2px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.footer .proud { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer .proud .sep-dot { opacity: .5; }
.footer .proud .gy { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 960px) { .watch .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 56px; } }

/* ---------- Story cards ---------- */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filterbar form { display: contents; }
.select, .input, .field input, .field textarea, .field select { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 9px 16px; color: var(--ink-900); }
.select { padding-right: 36px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b2236' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.inputwrap { position: relative; }
.inputwrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.inputwrap .input { padding-left: 40px; width: 240px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.toggle button { min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.toggle button[aria-pressed=true] { background: var(--ink-900); color: var(--lime-300); }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.story { display: flex; flex-direction: column; }
.story .media { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--ink-800); }
.story .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story:hover .media img { transform: scale(1.04); }
.story .media .pill { position: absolute; left: 12px; top: 12px; }
.story .media .pill.ai { left: auto; top: auto; right: 12px; bottom: 12px; }
.story h3 { font-size: 23px; line-height: 1.2; margin: 18px 0 10px; }
.story h3 a:hover { color: var(--teal-600); }
.story p { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story .meta { margin-top: 14px; }
.stories.list { grid-template-columns: 1fr; gap: 0; }
.stories.list .story { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.stories.list .story h3 { margin-top: 4px; }
.results-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Resources band ---------- */
.resources { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); color: #fff; }
.resources::before, .resources::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; background: var(--ink-800); }
.resources::before { width: 260px; height: 260px; left: -90px; bottom: -110px; }
.resources::after { width: 240px; height: 240px; right: -60px; top: -120px; background: var(--teal-600); opacity: .35; }
.resources .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.resources h2 { font-size: clamp(36px, 4vw, 54px); color: #fff; }
.gradient-rule { display: block; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--lime-300)); margin: 26px 0 22px; }
.resources .intro p { color: var(--muted-dark); font-size: 17px; max-width: 440px; }
.reslinks { border-top: 1px solid var(--line-dark); }
.reslink { display: grid; grid-template-columns: 50px 1fr auto; gap: 18px; align-items: center; padding: 22px 6px; border-bottom: 1px solid var(--line-dark); transition: background .15s; }
.reslink:hover { background: rgba(255, 255, 255, .03); }
.reslink .icontile { width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.reslink h3 { font-size: 24px; color: #fff; }
.reslink p { font-size: 14px; color: var(--muted-dark); margin-top: 4px; }
.reslink > .icon { color: #8fa5b2; transition: transform .15s, color .15s; }
.reslink:hover > .icon { color: var(--orange); transform: translateX(4px); }
.reslink:hover h3 { color: var(--orange-300); }

/* ---------- Topics ---------- */
.topics { background: var(--paper-2); }
.topicgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.topic { display: block; }
.topic .media { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--ink-800); }
.topic .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.topic:hover .media img { transform: scale(1.04); }
.topic .badge { position: absolute; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--ink-900); display: inline-flex; align-items: center; justify-content: center; }
.topic .count { position: absolute; right: 14px; bottom: 14px; background: rgba(5, 19, 33, .75); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 5px 10px; }
.topic .ai { position: absolute; left: 14px; bottom: 14px; }
.topic .kicker { display: block; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 20px 0 10px; }
.topic h3 { font-size: 26px; }
.topic:hover h3 { color: var(--teal-600); }
.topic p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* ---------- Map + picks ---------- */
.mapblock { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.mapcard { position: relative; border-radius: 24px; overflow: hidden; height: 520px; background: var(--paper-2); box-shadow: var(--shadow); }
.mapcard .map { position: absolute; inset: 0; }
.mapcard .overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 500; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 70px 24px 22px; background: linear-gradient(to top, rgba(5, 19, 33, .88), rgba(5, 19, 33, 0)); pointer-events: none; }
.mapcard .overlay * { pointer-events: auto; }
.mapcard .overlay h3 { font-size: 30px; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; text-align: center; padding: 16px 10px; }
.stat b { display: block; font: 600 34px/1 var(--serif); color: var(--ink-900); }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.picks h2 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 18px; }
.pick { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pick:last-child { border-bottom: 0; }
.pick .topicname { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); }
.pick h3 { font: 600 17px/1.35 var(--sans); letter-spacing: 0; margin: 8px 0 6px; }
.pick h3 a:hover { color: var(--teal-600); }
.pin { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.mapmarker { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf-600); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(215, 240, 107, .55); }
.mapmarker.place { background: var(--orange); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 5px rgba(247, 139, 46, .3); }
.mapmarker.approx { background: #fff; border: 3px dashed var(--orange); }
.popkind { display: block; font: 600 10px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-700); margin-bottom: 4px; }
.popimg { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; display: block; }
.poptitle { display: block; font: 600 17px/1.25 var(--serif); color: var(--ink-900); }
.popwhere { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.popsum { display: block; font-size: 13px; color: #33454f; margin-top: 8px; }
.popfacts { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.popactions { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.leaflet-popup-content .poplearn { display: inline-flex; background: var(--orange); color: var(--ink-950); border-radius: 999px; padding: 6px 12px; font-weight: 600; text-decoration: none; }
.leaflet-popup-content .popdetails { color: var(--teal-600); font-weight: 600; }
.maptip { max-width: 260px; white-space: normal; font: 400 12px/1.45 var(--sans); color: #33454f; border-radius: 10px; padding: 8px 10px; }
.maptip b { font: 600 14px/1.3 var(--serif); color: var(--ink-900); }
.mapfilters-2 { justify-content: flex-start; margin-top: 0; }
.mapfilters .inputwrap .input { width: 320px; }
.mapcheck { align-items: center; font-size: 14px; color: var(--ink-800); }
.mapcard-item .sub { display: block; font-size: 12px; color: var(--muted); margin: -2px 0 4px; }
.mapnote { font-size: 13px; color: var(--muted); margin-top: 24px; max-width: 760px; }
.popkind.place { color: var(--orange-text); }
.stat b small { font-size: 18px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.mapintro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.mapintro .stats { margin: 0; }
.mapfilters { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-800); }
.tabs button[aria-pressed=true] { background: var(--ink-900); border-color: var(--ink-900); color: var(--lime-300); }
.tabs .count { font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--muted); border-radius: 999px; padding: 2px 8px; }
.tabs button[aria-pressed=true] .count { background: rgba(255, 255, 255, .14); color: #fff; }
.mappage { position: relative; }
.maplegend { position: absolute; left: 14px; bottom: 14px; z-index: 500; display: flex; gap: 14px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 8px 14px; font-size: 13px; box-shadow: 0 4px 14px rgba(5, 19, 33, .15); }
.maplegend span { display: inline-flex; align-items: center; gap: 8px; }
.maplegend .mapmarker { width: 14px; height: 14px; border-width: 2px; box-shadow: none; }
.legendline { display: inline-block; width: 22px; height: 4px; border-radius: 2px; background: #1e9bd7; }
.mapresult { margin: 22px 0 16px; color: var(--muted); font-size: 14px; }
.mapcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mapcard-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; transition: border-color .15s, transform .15s; }
.mapcard-item:hover { border-color: var(--orange); transform: translateY(-2px); }
.mapcard-item .thumb { width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--paper-2); color: var(--orange-text); display: flex; align-items: center; justify-content: center; }
.mapcard-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mapcard-item .kind { display: block; font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-700); margin-bottom: 6px; }
.mapcard-item .kind.place { color: var(--orange-text); }
.mapcard-item b { display: block; font: 600 16px/1.3 var(--serif); color: var(--ink-900); margin-bottom: 4px; }
.leaflet-tooltip { font: 600 12px var(--sans); }
.leaflet-popup-content { font: 14px/1.45 var(--sans); }
.leaflet-popup-content b { font-family: var(--serif); font-size: 16px; }
.leaflet-popup-content a { color: var(--teal-600); font-weight: 600; }
.mappage { height: min(72vh, 720px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; }
.regionlist { columns: 2 340px; column-gap: 40px; margin-top: 48px; }
.regionlist section { break-inside: avoid; margin-bottom: 30px; }
.regionlist h3 { font-size: 22px; margin-bottom: 8px; }
.regionlist li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.regionlist ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Experts ---------- */
.experts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.expert { display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.expert .photo { width: 150px; height: 150px; border-radius: 18px; overflow: hidden; border: 4px solid var(--lime-200); background: var(--paper-2); }
.expert .photo img { width: 100%; height: 100%; object-fit: cover; }
.expert h3 { font-size: 26px; }
.expert .role { font-size: 15px; color: var(--teal-600); margin: 6px 0 10px; }
.expert .bio { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.expert.full .bio { -webkit-line-clamp: unset; display: block; }
.expert .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- Events ---------- */
.eventlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event { display: grid; grid-template-columns: 64px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.event .date { text-align: center; border-radius: 14px; background: var(--ink-900); color: #fff; padding: 10px 0; align-self: start; }
.event .date span { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lime-300); }
.event .date b { display: block; font: 600 28px/1.1 var(--serif); margin-top: 4px; }
.event .kind { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-700); }
.event h3 { font-size: 20px; line-height: 1.25; margin: 6px 0; }
.event p { font-size: 14px; color: var(--muted); }

.section.events-home { padding-top: 64px; padding-bottom: 88px; }
@media (max-width: 640px) { .section.events-home { padding-top: 48px; padding-bottom: 64px; } }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; isolation: isolate; overflow: hidden; background: var(--lime-300); }
.newsletter .leaf { position: absolute; z-index: -1; right: 6%; bottom: -80px; width: 460px; height: 380px; color: var(--lime-400); }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.newsletter .eyebrow { color: var(--leaf-700); }
.newsletter h2 { font-size: clamp(36px, 4.2vw, 58px); color: var(--ink-950); }
.newsletter h2 em { font-weight: 400; }
.newsletter .wrap > div > p { font-size: 17px; color: var(--ink-800); margin-top: 18px; max-width: 460px; }
.signup { background: var(--ink-950); border-radius: 24px; padding: 16px; box-shadow: 0 30px 60px -30px rgba(5, 19, 33, .7); }
.signup .row { display: flex; gap: 10px; }
.signup input[type=email] { flex: 1; min-width: 0; min-height: 56px; border-radius: 14px; border: 1px solid #1f3a52; background: #10283d; color: #fff; padding: 12px 18px; }
.signup input[type=email]::placeholder { color: #6f879a; }
.signup .btn { min-height: 56px; border-radius: 14px; }
.signup .check { color: #9fb2bf; padding: 12px 6px 4px; }
.signup .check a { color: #fff; text-decoration: underline; }
.signup .status { color: var(--lime-300); font-size: 14px; padding: 4px 6px 0; min-height: 0; }
.signup .error { color: #ffb4a8; font-size: 13px; padding: 4px 6px 0; }

/* ---------- Footer ---------- */
.footer { background: radial-gradient(120% 120% at 0% 100%, #0d3149 0%, var(--ink-950) 55%); color: var(--muted-dark); font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr .8fr 1.6fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer .brand .wordmark { color: #fff; }
.footer .brand .wordmark i { color: var(--lime-300); }
.footer .about p { margin: 18px 0 22px; max-width: 320px; line-height: 1.65; }
.footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lime-300); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 12px; }
.footer a:hover { color: var(--orange-300); }
.footer .catcols { columns: 2; column-gap: 28px; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact .icon { color: var(--river-400); margin-top: 3px; }
.socialbtn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); border-radius: 999px; padding: 6px 16px 6px 6px; color: #fff; margin: 0 8px 8px 0; }
.socialbtn .ic { width: 28px; height: 28px; border-radius: 50%; background: #1877f2; display: inline-flex; align-items: center; justify-content: center; }
.socialbtn:hover { border-color: #3c5d75; }
.fineprint { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 28px; font-size: 13px; }
.fineprint nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.totop { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.totop:hover { border-color: var(--lime-300); color: var(--lime-300); }

/* ---------- Inner pages ---------- */
.page-intro { padding-top: 64px; padding-bottom: 12px; }
.page-intro h1 { font-size: clamp(40px, 5vw, 66px); color: var(--ink-900); }
.page-intro .lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 680px; margin-top: 20px; }
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--ink-900); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 34, 54, .95) 15%, rgba(11, 34, 54, .45)); }
.page-hero .wrap { padding-top: 120px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 66px); max-width: 900px; }
.page-hero .lede { color: #d7e2e8; font-size: 19px; max-width: 680px; margin-top: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-800); }
.tabs a[aria-current=page] { background: var(--ink-900); border-color: var(--ink-900); color: var(--lime-300); }
.tabs-select { display: none; }
@media (max-width: 640px) { .tabs.has-select { display: none; } .tabs-select { display: block; width: 100%; margin: 20px 0 24px; } .toolbar .tabs-select { margin: 0; } .toolbar > .inputwrap, .toolbar > .inputwrap .input { width: 100%; } }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 36px; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px; color: var(--muted); text-align: center; }
.empty a { color: var(--teal-600); font-weight: 600; text-decoration: underline; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; }
.pager .off { opacity: .4; pointer-events: none; }
.pager .count { color: var(--muted); font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-size: 14px; font-weight: 600; color: var(--teal-600); }
.back .icon { transform: rotate(180deg); }

/* Article */
.article-hero { position: relative; isolation: isolate; background: var(--ink-900); color: #fff; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; }
.article-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink-900) 12%, rgba(11, 34, 54, .55) 45%, rgba(11, 34, 54, .1)); }
.article-hero .wrap { width: 100%; padding-top: 120px; padding-bottom: 48px; }
.article-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.article-hero h1 { font-size: clamp(38px, 5vw, 68px); max-width: 980px; color: #fff; text-wrap: balance; }
.article-hero .dek { font-size: 20px; color: #d7e2e8; max-width: 760px; margin-top: 20px; }
.article-hero .meta { color: #b9c9d2; margin-top: 22px; }
.article-hero .credit { position: absolute; right: 20px; bottom: 14px; font-size: 12px; color: #9fb2bf; }
.article-hero .back { color: var(--lime-300); margin: 0 0 26px; }
.article { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 64px; justify-content: center; padding-top: 56px; padding-bottom: 72px; }
.articlebody { font: 400 19px/1.8 var(--serif); color: #1c3344; }
.articlebody > * + * { margin-top: 22px; }
.articlebody h2 { font-size: 32px; margin-top: 44px; color: var(--ink-900); }
.articlebody h3 { font-size: 24px; margin-top: 34px; color: var(--ink-900); }
.articlebody a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.articlebody img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.articlebody blockquote { margin: 34px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--lime-300); font-size: 24px; line-height: 1.5; font-style: italic; color: var(--ink-900); }
.articlebody ul, .articlebody ol { padding-left: 24px; }
.keybox { background: var(--lime-200); border-radius: var(--radius); padding: 22px 24px; font: 400 17px/1.6 var(--sans); color: var(--ink-900); }
.keybox strong { display: block; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-700); margin-bottom: 10px; }
.aside { position: sticky; top: calc(var(--masthead-height) + 20px); align-self: start; display: grid; gap: 18px; }
.asidecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 14px; color: var(--muted); }
.asidecard h4 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-700); margin-bottom: 12px; }
.asidecard .who { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; color: var(--ink-900); }
.asidecard .who img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.asidecard .who b { display: block; font-family: var(--serif); font-size: 17px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(5, 19, 33, .45); }
.share-facebook { background: #1877f2; }
.share-linkedin { background: #0a66c2; }
.share-whatsapp { background: #25d366; }
.share-x { background: #000; }
.share-email { background: var(--ink-800); }
.share-copy { background: var(--paper-2); color: var(--ink-900); }
.share-copy.copied { background: var(--lime-300); }
.share-status { font-size: 13px; color: var(--leaf-700); width: 100%; min-height: 0; }
.share-status:empty { display: none; }
.sources { white-space: pre-line; font: 14px/1.7 var(--sans); color: var(--muted); }
.related { padding-top: 64px; padding-bottom: 80px; border-top: 1px solid var(--line); }

/* Gallery */
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.album-card { display: block; text-align: left; width: 100%; }
.album-card .media { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--ink-800) center / cover no-repeat; }
.album-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.album-card:hover .media img { transform: scale(1.04); }
.album-card .count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(5, 19, 33, .78); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 6px 11px; }
.album-card .kicker { display: block; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-700); margin: 18px 0 8px; }
.album-card h3 { font-size: 24px; line-height: 1.2; }
.album-card:hover h3 { color: var(--teal-600); }
.album-card p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--lime-300); color: var(--ink-950); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.album-card:hover .play { transform: scale(1.08); }
.photogrid { columns: 3 300px; column-gap: 18px; margin: 10px 0 80px; }
.photogrid figure { break-inside: avoid; margin: 0 0 18px; }
.photogrid button { display: block; width: 100%; border-radius: var(--radius-sm); overflow: hidden; }
.photogrid img { width: 100%; height: auto; transition: transform .5s ease; }
.photogrid button:hover img { transform: scale(1.03); }
.photogrid figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(5, 19, 33, .97); color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(5, 19, 33, .97); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 14px; color: var(--muted-dark); }
.lb-close { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.lb-stage-inner { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage-inner img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-stage-inner iframe { width: min(1200px, 100%); aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lb-nav:hover { background: rgba(255, 255, 255, .1); }
.lb-prev .icon { transform: rotate(180deg); }
.lb-caption { padding: 14px 20px 24px; text-align: center; font-size: 15px; color: #d7e2e8; min-height: 60px; }

/* Resources page */
.reslist { display: grid; gap: 14px; margin-bottom: 80px; }
.resrow { display: grid; grid-template-columns: 50px 1fr auto; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.resrow .icontile { width: 50px; height: 50px; border-radius: 14px; }
.resrow h3 { font-size: 22px; }
.resrow h3 a:hover { color: var(--teal-600); }
.resrow p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.resrow .meta { margin-top: 10px; }

/* Useful links */
.linkgroup { margin-bottom: 44px; }
.linkgroup h2 { font-size: 26px; margin-bottom: 16px; }
.linkgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.linkcard { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; transition: border-color .15s, transform .15s; }
.linkcard:hover { border-color: var(--orange); transform: translateY(-2px); }
.linkcard .icontile { width: 44px; height: 44px; }
.linkcard b { display: block; font: 600 17px/1.3 var(--serif); color: var(--ink-900); }
.linkcard .body > span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.linkcard .body > span.host { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--teal-600); font-weight: 600; margin-top: 8px; }
@media (max-width: 960px) { .linkgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .linkgrid { grid-template-columns: 1fr; } }

/* Prose pages and forms */
.prose { max-width: 740px; padding: 40px 0 80px; font: 400 19px/1.8 var(--serif); color: #1c3344; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 30px; margin-top: 40px; color: var(--ink-900); }
.prose h3 { font-size: 23px; margin-top: 30px; }
.prose a { color: var(--teal-600); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 24px; }
.formlayout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin: 32px 0 80px; }
.formlayout .formcard { margin: 0; max-width: none; }
.formside { display: grid; gap: 16px; position: sticky; top: calc(var(--masthead-height) + 20px); }
.formside .asidecard p { font-size: 14px; line-height: 1.6; }
.formside .asidecard p a { color: var(--teal-600); text-decoration: underline; }
.sidepanel-dark { background: var(--ink-900); border-color: var(--ink-900); color: var(--muted-dark); }
.sidepanel-dark h4 { color: var(--lime-300); }
.contactlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.contactlist li { display: flex; align-items: center; gap: 10px; }
.contactlist a { color: #fff !important; text-decoration: none !important; }
.contactlist .icon { color: var(--orange); }
.socialrow { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.socialrow a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; }
.socialrow a:hover { background: var(--orange); color: var(--ink-950); }
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; line-height: 1.5; }
.ticklist li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.ticklist .icon { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: var(--lime-200); color: var(--leaf-700); }
.ticklist b { color: var(--ink-900); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { gap: 6px; }
.chips .chip:hover { background: var(--lime-200); }
.sidephoto { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.sidephoto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sidephoto figcaption { font-size: 12px; color: var(--muted); padding: 10px 14px; }
@media (max-width: 960px) { .formlayout { grid-template-columns: 1fr; } .formside { position: static; } }
.formcard { max-width: 680px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; margin: 32px 0 80px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; border-radius: 12px; }
.field textarea { min-height: 170px; padding: 14px 16px; }
.field .error { color: #b3261e; font-size: 13px; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); }
.check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--leaf-600); }
.check a { text-decoration: underline; }
.flash { display: flex; gap: 10px; align-items: center; background: var(--lime-200); color: var(--ink-900); border-radius: 14px; padding: 14px 18px; margin: 20px 0; font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--ink-900); color: #fff; border-radius: 24px; padding: 36px 40px; margin-bottom: 80px; }
.cta h2 { font-size: 32px; color: #fff; }
.cta p { color: var(--muted-dark); margin-top: 8px; }

/* About page */
.about-hero .wrap { padding-top: 160px; padding-bottom: 72px; }
.about-hero .hero-actions .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.about-mission { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about-lead p { font: 400 clamp(22px, 2.2vw, 30px)/1.45 var(--serif); color: var(--ink-900); }
.about-lead p + p { font: 400 17px/1.75 var(--sans); color: var(--muted); margin-top: 18px; }
.about-values { grid-template-columns: 1fr; margin-top: 0; }
.about-values .value { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; padding: 20px; }
.about-values .value .icontile { grid-row: span 2; margin: 0; }
.about-values .value > span:not(.icontile) { margin-top: 4px; }
.about-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-cards.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.about-cards.five .about-card { grid-column: span 2; }
.about-cards.five .about-card:nth-child(-n+2) { grid-column: span 3; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.about-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.about-card-head .num { font: 500 32px/1 var(--serif); color: var(--orange-text); }
.about-card h2 { font-size: 26px; margin-bottom: 12px; }
.about-card-body p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.about-card-body p + p { margin-top: 12px; }
.about-card-body a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.about-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.about-topic { display: grid; grid-template-columns: 42px 1fr 18px; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; transition: border-color .15s, transform .15s; }
.about-topic:hover { border-color: var(--orange); transform: translateY(-2px); }
.about-topic b { display: block; font: 600 18px/1.2 var(--serif); color: var(--ink-900); }
.about-topic span span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.about-topic > .icon { color: var(--muted); }
.about-topic:hover > .icon { color: var(--orange-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav > a, .nav > .navdrop > button { padding: 8px 10px; font-size: 14px; }
  .searchpill .label, .searchpill kbd { display: none; }
  .megamenu .wrap { grid-template-columns: 1fr; }
  .megafeature { display: none; }
  .megagrid.four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .wrap { padding: 0 28px; }
  .about-mission { grid-template-columns: 1fr; gap: 36px; }
  .mapintro { grid-template-columns: 1fr; gap: 24px; }
  .about-cards.five { grid-template-columns: 1fr 1fr; }
  .about-cards.five .about-card, .about-cards.five .about-card:nth-child(-n+2) { grid-column: auto; }
  .mapcards { grid-template-columns: 1fr 1fr; }
  .about-cards, .about-topics { grid-template-columns: 1fr 1fr; }
  .hero-body, .purpose .wrap, .resources .wrap, .mapblock, .newsletter .wrap { grid-template-columns: 1fr; gap: 36px; }
  .stories, .topicgrid, .albums, .eventlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experts { grid-template-columns: 1fr; }
  .slide-tab .label { display: none; }
}
@media (max-width: 820px) {
  :root { --masthead-height: 64px; }
  .topbar { display: none; }
  .brandrow { min-height: 64px; }
  .wordmark { font-size: 22px; }
  .mark { width: 36px; height: 36px; }
  .menutoggle { display: inline-flex; align-items: center; }
  .searchpill { padding: 8px 12px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(5, 19, 33, .3); max-height: calc(100vh - 64px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav > .navdrop > button { width: 100%; justify-content: space-between; min-height: 48px; font-size: 16px; }
  .megamenu { position: static; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
  .megamenu .wrap { padding: 0 0 8px; }
  .megagrid, .megagrid.four { grid-template-columns: 1fr; }
  .megaitem { align-items: center; padding: 8px 10px; }
  .megaitem > span:last-child span { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  /* Phones: keep the whole slide, including the slideshow controls, on one screen. */
  .hero-body { padding-top: 72px; gap: 14px; padding-bottom: 16px; }
  .hero h1 { font-size: clamp(28px, 7.8vw, 34px); line-height: 1.05; }
  .hero::before { background: linear-gradient(to top, var(--ink-900) 26%, rgba(11, 34, 54, .85) 40%, rgba(11, 34, 54, .2) 56%, rgba(11, 34, 54, 0) 66%); }
  .hero h1 { text-shadow: 0 1px 12px rgba(5, 19, 33, .35); }
  .hero-tags { margin: 0; }
  .hero-tags .hero-topic { display: none; }
  .hero .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero .hero-actions .btn { flex: none; padding: 12px 18px; }
  .hero-topic-inline { display: inline-flex; min-width: 0; padding: 6px 10px; font-size: 10px; letter-spacing: .03em; }
  .hero-topic-inline > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-loc { max-width: calc(100% - 32px); }
  .hero-loc > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-side p { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .hero .hero-actions { margin-top: 16px; }
  .hero .hero-actions .meta { display: none; }
  .hero-loc { top: 16px; right: 16px; }
  .hero-bar { gap: 14px; padding-top: 12px; padding-bottom: 14px; }
  .hero-count { display: none; }
  .hero-pause .label { display: none; }
  .stories, .topicgrid, .albums, .eventlist, .values, .stats, .about-cards, .about-topics, .mapcards { grid-template-columns: 1fr; }
  .mapfilters .select, .mapfilters .inputwrap, .mapfilters .inputwrap .input { width: 100%; }
  .about-hero .wrap { padding-top: 110px; padding-bottom: 48px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat b { font-size: 26px; }
  .stories.list .story { grid-template-columns: 110px 1fr; gap: 16px; }
  .stories.list .story p { display: none; }
  .stories.list .story h3 { font-size: 18px; }
  .inputwrap .input { width: 100%; }
  .filterbar, .filterbar .inputwrap, .filterbar .select { width: 100%; }
  .mapcard { height: 400px; }
  .expert { grid-template-columns: 1fr; }
  .expert .photo { width: 110px; height: 110px; }
  .signup .row { flex-direction: column; }
  .footer .cols { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .aside { grid-template-columns: 1fr; }
  .resrow { grid-template-columns: 1fr; }
  .formcard { padding: 22px; }
  .cta { padding: 28px 24px; }
}
@media print { .masthead, .topbar, .footer, .newsletter, .hero-bar, .share { display: none !important; } body { background: #fff; } }
@media (max-width: 640px) {
  .header-actions .btn-ink { display: none; }
  .wordmark { white-space: nowrap; font-size: 21px; }
  .mark { box-shadow: none; }
}
@media (max-height: 780px) and (min-width: 641px) {
  .hero-body { padding-top: 90px; padding-bottom: 22px; }
  .hero h1 { font-size: clamp(36px, 4.2vw, 58px); }
  .hero-tags { margin-bottom: 14px; }
  .hero-actions { margin-top: 18px; }
  .hero-bar { padding-top: 12px; padding-bottom: 16px; }
}

/* Ad spaces (managed under Content → Advertising). Always labelled, never styled to look like editorial. */
.adslot { display: grid; gap: 8px; margin: 40px 0; }
.adslot-home { margin: 8px 0 72px; }
.adslot-box { margin: 0 0 20px; }
.adlabel { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.adslot > a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.adslot > a:focus-visible { outline-offset: 4px; }
.adslot img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper-2); }
.adslot-wide img { aspect-ratio: 4 / 1; object-fit: cover; }
.adslot-box img { aspect-ratio: 6 / 5; object-fit: cover; }
@media (max-width: 640px) { .adslot-wide picture:has(source) img { aspect-ratio: 3 / 2; } }
.adinvite { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 20px; border: 1px dashed #c9d4bb; border-radius: var(--radius-sm); background: var(--paper-2); }
.adinvite > div { flex: 1 1 260px; min-width: 0; display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.adinvite b { color: var(--text); font-size: 15px; }
.adslot-box .adinvite { flex-direction: column; align-items: flex-start; }
.adslot-box .adinvite > div { flex: none; }
@media (max-width: 380px) {
  /* Narrow phones: drop the button arrow so the category fits beside it. */
  .hero .hero-actions .btn .icon { display: none; }
  .hero .hero-actions .btn { padding: 12px 16px; }
}

/* Cloudflare Turnstile: takes no space unless Cloudflare asks the visitor to confirm. */
.turnstile:empty { display: none; }
.turnstile iframe { max-width: 100%; }

/* Phones: centre the pieces that look stranded on the left. */
@media (max-width: 640px) {
  .purpose-mark { margin-inline: auto; }
  .filterbar .toggle { margin-inline: auto; }
  .expert { text-align: center; justify-items: center; }
  .expert .tags { justify-content: center; }
  .mapcard .overlay { flex-direction: column; align-items: flex-start; gap: 12px; padding: 60px 20px 40px; }
  .mapcard .overlay h3 { font-size: 24px; }
  .fineprint { flex-direction: column; justify-content: center; text-align: center; gap: 14px; }
  .fineprint .proud, .fineprint nav { justify-content: center; }
}

/* Phones: centred headings, eyebrows without the rule, two-column footer links. */
@media (max-width: 640px) {
  .eyebrow.rule::before { display: none; }
  .section-head, .page-intro, .purpose .wrap > div:first-child, .watch-copy, .resources .intro, .newsletter .wrap > div:first-child, .topic, .value, .picks > h2 { text-align: center; }
  .section-head { align-items: center; }
  .page-intro .lede, .page-intro p { margin-inline: auto; }
  .watch-copy .hero-actions { justify-content: center; }
  .resources .gradient-rule { margin-inline: auto; }
  .value .icontile { margin-inline: auto; }
  .footer h4 { text-align: center; }
  .filterbar .btn { flex: 1; }
  .toolbar > .toggle { align-self: center; margin-inline: auto; }
  .footer .cols > div:nth-child(2) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .footer .cols { text-align: center; }
  .footer .about p { margin-inline: auto; }
  .footer .proud { justify-content: center; }
  .footer .proud .sep-dot { display: none; }
  .footer .socialbtn { margin: 0 4px 8px; }
  .footer .socialbtn .long { display: none; }
  .footer .contact li { justify-content: center; text-align: left; }
}

/* Phones: a short purpose section (about one screen). */
@media (max-width: 640px) {
  .purpose .wrap { gap: 18px; padding-top: 48px; padding-bottom: 48px; }
  .purpose .wrap > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .purpose-mark { order: -1; width: 76px; height: 76px; margin: 0 auto 14px; }
  .purpose-mark svg { width: 76px; height: 76px; }
  .purpose-mark img { inset: 10px; width: 56px; height: 56px; }
  .purpose .lead { font-size: 19px; line-height: 1.45; text-align: center; }
  .purpose .lead + p { display: none; }
  .purpose .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .purpose .value { padding: 12px 6px; }
  .purpose .value .icontile { width: 32px; height: 32px; margin-bottom: 8px; }
  .purpose .value b { font-size: 13px; line-height: 1.3; display: block; }
  .purpose .value > span:last-child { display: none; }
}

/* Homepage topics as compact tiles (photos stay on the Topics page). */
.topicgrid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.topictile { display: grid; grid-template-columns: 44px 1fr 16px; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, transform .15s; }
.topictile:hover { border-color: var(--leaf-500); transform: translateY(-2px); }
.topictile .icontile { width: 44px; height: 44px; }
.topictile b { display: block; font: 600 18px/1.2 var(--serif); color: var(--ink-950); }
.topictile > span:nth-child(2) > span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.topictile > .icon { color: var(--muted); }
/* Homepage expert cards: a two-line bio; the full version is on the About page. */
.expert:not(.full) .bio { -webkit-line-clamp: 2; line-clamp: 2; }
@media (max-width: 960px) { .topicgrid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .topicgrid.compact { grid-template-columns: 1fr; } .topicgrid.compact .topictile { text-align: left; } }
.mapnote-home p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-top: 16px; max-width: 460px; }
@media (max-width: 640px) { .mapnote-home { text-align: center; } .mapnote-home p { margin-inline: auto; } }

/* ---------- Podcasts ---------- */
.episodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.episode { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, transform .15s; }
.episode:hover { border-color: var(--leaf-500); transform: translateY(-2px); }
.episode-art { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--ink-900); color: var(--lime-300); display: flex; align-items: center; justify-content: center; }
.episode-art img { width: 100%; height: 100%; object-fit: cover; }
.episode-body { display: grid; gap: 6px; min-width: 0; }
.episode-meta { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf-700); }
.episode-body b { font: 600 20px/1.2 var(--serif); color: var(--ink-950); }
.episode-summary { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.episode-listen { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal-600); }
.episode-intro .episode-meta { margin-top: 14px; }
.player { margin: 0 0 18px; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.player iframe { display: block; width: 100%; border: 0; }
.player-video { aspect-ratio: 16 / 9; }
.player-video iframe { height: 100%; }
.muted-note { font-size: 15px; margin-bottom: 26px; }

/* ---------- Polls ---------- */
.poll { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 36px 0; scroll-margin-top: 120px; }
.poll-label { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 10px; }
.poll h3 { font: 600 24px/1.2 var(--serif); color: var(--ink-950); margin: 0 0 6px; }
.articlebody .poll h3 { margin-top: 0; }
.poll-intro { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.poll fieldset { border: 0; padding: 0; margin: 14px 0 16px; display: grid; gap: 8px; }
.poll-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px; transition: border-color .15s, background .15s; }
.poll-option:hover { border-color: var(--leaf-500); }
.poll-option:has(input:checked) { border-color: var(--leaf-600); background: var(--lime-200); }
.poll-option input { accent-color: var(--leaf-600); width: 18px; height: 18px; flex: none; }
.poll-results { list-style: none; padding: 0; margin: 16px 0 12px; display: grid; gap: 12px; }
.poll-results li { margin: 0; }
.poll-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.poll-row b { color: var(--ink-950); font-variant-numeric: tabular-nums; }
.poll-bar { display: block; height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.poll-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--leaf-500), var(--lime-400)); }
.poll-foot { font-size: 13px; color: var(--muted); }
.poll-thanks { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--leaf-700); }
.pulse-grid { display: grid; grid-template-columns: minmax(0, 720px); gap: 24px; }
.pulse-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.pulse .poll { margin: 0; }
.pulse-listen { background: var(--ink-900); border-radius: var(--radius); padding: 24px 26px; }
.pulse-listen .poll-label { color: var(--lime-300); }
@media (max-width: 960px) { .episodes, .pulse-grid.two { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .episode { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .episode-art { width: 72px; height: 72px; }
  .poll { padding: 20px; }
  .pulse-grid { grid-template-columns: 1fr; }
}
.episode-intro .back { display: flex; width: fit-content; }

/* Article translations */
.langswitch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; font-size: 14px; color: #c9d6dd; }
.langswitch > span { font-weight: 600; }
.langswitch a { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.langswitch a:hover { background: rgba(255, 255, 255, .1); }
.langswitch a[aria-current] { background: var(--lime-300); border-color: var(--lime-300); color: var(--ink-950); font-weight: 600; }
.translated-note { font-size: 14px; color: var(--muted); background: var(--paper-2); border-radius: 10px; padding: 10px 14px; }
.translated-note a { text-decoration: underline; color: var(--teal-600); }

/* Wildlife records overlay (GBIF) on the Location Blog */
.legendhex { display: inline-block; width: 14px; height: 12px; background: linear-gradient(90deg, #6a0f6e, #c2456b, #f4a46a); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); vertical-align: middle; }
.wildlife-legend a { text-decoration: underline; color: var(--teal-600); }

/* Map tooltips wrap long descriptions instead of running out of the box. */
.leaflet-container .leaflet-tooltip { white-space: normal; width: max-content; max-width: 280px; line-height: 1.4; }

/* Phones (Location Blog): the key sits in a bar under the map instead of over it. */
@media (max-width: 640px) {
  [data-explorer] .mappage { height: auto; background: #fff; }
  [data-explorer] .mappage > .map { height: 440px !important; }
  [data-explorer] .maplegend { position: static; display: flex; flex-wrap: wrap; gap: 8px 14px; border-radius: 0; box-shadow: none; background: #fff; padding: 12px 16px 14px; font-size: 12.5px; border-top: 1px solid var(--line); }
  [data-explorer] .maplegend span { white-space: nowrap; }
  [data-explorer] .maplegend .wildlife-legend { white-space: normal; flex-basis: 100%; display: block; }
  [data-explorer] .maplegend .wildlife-legend[hidden] { display: none; }
  [data-explorer] .maplegend .wildlife-legend a { display: inline-block; margin-top: 2px; }
  [data-explorer] .maplegend .wl-sep { display: none; }
  [data-explorer] .maplegend .wildlife-legend a { display: block; }
}

/* Touch hint on maps: one finger scrolls the page. */
.map-hint { position: absolute; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(5, 19, 33, .55); color: #fff; font: 600 16px/1.4 var(--sans); text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.map-hint.show { opacity: 1; }

/* Wildlife summary under the Location Blog map. */
.wildlife-panel { margin: 28px 0 8px; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.wildlife-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.wildlife-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 4px; }
.wildlife-head p { margin: 0; color: var(--muted); font-size: 15px; }
.wildlife-sub { margin: 22px 0 8px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); }
.wildlife-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.wildlife-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wildlife-list a:hover b { color: var(--teal-600); }
.wildlife-list b { display: block; font-weight: 600; color: var(--ink-900); }
.wildlife-list i { display: block; font-size: 13.5px; color: var(--muted); }
.wildlife-list .n { flex: none; font-size: 13px; color: var(--muted); white-space: nowrap; }
.wildlife-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); max-width: 70ch; }
@media (max-width: 640px) { .wildlife-panel { padding: 20px 18px; text-align: left; } .wildlife-list { grid-template-columns: 1fr; } .wildlife-head h2 { text-align: left; } }
@media (max-width: 640px) { .mapfilters .tabs { flex-wrap: nowrap; gap: 6px; } .mapfilters .tabs button { padding: 8px 11px; gap: 6px; white-space: nowrap; } .mapfilters .tabs .count { padding: 2px 7px; } }
@media (max-width: 380px) { .mapfilters .tabs button svg { display: none; } }

/* Research library grouped by theme. */
.resgroup h2 { display: flex; align-items: baseline; gap: 10px; font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 16px; }
.resgroup h2 span { font: 600 13px/1 var(--sans); color: var(--muted); }
.resgroup .reslist { margin-bottom: 48px; }
@media (max-width: 640px) { .resgroup h2 { justify-content: center; } }
