/* =============================================================================
   Pearls of Grace Ministries
   -----------------------------------------------------------------------------
   The design prototypes styled everything inline — a constraint of the
   prototype runtime, not a design intention. This file is that styling moved
   into one place. Values below are the handoff's design tokens; they were
   arrived at by measurement, so change them deliberately.

   Served as a plain stylesheet rather than through Vite: this host has no
   Node/npm, so there is no build step available.
   ========================================================================== */

:root {
  /* Brand palette. Dark-first: deep plum grounds, pearl and rose as the
     light, coral reserved for actions. */
  --plum-900: #2B0121;
  --plum-800: #3A0A2C;
  --plum-700: #400131;
  --plum-600: #660450;
  --magenta: #A3057F;
  --oxblood-900: #311717;
  --oxblood-800: #3D1418;
  --oxblood-700: #4A1220;
  --rose-dark: #A83932;
  --coral: #F16667;
  --pink: #FBCCCD;
  --pink-pale: #FBE9EA;
  --pearl: #EEEEEE;
  --white: #FFFFFF;
  --teal: #02BBD7;

  /* Ink. Never apply alpha to accent-coloured type — a 40%-opacity magenta
     numeral measured 2.2:1 and had to be fixed. */
  --ink-dark-88: rgba(238, 238, 238, 0.88);
  --ink-dark-85: rgba(238, 238, 238, 0.85);
  --ink-dark-82: rgba(238, 238, 238, 0.82);
  --ink-dark-80: rgba(238, 238, 238, 0.80);
  --ink-dark-78: rgba(238, 238, 238, 0.78);
  --ink-dark-75: rgba(238, 238, 238, 0.75);
  --ink-dark-62: rgba(238, 238, 238, 0.62);
  --ink-light-88: rgba(49, 23, 23, 0.88);
  --ink-light-85: rgba(49, 23, 23, 0.85);
  --ink-light-82: rgba(49, 23, 23, 0.82);
  --ink-light-80: rgba(49, 23, 23, 0.80);
  --ink-light-78: rgba(49, 23, 23, 0.78);
  --ink-light-70: rgba(49, 23, 23, 0.70);
  --ink-light-62: rgba(49, 23, 23, 0.62);

  /* Hairlines */
  --rule-dark-28: rgba(251, 204, 205, 0.28);
  --rule-dark-22: rgba(251, 204, 205, 0.22);
  --rule-dark-20: rgba(251, 204, 205, 0.20);
  --rule-dark-18: rgba(251, 204, 205, 0.18);
  --rule-dark-16: rgba(251, 204, 205, 0.16);
  --rule-dark-14: rgba(251, 204, 205, 0.14);
  --rule-dark-12: rgba(251, 204, 205, 0.12);
  --rule-light-18: rgba(64, 1, 49, 0.18);
  --rule-light-14: rgba(64, 1, 49, 0.14);
  --rule-light-12: rgba(64, 1, 49, 0.12);
  --rule-oxblood-12: rgba(49, 23, 23, 0.12);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: Montserrat, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shell: 1240px;
  --pad-y: clamp(52px, 8vw, 104px);
  --pad-x: 22px;
  --card-pad: clamp(22px, 3vw, 38px);
}

/* ---------------------------------------------------------------- reset --- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--plum-900);
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

/* <picture> is only a wrapper for format selection — it should not introduce a
   box of its own, so absolutely-positioned hero images keep resolving against
   the section and no stray inline space appears. */
picture { display: contents; }

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--coral); }

::selection { background: var(--coral); color: var(--plum-900); }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Visible only to screen readers, and to keyboard users once focused. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--coral);
  color: var(--plum-900);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
  color: var(--plum-900);
}

/* ------------------------------------------------------------- primitives - */

.shell { max-width: var(--shell); margin: 0 auto; }
.shell-narrow { max-width: 1100px; margin: 0 auto; }
.shell-prose { max-width: 780px; margin: 0 auto; }

.section { padding: var(--pad-y) var(--pad-x); }
.section-tall { padding: clamp(64px, 9vw, 120px) var(--pad-x); }

