/* ADG Design System — shared stylesheet
   v2.1 — aligned to the "Americans for Decency in Government" Design System
   (Sept 2026): navy/crimson/cream palette, Libre Franklin + Lora type. */

:root{
  /* ---- foundations: color ---- */
  --navy-900:#14243d;
  --navy-800:#1b2f4e;
  --navy-700:#243c60;
  --navy-600:#33507a;
  --navy-500:#4b6a95;
  --navy-300:#8195b3;
  --navy-200:#b9c5d8;
  --navy-100:#dfe5ee;

  --crimson-800:#5c1620;
  --crimson-700:#6e1a24;
  --crimson-600:#8e2230;
  --crimson-500:#a8303e;
  --crimson-100:#f3dcdd;

  --cream-50:#fbf8ee;
  --cream-100:#f8f5e0;
  --cream-200:#efe9d4;
  --cream-300:#e2dabf;

  --ink-900:#171a1f;
  --ink-700:#3c424a;
  --ink-500:#6a7280;
  --ink-300:#a8aeb8;
  --gray-100:#eceef1;
  --gray-50:#f6f7f9;

  --grade-a:#2f6b4f;
  --grade-b:#4f7a3c;
  --grade-c:#b08424;
  --grade-d:#c05a22;
  --grade-f:#8e2230;

  /* case-study semantic (benefit / cost) — outside the design-system scope,
     kept as its own pairing so it never competes with the single crimson accent */
  --sage:#4f6d5a;
  --sage-tint:rgba(79,109,90,0.12);
  --terracotta:#a4472b;
  --terracotta-tint:rgba(164,71,43,0.12);

  /* ---- semantic aliases ---- */
  --text-heading: var(--navy-700);
  --text-body: var(--ink-700);
  --text-muted: var(--ink-500);
  --text-accent: var(--crimson-600);
  --surface-page: #ffffff;
  --surface-parchment: var(--cream-100);
  --surface-navy: var(--navy-700);
  --surface-navy-deep: var(--navy-900);
  --border-subtle: var(--cream-300);
  --rule-accent: var(--crimson-600);
  --action-primary: var(--crimson-600);
  --action-primary-hover: var(--crimson-700);
  --action-secondary: var(--navy-700);
  --on-action: var(--cream-50);
  --focus-ring: var(--crimson-600);
  --scrim-navy-strong: rgba(20,36,61,0.78);
  --scrim-navy-soft: rgba(20,36,61,0.52);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; }
a{ color: var(--text-heading); text-decoration: none; }
a:hover{ color: var(--text-accent); text-decoration: underline; }
h1,h2,h3,h4{ font-family: "Libre Franklin", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.01em; color: var(--text-heading); margin: 0; text-wrap: balance; }
h2{ font-size: 26px; }
h3{ font-size: 20px; }
.eyebrow{ font-family: "Libre Franklin", system-ui, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-accent); }
.mono{ font-family: "Libre Franklin", system-ui, sans-serif; font-weight: 600; letter-spacing: 0.08em; }

/* the canonical section opener: eyebrow → 3px crimson rule → heading → intro */
.rule-accent{ width: 64px; height: 3px; background: var(--rule-accent); margin: 10px 0 14px; }

