/* Finch theme stylesheet. Built from the Finch design system: tokens, components, website type scale, then the WordPress layer. */

/* ===== Tokens ===== */
/* Finch tokens as CSS custom properties, written from the Finch design system's tokens.json. Cream theme on :root, Espresso under [data-theme="dark"]. */
:root {
  --tobacco: #8b6b4a;
  --moss: #7a8b6a;
  --espresso: #2e2a26;
  --bark: #4a4340;
  --cream: #f5f1ea;
  --tobacco-light: #c4a882;
  --moss-light: #a3b294;
  --tobacco-dark: #6b5a42;
  --moss-dark: #5c6b50;
  --warm-grey: #ede8e0;
  --border: #d5cfc8;
  --butter: #f1d78a;

  --canvas: var(--cream);
  --fill-band: var(--warm-grey);
  --fill-header: var(--espresso);
  --fill-dark: var(--espresso);
  --text-body: var(--bark);
  --text-muted: var(--bark);
  --text-strong: var(--espresso);
  --text-on-dark: var(--cream);
  --accent-lead: var(--tobacco);
  --accent-support: var(--moss);
  --wordmark: var(--tobacco);
  --rule: var(--border);
  --link: var(--tobacco-dark);
  --link-visited: var(--tobacco-dark);
  --focus-ring: var(--espresso);
  --action: var(--tobacco-dark);
  --on-action: var(--cream);
  --action-hover: var(--espresso);
  --field-fill: var(--cream);
  --field-border: var(--bark);
  --status-error: #c00000;
  --callout: var(--butter);
  --callout-outline: var(--espresso);
  --map-land: var(--border);
  --map-active: var(--tobacco);
  --map-edge: var(--cream);
  --chart-1: var(--tobacco);
  --chart-2: var(--moss);
  --chart-3: var(--espresso);
  --chart-4: var(--tobacco-light);
  --chart-5: var(--moss-light);
  --chart-6: var(--bark);

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Google Sans Flex", Calibri, system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  --radius-none: 0;
  --radius-sm: 2px;

  --stroke-rule: 0.5pt;
  --stroke-grid: 0.75pt;
  --stroke-callout: 1pt;
  --stroke-slice: 1.5pt;
  --stroke-series: 2.25pt;
  --stroke-quote: 2.25pt;

  --logo-min-screen: 80px;
  --logo-min-print: 1.5cm;
  --logo-header: 1.8cm;
  --control-height: 44px;
  --icon-sm: 20px;
  --icon-md: 24px;
}

[data-theme="dark"], .is-dark {
  --canvas: var(--espresso);
  --fill-band: var(--bark);
  --fill-header: var(--tobacco-dark);
  --fill-dark: var(--espresso);
  --text-body: var(--cream);
  --text-muted: var(--border);
  --text-strong: var(--cream);
  --text-on-dark: var(--cream);
  --accent-lead: var(--tobacco-light);
  --accent-support: var(--moss-light);
  --wordmark: var(--cream);
  --rule: var(--tobacco-dark);
  --link: var(--tobacco-light);
  --link-visited: var(--tobacco-light);
  --focus-ring: var(--cream);
  --action: var(--tobacco-light);
  --on-action: var(--espresso);
  --action-hover: var(--cream);
  --field-fill: var(--bark);
  --field-border: var(--border);
  --status-error: #f7a399;
  --callout: var(--butter);
  --callout-outline: var(--butter);
  --map-land: var(--bark);
  --map-active: var(--tobacco-light);
  --map-edge: var(--espresso);
  --chart-1: var(--tobacco-light);
  --chart-2: var(--moss-light);
  --chart-3: var(--cream);
  --chart-4: var(--moss);
  --chart-5: var(--tobacco);
  --chart-6: var(--border);
}

/* ===== Components ===== */
/* Finch components. Every colour, stroke and space comes from tokens.css. */
body { margin: 0; background: var(--canvas); color: var(--text-body); font-family: var(--font-sans); font-size: 14.67px; line-height: 1.55; }
.fn-stage { padding: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-start; }

/* Theme-aware artwork: show the file that matches the ground */
.fn-on-dark { display: none !important; }
[data-theme="dark"] .fn-on-light, .is-dark .fn-on-light { display: none !important; }
[data-theme="dark"] .fn-on-dark, .is-dark .fn-on-dark { display: block !important; }

