/* =========================================================================
   New Baltimore Foundation — Landing Page
   Brand: Navy (#0A2540) + Gold (#E0A82E) + Cream (#FBF7EE)
   Type:  Playfair Display (display) / Inter (UI + body)
   ========================================================================= */

:root {
  /* Palette */
  --navy-900: #061829;
  --navy-800: #0A2540;
  --navy-700: #102E52;
  --navy-600: #143D7A;
  --navy-500: #2A5DA8;
  --gold-700: #B0801D;
  --gold-600: #C99427;
  --gold-500: #E0A82E;
  --gold-400: #EFC25C;
  --gold-300: #F5D689;
  --cream-100: #FBF7EE;
  --cream-200: #F2EBDB;
  --ink-900: #0B1320;
  --ink-700: #2A3447;
  --ink-500: #5A6478;
  --ink-300: #97A0B0;
  --line: rgba(10, 37, 64, .12);
  --line-strong: rgba(10, 37, 64, .22);

  /* Surfaces */
  --bg: #ffffff;
  --bg-alt: var(--cream-100);
  --bg-dark: var(--navy-800);

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Sizing */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .55s;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
  --shadow: 0 12px 32px rgba(10, 37, 64, .10), 0 2px 6px rgba(10, 37, 64, .05);
  --shadow-lg: 0 32px 80px rgba(10, 37, 64, .18), 0 8px 24px rgba(10, 37, 64, .08);
  --shadow-gold: 0 16px 40px rgba(224, 168, 46, .35);
}

/* ============== RESET / BASE ============== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  /* iOS safe area */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
/* Touch device base: larger tap targets, no double-tap zoom delay */
@media (hover: none) and (pointer: coarse) {
  a, button, input, select, textarea, .btn, .amount { touch-action: manipulation; }
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--navy-800); margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 1em; }
em { font-style: italic; }

::selection { background: var(--gold-300); color: var(--navy-900); }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 16px; padding: 10px 14px;
  background: var(--navy-800); color: var(--cream-100);
  border-radius: 8px; z-index: 100; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: var(--cream-100); }

