/* ============================================================
   United Charitable — Option B
   Production stylesheet. Mobile-first.
   Scaffolding pattern: section.section > div.wrapper > content
   ============================================================ */

/* ---------- Design tokens — GRAYSCALE ONLY ----------
   The wireframe is intentionally colorless: the client approves copy,
   structure, and layout before brand color is applied. Variable names
   are kept (burgundy/gold/navy/teal) so a later color pass is a one-block
   swap, but every value here is neutral gray. */
:root {
  --uc-burgundy: #141414;       /* primary / dark band (was burgundy) */
  --uc-burgundy-dark: #000000;  /* hover */
  --uc-gold: #2a2a2a;           /* rules / accents (was gold) */
  --uc-teal: #8b8d8f;           /* chips (was teal) */
  --uc-silver: #646464;
  --uc-navy: #2a2a2a;           /* alternate dark band (was navy) */
  --uc-white: #ffffff;
  --uc-offwhite: #f5f1e9;
  --uc-ink: #141414;

  /* Functional */
  --uc-bg: var(--uc-white);
  --uc-bg-warm: var(--uc-offwhite);
  --uc-body: #2a2a2a;
  --uc-mute: var(--uc-silver);
  --uc-faint: #9a9a9a;
  --uc-hairline: #e1ddd6;
  --uc-rule: var(--uc-gold);

  /* Type families */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 80px; --space-10: 96px; --space-11: 120px;

  --maxw: 1300px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--uc-body);
  background: var(--uc-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* <figure> carries a UA default margin of 1em 40px; our photo placeholders are
   figures, so zero it or every image sits indented from its column (desktop + mobile). */
figure { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--uc-gold); outline-offset: 2px; }

/* ---------- Scaffolding: section > wrapper > content ---------- */
.section {
  padding: clamp(48px, 8vw, 112px) 0;
  background: var(--uc-bg);
  color: var(--uc-body);
}
.section--warm { background: var(--uc-bg-warm); }
.section--dark { background: var(--uc-burgundy); color: #fff; }
.section--navy { background: var(--uc-navy); color: #fff; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }
.section--flush-top { padding-top: clamp(28px, 4vw, 56px); }

.wrapper {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrapper--narrow { max-width: 920px; }
/* Inner reading column — keeps the .wrapper at the full 1300px scaffold
   while constraining long-form text (e.g. blog post body) to a readable measure. */
.reading { max-width: 880px; margin-left: auto; margin-right: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; color: inherit; }
h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1.05; letter-spacing: -0.018em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.3; }
p { margin: 0; }
strong { font-weight: 600; }

.display { font-size: clamp(2.75rem, 7vw, 4.5rem); line-height: 1.03; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.small { font-size: 0.875rem; line-height: 1.55; }
.muted { color: var(--uc-mute); }
.on-dark { color: rgba(255,255,255,0.85); }
/* Right-aligned only once the grid is two-up; left-aligned (default) on mobile. */
.align-right-lg { text-align: left; }
@media (min-width: 900px) { .align-right-lg { text-align: right; } }

.stack > * + * { margin-top: var(--space-5); }
.stack-sm > * + * { margin-top: var(--space-3); }

/* Eyebrow */
.eyebrow {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--uc-ink);
}
.eyebrow--mute { color: var(--uc-mute); }
.eyebrow--dark { color: #fff; }
.eyebrow--mono { font-family: var(--mono); }

/* Section-title underline — removed per design direction. */
.rule-gold { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 22px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid var(--uc-burgundy);
  background: var(--uc-burgundy);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--uc-burgundy-dark); border-color: var(--uc-burgundy-dark); }
.btn--outline { background: transparent; color: var(--uc-burgundy); }
.btn--outline:hover { background: var(--uc-burgundy); color: #fff; }
.btn--ghost {
  background: transparent; border: 0; color: var(--uc-burgundy);
  padding: 0; min-height: 0; text-decoration: none;
}
.btn--ghost:hover { background: transparent; text-decoration: underline; }

/* Buttons on dark bands */
.btn--dark { background: #fff; color: var(--uc-ink); border-color: #fff; }
.btn--dark:hover { background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.85); color: var(--uc-ink); }
.btn--dark.btn--outline { background: transparent; color: #fff; }
.btn--dark.btn--outline:hover { background: #fff; color: var(--uc-ink); }
.btn--dark.btn--ghost { color: #fff; background: transparent; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Chip / tag ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #ebe7df;
  color: var(--uc-ink);
  border-radius: 2px;
}
.chip--teal { background: var(--uc-teal); color: var(--uc-navy); }

/* ---------- Photo placeholder ---------- */
.photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 12px, transparent 12px 24px),
    #ebe7df;
  border: 1px solid var(--uc-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo--dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 24px),
    #2a2a2a;
  border-color: rgba(255,255,255,0.15);
}
.photo--fill { aspect-ratio: auto; height: 100%; border: 0; }
.photo__label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--uc-mute);
  background: rgba(255,255,255,0.85);
  padding: 6px 12px;
  text-align: center;
}
.photo--dark .photo__label { color: rgba(255,255,255,0.8); background: rgba(20,20,20,0.7); }
.video-ph__play {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--uc-hairline);
  position: relative;
}
.video-ph__play::after {
  content: ""; position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--uc-ink);
}

