/* ==========================================================================
   Townley PFA — Townley Parents & Friends Association
   Design system themed from the charity logo: teal shield, celadon field,
   burgundy phoenix. Mobile-first. No icon fonts — bespoke inline SVG only.
   ========================================================================== */

:root {
  --teal:        #32A49A;
  --teal-dark:   #1F7E76;
  --teal-deep:   #123A37;
  --teal-bright: #43B7AC;
  --burgundy:        #881D46;
  --burgundy-dark:   #6B1537;
  --burgundy-bright: #A82A5C;
  --celadon:      #9FCAC6;
  --celadon-soft: #E7F1EF;
  --ink:    #1E2A2D;
  --slate:  #566668;
  --mist:   #F3F8F7;
  --line:   #E1EBE8;
  --white:  #FFFFFF;
  --grad-hero:     linear-gradient(115deg, rgba(18,58,55,.92) 0%, rgba(31,126,118,.70) 48%, rgba(136,29,70,.62) 100%);
  --grad-teal:     linear-gradient(120deg, var(--teal-deep), var(--teal-dark) 55%, var(--teal));
  --grad-burgundy: linear-gradient(120deg, var(--burgundy-dark), var(--burgundy) 58%, var(--burgundy-bright));
  --shadow-1: 0 2px 10px rgba(18,42,45,.07);
  --shadow-2: 0 16px 44px rgba(18,42,45,.16);
  --radius: 16px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--burgundy-dark); }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--teal-deep);
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: min(1180px, 92vw); margin-inline: auto; }
.narrow { width: min(760px, 92vw); margin-inline: auto; }
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section--mist { background: var(--mist); }
.section--celadon { background: var(--celadon-soft); }
.section--deep { background: var(--teal-deep); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep p { color: #C5DAD7; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: .8rem;
}
.section--deep .kicker { color: var(--celadon); }
.lead { font-size: 1.13rem; color: var(--slate); max-width: 46rem; }
.eyebrow-rule { width: 56px; height: 4px; border-radius: 2px; background: var(--grad-burgundy); margin: 0 0 1.4rem; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--grad-burgundy); color: var(--white) !important; box-shadow: 0 6px 18px rgba(136,29,70,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(136,29,70,.42); }
.btn-teal { background: var(--grad-teal); color: var(--white) !important; box-shadow: 0 6px 18px rgba(31,126,118,.30); }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,126,118,.40); }
.btn-ghost { border-color: var(--teal-deep); color: var(--teal-deep) !important; background: transparent; }
.btn-ghost:hover { background: var(--teal-deep); color: var(--white) !important; }
.btn-ghost--light { border-color: rgba(255,255,255,.85); color: var(--white) !important; }
.btn-ghost--light:hover { background: var(--white); color: var(--teal-deep) !important; }
.btn-lg { font-size: 1.1rem; padding: 1rem 2.1rem; }