/* ============== UTILITY ============== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.muted  { color: var(--ink-500); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-700); margin: 0 0 .9em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.eyebrow--light { color: var(--gold-400); }
.eyebrow--light::before { background: var(--gold-400); }
.lede { font-size: 1.18rem; color: var(--ink-700); line-height: 1.6; }
.tag {
  display: inline-block; padding: 4px 10px; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; border-radius: 999px;
  background: rgba(224,168,46,.15); color: var(--gold-700);
}
.tag--gold { background: var(--gold-500); color: var(--navy-900); }
.pill {
  display: inline-flex; align-items: center; padding: 8px 14px;
  background: var(--cream-100); border: 1px solid var(--line);
  border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--navy-700);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; cursor: pointer; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--navy-900); box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(224,168,46,.45); color: var(--navy-900); }
.btn--ghost {
  background: transparent; color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--outline {
  background: transparent; color: var(--cream-100); border-color: rgba(251,247,238,.4);
}
.btn--outline:hover { background: rgba(251,247,238,.1); color: #fff; border-color: var(--cream-100); }
.btn--dark {
  background: var(--navy-800); color: var(--cream-100);
}
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============== ANNOUNCEMENT BAR ============== */
.announcement {
  background: var(--navy-900);
  color: var(--cream-100);
  font-size: .85rem;
  border-bottom: 1px solid rgba(224,168,46,.2);
}
.announcement__inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 24px; justify-content: center; text-align: center;
}
.announcement__pill {
  background: var(--gold-500); color: var(--navy-900);
  padding: 3px 10px; border-radius: 999px; font-size: .72rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.announcement__text { color: rgba(251,247,238,.78); }
.announcement__link {
  color: var(--gold-400); font-weight: 600;
  border-bottom: 1px solid rgba(224,168,46,.35);
  padding-bottom: 1px;
}
.announcement__link:hover { color: #fff; border-color: #fff; }
.announcement__fineprint {
  margin: 0; padding: 0 24px 8px;
  font-size: .7rem; line-height: 1.4;
  color: rgba(251,247,238,.5);
  text-align: center; font-weight: 400;
}

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px; min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; color: var(--navy-800);
}
.brand:hover { color: var(--navy-800); }
.brand__mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.brand__sub  { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.brand--light .brand__name { color: var(--cream-100); }
.brand--light .brand__sub  { color: var(--gold-400); }

.nav__links {
  display: flex; align-items: center; gap: 30px;
  font-size: .92rem; font-weight: 500;
}
.nav__links a {
  color: var(--ink-700); position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--navy-800); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__cta .btn { padding: 10px 18px; font-size: .9rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  position: relative; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  flex: 0 0 44px;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle:active { background: var(--cream-100); }
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy-800);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 16px;
  flex-direction: column; gap: 2px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 100%);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu a {
  padding: 12px 4px;
  font-size: .98rem;
  font-weight: 500;
  color: var(--navy-800);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu__cta { display: flex; gap: 10px; margin-top: 14px; }
.mobile-menu__cta .btn { padding: 11px 16px; font-size: .9rem; }

/* ============== HERO ============== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
  color: var(--cream-100);
  padding: 80px 0 140px;
  min-height: 88vh;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__glow--a {
  width: 520px; height: 520px; top: -10%; right: -10%;
  background: radial-gradient(circle, rgba(224,168,46,.45) 0%, transparent 70%);
}
.hero__glow--b {
  width: 600px; height: 600px; bottom: -20%; left: -15%;
  background: radial-gradient(circle, rgba(42,93,168,.55) 0%, transparent 70%);
  animation-delay: -6s;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(40px,-30px,0) scale(1.08); }
}
.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 240px;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}

.hero__copy .eyebrow { color: var(--gold-400); }
.hero__copy .eyebrow::before { background: var(--gold-400); }
.hero__title {
  color: var(--cream-100);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: .5em;
}
.hero__title em { color: var(--gold-400); font-style: italic; }
.title-gradient {
  background: linear-gradient(120deg, var(--gold-400) 0%, var(--gold-300) 60%, #fff5d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.word-rotate {
  display: inline-block; position: relative; vertical-align: baseline;
}
.word-rotate span {
  display: inline-block; color: var(--gold-400);
  animation: pulse 4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%      { opacity: .85; transform: translateY(-2px); }
}

.hero__lede {
  font-size: 1.18rem; line-height: 1.65; color: rgba(251,247,238,.85);
  max-width: 580px; margin-bottom: 2em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4em; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 0;
  font-size: .86rem; color: rgba(251,247,238,.72);
  border-top: 1px solid rgba(251,247,238,.18); padding-top: 22px;
}
.hero__trust li { display: inline-flex; gap: 6px; }
.hero__trust strong { color: var(--gold-400); font-weight: 700; }

.hero__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(251,247,238,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.hero__card-head h2 {
  color: var(--cream-100); font-size: 1.5rem; margin-top: 12px; margin-bottom: 0;
}
.kpi { list-style: none; padding: 0; margin: 22px 0 18px; display: grid; gap: 18px; }
.kpi li {
  padding: 16px 0; border-top: 1px solid rgba(251,247,238,.14);
  display: grid; gap: 4px;
}
.kpi li:first-child { border-top: 0; padding-top: 8px; }
.kpi__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--gold-400); line-height: 1;
}
.kpi__label { color: rgba(251,247,238,.78); font-size: .92rem; }
.hero__card-foot { font-size: .82rem; color: rgba(251,247,238,.6); margin: 0; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(251,247,238,.35);
  border-radius: 14px; z-index: 1;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold-400); border-radius: 2px;
  animation: scroll 1.8s var(--ease) infinite;
}
@keyframes scroll {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  60%  { transform: translateX(-50%) translateY(14px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0; }
}

/* ============== STRIP / MARQUEE ============== */
.strip {
  background: var(--gold-500);
  color: var(--navy-900);
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.strip__track {
  display: flex; gap: 40px; align-items: center;
  padding: 16px 0; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem;
  animation: marquee 32s linear infinite;
}
.strip__track span:nth-child(even) { color: var(--navy-800); font-size: .7em; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============== SECTIONS ============== */
.section { padding: 110px 0; position: relative; }
.section--mission { background: var(--bg); }
.section--dark { background: var(--navy-800); color: var(--cream-100); position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(224,168,46,.10) 0%, transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(42,93,168,.25) 0%, transparent 50%);
}
.section--dark > .container { position: relative; z-index: 1; }
.section--founder { background: var(--bg-alt); }
.section--cta {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--cream-100); position: relative; overflow: hidden;
}
.section--cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% -20%, rgba(224,168,46,.22) 0%, transparent 55%);
}
.section--cta > .container { position: relative; z-index: 1; }
.section--newsletter { background: var(--bg-alt); padding: 80px 0; }
.section--contact { background: var(--bg); }

