/* ============================================================
   BETTER BRAMPTON — Cheerful Civic Theme
   Proudly Brampton 🍁 · Canada-flag inspired
   ============================================================ */

:root {
  /* Palette — civic red + sun gold + cream */
  --red: #E11D2E;
  --red-deep: #A60E1B;
  --red-soft: #FDE8EA;
  --gold: #F5A623;
  --gold-bright: #FFC24B;
  --gold-soft: #FBE9C8;
  --cream: #FFF9EF;
  --sand: #F6EFE1;
  --card: #FFFFFF;
  --ink: #2B2A26;
  --ink-2: #454340;
  --muted: #6B675F;
  --green: #2D8C42;
  --green-soft: #E3F0E5;
  --line: rgba(43, 42, 38, .13);
  --line-light: rgba(255, 255, 255, .22);
  --danger: #C43D3D;

  /* Type */
  --font-display: "Space Grotesk", "Noto Sans Devanagari", "Noto Sans Gurmukhi", "Noto Sans Gujarati", "Noto Nastaliq Urdu", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Noto Sans Devanagari", "Noto Sans Gurmukhi", "Noto Sans Gujarati", "Noto Nastaliq Urdu", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.35, .44, 1);
  --shadow-1: 0 1px 3px rgba(43,42,38,.06), 0 6px 20px rgba(43,42,38,.05);
  --shadow-2: 0 2px 6px rgba(43,42,38,.08), 0 20px 50px rgba(43,42,38,.12);
  --shadow-3: 0 4px 12px rgba(225,29,46,.12), 0 24px 60px rgba(225,29,46,.08);

  --radius: 20px;
  --radius-sm: 12px;
  --space-1: .5rem; --space-2: .875rem; --space-3: 1.5rem; --space-4: 2.5rem;
  --space-5: 4rem; --space-6: 6.5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-family: var(--font-display); font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2.5px; background: var(--red); border-radius: 2px; }
.lede { font-size: clamp(1.08rem, 1.9vw, 1.35rem); color: var(--ink-2); max-width: 34em; }

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .82rem 1.35rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease-out), box-shadow .18s ease, background .18s ease, color .18s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn--marigold, .btn--gold { background: var(--gold); color: #3A2A05; box-shadow: var(--shadow-1); }
.btn--marigold:hover, .btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--red { background: var(--red); color: #fff; box-shadow: var(--shadow-1); }
.btn--red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: var(--shadow-3); }
.btn--vote { background: var(--red); color: #fff; }
.btn--vote:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: var(--shadow-3); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1a1917; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn[data-icon]::after { content: attr(data-icon); font-size: 1.05em; line-height: 1; transition: transform .18s ease; }
.btn:hover[data-icon]::after { transform: translateX(3px); }

/* ---------- Top banner ---------- */
.vote-banner {
  background: var(--red); color: #fff;
  text-align: center; font-size: .86rem; letter-spacing: .04em;
  padding: .5rem 1rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap;
}
.vote-banner b { color: var(--gold-bright); font-weight: 700; }
.vote-banner a { border-bottom: 1px solid rgba(255,255,255,.5); color: #fff; }
.vote-banner a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 249, 239, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 34px rgba(43,42,38,.06); }
.bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em;
  line-height: 1.1;
  display: flex; align-items: center; gap: .5rem;
}
.wordmark .wm-leaf { width: 22px; height: 22px; flex-shrink: 0; }
.wordmark small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.bar .spacer { margin-inline: auto; }
.lang {
  position: relative; font-size: .85rem; font-weight: 600;
}
.lang summary { list-style: none; display: flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.lang summary::after { content: "▾"; font-size: .7em; color: var(--red); }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: .4rem;
  display: none; flex-direction: column;
}
.lang[open] .lang-panel { display: flex; animation: pop .16s var(--ease-out); }
.lang-panel a { padding: .55rem .8rem; border-radius: 8px; font-size: .95rem; }
.lang-panel a:hover, .lang-panel a[aria-current] { background: var(--red-soft); }
.site-nav {
  display: flex; align-items: center; gap: .15rem;
  border-top: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { white-space: nowrap; padding: .85rem .9rem; font-weight: 600; font-size: .92rem; position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .5rem; height: 2.5px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .18s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }

/* ---------- Leaf accent ---------- */
.leaf-img { display: inline-block; vertical-align: middle; }
.leaf-icon { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: middle; margin-right: .2em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 400px at 90% -15%, rgba(245,166,35,.18), transparent 60%),
    radial-gradient(800px 400px at -5% 120%, rgba(225,29,46,.1), transparent 55%),
    var(--cream);
  color: var(--ink);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -5%; bottom: -8%; width: 500px; height: 500px;
  background: url('/images/maple-leaf-512.png') no-repeat center / contain;
  opacity: .04;
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 2.5rem; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem); align-items: center; grid-template-columns: 1fr minmax(0, 1.1fr); }
.hero .eyebrow { color: var(--red); }
.hero .eyebrow::before { background: var(--red); }
.hero h1 { margin: 1rem 0 1.1rem; max-width: 16ch; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Hero photo card */
.hero__photo { position: relative; display: flex; flex-direction: column; gap: 1.2rem; }
.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 4px solid #fff;
}
.photo-card img { width: 100%; height: auto; display: block; }
.photo-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--red); color: #fff;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em;
  padding: .45rem .85rem; border-radius: 999px;
  display: flex; align-items: center; gap: .35rem;
  box-shadow: 0 2px 10px rgba(225,29,46,.25);
}
.photo-badge img { width: 18px; height: 18px; }

