/* ============================================================
   ICEJ UK — Shared design system
   Built to the GHL AI Studio Build Pack (P02 tokens, P04 patterns)
   Gold refined from pack #DABD46 → antique brass (tweakable).
   ============================================================ */

:root {
  /* Colour tokens (P02) */
  --blue:        #002F6D;
  --blue-deep:   #021F47;   /* footer / nav depth */
  --blue-bright: #0B4A9E;   /* hover / gradient highlight */
  --gold:        #C2A14A;   /* refined antique brass (pack original #DABD46 available via Tweaks) */
  --gold-bright: color-mix(in oklab, var(--gold), white 22%); /* for use on dark blue */
  --gold-deep:   color-mix(in oklab, var(--gold), black 22%);
  --stone:       #F3EBDD;   /* JERUSALEM — primary background */
  --stone-deep:  #EADFC9;
  --olive:       #6B7755;
  --ink:         #1A1A2E;
  --ink-soft:    #3C3C52;
  --grey-mid:    #6E6E7A;
  --grey-light:  #F7F7F7;
  --light:       #F5F5F0;   /* SECTION_LIGHT */
  --tint:        #EEF2F8;   /* SECTION_TINT */
  --white:       #FFFFFF;

  /* Type */
  --font-head: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --max: 1200px;
  --max-text: 680px;
  --radius: 3px;
  --radius-lg: 4px;
  --line: rgba(0,47,109,.14);        /* hairline rule on light surfaces */
  --shadow-card: 0 1px 2px rgba(26,26,46,.04);
  --shadow-lift: 0 6px 20px -8px rgba(0,47,109,.18);
  --nav-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
::selection { background: var(--blue); color: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--font-head); color: var(--blue); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.015em; font-weight: 700; }
h3 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.25; font-weight: 600; }
p  { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 22px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.kicker.centered { justify-content: center; }
.kicker.centered::after { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.on-dark .kicker, .kicker.on-dark { color: var(--gold-bright); }
.on-dark .kicker::before, .on-dark .kicker::after { background: color-mix(in oklab, var(--gold), transparent 35%); }

.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.65; color: var(--ink-soft); max-width: 640px; }
.caption { font-size: 14px; color: var(--grey-mid); line-height: 1.5; }
.smallprint { font-size: 13.5px; color: var(--grey-mid); line-height: 1.6; }
.scripture {
  font-family: var(--font-head); font-style: italic;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.35; color: var(--blue);
}
.scripture cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-top: 18px; }

.prose { max-width: var(--max-text); }
.prose p { margin-bottom: 1.2em; }
/* Opening paragraph lead-in — restrained, no decorative drop cap */
.prose .opener { font-size: 1.08em; color: var(--ink); }