/* Logo lockup: the finch, then FINCH in Fraunces bold */
.fn-lockup { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-6); background: var(--canvas); }
.fn-lockup img { display: block; width: 96px; min-width: var(--logo-min-screen); height: auto; }
.fn-lockup__word { font-family: var(--font-serif); font-variation-settings: "opsz" 9; font-weight: 700; font-size: 24px; line-height: 1; color: var(--wordmark); }
.fn-lockup--dark { background: var(--fill-dark); }
.fn-lockup--dark .fn-lockup__word { color: var(--cream); }
.fn-lockup--mono { background: var(--cream); }
.fn-lockup--mono .fn-lockup__word { color: var(--espresso); }

/* Links */
.fn-link { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.fn-link:visited { color: var(--link-visited); }
.fn-link:hover { text-decoration-thickness: 2px; }
.fn-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Buttons */
.fn-btn { display: inline-flex; align-items: center; gap: var(--space-2); height: var(--control-height); padding: 0 var(--space-6); border: 1px solid var(--action); border-radius: var(--radius-none); background: var(--action); color: var(--on-action); font-family: var(--font-sans); font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; }
.fn-btn:hover, .fn-btn:active { background: var(--action-hover); border-color: var(--action-hover); }
.fn-btn--secondary { background: transparent; color: var(--text-strong); border-color: var(--text-strong); }
.fn-btn--secondary:hover, .fn-btn--secondary:active { background: var(--fill-band); border-color: var(--text-strong); }
.fn-btn:focus-visible, .fn-btn.fn-is-focus { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.fn-btn:disabled { opacity: .45; cursor: not-allowed; }

/* Form fields */
.fn-field { display: grid; gap: var(--space-1); max-width: 360px; font-family: var(--font-sans); }
.fn-field__label { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text-body); }
.fn-input { box-sizing: border-box; width: 100%; height: var(--control-height); padding: 0 var(--space-3); border: 1px solid var(--field-border); border-radius: var(--radius-none); background: var(--field-fill); color: var(--text-body); font-family: var(--font-sans); font-size: 16px; }
textarea.fn-input { height: auto; min-height: 120px; padding: var(--space-2) var(--space-3); line-height: 1.5; }
.fn-input:focus-visible, .fn-input.fn-is-focus { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.fn-field__help { font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.fn-field--error .fn-input { border: 2px solid var(--status-error); }
.fn-field__error { font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--status-error); }

/* Site header */
.fn-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-4) var(--space-8); background: var(--canvas); border-bottom: var(--stroke-rule) solid var(--rule); }
.fn-header__brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.fn-header__brand img { width: var(--logo-min-screen); height: auto; }
.fn-header__brand span { font-family: var(--font-serif); font-variation-settings: "opsz" 9; font-weight: 700; font-size: 20px; line-height: 1; color: var(--wordmark); }
.fn-nav { display: flex; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.fn-nav a { font-family: var(--font-sans); font-size: 16px; line-height: 1.4; color: var(--text-body); text-decoration: none; padding: var(--space-1) 0; }
.fn-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.fn-nav a[aria-current="page"] { color: var(--text-strong); font-weight: 700; text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.fn-nav a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.fn-header__menu { display: none; }
@media (max-width: 640px) {
  .fn-header { padding: var(--space-3) var(--space-4); }
  .fn-nav { display: none; }
  .fn-header__menu { display: inline-flex; height: var(--control-height); align-items: center; padding: 0 var(--space-4); border: 1px solid var(--text-strong); background: transparent; color: var(--text-strong); font-family: var(--font-sans); font-size: 16px; font-weight: 700; }
}

/* Site footer: always on the anchor fill */
.fn-footer { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-8); align-items: start; padding: var(--space-8); background: var(--fill-dark); color: var(--cream); font-family: var(--font-sans); font-size: 14.67px; line-height: 1.55; border-top: var(--stroke-rule) solid var(--rule); }
.fn-footer img { width: var(--logo-min-screen); height: auto; display: block; }
.fn-footer p { margin: 0 0 var(--space-2); }
.fn-footer .fn-footer__muted { color: var(--border); }
.fn-footer a { color: var(--tobacco-light); text-decoration: underline; text-underline-offset: 2px; }
.fn-footer a:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.fn-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
@media (max-width: 640px) { .fn-footer { grid-template-columns: 1fr; gap: var(--space-6); padding: var(--space-6) var(--space-4); } }

/* Table */
.fn-table { border-collapse: collapse; font-family: var(--font-sans); font-size: 14.67px; line-height: 1.4; color: var(--text-body); background: var(--canvas); }
.fn-table th, .fn-table td { border: var(--stroke-rule) solid var(--rule); padding: var(--space-2) var(--space-3); text-align: left; vertical-align: top; }
.fn-table thead th { background: var(--fill-header); color: var(--text-on-dark); font-weight: 700; }
.fn-table--band tbody tr:nth-child(even) td { background: var(--fill-band); }
.fn-table tr.fn-total td { background: var(--fill-band); font-weight: 700; }
.fn-table .fn-num { text-align: right; font-variant-numeric: tabular-nums; }
.fn-caption { margin: var(--space-2) 0 0; font-family: var(--font-sans); font-size: 12px; line-height: 1.4; font-style: italic; color: var(--accent-support); }

/* Chart (inline SVG) */
.fn-chart { margin: 0; font-family: var(--font-sans); color: var(--text-body); }
.fn-chart__title { margin: 0 0 var(--space-2); font-family: var(--font-serif); font-variation-settings: "opsz" 9; font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--text-strong); }
.fn-chart svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.fn-chart text { font-family: var(--font-sans); font-size: 12px; fill: var(--text-body); }
.fn-chart .fn-grid { stroke: var(--rule); stroke-width: var(--stroke-grid); }
.fn-chart .fn-s1 { fill: var(--chart-1); } .fn-chart .fn-s2 { fill: var(--chart-2); } .fn-chart .fn-s3 { fill: var(--chart-3); }
.fn-chart .fn-s4 { fill: var(--chart-4); } .fn-chart .fn-s5 { fill: var(--chart-5); } .fn-chart .fn-s6 { fill: var(--chart-6); }
.fn-chart .fn-callout { fill: var(--callout); stroke: var(--callout-outline); stroke-width: var(--stroke-callout); }
.fn-chart .fn-label-strong { fill: var(--text-strong); font-weight: 700; }
.fn-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-2) 0 0; padding: 0; list-style: none; font-size: 12px; }
.fn-legend li { display: inline-flex; align-items: center; gap: var(--space-1); }
.fn-legend i { display: inline-block; width: 12px; height: 12px; }