/* Grounds */
.ground-plum-900 { background: var(--plum-900); }
.ground-plum-800 { background: var(--plum-800); }
.ground-plum-700 { background: var(--plum-700); }
.ground-oxblood-900 { background: var(--oxblood-900); }
.ground-oxblood-800 { background: var(--oxblood-800); }
.ground-oxblood-700 { background: var(--oxblood-700); }
.ground-pink { background: var(--pink); color: var(--oxblood-900); }
.ground-pearl { background: var(--pearl); color: var(--oxblood-900); }
.ground-light-gradient {
  background: linear-gradient(180deg, var(--pearl) 0%, var(--pink-pale) 100%);
  color: var(--oxblood-900);
}
.ground-mandate { background: linear-gradient(180deg, var(--oxblood-900) 0%, var(--plum-700) 100%); }

/* Type */
.eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.eyebrow-dark { color: var(--pink); }
.eyebrow-light { color: var(--magenta); }
.eyebrow-rose { color: var(--rose-dark); }

.label {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.h1-home {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.2vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
}
.h1-home em { font-style: italic; color: var(--pink); }

.h1 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1.12;
}
.h2-light { color: var(--plum-700); }

.lead {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.75;
  color: var(--ink-dark-85);
}

.prose p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-light-85);
}
.prose p:last-child { margin-bottom: 0; }

.rule-coral {
  height: 1px;
  width: 72px;
  background: var(--coral);
  /* Explicit inline margins: an <hr> inherits `margin-inline: auto` from the
     UA stylesheet, which centres the rule in its column rather than leaving
     it flush left under the text. */
  margin: 0 0 22px;
  border: 0;
}

/* Buttons. Hover swaps coral to pink on dark, plum-700 to plum-600 on light. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 16px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  cursor: pointer;
}
.btn-coral { background: var(--coral); color: var(--plum-900); font-weight: 600; }
.btn-coral:hover { background: var(--pink); color: var(--plum-900); }
.btn-plum { background: var(--plum-700); color: var(--pearl); font-weight: 600; }
.btn-plum:hover { background: var(--plum-600); color: var(--pearl); }
.btn-outline-dark { border-color: rgba(251, 204, 205, 0.45); color: var(--pearl); }
.btn-outline-dark:hover { border-color: var(--pink); color: var(--pink); }
.btn-outline-light { border-color: rgba(64, 1, 49, 0.45); color: var(--plum-700); }
.btn-outline-light:hover { border-color: var(--plum-700); background: rgba(255, 255, 255, 0.5); color: var(--plum-700); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--coral);
}
.arrow-link-magenta { color: var(--magenta); font-size: 12.5px; }
.arrow-link-magenta:hover { color: var(--coral); }

/* Grids. Every multi-column grid uses this pattern so a final column is
   never stranded alone beside empty space. The minimums were tuned by
   measurement — verify at ~900px, ~700px and ~400px if you change them. */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, 47%)), 1fr)); }
.grid-2-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(280px, 47%)), 1fr)); }
.grid-2-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(260px, 31%)), 1fr)); }
.grid-3-values { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(240px, 30%)), 1fr)); }
.grid-split { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(320px, 44%)), 1fr)); gap: clamp(32px, 5vw, 72px); }
.grid-split-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, 44%)), 1fr)); gap: clamp(30px, 4vw, 64px); }

.card {
  padding: var(--card-pad);
  border-radius: 20px;
}
.card-dark {
  background: rgba(43, 1, 33, 0.5);
  border: 1px solid var(--rule-dark-20);
}
.card-white {
  background: var(--white);
  border: 1px solid var(--rule-oxblood-12);
  border-radius: 18px;
  padding: 28px;
}
.card-white h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--plum-700);
}
.card-white p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-light-78);
}

/* ------------------------------------------------------------------ hero -- */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) var(--pad-x) clamp(44px, 6vw, 80px);
  background: var(--plum-900);
  isolation: isolate;
}
.hero-home { padding: clamp(64px, 10vw, 132px) var(--pad-x) clamp(56px, 8vw, 104px); }

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-wash { position: absolute; inset: 0; z-index: -1; }

/* The brand guide's "light line" device — a halftone dot field masked
   diagonally. It recurs on every hero. */
.hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(251, 204, 205, 0.5) 1.1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
}
.hero-body { position: relative; max-width: var(--shell); margin: 0 auto; }

/* Photo bands — bottom-aligned text over a darkening wash. */
.band {
  position: relative;
  min-height: clamp(300px, 42vw, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(36px, 6vw, 72px) var(--pad-x);
  background: var(--oxblood-900);
  isolation: isolate;
}
.band-short { min-height: clamp(260px, 36vw, 440px); padding: clamp(32px, 5vw, 68px) var(--pad-x); }
.band-tall { min-height: clamp(320px, 44vw, 540px); }
.band-body { max-width: var(--shell); margin: 0 auto; width: 100%; }
.band-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--pearl);
  max-width: 26ch;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(43, 1, 33, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-dark-16);
}
.site-header-bar {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 18px;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-width: 0;
}
.lockup img { width: 46px; height: 46px; flex: none; object-fit: contain; }
.lockup-text { display: block; line-height: 1; min-width: 0; }
.lockup-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 600;
  color: var(--pearl);
  white-space: nowrap;
}
.lockup-sub {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.4em;
  color: var(--pink);
  margin-top: 6px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.site-nav a {
  color: var(--pearl);
  font-weight: 400;
  border-bottom: 1.5px solid transparent;
  padding: 6px 0 5px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--pink); }
.site-nav a[aria-current="page"] {
  color: var(--pink);
  font-weight: 600;
  border-bottom-color: var(--coral);
}

.give-pill {
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: var(--plum-900);
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.give-pill:hover { background: var(--pink); color: var(--plum-900); }

/* `.site-nav a` is more specific than `.give-pill` alone, so inside the nav it
   would otherwise win and strip the pill's horizontal padding and ink —
   collapsing GIVE into a coral blob. Restate the pill at matching specificity. */
.site-nav .give-pill {
  color: var(--plum-900);
  font-weight: 600;
  padding: 11px 22px;
  border-bottom: 0;
}
.site-nav .give-pill:hover { color: var(--plum-900); background: var(--pink); }

.give-pill-compact { display: none; font-size: 12px; padding: 12px 18px; }

.nav-toggle {
  display: none;
  flex: none;
  width: 48px;
  height: 48px;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(251, 204, 205, 0.4);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bars { display: block; width: 20px; height: 11px; position: relative; }
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--pearl);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

.nav-panel {
  display: none;
  border-top: 1px solid var(--rule-dark-16);
  padding: 8px var(--pad-x) 18px;
  grid-template-columns: 1fr;
}
.nav-panel[data-open="true"] { display: grid; }
.nav-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 4px 0;
  font-size: 15px;
  color: var(--pearl);
  border-bottom: 1px solid var(--rule-dark-12);
}
.nav-panel a:hover { color: var(--pink); }
.nav-panel a[aria-current="page"] { color: var(--pink); font-weight: 600; }
.nav-panel-bar {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: transparent;
  flex: none;
}
.nav-panel a[aria-current="page"] .nav-panel-bar { background: var(--coral); }
.nav-panel-message {
  color: var(--coral);
  border-bottom: 0 !important;
}

/* Breakpoint at 900px: above, the full horizontal nav; below, a hamburger
   beside a compact GIVE pill. */
@media (max-width: 899px) {
  .site-nav { display: none; }
  .give-pill-compact { display: inline-flex; }
  .nav-toggle { display: grid; }
}
@media (min-width: 900px) {
  .nav-panel { display: none !important; }
}

/* ---------------------------------------------------------------- footer -- */

/* Two nested grids, not one four-track grid. A single four-track grid reaches
   a 3-column state that strands the fourth column alone on a second row
   across the whole 700-900px tablet band. This yields 4 columns above ~950px,
   2x2 between ~950px and ~440px, and one column below. */