/* --- Header / nav ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.12;
  color: var(--teal-deep);
}
.brand-name em { font-style: normal; color: var(--burgundy); display: block; font-size: .82rem; letter-spacing: .02em; }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; }
.site-nav a, .sub-toggle {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--teal-deep);
  padding: .55rem .8rem;
  border-radius: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover, .site-nav a.active { color: var(--burgundy); background: var(--celadon-soft); }
.sub-toggle::after { content: " ▾"; font-size: .72em; }

.has-sub { position: relative; }
.sub {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  padding: .45rem;
  margin: 0;
  list-style: none;
  flex-direction: column;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: flex; }
.sub a { padding: .6rem .8rem; border-radius: 10px; font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; margin-left: .2rem; }
.nav-burger span { display: block; width: 26px; height: 3px; background: var(--teal-deep); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 1040px) {
  .site-header { backdrop-filter: none; background: var(--white); }
  .nav-burger { display: block; }
  .site-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--white);
    padding: 1rem 4vw 6rem;
    overflow-y: auto;
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a, .sub-toggle { font-size: 1.15rem; padding: .85rem .6rem; width: 100%; text-align: left; }
  .sub { position: static; display: none; box-shadow: none; border: 0; padding-left: 1.1rem; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: flex; }
}
@media (max-width: 640px) {
  .nav-wrap { gap: .6rem; }
  .brand { gap: .5rem; }
  .brand img { width: 40px; }
  .brand-name { font-size: .82rem; }
  .brand-name em { font-size: .68rem; }
  .nav-actions { gap: .5rem; }
  .nav-actions .btn { padding: .55rem 1rem; font-size: .88rem; }
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  color: var(--white);
  display: grid;
  align-items: center;
  min-height: clamp(520px, 74vh, 720px);
  isolation: isolate;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover no-repeat; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--grad-hero); z-index: -1; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--celadon); }
.hero .lead { color: #E4EFED; font-size: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-est {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--celadon);
  margin-bottom: 1.1rem;
}

/* Brand hero (no photo — gradient + logo + decorative motif) */
.hero--brand { color: var(--white); background: linear-gradient(125deg, var(--teal-deep) 0%, var(--teal-dark) 42%, var(--burgundy) 116%); }
.hero--brand::before, .hero--brand::after { content: none; }
.hero--brand .container { position: relative; z-index: 1; display: grid; gap: 2.4rem; align-items: center; grid-template-columns: 1fr; padding: clamp(3rem, 7vw, 4.5rem) 0; }
@media (min-width: 900px) { .hero--brand .container { grid-template-columns: 1.15fr .85fr; } }
.hero-figure { position: relative; display: grid; place-items: center; }
.hero-figure img { width: min(300px, 64vw); filter: drop-shadow(0 20px 50px rgba(0,0,0,.4)); }
.hero-figure::before { content: ""; position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(159,202,198,.30), rgba(159,202,198,0) 68%); }
@media (max-width: 899px) { .hero-figure { order: -1; } .hero-figure img { width: min(220px, 52vw); } }
/* Decorative arcs (celadon) — subtle phoenix-inspired flourish */
.hero-deco { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; opacity: .5; }
.hero-deco svg { position: absolute; right: -8%; top: -20%; width: 70%; height: auto; color: var(--celadon); opacity: .14; }

/* Page hero (subpages) */
.page-hero {
  position: relative;
  color: var(--white);
  padding: clamp(3.6rem, 8vw, 5.6rem) 0 clamp(2.6rem, 6vw, 3.8rem);
  isolation: isolate;
  overflow: hidden;
  background: var(--grad-teal);
}
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover no-repeat; z-index: -2; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: var(--grad-hero); z-index: -1; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #E4EFED; }
.page-hero .kicker { color: var(--celadon); }

