/* ==========================================================================
   The Afterburn Foundation — site stylesheet
   Framework-free. All classes prefixed "ab-" so they don't collide with
   WordPress theme or block styles.
   ========================================================================== */

:root {
  --ab-char: #14110d;
  --ab-char-2: #1c1813;
  --ab-char-3: #26211a;
  --ab-line: #3a3228;
  --ab-paper: #f4efe4;
  --ab-paper-2: #e9e2d3;
  --ab-muted: #bdb3a2;
  --ab-ink: #14110d;
  --ab-ink-muted: #5a5044;
  --ab-ember: #f26522;
  --ab-red: #c1272d;
  --ab-grad: linear-gradient(110deg, #f26522 0%, #c1272d 100%);
  --ab-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --ab-body: "IBM Plex Sans", "Helvetica Neue", Helvetica, sans-serif;
  --ab-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ab-max: 1240px;
  --ab-gutter: clamp(16px, 4vw, 40px);
  --ab-radius: 4px;
  --ab-header-h: 76px;
}

.ab-site { margin: 0; background: var(--ab-char); color: var(--ab-paper); font-family: var(--ab-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.ab-site *, .ab-site *::before, .ab-site *::after { box-sizing: border-box; }
.ab-site img { max-width: 100%; display: block; }
.ab-site a { color: var(--ab-ember); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ab-site a:hover { color: #ff8a52; }
.ab-site p { margin: 0; text-wrap: pretty; }
/* Base heading look: Barlow Condensed, semibold, uppercase display case.
   (Uppercase was previously supplied by Elementor's kit stylesheet;
   the theme now owns it so the design survives without Elementor.) */
.ab-site h1, .ab-site h2, .ab-site h3, .ab-site h4 { margin: 0; font-family: var(--ab-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
.ab-site :focus-visible { outline: 2px solid var(--ab-ember); outline-offset: 3px; }

.ab-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ab-paper); color: var(--ab-ink) !important; padding: 10px 16px; font-weight: 600; }
.ab-skip:focus { left: 8px; }

/* ---------- Layout ---------- */
.ab-wrap { width: 100%; max-width: var(--ab-max); margin: 0 auto; padding-inline: var(--ab-gutter); }
.ab-section { padding-block: clamp(64px, 9vw, 128px); }
.ab-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.ab-section--raised { background: var(--ab-char-2); }
.ab-section--paper { background: var(--ab-paper); color: var(--ab-ink); }
.ab-section--paper a { color: #a8361a; }
.ab-section--rule { border-top: 1px solid var(--ab-line); }
.ab-stack { display: flex; flex-direction: column; gap: 20px; }
.ab-stack--lg { gap: 32px; }
.ab-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ab-split--top { align-items: start; }
.ab-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.ab-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.ab-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.ab-section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.ab-section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }

/* ---------- Type ---------- */
.ab-eyebrow { font-family: var(--ab-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ab-ember); display: flex; align-items: center; gap: 12px; }
.ab-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ab-grad); flex: none; }
.ab-section--paper .ab-eyebrow { color: #a8361a; }
/* Type scale. The body.ab-site prefix (0,2,1) beats Elementor's global kit
   rules (.elementor-kit-11 h1-h6 at 0,1,1), which otherwise override our
   heading sizes — our stylesheet loads after the kit, but specificity wins. */
body.ab-site .ab-h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); }
body.ab-site .ab-h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
body.ab-site .ab-h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
body.ab-site .ab-h4 { font-size: 1.45rem; }
body.ab-site .ab-hero__split .ab-h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); }
/* Paper (light) sections: dark ink headings. The kit paints every heading
   white, which is unreadable on light backgrounds. */
body.ab-site .ab-section--paper h1, body.ab-site .ab-section--paper h2,
body.ab-site .ab-section--paper h3, body.ab-site .ab-section--paper h4 { color: var(--ab-ink); }
/* Hierarchy fallback: headings without a utility class inherit the type scale
   so heading LEVEL always matches visual size (bare h2/h3 were rendering at
   browser-default sizes). Classed/component headings are untouched. */
