/* ============================================================
   Hoa Mặt Trời — Public site layer
   Outward-facing marketing + donation site.
   Builds on colors_and_type.css + reuses hmt.css components
   (.btn, .card, .pill, .banner …). This file adds the public
   shell: top nav + footer, hero, sections, motifs.
   ============================================================ */

/* ---------- Page frame ---------- */
:root { --site-max: 1200px; --nav-h: 70px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.site { background: var(--app-bg); color: var(--ink); }
body.site p { color: #404a59; }

.wrap { width: 100%; max-width: var(--site-max); margin: 0 auto; padding: 0 var(--s7); }
@media (max-width: 700px) { .wrap { padding: 0 var(--s5); } }

.section { padding: var(--s10) 0; }
.section--tight { padding: var(--s9) 0; }
@media (max-width: 700px) { .section { padding: var(--s9) 0; } }

.section-eyebrow {
  font-family: var(--font-ui); font-weight: 700; font-size: var(--t-xs);
  letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--teal); display: inline-flex; align-items: center; gap: var(--s2);
  margin-bottom: var(--s4);
}
.section-eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--sunflower-deep); border-radius: 2px;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--navy); line-height: var(--lh-tight); }
.section-lead { font-size: var(--t-lg); color: #4a5462; max-width: 60ch; margin-top: var(--s4); line-height: var(--lh-base); }
.section-head--center { text-align: center; }
.section-head--center .section-eyebrow { justify-content: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   TOP NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,246,239,.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  height: var(--nav-h); display: flex; align-items: center; gap: var(--s6);
  max-width: var(--site-max); margin: 0 auto; padding: 0 var(--s7);
}
@media (max-width: 700px) { .site-header__inner { padding: 0 var(--s5); } }

.brand { display: inline-flex; align-items: center; gap: var(--s3); flex: none; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { height: 42px; width: 42px; display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--navy); letter-spacing: .005em; }
.brand__sub { font-family: var(--font-ui); font-weight: 600; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
@media (max-width: 420px) { .brand__name { font-size: 1.05rem; } .brand__mark { height: 38px; width: 38px; } }

.site-nav { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.nav-link {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--t-base);
  color: #3a4350; padding: 8px 12px; border-radius: var(--r-sm);
  text-decoration: none; transition: color .14s, background .14s; white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: rgba(42,42,114,.06); text-decoration: none; }
.nav-link.is-current { color: var(--teal-deep); }
.nav-link.is-current::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--sunflower); margin: 3px 12px -1px;
}
.nav-donate { margin-left: var(--s3); }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); color: var(--navy); cursor: pointer;
}
.nav-toggle .ico { width: 22px; height: 22px; }

/* mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0; z-index: 55;
  background: rgba(247,246,239,.98); backdrop-filter: blur(6px);
  padding: var(--s6) var(--s5) var(--s8);
  flex-direction: column; gap: var(--s2);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu .nav-link {
  font-size: var(--t-h3); font-family: var(--font-display); color: var(--navy);
  padding: var(--s4) var(--s3); border-bottom: 1px solid var(--hairline);
  border-radius: 0;
}
.mobile-menu .nav-link.is-current::after { display: none; }
.mobile-menu .nav-link.is-current { color: var(--teal-deep); }
.mobile-menu .btn { margin-top: var(--s5); justify-content: center; }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: flex; }
}

/* ============================================================
   HERO  (two directions, toggled on home)
   ============================================================ */
.hero { position: relative; overflow: hidden; }

/* Direction A — editorial split on cream */
.hero-a { padding: var(--s10) 0 var(--s9); }
.hero-a__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s9);
  align-items: center;
}
.hero-a__eyebrow { margin-bottom: var(--s5); }
.hero-a__title {
  font-family: var(--font-display); font-weight: 600; color: var(--navy);
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em;
  text-wrap: balance;
}
.hero-a__title em { font-style: italic; color: var(--teal-deep); }
.hero-a__lead { font-size: var(--t-lg); color: #4a5462; max-width: 46ch; margin-top: var(--s5); }
.hero-a__values {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6);
  font-family: var(--font-display); color: var(--navy); font-size: var(--t-lg);
}
.hero-a__values span { display: inline-flex; align-items: center; gap: var(--s3); }
.hero-a__cta { margin-top: var(--s7); }
.hero-a__media { position: relative; }
.hero-a__media image-slot { width: 100%; aspect-ratio: 4/5; }
.hero-a__media-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s7) var(--s6) var(--s5);
  font-family: var(--font-display); color: #fff; font-size: var(--t-lg); line-height: var(--lh-snug);
  background: linear-gradient(to top, rgba(213,150,12,.86), rgba(213,150,12,.34) 55%, transparent);
  border-radius: 0 0 var(--r-xl) var(--r-xl); pointer-events: none; text-shadow: 0 1px 12px rgba(80,50,0,.4);
}

