/* =========================================================
   Bharat Family Legacy Preservation Foundation — main stylesheet
   One classical font family (EB Garamond + Tiro Devanagari Marathi
   for Marathi text), one type scale, ivory / maroon / gold palette.
   ========================================================= */

:root {
  /* colour */
  --ivory: #FBF7EF;
  --sand: #F4ECDD;
  --paper: #FFFFFF;
  --maroon: #7B1E2B;
  --maroon-deep: #5A1420;
  --maroon-soft: #F7E6E8;
  --gold: #B8862F;
  --gold-bright: #E3B95E;
  --gold-soft: #F6EBD3;
  --ink: #1F2230;
  --ink-2: #3B3A40;
  --muted: #65605A;
  --line: #E6DCC8;
  --line-strong: #D6C7A8;
  --green: #2F6B3A;
  --green-soft: #E4F1E5;
  --blue: #2B4C7E;
  --blue-soft: #E5ECF7;

  /* type — the same family everywhere, one scale */
  --font: "EB Garamond", "Tiro Devanagari Marathi", Georgia, "Times New Roman", serif;
  --fs-body: 1.15rem;      /* 18.4px — all running text */
  --fs-small: 1rem;        /* 16px  — labels, meta */
  --fs-h3: 1.4rem;         /* every card / item title */
  --fs-h2: clamp(2rem, 1.4rem + 2vw, 2.65rem);   /* every section title */
  --fs-h1: clamp(2.4rem, 1.5rem + 3.2vw, 3.55rem);
  --fs-eyebrow: .82rem;

  /* layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(60, 40, 20, .06), 0 2px 8px rgba(60, 40, 20, .05);
  --shadow: 0 2px 4px rgba(60, 40, 20, .05), 0 12px 32px rgba(60, 40, 20, .09);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-deep); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); font-weight: 500; text-wrap: balance; }
h3 { text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--maroon); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }
.mr { font-family: "Tiro Devanagari Marathi", var(--font); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }

/* ---------- section heading ---------- */
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 56px); }
.sec-head--left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.sec-head p { color: var(--muted); margin: 18px auto 0; max-width: 680px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--gold); }
.sec-head--left .ornament { justify-content: flex-start; }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament svg { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--maroon); --fg: #fff; --bd: var(--maroon);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 1.06rem/1 var(--font); letter-spacing: .01em;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { --bg: var(--maroon-deep); --bd: var(--maroon-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(123, 30, 43, .22); }
.btn .ic { width: 20px; height: 20px; }
.btn--gold { --bg: var(--gold); --bd: var(--gold); }
.btn--gold:hover { --bg: #9C7024; --bd: #9C7024; box-shadow: 0 8px 20px rgba(184, 134, 47, .28); }
.btn--ghost { --bg: transparent; --fg: var(--maroon); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--paper); --fg: var(--maroon); --bd: var(--maroon); color: var(--maroon); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--maroon); --bd: #fff; }
.btn--light:hover { --bg: var(--gold-soft); --bd: var(--gold-soft); color: var(--maroon-deep); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); }
.btn--outline-light:hover { --bg: rgba(255,255,255,.12); --bd: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--maroon); text-decoration: none; background: none; border: 0; padding: 0; font: 600 1.02rem var(--font); cursor: pointer; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- top utility bar ---------- */
.topbar { background: var(--maroon-deep); color: #F3E3C6; font-size: .92rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__legal { display: flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.topbar__legal .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-bright); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #F3E3C6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 16px; height: 16px; }
.social-mini { display: flex; gap: 4px; }
.social-mini a { width: 28px; height: 28px; justify-content: center; border-radius: 50%; }
.social-mini a:hover { background: rgba(255,255,255,.12); }
.social-mini svg { width: 14px; height: 14px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(251, 247, 239, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(60, 40, 20, .08); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: calc(var(--header-h) - 1px); } /* -1px = border, so header is exactly --header-h */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 56px; height: 56px; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: 1.24rem; font-weight: 600; line-height: 1.15; color: var(--maroon-deep); letter-spacing: .005em; text-wrap: balance; }
.brand__mr { font-size: .9rem; color: var(--gold); line-height: 1.4; margin-top: 2px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; white-space: nowrap;
  font-size: 1.08rem; font-weight: 500; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: var(--font);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--maroon); background: var(--gold-soft); }