.section__header { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section__header .eyebrow { display: inline-flex; }
.section__title { margin-bottom: .35em; }
.section__title--light { color: var(--cream-100); }
.section__sub { color: var(--ink-500); font-size: 1.08rem; max-width: 620px; margin: 0 auto; }
.section--dark .section__sub { color: rgba(251,247,238,.7); }

.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.grid-2--reverse > :first-child { order: 2; }
.grid-2--reverse > :last-child  { order: 1; }

/* ============== PROGRAM CARDS ============== */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.card {
  background: rgba(251,247,238,.04);
  border: 1px solid rgba(251,247,238,.12);
  border-radius: var(--radius);
  padding: 32px 26px;
  color: var(--cream-100);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(224,168,46,0) 0%, rgba(224,168,46,.5) 50%, rgba(224,168,46,0) 100%);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s var(--ease); pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  background: rgba(251,247,238,.07);
  border-color: rgba(224,168,46,.4);
}
.card:hover::after { opacity: 1; }

.card__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(224,168,46,.16);
  color: var(--gold-400);
  margin-bottom: 22px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { color: var(--cream-100); font-size: 1.35rem; margin-bottom: .55em; }
.card p { color: rgba(251,247,238,.74); font-size: .95rem; margin-bottom: 1em; }
.card__bullets {
  list-style: none; padding: 0; margin: 16px 0 0;
  font-size: .85rem; color: rgba(251,247,238,.6);
  display: grid; gap: 6px;
}
.card__bullets li {
  position: relative; padding-left: 18px;
}
.card__bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500); opacity: .6;
}

/* ============== FOUNDER ============== */
.founder-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}
.founder-card__portrait {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400); font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}
.founder-card__portrait img {
  position: absolute;
  max-width: none;
  width: 170%; height: auto;
  left: -39%; top: -20%;
  display: block;
}
.founder-card__meta h3 { margin: 0; font-size: 1.25rem; }
.founder-card__meta p { margin: 2px 0 0; font-size: .9rem; color: var(--gold-700); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.founder-card blockquote {
  margin: 22px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.1rem; line-height: 1.6; color: var(--navy-800);
  quotes: "\201C" "\201D";
}
.founder-card__board {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
}
.founder-card__board-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold-700); margin: 0 0 10px;
}
.founder-card__board ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px; font-size: .92rem; color: var(--ink-700);
}
.founder-card__board strong { color: var(--navy-800); }

/* ============== VALUES ============== */
.values {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.value {
  padding: 32px 22px;
  background: var(--cream-100);
  border-radius: var(--radius);
  position: relative;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.value:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.value__num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--gold-500); display: block; margin-bottom: 14px;
}
.value h3 { font-size: 1.05rem; margin-bottom: .5em; }
.value p { font-size: .88rem; color: var(--ink-500); margin: 0; line-height: 1.5; }