.ab-site h1:not([class]) { font-size: clamp(3rem, 7.4vw, 6.4rem); }
.ab-site h2:not([class]) { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.ab-site h3:not([class]) { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.ab-site h4:not([class]) { font-size: 1.45rem; }
/* Font uniformity: form controls use the brand body font, not the OS default. */
.ab-site input, .ab-site select, .ab-site textarea { font-family: inherit; font-size: 1rem; }
.ab-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ab-paper-2); max-width: 64ch; }
.ab-section--paper .ab-lede { color: var(--ab-ink-muted); }
.ab-muted { color: var(--ab-muted); }
.ab-section--paper .ab-muted { color: var(--ab-ink-muted); }
.ab-small { font-size: 14px; }
.ab-accent { background: var(--ab-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-prose { display: flex; flex-direction: column; gap: 18px; max-width: 68ch; }
.ab-prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Buttons ---------- */
.ab-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: var(--ab-radius); font-family: var(--ab-mono); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.ab-btn--primary { background: var(--ab-grad); color: #fff !important; text-shadow: 0 1px 1px rgba(0,0,0,.25); box-shadow: 0 8px 24px -10px rgba(242,101,34,.7); }
.ab-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(242,101,34,.85); }
.ab-btn--ghost { border-color: rgba(244,239,228,.42); color: var(--ab-paper) !important; background: rgba(20,17,13,.25); }
.ab-btn--ghost:hover { border-color: var(--ab-paper); background: rgba(244,239,228,.08); }
.ab-btn--dark { background: var(--ab-char); color: var(--ab-paper) !important; }
.ab-btn--dark:hover { background: #2b241c; }
.ab-btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.ab-link-arrow { font-family: var(--ab-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none !important; display: inline-flex; gap: 8px; align-items: center; }
.ab-link-arrow::after { content: "\2192"; transition: transform .15s ease; }
.ab-link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.ab-header { position: sticky; top: 0; z-index: 100; background: rgba(20,17,13,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ab-line); }
.ab-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--ab-header-h); }
.ab-brand { display: flex; align-items: center; gap: 12px; color: var(--ab-paper) !important; text-decoration: none !important; flex: none; }
.ab-brand img { width: 44px; height: 44px; object-fit: contain; }
.ab-brand__name { display: flex; flex-direction: column; line-height: 1; font-family: var(--ab-display); font-weight: 600; font-size: 22px; letter-spacing: 0.01em; }
.ab-brand__name small { font-family: var(--ab-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.24em; color: var(--ab-muted); margin-top: 5px; }
.ab-nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.ab-burger { display: none; width: 48px; height: 48px; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); align-items: center; justify-content: center; cursor: pointer; color: var(--ab-paper); flex: none; }
.ab-burger svg { width: 22px; height: 22px; }
.ab-nav { display: flex; align-items: center; gap: 28px; }
.ab-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.ab-menu > li { position: relative; }
.ab-menu__link { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; white-space: nowrap; color: var(--ab-paper) !important; text-decoration: none !important; font-size: 15px; font-weight: 500; border-radius: var(--ab-radius); }
.ab-menu__link:hover, .ab-menu > li:focus-within > .ab-menu__link { background: rgba(244,239,228,.06); }
.ab-menu__link.is-current { color: var(--ab-ember) !important; }
.ab-menu__link svg { width: 12px; height: 12px; opacity: .7; }
.ab-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 6px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.ab-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ab-menu > li:hover > .ab-sub, .ab-menu > li:focus-within > .ab-sub { opacity: 1; visibility: visible; transform: none; }
.ab-sub a { display: block; padding: 11px 14px; color: var(--ab-paper) !important; text-decoration: none !important; font-size: 15px; border-radius: 4px; }
.ab-sub a:hover { background: rgba(244,239,228,.06); color: var(--ab-ember) !important; }
.ab-sub a.is-current { color: var(--ab-ember) !important; }
.ab-header__actions { display: flex; align-items: center; gap: 18px; }
.ab-header__apply { font-size: 15px; font-weight: 500; color: var(--ab-paper) !important; text-decoration: underline; text-decoration-color: rgba(244,239,228,.35) !important; white-space: nowrap; }
.ab-header__apply:hover { color: var(--ab-ember) !important; }

@media (max-width: 1180px) {
  .ab-burger { display: inline-flex; }
  .ab-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--ab-gutter) 28px; background: var(--ab-char); border-bottom: 1px solid var(--ab-line); max-height: calc(100vh - var(--ab-header-h)); overflow-y: auto; }
  .ab-nav-toggle:checked ~ .ab-nav { display: flex; }
  .ab-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .ab-menu > li { border-bottom: 1px solid var(--ab-line); }
  .ab-menu__link { min-height: 54px; padding: 0 4px; font-size: 17px; justify-content: space-between; }
  .ab-menu__link:hover { background: none; }
  .ab-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 10px 12px; min-width: 0; }
  .ab-sub a { padding: 10px 4px; color: var(--ab-muted) !important; }
  .ab-header__actions { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 20px; }
  .ab-header__actions .ab-btn { width: 100%; }
  .ab-header__apply { text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.ab-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 720px; display: flex; align-items: flex-end; }
.ab-hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ab-char-3); overflow: hidden; }
.ab-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Mirrored hero photo (fire-departments page, Corey's direction Oct 19 2026). */
.ab-hero__media--flip img { transform: scaleX(-1); }
/* Self-hosted background video: no player UI exists. Covers the hero and
   fades in over the identical poster image once frames are painting. */
.ab-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,17,13,.55) 0%, rgba(20,17,13,.72) 45%, rgba(20,17,13,.96) 100%), linear-gradient(90deg, rgba(20,17,13,.85) 0%, rgba(20,17,13,.2) 75%); }
.ab-hero__body { padding-block: 160px clamp(56px, 8vw, 104px); width: 100%; }
.ab-hero__content { display: flex; flex-direction: column; gap: 26px; max-width: 900px; }
.ab-hero--page { min-height: 520px; }
.ab-hero--page .ab-hero__body { padding-block: 140px clamp(48px, 6vw, 80px); }
.ab-hero--plain { min-height: 0; background: var(--ab-char); border-bottom: 1px solid var(--ab-line); }
.ab-hero--plain .ab-hero__body { padding-block: clamp(72px, 9vw, 128px) clamp(48px, 6vw, 80px); }
.ab-proposition { display: flex; flex-direction: column; }
.ab-proposition span { display: block; }
.ab-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; border-top: 1px solid rgba(244,239,228,.18); font-family: var(--ab-mono); font-size: 13px; letter-spacing: .06em; color: var(--ab-muted); }
.ab-hero__meta strong { color: var(--ab-paper); font-weight: 600; }
.ab-video-note { position: absolute; right: var(--ab-gutter); top: 100px; font-family: var(--ab-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ab-muted); border: 1px dashed rgba(244,239,228,.35); padding: 6px 10px; border-radius: 3px; }

/* ---------- Statistic cards ---------- */
.ab-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px; background: var(--ab-line); border: 1px solid var(--ab-line); }
.ab-stat { background: var(--ab-char); padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.ab-section--raised .ab-stat { background: var(--ab-char-2); }
.ab-stat__value { font-family: var(--ab-display); font-weight: 600; font-size: clamp(2.8rem, 4.2vw, 4rem); line-height: .9; white-space: nowrap; color: var(--ab-paper); }
.ab-stat__value em { font-style: normal; color: var(--ab-ember); }
.ab-stat__label { font-size: 15.5px; line-height: 1.5; color: var(--ab-paper-2); }
.ab-stat__source { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ab-line); font-family: var(--ab-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ab-muted); }

