/* =====================================================================
   PRISON FELLOWSHIP GHANA - Design System
   Restoring Lives. Transforming Communities.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (from logo crimson + wheat gold) */
  --crimson: #b91627;
  --crimson-dark: #8f0f1c;
  --crimson-deep: #6b0a14;
  --gold: #c99a3f;
  --gold-soft: #e3c583;
  --gold-tint: #f6ecd6;

  /* Neutrals */
  --ink: #201a1b;
  --ink-soft: #4b4143;
  --muted: #7a6f71;
  --line: #eadfe0;
  --cream: #fbf7f2;
  --cream-2: #f5ede4;
  --paper: #ffffff;
  --charcoal: #1a1416;

  /* Utility */
  --shadow-sm: 0 2px 10px rgba(45, 20, 24, .06);
  --shadow-md: 0 14px 40px rgba(45, 20, 24, .12);
  --shadow-lg: 0 30px 70px rgba(45, 20, 24, .18);
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--ink-soft); }
.serif { font-family: var(--font-display); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .74rem; color: var(--crimson);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.center .eyebrow::before { display: none; }

.section-head { max-width: 660px; margin-bottom: 3rem; }
.center .section-head { margin-inline: auto; }
.section-head p { margin-top: 1rem; font-size: 1.08rem; }

.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--crimson); color: #fff; box-shadow: 0 10px 26px rgba(185, 22, 39, .32); }
.btn--primary:hover { background: var(--crimson-dark); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(185, 22, 39, .4); }
.btn--gold { background: var(--gold); color: #3a2c05; box-shadow: 0 10px 26px rgba(201, 154, 63, .35); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201, 154, 63, .45); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--crimson); color: var(--crimson); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--crimson); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.topbar {
  background: var(--charcoal); color: #e9dcd0;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 1rem; }
.topbar a { color: #e9dcd0; transition: color .25s; }
.topbar a:hover { color: var(--gold-soft); }
.topbar__left { display: flex; gap: 1.4rem; align-items: center; }
.topbar__left span { display: inline-flex; align-items: center; gap: .45rem; opacity: .85; }
.topbar__socials { display: flex; gap: 1rem; }
.topbar__socials svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(251, 247, 242, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand__logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); background: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--crimson-deep); letter-spacing: -.01em; }
.brand__tag { font-size: .64rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); font-weight: 600; }

.nav__menu { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative; padding: .55rem .85rem; border-radius: 10px;
  font-weight: 500; font-size: .93rem; color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav__link:hover, .nav__link.active { color: var(--crimson); background: rgba(185,22,39,.06); }
.nav__actions { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; transform: scale(1.05); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(185,22,39,.42), transparent 60%),
    linear-gradient(180deg, rgba(20,16,18,.55) 0%, rgba(20,16,18,.72) 55%, rgba(20,16,18,.94) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); }
.hero__content { max-width: 820px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-size: .8rem; letter-spacing: .04em; margin-bottom: 1.7rem;
  backdrop-filter: blur(6px);
}
.hero__badge b { color: var(--gold-soft); font-weight: 700; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.86); margin-top: 1.5rem; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__scroll { display: flex; align-items: center; gap: .6rem; margin-top: 3.5rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero__scroll .dot { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; position: relative; }
.hero__scroll .dot::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--gold-soft); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,14px)} 100%{opacity:0} }