/* Hero foot / civic line */
.hero__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 2rem;
  margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.hero__civic { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--ink); }
.hero__civic img { width: 18px; height: 18px; }

/* Election countdown */
.countdown { display: flex; gap: .7rem; }
.countdown__unit {
  min-width: 64px; text-align: center;
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .55rem .4rem .5rem;
}
.countdown__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__lab { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; display: block; }
.countdown--light .countdown__unit { background: var(--card); }
.countdown--light .countdown__num { color: var(--red); }

/* ---------- Stats strip ---------- */
.stat-strip { display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); border-radius: 0; }
.stat {
  border-right: 1px solid var(--line);
  padding: 1.5rem 1.6rem;
}
.stat:last-child { border-right: none; }
.stat b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--red); display: block; line-height: 1.05; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--sand); }
.section--gold { background: linear-gradient(180deg, #FFF3DC 0%, var(--gold-soft) 100%); }
.section--red { background: var(--red); color: #fff; }
.section--red .lede { color: rgba(255,255,255,.88); }
.section--red .eyebrow { color: var(--gold-bright); }
.section--red .eyebrow::before { background: var(--gold-bright); }
.section--red .field input, .section--red .field select, .section--red .field textarea {
  border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
}
.section--red .field input::placeholder, .section--red .field textarea::placeholder { color: rgba(255,255,255,.55); }
.section--red .field input:focus, .section--red .field textarea:focus {
  border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(255,194,75,.25);
}
.section--red .btn--gold { box-shadow: var(--shadow-2); }
.section--ink { background: var(--ink); color: #f2ece0; }
.section--ink .lede { color: rgba(242,236,224,.86); }
.section-head { max-width: 44em; margin-bottom: var(--space-4); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .7rem; }
.section-head .lede { margin-top: .9rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-alt { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(225,29,46,.35); }
.card .card-num {
  position: absolute; top: -0.3rem; right: 1rem;
  font-family: var(--font-display); font-size: 4.5rem; font-weight: 700;
  color: var(--red-soft); line-height: 1; pointer-events: none;
  opacity: .7;
}
.card .card-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center;
  font-size: 1.35rem; background: var(--gold-soft); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card .card-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; color: var(--red); }
.card .card-link::after { content: "→"; transition: transform .18s ease; }
a.card:hover .card-link::after { transform: translateX(4px); }

/* Facts / priority detail ---------- */
.facts-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fact {
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm); padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: .85rem;
}
.fact p { font-size: .99rem; }
.fact .cite { font-size: .82rem; color: var(--red-deep); font-weight: 700; }
.fact .cite:hover { text-decoration: underline; }

.lanes { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 2.6rem; }
.lane {
  background: var(--sand); border-radius: var(--radius); padding: 1.7rem;
  border-top: 3px solid var(--gold);
}
.lane--advocacy { border-top-color: var(--red); }
.lane h3 { margin-bottom: .6rem; }
.lane p { color: var(--ink-2); }

.wont { margin-top: 2.6rem; background: var(--red-soft); border: 1px solid rgba(225,29,46,.25); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.wont h3 { color: var(--red-deep); margin-bottom: .55rem; }
.wont p { color: #5a4640; font-size: .98rem; }

.first100 { margin-top: 2.6rem; background: var(--ink); color: #f3ede1; border-radius: var(--radius); padding: 1.7rem 1.9rem; position: relative; overflow: hidden; }
.first100::after { content: "100"; position: absolute; right: -8px; bottom: -44px; font-family: var(--font-display); font-size: 9rem; font-weight: 700; color: rgba(245,166,35,.18); line-height: 1; }
.first100 h3 { color: var(--gold); margin-bottom: .55rem; position: relative; }
.first100 p { position: relative; }

/* ---------- Meet ---------- */
.meet { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, .9fr) 1fr; }
.meet__photo { position: relative; display: flex; justify-content: center; }
.meet__photo img { border-radius: var(--radius); box-shadow: var(--shadow-2); border: 4px solid #fff; width: 100%; max-width: 420px; height: auto; object-fit: cover; }
.meet__photo .meet-leaf {
  position: absolute; bottom: -12px; right: -8px;
  width: 72px; height: 72px; opacity: .9;
}
.meet .btn--red { margin-top: 1.4rem; }

/* ---------- Get involved forms ---------- */
.form-wrap { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); overflow: hidden;
}
.form-card .form-head { padding: 1.3rem 1.6rem; background: var(--ink); color: #fff; display: flex; align-items: center; gap: .8rem; }
.form-card .form-head .emoji { font-size: 1.5rem; }
.form-card .form-head h3 { color: #fff; margin: 0; font-family: var(--font-display); }
.form-card .form-head small { display: block; font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 400; margin-top: .15rem; }
.form-body { padding: 1.6rem; }
.formf { display: grid; gap: 1rem; }
.formf .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; font-size: .97rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; }
.chip span {
  display: inline-block; padding: .45rem .8rem; border: 1.5px solid var(--line);
  border-radius: 999px; font-size: .87rem; cursor: pointer; transition: all .15s ease;
}
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #3A2A05; font-weight: 600; }
.form-ok, .form-err { display: none; padding: .8rem 1rem; border-radius: 10px; font-size: .92rem; margin-bottom: 1rem; }
.form-ok { background: var(--green-soft); color: var(--green); border: 1px solid #bfdcc4; }
.form-err { background: #fdeaea; color: #932323; border: 1px solid #f0c4c4; }

/* ---------- Vote page ---------- */
.vote-dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.vote-date {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-1);
}
.vote-date .vd-type { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.vote-date.vd-day .vd-type { color: var(--red); }
.vote-date .vd-range { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: .3rem 0 .1rem; }
.vote-date .vd-cal { font-size: .95rem; color: var(--ink-2); }
.vote-date.vd-day { border: 2px solid var(--red); }

.plan-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.plan-pick { text-align: left; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; transition: all .18s ease; }
.plan-pick:hover, .plan-pick.is-picked { border-color: var(--red); box-shadow: var(--shadow-1); }
.plan-pick .tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.plan-pick .when { font-weight: 700; font-size: 1.05rem; display: block; margin-top: .2rem; }
.plan-pick.is-picked .when { color: var(--red); }
.plan-result { margin-top: 1.4rem; display: none; }
.plan-result.is-on { display: flex; align-items: center; gap: 1rem; background: var(--ink); color: #fff; padding: 1.2rem 1.5rem; border-radius: var(--radius-sm); }
.plan-result .big-date { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--gold); }

/* ---------- News / blog ---------- */
.news-list { display: grid; gap: 1.2rem; }
.news-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: baseline;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; box-shadow: var(--shadow-1);
  transition: transform .22s var(--ease-out), box-shadow .2s ease, border-color .2s ease;
}
a.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(225,29,46,.4); }
.news-item .date { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--red); white-space: nowrap; }
.news-item h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .35rem; }
.news-item p { color: var(--ink-2); font-size: .97rem; }
.news-item .read { margin-top: .75rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--red); }

.post-hero { background: var(--ink); color: #f3ede1; padding: clamp(3rem,7vw,5rem) 0 3rem; }
.post-hero .crumb a { color: var(--gold); }
.post-hero h1 { max-width: 26ch; margin-top: .8rem; }
.post-hero .meta { margin-top: 1.2rem; color: var(--gold); font-weight: 600; font-size: .95rem; letter-spacing: .05em; }
.post-body { max-width: 46em; margin-inline: auto; padding: var(--space-5) 0; }
.post-body h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 1.8em 0 .6em; }
.post-body p { margin-bottom: 1.2em; }
.post-body a { color: var(--red); border-bottom: 1px solid var(--red-soft); }
.post-body a:hover { border-color: var(--red); }
.post-body ul { list-style: disc; margin: 0 0 1.2em 1.2em; }
.post-body blockquote { border-left: 3px solid var(--gold); padding-left: 1.2rem; margin: 1.4em 0; color: var(--ink-2); font-style: italic; }

/* ---------- Events / endorsements empty state ---------- */
.empty {
  background: var(--sand); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 3rem 2rem; text-align: center;
}
.empty p { color: var(--ink-2); }

/* ---------- Donate ---------- */
.donate-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.2rem 0; }
.amounts button { border: 2px solid var(--line); border-radius: 10px; padding: .8rem; font-weight: 700; font-size: 1.05rem; transition: all .15s ease; }
.amounts button:hover, .amounts button.is-picked { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }
.donate-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }
.donate-note a { color: var(--red); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(243, 237, 225, .85); padding: var(--space-5) 0 var(--space-4); }
.footer-inner { display: grid; gap: 2.5rem; grid-template-columns: 1.2fr 2fr; }
.footer-wordmark { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.footer-wordmark img { width: 28px; height: 28px; flex-shrink: 0; }
.footer-wordmark small { display: block; width: 100%; font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.candidate-line { margin-top: .6rem; font-size: .92rem; }
.authorized { margin-top: .9rem; font-size: .8rem; color: rgba(243,237,225,.5); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.6rem; }
.footer-col b { color: #fff; display: block; margin-bottom: .8rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; padding: .28rem 0; font-size: .93rem; opacity: .85; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .82rem; color: rgba(243,237,225,.5); }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-light); border-radius: 9px; font-size: .9rem; opacity: .8; }
.social a:hover { opacity: 1; color: var(--gold); border-color: var(--gold); }

/* ---------- Page head ---------- */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 2rem; border-bottom: 1px solid var(--line); position: relative; }
.page-head .crumb { color: var(--red); font-size: .92rem; font-weight: 600; margin-bottom: 1.2rem; display: inline-flex; gap: .4rem; }
.page-head .crumb a:hover { text-decoration: underline; }
.page-head h1 { max-width: 22ch; }
.page-head .position { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .countdown__num { animation: none !important; }
}

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- RTL ---------- */
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .card .card-link::after { content: "←"; }
[dir="rtl"] .news-item .read::after { content: "←"; }
[dir="rtl"] .site-nav a::after { transform-origin: right; }
[dir="rtl"] .crumb a span { display: inline-block; transform: rotate(180deg); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .formf .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__text { order: 1; }
  .hero__photo { order: 0; max-width: 560px; margin-inline: auto; }
  .meet { grid-template-columns: 1fr; }
  .meet__photo { order: -1; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .news-item { grid-template-columns: 1fr; gap: .4rem; }
  .wordmark { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