@media (max-width: 880px) {
  .hero-a__grid { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-a__media image-slot { aspect-ratio: 16/11; }
}

/* Direction B — full-bleed photo with protection wash + overlaid caption */
.hero-b { position: relative; }
.hero-b__media { position: relative; }
.hero-b__media image-slot { width: 100%; height: clamp(520px, 78vh, 760px); display: block; }
.hero-b__wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(35,35,97,.72) 0%, rgba(35,35,97,.30) 42%, rgba(35,35,97,0) 68%),
    linear-gradient(to top, rgba(213,150,12,.42), transparent 46%);
}
.hero-b__inner {
  position: absolute; inset: 0; display: flex; align-items: center;
}
.hero-b__inner .wrap { width: 100%; }
.hero-b__copy { max-width: 40ch; }
.hero-b__eyebrow { color: var(--sunflower); margin-bottom: var(--s5); }
.hero-b__eyebrow::before { background: var(--sunflower); }
.hero-b__title {
  font-family: var(--font-display); color: #fff; font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(20,16,40,.45);
}
.hero-b__title em { font-style: italic; color: var(--sunflower); }
.hero-b__lead {
  color: rgba(255,255,255,.92); font-size: var(--t-lg); margin-top: var(--s5); max-width: 42ch;
  text-shadow: 0 1px 16px rgba(20,16,40,.5);
}
.hero-b__cta { margin-top: var(--s7); }
@media (max-width: 700px) {
  .hero-b__media image-slot { height: 600px; }
}

/* hero direction switch (home only) */
.hero-switch {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
}
.hero-switch__label { font-size: var(--t-xs); color: var(--muted); font-weight: 600; padding: 0 var(--s2) 0 var(--s3); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hero-switch button { white-space: nowrap; }
.hero-switch button {
  border: none; background: none; cursor: pointer; font: inherit; font-weight: 600;
  font-size: var(--t-sm); color: var(--muted); padding: 5px 14px; border-radius: var(--r-pill);
  transition: background .14s, color .14s;
}
.hero-switch button.is-active { background: var(--navy); color: #fff; }
.hero-switch-wrap { display: flex; justify-content: center; padding: var(--s5) 0 0; }

/* ============================================================
   STATS BAND — "one number that grows"
   ============================================================ */
.stats {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.stats::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, rgba(254,209,56,.22), transparent 68%);
}
.stats__inner { padding: var(--s9) 0; position: relative; }
.stats__lead-grid { display: grid; grid-template-columns: 1fr; gap: var(--s7); }
.stats__hero-num { display: flex; align-items: baseline; gap: var(--s4); flex-wrap: wrap; }
.stats__hero-num .num {
  font-family: var(--font-display); font-weight: 600; color: var(--sunflower);
  font-size: clamp(3.2rem, 9vw, 5.5rem); line-height: .9; letter-spacing: -.02em;
}
.stats__hero-num .cap { color: rgba(255,255,255,.86); font-size: var(--t-lg); max-width: 24ch; }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s8); }
.stat { padding-top: var(--s4); border-top: 2px solid rgba(254,209,56,.5); }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.4rem); color: #fff; line-height: 1; }
.stat__num.is-pending { color: rgba(255,255,255,.7); font-size: var(--t-h3); }
.stat__label { color: rgba(255,255,255,.78); font-size: var(--t-sm); margin-top: var(--s2); }
.stats__note { color: rgba(255,255,255,.6); font-size: var(--t-sm); margin-top: var(--s7); }
@media (max-width: 700px) {
  .stats__row { grid-template-columns: 1fr; gap: var(--s5); }
}

/* ============================================================
   PROGRAMME CARDS
   ============================================================ */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
@media (max-width: 880px) { .prog-grid { grid-template-columns: 1fr; } }

.prog-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); padding: var(--s7) var(--s6) var(--s6);
  display: flex; flex-direction: column; gap: var(--s3);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.prog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--cream-deep); }