/* --- Grid / cards ----------------------------------------------------------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--celadon-soft); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--slate); flex: 1; }
.card-link { font-family: var(--font-display); font-weight: 700; color: var(--burgundy); }
.card-link::after { content: " →"; }

/* --- Tiles (with SVG icon badge) -------------------------------------------- */
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem;
  box-shadow: var(--shadow-1);
}
.tile h3 { margin-top: .9rem; }
.tile p { color: var(--slate); margin-bottom: .4em; }
.tile .card-link { margin-top: .2rem; display: inline-block; }
.section--deep .tile { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); }
.section--deep .tile p { color: #C5DAD7; }

.ico-badge {
  width: 2.9rem; height: 2.9rem;
  border-radius: 13px;
  background: var(--celadon-soft);
  color: var(--teal-dark);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.ico-badge svg { width: 1.5rem; height: 1.5rem; }
.ico-badge.burgundy { background: #F7E6ED; color: var(--burgundy); }
.section--deep .ico-badge { background: rgba(159,202,198,.16); color: var(--celadon); }

/* --- Stats strip ------------------------------------------------------------- */
.stats { background: var(--grad-teal); color: var(--white); padding: 2.4rem 0; }
.stats .grid { gap: 1rem; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.1; }
.stat span { font-size: .92rem; opacity: .94; }
.stat--accent b { color: var(--celadon); font-size: clamp(2.1rem, 4.4vw, 3rem); }
.stat--accent b::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--celadon); margin: .4rem auto 0; }
.stat--accent span { opacity: 1; font-weight: 600; }

/* --- CTA band ---------------------------------------------------------------- */
.cta-band {
  background: var(--grad-burgundy);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  box-shadow: var(--shadow-2);
}
.cta-band h2 { color: var(--white); margin: 0 0 .3em; }
.cta-band p { color: #F6DEE8; margin: 0; max-width: 44rem; }
.cta-band > div:first-child { flex: 1 1 380px; }
.cta-band .btn-primary { background: var(--white); color: var(--burgundy) !important; box-shadow: 0 8px 22px rgba(0,0,0,.22); }

/* --- Split media sections ---------------------------------------------------- */
.split { display: grid; gap: 2.4rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr .95fr; } .split.flip > .split-media { order: -1; } }
.split-media img { border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-2); width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* --- Steps ------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.4rem 1.4rem; box-shadow: var(--shadow-1); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -1.1rem; left: 1.2rem;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  background: var(--grad-burgundy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 5px 14px rgba(136,29,70,.38);
}
.step h3 { font-size: 1.08rem; margin-top: .2rem; }
.step p { color: var(--slate); font-size: .95rem; margin: 0; }

/* --- Chips ------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0; }
.chips li, .chip-static { background: var(--celadon-soft); color: var(--teal-dark); border-radius: 999px; padding: .35rem .95rem; font-weight: 600; font-size: .9rem; font-family: var(--font-display); }

/* --- Tables ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .97rem; min-width: 560px; }
th { font-family: var(--font-display); text-align: left; background: var(--teal-deep); color: var(--white); padding: .85rem 1.1rem; }
td { padding: .8rem 1.1rem; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--mist); }

/* --- Notice / info boxes ----------------------------------------------------- */
.notice {
  border-left: 5px solid var(--teal);
  background: var(--celadon-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  color: var(--teal-deep);
  margin: 1.4rem 0;
}
.notice.warn { border-left-color: var(--burgundy); background: #F7E6ED; color: var(--burgundy-dark); }
.notice b { font-family: var(--font-display); }

/* --- FAQ --------------------------------------------------------------------- */
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.3rem; margin-bottom: .8rem; box-shadow: var(--shadow-1); }
summary { font-family: var(--font-display); font-weight: 700; color: var(--teal-deep); cursor: pointer; }
details[open] summary { color: var(--burgundy); margin-bottom: .5rem; }
details p { color: var(--slate); margin: 0 0 .5em; }

/* --- Grants ------------------------------------------------------------------ */
.grant-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.grant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.grant-card .card-img { aspect-ratio: 3/2; }
.grant-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.grant-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.grant-amount { font-family: var(--font-display); font-weight: 800; color: var(--burgundy); font-size: 1.15rem; }
.grant-tag { background: var(--celadon-soft); color: var(--teal-dark); border-radius: 999px; padding: .2rem .7rem; font-size: .78rem; font-weight: 600; font-family: var(--font-display); }
.grant-date { color: var(--slate); font-size: .85rem; margin-left: auto; }
.grant-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.grant-card p { color: var(--slate); font-size: .96rem; flex: 1; margin-bottom: 0; }
.impact-figure { font-family: var(--font-display); font-weight: 800; color: var(--burgundy); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; }

/* --- Events calendar --------------------------------------------------------- */
.cal { display: grid; gap: .9rem; margin-top: 1.6rem; }
.cal-item { display: flex; align-items: center; gap: 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1rem 1.3rem; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cal-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--celadon); color: var(--ink); }
.cal-date { flex: 0 0 auto; width: 76px; text-align: center; background: var(--grad-burgundy); color: var(--white); border-radius: 12px; padding: .55rem 0; font-family: var(--font-display); line-height: 1.05; box-shadow: 0 5px 14px rgba(136,29,70,.28); }
.cal-date.past { background: var(--teal-deep); box-shadow: none; }
.cal-date .d { display: block; font-size: 1.45rem; font-weight: 800; }
.cal-date .m { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }
.cal-body { flex: 1 1 auto; }
.cal-body h3 { margin: 0 0 .15rem; font-size: 1.12rem; }
.cal-body p { margin: 0; color: var(--slate); font-size: .94rem; }
.cal-go { flex: 0 0 auto; font-family: var(--font-display); font-weight: 800; color: var(--burgundy); font-size: 1.3rem; }
@media (max-width: 520px) { .cal-go { display: none; } .cal-item { gap: .9rem; padding: .9rem 1rem; } }

/* --- Payment / donate methods ------------------------------------------------ */
.pay-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.8rem; }
.pay-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; }
.pay-card.best { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(50,164,154,.25), var(--shadow-1); }
.pay-card h3 { display: flex; align-items: center; gap: .55rem; margin-bottom: .2rem; }
.fee-badge { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--teal-dark); background: var(--celadon-soft); border-radius: 999px; padding: .25rem .7rem; align-self: flex-start; margin: .2rem 0 .9rem; }
.fee-badge.free { color: #1B7A3E; background: #E4F5EA; }
.pay-card ol, .pay-card ul { color: var(--slate); margin: 0 0 1rem; padding-left: 1.15rem; font-size: .96rem; }
.pay-card li { margin-bottom: .35rem; }
.ribbon { position: absolute; top: 1rem; right: 1rem; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--white); background: var(--grad-teal); border-radius: 999px; padding: .25rem .7rem; }
.bank-box { background: var(--celadon-soft); border: 1px dashed var(--teal); border-radius: var(--radius); padding: 1.2rem 1.4rem; font-family: var(--font-display); }
.bank-box dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.bank-box dd { margin: 0 0 .8rem; font-size: 1.15rem; font-weight: 700; color: var(--teal-deep); }