.site-footer {
  padding: clamp(52px, 7vw, 80px) var(--pad-x) 28px;
  background: var(--plum-900);
  border-top: 1px solid var(--rule-dark-16);
}
.footer-shell {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  gap: clamp(34px, 4.5vw, 52px);
}
.footer-outer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: clamp(30px, 4vw, 44px) clamp(24px, 3vw, 48px);
  align-items: start;
}
.footer-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(30px, 4vw, 44px) clamp(24px, 3vw, 44px);
  align-items: start;
}
.footer-lockup { display: inline-flex; align-items: center; gap: 14px; }
.footer-lockup img { width: 52px; height: 52px; flex: none; object-fit: contain; }
.footer-lockup .lockup-name { font-size: 18px; font-weight: 500; }
.footer-lockup .lockup-sub { font-size: 8px; letter-spacing: 0.42em; margin-top: 7px; }

/* Four separate spans with no separator characters — an earlier version
   using "·" separators stranded a dangling separator at line ends. */
.footer-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 20px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--pink);
}
.footer-col .label { color: var(--pink); }
.footer-links { display: grid; gap: 12px; font-size: 13.5px; }
.footer-links a { color: var(--ink-dark-80); }
.footer-links a:hover { color: var(--coral); }
.footer-links a.footer-email { color: var(--pink); word-break: break-word; }
.footer-links a.footer-message { color: var(--coral); }

.footer-legal {
  padding-top: 22px;
  border-top: 1px solid var(--rule-dark-14);
  display: flex;
  flex-wrap: wrap;
  gap: 9px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-dark-62);
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--ink-dark-62); }
.footer-legal a:hover { color: var(--coral); }

@media (max-width: 640px) {
  .footer-legal { justify-content: center; text-align: center; }
  .footer-legal > p, .footer-legal > a { flex: 0 0 100%; }
  .footer-legal > p { line-height: 1; }
  .footer-legal-sep { display: none; }
  .footer-legal-charity { display: block; margin-top: 9px; }
}

/* ------------------------------------------------------------------ home -- */

.hero-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-top: clamp(36px, 5vw, 64px);
}
.hero-home-sub {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-dark-88);
  max-width: 44ch;
}

/* The panel exists because the verse sits over a patterned area of the
   photograph. */
.verse {
  margin: 0;
  border-left: 2px solid var(--coral);
  padding: clamp(22px, 2.6vw, 30px) clamp(24px, 2.8vw, 32px);
  border-radius: 0 16px 16px 0;
  background: rgba(43, 1, 33, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.verse p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.62;
  color: var(--pearl);
  text-wrap: pretty;
}
.verse cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--pink);
}

.word-band {
  display: flex;
  flex-wrap: wrap;
  background: var(--plum-800);
  border-top: 1px solid var(--rule-dark-28);
  border-bottom: 1px solid var(--rule-dark-28);
}
.word-band div {
  flex: 1 1 180px;
  padding: clamp(20px, 3vw, 32px) var(--pad-x);
  text-align: center;
  border-right: 1px solid var(--rule-dark-22);
}
.word-band div:last-child { border-right: 0; }
.word-band span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--pink);
}

/* The mandate section header stands alone above the four pillars, with no
   supporting copy, so the title carries the section on its own. */
/* Matches the "Start here" doors section below it — same ground, same card
   grid, so the heading sits at the same scale and spacing rather than the
   display size it briefly carried. */
.mandate-head { margin-bottom: clamp(32px, 4vw, 52px); }
.mandate-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.15;
}

.pillar span.pillar-n {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--coral);
}
.pillar h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}
.pillar-rule {
  height: 1px;
  width: 40px;
  background: rgba(251, 204, 205, 0.45);
  margin: 18px 0;
  border: 0;
}
.pillar p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-dark-78); }

/* Cards are flex columns so the CTA can be pinned with margin-top:auto —
   all three arrows must align regardless of body length. */
.door {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border-radius: 20px;
  border: 1px solid var(--rule-dark-18);
  color: var(--pearl);
}
.door:hover { border-color: var(--coral); color: var(--pearl); }
.door img {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 26px;
  border: 1px solid rgba(251, 204, 205, 0.3);
}
.door-eyebrow { display: block; font-size: 11px; letter-spacing: 0.26em; color: var(--pink); }
.door-title {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}
.door-body {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dark-75);
}
.door .arrow-link { margin-top: auto; padding-top: 22px; }

/* ----------------------------------------------------------------- about -- */