.prog-card__idx {
  font-family: var(--font-mono); font-size: var(--t-sm); color: var(--teal); font-weight: 600;
  letter-spacing: .1em;
}
.prog-card__petal { width: 34px; height: 34px; margin-bottom: var(--s2); }
.prog-card__title { font-family: var(--font-display); font-size: var(--t-h3); color: var(--navy); }
.prog-card__body { color: #4a5462; font-size: var(--t-base); margin: 0; }
.prog-card__more {
  margin-top: auto; padding-top: var(--s4); font-weight: 600; font-size: var(--t-sm);
  color: var(--teal-deep); display: inline-flex; align-items: center; gap: 5px;
}
.prog-card__more .ico { width: 15px; height: 15px; }

/* ============================================================
   8-PETAL MODEL
   ============================================================ */
.petal-flower-wrap { display: flex; justify-content: center; margin-bottom: var(--s8); }
.petal-flower { width: min(280px, 70vw); height: auto; }

.petal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5);
}
@media (max-width: 920px) { .petal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .petal-grid { grid-template-columns: 1fr; } }

.petal-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  box-shadow: var(--sh-1); padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s3);
  border-top: 3px solid var(--petal-c, var(--sunflower));
  transition: transform .14s ease, box-shadow .14s ease;
}
.petal-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.petal-card__num {
  width: 30px; height: 30px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: var(--t-base);
  background: var(--petal-soft, var(--cream)); color: var(--petal-c, var(--navy));
}
.petal-card__label { font-family: var(--font-display); font-size: var(--t-h3); color: var(--navy); line-height: var(--lh-snug); }
.petal-card__body { color: #4a5462; font-size: var(--t-sm); margin: 0; line-height: var(--lh-base); }

/* ============================================================
   STORY CARDS
   ============================================================ */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
@media (max-width: 880px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .story-grid { grid-template-columns: 1fr; } }

.story-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column;
}
.story-card__media { position: relative; }
.story-card__media image-slot { width: 100%; aspect-ratio: 3/2; display: block; }
.story-card__tag {
  position: absolute; top: var(--s3); left: var(--s3);
  background: rgba(255,255,255,.92); color: var(--navy); font-weight: 600;
  font-size: var(--t-xs); padding: 4px 10px; border-radius: var(--r-pill);
  letter-spacing: .03em;
}
.story-card__body { padding: var(--s5) var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.story-card__meta { font-size: var(--t-sm); color: var(--muted); display: flex; align-items: center; gap: var(--s2); }
.story-card__title { font-family: var(--font-display); font-size: var(--t-h3); color: var(--navy); line-height: var(--lh-snug); }
.story-card__excerpt { color: #4a5462; font-size: var(--t-base); margin: 0; }
.story-card__link { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s4); color: var(--teal-deep); font-weight: 600; font-size: var(--t-sm); }
.story-card__link:hover { gap: var(--s3); text-decoration: none; }

/* documentary photo + caption with protection wash */
.figure { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.figure image-slot { display: block; width: 100%; }
.figure__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s8) var(--s6) var(--s5);
  background: linear-gradient(to top, rgba(213,150,12,.88), rgba(213,150,12,.30) 55%, transparent);
  color: #fff; font-family: var(--font-display); font-size: var(--t-h3); line-height: var(--lh-snug);
  text-shadow: 0 1px 14px rgba(80,50,0,.45);
}

/* featured story (home) */
.feature {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s8); align-items: center;
}
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: var(--s6); } }
.feature__media image-slot { width: 100%; aspect-ratio: 4/3; }
.feature__quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  color: var(--navy); line-height: var(--lh-snug); text-wrap: balance;
}
.feature__byline { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s5); }

/* ============================================================
   TEASERS  (donate + transparency on home)
   ============================================================ */
.teaser-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s6); }
@media (max-width: 880px) { .teaser-grid { grid-template-columns: 1fr; } }