/* ---------- Process steps ---------- */
.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--ab-line); }
.ab-step { padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.ab-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--ab-grad); }
.ab-step__num { font-family: var(--ab-mono); font-size: 13px; letter-spacing: .14em; color: var(--ab-ember); }
.ab-step__title { font-family: var(--ab-display); font-size: 1.75rem; font-weight: 600; line-height: 1.05; }
.ab-step p { color: var(--ab-paper-2); font-size: 16px; }
.ab-steps--vertical { grid-template-columns: 1fr; border-top: 0; }
.ab-steps--vertical .ab-step { flex-direction: row; gap: 28px; padding: 28px 0; border-top: 1px solid var(--ab-line); }
.ab-steps--vertical .ab-step::before { display: none; }
.ab-steps--vertical .ab-step__num { flex: none; width: 52px; height: 52px; border: 1px solid var(--ab-ember); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ab-steps--vertical .ab-step__body { display: flex; flex-direction: column; gap: 8px; }
.ab-section--paper .ab-steps, .ab-section--paper .ab-steps--vertical .ab-step { border-color: #cfc6b4; }
.ab-section--paper .ab-step p { color: var(--ab-ink-muted); }
.ab-section--paper .ab-step__num { color: #a8361a; }

/* ---------- Sponsorship cards ---------- */
.ab-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.ab-tier { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px 28px; background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 6px; }
.ab-tier--featured { background: linear-gradient(180deg, rgba(242,101,34,.14), rgba(193,39,45,.06) 60%, transparent), var(--ab-char-2); border-color: var(--ab-ember); }
.ab-tier__flag { position: absolute; top: -12px; left: 28px; background: var(--ab-grad); color: #fff; font-family: var(--ab-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; padding: 4px 10px; border-radius: 3px; }
.ab-tier__kicker { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .14em; color: var(--ab-muted); }
.ab-tier .ab-tier__price { color: var(--ab-paper); font-family: var(--ab-display); font-weight: 600; font-size: 4rem; line-height: .9; }
.ab-tier__price small { font-family: var(--ab-body); font-size: 15px; font-weight: 400; color: var(--ab-muted); margin-left: 6px; }
.ab-tier__title { font-family: var(--ab-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.ab-tier p { color: var(--ab-paper-2); font-size: 15.5px; }
.ab-tier ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--ab-line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ab-paper-2); }
.ab-tier li { display: flex; gap: 10px; }
.ab-tier li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--ab-ember); transform: rotate(45deg); }
.ab-tier .ab-btn { margin-top: auto; }

/* ---------- Research callouts ---------- */
.ab-callout { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: 28px; background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 6px; }
.ab-callout__tag { grid-row: span 3; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--ab-mono); font-size: 11px; letter-spacing: .2em; color: var(--ab-ember); border-left: 1px solid var(--ab-line); padding-left: 14px; text-align: right; }
.ab-callout__finding { font-family: var(--ab-display); font-size: 1.55rem; font-weight: 500; line-height: 1.2; color: var(--ab-paper); }
.ab-callout__meaning { color: var(--ab-paper-2); font-size: 15.5px; }
.ab-callout__cite { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .04em; color: var(--ab-muted); padding-top: 10px; }
.ab-callout__cite a { color: var(--ab-muted) !important; }
.ab-callout__cite a:hover { color: var(--ab-ember) !important; }
.ab-section--paper .ab-callout { background: #fbf8f1; border-color: #d8cfbd; }
.ab-section--paper .ab-callout__finding { color: var(--ab-ink); }
.ab-section--paper .ab-callout__meaning, .ab-section--paper .ab-callout__cite, .ab-section--paper .ab-callout__cite a { color: var(--ab-ink-muted) !important; }
.ab-section--paper .ab-callout__tag { color: #a8361a; border-color: #d8cfbd; }

/* ---------- Two-path CTA band ---------- */
.ab-paths { position: relative; isolation: isolate; overflow: hidden; }
.ab-paths__bg { position: absolute; inset: 0; z-index: -2; }
.ab-paths__bg img { width: 100%; height: 100%; object-fit: cover; }
.ab-paths::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,17,13,.86); }
.ab-paths__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 1px; background: rgba(244,239,228,.16); border: 1px solid rgba(244,239,228,.16); }
.ab-path { display: flex; flex-direction: column; gap: 18px; padding: clamp(32px, 5vw, 56px); background: rgba(20,17,13,.6); }
.ab-path--give { background: linear-gradient(135deg, rgba(242,101,34,.2), rgba(193,39,45,.12)), rgba(20,17,13,.6); }
.ab-path__q { font-family: var(--ab-mono); font-size: 13px; letter-spacing: .14em; color: var(--ab-ember); }
.ab-path h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.ab-path p { color: var(--ab-paper-2); max-width: 46ch; }
.ab-path .ab-btn-row { margin-top: 8px; }