/* Map (inline SVG of assets/Maps/africa-base.svg) */
.fn-map { margin: 0; font-family: var(--font-sans); }
.fn-map svg { display: block; max-width: 100%; height: auto; }
.fn-map path { fill: var(--map-land); stroke: var(--map-edge); stroke-width: 1; stroke-linejoin: round; }
.fn-map path.fn-active { fill: var(--map-active); }
.fn-map path.fn-focus { fill: var(--callout); stroke: var(--espresso); stroke-width: var(--stroke-callout); }
.fn-map text { font-family: var(--font-sans); font-size: 18px; font-weight: 700; fill: var(--text-strong); paint-order: stroke; stroke: var(--canvas); stroke-width: 4px; }
.fn-map .fn-key { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-body); }
.fn-map .fn-key li { display: inline-flex; align-items: center; gap: var(--space-1); }
.fn-map .fn-key i { display: inline-block; width: 12px; height: 12px; }

/* Key figure */
.fn-figure { display: grid; gap: var(--space-2); max-width: 320px; margin: 0; }
.fn-figure__value { margin: 0; font-family: var(--font-serif); font-variation-settings: "opsz" 9; font-weight: 700; font-size: 56px; line-height: 1.05; color: var(--text-strong); font-variant-numeric: lining-nums; }
.fn-figure__label { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--text-body); }
.fn-figure__source { margin: 0; font-family: var(--font-sans); font-size: 12px; line-height: 1.4; font-style: italic; color: var(--accent-support); }

/* Icons: the Bark-inked SVG files, or inline copies with fill set by the consumer */
.fn-icon { display: inline-block; width: var(--icon-md); height: var(--icon-md); vertical-align: middle; }
.fn-icon--sm { width: var(--icon-sm); height: var(--icon-sm); }

/* Quote */
.fn-quote { margin: 0; padding-left: 8pt; border-left: var(--stroke-quote) solid var(--accent-support); font-family: var(--font-sans); font-style: italic; color: var(--text-body); max-width: 60ch; }
.fn-quote--intense { color: var(--accent-support); font-weight: 700; }
.fn-quote cite { display: block; margin-top: var(--space-2); font-size: 12px; font-style: normal; color: var(--text-muted); }

/* ===== Website type scale and bands ===== */
/* Finch website: one type scale and the section bands. Every page links this after the tokens and components. */