.teaser {
  border-radius: var(--r-xl); padding: var(--s8); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--s4);
}
.teaser--donate {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff;
}
.teaser--donate::after {
  content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(254,209,56,.26), transparent 68%);
}
.teaser--donate h2 { color: #fff; }
.teaser--donate p { color: rgba(255,255,255,.86); position: relative; }
.teaser--transp { background: var(--cream); border: 1px solid var(--cream-deep); }
.teaser--transp h2 { color: var(--navy); }
.teaser--transp p { color: #5a5536; }
.teaser__eyebrow { color: inherit; }
.teaser h2 { font-size: var(--t-h2); }
.teaser .btn-row { margin-top: auto; position: relative; padding-top: var(--s4); }

/* ============================================================
   WHAT WE DO (intro band)
   ============================================================ */
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s9); align-items: start; }
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; gap: var(--s6); } }
.intro-points { display: flex; flex-direction: column; gap: var(--s5); }
.intro-point { display: flex; gap: var(--s4); align-items: flex-start; }
.intro-point__mark {
  width: 38px; height: 38px; flex: none; border-radius: var(--r-pill);
  background: var(--cream); display: inline-flex; align-items: center; justify-content: center;
  color: var(--sunflower-deep);
}
.intro-point__mark .ico { width: 19px; height: 19px; }
.intro-point h3 { font-size: var(--t-h3); color: var(--navy); margin-bottom: 3px; }
.intro-point p { margin: 0; color: #4a5462; font-size: var(--t-base); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { padding: var(--s9) 0 var(--s7); position: relative; overflow: hidden; }
.page-hero--cream { background: var(--cream); border-bottom: 1px solid var(--cream-deep); }
.page-hero__eyebrow { margin-bottom: var(--s4); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--navy); line-height: 1.08; }
.page-hero__lead { font-size: var(--t-lg); color: #4a5462; max-width: 58ch; margin-top: var(--s4); }
.page-hero__petal { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 150px; opacity: .9; pointer-events: none; }
@media (max-width: 760px) { .page-hero__petal { display: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #c9caea;
}
.site-footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--s8);
  padding: var(--s10) 0 var(--s8);
}
@media (max-width: 880px) { .site-footer__top { grid-template-columns: 1fr 1fr; gap: var(--s7); } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

.footer-brand img { height: 64px; width: auto; margin-bottom: var(--s4); }
.footer-brand p { color: rgba(255,255,255,.72); font-size: var(--t-base); max-width: 34ch; }
.footer-values {
  display: flex; gap: var(--s4); margin-top: var(--s5); font-family: var(--font-display);
  color: var(--sunflower); font-size: var(--t-base); flex-wrap: wrap;
}
.footer-values span { display: inline-flex; align-items: center; gap: var(--s2); }
.footer-values span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.footer-values span:first-child::before { display: none; }

.footer-col h4 { font-family: var(--font-ui); font-size: var(--t-xs); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; margin-bottom: var(--s4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a, .footer-col li { color: rgba(255,255,255,.82); font-size: var(--t-base); text-decoration: none; }
.footer-col a:hover { color: var(--sunflower); text-decoration: none; }
.footer-contact-line { display: flex; align-items: flex-start; gap: var(--s3); color: rgba(255,255,255,.82); font-size: var(--t-base); }
.footer-contact-line .ico { width: 16px; height: 16px; color: var(--sunflower); flex: none; margin-top: 3px; }
.footer-contact-line .todo { color: rgba(255,255,255,.5); font-style: italic; }
.footer-donate-btn { margin-top: var(--s5); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: var(--s5) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: var(--t-sm);
}
.site-footer__bottom a { color: rgba(255,255,255,.78); }

/* ============================================================
   MOTIF HELPERS
   ============================================================ */
.motif-watermark { position: absolute; pointer-events: none; opacity: .06; }
.sparkle { display: inline-block; vertical-align: middle; }

/* copy-row used on donate + contact */
.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: var(--s3) var(--s4);
}
.copy-row__label { font-size: var(--t-xs); color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.copy-row__value { font-family: var(--font-mono); font-size: var(--t-base); color: var(--navy); font-weight: 600; word-break: break-all; }
.copy-row__value--text { font-family: var(--font-ui); }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  color: var(--teal-deep); font: inherit; font-weight: 600; font-size: var(--t-sm);
  padding: 7px 12px; cursor: pointer; transition: .14s;
}
.copy-btn:hover { background: var(--teal-soft); border-color: var(--teal); }
.copy-btn.is-copied { background: var(--ok-bg); color: var(--ok-fg); border-color: var(--ok-bd); }
.copy-btn .ico { width: 15px; height: 15px; }

/* programme detail bullet points */
.prog-points { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.prog-points li { display: flex; gap: var(--s3); align-items: flex-start; color: #404a59; font-size: var(--t-base); }
.prog-points .ico { width: 20px; height: 20px; flex: none; color: var(--teal); background: var(--teal-soft); border-radius: var(--r-pill); padding: 3px; margin-top: 1px; }
.prog-stats { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3); }
.prog-stats li { background: var(--cream); border: 1px solid var(--cream-deep); border-radius: var(--r-sm); padding: var(--s2) var(--s4); font-size: var(--t-sm); color: #404a59; }
.prog-stats li b { display: block; font-family: var(--font-display); font-size: var(--t-h3); color: var(--teal-deep); line-height: 1.1; }

/* brand quote card (modeled on stream-b reference) */
.quote-card {
  position: relative; max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl);
  box-shadow: var(--sh-1); padding: var(--s10) var(--s8) var(--s9);
}
.quote-card__text {
  font-family: var(--font-display); color: var(--navy); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: var(--lh-snug); text-wrap: balance;
  max-width: 22ch; margin: 0 auto;
  position: relative; padding: var(--s6) var(--s4);
}
.quote-card__text::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: min(110%, 560px); height: 100%;
  border: 1.5px solid var(--navy-300); border-radius: 50%; opacity: .5; pointer-events: none;
}
.quote-card__sparkle { position: absolute; }
.quote-card__sparkle--tl { top: 26%; left: 16%; }
.quote-card__sparkle--br { bottom: 30%; right: 17%; }
.quote-card__petal3 { width: 46px; height: auto; margin-top: var(--s6); }
@media (max-width: 560px) {
  .quote-card { padding: var(--s8) var(--s5) var(--s7); }
  .quote-card__text::before { width: 120%; }
  .quote-card__sparkle--tl { left: 6%; } .quote-card__sparkle--br { right: 7%; }
}

/* ---- Transparency page ---- */
.grid-allocation { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); margin-top: var(--s7); }
@media (max-width: 920px) { .grid-allocation { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-allocation { grid-template-columns: 1fr; } }
.alloc-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start;
}
.alloc-card__ico { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--cream); color: var(--sunflower-deep); display: inline-flex; align-items: center; justify-content: center; }
.alloc-card__ico .ico { width: 22px; height: 22px; }
.alloc-card h3 { font-size: var(--t-h3); color: var(--navy); }
.alloc-card p { color: #4a5462; font-size: var(--t-sm); margin: 0; flex: 1; }

.report-list { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s7); }
.report-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  box-shadow: var(--sh-1); padding: var(--s4) var(--s5);
}
.report-row__main { display: flex; align-items: center; gap: var(--s4); min-width: 0; }
.report-row__ico { width: 40px; height: 40px; flex: none; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--hairline); color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; }
.report-row__title { font-size: var(--t-h3); color: var(--navy); }
.report-row__meta { color: var(--muted); font-size: var(--t-sm); margin: 2px 0 0; }
@media (max-width: 560px) { .report-row { flex-direction: column; align-items: flex-start; gap: var(--s3); } }