/* ---------- Media + cards ---------- */
.ab-figure { position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: var(--ab-char-3); }
.ab-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.ab-figure--tall img { aspect-ratio: 4 / 5; }
.ab-figure--wide img { aspect-ratio: 16 / 9; }
.ab-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(20,17,13,.9)); font-family: var(--ab-mono); font-size: 12px; letter-spacing: .08em; color: var(--ab-paper-2); }
.ab-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 6px; }
.ab-section--raised .ab-card { background: var(--ab-char); }
.ab-section--paper .ab-card { background: #fbf8f1; border-color: #d8cfbd; }
.ab-card__icon { width: 44px; height: 44px; border: 1px solid var(--ab-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ab-ember); }
.ab-card__icon svg { width: 22px; height: 22px; }
.ab-card h3 { font-size: 1.6rem; }
.ab-card p { color: var(--ab-paper-2); font-size: 16px; }
.ab-section--paper .ab-card p { color: var(--ab-ink-muted); }
.ab-section--paper .ab-card__icon { border-color: #d8cfbd; color: #a8361a; }

/* Spec rows (data sheet style) */
.ab-spec { display: flex; flex-direction: column; border-top: 1px solid var(--ab-line); }
.ab-spec__row { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--ab-line); }
.ab-spec__key { font-family: var(--ab-mono); font-size: 12.5px; letter-spacing: .12em; color: var(--ab-ember); padding-top: 3px; }
.ab-spec__val { color: var(--ab-paper-2); }
.ab-spec__val strong { color: var(--ab-paper); font-weight: 600; }
.ab-section--paper .ab-spec, .ab-section--paper .ab-spec__row { border-color: #d0c7b5; }
.ab-section--paper .ab-spec__key { color: #a8361a; }
.ab-section--paper .ab-spec__val { color: var(--ab-ink-muted); }
.ab-section--paper .ab-spec__val strong { color: var(--ab-ink); }
@media (max-width: 640px) { .ab-spec__row { grid-template-columns: 1fr; } }

/* Checklist */
.ab-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ab-checks li { display: flex; gap: 14px; align-items: flex-start; }
.ab-checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--ab-ember); background: radial-gradient(circle, var(--ab-ember) 0 4px, transparent 5px); }

/* Compare table */
.ab-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.ab-compare__col { border: 1px solid var(--ab-line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ab-compare__col--hi { border-color: var(--ab-ember); background: linear-gradient(180deg, rgba(242,101,34,.08), transparent 50%); }

/* Honesty box */
.ab-limits { border: 1px dashed rgba(244,239,228,.4); border-radius: 6px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }

/* FAQ */
.ab-faq { display: flex; flex-direction: column; border-top: 1px solid var(--ab-line); }
.ab-faq details { border-bottom: 1px solid var(--ab-line); }
.ab-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--ab-display); font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary::after { content: "+"; font-family: var(--ab-mono); font-size: 22px; color: var(--ab-ember); flex: none; }
.ab-faq details[open] summary::after { content: "\2212"; }
.ab-faq details > div { padding: 0 0 24px; color: var(--ab-paper-2); max-width: 72ch; }
.ab-section--paper .ab-faq, .ab-section--paper .ab-faq details { border-color: #d0c7b5; }
.ab-section--paper .ab-faq details > div { color: var(--ab-ink-muted); }

/* People */
.ab-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.ab-person { display: flex; flex-direction: column; gap: 10px; }
.ab-person__photo { aspect-ratio: 4 / 5; border-radius: 6px; background: repeating-linear-gradient(135deg, var(--ab-char-2) 0 12px, var(--ab-char-3) 12px 24px); border: 1px solid var(--ab-line); display: flex; align-items: flex-end; padding: 14px; font-family: var(--ab-mono); font-size: 11px; letter-spacing: .12em; color: var(--ab-muted); margin-bottom: 8px; }
.ab-person__photo:has(img) { padding: 0; background: var(--ab-char-2); overflow: hidden; display: block; }
.ab-person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-person__name { font-family: var(--ab-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.ab-person__role { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .12em; color: var(--ab-ember); }
.ab-person p { color: var(--ab-paper-2); font-size: 15px; }

/* Docs list */
.ab-docs { display: flex; flex-direction: column; border-top: 1px solid var(--ab-line); }
.ab-doc { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 0; border-bottom: 1px solid var(--ab-line); }
.ab-doc__name { font-family: var(--ab-display); font-size: 1.4rem; font-weight: 500; }
.ab-doc__meta { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .08em; color: var(--ab-muted); }

/* Allocation bar */
.ab-alloc { display: flex; height: 18px; border-radius: 3px; overflow: hidden; gap: 2px; }
.ab-alloc span { display: block; height: 100%; }
.ab-alloc-legend { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--ab-paper-2); }
.ab-alloc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }

/* ---------- Forms ---------- */
.ab-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px 24px; }
.ab-form fieldset { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px 24px; }
.ab-form legend { grid-column: 1 / -1; font-family: var(--ab-mono); font-size: 12.5px; letter-spacing: .14em; color: var(--ab-ember); padding: 0 0 4px; margin-bottom: 4px; width: 100%; border-bottom: 1px solid var(--ab-line); }
.ab-field { display: flex; flex-direction: column; gap: 8px; }
.ab-field--full { grid-column: 1 / -1; }
.ab-field label { font-size: 14.5px; font-weight: 500; color: var(--ab-paper); }
.ab-field label span { color: var(--ab-muted); font-weight: 400; }
.ab-field input, .ab-field select, .ab-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--ab-char); border: 1px solid #4a4135; border-radius: var(--ab-radius); color: var(--ab-paper); font-family: var(--ab-body); font-size: 16px; }
.ab-field textarea { min-height: 140px; resize: vertical; }
.ab-field input:focus, .ab-field select:focus, .ab-field textarea:focus { outline: none; border-color: var(--ab-ember); box-shadow: 0 0 0 3px rgba(242,101,34,.25); }
.ab-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ab-muted) 50%), linear-gradient(135deg, var(--ab-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.ab-radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-radio { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid #4a4135; border-radius: var(--ab-radius); font-size: 15px; cursor: pointer; }
.ab-radio input { accent-color: var(--ab-ember); width: 18px; height: 18px; margin: 0; min-height: 0; }
.ab-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 8px; }
.ab-panel { background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 8px; padding: clamp(24px, 4vw, 48px); }

/* Donation embed */
.ab-donate { background: var(--ab-paper); border-radius: 8px; overflow: hidden; border: 1px solid var(--ab-line); }
.ab-donate__stand-in { height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; color: var(--ab-ink); background: repeating-linear-gradient(135deg, #f4efe4 0 14px, #ece5d6 14px 28px); }
.ab-donate__stand-in strong { font-family: var(--ab-display); font-size: 2rem; font-weight: 600; }
.ab-donate__stand-in span { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .1em; color: var(--ab-ink-muted); max-width: 44ch; }

/* ---------- Footer ---------- */
.ab-footer { position: relative; isolation: isolate; background: #0e0c09; border-top: 1px solid var(--ab-line); padding-top: clamp(56px, 7vw, 96px); }
.ab-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 40px; }
.ab-footer__about { display: flex; flex-direction: column; gap: 20px; max-width: 380px; }
.ab-footer__about p { color: var(--ab-muted); font-size: 15px; }
.ab-footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ab-footer__contact a { color: var(--ab-paper) !important; text-decoration: none !important; }
.ab-footer__contact a:hover { color: var(--ab-ember) !important; }
.ab-footer__col { display: flex; flex-direction: column; gap: 14px; }
.ab-footer__head { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .16em; color: var(--ab-ember); }
.ab-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ab-footer__col a { color: var(--ab-paper-2) !important; text-decoration: none !important; font-size: 15px; display: inline-flex; min-height: 34px; align-items: center; }
.ab-footer__col a:hover { color: var(--ab-ember) !important; }
.ab-footer__bar { margin-top: clamp(48px, 6vw, 80px); padding-block: 24px 32px; border-top: 1px solid var(--ab-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--ab-muted); }
.ab-footer__bar nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ab-footer__bar a { color: var(--ab-muted) !important; text-decoration: none !important; }
.ab-footer__bar a:hover { color: var(--ab-paper) !important; }
.ab-footer__credit { padding-bottom: 30px; font-size: 12.5px; color: var(--ab-muted); text-align: center; }
.ab-footer__credit a { color: var(--ab-paper-2) !important; text-decoration: none !important; border-bottom: 1px dotted var(--ab-line-2); }
.ab-footer__credit a:hover { color: var(--ab-ember) !important; border-bottom-color: var(--ab-ember); }
.ab-paths__note { margin-top: clamp(32px, 4vw, 48px); text-align: center; font-family: var(--ab-mono); font-size: 12px; letter-spacing: .1em; color: rgba(246, 241, 232, .72); }
@media (max-width: 900px) { .ab-footer__grid { grid-template-columns: 1fr 1fr; } .ab-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ab-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.ab-mt-s { margin-top: 12px; } .ab-mt-m { margin-top: 28px; } .ab-mt-l { margin-top: 56px; }
.ab-center { text-align: center; align-items: center; margin-inline: auto; }
.ab-divider { height: 1px; background: var(--ab-line); border: 0; margin: 0; }
.ab-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--ab-line); border-radius: 999px; font-family: var(--ab-mono); font-size: 12px; letter-spacing: .08em; color: var(--ab-paper-2); }
.ab-placeholder { color: var(--ab-ember); font-family: var(--ab-mono); font-size: .9em; }
.ab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .ab-hero__media video { display: none; }
  .ab-site * { transition: none !important; }
}

/* ==========================================================================
   Homepage narrative components (v2)
   ========================================================================== */
.ab-hero--home { min-height: 760px; }
.ab-hero__support { font-family: var(--ab-mono); font-size: 14px; letter-spacing: .04em; color: var(--ab-paper); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ab-hero__support strong { color: var(--ab-ember); font-weight: 600; }

/* Section index marker */
.ab-chapter { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .16em; color: var(--ab-muted); }

/* Pivot statement */
.ab-pivot { border-left: 0; padding: 28px 0 0; border-top: 1px solid var(--ab-line); display: flex; flex-direction: column; gap: 10px; }
.ab-pivot p { font-family: var(--ab-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--ab-paper); max-width: 34ch; }
.ab-pivot p + p { color: var(--ab-ember); }

/* Big-number pair for stakes */
.ab-bignums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1px; background: var(--ab-line); border: 1px solid var(--ab-line); }
.ab-bignum { background: var(--ab-char); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.ab-bignum .ab-bignum__v { font-family: var(--ab-display); font-weight: 600; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .85; color: var(--ab-paper); white-space: nowrap; }
.ab-bignum__v em { font-style: normal; color: var(--ab-ember); }
.ab-bignum p { color: var(--ab-paper-2); font-size: 16px; }
.ab-bignum .ab-bignum__src { font-family: var(--ab-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ab-muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ab-line); }

/* Incident → PPE → exposure flow */
.ab-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 44px; counter-reset: flow; }
.ab-flow__item { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 6px; }
.ab-flow__item:nth-child(3) { border-color: var(--ab-ember); background: linear-gradient(180deg, rgba(242,101,34,.12), rgba(193,39,45,.04) 70%), var(--ab-char-2); }
.ab-flow__item:not(:last-child)::after { content: "\2192"; position: absolute; right: -34px; top: 50%; transform: translateY(-50%); font-family: var(--ab-mono); font-size: 22px; color: var(--ab-ember); }
@media (max-width: 900px) { .ab-flow__item:not(:last-child)::after { content: "\2193"; right: auto; left: 28px; top: auto; bottom: -38px; transform: none; } }
.ab-flow__tag { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .14em; color: var(--ab-ember); }
.ab-flow__item h3 { font-size: 1.9rem; }
.ab-flow__item p { color: var(--ab-paper-2); font-size: 16px; }
.ab-punch { font-family: var(--ab-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; text-wrap: balance; }
.ab-punch-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; padding-top: 40px; margin-top: 56px; border-top: 1px solid var(--ab-line); }

/* Exposure contexts chips */
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Closing statement */
.ab-closing { margin-top: 48px; padding: 28px 32px; border: 1px solid #cfc6b4; border-radius: 6px; font-family: var(--ab-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--ab-ink); max-width: 900px; }
.ab-closing strong { color: #a8361a; font-weight: 600; }

/* The $500 offer */
.ab-offer { position: relative; isolation: isolate; overflow: hidden; background: #0e0c09; border-block: 1px solid var(--ab-line); }
.ab-offer::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -320px; background: radial-gradient(circle, rgba(242,101,34,.28), rgba(193,39,45,.12) 40%, transparent 68%); }
.ab-offer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-offer__big { font-family: var(--ab-display); font-weight: 600; line-height: .86; letter-spacing: -0.01em; display: flex; flex-direction: column; }
.ab-offer__big span:first-child { font-size: clamp(7rem, 17vw, 15rem); background: var(--ab-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-offer__big span { font-size: clamp(3rem, 6.4vw, 5.6rem); }
.ab-offer__includes { display: flex; flex-direction: column; gap: 24px; }
.ab-offer__includes h3 { font-family: var(--ab-mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--ab-ember); }
.ab-incl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ab-line); }
.ab-incl li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--ab-line); }
.ab-incl__n { font-family: var(--ab-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--ab-paper); }
.ab-incl__t { display: flex; flex-direction: column; gap: 4px; }
.ab-incl__t strong { font-size: 18px; font-weight: 600; color: var(--ab-paper); }
.ab-incl__t span { color: var(--ab-muted); font-size: 15px; }
.ab-note { display: flex; gap: 14px; padding: 18px 20px; border: 1px dashed rgba(244,239,228,.35); border-radius: 6px; color: var(--ab-paper-2); font-size: 15px; }
.ab-note::before { content: "i"; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ab-ember); color: var(--ab-ember); font-family: var(--ab-mono); font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* Scale stats: goal emphasis */
.ab-stat--goal { background: linear-gradient(180deg, rgba(242,101,34,.14), transparent 70%), var(--ab-char) !important; }
.ab-context { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--ab-paper-2); }
.ab-meter { flex: 1 1 280px; height: 10px; background: var(--ab-char-3); border-radius: 999px; overflow: hidden; border: 1px solid var(--ab-line); }
.ab-meter span { display: block; height: 100%; background: var(--ab-grad); }

/* Pending metrics */
.ab-stat--pending .ab-stat__value { color: var(--ab-line); }
.ab-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ab-mono); font-size: 12px; letter-spacing: .1em; color: var(--ab-muted); }
.ab-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ab-ember); box-shadow: 0 0 0 4px rgba(242,101,34,.18); }