:root {
  --lede: var(--moss-dark);
  --label: var(--moss-dark);
  --step-rule: var(--moss);
}
[data-theme="dark"], .is-dark {
  --lede: var(--moss-light);
  --label: var(--moss-light);
  --step-rule: var(--moss-light);
}
/* Moss band: cream type on Moss dark (5.0:1). */
[data-theme="moss"], .is-moss {
  --canvas: var(--moss-dark);
  --fill-band: var(--moss);
  --text-body: var(--cream);
  --text-strong: var(--cream);
  --accent-lead: var(--cream);
  --accent-support: var(--warm-grey);
  --lede: var(--warm-grey);
  --label: var(--warm-grey);
  --rule: var(--moss-light);
  --step-rule: var(--cream);
  --link: var(--cream);
  --link-visited: var(--cream);
  --focus-ring: var(--cream);
}
.band { background: var(--canvas); color: var(--text-body); }
.band .fn-link { color: var(--link); }

/* Type scale. Headings in Fraunces at the 9pt optical size; everything else Google Sans Flex. */
.t-display, .t-h1, .t-statement, .t-h2, .t-h3, .t-lede {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 9;
  margin: 0;
}
.t-display { font-weight: 700; font-size: clamp(52px, 7vw, 88px); line-height: 1; color: var(--accent-lead); }
.t-h1 { font-weight: 700; font-size: clamp(40px, 4.5vw, 60px); line-height: 1.05; color: var(--accent-lead); }
.t-lede { font-weight: 400; font-style: italic; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.35; color: var(--lede); }
.t-statement { font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; color: var(--text-strong); }
.t-h2 { font-weight: 700; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; color: var(--text-strong); }
.t-h3 { font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--text-strong); }
.t-accent { color: var(--accent-lead); }

.t-h4, .t-label, .t-body, .t-body-sm, .t-small { font-family: var(--font-sans); margin: 0; }
.t-h4 { font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--text-strong); }
.t-label { font-weight: 700; font-size: 14px; line-height: 1.4; letter-spacing: 0.02em; color: var(--label); }
.t-body { font-size: 18px; line-height: 1.6; }
.t-body-sm { font-size: 16px; line-height: 1.6; }
.t-small { font-size: 14px; line-height: 1.5; }

/* ------------------------------------------------------------------
   Finch theme layer: base, layout helpers, header, footer, posts.
   The tokens, components and type scale above come from the Finch
   design system; this part maps them onto WordPress blocks.
   ------------------------------------------------------------------ */

/* Base */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--text-body); font-family: var(--font-sans); font-size: 18px; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-variation-settings: 'opsz' 9; font-weight: 700; color: var(--text-strong); }
img { max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
main p, main h1, main h2, main h3, main h4, main ul, main ol, main figure, main blockquote { margin: 0; }
main a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
main a:hover { text-decoration-thickness: 2px; }
main a:focus-visible, .fs-header a:focus-visible, .fn-footer a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
main h1 a, main h2 a, main h3 a { color: var(--text-strong); text-decoration-color: var(--rule); text-underline-offset: 4px; }
::selection { background: var(--tobacco-light); color: var(--espresso); }

/* Section grounds. "is-dark" is the Espresso theme; "is-moss" puts Cream type on Moss dark. */
.band { background: var(--canvas); color: var(--text-body); }

/* Layout helpers */
.fs-section { position: relative; }
.fs-rule { border-top: 0.5pt solid var(--rule); }
.fs-fill { background: var(--fill-band); }
.fs-wrap { max-width: 1200px; margin-inline: auto; box-sizing: border-box; padding: clamp(56px, 6vw, 96px) clamp(16px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.fs-wrap.fs-hero { padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 48px) clamp(32px, 4vw, 56px); }
.fs-wrap.fs-hero-home { padding: clamp(48px, 7vw, 112px) clamp(16px, 4vw, 48px) clamp(24px, 3vw, 40px); gap: 24px; }
.fs-wrap.fs-tight { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.fs-wrap.fs-why { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(56px, 7vw, 112px); }
.fs-gap-sm { gap: 12px; }
.fs-gap-md { gap: 28px; }
.fs-gap-lg { gap: 40px; }
.fs-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fs-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px clamp(32px, 5vw, 64px); }
.fs-split > .fs-split__head { flex: 1 1 280px; min-width: 0; }
.fs-split > .fs-split__body { flex: 2 1 480px; min-width: 0; }
.fs-split--wide { gap: 40px clamp(32px, 5vw, 72px); }
.fs-split--wide > .fs-half { flex: 1 1 360px; min-width: 0; }
.fs-split--wide > .fs-half-lg { flex: 1 1 420px; min-width: 0; }
.fs-media { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 72px); }
.fs-media--reverse { flex-direction: row-reverse; justify-content: flex-end; }
.fs-media--center { align-items: center; }
.fs-media > .wp-block-image { flex: 0 1 380px; max-width: 380px; width: 100%; }
.fs-media > .fs-stack { flex: 1 1 440px; }
.fs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.fs-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.fs-grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px 32px; }
.fs-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fs-card--rule { padding-top: 16px; border-top: 0.5pt solid var(--rule); gap: 10px; }
.fs-card--step { padding-top: 16px; border-top: 2px solid var(--step-rule); gap: 10px; }
.fs-card--fill { padding: 24px; background: var(--fill-band); }
.fs-measure-sm { max-width: 40ch; }
.fs-measure-md { max-width: 52ch; }
.fs-measure { max-width: 60ch; }
.fs-measure-lg { max-width: 62ch; }
.fs-ch24 { max-width: 24ch; }
.fs-ch30 { max-width: 30ch; }
.fs-ch34 { max-width: 34ch; }
.fs-ch56 { max-width: 56ch; }
.fs-italic { font-style: italic; }
.fs-top-8 { margin-top: 8px !important; }