/* Legal / long-form prose */
.legal-body { max-width: 760px; margin-inline: auto; }
.legal-body > * + * { margin-top: var(--space-5); }
.legal-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: var(--space-7); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-top: var(--space-6); }
.legal-body p { line-height: 1.7; }
.legal-body ul { list-style: disc; padding-left: 1.4em; display: grid; gap: 8px; }
.legal-body ul li { line-height: 1.6; }
.legal-body a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.legal-body .legal-meta { color: var(--uc-mute); font-size: 0.875rem; }
.legal-body .legal-note { color: var(--uc-mute); font-size: 0.875rem; font-style: italic; }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.doc-grid .btn { width: 100%; }
@media (max-width: 640px) { .doc-grid { grid-template-columns: 1fr; } }

/* ---------- Layout grids ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--space-5); }
/* Editorial rows top-align image + text so their tops line up.
   Use .alt-row--center to vertically center a short text against a tall image. */
.alt-row { display: grid; gap: var(--space-7); align-items: start; }
.alt-row--center { align-items: center; }

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .alt-row { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
  .alt-row--reverse .alt-row__media { order: 1; }
  .alt-row--reverse .alt-row__text { order: 2; }
}

/* ---------- Full-bleed hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 70vh, 720px);
  background: var(--uc-burgundy);
  overflow: hidden;
  display: flex;
}
.hero--short { min-height: clamp(380px, 55vh, 600px); }
.hero__bg { position: absolute; inset: 0; }
.hero__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 5vw, 64px) 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.45) 100%);
}
.hero--center .hero__overlay { align-items: center; text-align: center; }
.hero--center .hero__inner { margin-left: auto; margin-right: auto; }
.hero__inner { max-width: 800px; color: #fff; }
.hero__inner h1, .hero__inner h2 { color: #fff; }
.hero__inner .lead { color: rgba(255,255,255,0.9); margin-top: var(--space-5); max-width: 560px; }
.hero--center .hero__inner .lead { margin-left: auto; margin-right: auto; }
.hero__intro { margin-top: var(--space-5); max-width: 560px; }
.hero__intro p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,0.9); }
.hero__intro p + p { margin-top: var(--space-3); }
.hero--center .hero__intro { margin-left: auto; margin-right: auto; }
.hero__inner .btn-row { margin-top: var(--space-6); }
.hero--center .hero__inner .btn-row { justify-content: center; }
.hero__inner h1 { margin-top: var(--space-4); }
/* Keep the placeholder caption out of the overlay copy's way (top-right corner). */
.hero__bg .photo__label { position: absolute; top: 20px; right: 20px; }