/* ============== ACTIONS / GET INVOLVED ============== */
.actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  align-items: stretch;
}
.action {
  background: rgba(251,247,238,.04);
  border: 1px solid rgba(251,247,238,.14);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--cream-100);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .25s var(--ease);
}
.action:hover { transform: translateY(-4px); border-color: rgba(224,168,46,.4); }
.action__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; gap: 12px; }
.action__head h3 { color: var(--cream-100); margin: 0; font-size: 1.5rem; }
.action__tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-400); padding: 5px 10px;
  border: 1px solid rgba(224,168,46,.35); border-radius: 999px;
}
.action p { color: rgba(251,247,238,.72); font-size: .94rem; margin-bottom: 1.4em; }
.action__note { margin-top: 14px; font-size: .78rem; color: rgba(251,247,238,.5); }

.amount-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px;
}
.amount {
  padding: 12px 6px;
  background: transparent;
  border: 1.5px solid rgba(251,247,238,.2);
  border-radius: 10px;
  color: var(--cream-100); font-weight: 600;
  transition: all .2s var(--ease);
}
.amount:hover { border-color: var(--gold-400); color: var(--gold-400); }
.amount.is-active { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.amount--featured { position: relative; }
.amount--featured::after {
  content: "Popular"; position: absolute; top: -8px; right: -8px;
  background: var(--gold-500); color: var(--navy-900);
  font-size: .55rem; font-weight: 800; letter-spacing: .08em;
  padding: 2px 6px; border-radius: 4px; text-transform: uppercase;
}

.custom-amount {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 16px;
  border: 1.5px solid rgba(251,247,238,.2); border-radius: 10px;
  transition: border-color .2s var(--ease);
}
.custom-amount:focus-within { border-color: var(--gold-400); }
.custom-amount span { font-size: .85rem; color: rgba(251,247,238,.6); font-weight: 500; }
.custom-amount input {
  flex: 1; background: transparent; border: 0; outline: none;
  font-size: 1rem; color: var(--cream-100); padding: 4px 0;
}
.custom-amount input::placeholder { color: rgba(251,247,238,.35); }

/* ============== FORMS ============== */
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label > span {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(251,247,238,.6);
}
.form input, .form select, .form textarea {
  background: rgba(0,0,0,.2);
  border: 1.5px solid rgba(251,247,238,.16);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--cream-100);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-size: .95rem;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--gold-400); background: rgba(0,0,0,.3);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(251,247,238,.35); }