/* Images. The art sits on a Cream ground, so it runs flush with the page. */
.wp-block-image.fs-wide { max-width: 1440px; margin-inline: auto; }
.wp-block-image.fs-wide img { display: block; width: 100%; aspect-ratio: 2400 / 795; object-fit: cover; }
.wp-block-image.fs-thumb { margin-bottom: 8px; }
.wp-block-image.fs-thumb img { display: block; width: 100%; max-width: 280px; aspect-ratio: 1 / 1; }
.wp-block-image.fs-square img { display: block; width: 100%; max-width: 380px; aspect-ratio: 1 / 1; }
.wp-block-image.fs-map { max-width: 520px; }
.wp-block-image.fs-map img { display: block; width: 100%; height: auto; }

/* Lists */
.fs-bullets { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.fs-inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px !important; }
.fs-ruled { list-style: none; padding: 0; display: flex; flex-direction: column; }
.fs-ruled li { padding: 16px 0; border-top: 0.5pt solid var(--rule); max-width: 60ch; }
.fs-ruled li:last-child { border-bottom: 0.5pt solid var(--rule); }
.fs-key { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; line-height: 1.4; margin-top: 12px !important; }
.fs-key li { display: inline-flex; align-items: center; gap: 6px; }
.fs-key li::before { content: ""; display: inline-block; width: 12px; height: 12px; background: var(--map-land); }
.fs-key li.sw-moss::before { background: var(--moss-dark); }

/* Facts: each paragraph is a row, label in bold */
.fs-facts { display: flex; flex-direction: column; }
.fs-facts p { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); padding: 10px 0; border-top: 0.5pt solid var(--rule); }
.fs-facts p:last-child { border-bottom: 0.5pt solid var(--rule); }
.fs-facts strong { padding-right: 16px; }

/* What you get */
.fs-callout { background: var(--fill-band); border-left: 3px solid var(--moss-dark); padding: 20px 24px; max-width: 62ch; display: flex; flex-direction: column; gap: 4px; }