/* Dark CTA tail under closing heroes */
.hero-tail { background: var(--uc-burgundy); padding: var(--space-5) 0 var(--space-8); text-align: center; }
.hero-tail--navy { background: var(--uc-navy); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--uc-hairline); padding: var(--space-4) 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--uc-mute); }
.breadcrumb a { color: var(--uc-mute); }
.breadcrumb a:hover { color: var(--uc-ink); }
.breadcrumb__sep { color: var(--uc-faint); }
.breadcrumb__current { color: var(--uc-ink); }
.breadcrumb--on-photo, .breadcrumb--on-photo a { color: rgba(255,255,255,0.85); }
.breadcrumb--on-photo .breadcrumb__current { color: #fff; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--uc-bg-warm); border-top: 1px solid var(--uc-hairline); border-bottom: 1px solid var(--uc-hairline); padding: var(--space-5) 0; }
.trust-strip--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.trust-strip__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.trust-item { display: flex; align-items: center; gap: var(--space-3); }
.trust-item__mark { flex: 0 0 auto; width: 34px; height: 34px; border: 1.5px dashed var(--uc-mute); display: flex; align-items: center; justify-content: center; color: var(--uc-mute); font-size: 0.75rem; }
.trust-item--badge { gap: 0; }
.trust-badge { display: block; height: clamp(64px, 7.5vw, 88px); width: auto; }
.trust-item__seal { flex: 0 0 auto; display: block; height: clamp(40px, 5vw, 52px); width: auto; }
.trust-item__label { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em; }
.trust-strip--dark .trust-item__label { color: #fff; }
@media (min-width: 900px) {
  .trust-strip__inner { flex-direction: row; justify-content: space-around; align-items: center; }
}

/* ---- Trust strip: card layout (promoted from mockup-home.css, 2026-08-05) ----
   uc_trust_strip() emits .trust-strip__lead / __marks / .trust-item--seal on EVERY
   page, but these rules only existed in mockup-home.css, which is gated behind
   $mockup_home and so loads on the homepage alone. On internal pages .trust-strip__marks
   fell back to display:block, stacking the three badges in a narrow column with no card
   styling — the defect John caught on how-dafs-work.php.

   Kept unscoped here so every page gets the layout. The homepage is unaffected: its
   body.mockup-home-scoped copies in mockup-home.css are more specific and load later. */
.trust-strip__inner {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.trust-strip__lead .eyebrow { margin: 0 0 10px; }
.trust-strip__note {
  color: var(--uc-navy);
  opacity: 0.82;
  line-height: 1.5;
  margin: 0;
  max-width: 34ch;
}
.trust-strip__marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  padding: 20px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(51, 113, 122, 0.18);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(51, 113, 122, 0.10);
}
.trust-badge { height: clamp(58px, 6.5vw, 76px); width: auto; filter: none; }
.trust-item--seal .trust-item__seal { height: clamp(44px, 5vw, 54px); width: auto; }
.trust-item__label { font-size: 0.78rem; letter-spacing: 0.04em; }

@media (max-width: 899px) {
  .trust-strip__inner { grid-template-columns: 1fr; gap: 26px; }
  .trust-strip__lead { text-align: center; justify-items: center; }
  .trust-strip__note { max-width: 46ch; margin-inline: auto; }
  .trust-item { min-height: 108px; padding: 16px 10px; gap: 9px; }
  .trust-badge { height: clamp(46px, 12vw, 68px); }
}

/* ---------- Jumbo stat ---------- */
.jumbo { border-top: 1px solid var(--uc-hairline); padding: var(--space-5) 0; }
.section--dark .jumbo, .section--navy .jumbo, .band--dark .jumbo { border-top-color: rgba(255,255,255,0.25); }
.jumbo__num { font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 12vw, 10.5rem); line-height: 0.95; letter-spacing: -0.04em; }
.jumbo__label { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--uc-mute); margin-top: var(--space-4); }
.band--dark .jumbo__label, .section--dark .jumbo__label, .section--navy .jumbo__label { color: rgba(255,255,255,0.7); }
@media (min-width: 900px) {
  .jumbo--side { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: center; }
  .jumbo--side .jumbo__label { margin-top: 0; text-align: right; }
}

/* ---------- Compliance lines ---------- */
.project-line {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--uc-mute);
}
.tax-disclaimer {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--uc-mute);
  margin: 0;
}
.tax-disclaimer--dark { color: rgba(255,255,255,0.65); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--uc-hairline); display: flex; flex-direction: column; }
.card__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; flex: 1; }
.card__body > * + * { margin-top: var(--space-3); }
.card__footer { margin-top: auto; }

.portrait-card .photo { aspect-ratio: 3 / 4; }

/* Program card */
.program-card .card__foot {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--uc-hairline);
}
.program-card__actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }

/* Whole-card click target (magazine cards open the program modal) */
.program-card { position: relative; transition: box-shadow .18s ease, transform .18s ease; }
.program-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.program-card__hit {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.program-card__hit:focus-visible { outline: 2px solid var(--uc-burgundy); outline-offset: -3px; }

/* ---------- Editorial pull quote ---------- */
.pullquote { display: grid; gap: var(--space-6); align-items: center; }
.pullquote__media .photo { aspect-ratio: 4 / 5; }
.pullquote__quote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3.6vw, 3.25rem); line-height: 1.15; letter-spacing: -0.012em; color: var(--uc-ink); }
.section--dark .pullquote__quote, .section--navy .pullquote__quote { color: #fff; }
.pullquote__mark { font-size: 2.2em; line-height: 0; color: var(--uc-faint); vertical-align: -0.35em; margin-right: 4px; }
.section--dark .pullquote__mark, .section--navy .pullquote__mark { color: rgba(255,255,255,0.4); }
.pullquote__attr { margin-top: var(--space-5); font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uc-mute); }
@media (min-width: 900px) {
  .pullquote { grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 5vw, 64px); }
}