.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
@media (max-width: 920px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promise-grid { grid-template-columns: 1fr; } }
.promise { text-align: center; padding: var(--s5); }
.promise__ico { width: 52px; height: 52px; margin: 0 auto var(--s4); border-radius: var(--r-pill); background: var(--teal-soft); color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; }
.promise__ico .ico { width: 24px; height: 24px; }
.promise h3 { font-size: var(--t-h3); color: var(--navy); margin-bottom: 6px; }
.promise p { color: #4a5462; font-size: var(--t-sm); margin: 0; }

/* ---- Donate page ---- */
.donate-wrap { max-width: 820px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--s5); padding-bottom: var(--s8); position: relative; }
.step:not(.step--last)::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px;
  background: linear-gradient(var(--cream-deep), var(--hairline)); border-radius: 2px;
}
.step__num {
  width: 54px; height: 54px; border-radius: var(--r-pill); flex: none; z-index: 1;
  background: var(--sunflower); color: var(--navy);
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-1);
}
.step__body { padding-top: 4px; min-width: 0; }
.step__title { font-size: var(--t-h2); color: var(--navy); }
.step__hint { color: #4a5462; font-size: var(--t-base); margin: var(--s2) 0 var(--s5); max-width: 56ch; }

.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 560px) { .amount-grid { grid-template-columns: repeat(2, 1fr); } }
.amount-opt {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--t-lg);
  padding: var(--s4); border-radius: var(--r-md); cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--hairline); color: var(--navy);
  transition: border-color .14s, background .14s, box-shadow .14s; text-align: center;
}
.amount-opt:hover { border-color: var(--sunflower-deep); background: var(--surface-2); }
.amount-opt.is-active { border-color: var(--sunflower-deep); background: var(--cream); box-shadow: var(--focus-ring); }
.amount-opt--custom { color: var(--teal-deep); }

