/* ===== The Resilient Women — Brand Styles ===== */
:root {
  --purple-900: #2E1450;
  --purple-800: #3D1A63;
  --purple-700: #5B2A8C;
  --purple-600: #6D33A8;
  --purple-500: #8B3FD1;
  --purple-400: #A855F7;
  --purple-100: #F3EBFB;
  --purple-050: #FAF6FE;
  --gold: #E3A72F;
  --gold-soft: #F0C558;
  --ink: #221436;
  --muted: #6B5B7E;
  --white: #ffffff;
  --grad: linear-gradient(120deg, var(--purple-700) 0%, var(--purple-500) 55%, var(--purple-400) 100%);
  --shadow: 0 18px 45px -20px rgba(46, 20, 80, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(46, 20, 80, 0.35);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600;
  font-size: 0.98rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--sm { padding: .6rem 1.2rem; font-size: .9rem; }
.btn--gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #3a2a05; box-shadow: 0 10px 24px -10px rgba(227,167,47,.7);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(227,167,47,.85); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--outline { background: rgba(255,255,255,.6); border-color: var(--purple-100); color: var(--purple-700); }
.btn--outline:hover { transform: translateY(-2px); border-color: var(--purple-400); box-shadow: var(--shadow-sm); background:#fff; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(139,63,209,.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { box-shadow: 0 6px 30px -18px rgba(46,20,80,.5); background: rgba(255,255,255,.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: .55rem; }
.nav__logo { width: 38px; height: 38px; object-fit: contain; }
.nav__name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.12rem; color: var(--purple-800); letter-spacing: .01em; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 500; font-size: .93rem; color: var(--muted); transition: color .15s; }
.nav__links a:hover { color: var(--purple-600); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__cta { color: #3a2a05 !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2.5px; background: var(--purple-700); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--purple-050) 100%);
  padding: 6.5rem 0 7rem;
}
/* animated Stripe-style silk */
.hero__silk { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__silk::before, .hero__silk::after {
  content: ""; position: absolute; border-radius: 46% 54% 60% 40%;
  filter: blur(60px); opacity: .55; will-change: transform;
}
.hero__silk::before {
  top: -35%; right: -18%; width: 70%; height: 175%;
  background: conic-gradient(from 90deg, #8B3FD1, #C24DE0, #E3A72F, #A855F7, #6D33A8, #8B3FD1);
  opacity: .4; animation: silkspin 26s linear infinite;
}
.hero__silk::after {
  top: -10%; right: 6%; width: 48%; height: 120%;
  background: conic-gradient(from 210deg, #F0C558, #C24DE0, #8B3FD1, #F0C558);
  opacity: .28; animation: silkspin2 34s linear infinite;
}
/* optional faded hero photo — drop a file at site/hero-bg.jpg and it fades in, purple-tinted */
.hero__photo {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url('/hero-bg.jpg') center right / cover no-repeat;
  opacity: .16; filter: saturate(.75) contrast(1.02);
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(100deg, transparent 34%, #000 82%);
          mask-image: linear-gradient(100deg, transparent 34%, #000 82%);
}
.silk {
  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: .5; will-change: transform;
}
.silk--1 { width: 360px; height: 360px; top: -6%; right: 8%;  background: radial-gradient(circle, var(--purple-400), transparent 68%); animation: drift 16s ease-in-out infinite; }
.silk--2 { width: 300px; height: 300px; top: 42%; right: 30%; background: radial-gradient(circle, #C24DE0, transparent 68%); animation: drift 20s ease-in-out infinite reverse; }
.silk--3 { width: 260px; height: 260px; top: 58%; right: 2%;  background: radial-gradient(circle, var(--gold-soft), transparent 66%); opacity:.45; animation: drift 22s ease-in-out infinite; }
/* keep text crisp over the silk */
.hero__fade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, #fff 16%, rgba(255,255,255,.5) 40%, rgba(255,255,255,0) 64%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .32;
  background-image:
    linear-gradient(rgba(139,63,209,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,63,209,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 30%, #000 40%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 20% 30%, #000 40%, transparent 80%);
}
.hero__inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
.hero__copy { max-width: 620px; text-align: left; }
/* staggered entrance */
.hero__copy > * { opacity: 0; animation: riseIn .7s cubic-bezier(.2,.75,.25,1) forwards; }
.hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__copy > *:nth-child(2) { animation-delay: .15s; }
.hero__copy > *:nth-child(3) { animation-delay: .25s; }
.hero__copy > *:nth-child(4) { animation-delay: .35s; }
.hero__copy > *:nth-child(5) { animation-delay: .45s; }
.hero__badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.75); border: 1px solid var(--purple-100);
  color: var(--purple-700); font-size: .82rem; font-weight: 500;
  padding: .4rem .85rem; border-radius: 999px; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227,167,47,.2); }
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 800; color: var(--purple-900);
  letter-spacing: -.01em; margin-bottom: 1.2rem;
}
.grad-text {
  background: linear-gradient(100deg, var(--purple-500), #C24DE0 40%, var(--gold) 70%, var(--purple-500));
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.hero__sub { max-width: 560px; font-size: 1.12rem; color: var(--muted); margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__trust {
  display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.4rem;
  padding-top: 1.6rem; border-top: 1px solid var(--purple-100);
  color: var(--purple-700); font-size: .92rem; font-weight: 500;
}
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; }

/* ===== Hero living visual ===== */
.hero__visual {
  position: relative; z-index: 3; min-height: 400px;
  opacity: 0; animation: riseIn .9s .35s cubic-bezier(.2,.75,.25,1) forwards;
  transition: transform .25s ease-out;
}
.story-card {
  position: relative; z-index: 2; max-width: 360px; margin-left: auto;
  background: #fff; border: 1px solid rgba(139,63,209,.14); border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(46,20,80,.5), 0 2px 10px -6px rgba(46,20,80,.25);
}
.story-card__photo { position: relative; height: 158px; }
.story-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 28%; display: block; }
.story-card__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,20,80,.28) 0%, transparent 40%, rgba(46,20,80,.18) 100%);
}
.story-card__label, .story-card__chip { position: absolute; top: .8rem; z-index: 2; }
.story-card__label {
  left: .85rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(46,20,80,.35); backdrop-filter: blur(6px);
  padding: .3rem .65rem; border-radius: 999px;
}
.story-card__chip {
  right: .85rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700;
  color: #0f7a43; background: rgba(255,255,255,.92); padding: .3rem .6rem; border-radius: 999px;
}
.story-card__chip i { width: 6px; height: 6px; border-radius: 50%; background: #22a35c; }
.story-card__body { padding: 1.3rem 1.5rem 1.5rem; }
.story-card__person { margin-bottom: 1.2rem; }
.story-card__person strong { display: block; color: var(--purple-900); font-size: 1.02rem; }
.story-card__person span { color: var(--muted); font-size: .85rem; }
.journey { display: grid; gap: .7rem; margin-bottom: 1.3rem; }
.journey__step { display: flex; align-items: center; gap: .65rem; font-size: .9rem; color: var(--muted); }
.journey__step i {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--purple-100);
  flex: none; position: relative;
}
.journey__step.done { color: var(--purple-800); font-weight: 500; }
.journey__step.done i { background: var(--purple-500); border-color: var(--purple-500); }
.journey__step.done i::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.journey__step.active { color: var(--purple-900); font-weight: 600; }
.journey__step.active i { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227,167,47,.18); animation: pulseDot 1.8s ease-in-out infinite; }
.story-card__progress { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.story-card__bar { flex: 1; height: 9px; background: var(--purple-100); border-radius: 999px; overflow: hidden; }
.story-card__bar span { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--purple-500), var(--gold)); border-radius: 999px; animation: fillBar 2.4s cubic-bezier(.2,.75,.25,1) both; }
.story-card__pct { font-size: .82rem; font-weight: 700; color: var(--purple-700); }
.story-card__tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.story-card__tags span { font-size: .78rem; background: var(--purple-050); border: 1px solid var(--purple-100); color: var(--purple-700); padding: .32rem .72rem; border-radius: 999px; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem;
  background: #fff; border: 1px solid rgba(139,63,209,.14);
  border-radius: 16px; padding: .75rem 1rem;
  box-shadow: 0 22px 45px -22px rgba(46,20,80,.55);
}
.float-card strong { display: block; font-size: .88rem; color: var(--purple-900); }
.float-card small { color: var(--muted); font-size: .76rem; }
.float-card__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.15rem; background: linear-gradient(135deg, var(--purple-050), #fff); border: 1px solid var(--purple-100); }
.float-card--out { bottom: 6%; left: -4%; animation: floatC 7.5s ease-in-out infinite; }

/* mobile-only hero image (shows when the journey card is hidden on phones) */
.hero__mobile-media { display: none; position: relative; margin-top: 1.7rem; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); animation: riseIn .8s .3s both; }
.hero__mobile-media img { width: 100%; height: 240px; object-fit: cover; object-position: 60% 28%; display: block; }
.hero__mobile-tag { position: absolute; left: .75rem; bottom: .75rem; background: rgba(46,20,80,.58); backdrop-filter: blur(6px); color: #fff; font-size: .76rem; font-weight: 500; padding: .42rem .82rem; border-radius: 999px; }

@keyframes silkspin { to { transform: rotate(360deg); } }
@keyframes silkspin2 { to { transform: rotate(-360deg); } }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-28px, 22px) scale(1.14); }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: 220% center; } }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 4px rgba(227,167,47,.18); } 50% { box-shadow: 0 0 0 7px rgba(227,167,47,.06); } }
@keyframes fillBar { from { width: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero__silk::before, .hero__silk::after, .silk,
  .story-card, .float-card, .grad-text, .story-card__bar span,
  .hero__copy > *, .hero__visual { animation: none !important; opacity: 1; }
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section--tint { background: var(--purple-050); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section__eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-weight: 600;
  font-size: .8rem; color: var(--purple-500);
}
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--purple-800); margin: .5rem 0 .8rem; }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* ===== Mission / Vision ===== */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv__card {
  background: #fff; border: 1px solid var(--purple-100); border-radius: var(--radius);
  padding: 2.4rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.mv__card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--grad);
}
.mv__card--alt::before { background: linear-gradient(180deg, var(--gold), var(--gold-soft)); }
.mv__tag {
  display: inline-block; font-weight: 600; color: var(--purple-600);
  text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; margin-bottom: .9rem;
}
.mv__card--alt .mv__tag { color: var(--gold); }
.mv__text { font-size: 1.12rem; color: var(--ink); }