/* ---------- FAQ accordion ---------- */
.faq__item { border-top: 1px solid var(--uc-hairline); }
.faq__item:last-child { border-bottom: 1px solid var(--uc-hairline); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.3;
  color: var(--uc-ink);
}
.faq__icon { flex: 0 0 auto; font-family: var(--mono); font-size: 1.2rem; color: var(--uc-gold); line-height: 1; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a-inner { padding-bottom: var(--space-5); max-width: 760px; }
.faq__item[aria-expanded="true"] .faq__a { max-height: 600px; }
.faq__item[aria-expanded="true"] .faq__icon { color: var(--uc-burgundy); }

/* ---------- Notes (pending / content-gap callouts) ---------- */
.note {
  background: #fff7d9;
  border-left: 3px solid #e0c66a;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #5a4a2a;
}
.note__title { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.625rem; margin-bottom: 4px; }

/* Compliance / framing callout (in-page, not a sticky note) */
.callout { background: #fff; border-left: 3px solid var(--uc-burgundy); padding: var(--space-5) var(--space-6); }
.section--dark .callout, .section--navy .callout { background: rgba(255,255,255,0.06); border-left-color: var(--uc-gold); color: #fff; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--uc-mute); }
.field input, .field select, .field textarea {
  font-family: var(--serif);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--uc-hairline);
  background: #fff;
  color: var(--uc-ink);
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--uc-gold); }
.field textarea { min-height: 120px; resize: vertical; }
.form-card { background: #fff; border: 1px solid var(--uc-hairline); padding: clamp(28px, 4vw, 48px); }

/* Search box */
.searchbox { display: flex; border: 2px solid var(--uc-ink); background: #fff; margin-top: var(--space-7); }
.searchbox__icon { display: flex; align-items: center; padding: 0 18px; font-family: var(--mono); font-size: 1.25rem; color: var(--uc-mute); }
.searchbox__input { flex: 1; border: 0; padding: 18px 0; font-family: var(--serif); font-size: 1.05rem; }
.searchbox__input:focus { outline: none; }
.searchbox__btn { background: var(--uc-burgundy); color: #fff; border: 0; padding: 0 clamp(20px, 4vw, 36px); font-family: var(--sans); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: var(--space-5); }
.filter-chip { padding: 8px 16px; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; border: 1.5px solid var(--uc-ink); background: transparent; color: var(--uc-ink); cursor: pointer; }
.filter-chip--active { background: var(--uc-ink); color: #fff; border-color: var(--uc-ink); }

/* ---------- Magazine grid (impact / programs / blog) ---------- */
.mag { display: grid; gap: var(--space-5); }
@media (min-width: 900px) {
  .mag { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
}

/* Photo collage */
.collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.collage .photo { aspect-ratio: 1 / 1; height: 100%; }
@media (min-width: 760px) {
  .collage { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
  .collage .photo { aspect-ratio: auto; }
  .collage__big  { grid-column: span 3; grid-row: span 2; }
  .collage__tall { grid-column: span 2; grid-row: span 2; }
  .collage__wide { grid-column: span 3; grid-row: span 1; }
  .collage__sq2  { grid-column: span 2; grid-row: span 1; }
}

/* Numbered list rows (step flow / contribution lists) */
.list-rows { list-style: none; }
.list-rows li { border-top: 1px solid var(--uc-hairline); padding: var(--space-4) 0; }
.list-rows li > * + * { margin-top: 4px; }

.step-num { font-family: var(--serif); font-weight: 700; line-height: 1; color: var(--uc-gold); }

/* Section heading helper */
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > * + * { margin-top: var(--space-3); }
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-5); }

/* Values row (About) */
.value h3 { font-weight: 700; letter-spacing: -0.02em; }

/* Generic utility */
.center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.flow > * + * { margin-top: var(--space-5); }
.media-text-link { font-family: var(--serif); font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--uc-hairline);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--uc-burgundy);
  white-space: nowrap;
}
/* v2 (John, 2026-07-28): logo swapped to the tagline-free lockup. The old SVG
   was 491.9x163.6 at 56px tall; the cropped one is 491.9x126, so 43px here
   renders the wordmark at exactly the same size it was before the crop.
   Width is unchanged at ~168px. */
.brand__img { display: block; height: 43px; width: auto; }

/* Desktop nav */
.primary-nav { display: none; }
.header__actions { display: none; }
.header__mobile { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--uc-ink); }

@media (min-width: 1080px) {
  .header__mobile { display: none; }
  .primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.4vw, 26px); flex: 1; font-family: var(--sans); font-size: 0.85rem; }
  .header__actions { display: flex; gap: 12px; flex: 0 0 auto; }
  .header__actions .btn { padding: 9px 13px; min-height: 0; font-size: 0.74rem; }
  .nav-item { position: relative; }
  .nav-item__btn {
    background: transparent; border: 0; cursor: pointer;
    padding: 6px 0; display: inline-flex; align-items: center; gap: 4px;
    font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--uc-ink);
    border-bottom: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
  }
  .nav-item__btn:hover { color: var(--uc-burgundy); }
  .nav-item--active > .nav-item__btn { font-weight: 700; border-bottom-color: var(--uc-gold); }
  .nav-item__caret { font-size: 0.6rem; opacity: 0.7; }
  .nav-dropdown {
    position: absolute; top: 100%; left: -12px; margin-top: 6px;
    background: #fff; border: 1px solid var(--uc-hairline);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    min-width: 250px; padding: 8px 0; display: none; z-index: 60;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown a {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 18px; text-decoration: none;
    font-family: var(--sans); font-size: 0.8125rem; color: var(--uc-ink);
  }
  .nav-dropdown a:hover { background: var(--uc-bg-warm); color: var(--uc-burgundy); }
}