.nav__link .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav__item:hover > .nav__link .ic, .nav__item.is-open > .nav__link .ic { transform: rotate(180deg); }
.nav__link.is-active { color: var(--maroon); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.mega--narrow { width: 340px; grid-template-columns: 1fr; }
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega, .nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--ivory); }
.mega .mega__ic { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-soft); color: var(--maroon); display: grid; place-items: center; flex: none; }
.mega .mega__ic .ic { width: 20px; height: 20px; }
.mega strong { display: block; font-size: 1.04rem; font-weight: 600; line-height: 1.25; }
.mega small { display: block; font-size: .92rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 12px 2px; }

.header__cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--maroon); cursor: pointer; place-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 0; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(227, 185, 94, .18), transparent 60%),
  radial-gradient(900px 400px at -10% 20%, rgba(123, 30, 43, .06), transparent 60%), var(--ivory); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-strong); color: var(--maroon); font-size: .98rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.pill-badge .ic { width: 18px; height: 18px; color: var(--gold); }
.hero .eyebrow { display: block; margin: 22px 0 12px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--maroon); }
.hero__lead { color: var(--ink-2); max-width: 580px; margin-bottom: 28px; }
.hero__tag { margin: 24px 0 0; font-style: italic; color: var(--gold); font-size: 1.15rem; }
.trust-points { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-strong); }
.trust-point { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; line-height: 1.3; color: var(--ink-2); max-width: 260px; }
.trust-point__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.trust-point__ic .ic { width: 22px; height: 22px; }
.ti-gold { background: var(--gold-soft); color: #8A5D12; }
.ti-maroon { background: var(--maroon-soft); color: var(--maroon); }
.ti-green { background: var(--green-soft); color: var(--green); }
.ti-blue { background: var(--blue-soft); color: var(--blue); }

/* carousel */
.carousel { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--maroon-deep); aspect-ratio: 5 / 4; isolation: isolate; }
.carousel__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 10, 15, 0) 28%, rgba(40, 10, 15, .62) 58%, rgba(40, 10, 15, .92) 100%); }
.slide__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 3vw, 32px); padding-bottom: 54px; color: #fff; }
.slide__kicker { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: var(--gold); color: #fff; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.slide__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); color: #fff; font-weight: 500; margin-bottom: 6px; }
.slide__text { color: rgba(255,255,255,.88); margin: 0 0 16px; max-width: 460px; }
.carousel__dots { position: absolute; z-index: 3; left: clamp(20px, 3vw, 32px); bottom: 20px; display: flex; gap: 8px; }
.carousel__dot { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.carousel__dot.is-active { width: 28px; background: var(--gold-bright); }
.carousel__nav { position: absolute; z-index: 3; right: 16px; bottom: 12px; display: flex; gap: 8px; }
.carousel__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.18); color: #fff; display: grid; place-items: center; cursor: pointer; }
.carousel__nav button:hover { background: rgba(255,255,255,.18); }
.carousel__nav .ic { width: 18px; height: 18px; }

/* begin tiles (Policybazaar-style product grid) */
.begin { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 88px); }
.begin__title { text-align: center; font-size: var(--fs-h3); font-weight: 600; margin-bottom: 26px; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; text-align: center;
  padding: 30px 10px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); cursor: pointer; font-family: var(--font);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--ink); }