.story-figure { margin: 0; display: flex; flex-direction: column; }
.story-frame {
  position: relative;
  flex: 1;
  min-height: clamp(320px, 40vw, 100%);
  border-radius: 20px;
  overflow: hidden;
}
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-figure figcaption {
  margin-top: 16px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-light-70);
}

.statement { padding: clamp(28px, 3.2vw, 40px); border-radius: 20px; }
.statement .label { color: var(--pink); font-size: 11px; letter-spacing: 0.26em; margin-bottom: 14px; }
.statement-vision {
  background: var(--plum-700);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.35;
  color: var(--pearl);
}
.statement-mission {
  background: var(--oxblood-800);
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(238, 238, 238, 0.9);
}
.statement p:last-child { margin: 0; }

.address-card {
  padding: 26px 28px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--rule-light-14);
}
.address-card .label { color: var(--rose-dark); font-size: 10px; letter-spacing: 0.24em; margin-bottom: 10px; }
.address-card p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-light-85); }

.founder {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.5vw, 28px);
  align-items: flex-start;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--rule-light-12);
}
/* Deliberate placeholder — real portraits are pending. */
.founder-portrait {
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(251, 204, 205, 0.45);
  border: 1px dashed rgba(64, 1, 49, 0.3);
}
.founder-portrait span {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(64, 1, 49, 0.65);
  text-align: center;
  line-height: 1.5;
}
.founder-detail { flex: 1 1 150px; min-width: 0; }
.founder-role { margin: 0 0 8px; font-size: 10px; letter-spacing: 0.24em; color: var(--rose-dark); }
.founder-name {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  color: var(--plum-700);
}
.founder-bio { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-light-80); }

.governance {
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--rule-light-18);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  align-items: baseline;
}
.governance p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-light-85); }
.governance a { font-size: 14.5px; color: var(--magenta); }
.governance a:hover { color: var(--coral); }

/* ------------------------------------------------------------ programmes -- */

.anchor-nav {
  background: rgba(43, 1, 33, 0.94);
  border-top: 1px solid var(--rule-dark-16);
  border-bottom: 1px solid var(--rule-dark-16);
}
.anchor-nav div {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.anchor-nav a { color: rgba(238, 238, 238, 0.72); }
.anchor-nav a:hover { color: var(--coral); }

.theme {
  padding: clamp(52px, 7vw, 96px) var(--pad-x);
  border-bottom: 1px solid var(--rule-dark-14);
  scroll-margin-top: 90px;
}
.theme-grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(340px, 46%)), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.theme-copy { display: flex; flex-direction: column; }
.theme-n { display: block; font-size: 10px; letter-spacing: 0.26em; color: var(--pink); }
.theme-copy h2 {
  margin: 14px 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  line-height: 1.12;
  text-wrap: pretty;
}
.theme-body {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-dark-82);
  max-width: 44ch;
}
.theme-initiatives-label {
  margin: clamp(30px, 4vw, 44px) 0 0;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--pink);
}
.theme-items { display: grid; margin: 10px 0 0; padding: 0; list-style: none; }
.theme-items li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--rule-dark-18);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-dark-88);
}
.theme-items li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateY(-3px);
}
.theme-frame {
  position: relative;
  min-height: clamp(280px, 38vw, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(238, 238, 238, 0.05);
}
.theme-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.closing-cta {
  padding: clamp(52px, 7vw, 96px) var(--pad-x);
  background: var(--oxblood-900);
}
.closing-cta div {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.closing-cta h2 { max-width: 20ch; }

/* ------------------------------------------------------------------ give -- */

.way {
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--rule-light-12);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Deep-linked from the header, footer and home doors — clear the sticky bar. */
  scroll-margin-top: 90px;
}
.way-head { display: flex; align-items: baseline; gap: 14px; }
.way-n {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1;
  color: var(--magenta);
}
.way-tag { font-size: 10px; letter-spacing: 0.24em; color: var(--rose-dark); }
.way h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  line-height: 1.2;
  color: var(--plum-700);
}
.way p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-light-82); }
.way .arrow-link-magenta { margin-top: auto; padding-top: 12px; }