.ext-mark { font-size: 0.7em; opacity: 0.7; }

/* Off-canvas mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
  z-index: 90;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  background: #fff; transform: translateX(100%); transition: transform .25s ease;
  z-index: 100; display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--uc-hairline); }
.drawer__close { background: transparent; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--uc-ink); padding: 4px 8px; }
.drawer__nav { padding: 8px 0; flex: 1; }
.drawer-group { border-bottom: 1px solid var(--uc-hairline); }
.drawer-group__btn, .drawer__nav > a {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: transparent; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--uc-ink); text-align: left;
}
.drawer-sub { display: none; padding: 0 0 8px; background: var(--uc-bg-warm); }
.drawer-group.open .drawer-sub { display: block; }
.drawer-group.open .drawer-group__caret { transform: rotate(180deg); }
.drawer-group__caret { transition: transform .2s ease; font-size: 0.7rem; }
.drawer-sub a { display: flex; gap: 6px; padding: 12px 32px; text-decoration: none; font-family: var(--sans); font-size: 0.875rem; color: var(--uc-body); }
.drawer__foot { padding: 20px; border-top: 1px solid var(--uc-hairline); }
.drawer__foot .btn { width: 100%; }
.drawer__foot .tax-disclaimer { margin-top: var(--space-4); }

body.no-scroll { overflow: hidden; }

/* Floating primary CTA — bottom-right on every page */
.floating-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; min-height: 44px;
  background: var(--uc-burgundy); color: #fff; border: 1.5px solid var(--uc-burgundy);
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: background .18s ease, border-color .18s ease;
}
.floating-cta:hover { background: var(--uc-burgundy-dark); border-color: var(--uc-burgundy-dark); }
@media (max-width: 600px) {
  .floating-cta { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.78rem; }
  /* Reserve room so the fixed CTA never sits over the footer legal text. */
  .site-footer { padding-bottom: 96px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--uc-burgundy); color: #fff; padding: clamp(48px, 6vw, 64px) 0 36px; }

/* Newsletter band — full width at the top of the footer */
.footer-newsletter-band {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--space-5);
  padding-bottom: var(--space-7); margin-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-newsletter-band .footer-newsletter { margin-top: 0; flex: 0 1 420px; }

.site-footer__grid { display: grid; gap: var(--space-7); }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-top: var(--space-4); }
.footer-col__head { color: #fff; }
.footer-nap { font-family: var(--serif); font-size: 0.8125rem; line-height: 1.7; color: rgba(255,255,255,0.82); margin-top: var(--space-4); }
.footer-links { list-style: none; margin-top: var(--space-4); font-family: var(--serif); font-size: 0.8125rem; line-height: 2; }
.footer-links a { color: rgba(255,255,255,0.82); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 16px; margin-top: var(--space-5); }
.footer-social a { color: rgba(255,255,255,0.8); display: inline-flex; transition: color .18s ease; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-contact { margin-top: var(--space-6); }
.footer-newsletter { display: flex; margin-top: var(--space-3); border: 1px solid rgba(255,255,255,0.5); }
.footer-newsletter input { flex: 1; background: transparent; border: 0; padding: 10px 12px; color: #fff; font-family: var(--serif); font-size: 0.8125rem; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter button { background: #fff; color: var(--uc-ink); border: 0; padding: 10px 14px; font-family: var(--sans); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; }
.footer-bottom {
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.6);
}
/* Tax-deductibility disclaimer — right of the copyright, right-aligned. */
.footer-legal { margin: 0; text-align: right; max-width: 78ch; }
@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 0.9fr; gap: clamp(28px, 3vw, 48px); }
}