/* On dark sections */
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .scripture { color: var(--white); }
.on-dark p { color: rgba(255,255,255,.82); }
.on-dark .lede { color: rgba(255,255,255,.85); }
.on-dark .smallprint, .on-dark .caption { color: rgba(255,255,255,.55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
  letter-spacing: .015em; line-height: 1; text-decoration: none;
  padding: 17px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary { background: var(--gold); color: var(--blue); }
.btn-primary:hover { background: var(--gold-bright); box-shadow: 0 10px 26px -8px color-mix(in oklab, var(--gold), transparent 35%); }

.btn-secondary { background: var(--blue); color: var(--white); }
.btn-secondary:hover { background: var(--blue-bright); box-shadow: 0 10px 26px -8px rgba(0,47,109,.5); }

.btn-ghost { background: transparent; color: var(--blue); border-color: color-mix(in oklab, var(--blue), transparent 55%); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(0,47,109,.04); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.on-dark .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px; color: var(--blue);
  text-decoration: none; border-bottom: 1.5px solid var(--gold);
  padding-bottom: 3px; transition: gap .18s ease, color .18s ease;
}
.btn-text:hover { gap: 13px; color: var(--blue-bright); }
.btn-text .arr { color: var(--gold-deep); }
.on-dark .btn-text { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { position: relative; padding: 104px 0; }
.section.tight { padding: 72px 0; }

.sec-dark  { background: linear-gradient(170deg, var(--blue) 0%, var(--blue-deep) 100%); }
.sec-white { background: var(--white); }
.sec-warm  { background: var(--stone); }
.sec-light { background: var(--light); }
.sec-tint  { background: var(--tint); }

/* Flat Jerusalem-stone background — texture removed for a cleaner surface */

/* Decorative section numerals removed for a cleaner, less templated look */
.sec-num { display: none; }

/* Vertical edge kicker removed for a cleaner layout */
.v-kicker { display: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.grid-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }

/* Clean gold hairline divider */
.divider { display: flex; align-items: center; gap: 14px; margin: 0 auto; max-width: 240px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: color-mix(in oklab, var(--gold), transparent 45%); }
.divider .dia { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex: none; }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--stone-deep), #E4D8BF);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; align-items: flex-end;
  min-height: 240px;
}
.ph .ph-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(0,47,109,.62);
  background: rgba(243,235,221,.88); border-top: 1px solid rgba(0,47,109,.14);
  border-right: 1px solid rgba(0,47,109,.14); border-radius: 0 8px 0 0;
  padding: 8px 14px; line-height: 1.45; max-width: 88%;
}
.ph-16x9 { aspect-ratio: 16/9; }
.ph-3x2  { aspect-ratio: 3/2; }
.ph-4x5  { aspect-ratio: 4/5; }
.ph-sq   { aspect-ratio: 1/1; }
.ph-portrait { aspect-ratio: 4/5; border-radius: var(--radius-lg); }

/* Real images dropped in later share this frame */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--gold); color: var(--blue);
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  position: relative; z-index: 60;
}
html.no-announce .announce { display: none; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 42px; padding-top: 4px; padding-bottom: 4px; }
.announce a { color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.announce a .arr { transition: transform .18s ease; }
.announce a:hover .arr { transform: translateX(3px); }
.announce-close {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--blue); font-size: 17px; line-height: 1;
  cursor: pointer; padding: 6px; opacity: .65;
}
.announce-close:hover { opacity: 1; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -10px rgba(2,31,71,.55); }
.site-header .container {
  display: flex; align-items: center; gap: 28px; height: var(--nav-h);
}
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.logo .logo-full { height: 80px; width: auto; flex: none; display: block; }

.nav-links { display: flex; align-items: center; gap: 22px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85); text-decoration: none;
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em;
  padding: 8px 0; position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold); transition: right .22s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-actions .btn { padding: 12px 22px; font-size: 14.5px; }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  flex-direction: column; gap: 5px;
}
.nav-burger span { width: 24px; height: 2px; background: var(--white); display: block; transition: transform .25s ease, opacity .25s ease; }

/* Mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--blue-deep);
  display: none; flex-direction: column; padding: 28px 32px 48px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; }
.mm-close { background: none; border: 0; color: var(--white); font-size: 30px; cursor: pointer; padding: 8px; line-height: 1; }
.mobile-menu nav { margin: auto 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  color: var(--white); text-decoration: none; font-family: var(--font-head);
  font-size: 31px; font-weight: 600; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu nav a span { color: var(--gold); font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; margin-right: 16px; vertical-align: middle; }
.mobile-menu .btn-row { margin-top: 32px; }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  background: linear-gradient(165deg, #03234E 0%, var(--blue) 55%, #0A3D7E 100%);
}
.hero::before { display: none; }
.hero::after { display: none; }
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 96px; }
.hero-full { min-height: calc(92vh - var(--nav-h)); }
.hero-mid  { min-height: 62vh; }
.hero h1 { color: var(--white); max-width: 17ch; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero .lede { color: rgba(255,255,255,.9); margin-top: 26px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero .btn-row { margin-top: 40px; }
.hero .hero-photo-note {
  position: absolute; right: 28px; bottom: 22px; z-index: 3;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
}
.hero-light { background: var(--stone); padding: 110px 0 84px; border-bottom: 1px solid var(--line); }
.hero-light h1 { color: var(--blue); }
.hero-light .lede { margin-top: 24px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: color-mix(in oklab, var(--blue), transparent 72%); }
.card .card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .card-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.card h3 { font-size: 22px; line-height: 1.3; }
.card h3 a { color: inherit; text-decoration: none; }
.card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
.card .card-meta { font-size: 13px; color: var(--grey-mid); margin-top: auto; }
.card .ph { border-radius: 0; border: 0; border-bottom: 1px solid rgba(0,47,109,.1); min-height: 0; }

/* CARD_EVENT — date band left */
.event-card {
  display: grid; grid-template-columns: 132px 1fr; gap: 0;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.event-date {
  background: var(--blue); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px 14px; text-align: center; gap: 2px;
}
.event-date .ed-day { font-family: var(--font-head); font-size: 46px; font-weight: 700; line-height: 1; }
.event-date .ed-month { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-bright); }
.event-date .ed-year { font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 4px; }
.event-body { padding: 28px 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.event-body .event-info { flex: 1; min-width: 240px; }
.event-body h3 { font-size: 24px; }
.event-body .event-venue { font-size: 14.5px; color: var(--grey-mid); margin-top: 6px; }
.event-body .event-venue .tbc { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--gold-deep); background: color-mix(in oklab, var(--gold), white 78%); border: 1px sol

/* Past events */
.event-past { opacity: .55; pointer-events: none; }
.event-past .event-date { background: var(--grey-mid); }
.event-past .event-date .ed-month { color: rgba(255,255,255,.7); }
.event-past-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--grey-mid); border: 1px solid rgba(0,0,0,.15);
  border-radius: 99px; padding: 6px 14px; white-space: nowrap;
}id color-mix(in oklab, var(--gold), white 45%); padding: 2px 8px; border-radius: 99px; margin-left: 6px; }

/* CARD_PERSON */
.person-card { text-align: left; }
.person-card .person-name { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--blue); margin-top: 16px; }
.person-card .person-role { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }
.person-card p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Stats band (IMPACT_STAT) ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; }
.stat { padding: 8px 36px; border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .stat-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(44px, 4.6vw, 68px); line-height: 1; color: var(--white);
}
.stat .stat-num em { font-style: italic; color: var(--gold-bright); }
.stat .stat-label { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 14px; line-height: 1.5; }

/* ---------- Quote band (QUOTE_PULL) ---------- */
.quote-band { text-align: center; max-width: 880px; margin: 0 auto; position: relative; }
.quote-band .qmark {
  font-family: var(--font-head); font-size: 64px; line-height: .4;
  color: var(--gold); opacity: .5; display: block; margin: 8px auto 22px; height: 30px;
}
.quote-band blockquote {
  margin: 0; font-family: var(--font-head); font-style: italic;
  font-size: clamp(24px, 2.8vw, 34px); line-height: 1.45; color: var(--white);
}
.quote-band figcaption { margin-top: 30px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); }
.quote-band figcaption small { display: block; letter-spacing: .14em; color: rgba(255,255,255,.5); margin-top: 6px; font-size: 12px; }