/* Source cards */
.ab-sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.ab-source { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: #fbf8f1; border: 1px solid #d8cfbd; border-radius: 6px; }
.ab-source .ab-source__abbr { font-family: var(--ab-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--ab-ink); }
.ab-source .ab-source__name { font-family: var(--ab-mono); font-size: 11.5px; letter-spacing: .1em; color: #a8361a; }
.ab-source p { color: var(--ab-ink-muted); font-size: 15px; }

@media (max-width: 520px) { .ab-btn { white-space: normal; text-align: center; padding-block: 12px; line-height: 1.3; } }

/* ==========================================================================
   Inner-page components (v3)
   ========================================================================== */
.ab-hide { display: none !important; }

/* Info tiers: compact */
.ab-tiers--info .ab-tier { padding: 26px 24px 24px; gap: 12px; }
.ab-tiers--info .ab-tier .ab-tier__price { font-size: 3.2rem; }
.ab-tier__impact { font-family: var(--ab-mono); font-size: 12.5px; letter-spacing: .08em; color: var(--ab-ember); }

/* Trust signals */
.ab-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--ab-line); border-bottom: 1px solid var(--ab-line); }
.ab-trust__item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px 26px 0; }
.ab-trust__item svg { flex: none; width: 26px; height: 26px; color: var(--ab-ember); margin-top: 2px; }
.ab-trust__item strong { display: block; font-family: var(--ab-display); font-size: 1.45rem; font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.ab-trust__item span { color: var(--ab-paper-2); font-size: 15px; }

/* Six-step timeline (2 x 3) */
.ab-steps--six { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); row-gap: 8px; border-top: 0; }
.ab-steps--six .ab-step { border-top: 1px solid var(--ab-line); }
.ab-section--paper .ab-steps--six .ab-step { border-color: #cfc6b4; }

/* Funding list */
.ab-fundlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1px; background: var(--ab-line); border: 1px solid var(--ab-line); }
.ab-fundlist li { background: var(--ab-char); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.ab-section--raised .ab-fundlist li { background: var(--ab-char-2); }
.ab-fundlist strong { font-family: var(--ab-display); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.ab-fundlist span { color: var(--ab-muted); font-size: 14.5px; }
.ab-fundlist .ab-fundlist__n { font-family: var(--ab-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--ab-ember); }

/* Ask list (two columns of checks) */
.ab-asklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 32px; counter-reset: ask; }
.ab-asklist li { counter-increment: ask; display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #d0c7b5; font-size: 16.5px; }
.ab-asklist li::before { content: counter(ask, decimal-leading-zero); font-family: var(--ab-mono); font-size: 12.5px; color: #a8361a; padding-top: 3px; }

/* Narrative parts */
.ab-part { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px); }
@media (max-width: 860px) { .ab-part { grid-template-columns: 1fr; } }
.ab-part__num { font-family: var(--ab-display); font-weight: 600; font-size: clamp(5rem, 9vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--ab-ember); }
.ab-section--paper .ab-part__num { -webkit-text-stroke-color: #a8361a; }
.ab-part__body { display: flex; flex-direction: column; gap: 24px; max-width: 880px; }

/* Three-way cleaning levels */
.ab-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ab-level { padding: 22px; border: 1px solid var(--ab-line); border-radius: 6px; display: flex; flex-direction: column; gap: 8px; }
.ab-level p { color: var(--ab-paper-2); font-size: 15px; }
.ab-section--paper .ab-level { border-color: #d0c7b5; background: #fbf8f1; }
.ab-section--paper .ab-level p { color: var(--ab-ink-muted); }
.ab-level h3 { font-size: 1.5rem; }

/* Evidence library */
.ab-library { display: flex; flex-direction: column; border-top: 1px solid var(--ab-line); }
.ab-entry { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--ab-line); }
@media (max-width: 760px) { .ab-entry { grid-template-columns: 1fr; } }
.ab-entry__abbr { font-family: var(--ab-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.ab-entry__body { display: flex; flex-direction: column; gap: 4px; }
.ab-entry__body strong { font-weight: 600; }
.ab-entry__body span { color: var(--ab-paper-2); font-size: 15px; }
.ab-entry__label { font-family: var(--ab-mono); font-size: 11px; letter-spacing: .12em; padding: 4px 8px; border: 1px solid var(--ab-line); border-radius: 3px; color: var(--ab-muted); white-space: nowrap; }
.ab-entry__label--provider { border-color: var(--ab-ember); color: var(--ab-ember); }

/* Contaminant grid */
.ab-contam { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; background: var(--ab-line); border: 1px solid var(--ab-line); }
.ab-contam > div { background: var(--ab-char); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.ab-section--raised .ab-contam > div { background: var(--ab-char-2); }
.ab-contam h3 { font-size: 1.55rem; }
.ab-contam p { color: var(--ab-paper-2); font-size: 15.5px; }

/* Story */
.ab-story { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--ab-line); }
.ab-story__row { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 16px 56px; padding: 40px 0; border-bottom: 1px solid var(--ab-line); }
@media (max-width: 860px) { .ab-story__row { grid-template-columns: 1fr; } }
.ab-story__row h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.ab-story__row .ab-prose { color: var(--ab-paper-2); }
.ab-statement { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.ab-statement > div { padding: clamp(28px, 4vw, 44px); border-radius: 6px; display: flex; flex-direction: column; gap: 16px; }
.ab-statement p.ab-statement__text { font-family: var(--ab-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }

/* Founders */
.ab-founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 24px; }
.ab-founder { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 24px; padding: 24px; background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 8px; }
@media (max-width: 520px) { .ab-founder { grid-template-columns: 1fr; } }
.ab-founder .ab-person__photo { margin: 0; }
.ab-founder__body { display: flex; flex-direction: column; gap: 10px; }
.ab-founder__body p { color: var(--ab-paper-2); font-size: 15.5px; }
.ab-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ab-tags span { font-family: var(--ab-mono); font-size: 11px; letter-spacing: .08em; padding: 4px 8px; border: 1px solid var(--ab-line); border-radius: 3px; color: var(--ab-paper-2); }

/* Notice */
.ab-notice { display: flex; gap: 18px; padding: 22px 24px; border: 1px solid var(--ab-ember); border-radius: 6px; background: rgba(242,101,34,.07); }
.ab-notice svg { flex: none; width: 24px; height: 24px; color: var(--ab-ember); margin-top: 2px; }
.ab-notice div { display: flex; flex-direction: column; gap: 6px; }
.ab-notice strong { font-weight: 600; }
.ab-notice p { color: var(--ab-paper-2); font-size: 15.5px; }

/* Wizard */
.ab-wizard { display: flex; flex-direction: column; gap: 28px; }
.ab-wizard__top { display: flex; flex-direction: column; gap: 14px; }
.ab-wizard__count { font-family: var(--ab-mono); font-size: 12.5px; letter-spacing: .14em; color: var(--ab-ember); }
.ab-progress { height: 6px; background: var(--ab-char-3); border-radius: 999px; overflow: hidden; }
.ab-progress span { display: block; height: 100%; background: var(--ab-grad); transition: width .25s ease; }
.ab-wizard__labels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.ab-wizard__labels li { font-family: var(--ab-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ab-muted); padding-top: 8px; border-top: 2px solid var(--ab-line); line-height: 1.35; }
.ab-wizard__labels li.is-done { color: var(--ab-paper-2); border-color: #8a4a2a; }
.ab-wizard__labels li.is-current { color: var(--ab-paper); border-color: var(--ab-ember); }
@media (max-width: 860px) { .ab-wizard__labels { display: none; } }
.ab-wizard__step { display: none !important; }
.ab-wizard__step.is-active { display: grid !important; }
.ab-wizard__step h2 { grid-column: 1 / -1; font-size: 2.2rem; }
.ab-wizard__step .ab-step-intro { grid-column: 1 / -1; color: var(--ab-paper-2); margin-top: -8px; }
.ab-wizard__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ab-line); }
.ab-wizard__nav .ab-spacer { flex: 1 1 auto; }
.ab-btn--text { background: none; border: 0; color: var(--ab-paper-2) !important; padding: 0 8px; text-decoration: underline !important; text-transform: none; letter-spacing: 0; font-family: var(--ab-body); font-weight: 500; font-size: 15px; }
.ab-wizard__saved { grid-column: 1 / -1; font-size: 14px; color: var(--ab-paper-2); }
.ab-checks-input { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.ab-check { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1px solid #4a4135; border-radius: var(--ab-radius); font-size: 15px; cursor: pointer; }
.ab-check input { accent-color: var(--ab-ember); width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; flex: none; }
.ab-review { grid-column: 1 / -1; display: flex; flex-direction: column; border-top: 1px solid var(--ab-line); }
.ab-review__sec { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--ab-line); }
.ab-review__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ab-review__head strong { font-family: var(--ab-display); font-size: 1.4rem; font-weight: 600; }
.ab-review dl { margin: 0; display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 6px 20px; font-size: 14.5px; }
.ab-review dt { color: var(--ab-muted); }
.ab-review dd { margin: 0; color: var(--ab-paper); }
.ab-review__empty { color: var(--ab-muted); font-size: 14.5px; }
.ab-fieldnote { font-size: 13px; color: var(--ab-muted); }
.ab-tiers--info { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

/* Home hero with donation form (h1 size lives in the type-scale block above) */
.ab-hero__split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.ab-hero__form { scroll-margin-top: calc(var(--ab-header-h) + 20px); display: flex; flex-direction: column; gap: 12px; padding: 14px; background: rgba(20,17,13,.78); border: 1px solid var(--ab-line); border-radius: 10px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); }
.ab-hero__form-label { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .14em; color: var(--ab-paper-2); padding: 4px 4px 0; }
.ab-hero__form .ab-donate { border: 0; border-radius: 6px; }
@media (max-width: 1000px) { .ab-hero__split { grid-template-columns: 1fr; } }
/* Mobile headline safety: long display words (e.g. DECONTAMINATION) must never
   overflow the viewport. Smaller floors + allowed breaking at phone widths. */
@media (max-width: 640px) {
  body.ab-site .ab-h1 { font-size: clamp(2.2rem, 11vw, 3rem); overflow-wrap: break-word; hyphens: auto; }
  body.ab-site .ab-h2 { font-size: clamp(1.8rem, 8.5vw, 2.3rem); overflow-wrap: break-word; hyphens: auto; }
  body.ab-site .ab-hero__split .ab-h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  /* text-wrap: balance suppresses overflow-wrap in Chromium; allow normal
     wrapping at phone widths so long words can break instead of overflowing.
     Covers every heading level and class, not just .ab-h1/.ab-h2. */
  .ab-site h1, .ab-site h2, .ab-site h3, .ab-site h4,
  .ab-h1, .ab-h2, .ab-h3, .ab-h4, .ab-punch { text-wrap: wrap; overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
}

/* ============ Article template (single.php) — SEO knowledge library ============ */
.ab-article__hero { padding: clamp(72px, 10vw, 130px) 0 clamp(36px, 5vw, 56px); }
.ab-article__heroinner { max-width: 880px; }
.ab-article__hero .ab-eyebrow a { color: inherit; text-decoration: none; }
.ab-article__hero .ab-h1 { max-width: 20ch; }
.ab-article__hero .ab-lede { margin-top: 18px; }
.ab-article__meta { margin-top: 22px; font-family: var(--ab-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ab-muted); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ab-article__figure { margin: 36px 0 0; }
.ab-article__figure img { width: 100%; height: auto; border-radius: var(--ab-radius); border: 1px solid var(--ab-line); display: block; }
.ab-article__section { padding-top: 0; }
.ab-article__narrow { max-width: 880px; }

/* Long-form body: Gutenberg core blocks rendered in brand type. */
.ab-article__body { font-size: 1.075rem; line-height: 1.75; color: var(--ab-paper-2); }
.ab-article__body > *:first-child { margin-top: 0; }
.ab-article__body p, .ab-article__body ul, .ab-article__body ol { margin: 0 0 1.4em; }
.ab-article__body h2, .ab-article__body h3, .ab-article__body h4 { color: var(--ab-paper); margin: 2.2em 0 .7em; }
.ab-article__body h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.ab-article__body h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.ab-article__body ul, .ab-article__body ol { padding-left: 1.4em; }
.ab-article__body li { margin-bottom: .5em; }
.ab-article__body li::marker { color: var(--ab-ember); }
.ab-article__body a { color: var(--ab-ember); text-decoration: underline; text-decoration-color: rgba(255,107,53,.45); text-underline-offset: 3px; }
.ab-article__body a:hover { text-decoration-color: var(--ab-ember); }
.ab-article__body strong { color: var(--ab-paper); }
.ab-article__body blockquote { margin: 0 0 1.6em; padding: 4px 0 4px 22px; border-left: 3px solid var(--ab-ember); color: var(--ab-paper); font-size: 1.15rem; line-height: 1.6; }
.ab-article__body blockquote p { margin: 0; }
.ab-article__body figure, .ab-article__body .wp-block-image { margin: 0 0 1.8em; }
.ab-article__body figure img, .ab-article__body .wp-block-image img { width: 100%; height: auto; border-radius: var(--ab-radius); border: 1px solid var(--ab-line); }
.ab-article__body figcaption { font-size: .85rem; color: var(--ab-muted); margin-top: 10px; font-family: var(--ab-mono); letter-spacing: .02em; }
.ab-article__body hr, .ab-article__body .wp-block-separator { border: 0; border-top: 1px solid var(--ab-line); margin: 2.4em 0; }
.ab-article__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.8em; font-size: .95rem; }
.ab-article__body th, .ab-article__body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ab-line); }
.ab-article__body th { font-family: var(--ab-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ab-ember); }
.ab-article__body code { font-family: var(--ab-mono); font-size: .88em; background: rgba(244,239,228,.07); padding: 2px 6px; border-radius: 4px; }
/* FAQ items: authors paste <details class="ab-faq-item"> via Custom HTML; template emits FAQPage JSON-LD. */
.ab-article__body details.ab-faq-item { border: 1px solid var(--ab-line); border-radius: var(--ab-radius); margin: 0 0 14px; background: rgba(244,239,228,.025); }
.ab-article__body details.ab-faq-item summary { cursor: pointer; padding: 16px 20px; font-family: var(--ab-display); font-size: 1.25rem; font-weight: 600; color: var(--ab-paper); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ab-article__body details.ab-faq-item summary::-webkit-details-marker { display: none; }
.ab-article__body details.ab-faq-item summary::after { content: "+"; color: var(--ab-ember); font-size: 1.5rem; flex: none; }
.ab-article__body details.ab-faq-item[open] summary::after { content: "–"; }
.ab-article__body details.ab-faq-item > div { padding: 0 20px 20px; }
.ab-article__body details.ab-faq-item > div p:last-child { margin-bottom: 0; }
.ab-article__tags { margin-top: 2.5em; font-family: var(--ab-mono); font-size: 13px; letter-spacing: .06em; }
.ab-article__tags a { color: var(--ab-muted); text-decoration: none; border: 1px solid var(--ab-line); border-radius: 20px; padding: 6px 14px; margin: 0 8px 8px 0; display: inline-block; }
.ab-article__tags a:hover { color: var(--ab-paper); border-color: var(--ab-ember); }
.ab-card--link { text-decoration: none !important; color: inherit; transition: transform .15s ease, border-color .15s ease; }
.ab-card--link:hover { transform: translateY(-3px); border-color: var(--ab-ember); }
.ab-card--link h3 { color: var(--ab-paper); }
.ab-card--link .ab-link-arrow { margin-top: 14px; }

/* ---------- Corporate sponsors band ---------- */
.ab-sponsors__row { display: flex; flex-wrap: wrap; gap: 32px 52px; align-items: center; justify-content: center; }
.ab-sponsors__item { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none !important; }
.ab-sponsors__item img { max-height: 56px; max-width: 210px; width: auto; object-fit: contain; opacity: .92; transition: opacity .25s ease; }
.ab-sponsors__item:hover img, .ab-sponsors__item:focus img { opacity: 1; }
.ab-sponsors__tier { font-family: var(--ab-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ab-cream-60, rgba(244,239,228,.6)); }

/* ---------- Stories (Share Your Story) ---------- */
.ab-stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.ab-story-card { background: var(--ab-char-2); border: 1px solid var(--ab-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.ab-story-card__photo img { width: 100%; height: 240px; object-fit: cover; display: block; }
.ab-story-card__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ab-story-card__body h3 { font-size: 1.45rem; }
.ab-story-card__more summary { font-family: var(--ab-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ab-ember); cursor: pointer; }
.ab-story-card__more summary:hover { color: var(--ab-paper); }
.ab-story-card__more .ab-prose { margin-top: 14px; }