/* ===== Grid + Cards ===== */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--purple-100); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem;
  background: var(--purple-100); border-radius: 16px; margin-bottom: 1.1rem;
}
.card h3 { color: var(--purple-700); font-size: 1.28rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }

/* ===== CTA band (funnels sections → contact) ===== */
.cta-band {
  margin-top: 3rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  background: var(--grad); color: #fff; border-radius: 24px; padding: 2.4rem 2.8rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; top: -60%; right: -10%; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(240,197,88,.35), transparent 65%); pointer-events: none;
}
.cta-band__text { position: relative; z-index: 1; max-width: 560px; }
.cta-band__text h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.cta-band__text p { color: rgba(255,255,255,.9); }
.cta-band .btn { position: relative; z-index: 1; flex: none; }

/* ===== Stats + Quote ===== */
.stats { margin-bottom: 3rem; }
.stat { text-align: center; background: #fff; border: 1px solid var(--purple-100); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.stat__num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 800; color: var(--purple-600); line-height: 1; }
.stat__num span { font-size: 1.3rem; color: var(--gold); }
.stat__label { color: var(--muted); margin-top: .6rem; font-size: .95rem; }
.quote {
  max-width: 780px; margin: 0 auto; text-align: center; font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-style: italic; color: var(--purple-800); line-height: 1.5;
}
.quote cite { display: block; font-size: 1rem; font-style: normal; color: var(--gold); margin-top: 1rem; font-family: 'Poppins', sans-serif; }

/* ===== Get Involved ===== */
.involve { background: #fff; border: 1px solid var(--purple-100); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.involve h3 { color: var(--purple-700); font-size: 1.3rem; margin-bottom: .6rem; }
.involve p { color: var(--muted); margin-bottom: 1rem; }
.link-arrow { color: var(--purple-500); font-weight: 600; }
.link-arrow:hover { color: var(--gold); }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact__list { list-style: none; margin-top: 1.6rem; display: grid; gap: .9rem; }
.contact__list li { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.contact__list span { font-size: 1.15rem; }
.contact__list em { color: var(--muted); font-size: .85rem; }
.contact__list a:hover { color: var(--purple-500); }
.form { background: #fff; border: 1px solid var(--purple-100); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form__row { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 500; font-size: .92rem; color: var(--purple-800); }
.form .opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; margin-top: .4rem; padding: .8rem 1rem; border: 1.5px solid var(--purple-100);
  border-radius: 12px; font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--purple-050);
  transition: border .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 3px rgba(168,85,247,.15); background: #fff;
}
.form textarea { resize: vertical; }
.form__submit { width: 100%; margin-top: .4rem; }
.form__status { margin-top: 1rem; text-align: center; font-size: .95rem; font-weight: 500; min-height: 1.2em; }
.form__status.success { color: #1a7f4b; }
.form__status.error { color: #c0392b; }

/* ===== Footer ===== */
.footer { background: var(--purple-900); color: rgba(255,255,255,.8); padding: 4rem 0 1.8rem; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col h4 { color: #fff; font-family: 'Poppins', sans-serif; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .3rem; }
.footer__col a, .footer__col span { color: rgba(255,255,255,.72); font-size: .93rem; transition: color .15s; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.footer__brand img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; }
.footer__brand span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; color: #fff; }
.footer__tagline { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold-soft); margin-bottom: .3rem; }
.footer__blurb { font-size: .92rem; color: rgba(255,255,255,.62); max-width: 320px; line-height: 1.6; }
.footer__cta { margin-top: .5rem; align-self: flex-start; color: #3a2a05 !important; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; }
.footer__bar p { font-size: .82rem; color: rgba(255,255,255,.5); }

/* ===== Global polish ===== */
::selection { background: var(--purple-400); color: #fff; }
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(168,85,247,.45); outline-offset: 2px; border-radius: 6px;
}
.link-arrow { transition: color .15s, letter-spacing .15s; }
.involve:hover .link-arrow { letter-spacing: .02em; }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__about { grid-column: 1 / -1; }
  .footer__bar { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: 72px; right: 0; width: 250px; height: calc(100vh - 72px);
    background: #fff; flex-direction: column; align-items: flex-start; padding: 1.6rem;
    gap: 1.2rem; box-shadow: var(--shadow); transform: translateX(110%); transition: transform .3s ease;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__toggle { display: flex; }
  .mv, .contact { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { min-height: 300px; margin-top: .5rem; }
  .story-card { margin: 0 auto; }
  .float-card--out { left: 0; }
}
@media (max-width: 520px) {
  .hero { padding: 2.75rem 0 4rem; }
  .hero__visual { display: none; }
  .hero__mobile-media { display: block; order: -1; margin: 0 0 1.8rem; }
}

/* ===== Polish v2 — spacing, mobile, delights ===== */
section[id] { scroll-margin-top: 86px; }
.btn:active { transform: translateY(0) scale(.99); }
.involve { transition: transform .2s ease, box-shadow .2s ease; }
.involve:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
/* animated underline on nav links */
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--purple-500); border-radius: 2px; transition: right .25s ease;
}
.nav__links a:hover::after, .nav__links a.active::after { right: 0; }

@media (max-width: 640px) {
  .section { padding: 3.4rem 0; }
  .section__head { margin-bottom: 2.2rem; }
  .cta-band { padding: 2rem 1.6rem; }
  .cta-band__text h3 { font-size: 1.4rem; }
  .callout { padding: 2.2rem 1.5rem; }
  .callout h3 { font-size: 1.5rem; }
  .feature__panel { padding: 1.8rem; }
  .page-hero { padding: 4rem 0 3rem; }
  .footer { padding: 3rem 0 1.6rem; }
}
@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
}

/* ===== Mobile optimization pass ===== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
@media (max-width: 480px) {
  .btn { padding: .95rem 1.4rem; }              /* larger, thumb-friendly tap targets */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .cta-band { text-align: center; }
  .cta-band__text { width: 100%; }
  .cta-band .btn, .callout .btn { width: 100%; }
  .feature__body > .btn { width: 100%; }
  .nav__name { font-size: .98rem; }
  .hero__trust { gap: .8rem 1.3rem; }
}
@media (max-width: 380px) {
  .nav__name { font-size: .88rem; }
  .nav__cta { padding: .5rem .85rem; font-size: .82rem; }
}

/* =====================================================================
   MULTI-PAGE COMPONENTS
   ===================================================================== */

/* active nav link */
.nav__links a.active { color: var(--purple-700); font-weight: 600; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  position: relative; overflow: hidden; background: var(--grad); color: #fff;
  padding: 6rem 0 4.5rem; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.16), transparent) 12% 5%/55% 75% no-repeat,
    radial-gradient(closest-side, rgba(240,197,88,.22), transparent) 100% 100%/55% 65% no-repeat;
}
.page-hero__grid {
  position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 45%, transparent 85%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 45%, transparent 85%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.page-hero__eyebrow { text-transform: uppercase; letter-spacing: .2em; font-weight: 600; font-size: .82rem; color: var(--gold-soft); }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin: .6rem 0 .9rem; }
.page-hero__sub { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 640px; margin: 0 auto; }

/* ===== Feature rows ===== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; }
.feature + .feature { margin-top: 4.5rem; }
.feature--flip .feature__panel { order: -1; }
.feature__eyebrow { color: var(--purple-500); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.feature__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--purple-800); margin: .5rem 0 1rem; }
.feature__body > p { color: var(--muted); margin-bottom: 1.2rem; }
.feature__panel {
  position: relative; border-radius: 26px; padding: 2.5rem;
  background: linear-gradient(160deg, var(--purple-050), #fff);
  border: 1px solid var(--purple-100); box-shadow: var(--shadow);
}
.feature__panel--grad { background: var(--grad); color: #fff; border-color: transparent; }
.feature__panel--grad p, .feature__panel--grad h3 { color: #fff; }
.feature__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.9rem; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem;
}
.feature__panel--grad .feature__icon { background: rgba(255,255,255,.16); }

/* checklist */
.check-list { list-style: none; display: grid; gap: .75rem; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink); font-size: .97rem; }
.check-list li::before {
  content: "✓"; flex: none; width: 21px; height: 21px; margin-top: 1px; border-radius: 50%;
  background: var(--purple-500); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
}
.feature__panel--grad .check-list li { color: rgba(255,255,255,.94); }
.feature__panel--grad .check-list li::before { background: rgba(255,255,255,.22); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.chips span { background: var(--purple-050); border: 1px solid var(--purple-100); color: var(--purple-700); font-size: .82rem; padding: .38rem .82rem; border-radius: 999px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { position: relative; background: #fff; border: 1px solid var(--purple-100); border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); }
.step__num { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.step h3 { color: var(--purple-700); font-size: 1.22rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ===== Pathway strip ===== */
.pathway { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-top: 1rem; }
.pathway__step { flex: 1; text-align: center; position: relative; }
.pathway__step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--purple-400), var(--purple-100)); z-index: 1; }
.pathway__dot { position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--purple-100); display: grid; place-items: center; margin: 0 auto .7rem; font-size: 1.2rem; box-shadow: var(--shadow-sm); }
.pathway__step--active .pathway__dot { background: var(--grad); border-color: transparent; }
.pathway__label { font-size: .84rem; color: var(--purple-800); font-weight: 500; }

/* ===== Callout ===== */
.callout { background: var(--grad); color: #fff; border-radius: 26px; padding: 3rem 2.8rem; box-shadow: var(--shadow); position: relative; overflow: hidden; text-align: center; }
.callout::after { content: ""; position: absolute; top: -50%; right: -8%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(240,197,88,.32), transparent 65%); pointer-events: none; }
.callout > * { position: relative; z-index: 1; }
.callout h3 { font-size: 1.8rem; margin-bottom: .6rem; }
.callout p { color: rgba(255,255,255,.92); max-width: 660px; margin: 0 auto 1.4rem; }

/* ===== Map ===== */
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--purple-100); line-height: 0; margin-top: 2.5rem; }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ===== small utility ===== */
.center-link { text-align: center; margin-top: 2rem; }
.section__head--left { text-align: left; margin-left: 0; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature--flip .feature__panel { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .page-hero { padding: 5rem 0 3.5rem; }
  .pathway { flex-wrap: wrap; gap: 1.2rem; }
  .pathway__step { flex: 0 0 40%; }
  .pathway__step::after { display: none; }
}
