/* ==========================================================================
   Gg's House — Giving Grace
   Design system. Built by Shanks Software.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Ink + ground */
  --ink:        #24132B;
  --ink-soft:   #52405C;
  --ink-faint:  #6B5974;
  --cream:      #FDFAF7;
  --cream-2:    #F6EEE8;
  --cream-3:    #EFE4DB;
  --line:       #E2D3E8;

  /* Brand purple, taken from the Gg's House mark */
  --plum:       #55196A;
  --plum-deep:  #370F47;
  --plum-bright:#8B2FA8;
  --lilac:      #EBDBF2;
  --lilac-soft: #F6EEFA;

  /* Section identity — each "door" owns a colour so the eye can anchor */
  --help:       #0F5F51;
  --help-soft:  #E3F2EE;
  --give:       #8A4B08;
  --give-soft:  #FBEEDD;
  --serve:      #55196A;
  --serve-soft: #F3E9F7;
  --gold:       #C98A12;   /* decorative only: bars, dots, dark-bg text */
  --gold-text:  #8A5D08;   /* AA-safe gold for text on light grounds */

  /* Type */
  --display: 'MuseoModerno', 'Trebuchet MS', system-ui, sans-serif;
  --body:    'SN Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --label:   'Cutive', 'Courier New', monospace;

  /* Space + shape */
  --pad:     clamp(1.25rem, 5vw, 4rem);
  --radius:  18px;
  --radius-s: 10px;
  --shadow:   0 2px 4px rgba(36,19,43,.05), 0 12px 32px -12px rgba(36,19,43,.18);
  --shadow-lg:0 4px 8px rgba(36,19,43,.06), 0 28px 60px -22px rgba(36,19,43,.30);

  --accent:      var(--plum);
  --accent-soft: var(--lilac-soft);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }  /* height:auto, or the HTML height attribute stretches the image */