.wrap{ max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow{ max-width: 780px; margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */
.site-header{ background: var(--surface-navy); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--crimson-600); }
.site-header .bar{ display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; gap: 20px; }
.brand{ display: flex; align-items: center; gap: 10px; color: var(--cream-50); font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 15px; white-space: nowrap; }
.brand:hover{ color: var(--cream-50); text-decoration: none; }
.brand .mark{ width: 28px; height: 28px; border: 1.5px solid var(--crimson-500); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: "Libre Franklin", sans-serif; font-weight: 800; font-size: 14px; color: var(--crimson-500); flex-shrink: 0; }
.brand-seal{ width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.2; font-weight: 800; }
.brand-text small{ font-family: "Libre Franklin", sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: 0.06em; color: var(--navy-200); text-transform: uppercase; }
.nav-links{ display: flex; align-items: center; gap: 22px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-100); flex-wrap: wrap; }
.nav-links a{ color: var(--navy-100); }
.nav-links a:hover{ color: #fff; text-decoration: none; }
.nav-links a.current{ color: #fff; border-bottom: 2px solid var(--crimson-500); padding-bottom: 2px; }
.btn{ display: inline-flex; align-items: center; gap: 8px; font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 20px; border-radius: 4px; border: 1px solid var(--action-primary); cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.btn-primary{ background: var(--action-primary); color: var(--on-action); }
.btn-primary:hover{ background: var(--action-primary-hover); border-color: var(--action-primary-hover); color: var(--on-action); text-decoration: none; }
.btn-secondary{ background: transparent; color: var(--action-secondary); border: 2px solid var(--action-secondary); padding: 9px 19px; }
.btn-secondary:hover{ background: var(--action-secondary); color: #fff; text-decoration: none; }
.btn-on-dark{ border-color: var(--navy-200); color: var(--navy-100); }
.btn-on-dark:hover{ background: var(--navy-200); color: var(--navy-900); text-decoration: none; }

/* ---------- hero ---------- */
.hero{ padding: 64px 0 56px; border-bottom: 1px solid var(--border-subtle); }
.hero h1{ font-size: clamp(32px, 4vw, 44px); line-height: 1.12; margin-bottom: 18px; }
.hero .lede{ font-size: 20px; font-weight: 400; color: var(--text-body); max-width: 62ch; margin-bottom: 22px; }
.pull{ border-left: 3px solid var(--rule-accent); background: var(--surface-parchment); border-radius: 0 4px 4px 0; padding: 16px 22px; font-family: "Lora", Georgia, serif; font-style: italic; font-size: 18px; color: var(--text-heading); max-width: 62ch; margin-bottom: 24px; }
.cta-row{ display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section{ padding: 48px 0; border-bottom: 1px solid var(--border-subtle); }
.section:last-child{ border-bottom: none; }
.section-head{ margin-bottom: 24px; max-width: 68ch; }
.section-head h2{ font-size: 26px; }
.section-head p{ color: var(--text-muted); font-size: 16px; margin: 8px 0 0; }

.grid-2{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.grid-3{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid-auto{ display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.list-check{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list-check li{ display: flex; gap: 10px; font-size: 15.5px; color: var(--text-body); line-height: 1.5; }
.list-check li::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson-600); margin-top: 8px; flex-shrink: 0; }
.list-muted li::before{ background: var(--text-muted); }
.list-muted li{ color: var(--text-muted); }

.card{ background: #fff; border: 1px solid var(--border-subtle); border-radius: 4px; padding: 22px; box-shadow: 0 1px 2px rgba(20,36,61,0.06); transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.card h3{ font-size: 18px; margin-bottom: 8px; }
.card p{ font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.55; }
.card .tag{ display: inline-block; font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 10px; }
a.card:hover, .card.is-link:hover{ box-shadow: 0 6px 18px rgba(20,36,61,0.12); transform: translateY(-2px); border-color: var(--navy-200); }

.pill{ display: inline-block; font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--crimson-100); color: var(--crimson-800); }
.pill-sage{ background: var(--sage-tint); color: #375040; }
.pill-terracotta{ background: var(--terracotta-tint); color: #7d371f; }

/* case study cards */
.case-card{ background: #fff; border: 1px solid var(--border-subtle); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(20,36,61,0.06); }
.case-card .case-photo{ width: calc(100% + 44px); margin: -22px -22px 4px -22px; display: block; height: 150px; object-fit: cover; border-radius: 4px 4px 0 0; }
.case-card.pos{ border-color: #c3d3c8; }
.case-card.neg{ border-color: #dcc2b8; }
.case-card h3{ font-size: 17px; }
.case-field{ font-size: 13.5px; color: var(--text-body); line-height: 1.5; }
.case-field .k{ font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-accent); display: block; margin-bottom: 2px; }
.case-card.pos .case-field .k.hi{ color: var(--text-accent); }
.case-card.neg .case-field .k.hi{ color: var(--text-accent); }

/* criterion / scorecard */
.criterion{ display: flex; gap: 22px; background: #fff; border: 1px solid var(--border-subtle); border-radius: 4px; padding: 22px; align-items: flex-start; box-shadow: 0 1px 2px rgba(20,36,61,0.06); }
.criterion .grade{ text-align: center; flex-shrink: 0; width: 64px; }
.criterion .grade .letter{ font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 26px; color: var(--crimson-600); }
.criterion .grade .pts{ font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 10px; color: var(--text-muted); }
.criterion .body{ border-left: 1px solid var(--border-subtle); padding-left: 22px; flex: 1; }
.criterion .body h3{ font-size: 17px; margin-bottom: 8px; }
.criterion .indicators{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.criterion .indicators .k{ font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 4px; color: var(--text-heading); }

.grade-scale{ display: flex; flex-wrap: wrap; gap: 10px; }
.grade-scale .band{ flex: 1; min-width: 130px; background: #fff; border: 1px solid var(--border-subtle); border-top: 3px solid var(--grade); border-radius: 4px; padding: 12px 14px; }
.grade-scale .band .letter{ font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 20px; color: var(--grade); }
.grade-scale .band .range{ font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 11px; color: var(--text-muted); }
.grade-scale .band .label{ font-size: 12px; color: var(--text-muted); }
.grade-scale .band.grade-a{ --grade: var(--grade-a); }
.grade-scale .band.grade-b{ --grade: var(--grade-b); }
.grade-scale .band.grade-c{ --grade: var(--grade-c); }
.grade-scale .band.grade-d{ --grade: var(--grade-d); }
.grade-scale .band.grade-f{ --grade: var(--grade-f); }

/* pledge */
.pledge-standard{ border-left: 3px solid var(--rule-accent); background: var(--surface-parchment); border-radius: 0 4px 4px 0; padding: 18px 22px; }
.pledge-standard h3{ font-size: 16px; margin-bottom: 6px; }
.pledge-standard p{ font-size: 14px; color: var(--text-body); margin: 0; line-height: 1.55; }

/* faq */
details.faq{ background: #fff; border: 1px solid var(--border-subtle); border-radius: 4px; padding: 4px 20px; }
details.faq + details.faq{ margin-top: 10px; }
details.faq summary{ cursor: pointer; font-weight: 700; font-size: 15px; padding: 16px 0; list-style: none; }
details.faq summary::-webkit-details-marker{ display: none; }
details.faq summary::after{ content: "+"; float: right; color: var(--text-accent); font-size: 18px; transition: transform 0.2s ease; }
details.faq[open] summary::after{ content: "+"; transform: rotate(45deg); }
details.faq p{ font-size: 14px; color: var(--text-muted); margin: 0 0 18px; line-height: 1.6; }

/* form */
.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{ font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field textarea{ font-family: "Libre Franklin", sans-serif; font-size: 14px; padding: 11px 13px; border-radius: 4px; border: 1px solid var(--border-subtle); background: #fff; color: var(--text-body); width: 100%; }
.field input:focus, .field textarea:focus{ outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.field textarea{ resize: vertical; min-height: 100px; }
.form-alert{ font-family: "Libre Franklin", sans-serif; font-size: 13.5px; line-height: 1.5; padding: 12px 14px; border-radius: 4px; margin-bottom: 16px; }
.form-alert-ok{ background: rgba(47,107,79,0.1); border: 1px solid var(--grade-a); color: var(--grade-a); }
.form-alert-err{ background: var(--crimson-100); border: 1px solid var(--crimson-600); color: var(--crimson-800); }

/* directory / people */
.people-grid{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.person h3{ font-size: 17px; margin-bottom: 2px; }
.person .role{ font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 11px; color: var(--text-accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }
.person p{ font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.55; }
.person.open{ border-style: dashed; }
.person.open h3{ color: var(--text-muted); }

/* legal */
.legal-note{ background: var(--surface-parchment); border: 1px dashed var(--crimson-600); border-radius: 4px; padding: 16px 20px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 32px; }
.legal-note strong{ color: var(--text-heading); }
.legal h2{ font-size: 18px; margin: 28px 0 8px; }
.legal p{ font-size: 15px; color: var(--text-body); line-height: 1.65; }

/* cta band */
.cta-band{ background: var(--surface-navy); border-radius: 8px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 48px 0; }
.cta-band h2{ color: #fff; font-size: 22px; }
.cta-band p{ color: var(--navy-200); font-size: 14px; margin: 6px 0 0; max-width: 46ch; }

/* footer */
.site-footer{ background: var(--surface-navy-deep); margin-top: 64px; padding: 40px 0 28px; }
.site-footer .top{ display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--navy-700); }
.site-footer h4{ color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; font-family: "Libre Franklin", sans-serif; }
.site-footer .col a{ display: block; color: var(--navy-200); font-size: 14px; padding: 4px 0; }
.site-footer .col a:hover{ color: var(--crimson-500); text-decoration: none; }
.site-footer .desc{ color: var(--navy-200); font-size: 13.5px; max-width: 34ch; line-height: 1.6; }
.site-footer .bottom{ display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 12px; color: var(--navy-300); }
.site-footer .bottom a{ color: var(--navy-200); }
.disclosure{ background: var(--navy-900); margin-top: 0; }
.disclosure .wrap{ padding: 14px 28px; font-size: 12px; color: var(--navy-300); text-align: center; }
.disclosure a{ color: var(--crimson-500); }

@media (max-width: 720px){
  .grid-2, .grid-3, .people-grid{ grid-template-columns: 1fr; }
  .nav-links{ display: none; }
  .criterion{ flex-direction: column; }
  .criterion .body{ border-left: none; padding-left: 0; }
  .hero-split{ grid-template-columns: 1fr !important; text-align: left; }
  .hero-seal{ width: 140px !important; margin: 0 0 20px; }
}

/* ---------- hero variants (About / Home) ---------- */
.hero-split{ display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 32px; }
.hero-seal{ width: 100%; max-width: 220px; justify-self: end; }
.hero-icon-img{ max-width: 220px; border-radius: 4px; margin-top: 20px; margin-bottom: 22px; display: block; }
.pledge-hero-img{ max-width: 320px; border-radius: 4px; margin-top: 20px; display: block; }
.vma-img{ width: 100%; height: 160px; object-fit: cover; border-radius: 4px; }

/* ---------- About Us / Programs & Resources hub links ---------- */
.hub-links{ display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
.hub-link{ font-family: "Libre Franklin", sans-serif; font-size: 22px; font-weight: 700; color: var(--text-heading); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-subtle); width: fit-content; }
.hub-link:hover{ color: var(--text-accent); text-decoration-color: var(--text-accent); }

/* ---------- program cards (home / events) ---------- */
.program-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.program-card{ display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-subtle); border-radius: 4px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(20,36,61,0.06); transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.program-card:hover{ text-decoration: none; border-color: var(--navy-200); box-shadow: 0 6px 18px rgba(20,36,61,0.12); transform: translateY(-2px); }
.program-card-img{ height: 130px; background-size: cover; background-position: center; background-color: var(--cream-200); }
.program-card-body{ padding: 18px; }
.program-card-body h3{ font-size: 16px; margin-bottom: 6px; }
.program-card-body p{ font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.program-card-body .tag{ display: inline-block; font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 8px; }

/* ---------- board / advisory photos ---------- */
.person-photo{ width: 84px; height: 84px; object-fit: cover; border-radius: 50%; margin-bottom: 14px; border: 1px solid var(--border-subtle); }
.person-photo.placeholder{ opacity: 0.55; }

/* ---------- footer v2 ---------- */
.site-footer .top{ align-items: center; justify-content: space-between; }
.social-row{ display: inline-flex; gap: 10px; margin-left: 14px; vertical-align: middle; }
.social{ color: var(--navy-200); display: inline-flex; }
a.social:hover{ color: var(--crimson-500); }

/* ---------- footer v2: multi-column link grid ---------- */
.footer-cols{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--navy-700); }
.footer-cols .col a{ text-decoration: none; }

/* ---------- v2 photo hero (Home) ---------- */
.hero-photo{ position: relative; padding: 92px 0 84px; overflow: hidden; border-bottom: 1px solid var(--border-subtle); }
.hero-photo-bg{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-photo-scrim{ position: absolute; inset: 0; background: linear-gradient(180deg, var(--scrim-navy-soft) 0%, var(--scrim-navy-strong) 100%); z-index: 1; }
.hero-photo-content{ position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-photo-seal{ width: 100%; max-width: 220px; margin-bottom: 22px; filter: drop-shadow(0 6px 22px rgba(0,0,0,0.35)); }
.hero-photo h1{ color: #fff; max-width: 22ch; margin: 8px auto 16px; font-size: clamp(32px, 4vw, 44px); line-height: 1.12; }
.hero-photo .lede{ max-width: 58ch; margin-left: auto; margin-right: auto; font-size: 18px; color: var(--cream-100); margin-bottom: 8px; }
.hero-photo .eyebrow{ color: var(--navy-100); }
.hero-photo .cta-row{ margin-top: 22px; justify-content: center; }
.hero-photo-credit{ position: relative; z-index: 2; text-align: center; font-size: 10.5px; color: rgba(223,229,238,0.55); margin-top: 26px; }
.hero-photo-credit a{ color: rgba(223,229,238,0.8); }

/* ---------- v2 Get Involved: anchor tab bar ---------- */
.gi-tabbar{ position: sticky; top: 66px; z-index: 15; background: var(--surface-page); border-bottom: 1px solid var(--border-subtle); box-shadow: 0 2px 8px rgba(20,36,61,0.05); }
.gi-tabbar-scroll{ display: flex; gap: 10px; overflow-x: auto; padding: 12px 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gi-tabbar-scroll::-webkit-scrollbar{ display: none; }
.gi-tab{ flex: 0 0 auto; font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; padding: 8px 16px; border-radius: 20px; background: var(--surface-parchment); border: 1px solid var(--border-subtle); color: var(--text-heading); }
.gi-tab:hover{ text-decoration: none; border-color: var(--crimson-600); color: var(--crimson-600); }
.section[id]{ scroll-margin-top: 128px; }

/* ---------- v2 Get Involved: social cards ---------- */
.gi-social-card{ display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.gi-social-card:hover{ text-decoration: none; border-color: var(--navy-200); }
.gi-social-icon{ flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-parchment); border: 1px solid var(--border-subtle); display: inline-flex; align-items: center; justify-content: center; color: var(--crimson-600); }

@media (max-width: 860px){
  .footer-cols{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .footer-cols{ grid-template-columns: 1fr; }
  .hero-photo{ padding: 64px 0 56px; }
}

/* ---------- v2 header: keep nav usable on small screens instead of hiding it ----------
   Grid-based layout (rather than flex-wrap) so the brand and Donate button
   always share a single top row and the nav always forms its own full-width
   row underneath, regardless of exact viewport width or brand text length. */
@media (max-width: 720px){
  .site-header .bar{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand donate"
      "nav nav";
    align-items: center;
    row-gap: 10px;
    column-gap: 16px;
  }
  .site-header .brand{ grid-area: brand; min-width: 0; white-space: normal; }
  .site-header .brand-text{ display: block; min-width: 0; }
  .site-header .bar > .btn{ grid-area: donate; justify-self: end; flex-shrink: 0; }
  .nav-links{ grid-area: nav; display: flex !important; width: 100%; justify-content: flex-start; gap: 16px; font-size: 11.5px; }
  .brand-text small{ display: none; }
  /* Header grows taller once nav wraps to its own row, so a sticky tab bar
     pinned under it would need to track a moving offset — simpler and more
     reliable on small screens to let the tab bar scroll normally. */
  .gi-tabbar{ position: static; box-shadow: none; }
  .section[id]{ scroll-margin-top: 16px; }
}
.site-footer .bottom{ align-items: center; }

/* Patriot's Pledge page: download + email buttons (Oct 2026 feedback) */
.btn-white{ background: #fff; color: var(--navy-700); border: 1px solid var(--navy-700); }
.btn-white:hover{ background: var(--navy-100); color: var(--navy-800); border-color: var(--navy-800); text-decoration: none; }
.pledge-actions{ display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; margin-top: 4px; }
.pledge-actions .btn{ white-space: nowrap; }
.pledge-action{ display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pledge-action-note{ font-size: 12.5px; color: var(--text-accent); font-weight: 600; }