/* ============================================================
   Program tiles + detail modal (FSP Impact)
   ============================================================ */
.program-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .program-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card shell (the <li>) wraps the view-details trigger and the Support action. */
.program-tile {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--uc-hairline); overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.program-tile:hover,
.program-tile:focus-within {
  border-color: var(--uc-burgundy);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.program-tile__trigger {
  display: flex; flex-direction: column; width: 100%; flex: 1;
  text-align: left; background: transparent; border: 0; padding: 0;
  cursor: pointer; font: inherit; color: inherit;
}
.program-tile__trigger:focus-visible { outline: 2px solid var(--uc-burgundy); outline-offset: -3px; }
.program-tile__media { display: block; }
.program-tile__media .photo { width: 100%; }
.program-tile__body {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px; padding: var(--space-4); flex: 1;
}
.program-tile__name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--uc-ink); }
.program-tile__cue { margin-top: auto; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--uc-burgundy); }
.program-tile__foot { padding: 0 var(--space-4) var(--space-4); }

/* View Program + Support CTA pair (cards + tiles) */
.program-ctas {
  display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1;
}
.program-card .program-ctas { margin-top: var(--space-3); }
.program-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px; cursor: pointer;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
  text-decoration: none; border: 1.5px solid var(--uc-burgundy); transition: background .18s ease, color .18s ease;
}
.program-cta--view { background: transparent; color: var(--uc-burgundy); }
.program-cta--view:hover { background: var(--uc-burgundy); color: #fff; }
.program-cta--support { background: var(--uc-burgundy); color: #fff; }
.program-cta--support:hover { background: var(--uc-burgundy-dark); border-color: var(--uc-burgundy-dark); }
.program-cta:focus-visible { outline: 2px solid var(--uc-burgundy); outline-offset: 2px; }

/* Modal action row — Support (primary) + Visit website (secondary). */
.uc-modal__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }

/* Program support / donation page (support.php) */
.donate-page { max-width: 760px; margin: 0 auto; }
.donate-page__project { margin-top: var(--space-3); }
.donate-page__mission { margin-top: var(--space-6); }
.donate-page__mission h2, .donate-form h2, .donate-legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
.donate-page__mission p { margin-top: var(--space-3); }

.donate-form { margin-top: var(--space-7); }
.donate-form > * + * { margin-top: var(--space-6); }

/* $ amount + recurring row */
.donate-amount-field { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: var(--space-4); }
.donate-amount-field .field__label { flex-basis: 100%; }
.amount-input { display: inline-flex; align-items: stretch; border: 1px solid var(--uc-hairline); }
.amount-input__sym { display: inline-flex; align-items: center; padding: 0 12px; background: var(--uc-bg-warm); font-weight: 600; }
.amount-input input { border: 0; padding: 10px 12px; width: 120px; font-family: var(--serif); }
.amount-input input:focus { outline: none; }
.checkbox-row { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 0.9rem; }
.checkbox-row input { width: 16px; height: 16px; }
.donate-amount-field select { padding: 8px 10px; border: 1px solid var(--uc-hairline); font-family: var(--sans); }

/* Field groups with the live page's underlined subheadings */
.field-group { border: 0; margin: 0; padding: 0; }
.field-group__head {
  display: block; width: 100%; padding: 0 0 10px; margin: 0 0 20px;
  border-bottom: 1px solid var(--uc-hairline);
  font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--uc-ink);
}
.ssl-note { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--uc-mute); margin: -6px 0 18px; }

