:root {
  --paper:#FAFAF7; --surface:#FFFFFF; --ink:#101613; --ink-2:#4A5551; --ink-3:#7A8580; --line:#E5E8E4; --line-strong:#101613;
  --cove-950:#081310; --cove-900:#0C1A15; --cove-800:#12261F;
  --accent:#0B7D67; --accent-bright:#2BE4C2; --accent-tint:#E6F4EF;
  --font-display:"Archivo",system-ui,sans-serif; --font-serif:"Source Serif 4",Georgia,serif;
  --shadow:0 12px 28px rgba(8,19,16,.08),0 2px 8px rgba(8,19,16,.05);
  --shadow-hover:0 18px 42px rgba(8,19,16,.14),0 4px 12px rgba(8,19,16,.08);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--font-display); line-height:1.5; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--accent); }
img, svg { max-width:100%; display:block; }
button, input { font:inherit; }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.skip-link { position:absolute; left:-999px; top:8px; z-index:100; background:var(--accent-bright); color:var(--ink); padding:8px 12px; }
.skip-link:focus { left:8px; }
.wrap { width:min(1180px, calc(100% - 32px)); margin-inline:auto; }
.wrap-narrow { width:min(860px, calc(100% - 32px)); margin-inline:auto; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.topbar { background:var(--cove-900); color:rgba(255,255,255,.66); font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }
.topbar-inner { min-height:32px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.masthead { position:sticky; top:0; z-index:40; background:rgba(250,250,247,.96); border-bottom:2px solid var(--line-strong); backdrop-filter:blur(10px); }
.masthead-inner { min-height:78px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--ink); }
.brand-mark { width:32px; height:32px; flex:0 0 32px; }
.brand-word { font-size:25px; font-weight:800; letter-spacing:-.03em; line-height:1; }
.brand-word span:last-child { color:var(--accent); }
.brand-dark { color:#fff; }
.brand-footer .brand-mark { width:40px; height:40px; flex-basis:40px; }
.brand-footer .brand-word { font-size:30px; }
.site-nav { display:flex; justify-content:flex-end; align-items:center; gap:22px; overflow-x:auto; scrollbar-width:none; }
.site-nav::-webkit-scrollbar { display:none; }
.site-nav a { flex:0 0 auto; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); }
.site-nav a[aria-current="page"] { color:var(--accent); }
.search-button { width:42px; height:42px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--ink); display:grid; place-items:center; cursor:pointer; }
.search-button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.3; }
.search-overlay[hidden] { display:none; }
.search-overlay { position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:20px; }
.search-backdrop { position:absolute; inset:0; border:0; background:rgba(8,19,16,.62); cursor:pointer; }
.search-panel { position:relative; width:min(680px, 100%); max-height:min(720px, calc(100vh - 40px)); overflow:auto; background:var(--surface); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow-hover); padding:18px; }
.search-panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.search-panel label { font-weight:800; font-size:22px; }
.search-panel-head button { border:0; background:transparent; font-size:28px; cursor:pointer; }
.search-panel input { width:100%; border:1px solid var(--line); border-radius:10px; padding:14px 16px; background:var(--paper); color:var(--ink); }
.search-results { display:grid; gap:10px; margin-top:16px; }
.search-result { display:block; border:1px solid var(--line); border-radius:10px; padding:14px; background:#fff; }
.search-result span { display:block; color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.search-result strong { display:block; margin:3px 0; font-size:17px; }
.search-result p { margin:0; color:var(--ink-2); font-family:var(--font-serif); }
.lead-grid { display:grid; grid-template-columns:2fr 1fr; gap:32px; padding:42px 0 64px; }
.lead-card, .story-card, .popular-item, .related-card { position:relative; background:var(--surface); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); transition:transform 180ms ease-out, box-shadow 180ms ease-out; }
.lead-card:hover, .story-card:hover, .popular-item:hover, .related-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.story-link { position:absolute; inset:0; z-index:1; border-radius:10px; }
.lead-media .cover-art { border-radius:10px 10px 0 0; }
.cover-art { width:100%; height:auto; background:var(--cove-900); aspect-ratio:16/9; object-fit:cover; }
.lead-copy { padding:24px; }
.chip, .micro-chip { position:relative; z-index:2; display:inline-flex; align-items:center; color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.chip { background:var(--accent-tint); border-radius:999px; padding:6px 10px; }
.lead-copy h1 { margin:14px 0 12px; font-size:clamp(34px,5vw,52px); line-height:.96; letter-spacing:0; font-weight:900; }
.lead-copy p, .story-copy p { color:var(--ink-2); font-family:var(--font-serif); font-size:19px; margin:0 0 18px; }
.byline { display:flex; flex-wrap:wrap; gap:8px 14px; color:var(--ink-3); font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.byline span + span::before { content:""; display:inline-block; width:4px; height:4px; background:var(--ink-3); border-radius:50%; margin-right:14px; vertical-align:middle; }
.latest-panel { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:18px; box-shadow:var(--shadow); }
.rail-title { display:flex; align-items:center; gap:12px; font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; margin-bottom:4px; }
.rail-title::after { content:""; height:1px; background:var(--line-strong); flex:1; }
.latest-item { display:grid; grid-template-columns:56px 1fr; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
.latest-item:last-child { border-bottom:0; padding-bottom:0; }
.latest-thumb .cover-art { width:56px; height:56px; object-fit:cover; border-radius:8px; }
.latest-item h2 { margin:3px 0 4px; font-size:17px; line-height:1.17; font-weight:700; }
.latest-item p { margin:0; color:var(--ink-3); font-size:12px; font-weight:700; text-transform:uppercase; }
.page-rule { border-top:1px solid var(--line); }
.popular { padding:56px 0 72px; }
.popular h2 { margin:0 0 18px; font-size:26px; font-weight:900; }
.popular-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.popular-item { min-height:220px; padding:18px; overflow:hidden; }
.popular-item > span { display:block; color:transparent; -webkit-text-stroke:1px rgba(16,22,19,.18); font-size:68px; line-height:.9; font-weight:900; }
.popular-item h3 { margin:10px 0 0; font-size:18px; line-height:1.15; }
.section-block { padding:28px 0 44px; }
.section-head { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; margin-bottom:18px; }
.section-head h2 { margin:0; font-size:22px; font-weight:800; }
.section-head span { height:1px; background:var(--line); }
.section-head a { color:var(--accent); font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.story-card.wide { display:grid; grid-template-columns:240px 1fr; overflow:hidden; }
.story-card.large { grid-template-columns:300px 1fr; }
.story-card.wide .cover-art { height:100%; min-height:190px; object-fit:cover; }
.story-copy { padding:22px; }
.story-copy h3 { margin:10px 0 9px; font-size:27px; line-height:1.04; font-weight:900; }
.newsletter-wrap { padding:42px 0 56px; }
.newsletter { display:grid; grid-template-columns:1.15fr .85fr; gap:28px; align-items:center; background:var(--cove-900); color:#fff; border-radius:16px; padding:34px; }
.newsletter h2 { margin:0 0 8px; font-size:26px; font-weight:800; }
.newsletter p { margin:0; color:rgba(255,255,255,.78); font-family:var(--font-serif); font-size:19px; }
.newsletter form { display:flex; gap:10px; }
.newsletter input { min-width:0; flex:1; border:1px solid rgba(255,255,255,.18); border-radius:10px; padding:13px 14px; background:#fff; color:var(--ink); }
.newsletter button { border:0; border-radius:10px; padding:13px 18px; background:var(--accent-bright); color:var(--ink); font-weight:800; cursor:pointer; }
.newsletter-success { font-weight:800; color:var(--accent-bright); }
.about-strip { padding:22px 0 72px; }
.about-strip h2 { margin:0 0 8px; }
.about-strip p { max-width:780px; color:var(--ink-2); font-family:var(--font-serif); font-size:18px; }
.about-strip a { color:var(--accent); font-weight:800; }
.category-hero { background:var(--accent-tint); padding:54px 0; border-bottom:1px solid var(--line); }
.category-hero p { margin:0; color:var(--ink-2); font-family:var(--font-serif); font-size:19px; }
.category-hero p:first-child { font-family:var(--font-display); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.category-hero h1 { margin:0 0 8px; font-size:40px; line-height:1; font-weight:900; }
.category-list { display:grid; gap:20px; padding:54px 0; }
.explore { padding:0 0 64px; }
.explore h2 { font-size:20px; }
.chip-row { display:flex; flex-wrap:wrap; gap:10px; }
.chip-row a { border:1px solid var(--line); border-radius:999px; padding:9px 13px; background:var(--surface); color:var(--accent); font-size:13px; font-weight:800; }
.article-page { padding:48px 0 28px; }
.article-header h1 { margin:14px 0 14px; font-size:clamp(30px,4.5vw,46px); line-height:1; font-weight:900; }
.standfirst { margin:0 0 22px; color:var(--ink-2); font-family:var(--font-serif); font-size:20px; line-height:1.45; }
.article-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; color:var(--ink-3); font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; margin:18px 0 24px; }
.avatar { width:32px; height:32px; }
.share-row { display:flex; gap:8px; margin-left:auto; }
.share-row a, .share-row button { position:relative; border:1px solid var(--line); border-radius:999px; padding:7px 10px; background:var(--surface); color:var(--ink); font-size:12px; font-weight:800; cursor:pointer; }
.share-row button span { display:none; position:absolute; left:50%; bottom:calc(100% + 8px); transform:translateX(-50%); background:var(--ink); color:#fff; border-radius:6px; padding:4px 7px; white-space:nowrap; }
.share-row button.is-copied span { display:block; }
.article-cover { margin:24px 0 34px; }
.article-cover .cover-art { border-radius:10px; box-shadow:var(--shadow); }
.toc { margin:22px 0; padding:16px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.toc h2 { margin:0 0 8px; font-size:15px; letter-spacing:.08em; text-transform:uppercase; }
.toc ol { margin:0; padding-left:20px; color:var(--ink-2); }
.toc a { color:var(--accent); font-weight:700; }
.article-body { width:min(720px, calc(100% - 32px)); margin-inline:auto; font-family:var(--font-serif); font-size:18.5px; line-height:1.75; color:var(--ink); }
.article-body p, .article-body ul, .article-body ol { margin:0 0 1.35em; }
.article-body a { color:var(--accent); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.article-body h2 { margin:2.4em 0 .7em; padding-top:22px; border-top:1px solid var(--line); font-family:var(--font-display); font-size:24px; line-height:1.16; font-weight:800; }
.article-body h3 { font-family:var(--font-display); font-size:20px; line-height:1.2; }
.article-body strong { font-weight:600; }
.article-body .cta-box { position:relative; margin:2em 0; padding:42px 20px 20px; background:var(--accent-tint); border:1px solid var(--line); border-left:3px solid var(--accent); border-radius:10px; font-family:var(--font-display); box-shadow:var(--shadow); }
.article-body .cta-box::before { content:"From our toolkit"; position:absolute; top:16px; left:20px; color:var(--accent); font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.related { padding:54px 0 76px; }
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.related-card { overflow:hidden; }
.related-card a { display:block; }
.related-card .cover-art { height:142px; object-fit:cover; }
.related-card span, .related-card h3, .related-card p { margin-left:16px; margin-right:16px; }
.related-card span { margin-top:15px; }
.related-card h3 { margin-top:7px; margin-bottom:8px; font-size:19px; line-height:1.15; }
.related-card p { margin-top:0; margin-bottom:16px; color:var(--ink-3); font-size:12px; font-weight:800; text-transform:uppercase; }
.about-page, .not-found { padding:64px 0; }
.eyebrow { margin:0 0 10px; color:var(--accent); font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.about-page h1, .not-found h1 { margin:0 0 14px; font-size:clamp(34px,5vw,52px); line-height:1; font-weight:900; }
.prose-card { margin-top:28px; padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); font-family:var(--font-serif); font-size:19px; color:var(--ink-2); }
.site-footer { background:var(--cove-950); color:rgba(255,255,255,.72); padding:54px 0 22px; }
.footer-grid { display:grid; grid-template-columns:1.5fr .8fr 1fr 1fr; gap:34px; }
.site-footer h2 { margin:0 0 12px; color:#fff; font-size:13px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.site-footer p { margin:12px 0 0; font-family:var(--font-serif); }
.footer-tagline { color:#fff; font-family:var(--font-display) !important; font-weight:800; }
.site-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.site-footer a { color:rgba(255,255,255,.86); }
.site-footer a:hover, .footer-cta { color:var(--accent-bright); }
.footer-bottom { display:flex; justify-content:space-between; gap:18px; margin-top:42px; padding-top:18px; border-top:1px solid rgba(255,255,255,.12); font-size:13px; }
.reveal { opacity:1; transform:none; }
@media (max-width: 860px) {
  .topbar-inner { font-size:10px; }
  .masthead-inner { grid-template-columns:1fr auto; gap:12px; padding:12px 0 0; }
  .site-nav { grid-column:1 / -1; justify-content:flex-start; margin-inline:-16px; padding:0 16px 12px; }
  .lead-grid, .newsletter, .footer-grid { grid-template-columns:1fr; }
  .lead-grid { padding-top:28px; }
  .popular-grid { grid-template-columns:repeat(2,1fr); }
  .story-card.wide, .story-card.large { grid-template-columns:1fr; }
  .story-card.wide .cover-art { min-height:auto; }
  .newsletter form { flex-direction:column; }
  .related-grid { grid-template-columns:1fr; }
  .share-row { width:100%; margin-left:0; }
}
@media (max-width: 520px) {
  .wrap, .wrap-narrow, .article-body { width:min(100% - 24px, 1180px); }
  .brand-word { font-size:23px; }
  .lead-copy, .story-copy, .newsletter { padding:18px; }
  .popular-grid { grid-template-columns:1fr; }
  .popular-item { min-height:160px; }
  .latest-panel { padding:14px; }
  .article-meta { align-items:flex-start; }
  .footer-bottom { flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
  .lead-card:hover, .story-card:hover, .popular-item:hover, .related-card:hover { transform:none; }
}