/* ---------- Tier cards (GIVE_BAND) ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: var(--white); border-radius: var(--radius-lg); padding: 38px 34px;
  display: flex; flex-direction: column; gap: 6px; position: relative;
  box-shadow: var(--shadow-card); border: 1px solid var(--line); border-top: 3px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.tier .tier-name { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.tier .tier-price { font-family: var(--font-head); font-weight: 700; font-size: 52px; color: var(--blue); line-height: 1; margin: 14px 0 4px; }
.tier .tier-price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--grey-mid); letter-spacing: .02em; }
.tier p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.tier .btn { margin-top: 22px; width: 100%; }
.tier.featured { border-top-color: var(--gold); transform: scale(1.03); z-index: 1; box-shadow: var(--shadow-lift); }
.tier.featured:hover { transform: scale(1.03) translateY(-4px); }
.tier .tier-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--blue); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; padding: 6px 16px; border-radius: 99px;
  white-space: nowrap;
}

/* ---------- Forms (styled mocks of GHL forms) ---------- */
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.form-field { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 180px; }
.form-field label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.on-dark .form-field label { color: rgba(255,255,255,.75); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--stone); border: 1px solid rgba(0,47,109,.22);
  border-radius: var(--radius); padding: 15px 18px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(26,26,46,.38); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold), transparent 60%);
}
.form-success {
  display: none; align-items: flex-start; gap: 14px;
  background: color-mix(in oklab, var(--olive), white 86%);
  border: 1px solid color-mix(in oklab, var(--olive), white 50%);
  border-radius: var(--radius-lg); padding: 22px 26px; font-size: 16px; color: var(--ink);
}
.form-success .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; margin-top: 2px; }
form.submitted .form-success { display: flex; }
form.submitted .form-hide-on-success { display: none; }
.on-dark .form-success { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }

/* Cookie consent card (P28) */
.cookie-card {
  position: fixed; left: 20px; bottom: 20px; z-index: 9000;
  max-width: 360px; background: var(--blue); color: #fff;
  border-radius: var(--radius-lg); box-shadow: 0 18px 50px rgba(2,31,71,.35);
  padding: 24px 26px;
}
.cookie-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0 0 16px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 13.5px; }
.cookie-actions .cookie-decline { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 480px) { .cookie-card { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Filter chips (news categories, gallery albums) */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: .03em;
  color: var(--blue); background: transparent;
  border: 1px solid rgba(0,47,109,.28); border-radius: 99px;
  padding: 9px 18px; cursor: pointer; transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--blue); background: rgba(0,47,109,.05); }
.filter-chip.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Amount chips (one-off gift) */
.amount-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.amount-chips button {
  font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--blue);
  background: var(--white); border: 1.5px solid rgba(0,47,109,.25); border-radius: var(--radius);
  padding: 14px 26px; cursor: pointer; transition: all .15s ease;
}
.amount-chips button:hover { border-color: var(--blue); }
.amount-chips button.selected { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.78); font-size: 14.5px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 40px; padding: 80px 0 56px; }
.footer-main h4 { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 18px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-about p { font-size: 14.5px; line-height: 1.7; margin: 18px 0 6px; max-width: 280px; }
.footer-about .charity-no { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  display: grid; place-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}
.footer-social a:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.footer-contact address { font-style: normal; line-height: 1.75; font-size: 14px; }
.footer-contact .fc-region { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 6px; }
.footer-contact address + .fc-region { margin-top: 24px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: rgba(255,255,255,.5); }

/* Slim footer (for /partner) */
.footer-slim { background: var(--blue-deep); color: rgba(255,255,255,.6); font-size: 13.5px; }
.footer-slim .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 30px; padding-bottom: 30px; }
.footer-slim a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-slim a:hover { color: var(--gold-bright); }

/* ---------- Reveal-on-scroll ----------
   Visible is the base state; site.js adds .pre only to elements
   below the fold, then removes it as they scroll into view. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
  html.js [data-reveal].pre { opacity: 0; transform: translateY(26px); }
  html.js [data-reveal="2"] { transition-delay: .12s; }
  html.js [data-reveal="3"] { transition-delay: .24s; }
  html.js [data-reveal="4"] { transition-delay: .36s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-2, .grid-5-7, .grid-7-5 { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .tier.featured { transform: none; }
  .tier.featured:hover { transform: translateY(-4px); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .sec-num { right: 24px; top: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .container { padding: 0 22px; }
  .section { padding: 72px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 96px 1fr; }
  .event-date .ed-day { font-size: 34px; }
  .event-body { padding: 22px 22px; }
  .footer-main { grid-template-columns: 1fr; padding: 60px 0 40px; }
  .hero .container { padding-top: 80px; padding-bottom: 72px; }
  .btn { width: 100%; }
  .btn-text, .announce a { width: auto; }
  .btn-row .btn { width: 100%; }
}