.donate-agree { font-size: 0.9rem; }
.donation-total {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; background: var(--uc-bg-warm); border: 1px solid var(--uc-hairline);
  font-family: var(--sans); font-weight: 700;
}
.donation-total__label { color: var(--uc-mute); }

.donate-legal { margin-top: var(--space-7); }
.donate-legal p { font-size: 0.85rem; color: var(--uc-mute); line-height: 1.7; }
.donate-legal p + p { margin-top: var(--space-4); }
.donate-legal a { color: var(--uc-burgundy); }

/* Modal */
.uc-modal[hidden] { display: none; }
.uc-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
}
.uc-modal__overlay { position: absolute; inset: 0; background: rgba(20,20,20,0.55); }
.uc-modal__dialog {
  position: relative; z-index: 1; background: #fff;
  width: 100%; max-width: 560px; max-height: 90vh; overflow: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.uc-modal__close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.85); color: var(--uc-ink);
  font-size: 1.8rem; line-height: 1;
}
.uc-modal__media .photo { width: 100%; }

/* Video modal — wider dialog, edge-to-edge frame */
.uc-modal--video .uc-modal__dialog { max-width: 960px; background: #000; }
.uc-modal--video .uc-modal__video { width: 100%; }
.uc-modal--video .uc-modal__close { background: rgba(0,0,0,0.6); color: #fff; }
.uc-modal__body {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px; padding: var(--space-5);
}
.uc-modal__body h3 { margin: 0; }
.uc-modal__body p { margin: 0; }

/* Impact reports inside the modal */
.uc-modal__reports { width: 100%; border-top: 1px solid var(--uc-hairline); padding-top: 16px; }
.uc-modal__reports-label { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--uc-mute); margin: 0 0 12px; }
.report-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.report-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.report-row__year { font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--uc-ink); }
.report-row__actions { display: flex; gap: 16px; flex: 0 0 auto; }
.report-row__link { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--uc-burgundy); text-decoration: none; }
.report-row__link:hover { text-decoration: underline; }
.report-row__actions a { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--uc-burgundy); text-decoration: none; }
.report-row__actions a:hover { text-decoration: underline; }

/* ============================================================
   Impact map (DAF Impact) — self-contained choropleth.
   Warm-neutral sequential ramp; validated for CVD lightness + contrast.
   ============================================================ */