.tile__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; }
.tile__ic .ic { width: 30px; height: 30px; stroke-width: 1.5; }
.tile__label { font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.tile__badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .76rem; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 0 0 8px 8px; }
.b-gold { background: var(--gold-soft); color: #8A5D12; }
.b-maroon { background: var(--maroon-soft); color: var(--maroon); }
.b-green { background: var(--green-soft); color: var(--green); }
.b-blue { background: var(--blue-soft); color: var(--blue); }
.begin__more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- memory loss (page 2) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.framed { position: relative; padding: 14px; }
.framed::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--gold); border-radius: 22px; transform: translate(14px, 14px); z-index: 0; }
.framed img { position: relative; z-index: 1; border-radius: 18px; width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; box-shadow: var(--shadow); }
.framed__cap { position: absolute; z-index: 2; left: -6px; bottom: 34px; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 280px; font-size: 1rem; line-height: 1.35; }
.framed__cap .ic { color: var(--gold); width: 28px; height: 28px; }
.big-quote { position: relative; margin: 30px 0 0; padding: 26px 28px 26px 72px; background: var(--paper); border-left: 4px solid var(--maroon); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); font-size: 1.4rem; font-style: italic; line-height: 1.4; color: var(--maroon-deep); }
.big-quote::before { content: "\201C"; position: absolute; left: 22px; top: 6px; font-size: 4.6rem; line-height: 1; color: var(--gold); font-style: normal; }

/* ---------- vision & mission + about ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.vm-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1.5px solid var(--gold-soft); box-shadow: 0 0 0 18px rgba(246, 235, 211, .45); }
.vm-card__ic { width: 60px; height: 60px; border-radius: 16px; background: var(--maroon); color: var(--gold-bright); display: grid; place-items: center; margin-bottom: 20px; }
.vm-card__ic .ic { width: 30px; height: 30px; }
.vm-card .eyebrow { margin-bottom: 8px; }
.vm-card p { font-size: 1.28rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.about-band { margin-top: 28px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.about-who { background: var(--maroon); color: #F7EBD9; border-radius: 20px; padding: clamp(28px, 4vw, 44px); }
.about-who h3 { color: #fff; margin-bottom: 14px; }
.about-who p { color: #F1E3CC; }
.about-who blockquote { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(227, 185, 94, .35); font-style: italic; color: var(--gold-bright); font-size: 1.12rem; line-height: 1.5; }
.philosophy { display: grid; gap: 14px; }
.ph-item { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.ph-item__n { font-size: 1.9rem; line-height: 1; color: var(--gold); font-weight: 500; min-width: 38px; }
.ph-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.ph-item p { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.5; }

/* ---------- generic card grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feat__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feat__ic .ic { width: 26px; height: 26px; }
.feat h3 { margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.5; }

/* ---------- living archive banner (page 5) ---------- */
.archive-banner { position: relative; color: #fff; overflow: hidden; }
.archive-banner__bg { position: absolute; inset: 0; }
.archive-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.archive-banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(50, 12, 20, .94) 0%, rgba(70, 18, 28, .82) 48%, rgba(70, 18, 28, .35) 100%); }
.archive-banner .wrap { position: relative; padding-block: clamp(80px, 10vw, 128px); }
.archive-banner__body { max-width: 640px; }
.archive-banner h2 { color: #fff; margin-bottom: 20px; }
.archive-banner p { color: rgba(255,255,255,.9); font-size: 1.24rem; line-height: 1.6; margin-bottom: 30px; }

/* ---------- programmes (page 6) ---------- */
.prog {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.prog::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--maroon), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.prog:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.prog:hover::before { transform: scaleX(1); }
.prog__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.prog__n { font-size: 2.1rem; font-weight: 500; color: var(--gold); line-height: 1; }
.prog__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; }
.prog__ic .ic { width: 24px; height: 24px; }
.prog h3 { margin-bottom: 8px; }
.prog p { color: var(--muted); font-size: 1.06rem; line-height: 1.5; margin-bottom: 18px; flex: 1; }
.prog__more { display: none; }