/* Hero stat strip */
.hero-stats {
  position: relative; z-index: 3; margin-top: -2px;
  background: linear-gradient(180deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: #fff;
}
.hero-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats__item { padding: 2rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stats__item:last-child { border-right: none; }
.hero-stats__num { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; line-height: 1; }
.hero-stats__num span { color: var(--gold-soft); }
.hero-stats__label { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; opacity: .82; margin-top: .5rem; }

/* =====================================================================
   REUSABLE CARDS & GRIDS
   ===================================================================== */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--crimson); margin-bottom: 1.3rem;
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .97rem; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; color: var(--crimson); font-weight: 600; font-size: .9rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .3s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* Intro / two-column */
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.two-col--reverse .two-col__media { order: -1; }
.two-col__media { position: relative; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; transition: transform 1.1s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-badge {
  position: absolute; z-index: 2; background: #fff; border-radius: 18px; padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .9rem;
}
.media-badge--br { bottom: -22px; right: -14px; }
.media-badge__num { font-family: var(--font-display); font-size: 2rem; color: var(--crimson); font-weight: 600; line-height: 1; }
.media-badge__txt { font-size: .8rem; color: var(--muted); line-height: 1.3; }

.check-list { display: grid; gap: .85rem; margin-top: 1.6rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--crimson); margin-top: 1px; }

/* Value pills */
.values { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.value-pill { padding: .5rem 1.1rem; border-radius: var(--radius-pill); background: var(--gold-tint); color: var(--crimson-deep); font-weight: 600; font-size: .88rem; }

/* =====================================================================
   IMPACT (dark band)
   ===================================================================== */
.band-dark { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.band-dark::before { content: ""; position: absolute; top: -120px; right: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(185,22,39,.4), transparent 70%); }
.band-dark h2 { color: #fff; }
.band-dark .section-head p { color: rgba(255,255,255,.78); }
.impact-grid { grid-template-columns: repeat(4, 1fr); }
.impact-card { text-align: center; padding: 2rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: background .3s, transform .3s; }
.impact-card:hover { background: rgba(255,255,255,.08); transform: translateY(-5px); }
.impact-card__icon { color: var(--gold-soft); margin-bottom: .9rem; display: grid; place-items: center; }
.impact-card__icon svg { width: 30px; height: 30px; }
.impact-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: #fff; line-height: 1; }
.impact-num span { color: var(--gold-soft); }
.impact-label { font-size: .86rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: .5rem; }
.impact-note { text-align: center; margin-top: 2.5rem; font-size: .85rem; color: rgba(255,255,255,.55); }

/* =====================================================================
   PROGRAMMES tiles (image cards)
   ===================================================================== */
.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,18,0) 30%, rgba(20,16,18,.9) 100%); }
.tile:hover img { transform: scale(1.08); }
.tile__body { position: relative; z-index: 2; padding: 1.8rem; color: #fff; }
.tile__body h3 { color: #fff; margin-bottom: .4rem; }
.tile__body p { color: rgba(255,255,255,.85); font-size: .92rem; }
.tile__tag { display: inline-block; padding: .3rem .8rem; border-radius: var(--radius-pill); background: var(--crimson); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .8rem; }

/* =====================================================================
   PFI Global family
   ===================================================================== */
.pfi { background: linear-gradient(160deg, var(--crimson-deep), var(--crimson) 60%, var(--crimson-dark)); color: #fff; position: relative; overflow: hidden; }
.pfi::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.pfi h2 { color: #fff; }
.pfi__flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: .8rem; margin-top: 2rem; }
.pfi__node { flex: 1 1 150px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 1rem 1.1rem; backdrop-filter: blur(6px); }
.pfi__node b { display: block; font-size: .95rem; }
.pfi__node span { font-size: .78rem; opacity: .8; }
.pfi__node--accent { background: var(--gold); color: #3a2c05; border-color: transparent; }
.pfi__node--accent span { opacity: .9; }

/* =====================================================================
   STORIES
   ===================================================================== */
.story { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.story__img { aspect-ratio: 16/10; overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story:hover .story__img img { transform: scale(1.07); }
.story__body { padding: 1.6rem; }
.story__cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--crimson); font-weight: 700; }
.story__body h3 { font-size: 1.25rem; margin: .5rem 0 .6rem; }
.story__body p { font-size: .94rem; }

/* =====================================================================
   CTA banner
   ===================================================================== */
.cta-band { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 100%); position: relative; overflow: hidden; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(2.5rem,5vw,4rem) 0; }
.cta-band h2 { color: #4a3708; max-width: 640px; }
.cta-band p { color: #5c470f; margin-top: .6rem; max-width: 560px; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn--dark { background: var(--charcoal); color: #fff; }
.cta-band .btn--dark:hover { background: #000; transform: translateY(-3px); }

/* =====================================================================
   NEWS
   ===================================================================== */
.news-item { display: flex; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; transition: padding-left .3s; }
.news-item:hover { padding-left: .5rem; }
.news-date { flex-shrink: 0; width: 66px; text-align: center; background: var(--gold-tint); border-radius: 12px; padding: .7rem .3rem; }
.news-date b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--crimson); line-height: 1; }
.news-date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.news-body h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.news-body p { font-size: .92rem; }
.news-tag { font-size: .72rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--charcoal); color: #cbbcae; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer a { color: #cbbcae; transition: color .25s; }
.footer a:hover { color: var(--gold-soft); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.footer__brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.footer__brand b { font-family: var(--font-display); color: #fff; font-size: 1.15rem; }
.footer p { color: #a99b8e; font-size: .92rem; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2rem; }
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a { font-size: .93rem; }
.footer__contact li { display: flex; gap: .7rem; font-size: .92rem; margin-bottom: .9rem; color: #a99b8e; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer__socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer__socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .3s; }
.footer__socials a:hover { background: var(--crimson); transform: translateY(-3px); }
.footer__socials svg { width: 17px; height: 17px; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.6rem 0; font-size: .84rem; color: #8f8177; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   PAGE HEADER (inner pages)
   ===================================================================== */
.page-hero { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(107,10,20,.5), rgba(20,16,18,.85)); }
.page-hero__inner { position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin-top: 1.1rem; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { opacity: .5; }

/* Timeline */
.timeline { position: relative; margin-top: 1rem; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--crimson)); }
.timeline__item { position: relative; padding-bottom: 2.2rem; }
.timeline__item::before { content: ""; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--crimson); box-shadow: 0 0 0 4px var(--gold-tint); }
.timeline__year { font-family: var(--font-display); font-size: 1.4rem; color: var(--crimson); font-weight: 600; }
.timeline__item h3 { font-size: 1.15rem; margin: .2rem 0 .3rem; }
.timeline__item p { font-size: .95rem; }

/* Leadership cards */
.leader { text-align: center; }
.leader__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; box-shadow: var(--shadow-sm); border: 4px solid #fff; background: var(--gold-tint); display:grid; place-items:center; }
.leader__ph { font-family: var(--font-display); font-size: 2.2rem; color: var(--crimson); }
.leader h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.leader .role { color: var(--crimson); font-weight: 600; font-size: .88rem; }

/* Forms */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; padding: .85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crimson); background: #fff;
  box-shadow: 0 0 0 4px rgba(185,22,39,.1);
}
.field textarea { resize: vertical; min-height: 130px; }

/* Info list (contact) */
.info-row { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-row__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-tint); color: var(--crimson); display: grid; place-items: center; flex-shrink: 0; }
.info-row__icon svg { width: 22px; height: 22px; }
.info-row h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .25rem; }
.info-row p { color: var(--ink); font-weight: 500; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin: 2.4rem 0 1rem; }
.prose h3 { margin: 1.8rem 0 .7rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul.dotted { margin: 1rem 0 1.4rem; display: grid; gap: .6rem; }
.prose ul.dotted li { display: flex; gap: .7rem; }
.prose ul.dotted li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: .55rem; flex-shrink: 0; }

/* Donation amount grid */
.give-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1.2rem 0; }
.give-amt { padding: 1.1rem; border: 1.5px solid var(--line); border-radius: 14px; text-align: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--ink); background: var(--cream); cursor: pointer; transition: all .25s; }
.give-amt:hover, .give-amt.active { border-color: var(--crimson); background: #fff; color: var(--crimson); box-shadow: var(--shadow-sm); }

/* Accordion */
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.accordion__head .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-tint); color: var(--crimson); display: grid; place-items: center; font-size: 1.3rem; transition: transform .3s, background .3s; }
.accordion__item.open .plus { transform: rotate(45deg); background: var(--crimson); color: #fff; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.accordion__panel p { padding-bottom: 1.35rem; }

/* =====================================================================
   REVEAL ANIMATION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__scroll .dot::after { animation: none; } html { scroll-behavior: auto; } }
/* No-JS fallback: content must never stay hidden */
.no-js .reveal { opacity: 1; transform: none; }

/* Form success / error banner */
.form-alert { display: flex; align-items: flex-start; gap: .7rem; padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1.4rem; font-size: .94rem; line-height: 1.45; }
.form-alert svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.form-alert--ok { background: #e9f6ec; color: #1c6b32; border: 1px solid #bfe4c8; }
.form-alert--err { background: #fdecec; color: var(--crimson-dark); border: 1px solid #f3c9cc; }

/* Human-check field */
.captcha-field { background: var(--gold-tint); border: 1px dashed var(--gold); border-radius: 12px; padding: 1rem 1.1rem; }
.captcha-field label { color: var(--crimson-deep); }
.captcha-field input { max-width: 180px; }
.captcha-hint { font-size: .78rem; color: var(--muted); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse .two-col__media { order: 0; }
  .hero-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats__item:nth-child(2) { border-right: none; }
  .hero-stats__item:nth-child(1), .hero-stats__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 78px 0 auto 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    gap: 0; padding: 1rem 1.3rem 2rem; box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .4s var(--ease);
    max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__link { padding: .9rem .6rem; font-size: 1.05rem; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .nav__link:last-child { border-bottom: none; }
  .nav__actions .btn--ghost { display: none; }
}

@media (max-width: 640px) {
  body { font-size: .98rem; }
  .wrap { width: min(100% - 1.9rem, var(--maxw)); }
  /* Compact header so brand + Give + toggle fit small screens */
  .nav { gap: .5rem; min-height: 66px; }
  .brand { gap: .55rem; min-width: 0; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: .9rem; }
  .nav__actions { gap: .5rem; }
  .nav__actions .btn--primary { padding: .6rem 1.05rem; font-size: .86rem; }
  .nav__menu { inset-block-start: 66px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .give-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .pfi__flow { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr; }
  .media-badge--br { right: 0; bottom: -18px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .brand__tag { display: none; }
}

@media (max-width: 480px) {
  /* Logo-only brand on narrow phones so the Give CTA stays visible */
  .brand__text { display: none; }
}

@media (max-width: 400px) {
  .impact-grid { grid-template-columns: 1fr; }
  .hero-stats__grid { grid-template-columns: 1fr; }
  .hero-stats__item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.14); }
}