:root{ --uc-r0:#bcae93; --uc-r1:#8f8065; --uc-r2:#645b48; --uc-r3:#3d3729; --uc-r4:#191712; --uc-map-surface:#faf7f0; }
.uc-b0{ fill:var(--uc-r0); background:var(--uc-r0); }
.uc-b1{ fill:var(--uc-r1); background:var(--uc-r1); }
.uc-b2{ fill:var(--uc-r2); background:var(--uc-r2); }
.uc-b3{ fill:var(--uc-r3); background:var(--uc-r3); }
.uc-b4{ fill:var(--uc-r4); background:var(--uc-r4); }

.uc-impact__intro{ max-width:640px; margin:0 0 24px; color:var(--uc-mute); }
.uc-impact__controls{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-bottom:18px; }

/* Dark variant: map embedded in a dark band (daf-impact "02 · Reach"). Keeps the light map
   card, lightens the surrounding text/controls that sit on the dark background. */
.uc-impact--dark{ margin-top:32px; }
.uc-impact--dark .uc-impact__intro{ color:rgba(255,255,255,0.72); }
.uc-impact--dark .uc-impact__seg{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.18); }
.uc-impact--dark .uc-impact__segbtn{ color:rgba(255,255,255,0.72); }
.uc-impact--dark .uc-impact__segbtn:hover{ color:#fff; }
.uc-impact--dark .uc-impact__segbtn.is-active{ background:#fff; color:var(--uc-ink); }
.uc-impact--dark .uc-impact__tablebtn{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.18); color:rgba(255,255,255,0.8); }
.uc-impact--dark .uc-impact__tablebtn:hover{ color:#fff; border-color:rgba(255,255,255,0.35); }
/* The table modal renders inside the dark Reach section, which sets color:#fff on
   descendants. Force dark text on the (light) dialog so the table isn't white-on-white. */
.uc-impact__modal .uc-modal__dialog{ color:var(--uc-ink); }
.uc-impact__modal .uc-impact__table td{ color:var(--uc-ink); }
.uc-impact--dark .uc-impact__legtitle{ color:rgba(255,255,255,0.6); }
.uc-impact--dark .uc-impact__lab{ color:rgba(255,255,255,0.7); }
.uc-impact__seg{ display:inline-flex; background:var(--uc-white); border:1px solid var(--uc-hairline); border-radius:999px; padding:4px; gap:2px; }
.uc-impact__segbtn{ font:inherit; font-size:0.9rem; font-weight:500; color:var(--uc-mute); background:transparent; border:0; padding:8px 16px; border-radius:999px; cursor:pointer; transition:background .18s,color .18s; }
.uc-impact__segbtn:hover{ color:var(--uc-ink); }
.uc-impact__segbtn.is-active{ background:var(--uc-ink); color:var(--uc-white); }
.uc-impact__tablebtn{ font:inherit; font-size:0.85rem; color:var(--uc-mute); background:var(--uc-white); border:1px solid var(--uc-hairline); border-radius:999px; padding:9px 15px; cursor:pointer; transition:color .18s,border-color .18s; }
.uc-impact__tablebtn:hover{ color:var(--uc-ink); border-color:var(--uc-faint); }

.uc-impact__fig{ margin:0; }
.uc-impact__mapwrap{ position:relative; background:var(--uc-map-surface); border:1px solid var(--uc-hairline); border-radius:14px; padding:clamp(10px,2.5vw,22px); }
.uc-impact__map{ display:block; width:100%; height:auto; }
.uc-impact__map path{ stroke:var(--uc-map-surface); stroke-width:0.75; stroke-linejoin:round; cursor:pointer; transition:opacity .15s; }
.uc-impact__map.is-dim path:not(.is-hot){ opacity:0.45; }
.uc-impact__map path.is-hot{ stroke:var(--uc-ink); stroke-width:1.4; }
.uc-impact__map path:focus-visible{ outline:none; stroke:var(--uc-ink); stroke-width:2; }

.uc-impact__tip{ position:absolute; pointer-events:none; z-index:5; background:var(--uc-ink); color:var(--uc-white); font-size:0.82rem; line-height:1.35; padding:8px 11px; border-radius:8px; max-width:220px; box-shadow:0 6px 22px rgba(0,0,0,0.25); transform:translate(-50%,-118%); }
.uc-impact__tip b{ display:block; font-size:0.9rem; margin-bottom:1px; }
.uc-impact__tval{ font-family:var(--mono); opacity:0.92; }

.uc-impact__legend{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:16px 2px 0; }
.uc-impact__legtitle{ font-family:var(--mono); text-transform:uppercase; letter-spacing:0.12em; font-size:0.66rem; color:var(--uc-mute); flex-basis:100%; }
.uc-impact__scale{ display:flex; align-items:flex-start; gap:0; }
.uc-impact__cell{ display:flex; flex-direction:column; align-items:center; gap:6px; }
.uc-impact__sw{ width:46px; height:12px; display:block; }
.uc-impact__cell:first-child .uc-impact__sw{ border-radius:3px 0 0 3px; }
.uc-impact__cell:last-child .uc-impact__sw{ border-radius:0 3px 3px 0; }
.uc-impact__lab{ font-size:0.72rem; color:var(--uc-mute); }
.uc-impact__note{ font-size:0.82rem; color:var(--uc-faint); max-width:70ch; margin:22px 0 0; padding-left:14px; border-left:2px solid var(--uc-hairline); }

.uc-impact__tablewrap{ max-height:60vh; overflow:auto; margin-top:14px; }
.uc-impact__table{ width:100%; border-collapse:collapse; font-size:0.9rem; }
.uc-impact__table caption{ text-align:left; font-family:var(--mono); text-transform:uppercase; letter-spacing:0.1em; font-size:0.66rem; color:var(--uc-mute); margin-bottom:10px; }
.uc-impact__table th, .uc-impact__table td{ text-align:left; padding:7px 12px; border-bottom:1px solid var(--uc-hairline); }
.uc-impact__table th{ font-size:0.7rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--uc-mute); }
.uc-impact__table .num{ text-align:right; font-family:var(--mono); }
.uc-impact__sw--inline{ display:inline-block; width:11px; height:12px; border-radius:3px; vertical-align:-1px; margin-right:7px; }

@media (max-width:560px){ .uc-impact__segbtn{ padding:7px 11px; font-size:0.82rem; } }