.form textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form select { appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23FBF7EE' d='M6 8 L2 4 H10 Z'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form__status {
  margin: 4px 0 0; font-size: .85rem;
  min-height: 1em;
}
.form__status.is-success { color: var(--gold-400); }
.form__status.is-error { color: #ffb4b4; }

/* ============== NEWSLETTER ============== */
.newsletter {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.newsletter__copy h2 { color: var(--navy-800); }
.newsletter__form {
  display: flex; flex-wrap: wrap; gap: 10px; position: relative;
}
.newsletter__form input {
  flex: 1; min-width: 0;
  padding: 16px 20px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #fff;
  color: var(--navy-800); font-size: 1rem;
  transition: border-color .2s var(--ease);
}
.newsletter__form input:focus { outline: none; border-color: var(--gold-500); }
.newsletter__form .form__status {
  flex-basis: 100%; color: var(--gold-700); font-weight: 500;
}
.newsletter__form .form__status.is-success { color: var(--gold-700); }
.newsletter__form .form__status.is-error { color: #b03b3b; }

/* ============== CONTACT ============== */
.contact-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 22px;
}
.contact-list li {
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
  display: grid; gap: 4px;
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-700);
}
.contact-list a { color: var(--navy-800); font-weight: 500; }
.contact-list a:hover { color: var(--gold-600); }

.map-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow);
}
.map-card__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--cream-100);
}
.map-card__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(10,37,64,.18); }
.map-card__bar .dot:nth-child(1) { background: #FF5F57; }
.map-card__bar .dot:nth-child(2) { background: #FEBC2E; }
.map-card__bar .dot:nth-child(3) { background: #28C840; }
.map-card__url {
  margin-left: 12px; font-size: .78rem; color: var(--ink-500); font-family: ui-monospace, "SF Mono", monospace;
}
.map-card__body svg { width: 100%; height: auto; display: block; }
.map-card__caption { margin: 14px 0 0; font-size: .82rem; color: var(--ink-500); text-align: center; }

/* ============== FOOTER ============== */
.footer {
  background: var(--navy-900);
  color: rgba(251,247,238,.65);
  padding: 80px 0 36px;
  font-size: .9rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(251,247,238,.1);
}
.footer__brand .brand__mark { width: 44px; height: 44px; }
.footer__tag {
  margin-top: 18px; max-width: 320px; color: rgba(251,247,238,.6);
  font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.5;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-400);
  margin-bottom: 16px;
}
.footer__col a, .footer__col p {
  display: block; padding: 4px 0; color: rgba(251,247,238,.7); margin: 0;
}
.footer__col a:hover { color: var(--gold-400); }
.footer__col strong { color: var(--cream-100); }
.footer__col .muted { color: rgba(251,247,238,.45); font-size: .82rem; margin-top: 8px; }

.footer__bottom {
  padding-top: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.footer__bottom p { margin: 0; }
.footer__fineprint { font-size: .78rem; color: rgba(251,247,238,.45); line-height: 1.6; max-width: 920px; }

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}

/* ============== HERO TAGLINE (Pain to Purpose) ============== */
.hero__tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.95rem);
  color: var(--gold-400);
  margin: -.2em 0 .9em; letter-spacing: .01em;
}
.hero__tagline span { color: var(--cream-100); font-style: normal; }

/* ============== PAIN TO PURPOSE ============== */
.section--purpose { background: var(--bg); }
.section--purpose .section__title em { color: var(--gold-600); font-style: italic; }
.purpose-arc {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.purpose-step {
  position: relative;
  padding: 34px 28px;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
}
.purpose-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(224,168,46,.4); }
.purpose-step:not(:last-child)::after {
  content: "\2192"; position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%); z-index: 1;
  color: var(--gold-500); font-size: 1.5rem; font-weight: 700;
}
.purpose-step__num {
  display: inline-block; font-family: var(--font-display); font-style: italic;
  font-size: 1.55rem; font-weight: 700; color: var(--gold-600); margin-bottom: 12px;
}
.purpose-step h3 { font-size: 1.2rem; margin-bottom: .45em; }
.purpose-step p { color: var(--ink-500); font-size: .95rem; margin: 0; line-height: 1.55; }
.purpose-note {
  text-align: center; margin: 44px auto 0; max-width: 640px;
  font-family: var(--font-display); font-style: italic; font-size: 1.18rem;
  color: var(--navy-700);
}
.purpose-note a {
  color: var(--gold-700); font-weight: 600; font-style: normal;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 1px;
}
.purpose-note a:hover { color: var(--gold-600); border-color: var(--gold-600); }

/* ============== SHARE YOUR STORY ============== */
.section--story-cta {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--cream-100); position: relative; overflow: hidden;
}
.section--story-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% -10%, rgba(224,168,46,.20) 0%, transparent 55%);
}
.section--story-cta > .container { position: relative; z-index: 1; align-items: center; }
.section--story-cta .section__title { margin-bottom: .35em; }
.section--story-cta .section__sub {
  color: rgba(251,247,238,.78); max-width: none; margin: 0 0 1.6em;
}
.story-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.story-contact li { display: grid; gap: 3px; }
.story-contact span {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-400);
}
.story-contact a {
  color: var(--cream-100); font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
}
.story-contact a:hover { color: var(--gold-400); }
.story-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(251,247,238,.14);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.story-form label > span em { color: rgba(251,247,238,.4); font-style: normal; text-transform: none; letter-spacing: 0; }
/* Honeypot — visually hidden, off-screen, never focusable for humans */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* ============== DONATION (Zeffy) EXPLAINER ============== */
.donate-how {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(251,247,238,.12);
  border-radius: 12px;
  padding: 16px 18px; margin-bottom: 18px;
}
.donate-how__head {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-400); margin: 0 0 10px;
}
.donate-how ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.donate-how li { color: rgba(251,247,238,.82); font-size: .9rem; line-height: 1.5; }
.donate-how li::marker { color: var(--gold-400); font-weight: 700; }
.donate-how strong { color: var(--cream-100); }