/* --- Type ----------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
a  { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-bright); }

.lede { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.6; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--label);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor; flex: none; border-radius: 2px;
}

/* --- Layout --------------------------------------------------------------- */
.wrap { width: min(1180px, 100% - (var(--pad) * 2)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - (var(--pad) * 2)); margin-inline: auto; }
section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.band-cream { background: var(--cream-2); }
.band-lilac { background: var(--lilac-soft); }
.band-plum  { background: var(--plum-deep); color: #F7EFFA; }
.band-plum h2, .band-plum h3 { color: #fff; }
.band-plum p { color: #E2CFEA; }
.band-plum .eyebrow { color: #D4A6E6; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--plum-bright); color: #fff; }
.btn-gold { background: var(--gold); color: #2B1D02; box-shadow: var(--shadow); }
.btn-gold:hover { background: #E0A425; color: #2B1D02; }
.btn-ghost { border-color: currentColor; color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn-on-dark { background: #fff; color: var(--plum-deep); }
.btn-on-dark:hover { background: var(--lilac); color: var(--plum-deep); }
.btn-lg { font-size: 1.08rem; padding: 1rem 2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Alert bar ------------------------------------------------------------ */
.alertbar {
  background: var(--plum-deep); color: #F3E4F8;
  font-size: .92rem; text-align: center; padding: .6rem var(--pad);
}
.alertbar a { color: #fff; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.alertbar strong { color: var(--gold); font-weight: 700; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253,250,247,.88);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(36,19,43,.6); }
.nav {
  display: flex; align-items: center; gap: 1rem;
  padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--plum); letter-spacing: -.02em; }
.brand-sub  { font-family: var(--label); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  font-family: var(--display); font-weight: 500; font-size: .95rem;
  color: var(--ink-soft); text-decoration: none;
  padding: .5rem .7rem; border-radius: 8px;
  transition: color .16s ease, background .16s ease;
}
.nav-links a:hover { color: var(--plum); background: var(--lilac-soft); }
.nav-links a[aria-current="page"] { color: var(--plum); font-weight: 700; }

.nav-toggle {
  display: none; background: transparent; border: 2px solid var(--line);
  border-radius: 10px; padding: .5rem .6rem; cursor: pointer; color: var(--plum);
}
.nav-toggle svg { display: block; }

@media (max-width: 940px) {
  /* the links row needs to wrap onto its own line, or max-height never applies */
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: block; order: 3; padding: .62rem .72rem; }
  .nav-links {
    order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 0; overflow: hidden; max-height: 0; transition: max-height .3s ease;
  }
  .nav-links a { padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .nav-links { max-height: 34rem; }
  .nav .btn { order: 2; padding: .6rem 1.1rem; font-size: .9rem; }
}
@media (max-width: 460px) {
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.05rem; }
  .nav .btn { padding: .55rem .9rem; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60rem 34rem at 78% -10%, var(--lilac) 0%, transparent 62%),
    radial-gradient(46rem 30rem at 4% 106%, #FBEEDD 0%, transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 span { color: var(--plum); display: block; }
.hero .lede { max-width: 34ch; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4/3.4; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero-media figcaption {
  font-family: var(--label); font-size: .74rem; color: var(--ink-faint);
  margin-top: .7rem; letter-spacing: .04em;
}
.hero-badge {
  position: absolute; left: -1.1rem; bottom: 2.6rem;
  background: #fff; border-radius: 14px; padding: .85rem 1.1rem;
  box-shadow: var(--shadow-lg); border-left: 5px solid var(--gold);
  max-width: 15rem;
}
.hero-badge b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--plum); line-height: 1; }
.hero-badge span { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: .25rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: auto; right: .6rem; bottom: -1rem; }
  .hero .lede { max-width: none; }
}

/* --- Quick facts strip ---------------------------------------------------- */
.factstrip {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  padding: 1rem 1.3rem; margin-top: 2rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .95rem;
}
.factstrip div { display: flex; align-items: center; gap: .55rem; }
.factstrip svg { flex: none; color: var(--plum); }
.factstrip b { font-weight: 600; }

/* --- The three doors ------------------------------------------------------ */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.door {
  --accent: var(--plum);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); padding: 1.9rem 1.6rem 1.6rem;
  text-decoration: none; color: inherit; overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--accent);
  transition: transform .22s ease, box-shadow .22s ease;
}
.door:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.door-help  { --accent: var(--help); }
.door-give  { --accent: var(--give); }
.door-serve { --accent: var(--serve); }
.door-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: #fff; margin-bottom: 1rem;
}
.door h3 { color: var(--accent); margin-bottom: .35rem; }
.door p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.2rem; }
.door-go {
  margin-top: auto; font-family: var(--display); font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: .4rem;
}
.door:hover .door-go svg { transform: translateX(4px); }
.door-go svg { transition: transform .2s ease; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* --- Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat b {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.band-plum .stat span { color: #DCC6E5; font-size: .95rem; }
.stat span { display: block; margin-top: .5rem; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

/* --- Generic split -------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.narrow-media { grid-template-columns: 1.15fr .85fr; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split figure { margin: 0; }
.split figcaption { font-family: var(--label); font-size: .74rem; color: var(--ink-faint); margin-top: .7rem; }
@media (max-width: 880px) {
  .split, .split.narrow-media { grid-template-columns: 1fr; }
  .split .media-first { order: -1; }
}

/* --- Cards ---------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); border-left: 5px solid var(--accent);
}
.card h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--accent); }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: .97rem; color: var(--ink-soft); }
.card-num {
  font-family: var(--label); font-size: .78rem; letter-spacing: .16em;
  color: var(--ink-faint); display: block; margin-bottom: .6rem;
}

/* --- Lists ---------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.checklist svg { flex: none; margin-top: .28rem; color: var(--accent); }

.taglist { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.taglist li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem 1rem; font-size: .92rem; color: var(--ink-soft);
}
.taglist.on-plum li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #E6D6EE; }

/* --- Gallery -------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .9rem; }
.gallery img { border-radius: var(--radius-s); aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow); }
.gallery img.wide { aspect-ratio: 4/3; }

/* --- Progress ------------------------------------------------------------- */
.progress-card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-lg); border-top: 6px solid var(--gold);
}
.progress-track { height: 14px; border-radius: 999px; background: var(--cream-3); overflow: hidden; margin: 1rem 0 .7rem; }
.progress-fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--gold), #E8B441);
  transition: width 1.4s cubic-bezier(.22,1,.36,1);
}

/* --- Contact / CTA -------------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final .btn-row { justify-content: center; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.contact-card a { font-weight: 600; }
.contact-card p { font-size: .97rem; margin-bottom: 0; color: var(--ink-soft); }

/* --- Give options --------------------------------------------------------- */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.give-opt {
  background: #fff; border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 5px solid var(--give);
}
.give-opt.is-featured { border-top-color: var(--gold); box-shadow: var(--shadow-lg); }
.give-opt h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.give-opt p { font-size: .95rem; color: var(--ink-soft); }
.give-opt .btn { margin-top: auto; align-self: flex-start; }
.pill {
  display: inline-block; font-family: var(--label); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; background: var(--give-soft); color: var(--give);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem;
}

/* --- Timeline ------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.8rem; border-left: 2px solid var(--line); display: grid; gap: 2rem; }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.8rem - 7px); top: .45rem;
  width: 12px; height: 12px; border-radius: 50%; background: var(--plum); border: 3px solid var(--cream);
}
.timeline h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.timeline .yr { font-family: var(--label); font-size: .8rem; letter-spacing: .14em; color: var(--gold-text); display: block; margin-bottom: .2rem; }

/* --- Pull quote ----------------------------------------------------------- */
.pullquote {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 2.05rem); line-height: 1.3;
  letter-spacing: -.02em; margin: 0; text-wrap: balance;
}
.pullquote cite {
  display: block; font-family: var(--body); font-style: normal; font-weight: 400;
  font-size: .95rem; letter-spacing: 0; margin-top: 1rem; color: var(--ink-faint);
}
.band-plum .pullquote cite { color: #C7ADD3; }

/* --- Page hero (interior) ------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); background: var(--accent-soft); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 60ch; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--accent); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--plum-deep); color: #D9C4E2; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 {
  font-family: var(--label); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: #B98FCB; margin: 0 0 1rem; font-weight: 400;
}
.site-footer a { color: #F1E6F6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .96rem; }
.footer-brand img { width: 76px; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; color: #C4A8D0; max-width: 32ch; }
.footer-legal {
  margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.13);
  padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  align-items: center; justify-content: space-between; font-size: .87rem; color: #A98BB6;
}
.shanks-tag { display: inline-flex; align-items: center; gap: .5rem; }
.shanks-tag a { color: #D9C4E2; font-weight: 600; }
.shanks-tag .mark {
  width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--plum-bright), var(--gold));
  color: #fff; font-family: var(--display); font-size: .7rem; font-weight: 700;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* --- Motion --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.js .reveal.d1.is-in { transition-delay: .08s; }
.js .reveal.d2.is-in { transition-delay: .16s; }
.js .reveal.d3.is-in { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .door:hover { transform: none; }
  .progress-fill { transition: none; }
}

/* --- Utility -------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--plum); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* --- Per-page accent themes ---------------------------------------------- */
body[data-accent="help"]  { --accent: var(--help);  --accent-soft: var(--help-soft); }
body[data-accent="give"]  { --accent: var(--give);  --accent-soft: var(--give-soft); }
body[data-accent="serve"] { --accent: var(--serve); --accent-soft: var(--serve-soft); }
body[data-accent="gold"]  { --accent: #8A5D08;      --accent-soft: #FBF1DC; }

/* --- Open / closed indicator --------------------------------------------- */
.open-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--display); font-weight: 600; font-size: .88rem;
  padding: .3rem .8rem .3rem .65rem; border-radius: 999px;
  background: var(--cream-3); color: var(--ink-soft);
}
.open-pill::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-faint);
}
.open-pill[data-state="open"] { background: var(--help-soft); color: var(--help); }
.open-pill[data-state="open"]::before { background: var(--help); }

/* --- Forms ---------------------------------------------------------------- */
.vform { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .35rem; margin: 0 0 1.1rem; }
.field label { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.field .hint { font-family: var(--body); font-weight: 400; color: var(--ink-faint); font-size: .85rem; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 2px solid var(--line); border-radius: var(--radius-s);
  background: var(--cream); width: 100%; transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #A32020; }
.field textarea { resize: vertical; }
.form-note { font-size: .9rem; color: var(--ink-soft); margin: 1rem 0 0; }
.form-error { color: #A32020; font-weight: 600; font-size: .92rem; margin: .8rem 0 0; }

/* --- Mobile header + hero corrections ------------------------------------ */
@media (max-width: 940px) {
  .nav { gap: .6rem; row-gap: 0; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-txt { white-space: nowrap; }

  /* Lead with the words, not the photograph. */
  .hero-media { order: 0; margin-top: 2rem; }
  .hero-media img { aspect-ratio: 4/3; max-height: 52vh; }
  .hero-badge {
    position: static; max-width: none; margin-top: -2.6rem;
    margin-inline: 1rem 0; width: fit-content; position: relative; z-index: 2;
  }
  .hero-media figcaption { margin-top: 1rem; }
}
@media (max-width: 560px) {
  /* Not enough room for the wordmark, the Donate pill and the menu.
     The logo already carries the name, so drop the text. */
  .brand-txt { display: none; }
  .brand img { width: 46px; height: 46px; }
  .nav .btn { padding: .5rem .85rem; font-size: .85rem; }
  .nav-toggle { padding: .42rem .5rem; }
  .factstrip { gap: .7rem; padding: 1rem; }
}