/* How we work steps */
.fs-steps { display: flex; flex-direction: column; }
.fs-step { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 72px); padding: clamp(32px, 4vw, 48px) 0; border-bottom: 0.5pt solid var(--rule); }
.fs-step:last-child { border-bottom: 0; }
.fs-step > .fs-step__head { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fs-step > .fs-step__body { flex: 2 1 480px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Contact email */
.fs-email { overflow-wrap: anywhere; }
.fs-email a { color: var(--text-strong); text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.fs-panel-lead { padding-top: 16px; border-top: 2px solid var(--moss-dark); }
.fs-panel { padding-top: 16px; border-top: 0.5pt solid var(--rule); }

/* Header */
.fs-header { position: relative; }
.fs-header .fn-header__brand img { width: 80px; height: auto; display: block; }
.fs-header .fn-nav a[aria-current="page"] { color: var(--text-strong); font-weight: 700; text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.fs-header .fn-header__menu { cursor: pointer; }
@media (max-width: 640px) {
	.fs-header.is-open .fn-nav { display: flex; flex-direction: column; gap: 4px; position: absolute; z-index: 50; top: 100%; left: 0; right: 0; padding: 12px 16px 20px; background: var(--canvas); border-bottom: 0.5pt solid var(--rule); }
	.fs-header.is-open .fn-nav a { display: block; padding: 10px 0; font-size: 18px; }
}

/* Footer */
.fn-footer { font-size: 14.67px; }
.fn-footer .fs-footer__tagline { font-family: var(--font-serif); font-variation-settings: 'opsz' 9; font-weight: 700; font-size: 18px; }
.fn-footer img { width: 80px; }

/* Posts in lists */
.fs-posts .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.fs-posts--2 .wp-block-post-template { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 48px; }
.fs-posts .wp-block-post { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 0.5pt solid var(--rule); margin: 0; }
.wp-block-post-terms.t-label a { color: var(--label); text-decoration: none; }
.wp-block-post-terms.t-label .wp-block-post-terms__separator { color: var(--label); }
.wp-block-post-excerpt { margin: 0; }
.wp-block-post-excerpt__excerpt { margin: 0; }
.wp-block-post-excerpt__more-text { display: none; }
.fs-featured .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.fs-featured .wp-block-post { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.fs-featured .wp-block-post-featured-image { margin: 0 0 18px; }
.fs-featured .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 2400 / 795; object-fit: cover; }
.fs-featured .wp-block-post-excerpt { max-width: 52ch; }
.fs-topics { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 12px !important; }
.fs-topics .wp-block-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fs-topics a { font-size: 16px; }
.wp-block-query-pagination { margin-top: 24px; gap: 16px; font-size: 16px; }

/* A single Field Brief post */
.fs-article { max-width: 760px; margin: 0 auto; box-sizing: border-box; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 24px) clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 24px; }
.fs-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 16px; }
.fs-crumbs .wp-block-post-terms { font-size: 16px; }
.fs-crumbs .wp-block-post-terms a { color: var(--text-body); text-decoration: none; }
.fs-lede-excerpt .wp-block-post-excerpt__excerpt { font-family: var(--font-serif); font-variation-settings: 'opsz' 9; font-style: italic; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.35; color: var(--lede); }
.fs-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; line-height: 1.5; padding-bottom: 16px; border-bottom: 0.5pt solid var(--rule); }
.fs-article .wp-block-post-featured-image { margin: 8px 0; }
.fs-article .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 2400 / 795; object-fit: cover; }
.fs-prose > * + * { margin-top: 20px; }
.fs-prose p, .fs-prose li { font-size: 18px; line-height: 1.7; }
.fs-prose h2 { margin-top: 36px; font-size: 22px; line-height: 1.25; }
.fs-prose h3 { margin-top: 28px; font-size: 18px; line-height: 1.3; }
.fs-prose ol, .fs-prose ul { padding-left: 24px; }
.fs-prose li + li { margin-top: 8px; }
.fs-prose .wp-block-quote { margin: 8px 0; padding-left: 12px; border-left: 2.25pt solid var(--accent-support); font-style: italic; }
.fs-prose .wp-block-quote p { font-size: 20px; line-height: 1.5; }
.fs-prose .fs-sources { font-size: 14px; }
.fs-prose .fs-sources li { font-size: 14px; line-height: 1.5; }
.fs-prose h2.fs-sources-title { font-family: var(--font-sans); font-size: 14px; font-weight: 700; margin-top: 40px; padding-top: 16px; border-top: 0.5pt solid var(--rule); }

/* Editor: give sections a little room so they are easy to select */
.editor-styles-wrapper .fs-section { min-height: 24px; }

/* Small extras used by the page layouts */
.fs-strong { color: var(--text-strong); }
.fs-between { justify-content: space-between; align-items: baseline; gap: 12px 32px; }
.fs-between > * { flex: 0 1 auto; }
.fs-wrap.fs-narrow { max-width: 808px; padding-top: clamp(40px, 6vw, 80px); gap: 28px; }
.fs-split--reverse { flex-direction: row-reverse; }
.fs-facts--narrow p { grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); }

/* Phones */
.fs-facts p { overflow-wrap: anywhere; }
@media (max-width: 640px) {
	.fs-facts p, .fs-facts--narrow p { grid-template-columns: 1fr; gap: 2px; }
	.fs-split--reverse { flex-direction: column; }
}

/* Keep the footer at the bottom on short pages */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > .fs-footer-part { margin-top: auto; }