/* ============== MEET THE TEAM (editorial feature rows) ============== */
.section--team { background: var(--bg-alt); }
.team-rows { display: grid; gap: 28px; }
.team-row {
  display: grid; grid-template-columns: 320px 1fr; align-items: stretch;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
}
.team-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(224,168,46,.35); }
.team-row__pic { min-height: 320px; }
.team-row__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; display: block; }
.team-row__pic--center img { object-position: center; }
.team-row__pic--top img    { object-position: center top; }   /* keep the head — good for standing/upper-body photos */
.team-row__text { display: flex; flex-direction: column; justify-content: center; padding: 34px 38px; }
.team-row__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-800); margin: 0 0 3px; }
.team-row__role {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-700); margin: 0 0 14px;
}
.team-row__bio { color: var(--ink-700); font-size: .98rem; line-height: 1.6; margin: 0; max-width: 62ch; }
.team-row__social { margin: 16px 0 0; }
.team-row__social a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600; color: var(--navy-700);
}
.team-row__social a:hover { color: var(--gold-600); }
.team-row__social svg { flex: 0 0 16px; }
/* alternate the photo side row to row */
.team-row:nth-child(even) { grid-template-columns: 1fr 320px; }
.team-row:nth-child(even) .team-row__pic { order: 2; }
.team-row:nth-child(even) .team-row__text { order: 1; }
.team-note {
  text-align: center; margin: 42px auto 0; max-width: 560px;
  font-size: .95rem; color: var(--ink-500); font-style: italic;
}
@media (max-width: 760px) {
  .team-row, .team-row:nth-child(even) { grid-template-columns: 1fr; }
  .team-row:nth-child(even) .team-row__pic { order: 0; }
  .team-row:nth-child(even) .team-row__text { order: 0; }
  .team-row__pic { min-height: auto; aspect-ratio: 16 / 10; }
  .team-row__text { padding: 26px 24px; }
  .team-row__name { font-size: 1.3rem; }
}