/* ---------- 10,000+ family stories (page 7) ---------- */
.fs-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.fs-grid h2 { margin-bottom: 18px; }
.fs-grid > div > p { color: var(--ink-2); }
.checklist-title { font-weight: 600; margin: 24px 0 12px; font-size: 1.15rem; }
.checklist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.checklist .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.checklist .ck .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.fs-visual { position: relative; }
.fs-visual img { border-radius: 22px; aspect-ratio: 1 / 1.05; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.target-card { position: absolute; left: -28px; bottom: 28px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 24px; min-width: 240px; border: 1px solid var(--line); }
.target-card__n { font-size: 2.8rem; line-height: 1; color: var(--maroon); font-weight: 600; }
.target-card__l { color: var(--muted); font-size: 1rem; margin-top: 6px; }
.target-card__bar { margin-top: 14px; height: 6px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.target-card__bar span { display: block; height: 100%; width: 12%; background: linear-gradient(90deg, var(--maroon), var(--gold)); border-radius: 99px; }
.seal-badge { position: absolute; right: -18px; top: -18px; width: 104px; height: 104px; border-radius: 50%; background: var(--maroon); color: var(--gold-bright); display: grid; place-items: center; text-align: center; font-size: .82rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7.5px var(--gold); }

/* ---------- for every family (page 8) ---------- */
.who {
  text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s;
}
.who:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.who .feat__ic { margin: 0; width: 60px; height: 60px; border-radius: 50%; }
.who p { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.5; }

/* ---------- process (page 9) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12.5%; right: 12.5%; border-top: 2px dashed var(--line-strong); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__n { position: relative; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold); display: grid; place-items: center; color: var(--maroon); box-shadow: 0 0 0 8px var(--ivory); }
.section--sand .step__n { box-shadow: 0 0 0 8px var(--sand); }
.step__n .ic { width: 30px; height: 30px; }
.step__n small { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); color: #fff; font-size: .9rem; font-weight: 600; display: grid; place-items: center; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 1.06rem; line-height: 1.5; margin: 0 auto; max-width: 250px; }

/* ---------- values (page 10) ---------- */
.value { text-align: center; padding: 30px 20px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.value__ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: var(--maroon); background: radial-gradient(circle, var(--gold-soft) 60%, transparent 61%); border: 1px dashed var(--gold); }
.value__ic .ic { width: 28px; height: 28px; }
.value h3 { margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 1.04rem; line-height: 1.5; margin: 0; }

/* ---------- movement banner (page 11) ---------- */
.movement { position: relative; background: var(--maroon); color: #fff; overflow: hidden; }
.movement::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23E3B95E' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='18'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Cpath d='M40 10v12M40 58v12M10 40h12M58 40h12M19 19l8 8M53 53l8 8M61 19l-8 8M27 53l-8 8'/%3E%3C/g%3E%3C/svg%3E");
}
.movement .wrap { position: relative; padding-block: clamp(64px, 8vw, 100px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.movement__seal { width: 120px; height: 120px; }
.movement h2 { color: #fff; margin-bottom: 14px; }
.movement h2 span { color: var(--gold-bright); font-style: italic; }
.movement p { color: rgba(255,255,255,.88); margin: 0; font-size: 1.2rem; max-width: 720px; }

/* ---------- get involved ---------- */
.gi-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 1rem; color: var(--ink-2); }
.chip .ic { width: 16px; height: 16px; color: var(--gold); }
.after-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: as; }
.after-steps li { position: relative; padding: 0 0 22px 52px; counter-increment: as; }
.after-steps li::before { content: counter(as); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 1rem; }
.after-steps li::after { content: ""; position: absolute; left: 16.5px; top: 34px; bottom: 2px; border-left: 1.5px dashed var(--line-strong); }
.after-steps li:last-child::after { display: none; }
.after-steps strong { display: block; font-size: 1.12rem; margin-bottom: 2px; }
.after-steps span { color: var(--muted); font-size: 1.04rem; line-height: 1.5; display: block; }
.side-title { font-size: var(--fs-h3); margin: 0 0 6px; }

/* form card */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; border: 0; background: none; padding: 10px 14px; border-radius: 10px; font: 600 1rem var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--maroon); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field label .req { color: var(--maroon); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff;
  font: 400 1.08rem var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(123, 30, 43, .1); }
.input:user-invalid, .select:user-invalid, .textarea:user-invalid { border-color: #B3261E; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B1E2B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.phone-field { display: flex; }
.phone-field .cc { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; background: var(--ivory); font-size: 1.05rem; color: var(--ink-2); }
.phone-field .input { border-radius: 0 10px 10px 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.check, .field .check { display: flex; align-items: flex-start; gap: 10px; font-size: 1.02rem; line-height: 1.4; color: var(--ink-2); cursor: pointer; font-weight: 400 !important; }
.check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--maroon); flex: none; }
.consent { font-size: .98rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .95rem; color: var(--muted); margin: 10px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 1.04rem; line-height: 1.45; }
.form-status.is-ok { display: flex; gap: 10px; background: var(--green-soft); color: var(--green); }
.form-status.is-err { display: flex; gap: 10px; background: #FBE9E7; color: #8C1D18; }
.form-status .ic { width: 22px; height: 22px; margin-top: 1px; }
[data-show] { display: none; }
[data-show].is-on { display: block; }
.form-grid [data-show].is-on { display: contents; }

/* ---------- research ---------- */
.research-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 980px; margin: 0 auto 44px; }
.research-chips .chip { padding: 10px 18px; font-size: 1.06rem; background: var(--paper); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.research-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- social ---------- */
.social-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 12px 20px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.social-card__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.social-card__ic svg { width: 26px; height: 26px; }
.social-card strong { font-size: 1.1rem; font-weight: 600; }
.social-card small { font-size: .95rem; color: var(--muted); }
.social-card.is-pending small::after { content: " · soon"; color: var(--gold); }
.sc-fb { background: #1877F2; } .sc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sc-yt { background: #FF0000; } .sc-x { background: #111; } .sc-li { background: #0A66C2; } .sc-wa { background: #25D366; }
.assoc { margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: space-between; background: linear-gradient(100deg, var(--paper), var(--gold-soft)); border: 1px solid var(--line-strong); border-radius: 20px; padding: 24px 28px; }
.assoc__l { display: flex; align-items: center; gap: 18px; }
.assoc__ic { width: 60px; height: 60px; border-radius: 16px; background: var(--maroon); color: var(--gold-bright); display: grid; place-items: center; flex: none; }
.assoc__ic .ic { width: 30px; height: 30px; }
.assoc .eyebrow { margin: 0 0 2px; }
.assoc h3 { margin: 0 0 2px; }
.assoc p { margin: 0; color: var(--muted); font-size: 1.04rem; }

/* ---------- newsletter (page 12) ---------- */
.newsletter { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--maroon), var(--gold)); }
.newsletter h2 { margin-bottom: 14px; }
.newsletter p { color: var(--muted); margin: 0; }
.nl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nl-form .full { grid-column: 1 / -1; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.info__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.info__ic .ic { width: 22px; height: 22px; }
.info strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.info span, .info a { color: var(--muted); font-size: 1.04rem; line-height: 1.45; word-break: break-word; }
.info a { color: var(--maroon); }
.faq { margin-top: clamp(48px, 6vw, 72px); max-width: 880px; margin-inline: auto; }
.faq h3.faq__title { text-align: center; font-size: var(--fs-h3); margin-bottom: 20px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.14rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--maroon); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: #2A1418; color: #D9C8B4; font-size: 1.04rem; }
.footer a { color: #E9DAC4; text-decoration: none; }
.footer a:hover { color: var(--gold-bright); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: clamp(28px, 4vw, 48px); padding-block: clamp(56px, 7vw, 80px) 40px; }
.footer__brand { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.footer__brand img { width: 64px; height: 64px; }
.footer__brand strong { display: block; color: #fff; font-size: 1.22rem; font-weight: 600; line-height: 1.2; }
.footer__brand span { display: block; color: var(--gold-bright); font-size: .95rem; margin-top: 4px; }
.footer p { color: #CDBBA5; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 1.08rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .social-mini { margin-top: 18px; gap: 8px; }
.footer .social-mini a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(233, 218, 196, .25); border-radius: 50%; }
.footer .social-mini a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer .social-mini svg { width: 16px; height: 16px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { width: 18px; height: 18px; color: var(--gold-bright); margin-top: 4px; }
.footer__motto { border-top: 1px solid rgba(233, 218, 196, .15); border-bottom: 1px solid rgba(233, 218, 196, .15); padding-block: 22px; text-align: center; }
.footer__motto p { margin: 0; color: var(--gold-bright); font-size: 1.25rem; }
.footer__motto small { display: block; margin-top: 4px; color: #BBA88F; font-style: italic; font-size: 1rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 26px; font-size: .96rem; color: #B5A28A; }
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal { margin: 0; padding-bottom: 28px; font-size: .9rem; color: #9C8B76; line-height: 1.55; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; border-radius: 22px; max-width: min(92vw, 760px); width: 100%; box-shadow: 0 30px 80px rgba(30, 10, 15, .35); background: var(--paper); color: var(--ink); max-height: 90vh; }
dialog::backdrop { background: rgba(35, 15, 20, .55); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.dlg__close:hover { background: var(--ivory); }
.dlg__body { padding: clamp(24px, 4vw, 40px); overflow-y: auto; max-height: 90vh; }
.dlg__body h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); margin: 6px 0 10px; padding-right: 40px; }
.prog-detail__theme { display: inline-flex; gap: 8px; align-items: center; background: var(--gold-soft); color: #8A5D12; padding: 6px 14px; border-radius: 999px; font-size: .98rem; font-weight: 600; margin-bottom: 18px; }
.prog-detail h4 { font-size: 1.14rem; font-weight: 600; color: var(--maroon); margin: 20px 0 8px; }
.prog-detail p { color: var(--ink-2); margin: 0; }
.prog-detail ul { margin: 0; padding-left: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.prog-detail li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 1.06rem; line-height: 1.45; }
.prog-detail li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dlg__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

/* sign-in dialog */
.dlg--signin { max-width: min(94vw, 860px); }
.signin { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 460px; }
.signin__aside { background: var(--maroon); color: #F3E3C6; padding: 40px 32px; position: relative; overflow: hidden; }
.signin__aside::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(227, 185, 94, .35); box-shadow: 0 0 0 24px rgba(227, 185, 94, .07), 0 0 0 48px rgba(227, 185, 94, .05); }
.signin__aside img { width: 64px; height: 64px; margin-bottom: 18px; }
.signin__aside h3 { color: #fff; font-size: 1.6rem; font-weight: 500; margin-bottom: 18px; }
.signin__aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.signin__aside li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.06rem; line-height: 1.4; }
.signin__aside li .ic { color: var(--gold-bright); width: 22px; height: 22px; margin-top: 1px; }
.signin__main { padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; }
.signin__main h2 { font-size: 1.9rem; margin-bottom: 6px; }
.signin__main > p { color: var(--muted); margin-bottom: 22px; }
.signin__alt { text-align: center; color: var(--muted); font-size: .98rem; margin: 16px 0 0; }
.otp-row { display: flex; gap: 10px; justify-content: space-between; }
.otp-row input { width: 100%; text-align: center; font-size: 1.3rem; padding: 0; }

/* donate dialog */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amount span { display: grid; place-items: center; min-height: 52px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-weight: 600; font-size: 1.12rem; color: var(--ink-2); transition: all .15s; }
.amount input:checked + span { border-color: var(--maroon); background: var(--maroon-soft); color: var(--maroon); }
.amount input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-soft); border: 1px solid #EAD6A8; color: #6E4A0E; border-radius: 12px; padding: 14px 16px; font-size: 1.02rem; line-height: 1.45; margin: 18px 0; }
.notice .ic { width: 22px; height: 22px; margin-top: 1px; flex: none; }

/* floating */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold-bright); background: var(--maroon); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top .ic { transform: rotate(-90deg); }
.wa-float { position: fixed; right: 20px; bottom: 80px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); }
.wa-float.is-on { display: grid; }
.wa-float svg { width: 28px; height: 28px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(35, 15, 20, .5); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: var(--ivory); transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__head img { width: 46px; height: 46px; }
.drawer nav { padding: 10px 10px; display: grid; }
.drawer nav a { padding: 14px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 1.15rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.drawer nav a:hover { background: var(--gold-soft); }
.drawer nav a .ic { width: 18px; height: 18px; color: var(--gold); }
.drawer__cta { padding: 16px 18px 24px; display: grid; gap: 10px; margin-top: auto; border-top: 1px solid var(--line); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* grid children may shrink below their content width (prevents tab rows etc. from widening the page) */
.hero__grid > *, .split > *, .fs-grid > *, .gi-grid > *, .contact-grid > *, .newsletter > *, .about-band > *, .vm > *, .grid-4 > *, .form-grid > *, .movement .wrap > * { min-width: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .brand__name { font-size: 1.12rem; }
  .nav__link { padding: 10px 9px; font-size: 1.04rem; }
}
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: grid; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero__grid, .split, .fs-grid, .gi-grid, .contact-grid, .newsletter, .about-band { grid-template-columns: 1fr; }
  .hero__grid { gap: 36px; }
  .carousel { aspect-ratio: 16 / 11; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .movement .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .movement p { margin-inline: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .split .framed { max-width: 520px; margin-inline: auto; }
  .fs-visual { max-width: 560px; margin: 0 auto; }
  .topbar__legal span:nth-child(n+4) { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; --fs-body: 1.1rem; }
  .topbar__legal { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__right { gap: 10px; }
  .topbar__right > a span { display: none; }
  .topbar__right > a { width: 28px; height: 28px; justify-content: center; }
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 1rem; }
  .brand__mr { font-size: .78rem; }
  .vm, .principles { grid-template-columns: 1fr; }
  .form-grid, .nl-form, .check-grid, .checklist, .prog-detail ul { grid-template-columns: 1fr; }
  .signin { grid-template-columns: 1fr; }
  .signin__aside { display: none; }
  .signin__main { padding: 34px 22px 28px; }
  .target-card { left: 12px; bottom: 12px; min-width: 0; padding: 14px 18px; }
  .target-card__n { font-size: 2.1rem; }
  .seal-badge { right: 8px; top: -14px; width: 86px; height: 86px; font-size: .72rem; }
  .framed__cap { left: 8px; bottom: 20px; }
  .big-quote { font-size: 1.22rem; padding: 22px 20px 22px 58px; }
  .big-quote::before { left: 14px; font-size: 3.8rem; }
  .assoc { padding: 22px; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .hero h1 br { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .carousel { aspect-ratio: 4 / 4.2; }
  .slide__text { display: none; }
  .carousel__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .header, .to-top, .wa-float, .drawer, dialog { display: none !important; }
  body { background: #fff; }
}

/* ---------- inner pages (privacy, terms, 404) ---------- */
.page-hero { background: var(--maroon); color: #fff; padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23E3B95E' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='18'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E"); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: var(--fs-h2); }
.page-hero p { color: rgba(255,255,255,.85); margin: 12px 0 0; }
.crumbs { font-size: .98rem; color: var(--gold-bright); margin-bottom: 14px; }
.crumbs a { color: var(--gold-bright); }
.legal { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter); }
.legal h2 { font-size: 1.7rem; margin: 40px 0 12px; color: var(--maroon-deep); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal .callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 0 0 28px; }
.legal .callout p:last-child { margin: 0; }
.header--simple .wrap { justify-content: space-between; }
.footer--simple .footer__bottom { border-top: 0; }
.notfound { text-align: center; padding: clamp(72px, 12vw, 140px) var(--gutter); }
.notfound img { width: 110px; height: 110px; margin: 0 auto 24px; }
.notfound h1 { font-size: var(--fs-h2); margin-bottom: 12px; }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.notfound .btn-row { justify-content: center; }