/* --- Sponsor tiers ----------------------------------------------------------- */
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.6rem; display: flex; flex-direction: column; }
.tier h3 { color: var(--burgundy); }
.tier .tier-amt { font-family: var(--font-display); font-weight: 800; color: var(--teal-deep); font-size: 1.5rem; margin: .1rem 0 .8rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1rem; color: var(--slate); font-size: .96rem; }
.tier li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .45rem; }
.tier li svg { width: 1.1rem; height: 1.1rem; color: var(--teal); flex: 0 0 auto; margin-top: .2rem; }

/* --- Contact methods --------------------------------------------------------- */
.contact-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.4rem 1.5rem; }
.contact-card h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.contact-card p { margin: 0; color: var(--slate); font-size: .95rem; }

/* --- Embedded form (Microsoft Forms) ----------------------------------------- */
.form-embed { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-1); margin-top: 1.6rem; }
.form-embed iframe { width: 100%; min-height: 560px; border: 0; display: block; }
.form-embed-fallback { display: none; }
.form-embed[data-pending="true"] { display: grid; place-items: center; min-height: 240px; padding: 2rem; text-align: center; background: var(--celadon-soft); }
.form-embed[data-pending="true"] iframe { display: none; }
.form-embed[data-pending="true"] .form-embed-fallback { display: block; color: var(--slate); margin: 0; max-width: 34rem; }

/* --- Prose ------------------------------------------------------------------- */
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--burgundy); }
.prose ul { color: var(--slate); }
.prose li { margin-bottom: .4rem; }

/* --- Footer ------------------------------------------------------------------ */
.site-footer { background: var(--teal-deep); color: #B7CCC9; font-size: .95rem; }
.footer-grid { display: grid; gap: 1.6rem 2.2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 2.8rem 0 1.8rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #B7CCC9; }
.site-footer a:hover { color: var(--white); }
.footer-brand img { width: 60px; margin-bottom: .9rem; }
.footer-brand p { font-size: .92rem; }
.socials { display: flex; gap: .7rem; margin-top: .4rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--white); transition: background .15s; }
.socials a svg { width: 1.25rem; height: 1.25rem; }
.socials a:hover { background: var(--burgundy); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0 3.4rem; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: space-between; align-items: center; }
.footer-bottom a { color: #fff; text-decoration: underline; }
.charity-line { display: inline-flex; align-items: center; gap: .4rem; }

/* --- Reveal animations ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Donate bar (slim, dismissible) ------------------------------------------ */
.give-bar { position: fixed; inset: auto 0 0 0; z-index: 70; background: var(--teal-deep); color: var(--white); display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .6rem 3rem .6rem 1rem; font-size: .95rem; box-shadow: 0 -6px 22px rgba(18,42,45,.3); }
.give-bar b { font-family: var(--font-display); }
.give-bar .btn { padding: .42rem 1.1rem; font-size: .9rem; }
.give-bar-close { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #B7CCC9; font-size: 1.3rem; cursor: pointer; line-height: 1; padding: .3rem; }
.give-bar-close:hover { color: var(--white); }
@media (max-width: 640px) { .give-bar span.hide-sm { display: none; } }

/* --- Utility ----------------------------------------------------------------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.flow > * + * { margin-top: 1rem; }