.giftaid { scroll-margin-top: 90px; }
.giftaid-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.giftaid-steps li { display: flex; gap: 16px; align-items: flex-start; }
.giftaid-steps .step-n {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--plum-700);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.giftaid-steps span:last-child { font-size: 14.5px; line-height: 1.65; color: var(--ink-light-88); }
.giftaid-card {
  background: var(--white);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--rule-light-14);
}
.giftaid-card .label { color: var(--magenta); margin-bottom: 20px; }
.giftaid-return {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-light-14);
}
.giftaid-return .label { margin-bottom: 8px; }
.giftaid-return p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink-light-88); }
.giftaid-return a { color: var(--magenta); word-break: break-word; }

/* --------------------------------------------------------------- contact -- */

.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.enquiry-form {
  padding: clamp(26px, 3vw, 38px);
  border-radius: 22px;
  background: rgba(238, 238, 238, 0.05);
  border: 1px solid var(--rule-dark-20);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; font-size: 11px; letter-spacing: 0.16em; color: var(--pink); }
.field input,
.field textarea,
.subject-trigger {
  background: rgba(43, 1, 33, 0.6);
  border: 1px solid rgba(251, 204, 205, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus,
.subject-trigger:focus {
  border-color: var(--coral);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(238, 238, 238, 0.45); }

.field-error {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--coral);
}

/* The native select could not be styled to match, so it is a button plus a
   listbox with a hidden input mirroring the selection. */
.subject-field { display: grid; gap: 8px; position: relative; }
.subject-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.subject-trigger:hover { border-color: rgba(251, 204, 205, 0.5); }
.subject-trigger > span:first-child { flex: 1; min-width: 0; }
.subject-chevron {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--pink);
  border-bottom: 1.5px solid var(--pink);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 160ms ease;
}
.subject-trigger[aria-expanded="true"] .subject-chevron { transform: rotate(-135deg); }

.subject-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 6px;
  z-index: 20;
  padding: 6px;
  border-radius: 12px;
  background: var(--plum-800);
  border: 1px solid var(--rule-dark-28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  max-height: 280px;
  overflow-y: auto;
}
.subject-panel[data-open="true"] { display: block; }
.subject-panel button {
  display: block;
  width: 100%;
  min-height: 44px;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--pearl);
  font-weight: 400;
  cursor: pointer;
}
.subject-panel button:hover { background: rgba(251, 204, 205, 0.14); }
.subject-panel button[aria-selected="true"] { color: var(--pink); font-weight: 600; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { margin: 0; font-size: 13px; line-height: 1.6; color: var(--teal); }
.form-status-error { color: var(--coral); }

.office { display: grid; gap: 10px; padding: clamp(18px, 2.4vw, 26px) 0; border-top: 1px solid var(--rule-dark-20); }
.office-tag { margin: 0; font-size: 10px; letter-spacing: 0.2em; color: rgba(251, 204, 205, 0.85); }
.office p:not(.office-tag) { margin: 0; font-size: 15px; line-height: 1.6; color: var(--pearl); }

.route-card { padding: 28px; border-radius: 18px; background: var(--pink); color: var(--oxblood-900); }
.route-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--plum-700);
}
.route-card p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-light-82); }

/* --------------------------------------------------------------- privacy -- */

.privacy-hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) var(--pad-x) clamp(40px, 5vw, 64px);
  background: linear-gradient(140deg, var(--plum-700) 0%, var(--plum-900) 62%);
}
.privacy-clauses { display: grid; gap: clamp(30px, 4vw, 44px); }
.privacy-clauses h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.25;
  color: var(--plum-700);
}
.privacy-clauses p { margin: 0; font-size: 1rem; line-height: 1.8; color: var(--ink-light-85); }
.privacy-callout {
  margin-top: clamp(38px, 5vw, 56px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: 18px;
  background: var(--pink);
}
.privacy-callout p:first-of-type { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--ink-light-88); }
.privacy-updated {
  margin: clamp(30px, 4vw, 44px) 0 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-light-62);
}

/* ---------------------------------------------------------------- errors -- */

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vw, 104px) var(--pad-x);
}
.error-code { margin: 0 0 18px; font-size: 11px; letter-spacing: 0.3em; color: var(--pink); }