/* ============== FOOTER CONTACT ============== */
.footer__contact { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.footer__contact a { color: var(--gold-400); font-weight: 600; }
.footer__contact a:hover { color: #fff; }

/* ============== RESPONSIVE ============== */

/* Tablets and below */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu:not([hidden]) { display: flex; }

  .hero { padding: 60px 0 120px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__card { max-width: 480px; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .actions { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; gap: 50px; }
  .grid-2--reverse > :first-child { order: 1; }
  .grid-2--reverse > :last-child  { order: 2; }
  .newsletter { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .newsletter__form { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section__header { margin-bottom: 50px; }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero { padding: 40px 0 100px; }
  .hero__title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .hero__lede { font-size: 1.05rem; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .nav__inner { min-height: 64px; padding: 10px 20px; }
  .brand__mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand__name { font-size: 1rem; }
  .brand__sub  { font-size: .66rem; letter-spacing: .14em; }
}

/* Phones */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .announcement__inner {
    font-size: .76rem; padding: 8px 14px; gap: 10px;
    flex-wrap: nowrap; justify-content: space-between;
  }
  .announcement__text { display: none; }
  .announcement__link { font-size: .76rem; }

  .hero { padding: 32px 0 90px; }
  .hero__title { font-size: clamp(1.9rem, 9vw, 2.8rem); line-height: 1.1; }
  .hero__lede { font-size: 1rem; line-height: 1.6; margin-bottom: 1.6em; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { justify-content: center; width: 100%; }
  .hero__trust { gap: 14px 18px; font-size: .76rem; padding-top: 18px; }
  .hero__card { padding: 24px 22px; }
  .hero__card-head h2 { font-size: 1.3rem; }
  .kpi { gap: 14px; margin: 18px 0 14px; }
  .kpi__num { font-size: 1.8rem; }
  .kpi__label { font-size: .85rem; }
  .hero__scroll { display: none; }

  .strip__track { font-size: 1rem; gap: 22px; padding: 12px 0; }

  .section__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section__header { margin-bottom: 36px; }
  .section__sub { font-size: .98rem; }
  .lede { font-size: 1.05rem; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px 22px; }
  .card h3 { font-size: 1.2rem; }

  .grid-2 { gap: 36px; }

  .founder-card { padding: 28px 22px; }
  .founder-card__portrait { width: 72px; height: 72px; font-size: 1.4rem; }
  .founder-card blockquote { font-size: 1rem; }

  .values { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value { padding: 24px 18px; }
  .value__num { font-size: 1.4rem; margin-bottom: 10px; }
  .value h3 { font-size: 1rem; }
  .value p { font-size: .85rem; }

  .actions { gap: 18px; }
  .action { padding: 26px 20px; }
  .action__head h3 { font-size: 1.3rem; }
  .action__tag { font-size: .65rem; padding: 4px 8px; }

  .amount-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .amount { padding: 14px 4px; font-size: .92rem; min-height: 46px; }
  .amount--featured::after { font-size: .5rem; padding: 2px 5px; }
  .custom-amount { padding: 12px 14px; }
  .custom-amount input { font-size: 16px; /* prevent iOS zoom */ }

  .form input, .form select, .form textarea {
    padding: 14px 14px;
    font-size: 16px; /* prevent iOS zoom on focus */
    min-height: 48px;
  }
  .form textarea { min-height: 96px; }

  .newsletter__form { flex-direction: column; gap: 10px; }
  .newsletter__form input {
    width: 100%; min-height: 50px;
    font-size: 16px; /* prevent iOS zoom */
    padding: 14px 18px;
  }
  .newsletter__form .btn { width: 100%; }

  .map-card__body svg { min-height: 180px; }

  .footer { padding: 60px 0 28px; font-size: .88rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 28px; }
  .footer__tag { font-size: .95rem; }
  .footer__bottom { padding-top: 22px; gap: 12px; }
  .footer__fineprint { font-size: .72rem; line-height: 1.55; }

  .btn { min-height: 44px; }
  .btn--lg { padding: 15px 24px; min-height: 50px; }
}

/* Small phones */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 8px 16px; }
  .brand__sub { display: none; }
  .announcement__pill { font-size: .65rem; padding: 3px 8px; }
  .hero__title { font-size: clamp(1.7rem, 10vw, 2.4rem); }
  .values { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .pill { font-size: .78rem; padding: 7px 12px; }
}

/* Very small / accessibility */
@media (max-width: 360px) {
  .hero__trust { font-size: .72rem; gap: 10px; }
  .nav__toggle { width: 40px; height: 40px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .nav, .announcement, .hero__scroll, .strip, .section--cta, .section--newsletter, .section--story-cta, .footer { display: none; }
  body { color: #000; background: #fff; }
}

/* New components — responsive */
@media (max-width: 900px) {
  .purpose-arc { grid-template-columns: 1fr; gap: 16px; }
  .purpose-step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .hero__tagline { font-size: clamp(1.15rem, 6vw, 1.6rem); margin-bottom: .7em; }
  .purpose-step { padding: 26px 22px; }
  .purpose-note { font-size: 1.05rem; margin-top: 32px; }
  .story-form { padding: 24px 20px; }
  .story-contact { margin-bottom: 4px; }
  .donate-how li { font-size: .88rem; }
}
