@font-face { font-family: 'Lexend'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/lexend-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/lexend-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Brand palette: logo magenta + periwinkle blue, a warm "sunrise" gold for hope, deep plum for trust */
  --pink: #d42a9a;      /* orchid magenta: energy, women's empowerment */
  --berry: #a3197a;     /* darker magenta for text/links (AA contrast) */
  --blue: #5aa2f0;      /* sky blue: openness, calm */
  --purple: #a67bd0;    /* bridge between pink and blue */
  --gold: #f2b33d;      /* sunrise gold: hope, new beginnings (accents only) */
  --ink: #2a2038;       /* deep plum: body text */
  --muted: #5d5470;
  --bg: #ffffff;
  --soft: #fbf3f8;      /* blush */
  --gradient: linear-gradient(135deg, #b81e86 0%, #7d6bd1 55%, #2f6fcf 100%);
  --font-body: 'Lexend', system-ui, sans-serif;
  --font-head: 'Lexend', system-ui, sans-serif;
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; }
a { color: #a3197a; }
a:hover { color: #7a1059; }
:focus-visible { outline: 3px solid #1d5fbf; outline-offset: 2px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 99; }

.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
section { padding-block: 3.5rem; }
.soft { background: var(--soft); }

h1, h2, h3 { line-height: 1.25; font-family: var(--font-head); font-weight: 700; }
.eyebrow { color: var(--berry); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.impact .num { color: var(--gold); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .4rem; }


.btn { display: inline-block; background: var(--gradient); color: #fff; text-decoration: none; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn.alt { background: #fff; color: #a3197a; border: 2px solid #a3197a; }
.btn.alt:hover { color: #7a1059; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.hero { background: var(--soft); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.hero img { max-height: 360px; justify-self: center; }
.hero p.lead { font-size: 1.25rem; color: var(--muted); }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .hero img { max-height: 220px; order: -1; } }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card { background: #fff; border: 1px solid #eadff0; border-radius: var(--radius); padding: 1.4rem; }
.card h3 { color: #a3197a; }
.soft .card { background: #fff; }

.impact { background: var(--gradient); color: #fff; }
.impact .grid { text-align: center; }
.impact .num { font-size: 2.8rem; font-weight: 800; line-height: 1; }

.page-head { background: var(--soft); padding-block: 3rem; }
.prose { max-width: 70ch; }
.notice { background: #fff7e6; border: 1px solid #f0d28a; border-radius: var(--radius); padding: 1rem 1.2rem; }

form { display: grid; gap: 1rem; max-width: 560px; }
label { font-weight: 600; display: grid; gap: .3rem; }
input, select, textarea { font: inherit; padding: .65rem .8rem; border: 1px solid #bbb; border-radius: 8px; width: 100%; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: .4rem; }
.hp { position: absolute; left: -9999px; }

.footer { background: #231a30; color: #e8e0f0; padding-block: 2.5rem; font-size: .95rem; }
.footer a { color: #f3c6e6; }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }

/* ===== Mobile-first improvements ===== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; -webkit-tap-highlight-color: rgba(212, 42, 154, .15); }
.footer { padding-bottom: calc(2.5rem + env(safe-area-inset-bottom)); }

/* Forms: 16px text stops iOS zooming in on focus; comfortable tap size */
input, select, textarea { font-size: 1rem; min-height: 48px; }
textarea { min-height: 8rem; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.check input { min-height: 0; width: 1.4rem; height: 1.4rem; flex: none; }
.check { align-items: flex-start; font-size: .95rem; }

@media (max-width: 860px) {
  section { padding-block: 2.25rem; }
  .page-head { padding-block: 2rem; }


  /* Hero: logo on top, then text, full-width buttons */
  .hero .wrap { gap: 1rem; }
  .hero img { max-height: 180px; }
  .hero p.lead { font-size: 1.05rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }

  /* Single-column cards and stats in 2 columns */
  .grid { grid-template-columns: 1fr; }
  .impact .grid { grid-template-columns: 1fr 1fr; }
  .impact .num { font-size: 2.2rem; }
  .card { padding: 1.1rem; }

  /* Forms use full width */
  form { max-width: 100%; }

  .footer .cols { grid-template-columns: 1fr; }
  .footer a { display: inline-block; padding: .3rem 0; }
}

@media (max-width: 380px) {
  body { font-size: .97rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Compact footer */
.footer { padding-block: 1.25rem; font-size: .9rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; margin-top: .6rem; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .82rem; color: #c9bddb; }
.footer-small a { color: #f3c6e6; }
@media (max-width: 860px) {
  .footer { padding-block: 1rem calc(1rem + env(safe-area-inset-bottom)); }
  .footer a { padding: .2rem 0; }
}

/* ===================== Site header & navigation ===================== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 #eee7f1, 0 4px 16px rgba(42, 32, 56, .05); padding-top: env(safe-area-inset-top); }
.header-inner { width: min(1240px, 100% - 2rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 54px; width: auto; }

.site-nav { flex: 1; }
.menu, .submenu { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; justify-content: flex-end; gap: .15rem; }
.menu > li { position: relative; }
.menu a { display: block; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.menu > li > a { padding: .6rem .8rem; border-radius: 8px; }
.menu > li > a:hover, .menu > li:focus-within > a { color: var(--berry); background: var(--soft); }
.menu a[aria-current='page'] { color: var(--berry); font-weight: 700; }

/* little arrow shown inside the "Get Involved" link */
.has-sub > a::after { content: ''; display: inline-block; width: .42em; height: .42em; margin-left: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.18em) rotate(45deg); }

/* Donate button */
.menu > li.menu-cta { margin-left: .6rem; }
.menu > li.menu-cta > a { background: var(--gradient); color: #fff; font-weight: 600; padding: .65rem 1.3rem; border-radius: 999px; }
.menu > li.menu-cta > a:hover { color: #fff; background: var(--gradient); filter: brightness(1.08); }

/* Desktop dropdown: opens on hover or keyboard focus */
.submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid #eadff0; border-radius: 12px; box-shadow: 0 12px 28px rgba(42, 32, 56, .14); padding: .4rem; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: block; }
.submenu a { padding: .7rem .9rem; border-radius: 8px; }
.submenu a:hover { background: var(--soft); color: var(--berry); }

.menu-toggle { display: none; }

/* ----- Tablet & phone: hamburger button and slide-down panel ----- */
@media (max-width: 1100px) {
  .header-inner { min-height: 64px; gap: 1rem; }
  .brand img { height: 44px; }

  .menu-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 46px; padding: 0 1rem; background: #fff; border: 1.5px solid #d9cce3; border-radius: 10px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle .bars { position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ''; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -6px; }
  .menu-toggle .bars::after { top: 6px; }
  .menu-toggle[aria-expanded='true'] .bars { background: transparent; }
  .menu-toggle[aria-expanded='true'] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .bars::after { top: 0; transform: rotate(-45deg); }

  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #eee7f1; box-shadow: 0 16px 28px rgba(42, 32, 56, .14); max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; padding: .5rem 1rem 1.25rem; }
  .site-nav.open { display: block; }

  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid #f1e9f4; }
  .menu > li > a { padding: 1rem .25rem; font-size: 1.05rem; border-radius: 0; }
  .menu > li > a:hover, .menu > li:focus-within > a { background: none; }
  .has-sub > a::after { display: none; }

  /* Submenu is simply shown, indented, under Get Involved */
  .submenu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 .6rem 1rem; margin: 0 0 0 .25rem; border-left: 3px solid var(--pink); border-radius: 0; min-width: 0; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: block; }
  .submenu a { padding: .75rem .5rem; font-size: 1rem; color: var(--muted); }

  .menu > li.menu-cta { border-bottom: 0; margin: 1rem 0 0; }
  .menu > li.menu-cta > a { text-align: center; padding: .95rem 1rem; font-size: 1.05rem; }
}

/* Hero heading: one sentence per line */
.hero-title { font-size: clamp(1.35rem, 5.6vw, 2.6rem); }
.hero-title .line { display: block; white-space: nowrap; }

/* "What we do": all five boxes on one row on desktop */
@media (min-width: 1001px) {
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
  .grid-5 .card { padding: 1.1rem; }
  .grid-5 .card h3 { font-size: 1.02rem; overflow-wrap: anywhere; hyphens: auto; }
  .grid-5 .card p { font-size: .92rem; }
}