.custom-amount { margin-top: var(--s4); max-width: 320px; }
.custom-amount > label { display: block; font-weight: 600; font-size: var(--t-sm); color: var(--navy); margin-bottom: 6px; }
.custom-amount__field { position: relative; }
.custom-amount__field .input { padding-right: 34px; font-size: var(--t-lg); font-weight: 600; }
.custom-amount__unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }

.amount-summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: var(--navy); color: #fff; border-radius: var(--r-md);
  padding: var(--s4) var(--s5); margin-bottom: var(--s5);
}
.amount-summary span { color: rgba(255,255,255,.78); font-size: var(--t-base); }
.amount-summary strong { font-family: var(--font-display); font-size: var(--t-h2); color: var(--sunflower); font-weight: 600; }

.pay-grid { display: grid; grid-template-columns: auto 1fr; gap: var(--s6); align-items: start; }
@media (max-width: 640px) { .pay-grid { grid-template-columns: 1fr; } }

.qr-panel { text-align: center; }
.qr-frame {
  width: 272px; max-width: 100%; aspect-ratio: 1; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); padding: var(--s4);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.qr-fallback { color: var(--muted); padding: var(--s5); }
.qr-fallback .ico { width: 40px; height: 40px; color: var(--faint); margin-bottom: var(--s3); }
.qr-fallback p { font-size: var(--t-sm); margin: 0; }
.qr-panel__cap { margin-top: var(--s3); font-size: var(--t-sm); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.qr-panel__cap .ico { width: 15px; height: 15px; color: var(--teal); }

.bank-panel { display: flex; flex-direction: column; gap: var(--s3); }
.bank-panel__label { font-size: var(--t-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.bank-line { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: var(--s3) var(--s4); }
.bank-panel__note { display: flex; align-items: flex-start; gap: var(--s2); font-size: var(--t-sm); color: var(--muted); margin: var(--s1) 0 0; }
.bank-panel__note .ico { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--teal); }

.after-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s5); }
.after-list li { display: flex; gap: var(--s4); align-items: flex-start; }
.after-list__ico { width: 42px; height: 42px; flex: none; border-radius: var(--r-pill); background: var(--teal-soft); color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; }
.after-list__ico .ico { width: 20px; height: 20px; }
.after-list h3 { font-size: var(--t-h3); color: var(--navy); margin-bottom: 2px; }
.after-list p { color: #4a5462; font-size: var(--t-base); margin: 0; }
.todo-inline { color: var(--faint); font-style: italic; }

.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5);
  margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--hairline);
}
.trust-row__item { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--navy); }
.trust-row__item .ico { width: 16px; height: 16px; color: var(--teal); }
.trust-row__link { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: var(--t-sm); color: var(--teal-deep); }
.trust-row__link .ico { width: 15px; height: 15px; }

/* ---- Contact page ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s8); align-items: start; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; gap: var(--s6); } }
.contact-details { display: flex; flex-direction: column; gap: var(--s3); }
.contact-item {
  display: flex; align-items: center; gap: var(--s4);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md);
  box-shadow: var(--sh-1); padding: var(--s4) var(--s5); text-decoration: none; color: inherit;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}
a.contact-item:hover { border-color: var(--cream-deep); box-shadow: var(--sh-2); transform: translateY(-1px); text-decoration: none; }
.contact-item__ico { width: 42px; height: 42px; flex: none; border-radius: var(--r-sm); background: var(--cream); color: var(--sunflower-deep); display: inline-flex; align-items: center; justify-content: center; }
.contact-item__ico .ico { width: 20px; height: 20px; }
.contact-item__text { display: flex; flex-direction: column; min-width: 0; }
.contact-item__label { font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.contact-item__value { font-weight: 600; color: var(--navy); font-size: var(--t-base); word-break: break-word; }
.contact-item__value.todo { color: var(--faint); font-weight: 500; font-style: italic; }
.contact-item__arrow { width: 16px; height: 16px; color: var(--muted); margin-left: auto; flex: none; }

.contact-form-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl);
  box-shadow: var(--sh-2); padding: var(--s7);
}
@media (max-width: 560px) { .contact-form-card { padding: var(--s5); } }

/* skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .16s;
}
.skip-link:focus { top: 12px; text-decoration: none; color: #fff; }
