/* ==========================================================================
   Roti Foundation — Main Stylesheet (single CSS for all pages)
   Libraries used alongside: AOS, GSAP, Swiper, Font Awesome
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
@property --card-bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #faf7f2;
}

:root {
  --navy-900: #021f38;
  --navy-800: #042c48;
  --navy-700: #0b3758;
  --navy-600: #154566;
  --navy-text: #0a2342;
  --ink: #1b2a3a;
  --muted: #3a4757;

  --gold-500: #d09420;
  --gold-400: #dba43b;
  --gold-300: #e6c37d;
  --gold-200: #f1dcaa;
  --gold-grad: linear-gradient(135deg, #e7b54e 0%, #d39a2a 55%, #c4871a 100%);

  --cream: #faf6f1;
  --cream-2: #faf7f2;
  --cream-3: #f9f5ec;
  --sky: #eef6fc;
  --white: #ffffff;
  --line: #e6e1d8;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(10, 35, 66, 0.06);
  --shadow: 0 10px 30px rgba(10, 35, 66, 0.08);
  --shadow-lg: 0 22px 45px rgba(10, 35, 66, 0.16);

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --container: 100%; /* full-width layout: content runs edge to edge (only the gutter remains) */
  --gutter: clamp(20px, 3vw, 64px); /* fluid side padding: 20px on phones, up to 64px on big screens */
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
main { overflow-x: clip; } /* AOS slide-ins never cause sideways scroll */
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: none; /* full width */
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Slim scrollbars (page + every scrolling element) */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(208, 148, 32, 0.55); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }
::-webkit-scrollbar-corner { background: transparent; }
/* Firefox (no ::-webkit-scrollbar support) */
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: rgba(208, 148, 32, 0.6) transparent; }
}

/* ---------- 3. Buttons ---------- */
.btn {
  --btn-pad-y: 13px;
  --btn-pad-x: 30px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  border: 2px solid transparent;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s, border-color 0.35s, background 0.35s;
}
.btn i { transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .fa-arrow-right { transform: translateX(5px); }
.btn:hover .fa-heart { animation: heartBeat 0.9s ease-in-out infinite; }

.btn--gold {
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 8px 18px rgba(208, 148, 32, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--gold::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #c4871a 0%, #e7b54e 100%);
  opacity: 0;
  transition: opacity 0.35s;
}
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn--gold:hover { box-shadow: 0 14px 28px rgba(208, 148, 32, 0.42); }
.btn--gold:hover::before { opacity: 1; }
.btn--gold:hover::after { left: 130%; }

/* Blinking / highlighted "Donate Now" (header + footer) */
.btn--blink { animation: donateGlow 1.6s ease-in-out infinite; }
.btn--blink::after { animation: donateShine 2.4s ease-in-out infinite; }
.btn--blink .fa-heart { animation: heartBeat 0.9s ease-in-out infinite; }
.btn--blink:hover { animation-play-state: paused; }
@keyframes donateGlow {
  0%, 100% {
    box-shadow: 0 8px 18px rgba(208, 148, 32, 0.32), 0 0 0 0 rgba(230, 195, 125, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 10px 26px rgba(208, 148, 32, 0.55), 0 0 0 9px rgba(230, 195, 125, 0), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    filter: brightness(1.15);
  }
}
@keyframes donateShine {
  0%, 40% { left: -75%; }
  80%, 100% { left: 130%; }
}

.btn--outline {
  color: var(--navy-text);
  background: var(--white);
  border-color: var(--navy-800);
}
.btn--outline::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--navy-800);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn--outline:hover { color: var(--white); box-shadow: 0 12px 24px rgba(4, 44, 72, 0.2); }
.btn--outline:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--sm { --btn-pad-y: 9px; --btn-pad-x: 22px; font-size: 15px; }

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.22); }
  50% { transform: scale(0.95); }
}

/* ---------- 4. Shared typography ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.eyebrow--lined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.eyebrow--lined::before,
.eyebrow--lined::after {
  content: "";
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b9b2a6);
}
.eyebrow--lined::after { background: linear-gradient(90deg, #b9b2a6, transparent); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy-text);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.005em;
}

/* gold brush-stroke underline */
.swoosh {
  position: absolute;
  pointer-events: none;
  color: var(--gold-500);
}
.swoosh svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ==========================================================================
   5. HEADER (common)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  transition: box-shadow 0.35s, background 0.35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(10, 35, 66, 0.09);
}

/* Tax-exemption notice (very top of every page) */
.tax-notice {
  background: var(--gold-grad);
  color: var(--navy-900);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
}
.tax-notice__track {
  display: flex;
  width: max-content;
  animation: taxTicker 32s linear infinite;
}
.tax-notice:hover .tax-notice__track { animation-play-state: paused; }
.tax-notice__group { display: flex; flex-shrink: 0; }
.tax-notice__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding-left: 32px;
  white-space: nowrap;
}
.tax-notice__item::after { /* separator dot between messages */
  content: "";
  width: 5px; height: 5px;
  margin-left: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  opacity: 0.45;
}
.tax-notice i { font-size: 13px; flex-shrink: 0; }
.tax-notice strong { font-weight: 800; }
@keyframes taxTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 575px) {
  .tax-notice { font-size: 12px; }
  .tax-notice__item { min-height: 30px; }
  .tax-notice__track { animation-duration: 26s; }
}
@media (prefers-reduced-motion: reduce) { /* no scrolling: show messages stacked */
  .tax-notice__track { width: auto; justify-content: center; }
  .tax-notice__group { flex-direction: column; align-items: center; padding: 4px 16px; }
  .tax-notice__group[aria-hidden="true"] { display: none; }
  .tax-notice__item { white-space: normal; text-align: center; padding: 2px 0; min-height: 0; }
  .tax-notice__item::after { display: none; }
}

/* Top bar (above the sticky header) */
.topbar {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  line-height: 1.3;
  background:
    radial-gradient(ellipse 40% 140% at 100% 50%, rgba(208, 148, 32, 0.22), transparent 70%),
    linear-gradient(90deg, var(--navy-900), var(--navy-800));
}
.topbar::after { /* thin gold hairline */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(219, 164, 59, 0.7) 30%, rgba(219, 164, 59, 0.7) 70%, transparent);
  opacity: 0.55;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  min-height: 44px;
}
.topbar__info { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 28px; }
.topbar__info li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar__info i { font-size: 12.5px; color: var(--gold-300); }
.topbar__info a { transition: color 0.3s; }
.topbar__info a:hover { color: var(--gold-300); }
.topbar__info li + li { position: relative; }
.topbar__info li + li::before {
  content: "";
  position: absolute;
  left: -15px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%);
}

.topbar__right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.topbar__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-300); transition: color 0.3s; }
.topbar__link i { transition: transform 0.4s var(--ease); }
.topbar__link:hover { color: var(--white); }
.topbar__link:hover i { transform: translateY(-2px) rotate(-8deg); }
.topbar__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.22); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.topbar__social a:hover { color: var(--white); background: var(--gold-grad); transform: translateY(-2px); }

@media (max-width: 991px) {
  .topbar__addr { display: none !important; }
}
@media (max-width: 767px) {
  .topbar__link, .topbar__sep { display: none; }
}
@media (max-width: 575px) {
  .topbar { font-size: 12.5px; }
  .topbar__inner { min-height: 40px; }
  .topbar__info li:first-child { display: none; } /* phone only on small screens */
  .topbar__social { gap: 4px; }
  .topbar__social a { width: 26px; height: 26px; font-size: 11.5px; }
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  max-width: none; /* full width */
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__img {
  display: block;
  width: auto;
  height: 72px;
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo__img { transform: scale(1.03); }
.logo:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 4px; border-radius: 10px; }

.header-divider {
  width: 1px;
  height: 36px;
  background: #cfd5dc;
  margin: 0 46px 0 48px;
  flex-shrink: 0;
}

/* Nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 860px;
  margin-inline: auto; /* centre the menu between logo and Donate button */
}
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 28px 4px;
  font-size: 15.5px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--navy-text);
  transition: color 0.3s;
}
.nav-link .fa-chevron-down { font-size: 10px; transition: transform 0.3s; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold-500);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.35s var(--ease);
}
.nav-link:hover,
.nav-item.is-active > .nav-link { color: var(--navy-800); }
.nav-link:hover::after,
.nav-item.is-active > .nav-link::after { transform: translateX(-50%) scaleX(1); }
.nav-item:hover > .nav-link .fa-chevron-down { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: -18px;
  min-width: 230px;
  padding: 8px 0;
  background: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold-500);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-text);
  transition: background 0.25s, color 0.25s, padding 0.25s, box-shadow 0.25s;
}
.dropdown a + a { border-top: 1px solid #f3eee5; }
.dropdown a i { color: var(--gold-500); width: 18px; text-align: center; }
.dropdown a:hover { background: var(--cream); color: var(--gold-500); padding-left: 26px; box-shadow: inset 3px 0 0 var(--gold-500); }

.header-cta { margin-left: 42px; flex-shrink: 0; }
.header-cta .btn { --btn-pad-y: 12px; --btn-pad-x: 30px; font-size: 16px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy-800);
  font-size: 20px;
}
.nav-close, .nav-head { display: none; }
.nav-backdrop { display: none; }

/* ==========================================================================
   6. HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero-swiper { width: 100%; }
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 40vw, 720px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.hero-slide__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  transform: scale(1.12);
  transition: transform 7s linear;
  will-change: transform;
}
.hero-slide.swiper-slide-active .hero-slide__bg img { transform: scale(1); }
.hero-slide::before { /* legibility overlay */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 70% at 90% 20%, rgba(208, 148, 32, 0.18), transparent 70%),
    linear-gradient(90deg, rgba(2, 31, 56, 0.92) 0%, rgba(4, 44, 72, 0.78) 34%, rgba(4, 44, 72, 0.35) 62%, rgba(4, 44, 72, 0.08) 100%),
    linear-gradient(0deg, rgba(2, 31, 56, 0.55) 0%, transparent 30%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 70px 130px;
}
.hero__text { max-width: 560px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-200);
}
.hero__eyebrow i { color: var(--gold-400); }

.hero__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--white);
  margin-bottom: 34px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 4px; }
.hero__title .line > span { display: inline-block; }
.hero__title .swoosh {
  left: 34%;
  bottom: -16px;
  width: 52%;
  height: 16px;
}

.hero__lead {
  font-size: clamp(16px, 1.32vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__actions .btn { min-width: 210px; }
.hero__actions .fa-circle-play { font-size: 17px; }
.hero .btn--outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
}
.hero .btn--outline::before { background: var(--white); }
.hero .btn--outline:hover { color: var(--navy-text); border-color: var(--white); }

/* slide-in of the active slide's text (only once Swiper is running) */
.hero-swiper.swiper-initialized .hero__eyebrow,
.hero-swiper.swiper-initialized .hero__lead,
.hero-swiper.swiper-initialized .hero__actions { opacity: 0; transform: translateY(26px); }
.hero-swiper.swiper-initialized .hero__title .line > span { transform: translateY(110%); }
.hero-swiper.swiper-initialized .hero__title .swoosh { transform: scaleX(0); transform-origin: left center; }
.hero-swiper.swiper-initialized .hero__eyebrow,
.hero-swiper.swiper-initialized .hero__lead,
.hero-swiper.swiper-initialized .hero__actions,
.hero-swiper.swiper-initialized .hero__title .line > span,
.hero-swiper.swiper-initialized .hero__title .swoosh { transition: opacity 0.4s ease, transform 0.5s ease; }
.hero.is-ready .swiper-slide-active .hero__eyebrow,
.hero.is-ready .swiper-slide-active .hero__lead,
.hero.is-ready .swiper-slide-active .hero__actions,
.hero.is-ready .swiper-slide-active .hero__title .line > span,
.hero.is-ready .swiper-slide-active .hero__title .swoosh {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
.hero.is-ready .swiper-slide-active .hero__eyebrow { transition-delay: 0.15s; }
.hero.is-ready .swiper-slide-active .hero__title .line:nth-child(1) > span { transition-delay: 0.3s; }
.hero.is-ready .swiper-slide-active .hero__title .line:nth-child(2) > span { transition-delay: 0.42s; }
.hero.is-ready .swiper-slide-active .hero__title .swoosh { transition-delay: 0.85s; }
.hero.is-ready .swiper-slide-active .hero__lead { transition-delay: 0.6s; }
.hero.is-ready .swiper-slide-active .hero__actions { transition-delay: 0.75s; }

/* controls */
.hero__controls {
  position: absolute;
  left: 0; right: 0;
  bottom: 74px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}
.hero__controls > * { pointer-events: auto; }
.hero__pagination { position: static !important; width: auto !important; display: flex; align-items: center; gap: 4px; }
.hero__pagination .swiper-pagination-bullet {
  position: relative;
  width: 34px; height: 4px;
  margin: 0 !important;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  overflow: hidden;
  transition: width 0.4s var(--ease);
}
.hero__pagination .swiper-pagination-bullet-active { width: 64px; }
.hero__pagination .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold-400);
  transform-origin: left;
  animation: heroProgress var(--hero-delay, 6s) linear forwards;
}
.hero.is-paused .hero__pagination .swiper-pagination-bullet-active::after { animation-play-state: paused; }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__nav { display: flex; gap: 12px; }
.hero__arrow {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.hero__arrow:hover { background: var(--gold-grad); border-color: transparent; color: var(--navy-900); transform: translateY(-3px); }
.hero__arrow:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }

/* ==========================================================================
   7. FEATURE STRIP
   ========================================================================== */
/* sits BELOW the banner (no overlap) as three soft cards */
.features {
  position: relative;
  padding: clamp(32px, 4vw, 56px) 0 0;
}
.features__bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, var(--cream-2) 100%);
  border: 1px solid #efe7d8;
  box-shadow: 0 8px 24px rgba(10, 35, 66, 0.05);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.feature::after { /* gold accent line that grows on hover */
  content: "";
  position: absolute;
  left: 28px; right: 28px; bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--gold-grad);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold-200); box-shadow: 0 18px 36px rgba(10, 35, 66, 0.1); }
.feature:hover::after { transform: scaleX(1); }
.feature__icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold-500);
  background: rgba(208, 148, 32, 0.12);
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s;
}
.feature:hover .feature__icon { transform: rotate(-6deg) scale(1.05); color: var(--white); background: var(--gold-grad); }
.feature__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-text);
  line-height: 1.25;
  margin-bottom: 4px;
}
.feature__text { font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ==========================================================================
   8. ABOUT
   ========================================================================== */
.about { padding: 34px 0 30px; }
.about__grid {
  display: grid;
  grid-template-columns: 1.56fr 1.18fr 1px 1fr;
  gap: 34px;
  align-items: center;
}

.about__media { position: relative; padding-bottom: 22px; }
.about__img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(10, 35, 66, 0.12);
  aspect-ratio: 373 / 201;
}
.about__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.about__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(4, 44, 72, 0.35));
  opacity: 0;
  transition: opacity 0.6s;
}
.about__media:hover .about__img img { transform: scale(1.07); }
.about__media:hover .about__img::after { opacity: 1; }
.about__media .swoosh {
  left: -6px;
  bottom: 0;
  width: 34%;
  height: 44px;
}

.about__content .eyebrow { margin-bottom: 8px; }
.about__content .section-title {
  font-size: clamp(28px, 2.7vw, 37px);
  margin-bottom: 18px;
}
.about__content p {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 26px;
}

.about__divider { width: 1px; align-self: stretch; background: #e3ddd2; margin-block: 6px; }

.about__cards { display: grid; gap: 18px; }
.mv-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 22px 24px;
  background: var(--cream);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(10, 35, 66, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s;
}
.mv-card__icon {
  font-size: 40px;
  color: var(--gold-500);
  line-height: 1;
  margin-top: 4px;
  transition: transform 0.5s var(--ease);
}
.mv-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-text);
  margin-bottom: 5px;
  transition: transform 0.4s var(--ease), color 0.3s;
}
.mv-card p { font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fdf7ec; }
.mv-card:hover .mv-card__icon { animation: floatIcon 1.6s ease-in-out infinite; }
.mv-card:hover h3 { transform: translateX(4px); color: var(--gold-500); }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-7px) rotate(-6deg); }
}

/* ==========================================================================
   9. PROGRAMS (cards)
   ========================================================================== */
.programs { padding: 20px 0 30px; }
.programs__head { text-align: center; margin-bottom: 26px; }
.programs__head .eyebrow { margin-bottom: 6px; }

.programs-swiper .swiper-slide,
.stories-swiper .swiper-slide { height: auto; }
.stories-swiper .sa-card { height: 100%; } /* home "Real Stories" uses the Support a Life case cards */

.programs-swiper,
.stories-swiper {
  padding: 14px 10px 30px !important;
  margin: -14px -10px -30px !important;
}

.program-card {
  --card-bg: #faf7f2;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: 0 10px 28px rgba(10, 35, 66, 0.09);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), --card-bg 0.5s;
}
.program-card__link { position: absolute; inset: 0; z-index: 6; }

.program-card__media {
  position: relative;
  flex-shrink: 0;
  height: clamp(230px, 18vw, 290px);
  overflow: hidden;
}
.program-card__media img {
  width: 100%;
  height: calc(100% + 48px); /* crops the white shape baked into the bottom of program-*.webp */
  object-fit: cover;
  object-position: center top;
  transition: transform 1.1s var(--ease), filter 0.6s;
}
/* gradient transition */
.program-card__media::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 44, 72, 0) 0%, rgba(4, 44, 72, 0.15) 45%, rgba(208, 148, 32, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
/* overlay reveal */
.program-card__overlay {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 26px;
  background: radial-gradient(circle at center, rgba(4, 44, 72, 0.55), rgba(4, 44, 72, 0.25));
  clip-path: circle(0% at 50% 45%);
  transition: clip-path 0.7s var(--ease);
}
.program-card__overlay span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s 0.15s var(--ease), opacity 0.5s 0.15s;
}

.program-card__body {
  position: relative;
  z-index: 3;
  flex: 1;
  padding: 2px 28px 32px 28px;
  margin-top: -2px;
  background: var(--card-bg);
  min-height: 175px;
}
.program-card__wave {
  position: absolute;
  left: -1px;
  bottom: calc(100% - 3px); /* overlap the body by 3px so no sub-pixel seam shows */
  width: calc(100% + 2px);
  height: 37px;
  display: block;
}
.program-card__wave path { fill: var(--card-bg); }

.program-card__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: -40px;
  margin-bottom: 8px;
  position: relative;
}
.program-card__icon {
  flex-shrink: 0;
  width: clamp(64px, 5vw, 74px); height: clamp(64px, 5vw, 74px);
  margin-left: -10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--gold-500);
  font-size: clamp(26px, 2vw, 30px);
  box-shadow: 0 0 0 5px var(--card-bg), 0 8px 20px rgba(10, 35, 66, 0.12);
  transition: background 0.45s, color 0.45s, box-shadow 0.45s;
}
.program-card__title {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 800;
  color: var(--navy-text);
  line-height: 1.2;
  padding-bottom: 8px;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), color 0.4s, letter-spacing 0.5s var(--ease);
}
.program-card__text {
  margin-top: 6px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  padding-right: 46px;
  transition: transform 0.5s 0.05s var(--ease);
}
.program-card__arrow {
  position: absolute;
  right: 24px;
  bottom: 28px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--navy-text);
  display: grid;
  place-items: center;
  font-size: 14px;
  overflow: hidden;
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease), border-color 0.35s;
}

/* --- program card hover --- */
.program-card:hover {
  --card-bg: #fdf3df;
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.program-card:hover .program-card__media img { transform: scale(1.12) rotate(0.6deg); filter: saturate(1.08); }
.program-card:hover .program-card__media::before { opacity: 1; }
.program-card:hover .program-card__overlay { clip-path: circle(80% at 50% 45%); }
.program-card:hover .program-card__overlay span { transform: translateY(0); opacity: 1; }
.program-card:hover .program-card__icon {
  background: var(--gold-grad);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(208, 148, 32, 0.4);
  animation: floatIcon 1.8s ease-in-out infinite;
}
.program-card:hover .program-card__title { transform: translateX(6px); color: var(--gold-500); letter-spacing: 0.01em; }
.program-card:hover .program-card__text { transform: translateX(3px); }
.program-card:hover .program-card__arrow {
  background: var(--gold-500);
  color: var(--white);
  transform: scale(1.12);
}
.program-card:hover .program-card__arrow i { animation: arrowSlide 0.9s var(--ease) infinite; }

@keyframes arrowSlide {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(16px); opacity: 0; }
  46% { transform: translateX(-16px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   10. IMPACT / STATS
   ========================================================================== */
.impact { padding: 22px 0 8px; }
.impact__band {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  align-items: center;
  padding: 28px 30px 30px 50px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 50% 120% at 55% 30%, rgba(40, 90, 130, 0.45), transparent 70%),
    linear-gradient(100deg, #0a3556 0%, #0e3e62 45%, #0a3354 100%);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(4, 44, 72, 0.22);
}
.impact__band::before { /* soft sheen */
  content: "";
  position: absolute;
  top: -60%; left: -30%;
  width: 40%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: rotate(18deg);
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { left: -40%; } 100% { left: 130%; } }

.impact__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 1.02;
  color: var(--white);
  padding-bottom: 14px;
}
.impact__title .swoosh { left: 37%; bottom: 0; width: 46%; height: 14px; }

.stat {
  position: relative;
  text-align: center;
  padding: 0 10px;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}
.stat__icon {
  font-size: 32px;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 8px;
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.stat:hover .stat__icon { animation: floatIcon 1.6s ease-in-out infinite; }
.stat__num {
  display: block;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.005em;
}
.stat__label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 2px;
}

/* ==========================================================================
   11. STORIES / TESTIMONIALS
   ========================================================================== */
.stories { padding: 22px 0 22px; }
.stories__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.stories__head .eyebrow { font-size: 12.5px; }
.stories__head .section-title { font-size: clamp(28px, 2.6vw, 36px); }
.stories__head .btn { margin-bottom: 4px; }

.story-card {
  margin: 0;
  display: flex;
  height: 100%;
  min-height: 136px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(10, 35, 66, 0.09);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.story-card__img {
  position: relative;
  flex: 0 0 44%;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
}
.story-card__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 1s var(--ease);
}
.story-card__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(208, 148, 32, 0.35));
  opacity: 0;
  transition: opacity 0.5s;
}
.story-card__body { padding: 16px 22px 18px 26px; display: flex; flex-direction: column; justify-content: center; }
.story-card__quote {
  color: var(--gold-500);
  font-size: 20px;
  margin-bottom: 6px;
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.story-card blockquote {
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.38;
  color: var(--navy-text);
}
.story-card cite {
  font-style: normal;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--navy-text);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.45s var(--ease);
}
.story-card cite::before { content: ""; width: 14px; height: 2px; background: var(--gold-500); border-radius: 2px; transition: width 0.45s var(--ease); }

.story-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.story-card:hover .story-card__img img { transform: scale(1.1); }
.story-card:hover .story-card__img::after { opacity: 1; }
.story-card:hover .story-card__quote { animation: floatIcon 1.6s ease-in-out infinite; }
.story-card:hover cite { transform: translateX(4px); }
.story-card:hover cite::before { width: 26px; }

/* ==========================================================================
   12. CTA BAND
   ========================================================================== */
.cta {
  position: relative;
  margin-top: 26px;
  background:
    radial-gradient(ellipse 45% 90% at 85% 50%, #fbf4e3 0%, rgba(251, 244, 227, 0) 70%),
    linear-gradient(90deg, #fbf8f3 0%, #faf6ee 60%, #f8f1e0 100%);
  overflow: hidden;
}
.cta__media {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 50%;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 80%, transparent 100%);
}
.cta__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left 30%;
  transition: transform 1.2s var(--ease);
}
.cta:hover .cta__media img { transform: scale(1.04); }

.cta__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(220px, 15.6vw, 320px);
  display: flex;
  align-items: center;
}
.cta__content {
  margin-left: 47.5%;
  padding: 24px 0 26px;
  max-width: 470px;
}
.cta__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 2.95vw, 40px);
  line-height: 1.02;
  color: var(--navy-text);
  margin-bottom: 18px;
}
.cta__title .swoosh { left: 61%; bottom: -10px; width: 46%; height: 12px; }
.cta__text { font-size: 16px; line-height: 1.45; color: var(--ink); margin-bottom: 18px; max-width: 330px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.cta__actions .btn { min-width: 176px; }
.cta__actions .btn--outline { border-color: #9aa7b4; border-width: 1.5px; }
.cta__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  max-width: 470px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed var(--gold-300);
}
.cta__note i { flex-shrink: 0; margin-top: 3px; color: var(--gold-500); }
.cta__note b { color: var(--navy-text); }

.cta__wheat {
  position: absolute;
  right: 3%;
  top: 50%;
  width: clamp(110px, 11vw, 160px);
  translate: 0 -50%;
  color: #f1d896;
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   13. FOOTER (common)
   ========================================================================== */
.site-footer {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(ellipse 50% 70% at 20% 10%, rgba(30, 80, 120, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 80% at 90% 90%, rgba(3, 15, 48, 0.6), transparent 70%),
    linear-gradient(180deg, #032e4c 0%, #022a47 60%, #03243f 100%);
  overflow: hidden;
}
.site-footer::before { /* faint texture */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.85fr 1fr 1.18fr 1.75fr 1.05fr;
  padding: 22px 0 14px;
}
.footer-col { position: relative; padding: 0 26px; }
.footer-col:first-child { padding-left: 0; padding-right: 30px; }
.footer-col:last-child { padding-right: 0; }
.footer-col + .footer-col::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px; /* spans the full column height */
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 8%, rgba(255, 255, 255, 0.35) 92%, rgba(255, 255, 255, 0) 100%);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo__img { height: 78px; }
.footer-brand p { font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, 0.95); max-width: 300px; }

.footer-title { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; color: var(--white); }
/* footer accordion toggle: a plain heading on desktop, collapse / expand on phones (mobile.css + site.js) */
.footer-acc__btn {
  display: block; width: 100%; padding: 0; margin: 0;
  border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: default;
}
.footer-acc__btn i { display: none; }
.footer-links li { line-height: 1.3; padding: 2px 0; }
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer-links a::before { /* gold arrow before every footer link */
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 7.5px;
  color: var(--gold-300);
  background: rgba(219, 164, 59, 0.16);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.footer-links a:hover { color: var(--gold-300); transform: translateX(4px); }
.footer-links a:hover::before { color: var(--navy-900); background: var(--gold-400); transform: rotate(-45deg) scale(1.1); }
.footer-links--spaced li { line-height: 1.75; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.footer-contact i { width: 18px; text-align: center; font-size: 15px; color: var(--white); }
.footer-contact a:hover { color: var(--gold-300); }

.social { display: flex; gap: 10px; margin: 4px 0 16px; }
.social a {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.social a:hover { transform: translateY(-5px) rotate(-6deg); box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3); }
.social .s-fb { background: #1877f2; }
.social .s-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social .s-yt { background: #ff0000; }
.social .s-in { background: #0a66c2; }
.footer-follow .btn { --btn-pad-y: 10px; --btn-pad-x: 24px; font-size: 15px; }

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
}
.footer-bottom__links { display: flex; align-items: center; gap: 14px; }
.footer-bottom__links span { opacity: 0.6; }
.footer-bottom__links a:hover { color: var(--gold-300); }
.footer-credit { color: rgba(255, 255, 255, 0.85); }
.footer-credit a { color: var(--gold-300); font-weight: 700; }
.footer-credit a:hover { color: var(--white); text-decoration: underline; }

/* back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* Floating WhatsApp + Call buttons (stacked above "back to top") */
.float-contact {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.float-btn { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.float-btn__icon {
  position: relative;
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.float-btn--wa .float-btn__icon {
  font-size: 30px;
  background: #25d366; /* official WhatsApp green */
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}
.float-btn--call .float-btn__icon {
  font-size: 21px;
  background: linear-gradient(145deg, var(--navy-600), var(--navy-900));
  box-shadow: 0 10px 24px rgba(4, 44, 72, 0.4);
}
.float-btn--call .float-btn__icon i { color: var(--gold-300); animation: floatRing 2.4s ease-in-out infinite; }

/* pulse rings */
.float-btn__icon::before,
.float-btn__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}
.float-btn--wa .float-btn__icon::before,
.float-btn--wa .float-btn__icon::after { color: #25d366; animation: floatPulse 2.4s ease-out infinite; }
.float-btn--wa .float-btn__icon::after { animation-delay: 1.2s; }
.float-btn--call .float-btn__icon::before { color: var(--gold-400); animation: floatPulse 2.4s ease-out 0.6s infinite; }

@keyframes floatPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.65); opacity: 0; }
}
@keyframes floatRing {
  0%, 60%, 100% { transform: rotate(0); }
  65% { transform: rotate(-18deg); }
  70% { transform: rotate(16deg); }
  75% { transform: rotate(-12deg); }
  80% { transform: rotate(8deg); }
  85% { transform: rotate(0); }
}

/* label that slides out on hover / focus */
.float-btn__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--navy-text);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(10, 35, 66, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(10px, -50%);
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.float-btn__label::after { /* little arrow */
  content: "";
  position: absolute;
  right: -5px; top: 50%;
  width: 10px; height: 10px;
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}
.float-btn--wa .float-btn__label { color: #128c4b; }
.float-btn:hover .float-btn__label,
.float-btn:focus-visible .float-btn__label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.float-btn:hover .float-btn__icon,
.float-btn:focus-visible .float-btn__icon { transform: translateY(-3px) scale(1.06); }
.float-btn:focus-visible { outline: none; }
.float-btn:focus-visible .float-btn__icon { outline: 3px solid var(--gold-300); outline-offset: 3px; }

@media (max-width: 767px) {
  .float-contact { right: 16px; bottom: 76px; gap: 12px; }
  .float-btn__icon { width: 50px; height: 50px; }
  .float-btn--wa .float-btn__icon { font-size: 27px; }
  .float-btn--call .float-btn__icon { font-size: 19px; }
  .float-btn__label { display: none; } /* no hover on touch */
  .to-top { right: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-btn__icon::before, .float-btn__icon::after, .float-btn--call .float-btn__icon i { animation: none; }
}

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1399px) {
  :root { --gutter: 32px; }
  .header-divider { margin: 0 16px; }
  .header-cta { margin-left: 20px; }
  .header-cta .btn { --btn-pad-x: 24px; }
  .nav-list { gap: 2px; }
  .nav-link { font-size: 14.5px; padding-inline: 3px; }
}

@media (max-width: 1199px) {
  :root { --gutter: 24px; --header-h: 76px; }
  .logo__img { height: 62px; }
  .nav-link { font-size: 14.5px; }
  .header-cta .btn { --btn-pad-x: 22px; font-size: 15px; }
  .about__grid { grid-template-columns: 1.3fr 1.1fr; }
  .about__divider { display: none; }
  .about__cards { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .impact__band { grid-template-columns: repeat(4, 1fr); row-gap: 22px; padding: 28px 24px; }
  .impact__title { grid-column: 1 / -1; text-align: center; }
  .impact__title .swoosh { left: 50%; translate: -10% 0; width: 160px; }
  .stat:nth-child(2)::before { display: none; }
  .footer-top { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .footer-brand { grid-column: 1 / -1; padding-right: 0 !important; }
  .footer-col:nth-child(2)::before, .footer-col:nth-child(5)::before { display: none; }
  .footer-col:nth-child(2) { padding-left: 0; }
  .footer-col:nth-child(5) { padding-left: 0; grid-column: 1 / -1; }
  .footer-follow { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .footer-follow .footer-title { margin: 0; }
  .footer-follow .social { margin: 0; }
}

@media (max-width: 1279px) {
  /* off-canvas navigation */
  .nav-toggle { display: grid; place-items: center; margin-left: 0; }
  .header-divider { display: none; }
  .header-cta { margin-left: auto; margin-right: 14px; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: 0 22px 30px;
    background: var(--white);
    box-shadow: none;
    transform: translateX(105%);
    transition: transform 0.45s var(--ease), box-shadow 0.45s;
    overflow-y: auto;
    z-index: 120;
  }
  .main-nav.is-open { transform: translateX(0); box-shadow: -20px 0 40px rgba(10, 35, 66, 0.15); }
  .nav-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 -22px 10px;
    padding: 16px 18px 16px 22px;
    background:
      radial-gradient(ellipse 70% 120% at 100% 0%, rgba(208, 148, 32, 0.14), transparent 70%),
      linear-gradient(180deg, var(--cream) 0%, #fff 100%);
    border-bottom: 1px solid var(--line);
  }
  .nav-head::after { /* gold accent line */
    content: "";
    position: absolute;
    left: 22px; bottom: -1px;
    width: 64px; height: 3px;
    border-radius: 3px;
    background: var(--gold-grad);
  }
  .nav-head__logo { display: block; flex-shrink: 1; min-width: 0; }
  .nav-head__logo img { display: block; width: auto; height: 54px; max-width: 100%; }
  .nav-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px; height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(10, 35, 66, 0.1);
    color: var(--navy-800);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
  }
  .nav-close:hover { background: var(--navy-800); color: var(--white); transform: rotate(90deg); }
  .nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(2, 31, 56, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s;
    z-index: 110;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .site-header.nav-open { z-index: 130; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: none; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { display: flex; justify-content: space-between; padding: 15px 4px; font-size: 16px; }
  .nav-link::after { left: 4px; bottom: 8px; transform: scaleX(0); transform-origin: left; width: 28px; height: 3px; }
  .nav-link:hover::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
  .dropdown {
    position: static;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 10px 8px;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .nav-item.is-open > .dropdown { display: block; }
  .nav-item:hover > .nav-link .fa-chevron-down { transform: none; }
  .nav-item.is-open > .nav-link .fa-chevron-down { transform: rotate(180deg); }
}

@media (max-width: 991px) {

  .hero-slide { min-height: clamp(560px, 120vw, 680px); align-items: flex-end; }
  .hero-slide::before {
    background: linear-gradient(0deg, rgba(2, 31, 56, 0.95) 0%, rgba(4, 44, 72, 0.82) 45%, rgba(4, 44, 72, 0.3) 75%, rgba(4, 44, 72, 0.15) 100%);
  }
  .hero__content { padding-block: 120px 120px; }
  .hero__text { max-width: 620px; }
  .hero__controls { bottom: 60px; }
  .hero__arrow { width: 44px; height: 44px; font-size: 14px; }


  .about__grid { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr 1fr; }

  .impact__band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(4)::before { display: none; }

  .cta__media { position: relative; width: 100%; height: clamp(240px, 45vw, 380px); -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
  .cta__inner { min-height: 0; }
  .cta__content { margin-left: 0; padding: 10px 0 44px; max-width: 560px; }
  .cta__wheat { top: auto; bottom: 10px; translate: none; opacity: 0.5; }
}

@media (max-width: 767px) {
  :root { --gutter: 18px; --header-h: 70px; }
  /* phones: keep a compact "Donate" button beside the menu toggle */
  .header-cta { margin-left: auto; margin-right: 10px; }
  .header-cta .btn { --btn-pad-y: 10px; --btn-pad-x: 16px; gap: 7px; font-size: 14.5px; }
  .header-cta__more { display: none; }
  .nav-toggle { margin-left: 0; width: 44px; height: 44px; }
  .logo__img { height: 54px; }
  .about__cards { grid-template-columns: 1fr; }
  .stories__head { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col { padding: 0 !important; }
  .footer-col::before { display: none; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .eyebrow--lined::before, .eyebrow--lined::after { width: 50px; }
}

@media (max-width: 575px) {
  .logo__img { height: 46px; }
  .header-cta { margin-right: 8px; }
  .header-cta .btn { --btn-pad-x: 13px; font-size: 14px; }
}

@media (max-width: 374px) {
  .logo__img { height: 40px; }
  .header-cta .btn { --btn-pad-x: 12px; font-size: 13.5px; }
  .nav-toggle { width: 42px; height: 42px; }
}

@media (max-width: 359px) { /* very small phones: heart icon only */
  .header-cta .btn { --btn-pad-x: 0; width: 42px; height: 42px; }
  .header-cta__label { display: none; }
}

@media (max-width: 575px) {
  .hero__actions .btn,
  .cta__actions .btn { width: 100%; }
  .impact__band { grid-template-columns: 1fr 1fr; padding: 26px 14px; }
  .stat::before { display: none; }
  .story-card { flex-direction: column; }
  .story-card__img { flex-basis: auto; aspect-ratio: 5 / 4; border-radius: 16px 16px 0 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-contact li { gap: 12px; word-break: break-word; }
  .footer-bottom__links { flex-wrap: wrap; justify-content: center; gap: 8px; }
}

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

/* ==========================================================================
   15. INNER PAGES — shared page banner
   ========================================================================== */
.u-relative { position: relative; display: inline-block; }

.page-hero {
  position: relative;
  min-height: clamp(380px, 30vw, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-800);
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__bg img {
  position: absolute;
  left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
  object-position: 30% 35%;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(208, 148, 32, 0.22), transparent 70%),
    linear-gradient(90deg, rgba(3, 30, 52, 0.94) 0%, rgba(4, 44, 72, 0.86) 38%, rgba(4, 44, 72, 0.45) 70%, rgba(4, 44, 72, 0.25) 100%);
}
.page-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 56px 96px;
}
.page-hero__content { max-width: 620px; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 700;
}
.breadcrumb a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.85); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .fa-chevron-right { font-size: 10px; color: var(--gold-400); }
.breadcrumb span { color: var(--gold-300); }

.page-hero__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.04;
  margin-bottom: 30px;
}
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: 4px; }
.page-hero__title .line > span { display: inline-block; }
.page-hero__title .swoosh { left: 36%; bottom: -14px; width: 56%; height: 15px; }
.page-hero__lead { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.55; color: rgba(255, 255, 255, 0.9); max-width: 520px; }

.page-hero__badge {
  position: relative;
  flex-shrink: 0;
  width: 170px; height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  margin-right: 4%;
}
.page-hero__badge > i {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 12px 28px rgba(208, 148, 32, 0.45);
}
.page-hero__badge-ring { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.page-hero__badge-ring svg { width: 100%; height: 100%; overflow: visible; }
.page-hero__badge-ring text {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 3.4px;
  fill: rgba(255, 255, 255, 0.92);
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-hero__curve {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: clamp(36px, 5vw, 80px);
}
.page-hero__curve path { fill: var(--white); }

/* ==========================================================================
   16. CONTACT — info cards
   ========================================================================== */
.contact-info { position: relative; z-index: 5; margin-top: clamp(-70px, -4.5vw, -40px); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 26px 26px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(10, 35, 66, 0.1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* gradient overlay reveal */
.info-card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(150deg, #0e3e62 0%, #042c48 70%);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.7s var(--ease);
}
.info-card::after { /* gold corner glow */
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 164, 59, 0.22), transparent 70%);
  z-index: -1;
  transition: transform 0.6s var(--ease);
}
.info-card__icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--gold-500);
  background: var(--cream);
  margin-bottom: 18px;
  transition: background 0.45s, color 0.45s, box-shadow 0.45s, border-radius 0.45s;
}
.info-card__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-text);
  margin-bottom: 4px;
  transition: color 0.4s, transform 0.5s var(--ease);
}
.info-card__value {
  font-size: 15px;
  color: var(--muted);
  word-break: break-word;
  margin-bottom: 18px;
  transition: color 0.4s;
}
.info-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-500);
  transition: color 0.4s, gap 0.4s var(--ease);
}
.info-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.info-card:hover::before { clip-path: circle(150% at 100% 0%); }
.info-card:hover::after { transform: scale(2.2); }
.info-card:hover .info-card__icon {
  background: var(--gold-grad);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(208, 148, 32, 0.45);
  animation: floatIcon 1.8s ease-in-out infinite;
}
.info-card:hover .info-card__title { color: var(--white); transform: translateX(5px); }
.info-card:hover .info-card__value { color: rgba(255, 255, 255, 0.85); }
.info-card:hover .info-card__link { color: var(--gold-300); gap: 12px; }
.info-card:hover .info-card__link i { animation: arrowSlide 0.9s var(--ease) infinite; }

/* ==========================================================================
   17. CONTACT — form + aside
   ========================================================================== */
.contact-main { padding: clamp(60px, 6vw, 90px) 0 clamp(60px, 6vw, 90px); }
.contact-main__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 36px;
  align-items: start;
}

.section-head { margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head .swoosh { left: 8%; bottom: -10px; width: 92%; height: 12px; }
.section-head__text { margin-top: 18px; color: var(--muted); font-size: 16px; }

.form-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--cream);
  box-shadow: 0 12px 34px rgba(10, 35, 66, 0.06);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14.5px; font-weight: 800; color: var(--navy-text); margin-bottom: 7px; }
.form-field label span { color: var(--gold-500); }

.form-control { position: relative; }
.form-control > i:first-child {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  color: #9aa5b1;
  font-size: 15px;
  pointer-events: none;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.form-control--textarea > i:first-child { top: 19px; transform: none; }
.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border: 1.5px solid #e4ded3;
  border-radius: 14px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px; /* 16px+ stops iPhones zooming in when a field is tapped */
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
@media (min-width: 768px) {
  .form-control input,
  .form-control select,
  .form-control textarea { font-size: 15.5px; }
}
.form-control textarea { resize: vertical; min-height: 140px; padding-bottom: 30px; }
.form-control select { cursor: pointer; padding-right: 44px; }
.form-control select:invalid { color: #9aa5b1; }
.form-control__caret {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--navy-text);
  pointer-events: none;
}
.form-control ::placeholder { color: #a5aeb8; }
.form-control input:hover,
.form-control select:hover,
.form-control textarea:hover { border-color: var(--gold-300); }
.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.14);
}
.form-control:focus-within > i:first-child { color: var(--gold-500); transform: translateY(-50%) scale(1.15); }
.form-control--textarea:focus-within > i:first-child { transform: scale(1.15); }
.form-counter { position: absolute; right: 16px; bottom: 10px; font-size: 12.5px; color: #9aa5b1; }

.form-error { display: block; min-height: 0; font-size: 13px; font-weight: 600; color: #c0392b; margin-top: 5px; }
.form-error:empty { display: none; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #e06c5f; background: #fff8f7; }
.form-field.has-error .form-control > i:first-child { color: #e06c5f; }
.form-field.is-valid input,
.form-field.is-valid select,
.form-field.is-valid textarea { border-color: #7fb98a; }

.form-field .check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 600; margin: 0; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form-field .check .check__box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.5px solid #cfc7b8;
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.3s var(--ease);
}
.form-field .check input:checked + .check__box { background: var(--gold-grad); border-color: var(--gold-500); color: var(--white); transform: scale(1.06); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.2); }
.form-field .check .check__text { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.form-field--check.has-error .check__box { border-color: #e06c5f; }

.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; margin-top: 6px; }
.btn--submit { min-width: 210px; --btn-pad-y: 15px; }
.btn--submit:hover .fa-paper-plane { transform: translate(5px, -4px) rotate(-10deg); }
.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}
.btn--submit.is-loading .fa-paper-plane { display: none; }
.btn--submit.is-loading .btn__spinner { display: inline-block; }
.btn--submit:disabled { cursor: wait; opacity: 0.85; }
.form-note { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.form-note i { color: var(--gold-500); }

.form-status { margin-top: 18px; font-weight: 700; font-size: 15px; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.is-success,
.form-status.is-error { padding: 14px 18px; display: flex; gap: 10px; align-items: center; animation: statusIn 0.5s var(--ease); }
.form-status.is-success { background: #eaf6ec; color: #2e7d42; border: 1px solid #bfe2c7; }
.form-status.is-error { background: #fdeeee; color: #b03a2e; border: 1px solid #f3c6c1; }
@keyframes statusIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* aside */
.contact-aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-photo {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 36px rgba(10, 35, 66, 0.14);
}
.aside-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; transition: transform 1.1s var(--ease); }
.aside-photo::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 30, 52, 0.85) 100%);
  transition: opacity 0.6s;
}
.aside-photo__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 26px;
  color: var(--white);
  transform: translateY(8px);
  transition: transform 0.6s var(--ease);
}
.aside-photo__caption i { color: var(--gold-400); font-size: 22px; margin-bottom: 6px; display: inline-block; transition: transform 0.5s var(--ease); }
.aside-photo__caption p { font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.25; }
.aside-photo:hover img { transform: scale(1.08); }
.aside-photo:hover .aside-photo__caption { transform: translateY(0); }
.aside-photo:hover .aside-photo__caption i { animation: floatIcon 1.6s ease-in-out infinite; }

.help-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 35, 66, 0.08);
}
.help-card__title { font-size: 20px; font-weight: 800; color: var(--navy-text); margin-bottom: 14px; }
.help-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.help-link::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #fbeccc, #fdf6e8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.help-link__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--gold-500);
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(10, 35, 66, 0.08);
  transition: background 0.4s, color 0.4s;
}
.help-link__text { display: flex; flex-direction: column; line-height: 1.3; transition: transform 0.45s var(--ease); }
.help-link__text strong { color: var(--navy-text); font-size: 16px; }
.help-link__text small { color: var(--muted); font-size: 13.5px; }
.help-link__arrow { margin-left: auto; color: var(--gold-500); transition: transform 0.4s var(--ease); }
.help-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.help-link:hover::before { transform: scaleX(1); }
.help-link:hover .help-link__icon { background: var(--gold-grad); color: var(--white); animation: floatIcon 1.6s ease-in-out infinite; }
.help-link:hover .help-link__text { transform: translateX(4px); }
.help-link:hover .help-link__arrow { animation: arrowSlide 0.9s var(--ease) infinite; }

.help-card__social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  color: var(--navy-text);
}
.help-card__social .social { margin: 0; }

/* ==========================================================================
   18. CONTACT — map
   ========================================================================== */
.map-section { position: relative; }
.map-frame {
  position: relative;
  height: clamp(380px, 34vw, 500px);
  overflow: hidden;
}
.map-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.85) contrast(1.05) sepia(0.12);
  transition: filter 0.8s var(--ease);
}
.map-section:hover .map-frame iframe { filter: none; }
.map-section__inner {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.map-card {
  pointer-events: auto;
  position: relative;
  max-width: 360px;
  padding: 34px 30px 30px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 50px rgba(10, 35, 66, 0.2);
  border-top: 4px solid var(--gold-500);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.map-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(10, 35, 66, 0.26); }
.map-card__pin {
  position: absolute;
  top: -28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 12px 24px rgba(208, 148, 32, 0.45);
  animation: pinBounce 2.4s ease-in-out infinite;
}
.map-card__pin::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(208, 148, 32, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.map-card .eyebrow { font-size: 12px; margin-bottom: 4px; }
.map-card__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--navy-text); margin-bottom: 14px; }
.map-card__list { margin-bottom: 22px; }
.map-card__list li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.map-card__list li:last-child { border-bottom: 0; }
.map-card__list i { width: 18px; text-align: center; color: var(--gold-500); }
.map-card__list a:hover { color: var(--gold-500); }

/* ==========================================================================
   19. CONTACT — FAQ
   ========================================================================== */
.faq-section { padding: clamp(60px, 6vw, 90px) 0 clamp(50px, 5vw, 80px); }
.faq-section__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; }

.faq-item {
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(10, 35, 66, 0.06);
  border: 1px solid #efe9df;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.4s, border-color 0.4s;
}
.faq-item:hover { box-shadow: var(--shadow); border-color: var(--gold-200); }
.faq-item.is-open { border-color: var(--gold-300); background: linear-gradient(180deg, #fffaf0, var(--white)); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy-text);
}
.faq-q span { transition: transform 0.4s var(--ease), color 0.3s; }
.faq-q i {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--gold-500);
  border: 1.5px solid var(--gold-300);
  transition: transform 0.45s var(--ease), background 0.35s, color 0.35s;
}
.faq-q:hover span { transform: translateX(4px); color: var(--gold-500); }
.faq-item.is-open .faq-q i { transform: rotate(135deg); background: var(--gold-grad); color: var(--white); border-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.faq-a a { color: var(--gold-500); font-weight: 700; }

.ask-card {
  position: relative;
  padding: 38px 32px 34px;
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(40, 90, 130, 0.6), transparent 70%),
    linear-gradient(160deg, #0e3e62 0%, #042c48 100%);
  box-shadow: 0 20px 44px rgba(4, 44, 72, 0.25);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease);
}
.ask-card:hover { transform: translateY(-8px); }
.ask-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--gold-grad);
  box-shadow: 0 12px 26px rgba(208, 148, 32, 0.4);
  margin-bottom: 18px;
  animation: floatIcon 3s ease-in-out infinite;
}
.ask-card__title { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.ask-card p { color: rgba(255, 255, 255, 0.85); font-size: 15.5px; margin-bottom: 18px; }
.ask-card__line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.3s, padding 0.3s var(--ease);
}
.ask-card__line i { color: var(--gold-400); width: 18px; text-align: center; }
.ask-card__line:hover { color: var(--gold-300); padding-left: 6px; }
.ask-card .btn { margin-top: 22px; }
.ask-card__deco {
  position: absolute;
  right: -20px; bottom: -14px;
  width: 170px;
  color: rgba(255, 255, 255, 0.06);
  z-index: -1;
  transform: rotate(-12deg);
}

/* ---------- contact responsive ---------- */
@media (max-width: 1199px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main__grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .aside-photo { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .faq-section__grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .page-hero__badge { display: none; }
  .page-hero__inner { padding-block: 48px 90px; }
  .map-section__inner { position: relative; top: auto; transform: none; margin-top: -90px; }
  .map-card { max-width: none; }
}
@media (max-width: 767px) {
  .contact-aside { grid-template-columns: 1fr; }
  .aside-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .help-card__social { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
  .info-grid { grid-template-columns: 1fr; }
  .page-hero::before { background: linear-gradient(180deg, rgba(3, 30, 52, 0.75), rgba(4, 44, 72, 0.92)); }
  .btn--submit { width: 100%; }
  .form-card { border-radius: 20px; }
}

/* ==========================================================================
   20. ABOUT — shared helpers
   ========================================================================== */
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 44px; }
.section-head--center .swoosh { left: 4%; width: 96%; }
.page-hero__badge > i.fa-bowl-food { font-size: 28px; }

/* ==========================================================================
   21–25. ABOUT PAGE — MOBILE-FIRST
   Base rules are for phones; larger layouts are layered on with min-width
   queries (576 / 768 / 992 / 1200). Hover lifts only run on devices that
   can actually hover, so taps on phones never leave cards "stuck" raised.
   ========================================================================== */

/* ---------- 21. Our Story ---------- */
.story { padding: clamp(56px, 7vw, 110px) 0 clamp(48px, 6vw, 90px); overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

.collage { position: relative; width: 100%; max-width: 620px; margin-inline: auto; padding: 0 10% 12% 0; }
.collage__main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 24px 50px rgba(10, 35, 66, 0.16);
}
.collage__main img,
.collage__small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.collage__main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(4, 44, 72, 0.35));
  opacity: 0;
  transition: opacity 0.6s;
}
.collage__small {
  position: absolute;
  right: 0; bottom: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 20px 44px rgba(10, 35, 66, 0.2);
  z-index: 2;
}
.collage__stat {
  position: absolute;
  left: 0; bottom: 6%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(4, 44, 72, 0.35);
  animation: floatSoft 4s ease-in-out infinite;
}
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.collage__stat > i {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: var(--gold-grad);
}
.collage__stat span { display: flex; flex-direction: column; font-size: 13px; color: rgba(255, 255, 255, 0.85); line-height: 1.25; }
.collage__stat .stat__num { font-size: 20px; font-weight: 800; color: var(--white); }
.collage__dots {
  position: absolute;
  top: -16px; left: -12px;
  width: 96px; height: 96px;
  z-index: -1;
  background-image: radial-gradient(var(--gold-300) 2px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.7;
}
.collage__ring {
  position: absolute;
  right: 4%; top: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 10px solid var(--gold-200);
  border-right-color: transparent;
  opacity: 0.6;
  z-index: -1;
  animation: spin 22s linear infinite;
}

.story__content .section-head { margin-bottom: 18px; }
.story__content .section-title { font-size: clamp(27px, 6.4vw, 34px); }
.story__content .section-head .swoosh { left: 20%; width: 80%; }
.story__lead { font-size: 16.5px; line-height: 1.6; color: var(--navy-text); margin-bottom: 14px; }
.story__content > p { color: var(--muted); margin-bottom: 14px; }

.checklist { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0 26px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 15px; color: var(--navy-text); line-height: 1.4; transition: transform 0.4s var(--ease); }
.checklist i {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: -1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 4px 10px rgba(208, 148, 32, 0.35);
}

.story__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.story__call { display: inline-flex; align-items: center; gap: 14px; }
.story__call > span {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--gold-500);
  background: var(--cream);
  border: 1.5px dashed var(--gold-300);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.story__call small { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); line-height: 1.3; }
.story__call strong { font-size: 18px; color: var(--navy-text); }

@media (min-width: 576px) {
  .collage__main { border-radius: 26px; }
  .collage__small { border-radius: 22px; border-width: 8px; }
  .collage__stat { left: -14px; gap: 14px; padding: 16px 22px 16px 16px; border-radius: 18px; }
  .collage__stat > i { width: 50px; height: 50px; font-size: 22px; }
  .collage__stat span { font-size: 14px; }
  .collage__stat .stat__num { font-size: 24px; }
  .checklist { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 22px 0 30px; }
}
@media (min-width: 768px) {
  .collage__dots { top: -26px; left: -26px; width: 130px; height: 130px; }
  .collage__ring { top: -30px; width: 110px; height: 110px; border-width: 14px; }
  .story__lead { font-size: 17.5px; }
  .story__call > span { width: 52px; height: 52px; font-size: 19px; }
}
@media (min-width: 992px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
  .collage { max-width: none; padding: 0 12% 14% 0; }
  .story__content .section-title { font-size: clamp(30px, 2.9vw, 40px); }
}

/* ---------- 22. Mission & Vision ---------- */
.mission {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0;
  background:
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(241, 220, 170, 0.35), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, #fbf8f3 100%);
}
.mission__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.mission__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  box-shadow: 0 24px 50px rgba(10, 35, 66, 0.16);
}
.mission__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mission__media::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 44, 72, 0.55));
  opacity: 0.6;
  transition: opacity 0.6s;
}
.mission__badge {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 26px rgba(10, 35, 66, 0.2);
  transition: transform 0.5s var(--ease);
}
.mission__badge i {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--gold-grad);
  font-size: 16px;
}
.mission__badge span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.mission__badge strong { font-size: 18px; color: var(--navy-text); }

.mission__cards { display: grid; gap: 14px; }
.purpose-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(10, 35, 66, 0.07);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.purpose-card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #0e3e62, #042c48);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.purpose-card__num {
  position: absolute;
  right: 16px; top: 10px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: rgba(208, 148, 32, 0.14);
  transition: color 0.5s, transform 0.6s var(--ease);
}
.purpose-card__icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--gold-500);
  background: var(--cream);
  transition: background 0.45s, color 0.45s, border-radius 0.45s;
}
.purpose-card__title { font-size: 18px; font-weight: 800; color: var(--navy-text); margin-bottom: 4px; transition: color 0.4s, transform 0.5s var(--ease); }
.purpose-card p { color: var(--muted); font-size: 15px; line-height: 1.5; transition: color 0.4s; }

@media (min-width: 576px) {
  .mission__media { border-radius: 26px; }
  .mission__badge { left: 24px; bottom: 24px; gap: 12px; padding: 12px 20px 12px 12px; }
  .mission__badge i { width: 44px; height: 44px; font-size: 18px; }
  .mission__badge span { font-size: 13px; }
  .mission__badge strong { font-size: 20px; }
  .mission__cards { gap: 18px; }
  .purpose-card { gap: 20px; padding: 26px 28px; border-radius: 20px; }
  .purpose-card__num { right: 22px; top: 12px; font-size: 54px; }
  .purpose-card__icon { width: 60px; height: 60px; border-radius: 18px; font-size: 24px; }
  .purpose-card__title { font-size: 20px; }
  .purpose-card p { font-size: 15.5px; }
}
@media (min-width: 992px) {
  .mission__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 4vw, 60px); }
}

/* ---------- 23. Core Values ---------- */
.values { padding: clamp(56px, 7vw, 110px) 0; }
.values__grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: stretch; }
.values__intro { display: flex; flex-direction: column; }
.values__intro .section-head { margin-bottom: 20px; }
.values__photo {
  position: relative;
  flex: 1;
  min-height: 240px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(10, 35, 66, 0.16);
}
.values__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.1s var(--ease); }
.values__photo::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 30, 52, 0.88));
}
.values__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  transition: transform 0.6s var(--ease);
}
.values__photo figcaption i { display: block; color: var(--gold-400); font-size: 18px; margin-bottom: 6px; }

/* phones: a compact grid (two across from 360px) instead of six tall cards */
.values__cards { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: center; }
.value-card {
  position: relative;
  padding: 18px 16px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid #f0e8da;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.value-card::before { /* overlay reveal from bottom */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(165deg, #fdf0d3 0%, #f7deaa 100%);
  clip-path: circle(0% at 50% 100%);
  transition: clip-path 0.7s var(--ease);
}
.value-card__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 19px;
  color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(10, 35, 66, 0.08);
  transition: background 0.45s, color 0.45s, box-shadow 0.45s;
}
.value-card__title { font-size: 16.5px; font-weight: 800; color: var(--navy-text); margin-bottom: 4px; transition: transform 0.5s var(--ease); }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.value-card__arrow { /* decorative; shown from tablets up */
  position: absolute;
  left: 26px; bottom: 20px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  display: none;
  place-items: center;
  font-size: 12px;
  color: var(--navy-text);
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.4s, background 0.4s, color 0.4s;
}

@media (min-width: 360px) {
  .values__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .values__grid { gap: 30px; }
  .values__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
  .values__intro .section-head { margin-bottom: 26px; }
  .values__photo { min-height: 320px; border-radius: 24px; }
  .values__photo::before { background: linear-gradient(180deg, transparent 45%, rgba(3, 30, 52, 0.88)); }
  .values__photo figcaption { padding: 24px; font-size: 21px; transform: translateY(6px); }
  .values__photo figcaption i { font-size: 20px; margin-bottom: 8px; }
  .values__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .value-card { padding: 30px 26px 56px; border-radius: 22px; }
  .value-card__icon { width: 64px; height: 64px; margin-bottom: 18px; font-size: 25px; }
  .value-card__title { font-size: 19px; margin-bottom: 6px; }
  .value-card p { font-size: 14.5px; }
  .value-card__arrow { display: grid; }
}
@media (min-width: 1200px) {
  .values__grid { grid-template-columns: 0.85fr 1.6fr; gap: clamp(30px, 4vw, 56px); }
  .values__intro { display: flex; flex-direction: column; }
  .values__photo { min-height: 360px; }
}

/* ---------- 24. How We Work ---------- */
.process {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0 clamp(36px, 4vw, 60px);
  background: linear-gradient(180deg, #f4f9fd 0%, #ffffff 100%);
}
/* phones: the four steps sit in one swipeable row, with the next card peeking in */
.process__grid {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.process__grid::-webkit-scrollbar { display: none; }
.process__grid::before { /* dashed connector (desktop only) */
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 150px;
  border-top: 2px dashed var(--gold-300);
  z-index: 0;
  display: none;
}
.step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 35, 66, 0.08);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step-card__media { position: relative; height: 160px; overflow: hidden; }
.step-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; }
.step-card__media::before { /* gradient transition */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 44, 72, 0.05) 0%, rgba(4, 44, 72, 0.7) 100%);
  opacity: 0.4;
  transition: opacity 0.6s var(--ease);
}
.step-card__media::after { /* overlay reveal */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(208, 148, 32, 0.45), rgba(4, 44, 72, 0.25));
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.7s var(--ease);
}
.step-card__num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy-text);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.4s, color 0.4s;
}
.step-card__body { position: relative; flex: 1; padding: 38px 20px 22px; }
.step-card__icon {
  position: absolute;
  top: -28px; right: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: var(--white);
  background: var(--gold-grad);
  border: 4px solid var(--white);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.35);
  z-index: 3;
  transition: transform 0.5s var(--ease);
}
.step-card__title { font-size: 18px; font-weight: 800; color: var(--navy-text); margin-bottom: 6px; transition: transform 0.5s var(--ease), color 0.4s; }
.step-card__body p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.step-card__arrow { /* decorative; shown from 576px up */
  position: absolute;
  left: 24px; bottom: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  font-size: 12px;
  color: var(--navy-text);
  overflow: hidden;
  transition: background 0.4s, color 0.4s, width 0.5s var(--ease);
}

@media (min-width: 576px) {
  .process__grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .step-card { border-radius: 22px; }
  .step-card__body { padding: 44px 24px 60px; }
  .step-card__arrow { display: inline-flex; }
}
@media (min-width: 768px) {
  .step-card__media { height: 200px; }
  .step-card__num { top: 16px; left: 16px; width: 52px; height: 52px; font-size: 22px; }
  .step-card__icon { top: -32px; right: 22px; width: 64px; height: 64px; font-size: 24px; border-width: 5px; }
  .step-card__title { font-size: 19.5px; margin-bottom: 8px; }
  .step-card__body p { font-size: 15px; }
}
@media (min-width: 1200px) {
  .process__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process__grid::before { display: block; }
}

.impact--about { padding: 30px 0 10px; }

/* ---------- 25. Gallery + Lightbox ---------- */
.gallery { padding: clamp(50px, 6vw, 90px) 0 clamp(44px, 5vw, 80px); overflow: hidden; }
.gallery__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.gallery__head .section-head { margin-bottom: 0; }
.gallery__nav { display: flex; gap: 12px; }
.gallery__btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--navy-800);
  background: var(--white);
  color: var(--navy-800);
  font-size: 15px;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease), border-color 0.35s;
}

.gallery-swiper { padding-bottom: 50px !important; }
.gallery-swiper .swiper-slide { transition: transform 0.6s var(--ease), opacity 0.6s; opacity: 0.55; transform: scale(0.92); }
.gallery-swiper .swiper-slide-active,
.gallery-swiper .swiper-slide-next,
.gallery-swiper .swiper-slide-prev { opacity: 1; transform: scale(1); }
.g-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 35, 66, 0.12);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.g-item__overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(4, 44, 72, 0.25), rgba(4, 44, 72, 0.8));
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.7s var(--ease);
}
.g-item__overlay i {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--gold-grad);
  transform: scale(0) rotate(-90deg);
  transition: transform 0.5s 0.15s var(--ease);
}
.g-item__overlay em { font-style: normal; font-family: var(--font-display); font-size: 22px; transform: translateY(16px); opacity: 0; transition: all 0.5s 0.2s var(--ease); }

.gallery__pagination { bottom: 6px !important; }
.gallery__pagination .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--gold-300); opacity: 0.6; transition: width 0.4s var(--ease), opacity 0.3s; }
.gallery__pagination .swiper-pagination-bullet-active { width: 30px; border-radius: 6px; background: var(--gold-500); opacity: 1; }

/* photo viewer (also used by the program pages and gallery.html) */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 14px;
  background: rgba(2, 20, 36, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.45s, transform 0.45s var(--ease);
}
.lightbox__figure img.is-in { opacity: 1; transform: scale(1); }
.lightbox__figure figcaption { margin-top: 16px; color: var(--white); font-family: var(--font-display); font-size: 19px; }
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 18px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.lightbox__close { top: 22px; right: 22px; }
.lightbox__arrow { bottom: 18px; }
.lightbox__arrow--prev { left: calc(50% - 64px); }
.lightbox__arrow--next { right: calc(50% - 64px); }
.lightbox__close:hover,
.lightbox__arrow:hover { background: var(--gold-grad); border-color: transparent; }
.lightbox__close:hover { transform: rotate(90deg); }

@media (min-width: 768px) {
  .gallery__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
  .gallery__btn { width: 52px; height: 52px; font-size: 16px; }
  .g-item { border-radius: 22px; }
  .lightbox { padding: 60px 80px; }
  .lightbox__figure figcaption { font-size: 22px; }
  .lightbox__arrow { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__arrow--prev { left: 20px; }
  .lightbox__arrow--next { right: 20px; }
}

/* ---------- hover effects: only on devices that can hover ---------- */
@media (hover: hover) {
  .collage:hover .collage__main img { transform: scale(1.07); }
  .collage:hover .collage__main::after { opacity: 1; }
  .collage__small:hover img { transform: scale(1.1); }
  .checklist li:hover { transform: translateX(5px); }
  .story__call:hover > span { background: var(--gold-grad); color: var(--white); border-color: transparent; transform: rotate(-12deg) scale(1.08); }

  .mission__media:hover img { transform: scale(1.07); }
  .mission__media:hover::before { opacity: 1; }
  .mission__media:hover .mission__badge { transform: translateY(-6px); }
  .purpose-card:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
  .purpose-card:hover::before { transform: scaleX(1); }
  .purpose-card:hover .purpose-card__icon { background: var(--gold-grad); color: var(--white); border-radius: 50%; animation: floatIcon 1.8s ease-in-out infinite; }
  .purpose-card:hover .purpose-card__title { color: var(--white); transform: translateX(4px); }
  .purpose-card:hover p { color: rgba(255, 255, 255, 0.85); }
  .purpose-card:hover .purpose-card__num { color: rgba(255, 255, 255, 0.12); transform: scale(1.2) rotate(-8deg); }

  .values__photo:hover img { transform: scale(1.08); }
  .values__photo:hover figcaption { transform: translateY(0); }
  .value-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--gold-300); }
  .value-card:hover::before { clip-path: circle(150% at 50% 100%); }
  .value-card:hover .value-card__icon { background: var(--navy-800); color: var(--gold-400); box-shadow: 0 14px 26px rgba(4, 44, 72, 0.3); animation: floatIcon 1.8s ease-in-out infinite; }
  .value-card:hover .value-card__title { transform: translateX(5px); }
  .value-card:hover .value-card__arrow { opacity: 1; background: var(--gold-500); color: var(--white); }
  .value-card:hover .value-card__arrow i { animation: arrowSlide 0.9s var(--ease) infinite; }

  .step-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
  .step-card:hover .step-card__media img { transform: scale(1.12); filter: saturate(1.1); }
  .step-card:hover .step-card__media::before { opacity: 1; }
  .step-card:hover .step-card__media::after { clip-path: inset(0 0 0 0); }
  .step-card:hover .step-card__num { background: var(--gold-grad); color: var(--white); }
  .step-card:hover .step-card__icon { animation: floatIcon 1.8s ease-in-out infinite; }
  .step-card:hover .step-card__title { transform: translateX(6px); color: var(--gold-500); }
  .step-card:hover .step-card__arrow { background: var(--gold-500); color: var(--white); }
  .step-card:hover .step-card__arrow i { animation: arrowSlide 0.9s var(--ease) infinite; }

  .gallery__btn:hover { background: var(--gold-grad); border-color: transparent; color: var(--white); transform: translateY(-3px); }
  .g-item:hover img { transform: scale(1.12); }
  .g-item:hover .g-item__overlay { clip-path: circle(80% at 50% 50%); }
  .g-item:hover .g-item__overlay i { transform: scale(1) rotate(0); }
  .g-item:hover .g-item__overlay em { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   26. VOLUNTEERS — shared (avatar, tags, volunteer card, ghost button)
   ========================================================================== */
[hidden] { display: none !important; }

.btn--ghost {
  color: var(--navy-text);
  background: transparent;
  border: 1.5px solid #d9d2c5;
}
.btn--ghost:hover { color: var(--gold-500); border-color: var(--gold-500); background: #fffaf0; }
.btn--ghost:hover .fa-arrow-left { transform: translateX(-4px); }
.btn--ghost:hover .fa-rotate-left { transform: rotate(-200deg); }
.btn--ghost:disabled { opacity: 0.5; pointer-events: none; }

/* avatar (photo or initials) — colours come from --av / --av-soft */
.vavatar {
  --size: 92px;
  position: relative;
  flex-shrink: 0;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--av, var(--navy-700));
  background: linear-gradient(145deg, color-mix(in srgb, var(--av, #0b3758) 72%, #ffffff), var(--av, #0b3758));
  font-family: var(--font-display);
  font-size: calc(var(--size) * 0.38);
  line-height: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gold-300), 0 14px 26px rgba(10, 35, 66, 0.18);
}
.vavatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.vavatar span { transform: translateY(2px); letter-spacing: 0.02em; }
.vavatar--lg { --size: 112px; }
.vavatar--xl {
  --size: clamp(150px, 16vw, 210px);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.95), 0 0 0 9px var(--gold-400), 0 26px 50px rgba(0, 0, 0, 0.35);
}

/* interest tags */
.vtag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--av, var(--navy-700));
  background: var(--av-soft, var(--sky));
}
.vtag i { font-size: 11px; }
.vtag--more { color: var(--muted); background: #f1ede6; }
.vtag--empty { color: #9aa5b1; background: transparent; border: 1.5px dashed #d9d2c5; font-weight: 700; }

/* volunteer card */
.vcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 0;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #f0ebe2;
  box-shadow: 0 12px 32px rgba(10, 35, 66, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.vcard__band {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 96px;
  z-index: -1;
  background:
    radial-gradient(circle at 85% -30%, rgba(255, 255, 255, 0.8), transparent 55%),
    linear-gradient(135deg, var(--av-soft, #e3edf5), color-mix(in srgb, var(--av-soft, #e3edf5) 55%, #ffffff));
  transition: height 0.6s var(--ease);
}
.vcard__band::after { /* dotted texture */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--av, #0b3758) 1.1px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(110deg, transparent 35%, #000 100%);
}
.vcard .vavatar::after { /* dashed ring that spins on hover */
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed var(--gold-400);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s, transform 0.6s var(--ease);
}
.vcard__name {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  color: var(--navy-text);
  transition: color 0.3s;
}
.vcard__city { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.vcard__city i { color: var(--gold-500); font-size: 12.5px; }
.vcard__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 12px; }
.vcard__tags--left { justify-content: flex-start; margin-top: 0; }
.vcard__quote {
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.55;
  color: var(--muted);
  min-height: calc(1.55em * 3);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vcard__quote::before { content: "\201C"; }
.vcard__quote::after { content: "\201D"; }
.vcard__meta {
  margin-top: auto;
  align-self: stretch;
  margin-inline: -24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px dashed #e6dccb;
  background: rgba(252, 250, 246, 0.85);
}
.vcard__meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.vcard__meta i { color: var(--gold-500); }
.vcard__meta b { color: var(--navy-text); }

.vcard__new {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 6px 14px rgba(208, 148, 32, 0.35);
}
.vcard__new--static { position: static; margin-bottom: 8px; }

/* whole card is clickable; the visible part is a round arrow button */
.vcard__open {
  position: absolute; inset: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: inherit;
}
.vcard__open span {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--av, var(--navy-700));
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 14px rgba(10, 35, 66, 0.1);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.vcard__open span i { font-size: 14px; transition: transform 0.45s var(--ease); }
.vcard__open:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }

.vcard:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--gold-200); }
.vcard:hover .vcard__band { height: 100%; }
.vcard:hover .vavatar::after { opacity: 1; transform: scale(1); animation: spin 12s linear infinite; }
.vcard:hover .vcard__open span,
.vcard__open:focus-visible span { background: var(--gold-grad); color: var(--white); transform: scale(1.08); }
.vcard:hover .vcard__open span i,
.vcard__open:focus-visible span i { transform: rotate(-45deg); }

.vgrid .vcard { animation: vcardIn 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes vcardIn { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: none; } }

.vgrid .vcard.is-highlight { border-color: var(--gold-400); animation: vcardIn 0.7s var(--ease) both, glow 1.6s 0.8s ease-in-out 3; }
@keyframes glow {
  0%, 100% { box-shadow: 0 12px 32px rgba(10, 35, 66, 0.08), 0 0 0 0 rgba(208, 148, 32, 0); }
  50% { box-shadow: 0 12px 32px rgba(10, 35, 66, 0.08), 0 0 0 8px rgba(208, 148, 32, 0.35); }
}

/* ==========================================================================
   27. VOLUNTEER REGISTRATION
   ========================================================================== */
/* layout is mobile-first: one column on phones, side panels 2-up on tablets,
   form + sticky side panel from 1200px. minmax(0, …) lets columns shrink below long text. */
.vreg { padding: clamp(44px, 6vw, 90px) 0 clamp(56px, 6vw, 90px); }
.vreg__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.vreg__aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 768px) {
  .vreg__grid { gap: 30px; }
  .vreg__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1200px) {
  .vreg__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; }
  .vreg__aside { grid-template-columns: minmax(0, 1fr); position: sticky; top: calc(var(--header-h) + 20px); }
}

/* stepper */
.vsteps {
  --progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 4px 0 32px;
  padding: 0;
}
.vsteps::before,
.vsteps::after {
  content: "";
  position: absolute;
  top: 25px;
  left: calc(100% / 6);
  height: 3px;
  border-radius: 3px;
}
.vsteps::before { right: calc(100% / 6); background: #e8e1d4; }
.vsteps::after { width: calc((100% - 100% / 3) * var(--progress)); background: var(--gold-grad); transition: width 0.7s var(--ease); }
.vsteps__item { position: relative; z-index: 1; display: flex; justify-content: center; }
.vsteps__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}
.vsteps__btn:disabled { cursor: default; }
.vsteps__dot {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #a9b2bc;
  background: var(--white);
  border: 2px solid #e2dacb;
  transition: transform 0.45s var(--ease), background 0.45s, border-color 0.45s, color 0.45s, box-shadow 0.45s;
}
.vsteps__dot i { grid-area: 1 / 1; transition: transform 0.45s var(--ease), opacity 0.3s; }
.vsteps__tick { opacity: 0; transform: scale(0.3) rotate(-90deg); }
.vsteps__label { font-size: 14px; font-weight: 800; line-height: 1.25; color: var(--navy-text); text-align: center; }
.vsteps__label small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #9aa5b1; }
.vsteps__item.is-active .vsteps__dot {
  color: var(--gold-500);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 6px rgba(208, 148, 32, 0.14);
  transform: scale(1.08);
}
.vsteps__item.is-active .vsteps__dot::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(208, 148, 32, 0.45);
  animation: pulse 2.2s ease-out infinite;
}
.vsteps__item.is-active .vsteps__label small { color: var(--gold-500); }
.vsteps__item.is-done .vsteps__dot { color: var(--white); background: var(--gold-grad); border-color: transparent; box-shadow: 0 8px 18px rgba(208, 148, 32, 0.3); }
.vsteps__item.is-done .vsteps__dot > i:first-child { opacity: 0; transform: scale(0.3); }
.vsteps__item.is-done .vsteps__tick { opacity: 1; transform: none; }
.vsteps__btn:not(:disabled):hover .vsteps__dot { transform: translateY(-3px); }
.vsteps__btn:focus-visible { outline: none; }
.vsteps__btn:focus-visible .vsteps__dot { outline: 3px solid var(--gold-300); outline-offset: 3px; }

/* step panels */
.vstep { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.vstep.is-active { display: block; animation: stepIn 0.55s var(--ease) both; }
.vstep.is-shaking { animation: shake 0.45s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}
.vstep__title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 25px);
  color: var(--navy-text);
}
.vstep__title span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-500);
  padding: 3px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-300);
  background: var(--white);
}

.vlabel { font-size: 14.5px; font-weight: 800; color: var(--navy-text); margin-bottom: 10px; }
.vlabel span { color: var(--gold-500); }
.vlabel em { margin-left: 6px; font-style: normal; font-size: 13px; font-weight: 600; color: #9aa5b1; }

.choice input,
.day-chip input,
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* interest tiles */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form-field .choice { position: relative; display: block; margin: 0; cursor: pointer; }
.form-field .choice .choice__body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1.5px solid #e4ded3;
  background: var(--white);
  color: var(--navy-text);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.4s;
}
.choice__body > i:first-child {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--gold-500);
  background: var(--cream);
  transition: transform 0.45s var(--ease), background 0.3s, color 0.3s;
}
.choice__body b { font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.choice__tick {
  position: absolute;
  top: 12px; right: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: transparent;
  border: 1.5px solid #d9d2c5;
  transition: all 0.3s var(--ease);
}
.form-field .choice:hover .choice__body { border-color: var(--gold-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.form-field .choice input:checked + .choice__body {
  border-color: var(--gold-500);
  background: linear-gradient(160deg, #fffaf0, #fcefd2);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.16);
}
.choice input:checked + .choice__body > i:first-child { color: var(--white); background: var(--gold-grad); transform: rotate(-8deg) scale(1.06); }
.choice input:checked + .choice__body .choice__tick { color: var(--white); background: var(--gold-grad); border-color: transparent; transform: scale(1.1); }
.form-field .choice input:focus-visible + .choice__body { box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.24); }
.form-field.has-error .choice .choice__body,
.form-field.has-error .day-chip span { border-color: #f0b4ad; }

/* day chips */
.day-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.form-field .day-chip { position: relative; display: block; margin: 0; cursor: pointer; }
.form-field .day-chip span {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px; height: 48px;
  border-radius: 14px;
  border: 1.5px solid #e4ded3;
  background: var(--white);
  color: var(--navy-text);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.form-field .day-chip--weekend span::after {
  content: "";
  position: absolute;
  top: 6px; right: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
}
.form-field .day-chip:hover span { border-color: var(--gold-300); transform: translateY(-2px); }
.form-field .day-chip input:checked + span { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); box-shadow: 0 8px 18px rgba(4, 44, 72, 0.25); }
.form-field .day-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.24); }

/* segmented radio */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border-radius: 16px;
  border: 1.5px solid #e4ded3;
  background: var(--white);
}
.form-field .seg label { position: relative; display: block; margin: 0; cursor: pointer; }
.form-field .seg label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.form-field .seg label span i { color: var(--gold-500); transition: color 0.3s; }
.form-field .seg label:hover input:not(:checked) + span { color: var(--navy-text); background: var(--cream); }
.form-field .seg input:checked + span { color: var(--white); background: var(--gold-grad); box-shadow: 0 6px 14px rgba(208, 148, 32, 0.3); }
.form-field .seg input:checked + span i { color: var(--white); }
.form-field .seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.24); }

/* photo upload */
.photo-drop {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 2px dashed #ddd3c2;
  background: var(--white);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.photo-drop.is-drag { border-color: var(--gold-500); background: #fffaf0; transform: scale(1.01); }
.photo-drop.has-error { border-color: #e06c5f; }
.photo-drop.has-photo { border-style: solid; border-color: var(--gold-200); }
.photo-drop__preview {
  flex-shrink: 0;
  width: 88px; height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  font-size: 26px;
  color: var(--gold-500);
  background: var(--cream);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gold-200);
  transition: transform 0.4s var(--ease);
}
.photo-drop__preview:hover { transform: scale(1.05); }
.photo-drop__preview:hover i { animation: floatIcon 1.6s ease-in-out infinite; }
.photo-drop__preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-drop__text strong { display: block; font-size: 15px; color: var(--navy-text); }
.form-field .photo-drop__browse { display: inline; margin: 0; font-size: inherit; color: var(--gold-500); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.photo-drop__text small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.photo-drop__remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #b03a2e;
}
.photo-drop__remove:hover { text-decoration: underline; }

.check__text a { color: var(--gold-500); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

/* form navigation */
.vform__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px dashed #e2d9c8;
}
.vform__count { flex: 1; text-align: center; font-size: 13.5px; font-weight: 800; letter-spacing: 0.04em; color: #9aa5b1; }

/* success */
.vsuccess { position: relative; text-align: center; padding: 16px 6px 6px; outline: none; animation: statusIn 0.6s var(--ease) both; }
.vsuccess__check {
  display: block;
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3d9 0 62%, transparent 63%);
}
.vsuccess__check circle,
.vsuccess__check path { fill: none; stroke: var(--gold-500); stroke-linecap: round; stroke-linejoin: round; }
.vsuccess__check circle { stroke-width: 4; stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw 0.8s 0.1s var(--ease) forwards; }
.vsuccess__check path { stroke-width: 5; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.5s 0.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vsuccess__burst { position: absolute; left: 50%; top: 64px; width: 0; height: 0; }
.vsuccess__burst span {
  position: absolute;
  left: -5px; top: -5px;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--gold-400);
  opacity: 0;
  animation: burst 1.1s 0.75s var(--ease) both;
}
.vsuccess__burst span:nth-child(1) { --a: 0deg; }
.vsuccess__burst span:nth-child(2) { --a: 45deg; background: var(--navy-700); border-radius: 50%; }
.vsuccess__burst span:nth-child(3) { --a: 90deg; background: #1f7a6d; }
.vsuccess__burst span:nth-child(4) { --a: 135deg; background: var(--gold-300); border-radius: 50%; }
.vsuccess__burst span:nth-child(5) { --a: 180deg; background: #b5523b; }
.vsuccess__burst span:nth-child(6) { --a: 225deg; background: var(--gold-500); border-radius: 50%; }
.vsuccess__burst span:nth-child(7) { --a: 270deg; background: var(--navy-700); }
.vsuccess__burst span:nth-child(8) { --a: 315deg; background: #6a4c93; border-radius: 50%; }
@keyframes burst {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(0.2); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-92px) scale(1) rotate(180deg); }
}
.vsuccess .eyebrow { margin-bottom: 4px; }
.vsuccess__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; color: var(--navy-text); margin-bottom: 12px; }
.vsuccess__text { max-width: 470px; margin: 0 auto 26px; color: var(--muted); }
.vsuccess__text strong { color: var(--navy-text); }
.vsuccess__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (prefers-reduced-motion: reduce) {
  .vsuccess__check circle,
  .vsuccess__check path { stroke-dashoffset: 0; }
}

/* aside: live preview */
.vpreview {
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(40, 90, 130, 0.6), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(208, 148, 32, 0.22), transparent 70%),
    linear-gradient(160deg, #0e3e62 0%, #042c48 100%);
  box-shadow: 0 20px 44px rgba(4, 44, 72, 0.25);
}
.vpreview__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.vpreview__label i { color: var(--gold-400); }
.vcard--preview { border-color: transparent; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); transition: box-shadow 0.5s; }
.vcard--preview:hover { transform: none; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); border-color: transparent; }
.vcard--preview:hover .vcard__band { height: 96px; }
.vcard--preview .vcard__quote.is-placeholder { color: #a5aeb8; }
.vcard--preview .vcard__name { word-break: break-word; }
.vcard--preview.is-registered,
.vcard--preview.is-registered:hover { box-shadow: 0 0 0 3px var(--gold-400), 0 18px 40px rgba(0, 0, 0, 0.25); }
.vcard--preview.is-registered::after {
  content: "\2713  Registered";
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  background: var(--gold-grad);
  animation: statusIn 0.5s var(--ease) both;
}

/* aside: next steps */
.vnext { padding: 26px; border-radius: 22px; background: var(--white); box-shadow: 0 12px 30px rgba(10, 35, 66, 0.08); }
.vnext__title { font-size: 20px; font-weight: 800; color: var(--navy-text); margin-bottom: 18px; }
.vnext__list { position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.vnext__list::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 12px; border-left: 2px dashed var(--gold-200); }
.vnext__list li { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.vnext__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--gold-500);
  background: var(--cream);
  box-shadow: 0 0 0 5px var(--white);
  transition: background 0.4s, color 0.4s;
}
.vnext__list li:hover .vnext__icon { color: var(--white); background: var(--gold-grad); animation: floatIcon 1.6s ease-in-out infinite; }
.vnext__list strong { display: block; font-size: 15.5px; color: var(--navy-text); }
.vnext__list small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* ==========================================================================
   28. VOLUNTEERS WALL
   ========================================================================== */
.vstats { position: relative; z-index: 5; margin-top: clamp(-70px, -4.5vw, -40px); }
.vstats__band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(10, 35, 66, 0.12);
  overflow: hidden;
}
.vstat { position: relative; display: flex; align-items: center; gap: 16px; padding: 28px 26px; transition: background 0.4s; }
.vstat + .vstat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.vstat__icon {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--gold-500);
  background: var(--cream);
  transition: background 0.45s, color 0.45s, border-radius 0.45s, box-shadow 0.45s;
}
.vstat__num { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; color: var(--navy-text); }
.vstat__label { display: block; margin-top: 5px; font-size: 14px; font-weight: 700; color: var(--muted); }
.vstat:hover { background: #fffaf0; }
.vstat:hover .vstat__icon { color: var(--white); background: var(--gold-grad); border-radius: 50%; box-shadow: 0 10px 22px rgba(208, 148, 32, 0.4); animation: floatIcon 1.8s ease-in-out infinite; }

/* spotlight */
.spotlight-section { padding: clamp(56px, 6vw, 84px) 0 0; }
.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  padding: clamp(34px, 4vw, 56px) clamp(28px, 5vw, 72px);
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(ellipse 45% 80% at 8% 50%, rgba(208, 148, 32, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(40, 90, 130, 0.6), transparent 70%),
    linear-gradient(150deg, #0e3e62 0%, #021f38 100%);
  box-shadow: 0 30px 60px rgba(4, 44, 72, 0.28);
  overflow: hidden;
  isolation: isolate;
}
.spotlight::after { /* dotted corner texture */
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 46%; height: 70%;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1.1px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 100% 100%, #000, transparent 70%);
}
.spotlight__media { position: relative; padding: 18px; }
.spotlight__ring { position: absolute; inset: -2px; border-radius: 50%; border: 2px dashed rgba(230, 195, 125, 0.55); animation: spin 30s linear infinite; }
.spotlight__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--navy-text);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  animation: pinBounce 3s ease-in-out infinite;
}
.spotlight__chip i { color: var(--gold-500); }
.spotlight__chip--a { left: -14px; bottom: 26px; }
.spotlight__chip--b { right: -34px; top: 16px; color: var(--white); background: var(--gold-grad); animation-delay: 1.3s; }
.spotlight__chip--b i { color: var(--white); }
.spotlight .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-300); }
.spotlight__name { margin: 8px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.05; }
.spotlight__role { margin-bottom: 20px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.spotlight__quote {
  max-width: 640px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.95);
}
.spotlight__quote i { margin-right: 10px; font-size: 20px; vertical-align: top; color: var(--gold-400); }
.spotlight__stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.spotlight__stats div {
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.4s, transform 0.4s var(--ease);
}
.spotlight__stats div:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-4px); }
.spotlight__stats b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--gold-300); }
.spotlight__stats small { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.72); }
.spotlight .vcard__tags { justify-content: flex-start; margin: 0; }
.spotlight .vtag { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.spotlight .vtag i { color: var(--gold-300); }

/* directory */
.vwall { padding: clamp(60px, 6vw, 90px) 0; }
.vwall__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 24px; margin-bottom: 26px; }
.vwall__head .section-head { margin-bottom: 0; }

.vtoolbar {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 14px;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--cream);
}
.vsearch { position: relative; }
.vsearch i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #9aa5b1; transition: color 0.3s; pointer-events: none; }
.vsearch input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border: 1.5px solid #e4ded3;
  border-radius: 14px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.vsearch input:hover { border-color: var(--gold-300); }
.vsearch input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.14); }
.vsearch:focus-within i { color: var(--gold-500); }
.vfilters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.vchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 16px;
  border-radius: 999px;
  border: 1.5px solid #e4ded3;
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-text);
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.vchip i { color: var(--gold-500); transition: color 0.3s; }
.vchip em { min-width: 24px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: 12px; text-align: center; color: var(--muted); background: var(--cream); transition: background 0.3s, color 0.3s; }
.vchip:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.vchip:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }
.vchip.is-active { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); box-shadow: 0 8px 18px rgba(4, 44, 72, 0.22); }
.vchip.is-active i { color: var(--gold-300); }
.vchip.is-active em { color: var(--white); background: rgba(255, 255, 255, 0.16); }

.vwall__count { margin: 0 0 20px; font-size: 14.5px; color: var(--muted); }
.vwall__count b { color: var(--navy-text); }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.vempty { padding: 50px 20px; text-align: center; border-radius: 24px; border: 2px dashed #e6dccb; background: #fffdf9; }
.vempty__icon {
  width: 76px; height: 76px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold-500);
  background: var(--cream);
  animation: floatIcon 3s ease-in-out infinite;
}
.vempty h3 { margin: 14px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--navy-text); }
.vempty p { margin-bottom: 18px; color: var(--muted); }

.vmore { margin-top: 38px; text-align: center; }
.vmore .btn:hover .fa-chevron-down { transform: translateY(3px); }

/* join band */
.vjoin { padding: 0 0 clamp(60px, 6vw, 90px); }
.vjoin__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 34px 42px;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(208, 148, 32, 0.3), transparent 70%),
    linear-gradient(150deg, #0e3e62 0%, #042c48 100%);
  box-shadow: 0 24px 50px rgba(4, 44, 72, 0.25);
  overflow: hidden;
  isolation: isolate;
}
.vjoin__faces { display: flex; flex-shrink: 0; padding-left: 16px; }
.vjoin__faces > span { margin-left: -16px; transition: transform 0.4s var(--ease); }
.vjoin__faces > span:hover { transform: translateY(-6px); }
.vjoin__faces .vavatar { --size: 60px; box-shadow: 0 0 0 3px #0b3758, 0 8px 18px rgba(0, 0, 0, 0.25); }
.vjoin__more {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--gold-grad);
  box-shadow: 0 0 0 3px #0b3758;
}
.vjoin__text { flex: 1; }
.vjoin__title { margin-bottom: 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.vjoin__text p { color: rgba(255, 255, 255, 0.8); }
.vjoin__card .btn { flex-shrink: 0; }

/* profile modal */
html.has-modal { overflow: hidden; }
.vmodal {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 40px 80px rgba(2, 31, 56, 0.4);
  overflow: auto;
  overscroll-behavior: contain;
}
.vmodal::backdrop { background: rgba(2, 31, 56, 0.62); backdrop-filter: blur(4px); }
.vmodal[open] { animation: modalIn 0.5s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: none; } }
.vmodal__inner { position: relative; }
.vmodal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  font-size: 18px;
  color: var(--navy-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(10, 35, 66, 0.14);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.vmodal__close:hover,
.vmodal__close:focus-visible { color: var(--white); background: var(--gold-grad); transform: rotate(90deg); outline: none; }
.vmodal__head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 32px 28px;
  background:
    radial-gradient(circle at 90% -20%, rgba(255, 255, 255, 0.8), transparent 50%),
    linear-gradient(135deg, var(--av-soft, #e3edf5), #ffffff);
}
.vmodal__name { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--navy-text); }
.vmodal__role { margin-top: 4px; font-weight: 700; color: var(--muted); }
.vmodal__content { padding: 4px 32px 32px; }
.vmodal__quote {
  margin: 18px 0 22px;
  padding: 18px 20px;
  border-radius: 16px;
  border-left: 4px solid var(--gold-400);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.42;
  color: var(--navy-text);
  background: var(--cream);
}
.vmodal__quote i { margin-right: 8px; font-size: 15px; vertical-align: top; color: var(--gold-500); }
.vmodal__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 6px; }
.vmodal__fact {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #efe9df;
}
.vmodal__fact i {
  grid-row: span 2;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--av, var(--navy-700));
  background: var(--av-soft, var(--sky));
}
.vmodal__fact dt { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #9aa5b1; }
.vmodal__fact dd { margin: 0; font-size: 15px; font-weight: 800; color: var(--navy-text); }
.vmodal__sub { margin: 22px 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-500); }
.vmodal__days { display: flex; flex-wrap: wrap; gap: 8px; }
.vmodal__days span {
  width: 50px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 800;
  color: #b3bac2;
  background: #f5f2ec;
}
.vmodal__days span.is-on { color: var(--white); background: var(--navy-800); }
.vmodal__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.vmodal__skills span { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy-text); background: #fffaf0; border: 1.5px solid var(--gold-200); }

/* ---------- volunteers responsive ---------- */
@media (max-width: 1199px) {
  .vgrid { gap: 22px; }
}
@media (max-width: 991px) {
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .vstats__band { grid-template-columns: repeat(2, 1fr); }
  .vstat:nth-child(3)::before { display: none; }
  .vstat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .spotlight { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .spotlight__quote { margin-inline: auto; }
  .spotlight__stats,
  .spotlight .vcard__tags { justify-content: center; }
  .vjoin__card { flex-direction: column; text-align: center; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .vtoolbar { grid-template-columns: 1fr; }
  .vmodal__head { flex-direction: column; text-align: center; padding: 32px 22px 22px; }
  .vmodal__content { padding: 4px 22px 26px; }
  .vmodal__facts { grid-template-columns: 1fr; }
  .vform__nav { flex-wrap: wrap; }
  .vform__count { order: -1; flex-basis: 100%; text-align: left; }
  .vform__nav .btn { flex: 1; }
}
@media (max-width: 575px) {
  .vgrid { grid-template-columns: 1fr; }
  .vstat { flex-direction: column; text-align: center; gap: 10px; padding: 22px 12px; }
  .vstat__icon { width: 48px; height: 48px; font-size: 18px; }
  .choice-grid { gap: 10px; }
  .form-field .choice .choice__body { padding: 14px 12px 12px; }
  .choice__body b { font-size: 13.5px; padding-right: 18px; }
  .vsteps::before,
  .vsteps::after { top: 22px; }
  .vsteps__dot { width: 46px; height: 46px; font-size: 16px; }
  .vsteps__label { font-size: 12.5px; }
  .vsteps__label small { display: none; }
  .photo-drop { flex-direction: column; text-align: center; }
  .form-field .day-chip span { width: 52px; height: 44px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .form-field .seg label span { justify-content: center; width: 100%; }
  .vsuccess__actions .btn { width: 100%; }
  .spotlight__chip--b { right: -12px; }
  .vjoin__card { padding: 30px 22px; }
  .vjoin__card .btn { width: 100%; }
  .vwall__head .btn { width: 100%; }
  .vtoolbar { padding: 14px; }
  .vfilters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 2px 14px 6px; scrollbar-width: none; }
  .vfilters::-webkit-scrollbar { display: none; }
  .vchip { flex-shrink: 0; }
}

/* ---------- Become a Volunteer (volunteer-register.html): phone polish (mobile-first layer) ---------- */
@media (hover: none) {
  .vperks .info-card:hover { transform: none; }
}
@media (max-width: 767px) {
  .vreg__card .section-head { margin-bottom: 22px; }
  .vreg__card .section-title { font-size: clamp(28px, 7.6vw, 36px); }
  .vnext { padding: 22px 20px; border-radius: 20px; }
}
@media (max-width: 575px) {
  /* "ways you can help": a compact 2 x 2 grid instead of four tall cards */
  .vperks .info-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vperks .info-card { padding: 18px 14px 16px; border-radius: 18px; box-shadow: 0 10px 26px rgba(10, 35, 66, 0.1); }
  .vperks .info-card__icon { width: 46px; height: 46px; font-size: 19px; border-radius: 14px; margin-bottom: 12px; }
  .vperks .info-card__title { font-size: 15.5px; line-height: 1.25; margin-bottom: 4px; }
  .vperks .info-card__value { font-size: 13px; line-height: 1.5; margin-bottom: 0; }

  /* form card: more room for the fields */
  .vreg__card { padding: 24px 18px 22px; }
  .vreg__card .section-head__text { font-size: 15px; }
  /* days: an even 4-column grid instead of a ragged wrap */
  .vreg .day-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .vreg .form-field .day-chip span { width: 100%; }
  .vreg .form-field .choice .choice__body { padding: 12px 10px 10px; }
  .vreg .vform__nav .btn { min-height: 50px; }
}
@media (max-width: 359px) {
  .vperks .info-grid { grid-template-columns: 1fr; }
  .vreg .day-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   FAQ PAGE (faq.html) — search, sticky category nav, full-width category bands
   ========================================================================== */

/* ---------- search card (overlaps the hero curve) ---------- */
.faq-search { position: relative; z-index: 3; margin-top: clamp(-90px, -6vw, -50px); }
.faq-search__card {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: 34px clamp(22px, 4vw, 48px) 28px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--white);
  border: 1px solid #f0e9dc;
  box-shadow: var(--shadow-lg);
}
.faq-search__head .eyebrow { margin-bottom: 6px; }
.faq-search__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  color: var(--navy-text);
  margin-bottom: 22px;
}
.faq-search__field { position: relative; margin: 0; }
.faq-search__field > i {
  position: absolute; left: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #9aa5b1;
  pointer-events: none;
  transition: color 0.3s;
}
.faq-search__field input {
  width: 100%;
  height: 64px;
  padding: 0 64px 0 60px;
  border: 1.5px solid #e4ded3;
  border-radius: 999px;
  background: var(--cream-2);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.faq-search__field input::-webkit-search-cancel-button { display: none; }
.faq-search__field input::placeholder { color: #8b96a3; font-weight: 500; }
.faq-search__field input:hover { border-color: var(--gold-300); }
.faq-search__field input:focus { background: var(--white); border-color: var(--gold-500); box-shadow: 0 0 0 5px rgba(208, 148, 32, 0.14); }
.faq-search__field:focus-within > i { color: var(--gold-500); }
.faq-search__clear {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy-text);
  background: var(--cream);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.faq-search__clear[hidden] { display: none; }
.faq-search__clear:hover { background: var(--navy-800); color: var(--white); transform: translateY(-50%) rotate(90deg); }

.faq-search__popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
}
.faq-search__popular span { font-weight: 800; color: var(--muted); margin-right: 4px; }
.faq-search__popular button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px dashed var(--gold-300);
  background: #fffaf0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-text);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.faq-search__popular button:hover { background: var(--gold-grad); color: var(--white); border-color: transparent; transform: translateY(-2px); }
.faq-search__status { font-size: 14.5px; color: var(--muted); }
.faq-search__status:not(:empty) { margin-top: 16px; }
.faq-search__status i { color: #2e9e6a; margin-right: 4px; }
.faq-search__status b { color: var(--navy-text); }

/* ---------- sticky category nav ---------- */
.faq-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
  transition: box-shadow 0.35s;
}
.faq-nav.is-stuck { box-shadow: 0 10px 24px rgba(10, 35, 66, 0.08); }
.faq-nav__track {
  display: flex;
  gap: 10px;
  padding: 14px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.faq-nav__track::-webkit-scrollbar { display: none; }
.faq-nav__link:first-child { margin-left: auto; }
.faq-nav__link:last-child { margin-right: auto; }
.faq-nav__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #e4ded3;
  background: var(--white);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-text);
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.faq-nav__link i { color: var(--gold-500); transition: color 0.3s; }
.faq-nav__link em {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  background: var(--cream);
  transition: background 0.3s, color 0.3s;
}
.faq-nav__link:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.faq-nav__link:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }
.faq-nav__link.is-active { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); box-shadow: 0 8px 18px rgba(4, 44, 72, 0.22); }
.faq-nav__link.is-active i { color: var(--gold-300); }
.faq-nav__link.is-active em { color: var(--white); background: rgba(255, 255, 255, 0.16); }
.faq-nav__link.is-dim { opacity: 0.4; pointer-events: none; }

/* ---------- full-width category bands ---------- */
.faq-cat {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0;
  scroll-margin-top: calc(var(--header-h) + 70px);
  overflow: clip; /* clip (not hidden) so the sticky intro still works */
  isolation: isolate;
}
.faq-cat[hidden], .faq-item[hidden], .faq-empty[hidden] { display: none !important; }
.faq-cat:nth-of-type(even) {
  background:
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(241, 220, 170, 0.35), transparent 70%),
    radial-gradient(ellipse 35% 50% at 100% 0%, rgba(238, 246, 252, 0.9), transparent 70%),
    var(--cream);
}
.faq-cat__num {
  position: absolute;
  right: 3%;
  top: clamp(10px, 2vw, 30px);
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(140px, 18vw, 280px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-200);
  opacity: 0.8;
  user-select: none;
  pointer-events: none;
}
.faq-cat:nth-of-type(even) .faq-cat__num { right: auto; left: 3%; top: auto; bottom: clamp(10px, 2vw, 30px); }

.faq-cat__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.faq-cat__intro {
  position: sticky;
  top: calc(var(--header-h) + 100px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.faq-cat__icon {
  width: 76px; height: 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 14px 30px rgba(208, 148, 32, 0.35);
  margin-bottom: 22px;
  transform: rotate(-6deg);
  transition: transform 0.6s var(--ease);
}
.faq-cat:hover .faq-cat__icon { transform: rotate(0deg) translateY(-4px); }
.faq-cat__intro .eyebrow { margin-bottom: 8px; }
.faq-cat__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  color: var(--navy-text);
  padding-bottom: 18px;
  margin-bottom: 16px;
}
.faq-cat__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 4px;
  border-radius: 4px;
  background: var(--gold-grad);
}
.faq-cat__text { color: var(--muted); font-size: 16.5px; line-height: 1.6; margin-bottom: 18px; }
.faq-cat__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-text);
  background: rgba(241, 220, 170, 0.45);
  margin-bottom: 24px;
}
.faq-cat__count b { color: var(--gold-500); font-size: 15px; }

/* numbered questions inside category bands */
.faq-cat .faq-list { counter-reset: faqq; }
.faq-cat .faq-item { position: relative; margin-bottom: 16px; }
.faq-cat .faq-item:last-child { margin-bottom: 0; }
.faq-cat .faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold-grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.faq-cat .faq-item.is-open::before { transform: scaleY(1); }
.faq-cat .faq-q { padding: 22px 24px; font-size: 17px; }
.faq-cat .faq-q::before {
  counter-increment: faqq;
  content: counter(faqq, decimal-leading-zero);
  flex-shrink: 0;
  width: 30px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--gold-400);
  transition: color 0.3s;
}
.faq-cat .faq-item.is-open .faq-q::before { color: var(--gold-500); }
.faq-cat .faq-q span { flex: 1; }
.faq-cat .faq-a p { padding: 0 24px 22px 72px; font-size: 16px; line-height: 1.7; }
.faq-q mark {
  padding: 0 2px;
  border-radius: 4px;
  color: inherit;
  background: var(--gold-200);
}

/* ---------- no results ---------- */
.faq-empty { padding: clamp(60px, 7vw, 100px) 0; text-align: center; }
.faq-empty__icon {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: var(--gold-500);
  background: var(--cream);
  border: 2px dashed var(--gold-300);
}
.faq-empty__title { font-family: var(--font-display); font-weight: 400; font-size: 32px; color: var(--navy-text); margin-bottom: 8px; }
.faq-empty p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.faq-empty strong { color: var(--navy-text); word-break: break-word; }
.faq-empty__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- still have questions band ---------- */
.faq-ask {
  position: relative;
  padding: clamp(44px, 5vw, 64px) 0;
  color: var(--white);
  background:
    radial-gradient(ellipse 45% 90% at 85% 0%, rgba(40, 90, 130, 0.6), transparent 70%),
    radial-gradient(ellipse 30% 80% at 0% 100%, rgba(208, 148, 32, 0.18), transparent 70%),
    linear-gradient(160deg, #0e3e62 0%, #042c48 100%);
  overflow: hidden;
  isolation: isolate;
}
.faq-ask__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.faq-ask__text { display: flex; align-items: center; gap: 22px; }
.faq-ask__icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: var(--gold-grad);
  box-shadow: 0 12px 26px rgba(208, 148, 32, 0.4);
  animation: floatIcon 3s ease-in-out infinite;
}
.faq-ask__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; margin-bottom: 6px; }
.faq-ask__text p { color: rgba(255, 255, 255, 0.82); font-size: 16px; }
.faq-ask__links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.faq-ask__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
  font-size: 15px;
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.faq-ask__link i {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.1);
}
.faq-ask__link small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.faq-ask__link:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--gold-300); transform: translateY(-3px); }
.faq-ask__deco {
  position: absolute;
  right: 2%; bottom: -30px;
  width: 220px;
  color: rgba(255, 255, 255, 0.05);
  z-index: -1;
  transform: rotate(-12deg);
}

/* ---------- FAQ responsive ---------- */
@media (max-width: 1199px) {
  .faq-cat__grid { grid-template-columns: 300px 1fr; }
  .faq-ask__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 991px) {
  .faq-cat__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-cat__intro {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    align-items: center;
  }
  .faq-cat__icon { grid-row: span 2; margin-bottom: 0; width: 64px; height: 64px; font-size: 26px; border-radius: 20px; }
  .faq-cat__intro .eyebrow { margin-bottom: 4px; align-self: end; }
  .faq-cat__title { align-self: start; margin-bottom: 0; padding-bottom: 0; }
  .faq-cat__title::after { display: none; }
  .faq-cat__text { grid-column: 1 / -1; margin: 16px 0 0; }
  .faq-cat__count, .faq-cat__intro .btn { display: none; }
  .faq-cat__num { font-size: clamp(120px, 26vw, 200px); }
}
@media (max-width: 767px) {
  .faq-search__card { border-radius: 22px; }
  .faq-search__field input { height: 56px; font-size: 15px; padding-left: 50px; }
  .faq-search__field > i { left: 20px; font-size: 16px; }
  .faq-nav { margin-top: 32px; }
  .faq-nav__track { padding-block: 10px; }
  .faq-nav__link { padding: 8px 12px; font-size: 13.5px; }
  .faq-cat .faq-q { padding: 18px; font-size: 16px; gap: 14px; }
  .faq-cat .faq-q::before { width: 24px; font-size: 18px; }
  .faq-cat .faq-a p { padding: 0 18px 18px 56px; font-size: 15.5px; }
  .faq-ask__text { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 575px) {
  .faq-search__popular { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -22px; padding-inline: 22px; }
  .faq-search__popular::-webkit-scrollbar { display: none; }
  .faq-search__popular > * { flex-shrink: 0; }
  .faq-cat .faq-a p { padding-left: 18px; }
  .faq-ask__links, .faq-ask__link, .faq-ask__links .btn { width: 100%; }
  .faq-ask__links .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-ask__icon { animation: none; }
}

/* ---------- FAQ: phone polish (mobile-first layer) ---------- */
@media (max-width: 767px) {
  .faq-cat { padding: 46px 0; }
  .faq-cat__grid { gap: 22px; }
  .faq-cat__text { margin-top: 12px; font-size: 15.5px; }
  .faq-cat .faq-item { border-radius: 16px; }
  .faq-cat .faq-item + .faq-item { margin-top: 10px; }
  /* the big outlined category number collides with the title on narrow screens */
  .faq-cat__num { display: none; }
}
@media (max-width: 575px) {
  .faq-search__card { padding: 26px 18px 20px; }
  .faq-search__card h2 { font-size: 26px; }
  /* "Popular" chips scroll inside the card with faded edges */
  .faq-search__popular { margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 30px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 30px), transparent 100%); }
  .faq-nav__track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%); }
  .faq-cat__icon { width: 56px; height: 56px; font-size: 23px; border-radius: 18px; }
  .faq-cat__intro { column-gap: 16px; }
  .faq-cat__title { font-size: 27px; line-height: 1.12; }
  .faq-cat .faq-q { padding: 16px 16px; font-size: 15.5px; line-height: 1.45; gap: 12px; }
  .faq-cat .faq-q i { width: 30px; height: 30px; flex-shrink: 0; }
  .faq-cat .faq-a p { padding: 0 16px 18px; font-size: 15px; line-height: 1.7; }
}

/* ==========================================================================
   WORK DETAIL PAGES (food-distribution / education-support / elderly-care /
   community-relief .html) — prefix .wd-
   ========================================================================== */
.wd-section { position: relative; padding: clamp(70px, 8vw, 120px) 0; }
.wd-section--cream {
  background:
    radial-gradient(ellipse 40% 50% at 0% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    radial-gradient(ellipse 35% 45% at 100% 100%, rgba(238, 246, 252, 0.9), transparent 70%),
    var(--cream);
}
.wd-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.wd-head-row .section-head { margin-bottom: 0; max-width: 640px; }

/* ---------- hero extras ---------- */
.wd-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-grad);
  vertical-align: middle;
}

/* ---------- quick facts bar ---------- */
.wd-facts { position: relative; z-index: 3; margin-top: clamp(-80px, -5.5vw, -46px); }
.wd-facts__bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #f0e9dc;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.wd-fact {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  transition: background 0.4s;
}
.wd-fact + .wd-fact::before {
  content: "";
  position: absolute;
  left: 0; top: 24%; bottom: 24%;
  width: 1px;
  background: var(--line);
}
.wd-fact:hover { background: #fffaf0; }
.wd-fact__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: var(--gold-500);
  background: rgba(241, 220, 170, 0.45);
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s;
}
.wd-fact:hover .wd-fact__icon { transform: rotate(-10deg) scale(1.06); background: var(--gold-grad); color: var(--white); }
.wd-fact small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 2px; }
.wd-fact strong { display: block; font-size: 15.5px; line-height: 1.35; color: var(--navy-text); }

/* ---------- overview ---------- */
.wd-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.wd-intro__media { position: relative; padding: 0 12% 14% 0; }
.wd-intro__media::before { /* dotted pattern */
  content: "";
  position: absolute;
  left: -28px; top: -28px;
  width: 160px; height: 160px;
  background-image: radial-gradient(var(--gold-300) 2px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: 0.7;
  z-index: -1;
}
.wd-intro__main {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
}
.wd-intro__main img, .wd-intro__small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wd-intro__media:hover .wd-intro__main img { transform: scale(1.06); }
.wd-intro__small {
  position: absolute;
  right: 0; bottom: 0;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.wd-intro__small:hover img { transform: scale(1.08); }
.wd-intro__badge {
  position: absolute;
  left: -18px; bottom: 22%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
  animation: wdFloat 4s ease-in-out infinite;
}
.wd-intro__badge i {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--white);
  background: var(--gold-grad);
}
.wd-intro__badge .stat__num { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--navy-text); }
.wd-intro__badge small { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
@keyframes wdFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.wd-intro__content .section-head .swoosh { left: 10%; width: 90%; }
.wd-lead { font-size: 18.5px; line-height: 1.6; color: var(--navy-text); font-weight: 600; margin-bottom: 16px; }
.wd-intro__content > p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 14px; }
.wd-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 26px 0 32px; }
.wd-ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; color: var(--navy-text); line-height: 1.45; }
.wd-ticks i {
  flex-shrink: 0;
  width: 26px; height: 26px;
  margin-top: -1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 6px 14px rgba(208, 148, 32, 0.3);
}
.wd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- why it matters (full-bleed photo band) ---------- */
.wd-why {
  position: relative;
  padding: clamp(80px, 9vw, 130px) 0;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.wd-why__bg { position: absolute; inset: 0; z-index: -2; }
.wd-why__bg img { width: 100%; height: 100%; object-fit: cover; }
.wd-why::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 70% at 90% 20%, rgba(208, 148, 32, 0.22), transparent 70%),
    linear-gradient(100deg, rgba(3, 30, 52, 0.96) 0%, rgba(4, 44, 72, 0.9) 50%, rgba(4, 44, 72, 0.78) 100%);
}
.wd-why__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.wd-why .eyebrow { color: var(--gold-300); margin-bottom: 10px; }
.wd-why__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.1; margin-bottom: 20px; }
.wd-why__title em { font-style: normal; color: var(--gold-300); }
.wd-why__text { color: rgba(255, 255, 255, 0.82); font-size: 17px; line-height: 1.75; margin-bottom: 30px; }
.wd-quote {
  position: relative;
  margin: 0;
  padding: 26px 28px 26px 84px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.4;
}
.wd-quote::before {
  content: "\201C";
  position: absolute;
  left: 22px; top: 6px;
  font-size: 84px;
  line-height: 1;
  color: var(--gold-400);
}
.wd-why__cards { display: grid; gap: 16px; }
.wd-why__card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s;
}
.wd-why__card:hover { transform: translateX(-8px); background: rgba(255, 255, 255, 0.11); border-color: rgba(230, 195, 125, 0.5); }
.wd-why__card i {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--navy-900);
  background: var(--gold-grad);
}
.wd-why__card h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.wd-why__card p { color: rgba(255, 255, 255, 0.75); font-size: 15px; line-height: 1.6; }

/* ---------- what we do (service cards) ---------- */
.wd-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: wds; }
.wd-service {
  position: relative;
  padding: 36px 30px 32px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #efe9df;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.wd-service::before { /* number */
  counter-increment: wds;
  content: counter(wds, decimal-leading-zero);
  position: absolute;
  right: 22px; top: 12px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gold-200);
  z-index: -1;
  transition: -webkit-text-stroke-color 0.4s;
}
.wd-service::after { /* bottom bar */
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.wd-service:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--gold-200); }
.wd-service:hover::after { transform: scaleX(1); }
.wd-service:hover::before { -webkit-text-stroke-color: var(--gold-400); }
.wd-service__icon {
  width: 66px; height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--gold-500);
  background: rgba(241, 220, 170, 0.45);
  margin-bottom: 22px;
  transition: transform 0.6s var(--ease), background 0.4s, color 0.4s;
}
.wd-service:hover .wd-service__icon { transform: rotate(-8deg) scale(1.06); background: var(--gold-grad); color: var(--white); }
.wd-service h3 { font-size: 20px; font-weight: 800; color: var(--navy-text); margin-bottom: 10px; }
.wd-service p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- how it works (steps) ---------- */
.wd-steps__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.wd-steps__grid::before { /* connector */
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%; top: 52px;
  border-top: 2px dashed var(--gold-300);
}
.wd-step { position: relative; text-align: center; padding: 0 6px; }
.wd-step__ring {
  position: relative;
  width: 104px; height: 104px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--gold-200);
  box-shadow: 0 0 0 10px var(--white), var(--shadow);
  font-size: 34px;
  color: var(--gold-500);
  transition: background 0.5s, color 0.5s, transform 0.6s var(--ease), border-color 0.5s;
}
.wd-step__ring b {
  position: absolute;
  right: -4px; top: -4px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  background: var(--navy-800);
  border: 3px solid var(--white);
}
.wd-step:hover .wd-step__ring { background: var(--gold-grad); color: var(--white); border-color: transparent; transform: translateY(-8px) rotate(-6deg); }
.wd-step h3 { font-size: 19px; font-weight: 800; color: var(--navy-text); margin-bottom: 8px; }
.wd-step p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ---------- impact band spacing on these pages ---------- */
.wd-impact { padding: 0 0 clamp(70px, 8vw, 110px); }

/* ---------- story ---------- */
.wd-story__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.wd-story__media { position: relative; padding: 0 0 24px 24px; }
.wd-story__media::before { /* offset gold frame */
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 86%; height: 86%;
  border-radius: 28px;
  border: 2px solid var(--gold-300);
  z-index: -1;
}
.wd-story__img { border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-lg); }
.wd-story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wd-story__media:hover .wd-story__img img { transform: scale(1.06); }
.wd-story__chip {
  position: absolute;
  right: -14px; top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  background: var(--navy-800);
  box-shadow: 0 14px 28px rgba(4, 44, 72, 0.3);
}
.wd-story__chip i { color: var(--gold-300); }
.wd-story__quote-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 12px 26px rgba(208, 148, 32, 0.38);
  margin-bottom: 24px;
}
.wd-story blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  color: var(--navy-text);
}
.wd-story cite { display: flex; align-items: center; gap: 14px; font-style: normal; font-weight: 800; color: var(--gold-500); margin-bottom: 24px; }
.wd-story cite::before { content: ""; width: 44px; height: 2px; background: var(--gold-grad); }
.wd-story__text { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 28px; max-width: 560px; }

/* ---------- gallery mosaic ---------- */
.wd-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 17vw, 250px);
  gap: 18px;
}
.wd-gallery__grid .g-item { aspect-ratio: auto; height: 100%; border-radius: 20px; }
.wd-gallery__grid .g-item--big { grid-column: span 2; grid-row: span 2; }
.wd-gallery__grid .g-item--wide { grid-column: span 2; }

/* ---------- ways to help ---------- */
.wd-help__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.wd-help-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px 34px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid #efe9df;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.wd-help-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.wd-help-card__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 12px 26px rgba(208, 148, 32, 0.35);
  margin-bottom: 22px;
}
.wd-help-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--navy-text); margin-bottom: 10px; }
.wd-help-card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 18px; }
.wd-help-card ul { display: grid; gap: 8px; margin-bottom: 28px; }
.wd-help-card li { display: flex; gap: 10px; font-size: 15px; font-weight: 700; color: var(--navy-text); }
.wd-help-card li i { color: var(--gold-500); margin-top: 4px; font-size: 13px; }
.wd-help-card .btn { margin-top: auto; align-self: flex-start; }
.wd-help-card--featured {
  color: var(--white);
  border-color: transparent;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(40, 90, 130, 0.6), transparent 70%),
    linear-gradient(160deg, #0e3e62 0%, #042c48 100%);
  box-shadow: 0 22px 46px rgba(4, 44, 72, 0.28);
  transform: translateY(-14px);
}
.wd-help-card--featured:hover { transform: translateY(-22px); }
.wd-help-card--featured h3, .wd-help-card--featured li { color: var(--white); }
.wd-help-card--featured p { color: rgba(255, 255, 255, 0.8); }
.wd-help-card--featured li i { color: var(--gold-300); }
.wd-help-card__ribbon {
  position: absolute;
  right: 22px; top: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-grad);
}
.wd-help-card__deco {
  position: absolute;
  right: -24px; bottom: -20px;
  width: 150px;
  color: rgba(255, 255, 255, 0.06);
  z-index: -1;
  transform: rotate(-12deg);
}

/* ---------- program FAQ ---------- */
.wd-faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.wd-faq__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.wd-faq__aside .section-head__text { margin-bottom: 26px; }
.wd-faq__contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px dashed var(--gold-300);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.wd-faq__contact:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wd-faq__contact > i {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--white);
  background: var(--navy-800);
}
.wd-faq__contact small { display: block; font-size: 13px; color: var(--muted); }
.wd-faq__contact strong { font-size: 18px; color: var(--navy-text); }
.wd-faq__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; color: var(--gold-500); }
.wd-faq__more i { transition: transform 0.35s var(--ease); }
.wd-faq__more:hover i { transform: translateX(5px); }

/* ---------- other programs ---------- */
.wd-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- work detail responsive ---------- */
@media (max-width: 1199px) {
  .wd-facts__bar { grid-template-columns: repeat(2, 1fr); }
  .wd-fact:nth-child(3)::before { display: none; }
  .wd-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .wd-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .wd-intro__grid, .wd-why__grid, .wd-story__grid, .wd-faq__grid { grid-template-columns: 1fr; }
  .wd-intro__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .wd-intro__badge { left: 0; }
  .wd-steps__grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .wd-steps__grid::before { display: none; }
  .wd-story__media { max-width: 480px; }
  .wd-help__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .wd-help-card--featured, .wd-help-card--featured:hover { transform: none; }
  .wd-faq__aside { position: static; }
  .wd-more__grid { grid-template-columns: repeat(2, 1fr); }
  .wd-more__grid > :last-child { display: none; }
  .wd-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .wd-facts__bar { grid-template-columns: 1fr; }
  .wd-fact::before { display: none; }
  .wd-fact + .wd-fact { border-top: 1px solid var(--line); }
  .wd-fact { padding: 18px 20px; }
  .wd-ticks { grid-template-columns: 1fr; }
  .wd-services__grid { grid-template-columns: 1fr; }
  .wd-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 12px; }
  .wd-gallery__grid .g-item--wide { grid-column: span 2; }
  .wd-more__grid { grid-template-columns: 1fr; }
  .wd-more__grid > :last-child { display: block; }
  .wd-quote { padding: 22px 20px 22px 64px; }
  .wd-quote::before { left: 14px; font-size: 64px; }
}
@media (max-width: 575px) {
  .wd-steps__grid { grid-template-columns: 1fr; }
  .wd-intro__badge { padding: 10px 14px 10px 10px; }
  .wd-intro__badge .stat__num { font-size: 22px; }
  .wd-story__chip { right: 0; }
  .wd-actions .btn { width: 100%; justify-content: center; }
  .wd-why__card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .wd-intro__badge { animation: none; }
}

/* ==========================================================================
   VIDEO GALLERY PAGE (video-gallery.html) — prefix .vg-        MOBILE-FIRST
   Base rules are the phone layout; min-width queries (400 / 576 / 768 / 992 /
   1200) layer on the tablet and desktop layouts. Hover effects only run on
   devices that can hover. The filter pills (.vg-filters / .vg-filter) are
   shared with the photo gallery page.
   ========================================================================== */
.vg-badge-play { padding-left: 5px; }

/* ---------- shared thumbnail (poster + play button) ---------- */
.vg-card[hidden] { display: none !important; }
.vg-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  isolation: isolate;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vg-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.vg-thumb__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 31, 56, 0.35) 0%, rgba(2, 31, 56, 0) 35%, rgba(2, 31, 56, 0) 55%, rgba(2, 31, 56, 0.7) 100%);
  transition: background-color 0.5s var(--ease);
}
.vg-thumb:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 4px; }

.vg-play {
  position: absolute;
  left: 50%; top: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.vg-play i { margin-left: 4px; }
.vg-play::before,
.vg-play::after {
  content: "";
  position: absolute; inset: -1.5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  opacity: 0;
  pointer-events: none;
}
/* tap feedback on touch screens */
.vg-thumb:active .vg-play { transform: scale(0.92); background: var(--gold-grad); border-color: transparent; }
.vg-thumb:focus-visible .vg-play {
  transform: scale(1.12);
  background: var(--gold-grad);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(208, 148, 32, 0.5);
}
@keyframes vgRipple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }

.vg-play--lg { width: 72px; height: 72px; margin: -36px 0 0 -36px; font-size: 23px; background: var(--gold-grad); border-color: transparent; box-shadow: 0 16px 36px rgba(208, 148, 32, 0.5); }
.vg-play--lg::before { animation: vgRipple 2.2s var(--ease) infinite; border-color: rgba(230, 195, 125, 0.9); }
.vg-play--lg::after { animation: vgRipple 2.2s var(--ease) 0.8s infinite; border-color: rgba(230, 195, 125, 0.9); }

.vg-duration {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(2, 31, 56, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.vg-duration i { font-size: 12px; color: var(--gold-300); }

.vg-chip {
  position: absolute;
  left: 12px; top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease);
}
.vg-chip i { color: var(--gold-500); font-size: 11.5px; }

/* ---------- featured film ---------- */
.vg-featured { padding: 48px 0 56px; }
.vg-featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.vg-featured__media { position: relative; margin-right: 14px; }
.vg-featured__media .vg-card { position: relative; z-index: 2; }
.vg-featured__media .vg-thumb {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.vg-featured__frame {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--gold-300);
  border-radius: var(--radius-lg);
  z-index: 1;
}
.vg-featured__dots {
  display: none;
  position: absolute;
  left: -34px; top: -34px;
  width: 140px; height: 140px;
  background-image: radial-gradient(var(--gold-300) 2px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: 0.7;
  z-index: 0;
}

.vg-featured__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: #fff6e4;
  border: 1px solid var(--gold-200);
}
.vg-live-dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #e0452b;
}
.vg-live-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #e0452b;
  animation: pulse 1.6s ease-out infinite;
}
.vg-featured__info .section-title { margin-bottom: 18px; }
.vg-swoosh { left: 0; bottom: -10px; width: 100%; height: 13px; }
.vg-featured__text { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin-bottom: 22px; }

/* phones: three compact facts side by side, icon on top */
.vg-featured__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 26px;
}
.vg-featured__meta li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.vg-featured__meta i {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--white);
  background: var(--gold-grad);
}
.vg-featured__meta span { font-size: 13px; font-weight: 800; color: var(--navy-text); line-height: 1.3; overflow-wrap: break-word; min-width: 0; }
.vg-featured__meta small { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.vg-featured__actions { display: flex; flex-direction: column; gap: 12px; }
.vg-featured__actions .btn { width: 100%; justify-content: center; }

/* ---------- library ---------- */
.vg-library {
  position: relative;
  padding: 52px 0 64px;
  background:
    radial-gradient(ellipse 40% 30% at 0% 0%, rgba(230, 195, 125, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(230, 195, 125, 0.18), transparent 70%),
    var(--cream);
}
.vg-library__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.vg-library__head .eyebrow { margin-bottom: 10px; }
.vg-library__lead { max-width: 360px; color: var(--muted); font-size: 15px; }

/* filter pills: one swipeable row on phones, wrapped rows from 768px */
.vg-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 calc(var(--gutter) * -1) 26px;
  padding: 4px var(--gutter) 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.vg-filters::-webkit-scrollbar { display: none; }
.vg-filter {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px; /* comfortable tap target */
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--navy-text);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.vg-filter i { color: var(--gold-500); transition: color 0.35s; }
.vg-filter em {
  font-style: normal;
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
  background: var(--cream-3);
  color: var(--muted);
  transition: background 0.35s, color 0.35s;
}
.vg-filter:active { transform: scale(0.96); }
.vg-filter:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }
.vg-filter.is-active {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 10px 22px rgba(4, 44, 72, 0.25);
}
.vg-filter.is-active i { color: var(--gold-300); }
.vg-filter.is-active em { background: var(--gold-grad); color: var(--white); }

.vg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}
.vg-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.vg-card--featured { overflow: visible; background: none; box-shadow: none; }
.vg-grid .vg-thumb { border-radius: 0; }
.vg-card__body { position: relative; padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.vg-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--navy-text);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.vg-card__desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
.vg-card__date {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.vg-card__date i { color: var(--gold-500); }

.vg-card.is-entering { animation: vgIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes vgIn { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- YouTube band ---------- */
.vg-subscribe {
  position: relative;
  padding: 52px 0 56px;
  color: var(--white);
  background:
    radial-gradient(ellipse 45% 90% at 10% 50%, rgba(208, 148, 32, 0.22), transparent 70%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
}
.vg-subscribe__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.vg-subscribe__icon {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  color: var(--white);
  background: #e62117;
  box-shadow: 0 16px 36px rgba(230, 33, 23, 0.4);
}
.vg-subscribe__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 120, 110, 0.7);
  animation: vgRipple 2.4s var(--ease) infinite;
}
.vg-subscribe__ring--2 { animation-delay: 1.2s; }
.vg-subscribe__text .eyebrow { color: var(--gold-300); margin-bottom: 8px; }
.vg-subscribe__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 6.4vw, 36px); line-height: 1.15; margin-bottom: 8px; }
.vg-subscribe__text p { color: rgba(255, 255, 255, 0.8); max-width: 520px; margin-inline: auto; font-size: 15px; }
.vg-subscribe__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.vg-subscribe__actions .btn { width: 100%; max-width: 320px; justify-content: center; }
.vg-btn-yt { color: var(--white); background: #e62117; box-shadow: 0 10px 22px rgba(230, 33, 23, 0.35); }
.vg-subscribe__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; font-size: 15px; color: var(--gold-300); }
.vg-subscribe__link i { transition: transform 0.35s var(--ease); }

/* ---------- player modal ---------- */
.vg-modal {
  position: fixed; inset: 0;
  z-index: 2000;
  display: grid; /* the dialog centres with margin:auto, so a tall dialog scrolls instead of being cut off */
  padding: 12px;
  background: rgba(2, 20, 36, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.vg-modal.is-open { opacity: 1; visibility: visible; }
.vg-modal__dialog {
  width: min(1080px, 100%);
  margin: auto;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s var(--ease);
}
.vg-modal.is-open .vg-modal__dialog { transform: none; }
.vg-modal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vg-modal__count { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7); }
.vg-modal__close,
.vg-modal__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s, transform 0.35s var(--ease), border-color 0.3s;
}
.vg-modal__close:active,
.vg-modal__arrow:active:not(:disabled) { background: var(--gold-grad); border-color: transparent; }
.vg-modal__arrow:disabled { opacity: 0.35; cursor: default; }
.vg-modal__close:focus-visible,
.vg-modal__arrow:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }

/* the player keeps 16:9 and shrinks (width and height) to fit short screens */
.vg-modal__stage {
  position: relative;
  width: 100%;
  max-width: calc((100vh - 230px) * 16 / 9);
  max-width: calc((100svh - 230px) * 16 / 9);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.vg-modal__stage.is-in { animation: statusIn 0.45s var(--ease) both; }
.vg-modal__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vg-soon { position: absolute; inset: 0; display: grid; place-items: center; }
.vg-soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(6px) brightness(0.45); transform: scale(1.08); }
.vg-soon__msg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; text-align: center; color: var(--white); }
.vg-soon__icon {
  width: 48px; height: 48px;
  margin-bottom: 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: var(--gold-grad);
  box-shadow: 0 12px 28px rgba(208, 148, 32, 0.45);
}
.vg-soon__msg strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(19px, 2.4vw, 30px); line-height: 1.2; }
.vg-soon__msg span:last-child { color: rgba(255, 255, 255, 0.8); font-size: 13.5px; }

.vg-modal__info { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 16px; color: var(--white); }
.vg-modal__cat { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 6px; }
.vg-modal__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; margin-bottom: 6px; }
.vg-modal__desc { color: rgba(255, 255, 255, 0.75); max-width: 640px; font-size: 14.5px; }
.vg-modal__nav { display: flex; justify-content: space-between; gap: 10px; flex-shrink: 0; }

/* ---------- 400px and up ---------- */
@media (min-width: 400px) {
  .vg-featured__meta li { padding: 12px; }
  .vg-featured__meta span { font-size: 13.5px; }
  .vg-card__body { padding: 20px 22px 22px; }
  .vg-soon__icon { width: 56px; height: 56px; font-size: 21px; }
}

/* ---------- 576px and up (large phones, small tablets) ---------- */
@media (min-width: 576px) {
  .vg-featured__media { margin-right: 22px; }
  .vg-featured__frame { inset: 22px -22px -22px 22px; }
  .vg-play--lg { width: 84px; height: 84px; margin: -42px 0 0 -42px; font-size: 27px; }
  .vg-featured__media .vg-duration { right: 18px; bottom: 18px; font-size: 13.5px; padding: 6px 13px; }
  .vg-featured__meta { gap: 12px; }
  .vg-featured__meta li { flex-direction: row; align-items: center; gap: 12px; padding: 14px; }
  .vg-featured__meta i { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
  .vg-featured__meta span { font-size: 14px; }
  .vg-featured__meta small { font-size: 11.5px; }
  .vg-featured__actions { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .vg-featured__actions .btn { width: auto; }

  .vg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  /* wide cards take a full row in the two-column mosaic */
  .vg-grid:not(.is-filtered) .vg-card--wide { grid-column: span 2; }
  .vg-grid:not(.is-filtered) .vg-card--wide .vg-thumb { aspect-ratio: 16 / 8; }

  .vg-subscribe__actions .btn { width: auto; }
  .vg-modal__stage { border-radius: var(--radius); }
}

/* ---------- 768px and up (tablets) ---------- */
@media (min-width: 768px) {
  .vg-featured { padding: clamp(60px, 7vw, 110px) 0 clamp(60px, 6vw, 96px); }
  .vg-featured__dots { display: block; }
  .vg-featured__text { font-size: 17px; margin-bottom: 28px; }
  .vg-featured__meta { margin-bottom: 32px; }
  .vg-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 20px; }
  .vg-play--lg { width: 96px; height: 96px; margin: -48px 0 0 -48px; font-size: 30px; }
  .vg-duration { right: 14px; bottom: 14px; padding: 5px 11px; font-size: 13px; }
  .vg-chip { left: 14px; top: 14px; padding: 6px 13px; font-size: 12.5px; }
  .vg-featured__tag { padding: 7px 16px; margin-bottom: 18px; font-size: 13px; }
  .vg-featured__info .section-title { margin-bottom: 20px; }

  .vg-library { padding: clamp(60px, 7vw, 100px) 0 clamp(70px, 8vw, 120px); }
  .vg-library__head { margin-bottom: 30px; }
  .vg-library__lead { font-size: 16px; }
  .vg-filters { flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; overflow: visible; }
  .vg-filter { padding: 10px 18px; font-size: 14.5px; gap: 9px; }

  .vg-grid { gap: 22px; }
  /* wide cards: horizontal layout across two columns (mosaic view only) */
  .vg-grid:not(.is-filtered) .vg-card--wide { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .vg-grid:not(.is-filtered) .vg-card--wide .vg-thumb { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .vg-grid:not(.is-filtered) .vg-card--wide .vg-card__body { justify-content: center; padding: 32px; }
  .vg-grid:not(.is-filtered) .vg-card--wide .vg-card__title { font-size: clamp(24px, 2.2vw, 30px); }
  .vg-grid:not(.is-filtered) .vg-card--wide .vg-card__desc { font-size: 16px; }
  .vg-grid:not(.is-filtered) .vg-card--wide .vg-card__date { margin-top: 0; }
  .vg-grid:not(.is-filtered) .vg-card--wide .vg-play { width: 78px; height: 78px; margin: -39px 0 0 -39px; font-size: 24px; }
  .vg-card__body { padding: 22px 24px 24px; }
  .vg-card__title { font-size: 22px; }
  .vg-card__desc { font-size: 15px; margin-bottom: 16px; }
  .vg-card__date { padding-top: 14px; font-size: 13.5px; }

  /* YouTube band: icon + text side by side, actions underneath */
  .vg-subscribe { padding: clamp(50px, 6vw, 80px) 0; }
  .vg-subscribe__inner { grid-template-columns: auto minmax(0, 1fr); justify-items: start; gap: 22px 36px; text-align: left; }
  .vg-subscribe__icon { width: 110px; height: 110px; font-size: 46px; }
  .vg-subscribe__text p { margin-inline: 0; font-size: 16px; }
  .vg-subscribe__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; width: auto; }

  .vg-modal { padding: 24px; }
  .vg-modal__bar { margin-bottom: 12px; }
  .vg-modal__close, .vg-modal__arrow { width: 46px; height: 46px; font-size: 18px; }
  .vg-modal__info { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 20px; }
  .vg-modal__cat { font-size: 13px; }
  .vg-modal__desc { font-size: 16px; }
  .vg-soon__msg { gap: 8px; padding: 24px; }
  .vg-soon__icon { width: 70px; height: 70px; margin-bottom: 8px; font-size: 26px; }
  .vg-soon__msg span:last-child { font-size: 16px; }
}

/* ---------- 992px and up (laptops) ---------- */
@media (min-width: 992px) {
  .vg-featured__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 76px); }
  /* the info column is narrow here: stack each fact's icon over its text again */
  .vg-featured__meta li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .vg-featured__media .vg-duration { right: 20px; bottom: 20px; font-size: 14px; padding: 7px 14px; }
  .vg-library__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .vg-subscribe__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); }
  .vg-subscribe__actions { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- 1200px and up (desktop) ---------- */
@media (min-width: 1200px) {
  .vg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
/* wide screens: the info column has room for icon + text side by side again */
@media (min-width: 1400px) {
  .vg-featured__meta li { flex-direction: row; align-items: center; gap: 12px; }
}

/* ---------- phones turned sideways: keep the player and its controls on screen ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .vg-modal { padding: 10px 16px; }
  .vg-modal__bar { margin-bottom: 6px; }
  .vg-modal__close, .vg-modal__arrow { width: 40px; height: 40px; font-size: 16px; }
  .vg-modal__stage { max-width: calc((100vh - 120px) * 16 / 9); max-width: calc((100svh - 120px) * 16 / 9); }
  .vg-modal__info { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
  .vg-modal__cat, .vg-modal__desc { display: none; }
  .vg-modal__title { font-size: 18px; margin: 0; }
}

/* ---------- hover effects: only on devices that can hover ---------- */
@media (hover: hover) {
  .vg-thumb:hover img { transform: scale(1.08); filter: saturate(1.1); }
  .vg-thumb:hover .vg-thumb__shade { background-color: rgba(2, 31, 56, 0.2); }
  .vg-thumb:hover .vg-play {
    transform: scale(1.12);
    background: var(--gold-grad);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(208, 148, 32, 0.5);
  }
  .vg-thumb:hover .vg-play::before { animation: vgRipple 1.6s var(--ease) infinite; }
  .vg-thumb:hover .vg-play::after { animation: vgRipple 1.6s var(--ease) 0.5s infinite; }
  .vg-thumb:hover .vg-chip { transform: translateY(-3px); }
  .vg-featured__meta li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
  .vg-filter:hover { transform: translateY(-2px); border-color: var(--gold-300); }
  .vg-grid .vg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
  .vg-card:hover .vg-card__title { color: var(--gold-500); }
  .vg-btn-yt:hover { background: #c81a11; box-shadow: 0 14px 28px rgba(230, 33, 23, 0.45); }
  .vg-subscribe__link:hover i { transform: translateX(5px); }
  .vg-modal__close:hover { background: var(--gold-grad); border-color: transparent; transform: rotate(90deg); }
  .vg-modal__arrow:hover:not(:disabled) { background: var(--gold-grad); border-color: transparent; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .vg-play::before, .vg-play::after, .vg-live-dot::after, .vg-subscribe__ring { animation: none !important; }
  .vg-card.is-entering, .vg-modal__stage.is-in { animation: none; }
}

/* ==========================================================================
   TESTIMONIALS PAGE (testimonials.html) — rating overview, spotlight slider,
   review wall (Google + website stories), share-your-story form
   ========================================================================== */
.g-logo { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* stars */
.ts-stars { display: inline-flex; gap: 2px; color: var(--gold-500); font-size: 14px; line-height: 1; }
.ts-stars--google { color: #fbbc04; }

/* letter avatar */
.ts-avatar {
  position: relative;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  color: var(--white);
  background: var(--av, var(--navy-700));
  box-shadow: 0 6px 14px rgba(10, 35, 66, 0.14);
}
.ts-avatar--lg { width: 58px; height: 58px; font-size: 23px; }
.ts-avatar__guide {
  position: absolute;
  right: -3px; bottom: -3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--white);
  background: #e8710a;
  border: 2px solid var(--white);
}

/* ---------- rating overview (overlaps the hero curve) ---------- */
.ts-summary { position: relative; z-index: 3; margin-top: clamp(-90px, -6vw, -50px); }
.ts-summary__card {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3.4vw, 44px) 26px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(238, 246, 252, 0.9), transparent 70%),
    var(--white);
  border: 1px solid #f0e9dc;
  box-shadow: var(--shadow-lg);
}
.ts-summary__grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: center; }
.ts-summary__grid > * { padding: 6px clamp(14px, 2.4vw, 34px); }
.ts-summary__grid > * + * { border-left: 1.5px dashed #e6dccb; }

.ts-score { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.ts-score__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy-text);
}
.ts-score__brand i { color: var(--gold-500); }
.ts-score__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 5vw, 68px);
  line-height: 1;
  margin-top: 8px;
  color: var(--navy-text);
  font-variant-numeric: tabular-nums;
}
.ts-score .ts-stars { font-size: 19px; gap: 3px; }
.ts-score__meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.ts-score__meta b { color: var(--navy-text); }

.ts-breakdown__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.ts-breakdown__head small { font-size: 13px; color: var(--muted); }
.ts-breakdown__head small b { color: var(--navy-text); }
.ts-bars { display: grid; gap: 4px; }
.ts-bar {
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  transition: background 0.3s;
}
.ts-bar:not(:disabled):hover,
.ts-bar.is-active { background: var(--cream); }
.ts-bar:disabled { cursor: default; opacity: 0.55; }
.ts-bar:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 1px; }
.ts-bar__label { font-size: 14px; font-weight: 800; color: var(--navy-text); white-space: nowrap; }
.ts-bar__label i { color: var(--gold-500); font-size: 12px; }
.ts-bar__track { position: relative; height: 10px; border-radius: 999px; background: #efe9de; overflow: hidden; }
.ts-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.ts-bars.is-in .ts-bar__fill { transform: scaleX(1); }
.ts-bars.is-in .ts-bar:nth-child(2) .ts-bar__fill { transition-delay: 0.1s; }
.ts-bars.is-in .ts-bar:nth-child(3) .ts-bar__fill { transition-delay: 0.2s; }
.ts-bars.is-in .ts-bar:nth-child(4) .ts-bar__fill { transition-delay: 0.3s; }
.ts-bars.is-in .ts-bar:nth-child(5) .ts-bar__fill { transition-delay: 0.4s; }
.ts-bar.is-active .ts-bar__fill { background: var(--navy-800); }
.ts-bar__count { font-size: 14px; font-weight: 700; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

.ts-topics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1.5px dashed #e6dccb;
}
.ts-topics__label { font-size: 14px; font-weight: 800; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ts-topics__label i { color: var(--gold-500); }
.ts-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-topic {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  border: 1px dashed var(--gold-300);
  background: #fffaf0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-text);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.ts-topic em {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  text-align: center;
  color: var(--gold-500);
  background: var(--white);
}
.ts-topic:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.ts-topic.is-active { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); border-style: solid; }
.ts-topic.is-active em { color: var(--navy-800); }
.ts-topic:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }

/* ---------- spotlight slider ---------- */
.ts-spot {
  position: relative;
  margin-top: clamp(60px, 7vw, 100px);
  padding: clamp(60px, 7vw, 100px) 0;
  color: var(--white);
  background:
    radial-gradient(ellipse 40% 70% at 90% 10%, rgba(40, 90, 130, 0.65), transparent 70%),
    radial-gradient(ellipse 35% 80% at 0% 100%, rgba(208, 148, 32, 0.2), transparent 70%),
    linear-gradient(160deg, #0e3e62 0%, #042c48 100%);
  overflow: hidden;
  isolation: isolate;
}
.ts-spot__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ts-spot__intro .eyebrow { color: var(--gold-300); margin-bottom: 10px; }
.ts-spot__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; margin-bottom: 16px; }
.ts-spot__text { color: rgba(255, 255, 255, 0.8); font-size: 16.5px; max-width: 400px; margin-bottom: 32px; }
.ts-spot__controls { display: flex; align-items: center; gap: 18px; }
.ts-arrow {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 17px;
  display: grid;
  place-items: center;
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.ts-arrow:hover { background: var(--gold-grad); border-color: transparent; transform: translateY(-3px); box-shadow: 0 12px 24px rgba(208, 148, 32, 0.4); }
.ts-arrow:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }
.ts-arrow.swiper-button-disabled { opacity: 0.4; pointer-events: none; }
.ts-spot__count { min-width: 74px; text-align: center; font-weight: 800; font-size: 15px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.ts-spot__progress { display: block; width: 100%; max-width: 236px; height: 3px; margin-top: 22px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.ts-spot__progress i { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }

.ts-spot__slider { position: relative; min-width: 0; padding: 0 0 26px; }
/* two soft layers under the card give depth without anything peeking out sideways */
.ts-spot__slider::before,
.ts-spot__slider::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  pointer-events: none;
}
.ts-spot__slider::before { left: 5%; right: 5%; top: 24px; bottom: 13px; background: rgba(255, 255, 255, 0.16); }
.ts-spot__slider::after { left: 10%; right: 10%; top: 48px; bottom: 0; background: rgba(255, 255, 255, 0.08); }
.ts-swiper { position: relative; z-index: 1; overflow: hidden; border-radius: 28px; }
.ts-swiper .swiper-slide { height: auto; border-radius: 28px; }
.ts-quote {
  position: relative;
  height: 100%;
  margin: 0;
  padding: clamp(26px, 3vw, 42px) clamp(22px, 3.2vw, 44px) clamp(24px, 2.8vw, 34px);
  border-radius: 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "mark source" "quote quote" "author author";
  align-items: center;
  column-gap: 14px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--white);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}
.ts-quote::before { /* thin gold accent along the top */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--gold-grad);
}
.ts-quote::after { /* large soft quote watermark */
  content: "\f10e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(70px, 8vw, 100px);
  z-index: -1;
  font-size: clamp(90px, 10vw, 140px);
  line-height: 1;
  color: rgba(208, 148, 32, 0.08);
  pointer-events: none;
}
.ts-quote__mark {
  grid-area: mark;
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 10px 20px rgba(208, 148, 32, 0.35);
}
.ts-quote__source {
  grid-area: source;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid #efe7d8;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy-text);
  white-space: nowrap;
}
.ts-quote__source i { color: var(--gold-500); }
.ts-quote blockquote {
  grid-area: quote;
  align-self: start;
  margin: 22px 0 28px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.85vw, 25px);
  line-height: 1.42;
  color: var(--navy-text);
}
.ts-quote__author { grid-area: author; display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1.5px dashed #e6dccb; }
.ts-quote__author > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ts-quote__author b { font-size: 17px; color: var(--navy-text); }
.ts-quote__author small { font-size: 13.5px; color: var(--muted); }
.ts-quote__author .ts-stars { font-size: 15px; }

.ts-spot__more { margin-top: 30px; }
.ts-spot--home { margin-top: clamp(40px, 5vw, 70px); }
.ts-spot__deco { position: absolute; left: -40px; bottom: -40px; width: 260px; color: rgba(255, 255, 255, 0.05); z-index: -1; transform: rotate(14deg); }

/* ---------- review wall ---------- */
.ts-wall { padding: clamp(64px, 7vw, 100px) 0 clamp(60px, 6vw, 90px); }
.ts-tabs { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--cream); border: 1px solid #efe7d8; }
.ts-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-text);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.ts-tab > i { color: var(--gold-500); }
.ts-tab em { min-width: 24px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: 12px; text-align: center; color: var(--muted); background: var(--white); }
.ts-tab:hover { background: rgba(255, 255, 255, 0.7); }
.ts-tab.is-active { color: var(--white); background: var(--navy-800); box-shadow: 0 8px 18px rgba(4, 44, 72, 0.22); }
.ts-tab.is-active > i { color: var(--gold-300); }
.ts-tab.is-active em { color: var(--white); background: rgba(255, 255, 255, 0.16); }
.ts-tab.is-active .g-logo { background: var(--white); border-radius: 50%; padding: 2px; }
.ts-tab:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }

.ts-wall__status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 20px; }
.ts-wall__status .vwall__count { margin: 0; }
.ts-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-pills:empty { display: none; }
.ts-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: #fbefd6;
  color: #8a5a0b;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.3s, color 0.3s;
}
.ts-pill .fa-star { font-size: 11px; }
.ts-pill .fa-xmark { font-size: 12px; opacity: 0.7; }
.ts-pill:hover { background: var(--navy-800); color: var(--white); }

.ts-grid { display: flex; align-items: flex-start; gap: 26px; }
.ts-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 26px; }

.rcard {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #efe8dc;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.rcard.is-entering { animation: rcardIn 0.7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rcardIn { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }

.rcard__head { display: flex; align-items: center; gap: 12px; }
.rcard__who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.rcard__name { font-size: 16px; color: var(--navy-text); overflow-wrap: anywhere; }
.rcard__who small { font-size: 13px; color: var(--muted); }
.rcard__src { align-self: flex-start; }
.rcard--google .rcard__src { width: 22px; height: 22px; }
.rcard--site .rcard__src { font-size: 28px; color: var(--gold-200); transition: color 0.4s, transform 0.5s var(--ease); }
.rcard--site:hover .rcard__src { color: var(--gold-400); transform: rotate(-10deg) scale(1.08); }

.rcard__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 16px 0 10px; }
.rcard__rating time { font-size: 13px; color: var(--muted); }
.rcard__new { padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #1967d2; background: #e8f0fe; }
.rcard__role { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: var(--navy-700); background: var(--sky); }
.rcard__role i { color: var(--gold-500); font-size: 11.5px; }

.rcard__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.rcard.is-expanded .rcard__text { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.rcard__more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-200);
  transition: color 0.3s, text-decoration-color 0.3s;
}
.rcard__more:hover { color: var(--navy-800); text-decoration-color: currentColor; }
.rcard__lang { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-style: italic; color: var(--muted); }
.rcard__lang i { color: var(--gold-500); font-style: normal; }

.rcard__reply {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 4px 14px 14px 4px;
  border-left: 3px solid var(--gold-400);
  background: var(--cream-3);
}
.rcard__reply-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--navy-text); }
.rcard__reply-head i { color: var(--gold-500); transform: scaleX(-1) rotate(180deg); }
.rcard__reply-head time { font-weight: 600; color: var(--muted); }
.rcard__reply p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.rcard__foot { margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed #ece4d6; }
.rcard__prog { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--navy-text); }
.rcard__prog i {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--gold-500);
  background: var(--cream);
  transition: background 0.4s, color 0.4s;
}
.rcard:hover .rcard__prog i { color: var(--white); background: var(--gold-grad); }

.rcard--pending { border: 2px dashed var(--gold-300); background: #fffdf8; padding-top: 44px; }
.rcard__ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 20px 20px 0 0;
  font-size: 12.5px;
  font-weight: 800;
  color: #8a5a0b;
  background: #fbefd6;
}

/* ---------- share your story ---------- */
.ts-share {
  padding: clamp(64px, 7vw, 100px) 0;
  background:
    radial-gradient(ellipse 40% 60% at 0% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    linear-gradient(180deg, var(--cream-2) 0%, var(--white) 100%);
}
.ts-share__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.ts-share__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.ts-share__intro .section-head { margin-bottom: 30px; }

.ts-gcard {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #efe8dc;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ts-gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ts-gcard__logo {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #f1f3f4;
}
.ts-gcard__logo .g-logo { width: 30px; height: 30px; }
.ts-gcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 23px; color: var(--navy-text); margin-bottom: 4px; }
.ts-gcard p { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.ts-gcard__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: #1a73e8; }
.ts-gcard__link i { font-size: 12px; transition: transform 0.35s var(--ease); }
.ts-gcard__link:hover i { transform: translate(3px, -3px); }

.ts-promise { display: grid; gap: 16px; margin-top: 28px; }
.ts-promise li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.ts-promise b { color: var(--navy-text); }
.ts-promise i {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold-500);
  background: var(--white);
  border: 1px solid #efe7d8;
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.ts-promise li:hover i { color: var(--white); background: var(--gold-grad); border-color: transparent; transform: rotate(-8deg); }

.ts-form-card { background: radial-gradient(ellipse 60% 40% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%), var(--white); box-shadow: var(--shadow); border: 1px solid #f0e9dc; }
.form-field .form-label { display: block; font-size: 14.5px; font-weight: 800; color: var(--navy-text); margin-bottom: 7px; }
.form-field .form-label span { color: var(--gold-500); }
.ts-status-link { margin-left: 4px; text-decoration: underline; text-underline-offset: 3px; }

/* star rating input: DOM order 5 to 1, shown 1 to 5 */
.star-input {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 16px;
  border: 1.5px solid #e4ded3;
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.star-input:hover { border-color: var(--gold-300); }
.star-input:focus-within { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.14); }
.form-field.has-error .star-input { border-color: #e06c5f; background: #fff8f7; }
.star-input__stars { display: inline-flex; flex-direction: row-reverse; }
.star-input__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input__stars label {
  margin: 0;
  padding: 2px 3px;
  font-size: 23px;
  line-height: 1;
  color: #ddd5c6;
  cursor: pointer;
  transition: color 0.2s, transform 0.3s var(--ease);
}
.star-input__stars label:hover,
.star-input__stars label:hover ~ label,
.star-input__stars input:checked ~ label { color: var(--gold-400); }
.star-input__stars:hover input:checked ~ label:not(:hover):not(:hover ~ label) { color: #ddd5c6; }
.star-input__stars label:hover { transform: scale(1.2) rotate(-8deg); }
.star-input__stars input:checked + label { animation: starPop 0.45s var(--ease); }
.star-input__stars input:focus-visible + label { outline: 2px solid var(--gold-400); outline-offset: 2px; border-radius: 6px; }
@keyframes starPop { 50% { transform: scale(1.35); } }
.star-input__text { font-size: 14px; font-weight: 700; color: #9aa5b1; }
.star-input__text.is-set { color: var(--navy-text); }

/* ---------- testimonials responsive ---------- */
@media (max-width: 1099px) {
  .ts-summary__grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .ts-breakdown { grid-column: 1 / -1; grid-row: 2; padding-top: 24px !important; border-left: 0 !important; border-top: 1.5px dashed #e6dccb; }
  .ts-score--site { border-left: 1.5px dashed #e6dccb; }
  .ts-share__grid { grid-template-columns: 1fr; }
  .ts-share__intro { position: static; }
}
@media (max-width: 991px) {
  .ts-spot__grid { grid-template-columns: 1fr; }
  .ts-spot__text { max-width: 560px; }
  .vwall__head .ts-tabs { width: 100%; }
}
@media (max-width: 767px) {
  .ts-summary__card { border-radius: 22px; }
  .ts-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 18px; }
  .ts-tab { justify-content: center; gap: 6px; padding: 9px 6px; font-size: 13.5px; border-radius: 13px; }
  .ts-tab em { min-width: 0; padding: 1px 6px; font-size: 11.5px; }
  .ts-toolbar { grid-template-columns: 1fr; }
  .ts-toolbar .vfilters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding: 2px 18px 4px; }
  .ts-toolbar .vfilters::-webkit-scrollbar { display: none; }
  .ts-toolbar .vfilters > * { flex-shrink: 0; }
  .rcard { padding: 20px 18px 18px; }
  .rcard--pending { padding-top: 46px; }
  .ts-gcard { flex-direction: column; }
}
@media (max-width: 575px) {
  .ts-summary__grid { grid-template-columns: 1fr; }
  .ts-summary__grid > * { padding-inline: 0; }
  .ts-score--site { border-left: 0 !important; border-top: 1.5px dashed #e6dccb; padding-top: 24px !important; }
  .ts-breakdown { grid-row: auto; }
  .ts-topics__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 40px); margin-inline: -20px; padding: 2px 20px 4px; }
  .ts-topics__list::-webkit-scrollbar { display: none; }
  .ts-topics__list > * { flex-shrink: 0; }
  .ts-quote__author { flex-wrap: wrap; }
  .ts-quote__author .ts-stars { width: 100%; padding-left: 72px; margin-top: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .rcard.is-entering { animation: none; }
  .ts-bar__fill { transition: none; transform: none; }
}

/* ---------- testimonials: phone polish (mobile-first layer) ---------- */
@media (max-width: 767px) {
  .ts-toolbar .vfilters { margin-inline: -14px; padding-inline: 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 30px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 30px), transparent 100%); }
  .ts-spot { padding: 56px 0; }
  .ts-spot__title { font-size: clamp(28px, 7.6vw, 36px); }
  .ts-spot__text { font-size: 15.5px; margin-bottom: 24px; }
  .ts-quote { padding: 22px 20px 20px; border-radius: 22px; }
  .ts-quote__mark { width: 44px; height: 44px; font-size: 17px; border-radius: 14px; }
  .ts-swiper, .ts-swiper .swiper-slide, .ts-spot__slider::before, .ts-spot__slider::after { border-radius: 22px; }
  .ts-quote blockquote { margin: 16px 0 20px; font-size: 18px; line-height: 1.5; }
  .ts-quote__author { gap: 12px; padding-top: 16px; }
  .ts-quote__author b { font-size: 16px; }
}
@media (max-width: 575px) {
  /* rating overview: the two scores sit side by side, the breakdown runs underneath */
  .ts-summary__card { padding: 22px 16px 18px; }
  .ts-summary__grid { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .ts-summary__grid > * { padding-inline: 6px; }
  .ts-score--google { grid-column: 1; grid-row: 1; }
  .ts-score--site { grid-column: 2; grid-row: 1; border-top: 0; padding-top: 6px !important; border-left: 1.5px dashed #e6dccb !important; }
  .ts-breakdown { grid-column: 1 / -1; grid-row: 2; padding-top: 18px !important; border-left: 0 !important; border-top: 1.5px dashed #e6dccb; }
  .ts-score { gap: 4px; }
  .ts-score__brand { padding: 5px 10px; font-size: 11.5px; gap: 6px; white-space: nowrap; }
  .ts-score__num { font-size: 44px; margin-top: 6px; }
  .ts-score .ts-stars { font-size: 15px; gap: 2px; }
  .ts-score__meta { font-size: 12.5px; line-height: 1.4; margin-bottom: 8px; }
  .ts-score .btn { --btn-pad-x: 12px; --btn-pad-y: 8px; gap: 6px; font-size: 13px; width: 100%; }
  .ts-topics__list { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 30px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 30px), transparent 100%); }

  .ts-quote blockquote { font-size: 17px; }
}
@media (max-width: 575px) {
  .ts-summary__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } /* columns may shrink below their content */
}
@media (max-width: 374px) {
  .ts-summary__card { padding-inline: 12px; }
  .ts-summary__grid > * { padding-inline: 3px; }
  .ts-score__brand { white-space: normal; justify-content: center; font-size: 10.5px; line-height: 1.25; padding: 4px 8px; }
  .ts-score .btn { white-space: normal; line-height: 1.2; text-align: center; font-size: 12px; --btn-pad-x: 6px; }
  .ts-score .btn i { display: none; }
  .ts-tab { font-size: 12.5px; gap: 4px; padding-inline: 4px; }
  .ts-tab em { display: none; }
}

/* ==========================================================================
   BLOG ARTICLE PAGE (blog-article.html) — prefix .bd-
   ========================================================================== */

/* ---------- reading progress ---------- */
.bd-progress {
  position: fixed;
  left: 0; top: 0;
  z-index: 150;
  width: 100%; height: 4px;
  background: transparent;
  pointer-events: none;
}
.bd-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold-grad);
  box-shadow: 0 0 12px rgba(208, 148, 32, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- hero ---------- */
.bd-hero .page-hero__content { max-width: 880px; }
.bd-hero .page-hero__title { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.1; margin-bottom: 26px; }
.bd-hero .page-hero__title .swoosh { left: 40%; width: 46%; }
.bd-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-grad);
}
.bd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; color: rgba(255, 255, 255, 0.88); font-size: 15px; }
.bd-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.bd-meta i { color: var(--gold-300); }
.bd-author-mini { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--white); }
.bd-avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--gold-grad);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.bd-avatar svg { width: 26px; }

/* ---------- layout ---------- */
.bd-main { padding: clamp(50px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); }
.bd-layout {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 340px;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
}

/* ---------- share rail ---------- */
.bd-share {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.bd-share > small { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.bd-share a, .bd-share button, .bd-share-row a, .bd-share-row button {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid #e4ded3;
  background: var(--white);
  color: var(--navy-text);
  font-size: 16px;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.bd-share a:hover, .bd-share button:hover, .bd-share-row a:hover, .bd-share-row button:hover { transform: translateY(-3px); color: var(--white); border-color: transparent; background: var(--navy-800); }
.bd-share .s-wa:hover, .bd-share-row .s-wa:hover { background: #25d366; }
.bd-share .s-fb:hover, .bd-share-row .s-fb:hover { background: #1877f2; }
.bd-share .s-x:hover, .bd-share-row .s-x:hover { background: #111; }
.bd-share .s-in:hover, .bd-share-row .s-in:hover { background: #0a66c2; }
.bd-copy.is-copied { background: #2e9e6a !important; color: var(--white) !important; border-color: transparent !important; }

/* ---------- article typography ---------- */
.bd-article { min-width: 0; color: var(--ink); font-size: 18px; line-height: 1.85; }
.bd-article > * + * { margin-top: 22px; }
.bd-article p { color: #33404f; }
.bd-article a:not(.btn) { color: var(--gold-500); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold-200); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.bd-article a:not(.btn):hover { text-decoration-color: var(--gold-500); }
.bd-article strong { color: var(--navy-text); }

.bd-lead { font-size: 21px; line-height: 1.7; color: var(--navy-text) !important; font-weight: 600; }
.bd-lead::first-letter {
  float: left;
  margin: 8px 14px 0 0;
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 0.8;
  font-weight: 400;
  color: var(--gold-500);
}

.bd-article h2 {
  position: relative;
  margin-top: 56px;
  padding-top: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
  color: var(--navy-text);
  scroll-margin-top: calc(var(--header-h) + 30px);
}
.bd-article h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 4px;
  border-radius: 4px;
  background: var(--gold-grad);
}
.bd-article h3 { margin-top: 34px; font-size: 21px; font-weight: 800; color: var(--navy-text); }

/* figures */
.bd-figure { margin: 40px 0 0; }
.bd-figure__img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.bd-figure__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.bd-figure:hover .bd-figure__img img { transform: scale(1.04); }
.bd-figure figcaption { display: flex; gap: 10px; margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.bd-figure figcaption i { color: var(--gold-500); margin-top: 3px; }
.bd-figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.bd-figure-row .bd-figure { margin: 0; }
.bd-figure-row .bd-figure__img img { aspect-ratio: 4 / 3.4; }

/* pull quote */
.bd-pullquote {
  position: relative;
  margin: 46px 0 0;
  padding: 40px 44px 36px;
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(40, 90, 130, 0.65), transparent 70%),
    linear-gradient(150deg, #0e3e62 0%, #042c48 100%);
  box-shadow: 0 20px 44px rgba(4, 44, 72, 0.22);
  overflow: hidden;
  isolation: isolate;
}
.bd-pullquote::before {
  content: "\201C";
  position: absolute;
  right: 26px; top: -18px;
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  color: rgba(230, 195, 125, 0.18);
  z-index: -1;
}
.bd-pullquote p { color: var(--white) !important; font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 31px); line-height: 1.35; }
.bd-pullquote cite { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-style: normal; font-size: 14.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-300); }
.bd-pullquote cite::before { content: ""; width: 36px; height: 2px; background: var(--gold-grad); }

/* icon point cards */
.bd-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.bd-point {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: var(--cream-2);
  border: 1px solid #f0e9dc;
  transition: transform 0.45s var(--ease), box-shadow 0.45s, background 0.4s;
}
.bd-point:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow); }
.bd-point > i {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.3);
}
.bd-point h3 { margin: 0 0 4px; font-size: 17.5px; }
.bd-point p { font-size: 15.5px; line-height: 1.6; color: var(--muted) !important; }

/* callout */
.bd-callout {
  display: flex;
  gap: 18px;
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 20px;
  border-left: 5px solid var(--gold-500);
  background: linear-gradient(90deg, #fff6e3, #fffbf3);
}
.bd-callout > i { flex-shrink: 0; font-size: 26px; color: var(--gold-500); margin-top: 4px; }
.bd-callout strong { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 4px; }
.bd-callout p { font-size: 16.5px; line-height: 1.7; }

/* inline donate card */
.bd-inline-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 46px;
  padding: 28px 30px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 50% 90% at 100% 50%, #fbf1d9, transparent 70%),
    var(--cream);
  border: 1px dashed var(--gold-300);
  overflow: hidden;
}
.bd-inline-cta__icon {
  flex-shrink: 0;
  width: 70px; height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 12px 26px rgba(208, 148, 32, 0.38);
  animation: floatIcon 3s ease-in-out infinite;
}
.bd-inline-cta h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1.2; }
.bd-inline-cta p { font-size: 15.5px; line-height: 1.6; color: var(--muted) !important; }
.bd-inline-cta .btn { margin-left: auto; flex-shrink: 0; }

/* numbered steps */
.bd-steps { list-style: none; padding: 0; counter-reset: bds; display: grid; gap: 14px; margin-top: 26px !important; }
.bd-steps li {
  counter-increment: bds;
  position: relative;
  padding: 20px 22px 20px 82px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid #efe9df;
  box-shadow: var(--shadow-sm);
  font-size: 16.5px;
  line-height: 1.65;
  color: #33404f;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.bd-steps li:hover { transform: translateX(6px); border-color: var(--gold-300); }
.bd-steps li::before {
  content: counter(bds, decimal-leading-zero);
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  background: var(--navy-800);
}
.bd-steps li strong { display: block; font-size: 17.5px; margin-bottom: 2px; }

/* key takeaways */
.bd-takeaways {
  margin-top: 50px !important;
  padding: 32px 34px;
  border-radius: 24px;
  background: var(--white);
  border: 2px solid var(--gold-200);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 30px);
}
.bd-takeaways h2 { margin: 0 0 16px; padding: 0; font-size: 26px; display: flex; align-items: center; gap: 12px; }
.bd-takeaways h2::before { display: none; }
.bd-takeaways h2 i { color: var(--gold-500); }
.bd-takeaways ul { display: grid; gap: 12px; }
.bd-takeaways li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.6; color: #33404f; }
.bd-takeaways li i {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--white);
  background: var(--gold-grad);
}

/* tags + share row */
.bd-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 50px !important; padding-top: 28px; border-top: 1px solid var(--line); }
.bd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bd-tags > span, .bd-share-row > span { font-size: 14px; font-weight: 800; color: var(--navy-text); margin-right: 4px; }
.bd-tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-text);
  background: var(--cream);
  border: 1px solid #ece4d6;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.bd-tag:hover { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); }
.bd-article a.bd-tag { text-decoration: none; color: var(--navy-text); font-weight: 700; }
.bd-article a.bd-tag:hover { color: var(--white); }
.bd-share-row { display: flex; align-items: center; gap: 8px; }
.bd-share-row a, .bd-share-row button { width: 40px; height: 40px; font-size: 15px; }
.bd-article .bd-share-row a { text-decoration: none; color: var(--navy-text); }
.bd-article .bd-share-row a:hover { color: var(--white); }

/* author box */
.bd-author {
  display: flex;
  gap: 24px;
  margin-top: 36px !important;
  padding: 30px;
  border-radius: 24px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.bd-author .bd-avatar { width: 86px; height: 86px; border: 4px solid var(--white); box-shadow: var(--shadow); }
.bd-author .bd-avatar svg { width: 46px; }
.bd-author small { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-500); }
.bd-author h3 { margin: 2px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.bd-author p { font-size: 15.5px; line-height: 1.7; color: var(--muted) !important; margin-bottom: 12px; }
.bd-author .social a { text-decoration: none; }

/* prev / next */
.bd-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px !important; }
.bd-postnav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none !important;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.bd-postnav a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.bd-postnav__next { flex-direction: row-reverse; text-align: right; }
.bd-postnav img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.bd-postnav small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500); }
.bd-postnav__next small { justify-content: flex-end; }
.bd-postnav strong { display: block; font-size: 16px; line-height: 1.35; color: var(--navy-text); }

/* comments */
.bd-comments { margin-top: 56px !important; scroll-margin-top: calc(var(--header-h) + 30px); }
.bd-comments__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.bd-comments__head h2 { margin: 0; padding: 0; }
.bd-comments__head h2::before { display: none; }
.bd-comments__empty { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; background: var(--cream-2); border: 1px dashed #e4ded3; font-size: 15.5px; color: var(--muted); }
.bd-comments__empty i { font-size: 22px; color: var(--gold-500); }
.bd-comment-form { margin-top: 22px; padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid #efe9df; box-shadow: var(--shadow); }
.bd-comment-form h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.bd-comment-form > p { font-size: 15px; color: var(--muted) !important; margin-bottom: 20px; }
.bd-comment-form .form-row { margin-top: 0; }
.bd-comment-form .form-field + .form-field { margin-top: 0; }
.bd-comment-list { display: grid; gap: 14px; margin-top: 18px; }
.bd-comment {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--cream-2);
  border: 1px solid #f0e9dc;
  animation: bdIn 0.6s var(--ease);
}
.bd-comment__avatar { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--white); background: var(--navy-800); }
.bd-comment strong { font-size: 16px; color: var(--navy-text); }
.bd-comment small { margin-left: 8px; font-size: 13px; color: var(--muted); }
.bd-comment p { font-size: 15.5px; line-height: 1.65; margin-top: 4px; }
.bd-comment__pending { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--gold-500); }
@keyframes bdIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- sidebar ---------- */
.bd-sidebar { display: grid; gap: 26px; align-self: stretch; align-content: start; }
.bd-widget {
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #efe9df;
  box-shadow: var(--shadow-sm);
}
.bd-widget__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--navy-text);
  border-bottom: 1px solid var(--line);
}
.bd-widget__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.bd-widget__title i { font-size: 16px; color: var(--gold-500); }

.bd-search { position: relative; }
.bd-search input {
  width: 100%;
  height: 52px;
  padding: 0 56px 0 18px;
  border-radius: 14px;
  border: 1.5px solid #e4ded3;
  background: var(--cream-2);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.bd-search input:focus { background: var(--white); border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.14); }
.bd-search button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 10px; color: var(--white); background: var(--gold-grad); }

.bd-recent { display: grid; gap: 16px; }
.bd-recent a { display: flex; align-items: center; gap: 14px; }
.bd-recent img { width: 76px; height: 76px; flex-shrink: 0; border-radius: 14px; object-fit: cover; transition: transform 0.5s var(--ease); }
.bd-recent a:hover img { transform: scale(1.06) rotate(-2deg); }
.bd-recent strong { display: block; font-size: 15px; line-height: 1.4; color: var(--navy-text); transition: color 0.3s; }
.bd-recent a:hover strong { color: var(--gold-500); }
.bd-recent small { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.bd-recent small i { color: var(--gold-500); }

.bd-cats li + li { border-top: 1px dashed var(--line); }
.bd-cats a { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-weight: 700; color: var(--navy-text); transition: color 0.3s, padding 0.35s var(--ease); }
.bd-cats a i:first-child { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: var(--gold-500); background: rgba(241, 220, 170, 0.4); }
.bd-cats a .fa-chevron-right { margin-left: auto; font-size: 12px; color: #b9b2a6; transition: transform 0.35s var(--ease), color 0.3s; }
.bd-cats a:hover { color: var(--gold-500); padding-left: 6px; }
.bd-cats a:hover .fa-chevron-right { color: var(--gold-500); transform: translateX(4px); }

.bd-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }

.bd-sticky { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 26px; }
.bd-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.bd-toc a {
  counter-increment: toc;
  position: relative;
  display: flex;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.bd-toc a::before { content: counter(toc, decimal-leading-zero); flex-shrink: 0; font-family: var(--font-display); font-weight: 400; color: var(--gold-400); }
.bd-toc a:hover { color: var(--navy-text); background: var(--cream-2); }
.bd-toc a.is-active { color: var(--navy-text); background: #fff6e3; }
.bd-toc a.is-active::after { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 3px; background: var(--gold-grad); }
.bd-toc__bar { height: 4px; margin-top: 16px; border-radius: 4px; background: var(--cream); overflow: hidden; }
.bd-toc__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width 0.2s linear; }

.bd-donate {
  position: relative;
  padding: 30px 26px;
  border-radius: 22px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(40, 90, 130, 0.6), transparent 70%),
    linear-gradient(160deg, #0e3e62 0%, #042c48 100%);
  box-shadow: 0 20px 44px rgba(4, 44, 72, 0.25);
  overflow: hidden;
  isolation: isolate;
}
.bd-donate__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: var(--gold-grad); box-shadow: 0 12px 26px rgba(208, 148, 32, 0.4); animation: floatIcon 3s ease-in-out infinite; }
.bd-donate h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.bd-donate p { font-size: 15px; color: rgba(255, 255, 255, 0.8); margin-bottom: 18px; }
.bd-donate .btn { width: 100%; }
.bd-donate svg { position: absolute; right: -20px; bottom: -16px; width: 130px; color: rgba(255, 255, 255, 0.06); z-index: -1; transform: rotate(-12deg); }

/* ---------- related posts ---------- */
.bd-related { padding: clamp(70px, 8vw, 110px) 0; background: radial-gradient(ellipse 40% 50% at 0% 0%, rgba(241, 220, 170, 0.35), transparent 70%), var(--cream); }
.bd-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.post-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.post-card__link { position: absolute; inset: 0; z-index: 3; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.08); }
.post-card__cat { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-900); background: rgba(255, 255, 255, 0.94); }
.post-card__date {
  position: absolute;
  right: 16px; bottom: -26px;
  z-index: 2;
  width: 58px; height: 62px;
  border-radius: 14px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.38);
  line-height: 1.05;
}
.post-card__date b { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.post-card__date small { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.post-card__meta { display: flex; gap: 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.post-card__meta i { color: var(--gold-500); margin-right: 4px; }
.post-card__title { font-size: 19px; line-height: 1.4; font-weight: 800; color: var(--navy-text); margin-bottom: 10px; transition: color 0.3s; }
.post-card:hover .post-card__title { color: var(--gold-500); }
.post-card__text { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--navy-text); }
.post-card__more i { transition: transform 0.35s var(--ease); color: var(--gold-500); }
.post-card:hover .post-card__more i { transform: translateX(6px); }

/* ---------- blog responsive ---------- */
@media (max-width: 1199px) {
  .bd-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .bd-share { display: none; }
}
@media (max-width: 991px) {
  .bd-layout { grid-template-columns: 1fr; }
  .bd-sidebar { grid-template-columns: 1fr 1fr; align-items: start; }
  .bd-sticky { position: static; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .bd-related__grid { grid-template-columns: repeat(2, 1fr); }
  .bd-related__grid > :last-child { display: none; }
}
@media (max-width: 767px) {
  .bd-article { font-size: 17px; }
  .bd-lead { font-size: 19px; }
  .bd-lead::first-letter { font-size: 68px; }
  .bd-points, .bd-figure-row, .bd-postnav { grid-template-columns: 1fr; }
  .bd-pullquote { padding: 30px 26px; }
  .bd-inline-cta { flex-direction: column; text-align: center; }
  .bd-inline-cta .btn { margin-left: 0; }
  .bd-author { flex-direction: column; }
  .bd-sidebar, .bd-sticky { grid-template-columns: 1fr; }
  .bd-related__grid { grid-template-columns: 1fr; }
  .bd-related__grid > :last-child { display: flex; }
  .bd-comment-form { padding: 22px; }
  .bd-takeaways { padding: 24px; }
}
@media (max-width: 575px) {
  .bd-meta { gap: 10px 18px; font-size: 14px; }
  .bd-steps li { padding: 70px 18px 18px; }
  .bd-steps li::before { top: 18px; transform: none; }
  .bd-foot { flex-direction: column; align-items: flex-start; }
  .bd-comments__head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-inline-cta__icon, .bd-donate__icon { animation: none; }
}

/* ==========================================================================
   BLOG PAGES (blogs.html + blog-details.html) — rendered from js/blog-data.js
   Topic colour per post comes from --c / --c-soft (set inline by js/blog.js)
   ========================================================================== */

/* ---------- shared bits: avatar, byline, topic pill ---------- */
.bl-avatar {
  --size: 40px;
  flex-shrink: 0;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--av, var(--navy-700));
  background: linear-gradient(145deg, color-mix(in srgb, var(--av, #0b3758) 70%, #ffffff), var(--av, #0b3758));
  font-family: var(--font-display);
  font-size: calc(var(--size) * 0.4);
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4.5px var(--gold-300);
}
.bl-avatar--md { --size: 46px; }
.bl-avatar--lg { --size: 96px; box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--gold-300), 0 16px 30px rgba(10, 35, 66, 0.16); }

.bl-byline { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.bl-byline > span:last-child { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bl-byline b { font-size: 14.5px; font-weight: 800; color: var(--navy-text); }
.bl-byline small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-byline--light b { color: var(--white); }
.bl-byline--light small { color: rgba(255, 255, 255, 0.78); }
.bl-byline--light .bl-avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 4.5px var(--gold-400); }

.bl-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--c, var(--navy-700));
  background: var(--c-soft, var(--sky));
}
.bl-cat i { font-size: 11.5px; }
.bl-cat--float {
  position: absolute;
  left: 16px; top: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(10, 35, 66, 0.14);
}
.bl-cat--light { color: var(--white); background: var(--c, var(--gold-500)); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); }

/* ---------- post card ---------- */
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.bl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #f0ebe2;
  box-shadow: 0 12px 32px rgba(10, 35, 66, 0.07);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  animation: blCardIn 0.7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes blCardIn { from { opacity: 0; transform: translateY(26px); } }
.bl-card::before { /* topic-colour bar that grows on hover */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, var(--c, var(--gold-500)), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.bl-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(10, 35, 66, 0.14); border-color: transparent; }
.bl-card:hover::before { transform: scaleX(1); }
.bl-card:focus-within { outline: 3px solid var(--gold-300); outline-offset: 3px; }

.bl-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.bl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bl-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 31, 56, 0.35));
  opacity: 0;
  transition: opacity 0.5s;
}
.bl-card:hover .bl-card__media img { transform: scale(1.08); }
.bl-card:hover .bl-card__media::after { opacity: 1; }

.bl-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.bl-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.bl-card__meta i { margin-right: 4px; color: var(--gold-500); }
.bl-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
  color: var(--navy-text);
  margin-bottom: 10px;
}
.bl-card__title a {
  background-image: linear-gradient(var(--gold-300), var(--gold-300));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.bl-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole card is clickable */
.bl-card__title a:focus { outline: none; }
.bl-card:hover .bl-card__title a { background-size: 100% 2px; }
.bl-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}
.bl-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #e6dccb;
}
.bl-card__go {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: var(--cream);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.bl-card:hover .bl-card__go { color: var(--white); background: var(--gold-grad); transform: rotate(-45deg); }

/* ---------- featured section ---------- */
.bl-featured { padding: clamp(56px, 6vw, 84px) 0 clamp(30px, 3vw, 40px); }
.bl-featured__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: stretch; }

.bl-hero-card {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.bl-hero-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bl-hero-card:hover > img { transform: scale(1.06); }
.bl-hero-card__shade {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(208, 148, 32, 0.32), transparent 70%),
    linear-gradient(180deg, rgba(2, 31, 56, 0.05) 20%, rgba(2, 31, 56, 0.6) 55%, rgba(2, 31, 56, 0.94) 100%);
}
.bl-hero-card__badge {
  position: absolute;
  top: 22px; right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.bl-hero-card__badge i { color: var(--gold-300); }
.bl-hero-card__body { width: 100%; padding: clamp(26px, 3vw, 40px); }
.bl-hero-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.1;
  margin: 16px 0 12px;
  max-width: 640px;
}
.bl-hero-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bl-hero-card__excerpt { max-width: 560px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.86); margin-bottom: 22px; }
.bl-hero-card__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.bl-hero-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  background: var(--gold-grad);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.bl-hero-card__cta i { transition: transform 0.4s var(--ease); }
.bl-hero-card:hover .bl-hero-card__cta { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(208, 148, 32, 0.5); }
.bl-hero-card:hover .bl-hero-card__cta i { transform: translateX(5px); }
.bl-hero-card:focus-within { outline: 3px solid var(--gold-300); outline-offset: 4px; }
.bl-hero-card a:focus { outline: none; }

/* latest list */
.bl-latest {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 14px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(241, 220, 170, 0.45), transparent 70%),
    var(--cream);
  border: 1px solid #f0e7d6;
}
.bl-latest__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid #ebe1cf; }
.bl-latest__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--navy-text); }
.bl-latest__head h3 i { font-size: 18px; color: var(--gold-500); margin-right: 6px; }
.bl-latest__all { font-size: 14px; font-weight: 800; color: var(--gold-500); display: inline-flex; align-items: center; gap: 6px; }
.bl-latest__all:hover i { animation: floatIcon 1.2s ease-in-out infinite; }
.bl-latest__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; justify-content: space-around; }

.bl-mini {
  position: relative;
  display: grid;
  grid-template-columns: 26px 84px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  margin-inline: -10px;
  border-radius: 18px;
  transition: background 0.35s, transform 0.4s var(--ease);
}
.bl-mini + .bl-mini::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; border-top: 1px dashed #e3d7c2; }
.bl-mini:hover { background: var(--white); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.bl-mini:hover::before, .bl-mini:hover + .bl-mini::before { opacity: 0; }
.bl-mini__num { font-family: var(--font-display); font-size: 22px; color: var(--gold-400); line-height: 1; }
.bl-mini__img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; transition: transform 0.6s var(--ease); }
.bl-mini:hover .bl-mini__img { transform: scale(1.05) rotate(-2deg); }
.bl-mini__body { min-width: 0; }
.bl-mini__cat { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c, var(--gold-500)); margin-bottom: 3px; }
.bl-mini__title { font-family: var(--font-display); font-weight: 400; font-size: 17.5px; line-height: 1.25; color: var(--navy-text); margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-mini__title a::after { content: ""; position: absolute; inset: 0; }
.bl-mini__meta { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bl-mini__meta i { color: var(--gold-500); margin-right: 3px; }
.bl-mini:focus-within { outline: 3px solid var(--gold-300); outline-offset: 2px; }
.bl-mini a:focus { outline: none; }

/* ---------- all posts ---------- */
.bl-posts { padding: clamp(40px, 4vw, 56px) 0 clamp(64px, 7vw, 96px); }
.bl-toolbar { grid-template-columns: 1fr 230px; }
.bl-status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 22px; min-height: 30px; }
.bl-status .vwall__count { margin: 0; }
.bl-status__clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid #e4ded3;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-text);
  transition: border-color 0.3s, color 0.3s;
}
.bl-status__clear:hover { border-color: var(--gold-500); color: var(--gold-500); }

/* ---------- newsletter ---------- */
.bl-news { padding: 0 0 clamp(40px, 5vw, 70px); }
.bl-news__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 30px 50px;
  padding: clamp(34px, 4vw, 54px) clamp(26px, 4.5vw, 64px);
  border-radius: 30px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 45% 90% at 100% 0%, rgba(208, 148, 32, 0.32), transparent 70%),
    radial-gradient(ellipse 40% 80% at 0% 100%, rgba(31, 111, 168, 0.35), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.bl-news__card::after { /* dotted texture */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000);
          mask-image: linear-gradient(100deg, transparent 40%, #000);
}
.bl-news__deco { position: absolute; right: -20px; bottom: -34px; width: 200px; color: rgba(255, 255, 255, 0.07); z-index: -1; transform: rotate(-12deg); }
.bl-news__text .eyebrow { color: var(--gold-300); margin-bottom: 8px; }
.bl-news__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; margin-bottom: 12px; }
.bl-news__text p { color: rgba(255, 255, 255, 0.8); max-width: 440px; }
.bl-news__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s;
}
.bl-news__field:focus-within { box-shadow: 0 0 0 4px rgba(230, 195, 125, 0.45), 0 14px 30px rgba(0, 0, 0, 0.2); }
.bl-news__form.has-error .bl-news__field { box-shadow: 0 0 0 3px #e06c5f, 0 14px 30px rgba(0, 0, 0, 0.2); }
.bl-news__field > i { position: absolute; left: 24px; color: #9aa5b1; pointer-events: none; }
.bl-news__field input {
  flex: 1;
  min-width: 0;
  padding: 12px 10px 12px 46px;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
}
.bl-news__field .btn { flex-shrink: 0; }
.bl-news__msg { margin-top: 12px; min-height: 22px; font-size: 14.5px; font-weight: 700; padding-left: 20px; }
.bl-news__msg i { margin-right: 6px; }
.bl-news__msg.is-success { color: #9be0b0; }
.bl-news__msg.is-error { color: #ffb4a8; }

/* ==========================================================================
   BLOG DETAIL
   ========================================================================== */
.bp-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 130; pointer-events: none; }
.bp-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c, var(--gold-500)), var(--gold-400) 60%, var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 10px rgba(208, 148, 32, 0.5);
}

/* banner */
.bp-hero { min-height: clamp(440px, 34vw, 580px); }
/* blog list + blog post + Support a Life list + case banners:
   brand colour across the whole banner, photo sits behind as a background */
.page-hero.bl-hero::before,
.page-hero.bp-hero::before,
.page-hero.sa-hero::before,
.page-hero.cs-hero::before {
  background:
    radial-gradient(ellipse 45% 75% at 88% 25%, rgba(208, 148, 32, 0.30), transparent 70%),
    linear-gradient(0deg, rgba(3, 30, 52, 0.55) 0%, transparent 50%),
    linear-gradient(90deg, rgba(3, 30, 52, 0.94) 0%, rgba(4, 44, 72, 0.86) 45%, rgba(4, 44, 72, 0.74) 75%, rgba(4, 44, 72, 0.66) 100%);
}
.bp-hero .page-hero__bg img { object-position: center 40%; }
.bp-hero .page-hero__inner { padding-block: 56px 110px; }
.bp-hero__content { max-width: 860px; }
.bp-hero__title { font-size: clamp(34px, 4vw, 58px); line-height: 1.08; margin-bottom: 26px; }
.bp-hero__cat {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--c, var(--gold-500));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s var(--ease);
  animation: bpUp 0.8s var(--ease) 0.4s both;
}
.bp-hero__cat:hover { transform: translateY(-2px); }
.bp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; animation: bpUp 0.8s var(--ease) 0.9s both; }
.bp-meta__item { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, 0.88); }
.bp-meta__item i { color: var(--gold-300); }
.bp-meta .bl-byline { padding-right: 26px; border-right: 1px solid rgba(255, 255, 255, 0.25); }
@keyframes bpUp { from { opacity: 0; transform: translateY(16px); } }

/* cover image overlaps the banner curve */
.bp-main { position: relative; z-index: 2; padding-block: clamp(24px, 3vw, 40px) clamp(56px, 6vw, 90px); }
/* cover sits inside the left (article) column, level with the sidebar */
.bp-cover {
  margin: 0 0 clamp(32px, 4vw, 48px);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--cream);
  box-shadow: 0 24px 48px rgba(10, 35, 66, 0.16);
}
.bp-cover img { width: 100%; height: 100%; object-fit: cover; }

.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.bp-article { min-width: 0; } /* fills the whole column up to the sidebar */

/* article typography */
.bp-body { font-size: 18px; line-height: 1.85; color: #2a3848; }
.bp-body > * + * { margin-top: 22px; }
.bp-body a { color: var(--gold-500); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.3s; }
.bp-body a:hover { color: var(--navy-700); }
.bp-body b { color: var(--navy-text); }
.bp-body .bp-lead { font-size: 20px; line-height: 1.8; color: var(--ink); }
.bp-body .bp-lead::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 74px;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  color: var(--c, var(--gold-500));
}
.bp-body h2 {
  position: relative;
  margin-top: 48px;
  padding-top: 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  color: var(--navy-text);
  scroll-margin-top: calc(var(--header-h) + 28px);
}
.bp-body h2::before {
  content: "";
  display: block;
  width: 46px; height: 4px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--c, var(--gold-500)), var(--gold-300));
}
.bp-body h3 { margin-top: 32px; font-size: 21px; font-weight: 800; color: var(--navy-text); }
.bp-body h2 + *, .bp-body h3 + * { margin-top: 14px; }

.bp-list { padding: 0; list-style: none; display: grid; gap: 12px; }
.bp-list li { position: relative; padding-left: 40px; }
.bp-list--ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 4px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--c, var(--gold-500));
  background: var(--c-soft, var(--cream));
}
.bp-list--ol { counter-reset: bpStep; }
.bp-list--ol li { counter-increment: bpStep; padding: 16px 20px 16px 66px; border-radius: 18px; background: var(--cream); border: 1px solid #f1e8d8; }
.bp-list--ol li::before {
  content: counter(bpStep, decimal-leading-zero);
  position: absolute;
  left: 16px; top: 15px;
  width: 36px; height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 6px 14px rgba(208, 148, 32, 0.32);
}

.bp-quote {
  position: relative;
  margin: 38px 0 !important;
  padding: 34px 36px 30px 40px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(241, 220, 170, 0.55), transparent 70%),
    var(--cream-3);
  border-left: 5px solid var(--gold-500);
}
.bp-quote > i { position: absolute; right: 26px; top: -18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--white); background: var(--navy-800); box-shadow: 0 10px 20px rgba(4, 44, 72, 0.25); }
.bp-quote p { font-family: var(--font-display); font-size: clamp(22px, 2vw, 27px); line-height: 1.35; color: var(--navy-text); }
.bp-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--gold-500); }

.bp-figure { margin: 36px 0 !important; }
.bp-figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.bp-figure figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.bp-figure figcaption i { color: var(--gold-500); margin-right: 5px; }

.bp-tip {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--c-soft, var(--sky));
  border: 1px dashed color-mix(in srgb, var(--c, #0b3758) 35%, transparent);
}
.bp-tip__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: var(--white); background: var(--c, var(--navy-700)); box-shadow: 0 8px 16px color-mix(in srgb, var(--c, #0b3758) 30%, transparent); }
.bp-tip h4 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--navy-text); }
.bp-tip p { font-size: 16px; line-height: 1.65; color: var(--ink); }

.bp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 34px 0 !important; }
.bp-stat {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.bp-stat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold-grad); }
.bp-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bp-stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.05; color: var(--navy-text); }
.bp-stat span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--muted); }

/* tags + inline share */
.bp-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 24px; margin-top: 46px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bp-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bp-tags__label { margin-right: 4px; font-size: 14px; font-weight: 800; color: var(--navy-text); }
.bp-tags__label i { color: var(--gold-500); margin-right: 4px; }
.bp-tag { padding: 6px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); background: var(--cream); border: 1px solid #efe7d8; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.bp-tag:hover { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-2px); }

.bp-share--inline { display: flex; align-items: center; gap: 12px; }
.bp-share__label { font-size: 14px; font-weight: 800; color: var(--navy-text); }
.bp-share__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-sbtn {
  --sc: var(--navy-700);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--sc);
  background: var(--white);
  border: 1.5px solid #e4ded3;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.bp-sbtn:hover, .bp-sbtn:focus-visible { color: var(--white); background: var(--sc); border-color: var(--sc); transform: translateY(-3px); }
.bp-sbtn--wa { --sc: #25a35a; }
.bp-sbtn--fb { --sc: #1877f2; }
.bp-sbtn--x { --sc: #111111; }
.bp-sbtn--in { --sc: #0a66c2; }
.bp-sbtn--copy { --sc: var(--gold-500); }

/* author */
.bp-author {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 30px 32px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(241, 220, 170, 0.45), transparent 70%),
    var(--cream);
  border: 1px solid #f0e7d6;
}
.bp-author .eyebrow { font-size: 12px; }
.bp-author h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--navy-text); line-height: 1.2; margin-top: 2px; }
.bp-author__role { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.bp-author p { font-size: 15.5px; line-height: 1.65; color: var(--ink); }

/* previous / next */
.bp-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.bp-postnav__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.3s;
}
.bp-postnav__item.is-empty { visibility: hidden; }
.bp-postnav__item--next { flex-direction: row-reverse; text-align: right; }
.bp-postnav__item img { flex-shrink: 0; width: 78px; height: 78px; border-radius: 16px; object-fit: cover; }
.bp-postnav__item small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 4px; }
.bp-postnav__item--next small { justify-content: flex-end; }
.bp-postnav__item small i { transition: transform 0.4s var(--ease); }
.bp-postnav__item b { font-family: var(--font-display); font-weight: 400; font-size: 17.5px; line-height: 1.25; color: var(--navy-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-postnav__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.bp-postnav__item--prev:hover small i { transform: translateX(-4px); }
.bp-postnav__item--next:hover small i { transform: translateX(4px); }

/* sidebar */
.bp-aside__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.bp-card { padding: 24px 22px; border-radius: 24px; background: var(--white); border: 1px solid #efe7d8; box-shadow: var(--shadow-sm); }
.bp-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-text); }
.bp-card__title i { color: var(--gold-500); }
.bp-aside { display: grid; gap: 20px; align-content: start; }

/* sidebar: categories */
.bp-cats__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bp-catlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-text);
  transition: background 0.3s, transform 0.35s var(--ease);
}
.bp-catlink__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--c);
  background: var(--c-soft);
  transition: background 0.3s, color 0.3s;
}
.bp-catlink__label { flex: 1; min-width: 0; }
.bp-catlink__count {
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  color: var(--muted);
  background: var(--cream);
  transition: background 0.3s, color 0.3s;
}
.bp-catlink:hover { background: var(--cream); transform: translateX(4px); }
.bp-catlink:hover .bp-catlink__icon,
.bp-catlink.is-current .bp-catlink__icon { color: var(--white); background: var(--c); }
.bp-catlink.is-current { background: var(--c-soft); }
.bp-catlink.is-current .bp-catlink__count { color: var(--white); background: var(--c); }

/* sidebar: recent posts */
.bp-recent__list { list-style: none; margin: 0; padding: 0; display: grid; }
.bp-recent__item {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.bp-recent__item + .bp-recent__item { border-top: 1px dashed #e6dccb; }
.bp-recent__item:first-child { padding-top: 2px; }
.bp-recent__item:last-child { padding-bottom: 0; }
.bp-recent__item img { width: 70px; height: 70px; border-radius: 14px; object-fit: cover; transition: transform 0.5s var(--ease); }
.bp-recent__item:hover img { transform: scale(1.06) rotate(-2deg); }
.bp-recent__item > div { min-width: 0; }
.bp-recent__cat { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c, var(--gold-500)); }
.bp-recent__item h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.25;
  color: var(--navy-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.bp-recent__item h4 a::after { content: ""; position: absolute; inset: 0; }
.bp-recent__item:hover h4 { color: var(--gold-500); }
.bp-recent__item a:focus { outline: none; }
.bp-recent__item:focus-within { outline: 3px solid var(--gold-300); outline-offset: 4px; border-radius: 12px; }
.bp-recent__date { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bp-recent__date i { margin-right: 4px; color: var(--gold-500); }

/* sidebar: tag cloud */
.bp-tagcloud__list { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-tagchip {
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid #efe7d8;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.bp-tagchip:hover { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-2px); }
.bp-tagchip.is-current { color: var(--gold-500); background: #fff8ea; border-color: var(--gold-300); }
.bp-tagchip.is-current:hover { color: var(--white); background: var(--gold-500); border-color: var(--gold-500); }

.bp-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bp-toc__list a {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.bp-toc__list a span { flex-shrink: 0; font-family: var(--font-display); font-weight: 400; font-size: 15px; color: #b9b2a6; transition: color 0.3s; }
.bp-toc__list a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--gold-500); transform: scaleY(0); transition: transform 0.35s var(--ease); }
.bp-toc__list a:hover { color: var(--navy-text); background: var(--cream); }
.bp-toc__list a.is-active { color: var(--navy-text); background: var(--cream); }
.bp-toc__list a.is-active span { color: var(--gold-500); }
.bp-toc__list a.is-active::before { transform: scaleY(1); }

.bp-donate { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-800); box-shadow: var(--shadow); }
.bp-donate img { width: 100%; height: 150px; object-fit: cover; transition: transform 1s var(--ease); }
.bp-donate:hover img { transform: scale(1.06); }
.bp-donate__body { position: relative; padding: 34px 24px 26px; background: radial-gradient(ellipse 70% 60% at 100% 100%, rgba(208, 148, 32, 0.3), transparent 70%); }
.bp-donate__icon { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--gold-grad); box-shadow: 0 0 0 5px var(--navy-800), 0 10px 20px rgba(208, 148, 32, 0.4); }
.bp-donate h3 { font-family: var(--font-display); font-weight: 400; font-size: 25px; margin-bottom: 6px; }
.bp-donate p { font-size: 15px; color: rgba(255, 255, 255, 0.8); margin-bottom: 18px; }

/* mobile table of contents */
.bp-toc-m { display: none; margin-bottom: 26px; border-radius: 18px; background: var(--cream); border: 1px solid #efe7d8; }
.bp-toc-m summary { display: flex; align-items: center; gap: 10px; padding: 15px 20px; list-style: none; cursor: pointer; font-weight: 800; color: var(--navy-text); }
.bp-toc-m summary::-webkit-details-marker { display: none; }
.bp-toc-m summary .fa-list-ul { color: var(--gold-500); }
.bp-toc-m summary .fa-chevron-down { margin-left: auto; font-size: 12px; transition: transform 0.3s; }
.bp-toc-m[open] summary .fa-chevron-down { transform: rotate(180deg); }
.bp-toc-m .bp-toc__list { padding: 0 10px 12px; }

/* related */
.bp-related { padding: clamp(56px, 6vw, 86px) 0 clamp(50px, 5vw, 70px); background: linear-gradient(180deg, var(--cream-2), var(--white)); }
.bp-related__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.bp-related__head .section-head { margin-bottom: 0; }

.bp-missing { padding: 70px 0 90px; }
.is-missing .bp-hero .page-hero__inner { padding-block: 56px 96px; }

/* toast */
.bp-toast {
  position: fixed;
  left: 50%; bottom: 28px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 16px 34px rgba(2, 31, 56, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 0.35s, transform 0.45s var(--ease), visibility 0.35s;
}
.bp-toast i { color: #7fd69b; }
.bp-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .bl-grid { gap: 24px; }
  .bl-featured__grid { grid-template-columns: 1.3fr 1fr; }
  .bp-layout { grid-template-columns: minmax(0, 1fr) 290px; }
}
@media (max-width: 991px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
  .bl-featured__grid { grid-template-columns: 1fr; }
  .bl-hero-card { min-height: 460px; }
  .bl-news__card { grid-template-columns: 1fr; }
  .bp-layout { grid-template-columns: 1fr; }
  .bp-article { max-width: none; }
  .bp-aside { grid-template-columns: 1fr 1fr; }
  .bp-tagcloud, .bp-aside__sticky { grid-column: 1 / -1; }
  .bp-aside__sticky { position: static; grid-template-columns: 1fr 1fr; }
  .bp-toc, .bp-aside .bp-share { display: none; }
  .bp-toc-m { display: block; }
  .bp-donate { display: grid; grid-template-columns: 0.9fr 1.1fr; grid-column: 1 / -1; }
  .bp-donate img { height: 100%; }
  .bp-donate__icon { top: 24px; left: auto; right: 24px; box-shadow: 0 10px 20px rgba(208, 148, 32, 0.4); }
  .bp-cover { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .bl-toolbar { grid-template-columns: 1fr; }
  .bl-toolbar .vfilters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding: 2px 18px 4px; }
  .bl-toolbar .vfilters::-webkit-scrollbar { display: none; }
  .bl-toolbar .vfilters > * { flex-shrink: 0; }
  .bl-hero-card { min-height: 420px; border-radius: 24px; }
  .bl-hero-card__excerpt { display: none; }
  .bp-hero .page-hero__inner { padding-block: 40px 84px; }
  .bp-meta { gap: 12px 18px; }
  .bp-meta .bl-byline { width: 100%; padding-right: 0; border-right: 0; }
  .bp-cover { border-radius: 20px; }
  .bp-body { font-size: 17px; }
  .bp-body .bp-lead { font-size: 18px; }
  .bp-body .bp-lead::first-letter { font-size: 60px; }
  .bp-quote { padding: 30px 22px 24px 26px; }
  .bp-author { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 22px; }
  .bp-postnav { grid-template-columns: 1fr; }
  .bp-postnav__item.is-empty { display: none; }
  .bp-aside { grid-template-columns: 1fr; }
  .bp-donate { grid-template-columns: 1fr; }
  .bp-donate img { height: 160px; }
  .bp-donate__icon { top: -26px; left: 24px; right: auto; box-shadow: 0 0 0 5px var(--navy-800), 0 10px 20px rgba(208, 148, 32, 0.4); }
}
@media (max-width: 575px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-mini { grid-template-columns: 22px 72px 1fr; gap: 12px; }
  .bl-mini__img { width: 72px; height: 72px; }
  .bl-hero-card__foot .bl-hero-card__cta { width: 100%; justify-content: center; }
  .bl-news__field { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; }
  .bl-news__field > i { top: 24px; }
  .bl-news__field .btn { width: 100%; }
  .bl-news__msg { padding-left: 4px; }
  .bp-foot { flex-direction: column; align-items: flex-start; }
  .bp-list--ol li { padding: 14px 16px 14px 60px; }
  .bp-related__head .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card, .bp-hero__cat, .bp-meta { animation: none; }
}

/* ---------- phones & small tablets: mobile-first polish (blogs.html + blog-details.html) ---------- */
/* touch screens: no hover lift that "sticks" after a tap */
@media (hover: none) {
  .bl-card:hover { transform: none; box-shadow: 0 12px 32px rgba(10, 35, 66, 0.07); }
  .bl-card:hover .bl-card__media img { transform: none; }
}

@media (max-width: 767px) {
  /* listing: tighter vertical rhythm */
  .bl-featured { padding: 44px 0 20px; }
  .bl-posts { padding: 36px 0 56px; }
  .bl-featured .section-head,
  .bl-posts .section-head { margin-bottom: 20px; }
  .bl-featured__grid { gap: 18px; }
  .bl-hero-card { min-height: 400px; }
  .bl-hero-card__title { font-size: 27px; line-height: 1.15; }
  .bl-latest { padding: 20px 18px 8px; border-radius: 22px; }
  .bl-latest__head h3 { font-size: 21px; }

  /* filter card: topic chips scroll inside the card, edges fade out */
  .bl-toolbar { padding: 14px; gap: 10px; border-radius: 20px; }
  .bl-toolbar .vfilters {
    margin-inline: -14px;
    padding: 2px 14px 4px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%);
  }
  .bl-toolbar .vchip { scroll-snap-align: start; }
  .bl-status { margin-bottom: 16px; }
  .bl-posts .vmore .btn { width: 100%; }

  /* detail page */
  .bp-hero__title { font-size: clamp(28px, 7.4vw, 40px); line-height: 1.12; margin-bottom: 20px; }
  .bp-main { padding-top: 18px; }
  .bp-cover { margin-bottom: 26px; }
  .bp-card { padding: 20px 18px; border-radius: 20px; }
  .bp-aside { gap: 16px; }
  .bp-related { padding: 44px 0 44px; }
  .bp-related__head { margin-bottom: 22px; }
}

@media (max-width: 575px) {
  /* listing grid: the first post stays a full card, the rest become a compact,
     thumb-left list that is quick to scan on a phone (also used by "You May Also Like") */
  .bl-grid { gap: 14px; }
  .bl-grid > .bl-card:first-child .bl-card__body { padding: 18px 20px 18px; }
  .bl-grid > .bl-card:first-child .bl-card__title { font-size: 22px; }
  .bl-grid > .bl-card:first-child .bl-card__excerpt { -webkit-line-clamp: 2; margin-bottom: 14px; }

  .bl-grid > .bl-card:not(:first-child) { flex-direction: row; align-items: stretch; border-radius: 18px; }
  .bl-grid > .bl-card:not(:first-child) .bl-card__media { flex: 0 0 116px; aspect-ratio: auto; min-height: 128px; }
  .bl-grid > .bl-card:not(:first-child) .bl-card__body { justify-content: center; min-width: 0; padding: 14px 16px 14px 14px; }
  .bl-grid > .bl-card:not(:first-child) .bl-card__title {
    order: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 17.5px;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .bl-grid > .bl-card:not(:first-child) .bl-card__meta { order: 2; margin: 0; gap: 4px 12px; font-size: 12px; }
  .bl-grid > .bl-card:not(:first-child) .bl-card__excerpt,
  .bl-grid > .bl-card:not(:first-child) .bl-card__foot { display: none; }
  /* topic pill shrinks to a coloured icon badge on the thumbnail */
  .bl-grid > .bl-card:not(:first-child) .bl-cat--float {
    left: 8px; top: 8px;
    width: 30px; height: 30px;
    padding: 0;
    gap: 0;
    justify-content: center;
    font-size: 0;
  }
  .bl-grid > .bl-card:not(:first-child) .bl-cat--float i { font-size: 12.5px; }

  /* featured card + latest list */
  .bl-hero-card { min-height: 380px; border-radius: 22px; }
  .bl-hero-card__body { padding: 22px 20px; }
  .bl-hero-card__title { font-size: 24px; }

  /* detail page: comfortable reading size on a phone */
  .bp-cover { aspect-ratio: 16 / 10; border-radius: 18px; }
  .bp-body { font-size: 16.5px; line-height: 1.75; }
  .bp-body > * + * { margin-top: 18px; }
  .bp-body .bp-lead { font-size: 17.5px; line-height: 1.7; }
  .bp-body .bp-lead::first-letter { font-size: 54px; line-height: 0.8; padding: 6px 8px 0 0; }
  .bp-body h2 { margin-top: 38px; font-size: 25px; }
  .bp-body h3 { margin-top: 28px; font-size: 19px; }
  .bp-quote { padding: 28px 20px 22px 22px; }
  .bp-quote p { font-size: 20px; }
  .bp-figure { margin: 28px 0 !important; }
  .bp-figure img { border-radius: 16px; }
  .bp-author .bl-avatar--lg { --size: 76px; }
}

@media (max-width: 374px) {
  .bl-grid > .bl-card:not(:first-child) .bl-card__media { flex-basis: 100px; }
  .bl-grid > .bl-card:not(:first-child) .bl-card__title { font-size: 16.5px; }
  .bl-mini__meta { white-space: nowrap; font-size: 12px; }
}

/* ==========================================================================
   OUR TEAM PAGE (team.html) — prefix .tm-   data + behaviour in js/team.js
   ========================================================================== */

/* shared avatar (photo or initials) — colours from --av */
.tm-avatar {
  --size: 118px;
  position: relative;
  flex-shrink: 0;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--av, var(--navy-700));
  background: linear-gradient(150deg, color-mix(in srgb, var(--av, #0b3758) 62%, #ffffff) 0%, var(--av, #0b3758) 70%);
  font-family: var(--font-display);
  font-size: calc(var(--size) * 0.36);
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -10px 24px rgba(0, 0, 0, 0.12), 0 14px 28px rgba(10, 35, 66, 0.18);
}
.tm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tm-avatar span { transform: translateY(2px); }
.tm-avatar--sm { --size: 76px; }
.tm-avatar--xl { --size: clamp(130px, 14vw, 168px); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 0 8px var(--gold-300), 0 24px 44px rgba(0, 0, 0, 0.28); }

/* ---------- banner ---------- */
.tm-hero__faces {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  animation: tmUp 0.8s var(--ease) 1.1s both;
}
.tm-hero__faces small { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, 0.82); }
.tm-hero__faces b { color: var(--gold-300); font-weight: 800; }
.tm-faces { display: flex; }
.tm-faces span {
  width: 46px; height: 46px;
  margin-left: -12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  background: linear-gradient(150deg, color-mix(in srgb, var(--av, #0b3758) 60%, #ffffff), var(--av, #0b3758));
  border: 3px solid var(--navy-800);
  transition: transform 0.35s var(--ease);
}
.tm-faces span:first-child { margin-left: 0; }
.tm-faces span img { width: 100%; height: 100%; object-fit: cover; }
.tm-faces span.is-more { background: var(--gold-grad); font-family: var(--font-body); font-weight: 800; font-size: 14px; }
.tm-hero__faces:hover .tm-faces span { transform: translateY(-4px); }
.tm-hero__faces:hover .tm-faces span:nth-child(even) { transform: translateY(2px); }
@keyframes tmUp { from { opacity: 0; transform: translateY(16px); } }

/* ---------- intro ---------- */
.tm-intro { padding-block: clamp(64px, 7vw, 110px) clamp(48px, 5vw, 80px); }
.tm-intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tm-intro__content > p { color: var(--muted); }
.tm-intro__content > p + p { margin-top: 14px; }
.tm-intro__content > .tm-intro__lead { font-size: 18px; line-height: 1.7; color: var(--ink); }

.tm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.tm-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--cream-2);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.tm-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.tm-stat__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 8px 16px rgba(208, 148, 32, 0.3);
}
.tm-stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.05; color: var(--navy-text); }
.tm-stat small { font-size: 13px; font-weight: 700; color: var(--muted); }

.tm-intro__media { position: relative; min-height: 500px; isolation: isolate; }
.tm-intro__photo { position: absolute; margin: 0; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-lg); }
.tm-intro__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tm-intro__photo:hover img { transform: scale(1.06); }
.tm-intro__photo--main { top: 0; right: 0; width: 64%; height: 100%; }
.tm-intro__photo--small { left: 0; bottom: 36px; width: 50%; aspect-ratio: 4 / 3; border: 6px solid var(--white); z-index: 2; }
.tm-intro__tag {
  position: absolute;
  z-index: 3;
  top: 40px; left: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  animation: tmFloat 4s ease-in-out infinite;
}
.tm-intro__tag i {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #c0453a;
  animation: heartBeat 1.6s ease-in-out infinite;
}
.tm-intro__tag span { font-size: 13px; line-height: 1.3; color: var(--muted); }
.tm-intro__tag b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--navy-text); }
.tm-intro__dots {
  position: absolute;
  right: -22px; bottom: -22px;
  width: 130px; height: 130px;
  z-index: -1;
  background-image: radial-gradient(var(--gold-300) 2px, transparent 2.5px);
  background-size: 16px 16px;
}
@keyframes tmFloat { 50% { transform: translateY(-10px); } }

/* ---------- founder ---------- */
.tm-founder { padding-block: clamp(30px, 4vw, 50px) clamp(64px, 7vw, 100px); }
.tm-founder__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px);
  border-radius: 32px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 55% 80% at 0% 50%, rgba(208, 148, 32, 0.22), transparent 70%),
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  box-shadow: 0 30px 60px rgba(2, 31, 56, 0.28);
  isolation: isolate;
}
.tm-founder__portrait { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.tm-founder__ring { position: absolute; inset: -8px; animation: spin 26s linear infinite; }
.tm-founder__ring svg { width: 100%; height: 100%; overflow: visible; }
.tm-founder__ring text { font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: 3.2px; fill: var(--gold-300); }
.tm-avatar--founder {
  --size: 170px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 0 0 7px rgba(230, 195, 125, 0.6), 0 24px 44px rgba(0, 0, 0, 0.35);
}
.tm-founder__content .eyebrow { color: var(--gold-300); }
.tm-founder__title {
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.2;
  max-width: 720px;
}
.tm-founder__content p { color: rgba(255, 255, 255, 0.82); max-width: 680px; }
.tm-founder__content p + p { margin-top: 12px; }
.tm-founder__sign { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.tm-founder__signature { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--gold-300); }
.tm-founder__sign small { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.tm-founder__deco { position: absolute; right: -20px; bottom: -30px; width: 240px; color: rgba(255, 255, 255, 0.05); z-index: -1; }

/* ---------- core team ---------- */
.tm-team {
  padding-block: clamp(64px, 7vw, 110px);
  background:
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--cream);
}
.tm-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tm-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-text);
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.tm-tab i { color: var(--gold-500); transition: color 0.3s; }
.tm-tab b {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--cream-3);
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.tm-tab:hover { transform: translateY(-2px); border-color: var(--gold-300); }
.tm-tab.is-active { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); box-shadow: 0 10px 22px rgba(4, 44, 72, 0.22); }
.tm-tab.is-active i { color: var(--gold-300); }
.tm-tab.is-active b { background: var(--gold-grad); color: var(--white); }
.tm-tab:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }

.tm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.tm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  animation: tmCardIn 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.tm-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.tm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tm-card:hover::after { transform: scaleX(1); }
@keyframes tmCardIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }

.tm-card__top {
  position: relative;
  padding: 18px 18px 0;
  height: 128px;
  background:
    radial-gradient(color-mix(in srgb, var(--av) 18%, transparent) 1.5px, transparent 2px) 0 0 / 14px 14px,
    var(--av-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.tm-card__top::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -36px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
}
.tm-card__dept, .tm-card__since {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.tm-card__dept { color: var(--av); background: rgba(255, 255, 255, 0.85); }
.tm-card__since { color: var(--muted); background: rgba(255, 255, 255, 0.6); }

.tm-card__portrait {
  position: absolute;
  z-index: 2;
  left: 50%; top: 46px;
  width: 136px; height: 136px;
  translate: -50% 0;
  display: grid;
  place-items: center;
}
.tm-card__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: transform 1.2s var(--ease); }
.tm-card__ring circle { fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-dasharray: 3 6; stroke-linecap: round; }
.tm-card:hover .tm-card__ring { transform: rotate(140deg); }
.tm-card .tm-avatar { transition: transform 0.6s var(--ease); }
.tm-card:hover .tm-avatar { transform: scale(1.05); }

.tm-card__body { padding: 92px 22px 0; text-align: center; flex: 1; }
.tm-card__name { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--navy-text); }
.tm-card__role { margin-top: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500); }
.tm-card__bio { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.tm-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 22px 0;
  padding: 14px 0 20px;
  border-top: 1px dashed var(--line);
}
.tm-social { display: flex; gap: 8px; }
.tm-social a {
  position: relative;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--navy-700);
  background: var(--cream-3);
  transition: color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.tm-social a:hover { color: var(--white); background: var(--navy-800); transform: translateY(-3px); }
.tm-social--light a { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.tm-social--light a:hover { color: var(--navy-900); background: var(--gold-300); }
.tm-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-text);
  transition: color 0.3s;
}
.tm-card__more i { font-size: 12px; transition: transform 0.35s var(--ease); }
.tm-card:hover .tm-card__more { color: var(--gold-500); }
.tm-card:hover .tm-card__more i { transform: translateX(4px); }
.tm-card__more:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 4px; border-radius: 6px; }

/* ---------- advisors ---------- */
.tm-advisors { padding-block: clamp(64px, 7vw, 100px); }
.tm-advisors__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.tm-advisors__head .section-head { margin-bottom: 0; }
.tm-advisors__text { max-width: 440px; color: var(--muted); }
.tm-advisors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tm-advisor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.tm-advisor:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.tm-advisor .tm-avatar { box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--av-soft), 0 10px 20px rgba(10, 35, 66, 0.14); }
.tm-advisor__name { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--navy-text); }
.tm-advisor__role { margin-top: 2px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-500); }
.tm-advisor__note { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- join ---------- */
.tm-join { padding-block: clamp(20px, 3vw, 40px) clamp(64px, 7vw, 100px); }
.tm-join__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tm-way {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tm-way::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.7s var(--ease);
}
.tm-way:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tm-way:hover::before { clip-path: circle(150% at 100% 0%); }
.tm-way__num { position: absolute; top: 20px; right: 26px; font-family: var(--font-display); font-size: 54px; line-height: 1; color: rgba(208, 148, 32, 0.16); transition: color 0.5s; }
.tm-way:hover .tm-way__num { color: rgba(230, 195, 125, 0.22); }
.tm-way__icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 10px 20px rgba(208, 148, 32, 0.32);
  transition: transform 0.5s var(--ease);
}
.tm-way:hover .tm-way__icon { transform: rotate(-8deg) scale(1.06); }
.tm-way__title { margin: 22px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 25px; color: var(--navy-text); transition: color 0.5s; }
.tm-way:hover .tm-way__title { color: var(--white); }
.tm-way p { flex: 1; color: var(--muted); transition: color 0.5s; }
.tm-way:hover p { color: rgba(255, 255, 255, 0.8); }
.tm-way__link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-500); }
.tm-way__link i { transition: transform 0.35s var(--ease); }
.tm-way:hover .tm-way__link { color: var(--gold-300); }
.tm-way:hover .tm-way__link i { transform: translateX(5px); }

/* ---------- profile modal ---------- */
.tm-modal {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100% - 40px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 40px 80px rgba(2, 31, 56, 0.4);
  overflow: auto;
}
.tm-modal::backdrop { background: rgba(2, 31, 56, 0.62); backdrop-filter: blur(4px); }
.tm-modal[open] { animation: modalIn 0.5s var(--ease) both; }
.tm-modal__inner { position: relative; display: grid; grid-template-columns: 300px 1fr; }
.tm-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--navy-text);
  background: var(--cream-3);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.tm-modal__close:hover { transform: rotate(90deg); color: var(--white); background: var(--navy-800); }
.tm-modal__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 46px 28px 36px;
  color: var(--white);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--av) 55%, transparent), transparent 75%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.tm-modal__name { margin-top: 26px; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.tm-modal__role { margin: 6px 0 20px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-300); }
.tm-modal__main { padding: 46px 40px 40px; }
.tm-modal__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; padding-right: 40px; }
.tm-modal__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-text);
  background: var(--av-soft, var(--cream-3));
}
.tm-modal__meta i { color: var(--av, var(--gold-500)); }
.tm-modal__bio { font-size: 16.5px; line-height: 1.75; color: #2a3848; }
.tm-modal__label { margin: 26px 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); }
.tm-modal__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-modal__tags li { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; color: var(--navy-text); }
.tm-modal__quote {
  position: relative;
  margin: 28px 0 0;
  padding: 20px 22px 20px 58px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  color: var(--navy-text);
  background: var(--cream-2);
  border-left: 4px solid var(--gold-400);
}
.tm-modal__quote i { position: absolute; left: 20px; top: 22px; font-size: 22px; color: var(--gold-400); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .tm-grid { grid-template-columns: repeat(3, 1fr); }
  .tm-advisors__grid { grid-template-columns: repeat(2, 1fr); }
  .tm-advisor { flex-direction: row; align-items: center; }
}
@media (max-width: 991px) {
  .tm-intro__grid { grid-template-columns: 1fr; }
  .tm-intro__media { min-height: 440px; max-width: 620px; width: 100%; margin-inline: auto; }
  .tm-founder__card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tm-founder__content p, .tm-founder__title { margin-inline: auto; }
  .tm-founder__sign { justify-content: center; }
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-join__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .tm-advisors__head { flex-direction: column; align-items: flex-start; }
  .tm-modal__inner { grid-template-columns: 1fr; }
  .tm-modal__side { padding: 40px 24px 28px; }
  .tm-modal__main { padding: 30px 28px 32px; }
  .tm-modal__meta { padding-right: 0; }
}
@media (max-width: 767px) {
  .tm-stats { grid-template-columns: 1fr; }
  .tm-intro__media { min-height: 380px; }
  .tm-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; }
  .tm-tabs::-webkit-scrollbar { display: none; }
  .tm-tab { flex-shrink: 0; }
  .tm-advisors__grid { grid-template-columns: 1fr; }
  .tm-founder__portrait { width: 200px; height: 200px; }
  .tm-avatar--founder { --size: 140px; }
}
@media (max-width: 575px) {
  .tm-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .tm-intro__media { min-height: 320px; }
  .tm-intro__tag { top: 18px; left: 0; }
  .tm-hero__faces { margin-top: 24px; }
  .tm-faces span { width: 40px; height: 40px; font-size: 14px; }
  .tm-modal__main { padding: 26px 20px 28px; }
  .tm-modal__quote { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-card, .tm-hero__faces, .tm-intro__tag, .tm-intro__tag i, .tm-founder__ring { animation: none; }
}
/* ---------- Our Team: phone polish (mobile-first layer) ---------- */
@media (hover: none) {
  .tm-card:hover, .tm-way:hover, .tm-stat:hover { transform: none; }
}
@media (max-width: 767px) {
  .tm-intro { padding-block: 48px 36px; }
  .tm-founder { padding-block: 20px 52px; }
  .tm-founder__card { padding: 34px 22px 30px; gap: 24px; }
  .tm-founder__portrait { width: 176px; height: 176px; }
  .tm-avatar--founder { --size: 124px; }
  .tm-founder__signature { font-size: 24px; }
  .tm-tabs { margin-bottom: 24px; }
  .tm-advisors { padding-block: 52px; }
  .tm-advisors__head { gap: 14px; margin-bottom: 22px; }
  .tm-join { padding-block: 10px 56px; }
  .tm-join__grid { gap: 14px; }
  .tm-way { padding: 24px 22px 22px; }
  .tm-way__num { font-size: 42px; top: 16px; right: 20px; }
}
@media (max-width: 575px) {
  /* intro stats: three compact tiles in one row */
  .tm-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
  .tm-stat { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 6px; }
  .tm-stat__icon { width: 38px; height: 38px; font-size: 15px; }
  .tm-stat b { font-size: 21px; }
  .tm-stat small { font-size: 11.5px; line-height: 1.3; }

  /* team grid: two compact cards per row; the full story opens in the profile pop-up */
  .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; }
  .tm-card { border-radius: 18px; }
  .tm-card__top { height: 70px; padding: 10px; }
  .tm-card__top::after { bottom: -22px; height: 44px; }
  .tm-card__dept, .tm-card__since { display: none; }
  .tm-card__portrait { top: 18px; width: 92px; height: 92px; }
  .tm-card .tm-avatar { --size: 76px; }
  .tm-card__body { padding: 52px 10px 0; }
  .tm-card__name { font-size: 16.5px; line-height: 1.2; }
  .tm-card__role { margin-top: 5px; font-size: 10px; letter-spacing: 0.06em; line-height: 1.35; }
  .tm-card__bio { display: none; }
  .tm-card__foot { justify-content: center; margin: 12px 10px 0; padding: 10px 0 14px; }
  .tm-card .tm-social { display: none; }
  .tm-card__more { margin: 0; font-size: 13px; }

  .tm-advisor { padding: 16px; gap: 14px; }
}
@media (max-width: 359px) {
  .tm-stat small { font-size: 10.5px; }
  .tm-card__name { font-size: 15px; }
}
@media (min-width: 576px) and (max-width: 991px) {
  #bpRelated .bl-card:nth-child(3) { display: none; } /* avoid a lone card in the 2-column grid */
}

/* ==========================================================================
   LEGAL PAGES (privacy-policy / terms / refund-policy / disclaimer) — prefix .lg-
   nav, contents, scroll-spy & pager built by js/legal.js
   ========================================================================== */

/* ---------- banner (no photo: patterned navy) ---------- */
.lg-hero {
  min-height: clamp(340px, 26vw, 440px);
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 2px) 0 0 / 22px 22px,
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
}
.lg-hero::before {
  background:
    radial-gradient(ellipse 45% 75% at 88% 40%, rgba(208, 148, 32, 0.24), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(208, 148, 32, 0.1), transparent 70%);
}
.lg-hero .page-hero__content { max-width: 720px; }
.lg-hero .page-hero__title .swoosh { left: 0; width: min(64%, 340px); bottom: -12px; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; animation: lgUp 0.8s var(--ease) 1s both; }
.lg-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.lg-chips i { color: var(--gold-300); }
@keyframes lgUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- layout ---------- */
.lg-main { padding-block: clamp(40px, 5vw, 70px) clamp(64px, 7vw, 100px); }
.lg-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.lg-aside__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }

.lg-card { padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lg-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-text);
}
.lg-card__title i { color: var(--gold-500); }

.lg-nav { display: grid; gap: 4px; }
.lg-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-text);
  transition: background 0.3s, color 0.3s;
}
.lg-nav a > i:first-child {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--gold-500);
  background: var(--cream-3);
  transition: background 0.3s, color 0.3s;
}
.lg-nav span { flex: 1; line-height: 1.3; }
.lg-nav__go { font-size: 12px; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.lg-nav a:hover { background: var(--cream-2); }
.lg-nav a:hover .lg-nav__go { opacity: 1; transform: none; }
.lg-nav a.is-active { color: var(--white); background: var(--navy-800); }
.lg-nav a.is-active > i:first-child { color: var(--white); background: var(--gold-grad); }
.lg-nav a.is-active .lg-nav__go { display: none; }

.lg-toc, .lg-steps { list-style: none; margin: 0; padding: 0; }
.lg-toc { display: grid; gap: 2px; max-height: 44vh; overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.lg-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lg-toc a span { flex-shrink: 0; font-family: var(--font-display); color: var(--gold-500); min-width: 20px; }
.lg-toc a:hover { color: var(--navy-text); background: var(--cream-2); }
.lg-toc a.is-active { color: var(--navy-text); font-weight: 800; background: var(--cream-3); border-left-color: var(--gold-500); }

.lg-toc-m { display: none; margin-bottom: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.lg-toc-m summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-weight: 800;
  color: var(--navy-text);
  cursor: pointer;
  list-style: none;
}
.lg-toc-m summary::-webkit-details-marker { display: none; }
.lg-toc-m summary i:first-child { color: var(--gold-500); }
.lg-toc-m summary .fa-chevron-down { margin-left: auto; font-size: 12px; transition: transform 0.3s; }
.lg-toc-m[open] summary .fa-chevron-down { transform: rotate(180deg); }
.lg-toc-m .lg-toc { max-height: none; padding: 0 10px 12px; }

/* ---------- document ---------- */
.lg-doc { min-width: 0; max-width: 860px; }
.lg-intro > p { font-size: 18px; line-height: 1.8; color: var(--ink); }
.lg-intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lg-doc a:not(.btn):not(.lg-pager__item) { color: var(--gold-500); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color 0.3s; }
.lg-doc a:not(.btn):not(.lg-pager__item):hover { color: var(--navy-700); }

.lg-glance {
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(241, 220, 170, 0.55), transparent 70%),
    var(--cream-3);
  border: 1px solid var(--gold-200);
}
.lg-glance__title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--navy-text); }
.lg-glance__title i { font-size: 18px; color: var(--gold-500); }
.lg-glance ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.lg-glance li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.lg-glance li > i {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 6px 14px rgba(208, 148, 32, 0.18);
}
.lg-glance b { color: var(--navy-text); }

.lg-body > section { padding-top: 38px; margin-top: 38px; border-top: 1px dashed var(--line); }
.lg-glance + .lg-body > section:first-child,
.lg-intro + .lg-body > section:first-child { border-top: 0; margin-top: 10px; }
.lg-body h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  scroll-margin-top: calc(var(--header-h) + 24px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(23px, 2.2vw, 29px);
  line-height: 1.2;
  color: var(--navy-text);
}
.lg-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 8px 16px rgba(208, 148, 32, 0.28);
}
.lg-body p { margin-top: 14px; font-size: 16.5px; line-height: 1.8; color: #2a3848; }
.lg-body b { color: var(--navy-text); }

.lg-list { display: grid; gap: 10px; margin-top: 16px; }
.lg-list li { position: relative; padding-left: 32px; font-size: 16.5px; line-height: 1.7; color: #2a3848; }
.lg-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0; top: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--white);
  background: var(--gold-grad);
}
.lg-list--x li::before { content: "\f00d"; background: #c0453a; }

.lg-note {
  display: flex;
  gap: 14px;
  margin-top: 18px !important;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--sky);
  border-left: 4px solid var(--navy-600);
}
.lg-note > i { flex-shrink: 0; margin-top: 5px; color: var(--navy-600); }
.lg-note--warn { background: #fff6e6; border-left-color: #c0453a; }
.lg-note--warn > i { color: #c0453a; }

.lg-fill {
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 700;
  color: #8a5a00;
  background: #fff1c2;
  border: 1px dashed #e0b24a;
}

/* data table */
.lg-table-wrap { margin-top: 20px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
.lg-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.lg-table th { padding: 14px 18px; text-align: left; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); background: var(--navy-800); }
.lg-table td { padding: 14px 18px; vertical-align: top; line-height: 1.6; color: #2a3848; border-top: 1px solid var(--line); }
.lg-table td:first-child { width: 34%; font-weight: 800; color: var(--navy-text); }
.lg-table td:first-child i { width: 22px; margin-right: 6px; color: var(--gold-500); }
.lg-table tbody tr:nth-child(even) { background: var(--cream-2); }

/* rights grid */
.lg-rights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.lg-rights > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.lg-rights > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.lg-rights i {
  width: 42px; height: 42px;
  margin-bottom: 6px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold-500);
  background: var(--cream-3);
}
.lg-rights b { font-family: var(--font-display); font-weight: 400; font-size: 19px; }
.lg-rights span { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* can / can't refund */
.lg-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.lg-compare__col { padding: 24px; border-radius: 20px; border: 1px solid; }
.lg-compare__col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-display); font-weight: 400; font-size: 21px; }
.lg-compare__col ul { display: grid; gap: 10px; }
.lg-compare__col li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.6; color: #2a3848; }
.lg-compare__col li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; }
.lg-compare__col--yes { background: #eff8f2; border-color: #c6e6d1; }
.lg-compare__col--yes h3 { color: #1d6b45; }
.lg-compare__col--yes li::before { background: #2f9461; }
.lg-compare__col--no { background: #fdf2ef; border-color: #f2cfc7; }
.lg-compare__col--no h3 { color: #a8432d; }
.lg-compare__col--no li::before { background: #c0453a; }

/* steps */
.lg-steps { display: grid; gap: 6px; margin-top: 22px; }
.lg-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 18px; }
.lg-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px; top: 60px; bottom: 0;
  border-left: 2px dashed var(--gold-300);
}
.lg-steps__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 0 0 6px var(--cream-3), 0 10px 20px rgba(208, 148, 32, 0.3);
}
.lg-steps b { display: block; padding-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--navy-text); }
.lg-steps p { margin-top: 4px; font-size: 15.5px; color: var(--muted); }

/* contact card */
.lg-contact {
  position: relative;
  margin-top: 20px;
  padding: 28px;
  border-radius: 24px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(208, 148, 32, 0.25), transparent 70%),
    linear-gradient(130deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 24px 48px rgba(2, 31, 56, 0.22);
}
.lg-contact__head { display: flex; align-items: center; gap: 16px; }
.lg-contact__icon {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--gold-grad);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.4);
}
.lg-contact__head b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 23px; color: var(--white); }
.lg-contact__head span { font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.lg-contact__head .lg-fill { color: #8a5a00; }
.lg-contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.lg-contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.lg-contact__list li > i { flex-shrink: 0; color: var(--gold-300); }
.lg-contact__list a, .lg-doc .lg-contact__list a:not(.btn) { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.lg-doc .lg-contact__list a:hover { color: var(--gold-300); }
.lg-body .lg-contact__note { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }

/* pager */
.lg-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.lg-pager__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.lg-pager__item small { font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500); }
.lg-pager__item b { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--navy-text); }
.lg-pager__item--next { text-align: right; }
.lg-pager__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .lg-layout { grid-template-columns: 270px minmax(0, 1fr); }
  .lg-rights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .lg-layout { grid-template-columns: 1fr; }
  .lg-doc { max-width: none; }
  .lg-aside { order: 2; }
  .lg-aside__sticky { position: static; }
  .lg-card--toc { display: none; }
  .lg-toc-m { display: block; }
}
@media (max-width: 767px) {
  .lg-hero .page-hero__badge { display: none; }
  .lg-glance { padding: 22px 20px; }
  .lg-glance ul, .lg-compare, .lg-contact__list, .lg-pager { grid-template-columns: 1fr; }
  .lg-pager__item--next { text-align: left; }
  .lg-intro > p { font-size: 17px; }
  .lg-table td:first-child { width: 42%; }
  .lg-table th, .lg-table td { padding: 12px 14px; }
  .lg-contact { padding: 22px 20px; }
}
@media (max-width: 575px) {
  .lg-rights { grid-template-columns: 1fr; }
  .lg-body h2 { align-items: flex-start; }
  .lg-num { width: 36px; height: 36px; font-size: 13px; }
  .lg-table, .lg-table tbody, .lg-table tr, .lg-table td { display: block; width: 100%; }
  .lg-table thead { display: none; }
  .lg-table td:first-child { width: 100%; padding-bottom: 2px; }
  .lg-table td + td { border-top: 0; padding-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-chips { animation: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .nav-backdrop, .lg-aside, .lg-toc-m, .lg-intro__actions, .lg-pager,
  .page-hero__badge, .page-hero__curve, .breadcrumb, .bp-progress { display: none !important; }
  .lg-hero { min-height: 0; color: #000; background: none !important; }
  .lg-hero::before { display: none; }
  .lg-hero .page-hero__inner { padding: 0 0 12px; }
  .lg-hero .page-hero__lead, .lg-chips li { color: #333; }
  .lg-chips li { border-color: #ccc; background: none; }
  .lg-hero .swoosh { display: none; }
  .lg-main { padding: 0; }
  .lg-layout { display: block; }
  .lg-body > section { break-inside: avoid-page; }
  .lg-contact { color: #000; background: none; border: 1px solid #ccc; box-shadow: none; }
  .lg-contact__head b, .lg-contact__list a, .lg-contact__list li { color: #000 !important; background: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   OUR WORK PAGE (our-work.html) — prefix .ow-        MOBILE-FIRST
   Program colour per block comes from --c / --c-soft (inline style).
   Base rules are the phone design; min-width queries (576 / 768 / 992 / 1200)
   layer on the tablet and desktop layouts. Hover effects only run on
   devices that can hover.
   ========================================================================== */

/* ---------- banner (straight edge, extra room for the tiles) ---------- */
.ow-hero { min-height: clamp(440px, 34vw, 600px); }
.ow-hero .page-hero__inner { padding-block: 40px 120px; }
.ow-hero .page-hero__bg img { object-position: center 35%; }

/* ---------- program jump tiles (overlap the banner) ---------- */
.ow-jump { position: relative; z-index: 3; margin-top: -80px; }
.ow-jump__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ow-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: 0 16px 34px rgba(10, 35, 66, 0.12);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.ow-tile::before { /* colour wash (always faint on phones, rises on hover on desktop) */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, var(--c-soft) 0%, #ffffff 70%);
  opacity: 0.55;
  transition: opacity 0.5s;
}
.ow-tile::after { /* colour bar */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--c);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.ow-tile__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--c);
  background: var(--c-soft);
  margin-bottom: 12px;
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.ow-tile__num {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 35%, transparent);
}
.ow-tile__title { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.15; color: var(--navy-text); margin-bottom: 10px; }
.ow-tile__text { display: none; font-size: 15px; line-height: 1.55; color: var(--muted); margin-bottom: 18px; }
.ow-tile__go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--c); }
.ow-tile__go i { transition: transform 0.4s var(--ease); }

@media (min-width: 768px) {
  .ow-hero .page-hero__inner { padding-block: 56px 150px; }
  .ow-jump { margin-top: -96px; }
  .ow-jump__grid { gap: 20px; }
  .ow-tile { padding: 28px 26px 24px; border-radius: 24px; box-shadow: 0 20px 44px rgba(10, 35, 66, 0.12); }
  .ow-tile::before { opacity: 0; }
  .ow-tile::after { transform: scaleX(0.25); }
  .ow-tile__icon { width: 58px; height: 58px; border-radius: 18px; font-size: 24px; margin-bottom: 18px; }
  .ow-tile__num { top: 18px; right: 22px; font-size: 46px; }
  .ow-tile__title { font-size: 24px; margin-bottom: 8px; }
  .ow-tile__text { display: block; }
  .ow-tile__go { font-size: 14px; gap: 8px; }
}
@media (min-width: 1200px) {
  .ow-jump__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- approach ---------- */
.ow-intro { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 90px); }
.ow-intro__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.ow-intro__media { position: relative; width: 100%; max-width: 620px; margin-inline: auto; padding: 0 10% 12% 0; }
.ow-intro__main, .ow-intro__small { margin: 0; overflow: hidden; }
.ow-intro__main { border-radius: 24px; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.ow-intro__small {
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 20px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.ow-intro__main img, .ow-intro__small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ow-intro__media::before { /* dotted texture behind */
  content: "";
  position: absolute;
  left: -14px; top: -16px;
  width: 100px; height: 100px;
  z-index: -1;
  background-image: radial-gradient(var(--gold-300) 1.6px, transparent 2px);
  background-size: 16px 16px;
}
.ow-intro__badge {
  position: absolute;
  left: 0; bottom: 16%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(10, 35, 66, 0.16);
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--navy-text);
  animation: owFloat 4s ease-in-out infinite;
}
.ow-intro__badge > i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: var(--white); background: var(--gold-grad); }
@keyframes owFloat { 50% { transform: translateY(-8px); } }

.ow-intro .section-head .swoosh { left: 10%; width: 90%; }
.ow-principles { display: grid; gap: 12px; margin-top: 8px; }
.ow-principles li {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid #f1e8d8;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s;
}
.ow-principles__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; color: var(--gold-500); background: var(--white); box-shadow: var(--shadow-sm); }
.ow-principles h3 { font-size: 16.5px; font-weight: 800; color: var(--navy-text); margin-bottom: 3px; }
.ow-principles p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

@media (min-width: 576px) {
  .ow-intro__main { border-radius: 30px; }
  .ow-intro__small { border-radius: 26px; border-width: 8px; }
  .ow-intro__media::before { left: -26px; top: -26px; width: 140px; height: 140px; }
  .ow-intro__badge { left: -18px; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px; font-size: 14.5px; }
  .ow-intro__badge > i { width: 44px; height: 44px; border-radius: 14px; font-size: 18px; }
  .ow-principles { gap: 14px; }
  .ow-principles li { gap: 16px; padding: 18px 20px; border-radius: 20px; }
  .ow-principles__icon { width: 46px; height: 46px; border-radius: 14px; font-size: 18px; }
  .ow-principles h3 { font-size: 17px; }
  .ow-principles p { font-size: 15px; }
}
@media (min-width: 992px) {
  .ow-intro__grid { grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); }
  .ow-intro__media { max-width: none; margin: 0; padding: 0 12% 12% 0; }
}

/* ---------- programs ----------
   Phones/tablets: each program is a white card — full-width photo with the
   number on it, a small inset photo, then the text. 992px+: the zig-zag. */
.ow-programs {
  padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 70px);
  background:
    radial-gradient(ellipse 40% 30% at 0% 20%, rgba(241, 220, 170, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 30% at 100% 70%, rgba(227, 240, 250, 0.7), transparent 70%),
    var(--cream-2);
}
.ow-prog {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 12px 12px 22px;
  margin-bottom: 22px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: 0 18px 40px rgba(10, 35, 66, 0.08);
  scroll-margin-top: calc(var(--header-h) + 20px);
  overflow: hidden;
}
.ow-prog::before { /* program colour strip along the top */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--c);
}

.ow-prog__media { position: relative; isolation: isolate; padding: 0 0 18px; }
.ow-prog__img { margin: 0; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 26px rgba(10, 35, 66, 0.12); }
.ow-prog__img img, .ow-prog__inset img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ow-prog__inset {
  position: absolute;
  right: 12px; bottom: 0;
  margin: 0;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 14px 28px rgba(10, 35, 66, 0.22);
  z-index: 2;
}
.ow-prog__media::after { /* soft colour block behind the photo (desktop only) */
  content: "";
  position: absolute;
  right: -18px; top: calc(clamp(56px, 6vw, 84px) - 18px);
  width: 55%; height: 55%;
  z-index: -1;
  border-radius: 30px;
  background: var(--c-soft);
  display: none;
}
.ow-prog__num { /* sits on the photo on phones */
  position: absolute;
  top: 10px; left: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.95);
  text-shadow: 0 4px 18px rgba(2, 31, 56, 0.35);
  pointer-events: none;
}

.ow-prog__body { padding: 8px 8px 0; }
.ow-prog__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c);
  background: var(--c-soft);
  margin-bottom: 12px;
}
.ow-prog__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 7vw, 32px); line-height: 1.12; color: var(--navy-text); margin-bottom: 10px; }
.ow-prog__lead { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin-bottom: 18px; max-width: 560px; }

.ow-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.ow-checks li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px 8px 38px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-text);
  line-height: 1.3;
  background: var(--cream);
}
.ow-checks li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 10px; top: 50%;
  width: 20px; height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--white);
  background: var(--c);
}

.ow-why { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 14px; margin-bottom: 20px; border-radius: 16px; background: var(--c-soft); border: 1px solid color-mix(in srgb, var(--c) 18%, transparent); }
.ow-why__label { width: 100%; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c); margin-bottom: 2px; }
.ow-why__chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--navy-text); background: var(--white); }
.ow-why__chip i { color: var(--c); font-size: 12px; }

.ow-prog__actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.ow-prog__actions .btn { justify-content: center; }
.ow-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--navy-text); transition: color 0.3s; }
.ow-link > i { color: var(--c, var(--gold-500)); }

@media (min-width: 576px) {
  .ow-prog { padding: 16px 16px 28px; margin-bottom: 28px; border-radius: 30px; }
  .ow-prog__img { aspect-ratio: 16 / 10; border-radius: 22px; }
  .ow-prog__inset { width: 26%; border-width: 6px; border-radius: 20px; right: 18px; }
  .ow-prog__num { font-size: 64px; top: 12px; left: 18px; }
  .ow-prog__body { padding: 12px 14px 0; }
  .ow-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ow-prog__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px 26px; }
  .ow-link { justify-content: flex-start; min-height: 0; padding-block: 10px; }
}
@media (min-width: 768px) {
  .ow-prog__title { font-size: 34px; }
  .ow-prog__lead { font-size: 16.5px; }
  .ow-checks li { font-size: 14.5px; }
  .ow-why { padding: 16px 18px; gap: 8px; }
  .ow-why__chip { font-size: 13.5px; padding: 6px 12px; }
}

/* desktop: back to the open zig-zag layout */
@media (min-width: 992px) {
  .ow-prog {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
    padding: clamp(36px, 4vw, 56px) 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .ow-prog::before { display: none; }
  .ow-prog + .ow-prog { border-top: 1px dashed #e3d7c2; }
  .ow-prog--flip .ow-prog__media { order: 2; }

  .ow-prog__media { padding: clamp(56px, 6vw, 84px) 0 10% 10%; }
  .ow-prog--flip .ow-prog__media { padding: clamp(56px, 6vw, 84px) 10% 10% 0; }
  .ow-prog__img { aspect-ratio: 5 / 4; border-radius: 30px; box-shadow: var(--shadow-lg); }
  .ow-prog__inset { left: 0; right: auto; width: 38%; border-radius: 24px; border-width: 7px; box-shadow: 0 20px 40px rgba(10, 35, 66, 0.2); }
  .ow-prog--flip .ow-prog__inset { left: auto; right: 0; }
  .ow-prog__media::after { display: block; }
  .ow-prog--flip .ow-prog__media::after { right: auto; left: -18px; }
  .ow-prog__num {
    top: 0; left: auto; right: 4px;
    font-size: clamp(64px, 6.4vw, 100px);
    -webkit-text-stroke: 2px var(--c);
    text-shadow: none;
    opacity: 0.5;
    transform: translateY(-38%);
  }
  .ow-prog--flip .ow-prog__num { right: auto; left: 4px; }

  .ow-prog__body { padding: 0; }
  .ow-prog__tag { padding: 7px 15px; font-size: 13px; margin-bottom: 16px; }
  .ow-prog__title { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; margin-bottom: 14px; }
  .ow-prog__lead { font-size: 17px; line-height: 1.7; margin-bottom: 22px; }

  .ow-checks { grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 22px; }
  .ow-checks li { display: block; min-height: 0; padding: 0 0 0 32px; border-radius: 0; background: none; font-size: 15.5px; line-height: 1.5; }
  .ow-checks li::before { left: 0; top: 1px; margin-top: 0; width: 22px; height: 22px; font-size: 10px; }

  .ow-why { margin-bottom: 26px; border-radius: 18px; background: var(--white); border-color: #efe7d8; }
  .ow-why__label { font-size: 12px; color: var(--gold-500); }
  .ow-why__chip { background: var(--cream); }

  .ow-link { padding: 10px 0 4px; border-bottom: 2px solid var(--gold-300); }
  .ow-link > i { color: inherit; }
}

/* ---------- process ----------
   Phones: one swipeable row with the next step peeking in. */
.ow-process { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.ow-steps {
  --img-h: 150px;
  list-style: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 34px var(--gutter) 22px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 14px;
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.ow-steps::-webkit-scrollbar { display: none; }
.ow-steps::before { /* dashed connector (desktop only) */
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  top: var(--img-h);
  border-top: 2px dashed var(--gold-300);
  z-index: 0;
  display: none;
}
.ow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.ow-step__img { margin: 0; height: var(--img-h); border-radius: 22px 22px 0 0; overflow: hidden; }
.ow-step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ow-step__num {
  position: absolute;
  left: 50%; top: var(--img-h);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 0 0 5px var(--white), 0 10px 22px rgba(208, 148, 32, 0.4);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease);
}
.ow-step__body { padding: 36px 18px 22px; text-align: center; }
.ow-step__body h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: var(--navy-text); margin-bottom: 6px; }
.ow-step__body h3 i { color: var(--gold-500); font-size: 15px; }
.ow-step__body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

@media (min-width: 576px) {
  .ow-steps {
    --img-h: 168px;
    margin: 0;
    padding: 0;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
    overflow: visible;
  }
  .ow-step { border-radius: 24px; }
  .ow-step__img { border-radius: 24px 24px 0 0; }
  .ow-step__num { width: 54px; height: 54px; font-size: 20px; box-shadow: 0 0 0 6px var(--white), 0 10px 22px rgba(208, 148, 32, 0.4); }
  .ow-step__body { padding: 40px 22px 24px; }
  .ow-step__body h3 { font-size: 19px; margin-bottom: 8px; }
  .ow-step__body h3 i { font-size: 16px; }
}
@media (min-width: 1200px) {
  .ow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .ow-steps::before { display: block; }
}

/* ---------- impact spacing ---------- */
.ow-impact { padding: 10px 0 30px; }

/* ---------- ways to help ----------
   Phones: compact horizontal cards (icon left, text right). */
.ow-help { padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 60px); }
.ow-help__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.ow-help-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 20px 18px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.ow-help-card > :not(.ow-help-card__icon) { grid-column: 2; }
.ow-help-card::after { /* big faint circle */
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  z-index: -1;
  background: currentColor;
  opacity: 0.06;
  transition: transform 0.7s var(--ease);
}
.ow-help-card--gold { color: var(--white); background: var(--gold-grad); box-shadow: 0 16px 34px rgba(208, 148, 32, 0.3); }
.ow-help-card--navy { color: var(--white); background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); box-shadow: 0 16px 34px rgba(4, 44, 72, 0.25); }
.ow-help-card--cream { color: var(--navy-text); background: var(--cream); border: 1px solid #efe5d2; }
.ow-help-card__icon {
  grid-row: 1 / span 3;
  width: 50px; height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.5s var(--ease);
}
.ow-help-card--cream .ow-help-card__icon { color: var(--gold-500); background: var(--white); box-shadow: var(--shadow-sm); }
.ow-help-card--navy .ow-help-card__icon { color: var(--gold-300); }
.ow-help-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.15; margin-bottom: 4px; }
.ow-help-card p { font-size: 14.5px; line-height: 1.55; opacity: 0.9; margin-bottom: 12px; }
.ow-help-card__go { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; }
.ow-help-card--cream .ow-help-card__go { color: var(--gold-500); }
.ow-help-card--navy .ow-help-card__go { color: var(--gold-300); }
.ow-help-card__go i { transition: transform 0.4s var(--ease); }

@media (min-width: 576px) {
  .ow-help__grid { max-width: 620px; margin-inline: auto; gap: 18px; }
  .ow-help-card { padding: 26px 26px; column-gap: 20px; border-radius: 24px; }
  .ow-help-card__icon { width: 58px; height: 58px; font-size: 23px; border-radius: 18px; }
  .ow-help-card h3 { font-size: 26px; }
  .ow-help-card p { font-size: 15.5px; }
}
@media (min-width: 992px) {
  .ow-help__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 24px; }
  .ow-help-card { display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 26px; }
  .ow-help-card::after { width: 200px; height: 200px; }
  .ow-help-card__icon { width: 60px; height: 60px; font-size: 24px; margin-bottom: 20px; }
  .ow-help-card h3 { font-size: 28px; margin-bottom: 8px; }
  .ow-help-card p { margin-bottom: 22px; }
  .ow-help-card__go { margin-top: auto; font-size: 16px; }
}

/* ---------- hover effects: only on devices that can hover ---------- */
@media (hover: hover) {
  .ow-tile:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(10, 35, 66, 0.18); border-color: transparent; }
  .ow-tile:hover::before { opacity: 1; }
  .ow-tile:hover::after { transform: scaleX(1); }
  .ow-tile:hover .ow-tile__icon { color: var(--white); background: var(--c); transform: rotate(-8deg) scale(1.05); }
  .ow-tile:hover .ow-tile__go i { transform: translateY(4px); }
  .ow-intro__media:hover .ow-intro__main img { transform: scale(1.05); }
  .ow-principles li:hover { transform: translateX(6px); background: var(--white); box-shadow: var(--shadow); }
  .ow-prog:hover .ow-prog__img img { transform: scale(1.05); }
  .ow-link:hover { color: var(--gold-500); border-color: var(--gold-500); }
  .ow-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
  .ow-step:hover .ow-step__img img { transform: scale(1.08); }
  .ow-step:hover .ow-step__num { transform: translate(-50%, -50%) rotate(360deg); }
  .ow-help-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
  .ow-help-card:hover::after { transform: scale(1.4); }
  .ow-help-card:hover .ow-help-card__icon { transform: rotate(-10deg) scale(1.08); }
  .ow-help-card:hover .ow-help-card__go i { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .ow-intro__badge { animation: none; }
}

/* ==========================================================================
   DONATE PAGE (donate.html) — prefix .dn-   behaviour in js/donate.js
   Reuses: page-hero, contact-info/info-card, form-card + form fields,
   help-link, aside-photo, faq-section, ask-card, cta
   ========================================================================== */
.dn-pay { padding: clamp(70px, 7vw, 110px) 0 clamp(60px, 6vw, 90px); }
.dn-pay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: stretch;
}

/* ---------- copy button ---------- */
.dn-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 6px 14px rgba(208, 148, 32, 0.3);
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s, color 0.3s;
}
.dn-copy:hover { transform: translateY(-2px); }
.dn-copy:focus-visible { outline: 3px solid rgba(208, 148, 32, 0.4); outline-offset: 2px; }
.dn-copy.is-copied { background: #2e7d42; box-shadow: 0 6px 14px rgba(46, 125, 66, 0.3); }
.dn-copy--soft {
  color: var(--navy-text);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: none;
}
.dn-copy--soft i { color: var(--gold-500); transition: color 0.3s; }
.dn-copy--soft:hover { background: var(--gold-grad); border-color: transparent; color: var(--white); }
.dn-copy--soft:hover i { color: var(--white); }
.dn-copy--soft.is-copied { color: var(--white); border-color: transparent; }
.dn-copy--soft.is-copied i { color: var(--white); }

/* ---------- QR / UPI card ---------- */
.dn-qr {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 42px) clamp(22px, 2.6vw, 38px);
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(219, 164, 59, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(21, 69, 102, 0.9), transparent 70%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.dn-qr__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(230, 195, 125, 0.12);
  border: 1px solid rgba(230, 195, 125, 0.3);
}
.dn-qr__payee {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
}
.dn-qr__plate {
  width: min(100%, 300px);
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.dn-qr__plate img { width: 100%; height: auto; }

.dn-qr__frame {
  position: relative;
  width: min(100%, 272px);
  aspect-ratio: 1;
  margin: 26px 0 16px;
  padding: 14px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.dn-qr__frame img { width: 100%; height: 100%; }
.dn-qr__corner {
  position: absolute;
  width: 34px; height: 34px;
  border: 4px solid var(--gold-400);
}
.dn-qr__corner--tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; border-top-left-radius: 16px; }
.dn-qr__corner--tr { top: -10px; right: -10px; border-left: 0; border-bottom: 0; border-top-right-radius: 16px; }
.dn-qr__corner--bl { bottom: -10px; left: -10px; border-right: 0; border-top: 0; border-bottom-left-radius: 16px; }
.dn-qr__corner--br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; border-bottom-right-radius: 16px; }
.dn-qr__scan {
  position: absolute;
  left: 10px; right: 10px;
  top: 14px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  box-shadow: 0 0 14px 2px rgba(219, 164, 59, 0.55);
  animation: dnScan 3s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes dnScan { to { top: calc(100% - 17px); } }

.dn-qr__hint { max-width: 320px; font-size: 14.5px; color: rgba(255, 255, 255, 0.78); }

.dn-upi {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
  padding: 12px 12px 12px 18px;
  border-radius: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px dashed rgba(230, 195, 125, 0.5);
}
.dn-upi__label {
  grid-column: 1 / -1;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.dn-upi__id {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.dn-qr__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.dn-qr .btn--outline { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, 0.45); }
.dn-qr .btn--outline::before { background: var(--white); }
.dn-qr .btn--outline:hover { color: var(--navy-800); border-color: var(--white); }
/* deep link only makes sense on phones/tablets */
.dn-upi-app { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 767px) { .btn.dn-upi-app { display: inline-flex; } }

.dn-qr__apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.dn-qr__apps li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Bank card ---------- */
.dn-bank {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 55% 35% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--white);
  border: 1px solid #efe9df;
  box-shadow: 0 16px 40px rgba(10, 35, 66, 0.1);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.dn-bank__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 6px;
  border-bottom: 1.5px dashed var(--line);
}
.dn-bank__brand { min-width: 0; }
.dn-bank__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.dn-bank__logo { width: clamp(220px, 24vw, 330px); height: auto; }
.dn-bank__modes { display: flex; gap: 6px; margin-left: auto; align-self: flex-end; }
.dn-bank__modes li {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy-700);
  background: var(--sky);
}

.dn-bank__list { margin: 0; }
.dn-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 12px;
  margin-inline: -12px;
  border-radius: 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.dn-row:last-child { border-bottom: 0; }
.dn-row:hover { background: var(--cream-3); }
.dn-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dn-row dt i { width: 18px; text-align: center; color: var(--gold-500); }
.dn-row dd { margin: 0; font-size: 17px; font-weight: 800; color: var(--navy-text); word-break: break-word; }
.dn-row dd:last-child { grid-column: 2 / -1; }
.dn-mono { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }

.dn-bank__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: auto;
  padding-top: 22px;
}
.dn-bank__note { flex: 1 1 260px; display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.dn-bank__note i { margin-top: 4px; color: var(--gold-500); }

/* ---------- Right column: bank card + steps ---------- */
.dn-pay__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.dn-pay__side .dn-bank { flex: 1; }

/* ---------- Steps ---------- */
.dn-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dn-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.dn-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.dn-step__num {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  background: var(--navy-800);
  transition: background 0.4s;
}
.dn-step:hover .dn-step__num { background: var(--gold-grad); }
.dn-step h3 { font-size: 16px; font-weight: 800; color: var(--navy-text); margin-bottom: 2px; }
.dn-step p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.dn-step a { color: var(--gold-500); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Offline methods + form ---------- */
.dn-offline {
  padding: clamp(60px, 6vw, 90px) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream-3) 100%);
  scroll-margin-top: var(--header-h);
}
.dn-offline__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.dn-offline__intro { position: sticky; top: calc(var(--header-h) + 20px); }
.dn-offline__text { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.dn-offline__links { margin-top: 24px; }
.dn-offline__links .help-link { background: var(--white); box-shadow: 0 6px 18px rgba(10, 35, 66, 0.06); }
.dn-offline__links .help-link__text small { word-break: break-word; }
.dn-offline__photo { margin-top: 24px; aspect-ratio: 16 / 10; }
.dn-offline .form-card {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--white);
  box-shadow: 0 16px 40px rgba(10, 35, 66, 0.08);
}

.dn-optional { font-weight: 600; color: #8a95a2; font-size: 13px; }
.dn-upper { text-transform: uppercase; }
.dn-upper::placeholder { text-transform: none; }
.form-control input[type=number] { -moz-appearance: textfield; }
.form-control input[type=number]::-webkit-outer-spin-button,
.form-control input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-control input[type=date] { min-height: 52px; }

/* file upload */
.dn-file-label { display: block; font-size: 14.5px; font-weight: 800; color: var(--navy-text); margin-bottom: 7px; }
.form-field .dn-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px dashed var(--gold-300);
  border-radius: 14px;
  background: var(--cream-3);
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.form-field .dn-file span { color: inherit; }
.dn-file input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dn-file:hover { border-color: var(--gold-500); background: #fdf6e8; }
.dn-file:focus-within { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.14); }
.form-field .dn-file .dn-file__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.08);
}
.dn-file__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.dn-file__text strong { font-size: 15px; color: var(--navy-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-file__text small { font-size: 13px; color: var(--muted); }
.dn-file__clear {
  margin-left: auto;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--white);
  transition: background 0.3s, color 0.3s;
}
.dn-file__clear:hover { background: #fdeeee; color: #b03a2e; }
.form-field.has-file .dn-file { border-style: solid; border-color: #7fb98a; background: #f3faf4; }
.form-field.has-file .dn-file .dn-file__icon { color: #2e7d42; }
.form-field.has-error .dn-file { border-color: #e06c5f; background: #fff8f7; }

/* toast */
.dn-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--white);
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
}
.dn-toast i { color: #7fd892; }
.dn-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- donate responsive ---------- */
@media (max-width: 1199px) {
  .dn-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .dn-row dt { grid-column: 1 / -1; }
  .dn-row dd:last-child { grid-column: 1 / -1; }
  .dn-steps { grid-template-columns: 1fr; }
  .dn-offline__grid { grid-template-columns: 1fr; }
  .dn-offline__intro { position: static; }
}
@media (max-width: 991px) {
  .dn-pay__grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .dn-qr, .dn-bank { border-radius: 22px; }
  .dn-bank__head { flex-wrap: wrap; }
  .dn-bank__modes { margin-left: 0; width: 100%; }
  .dn-bank__logo { width: 100%; max-width: 300px; }
  .dn-bank__foot .btn { width: 100%; }
  .dn-upi { grid-template-columns: 1fr; }
  .dn-upi .dn-copy { width: 100%; padding-block: 11px; }
  .dn-qr__actions .btn { width: 100%; }
  .dn-row dd { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .dn-qr__scan { animation: none; display: none; }
}

/* ==========================================================================
   SUPPORT A LIFE (support-a-life.html .sa-*  ·  case-details.html .cs-*)
   Rendered from js/cases-data.js by js/cases.js
   ========================================================================== */
:root { --care: #d2483d; --care-soft: #fde9e6; }

/* ---------- progress bar (shared) ---------- */
.sa-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #efe9df;
  overflow: hidden;
}
.sa-bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 8px, transparent 8px 16px),
    linear-gradient(90deg, var(--gold-400), var(--gold-500) 60%, #c4871a);
  background-size: 32px 100%, 100% 100%;
  box-shadow: 0 2px 8px rgba(208, 148, 32, 0.4);
  transition: width 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  animation: saStripes 1.2s linear infinite;
}
.sa-bar i::after { /* glowing tip */
  content: "";
  position: absolute;
  right: -2px; top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold-500);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.18);
}
.sa-bar.is-in i { width: var(--p); }
.sa-bar--lg { height: 14px; }
.sa-bar--lg i::after { width: 18px; height: 18px; }
@keyframes saStripes { to { background-position: 32px 0, 0 0; } }

/* ---------- banner ---------- */
.sa-hero { min-height: clamp(440px, 32vw, 560px); }
.sa-hero .page-hero__inner { padding-block: 56px 140px; }
.sa-hero .page-hero__bg img { object-position: 50% 25%; }

/* ---------- summary strip ---------- */
.sa-summary { position: relative; z-index: 3; margin-top: -84px; }
.sa-summary__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 10px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: 0 24px 50px rgba(10, 35, 66, 0.13);
}
.sa-summary__item { display: flex; align-items: center; gap: 16px; padding: 4px 26px; }
.sa-summary__item + .sa-summary__item { border-left: 1px dashed #e3d7c2; }
.sa-summary__icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--gold-500);
  background: var(--cream);
}
.sa-summary__item:nth-child(2) .sa-summary__icon { color: var(--white); background: var(--gold-grad); box-shadow: 0 10px 20px rgba(208, 148, 32, 0.35); }
.sa-summary__item b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--navy-text); }
.sa-summary__item span { font-size: 14px; font-weight: 700; color: var(--muted); }

/* ---------- cases grid ---------- */
.sa-cases { padding: clamp(60px, 7vw, 96px) 0 clamp(50px, 5vw, 70px); }
.sa-tabs .ts-tab > i { color: var(--gold-500); }
.sa-tabs .ts-tab[data-filter="urgent"] > i { color: var(--care); }
.sa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 420px)); justify-content: center; gap: 30px; }

.sa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #f0ebe2;
  box-shadow: 0 14px 34px rgba(10, 35, 66, 0.08);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  animation: blCardIn 0.7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
.sa-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(10, 35, 66, 0.15); }
.sa-card__media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--cream); }
.sa-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sa-card:hover .sa-card__media img { transform: scale(1.06); }
.sa-card__media::after { /* notch, like the reference design */
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 34px; height: 14px;
  background: var(--white);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  transform: translateX(-50%);
}
.sa-card__tag {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--care);
  box-shadow: 0 8px 18px rgba(210, 72, 61, 0.35);
}
.sa-card__urgent {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-300);
}
.sa-card__urgent i { animation: heartBeat 1.4s ease-in-out infinite; }

.sa-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.sa-card__loc { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.sa-card__loc i { color: var(--gold-500); }
.sa-card__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--navy-text); margin-bottom: 10px; }
.sa-card__title a { transition: color 0.3s; }
.sa-card__title a:hover { color: var(--gold-500); }
.sa-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}
.sa-card__progress { margin-top: auto; padding: 18px; border-radius: 18px; background: var(--cream-2); border: 1px solid #f1e9da; margin-bottom: 18px; }
.sa-card__nums { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.sa-card__money { display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); }
.sa-card__money b { font-size: 17px; font-weight: 800; color: var(--navy-text); margin-right: 3px; }
.sa-card__pct { text-align: right; line-height: 1.1; }
.sa-card__pct b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--care); }
.sa-card__pct span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sa-card__actions { display: flex; align-items: center; gap: 16px; }
.sa-card__donate { flex: 1; }
.sa-card__more { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14.5px; color: var(--navy-text); white-space: nowrap; }
.sa-card__more i { transition: transform 0.35s var(--ease); color: var(--gold-500); }
.sa-card__more:hover { color: var(--gold-500); }
.sa-card__more:hover i { transform: translateX(4px); }

/* ---------- how it works ---------- */
.sa-how { padding: clamp(60px, 7vw, 96px) 0; background: linear-gradient(180deg, var(--cream-2), var(--white)); }
.sa-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sa-step {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.sa-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sa-step__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 22px; color: var(--white); background: linear-gradient(145deg, var(--navy-600), var(--navy-900)); margin-bottom: 18px; }
.sa-step:nth-child(even) .sa-step__icon { background: var(--gold-grad); }
.sa-step__num { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold-300); }
.sa-step h3 { font-size: 18px; font-weight: 800; color: var(--navy-text); margin-bottom: 8px; }
.sa-step p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- refer a case ---------- */
.sa-refer { padding: 0 0 clamp(60px, 7vw, 90px); }
.sa-refer__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 36px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 100% at 100% 0%, rgba(208, 148, 32, 0.3), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.sa-refer__icon { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; font-size: 36px; color: var(--navy-900); background: var(--gold-grad); box-shadow: 0 14px 28px rgba(208, 148, 32, 0.4); }
.sa-refer__text .eyebrow { color: var(--gold-300); margin-bottom: 6px; }
.sa-refer__text h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; margin-bottom: 8px; }
.sa-refer__text p { color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.sa-refer__actions { display: flex; flex-direction: column; gap: 12px; }
.sa-btn-wa { color: var(--white); background: #25d366; box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35); }
.sa-btn-wa:hover { box-shadow: 0 14px 26px rgba(37, 211, 102, 0.45); }

/* ==========================================================================
   CASE DETAIL
   ========================================================================== */
.cs-hero { min-height: clamp(400px, 30vw, 520px); }
.cs-hero .page-hero__bg img { filter: blur(3px) saturate(0.9); transform: scale(1.06); }
.cs-hero .page-hero__inner { padding-block: 56px 70px; }
.cs-hero__content { max-width: 860px; }
.cs-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.cs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cs-chip--tag { color: var(--white); background: var(--care); box-shadow: 0 8px 18px rgba(210, 72, 61, 0.35); }
.cs-chip--urgent { color: var(--navy-900); background: var(--gold-300); }
.cs-chip--urgent i { animation: heartBeat 1.4s ease-in-out infinite; }
.cs-hero__title { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; margin-bottom: 22px; }
.cs-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, 0.88); }
.cs-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.cs-hero__meta i { color: var(--gold-300); }

.cs-main { padding: clamp(40px, 5vw, 64px) 0 clamp(60px, 7vw, 90px); }
.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.cs-content { min-width: 0; display: grid; gap: 30px; }

/* gallery */
.cs-gallery { display: grid; grid-template-columns: 1fr 200px; gap: 14px; }
.cs-gallery.is-single { grid-template-columns: 1fr; }
.cs-gallery button { position: relative; padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: var(--cream); cursor: zoom-in; }
.cs-gallery__main { aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.cs-gallery.is-single .cs-gallery__main { aspect-ratio: 16 / 9; }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cs-gallery button:hover img { transform: scale(1.05); }
.cs-gallery__thumbs { display: grid; gap: 14px; grid-auto-rows: 1fr; }
.cs-gallery__thumb img { object-position: 50% 25%; }
.cs-gallery__zoom { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-800); background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease); }
.cs-gallery button:hover .cs-gallery__zoom { transform: scale(1.1); }

/* facts */
.cs-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cs-facts li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--cream); border: 1px solid #f1e8d8; }
.cs-facts__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 17px; color: var(--gold-500); background: var(--white); box-shadow: var(--shadow-sm); }
.cs-facts small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cs-facts b { font-size: 15.5px; color: var(--navy-text); }

/* blocks */
.cs-block { padding: 30px 32px; border-radius: 26px; background: var(--white); border: 1px solid #efe7d8; box-shadow: var(--shadow-sm); }
.cs-block__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; }
.cs-block__head .cs-block__title { margin-bottom: 0; }
.cs-block__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--navy-text); margin-bottom: 18px; }
.cs-block__title i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; color: var(--gold-500); background: var(--cream); }
.cs-story { font-size: 17px; line-height: 1.85; color: #2f3d4d; }
.cs-story > * + * { margin-top: 18px; }
.cs-story b { color: var(--navy-text); }
.cs-quote { position: relative; margin: 26px 0 !important; padding: 26px 28px 22px 32px; border-radius: 20px; background: var(--cream-3); border-left: 5px solid var(--care); }
.cs-quote > i { position: absolute; right: 22px; top: -16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--white); background: var(--care); box-shadow: 0 8px 18px rgba(210, 72, 61, 0.35); }
.cs-quote p { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; color: var(--navy-text); }
.cs-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; font-weight: 800; color: var(--care); }

.cs-about { display: flex; gap: 18px; padding: 24px 26px; border-radius: 22px; background: var(--sky); border: 1px dashed #b9d3e8; }
.cs-about__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--white); background: var(--navy-700); }
.cs-about h3 { font-size: 18px; font-weight: 800; color: var(--navy-text); margin-bottom: 6px; }
.cs-about p { font-size: 15.5px; line-height: 1.7; color: var(--ink); }

.cs-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs-needs li { position: relative; padding: 14px 16px 14px 50px; border-radius: 16px; background: var(--cream); font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--navy-text); }
.cs-needs li::before { content: "\f004"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: var(--white); background: var(--gold-grad); }

/* timeline */
.cs-timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 22px; }
.cs-timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-400), #efe2c8); }
.cs-timeline li { position: relative; }
.cs-timeline li::before { content: ""; position: absolute; left: -30px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 4px solid var(--gold-500); box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.15); }
.cs-timeline li:last-child::before { background: var(--gold-500); }
.cs-timeline time { display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; color: var(--gold-500); background: #fff6e4; margin-bottom: 6px; }
.cs-timeline h3 { font-size: 17px; font-weight: 800; color: var(--navy-text); margin-bottom: 3px; }
.cs-timeline p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* documents */
.cs-privacy { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #2e7d42; background: #eaf6ec; }
.cs-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cs-doc { display: flex; flex-direction: column; padding: 0; border: 1px solid #efe7d8; border-radius: 18px; overflow: hidden; background: var(--white); text-align: left; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s; }
.cs-doc:hover, .cs-doc:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); outline: none; }
.cs-doc__thumb { position: relative; display: block; aspect-ratio: 4 / 3.2; overflow: hidden; background: #f4f1ec; }
.cs-doc__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.cs-doc:hover .cs-doc__thumb img { transform: scale(1.06); }
.cs-doc__view { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--white); background: rgba(2, 31, 56, 0.55); opacity: 0; transition: opacity 0.35s; }
.cs-doc__view i { margin-right: 6px; }
.cs-doc:hover .cs-doc__view, .cs-doc:focus-visible .cs-doc__view { opacity: 1; }
.cs-doc__info { display: flex; gap: 12px; padding: 14px 16px; }
.cs-doc__info > i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: var(--gold-500); background: var(--cream); }
.cs-doc__info b { display: block; font-size: 14.5px; line-height: 1.3; color: var(--navy-text); }
.cs-doc__info small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* donate sidebar */
.cs-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.cs-donate {
  padding: 28px 26px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid #efe7d8;
  box-shadow: 0 24px 50px rgba(10, 35, 66, 0.13);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.cs-donate.is-flash { animation: csFlash 1.6s var(--ease) 0.3s 2; }
@keyframes csFlash { 50% { box-shadow: 0 0 0 6px rgba(208, 148, 32, 0.35), 0 24px 50px rgba(10, 35, 66, 0.13); } }
.cs-donate__amounts { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cs-donate__amounts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--navy-text); }
.cs-donate__amounts span { font-size: 14px; font-weight: 700; color: var(--muted); }
.cs-donate__amounts em { font-style: normal; color: var(--navy-text); }
.cs-donate__pct { font-family: var(--font-display); font-size: 38px !important; line-height: 1; color: var(--care) !important; }
.cs-donate__stats { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.cs-donate__stats i { color: var(--gold-500); margin-right: 3px; }
.cs-donate__stats b { color: var(--navy-text); }
.cs-donate__form { margin-top: 22px; padding-top: 22px; border-top: 1px dashed #e6dccb; }
.cs-donate__label { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-text); margin-bottom: 10px; }
.cs-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.cs-amount { padding: 11px 4px; border-radius: 12px; border: 1.5px solid #e4ded3; background: var(--white); font-weight: 800; font-size: 14.5px; color: var(--navy-text); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.cs-amount:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.cs-amount.is-active { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); }
.cs-custom { position: relative; margin-bottom: 14px; }
.cs-custom span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.cs-custom input { width: 100%; padding: 13px 16px 13px 34px; border: 1.5px solid #e4ded3; border-radius: 12px; font: inherit; font-weight: 700; color: var(--ink); outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.cs-custom input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(208, 148, 32, 0.14); }
.cs-custom.has-error input { border-color: #e06c5f; box-shadow: 0 0 0 4px rgba(224, 108, 95, 0.14); }
.cs-donate__btn { width: 100%; --btn-pad-y: 15px; font-size: 17px; }
.cs-donate__note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.cs-donate__note i { color: #2e9e6a; margin-right: 4px; }
.cs-donate__share { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed #e6dccb; }
.cs-donate__share > span { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-text); }
.cs-share { display: flex; gap: 6px; }
.cs-share .bp-sbtn { width: 36px; height: 36px; font-size: 14px; }

.cs-help { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: #eafaf0; border: 1px solid #c4ecd3; color: var(--navy-text); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.cs-help:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cs-help__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: var(--white); background: #25d366; }
.cs-help b { display: block; font-size: 15px; }
.cs-help small { font-size: 13px; color: var(--muted); }
.cs-help > i { margin-left: auto; color: #1a9e50; transition: transform 0.35s var(--ease); }
.cs-help:hover > i { transform: translateX(4px); }

#csOthers { justify-content: start; }
.cs-others { padding: clamp(56px, 6vw, 86px) 0 clamp(50px, 5vw, 70px); background: linear-gradient(180deg, var(--cream-2), var(--white)); }

/* viewer */
.cs-viewer {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px 20px;
  background: rgba(2, 20, 36, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.cs-viewer.is-open { opacity: 1; visibility: visible; }
.cs-viewer__figure { margin: 0; max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.cs-viewer__figure img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; background: var(--white); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); opacity: 0; transform: scale(0.97); transition: opacity 0.35s, transform 0.45s var(--ease); }
.cs-viewer__figure img.is-in { opacity: 1; transform: none; }
.cs-viewer__figure figcaption { margin-top: 14px; text-align: center; color: var(--white); }
.cs-viewer__figure figcaption b { display: block; font-size: 16px; }
.cs-viewer__figure figcaption span { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.cs-viewer__close, .cs-viewer__arrow { flex-shrink: 0; width: 50px; height: 50px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--white); background: rgba(255, 255, 255, 0.12); transition: background 0.3s; }
.cs-viewer__close:hover, .cs-viewer__arrow:hover { background: var(--gold-500); }
.cs-viewer__close { position: absolute; top: 20px; right: 20px; }
.cs-viewer.is-single .cs-viewer__arrow { visibility: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .sa-grid { grid-template-columns: repeat(2, 1fr); }
  .sa-steps { grid-template-columns: repeat(2, 1fr); }
  .cs-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .cs-docs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .sa-summary__card { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .sa-summary__item:nth-child(3) { border-left: 0; }
  .sa-refer__card { grid-template-columns: 1fr; text-align: left; }
  .sa-refer__actions { flex-direction: row; flex-wrap: wrap; }
  .cs-layout { grid-template-columns: 1fr; }
  .cs-aside { position: static; order: -1; }
  .cs-content { order: 0; }
}
@media (max-width: 767px) {
  .sa-hero .page-hero__inner { padding-block: 40px 120px; }
  .sa-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-gallery__thumbs { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; }
  .cs-facts, .cs-needs { grid-template-columns: 1fr; }
  .cs-block { padding: 24px 20px; }
  .cs-block__title { font-size: 24px; }
  .cs-viewer__arrow { position: absolute; bottom: 20px; }
  .cs-viewer__arrow--prev { left: calc(50% - 60px); }
  .cs-viewer__arrow--next { right: calc(50% - 60px); }
  .cs-viewer__figure img { max-height: calc(100vh - 200px); }
}
@media (max-width: 575px) {
  .sa-summary__card { grid-template-columns: 1fr; padding: 18px 6px; }
  .sa-summary__item + .sa-summary__item { border-left: 0; border-top: 1px dashed #e3d7c2; padding-top: 16px; }
  .sa-steps { grid-template-columns: 1fr; }
  .sa-card__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .sa-card__more { justify-content: center; }
  .cs-docs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cs-amounts { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .sa-bar i { transition: none; animation: none; }
  .sa-card { animation: none; }
}

/* ==========================================================================
   APPLY 12A / 80G PAGE (apply-12a-80g.html) — prefix .ag-   behaviour in js/apply-12a-80g.js
   Reuses: page-hero, section-head, form-card + form fields, seg, check,
   dn-file / dn-upper / dn-optional (donate), lg-fill (legal), faq-section, ask-card, cta
   MOBILE-FIRST: base rules are the phone layout; min-width queries
   (576 / 768 / 992 / 1200) build up to tablet and desktop.
   ========================================================================== */
.ag-reg { padding: clamp(56px, 7vw, 110px) 0 clamp(36px, 4vw, 60px); }
.ag-reg__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* ---------- registration cards ---------- */
.ag-cert {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--white);
  border: 1px solid #efe9df;
  box-shadow: 0 14px 36px rgba(10, 35, 66, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.ag-cert::after { /* certificate-style inner border */
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed rgba(208, 148, 32, 0.28);
  border-radius: 14px;
  pointer-events: none;
  z-index: -1;
}
.ag-cert__seal {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: var(--white);
  background: var(--navy-800);
  box-shadow: 0 0 0 6px var(--sky);
  margin-bottom: 16px;
  transition: background 0.4s;
}
.ag-cert__tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: #fdf3df;
}
.ag-cert__title { margin-top: 10px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--navy-text); }
.ag-cert__text { margin-top: 8px; font-size: 15px; color: var(--muted); }
.ag-cert__text strong { color: var(--navy-text); }
.ag-cert__meta { margin: auto 0 0; padding-top: 16px; }
.ag-cert__meta div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.ag-cert__meta dt { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ag-cert__meta dd { margin: 0; font-weight: 800; color: var(--navy-text); text-align: right; }

/* featured (80G) card */
.ag-cert--gold {
  color: var(--white);
  border-color: transparent;
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(219, 164, 59, 0.3), transparent 70%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
}
.ag-cert--gold::after { border-color: rgba(230, 195, 125, 0.35); }
.ag-cert--gold .ag-cert__seal { background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(230, 195, 125, 0.18); }
.ag-cert--gold .ag-cert__tag { color: var(--gold-300); background: rgba(230, 195, 125, 0.14); }
.ag-cert--gold .ag-cert__title,
.ag-cert--gold .ag-cert__text strong,
.ag-cert--gold .ag-cert__meta dd { color: var(--white); }
.ag-cert--gold .ag-cert__text,
.ag-cert--gold .ag-cert__meta dt { color: rgba(255, 255, 255, 0.75); }
.ag-cert--gold .ag-cert__meta div { border-color: rgba(255, 255, 255, 0.14); }

@media (min-width: 576px) {
  .ag-cert { padding: 28px 28px; border-radius: 24px; }
  .ag-cert::after { inset: 10px; border-radius: 16px; }
  .ag-cert__seal { width: 60px; height: 60px; font-size: 24px; margin-bottom: 18px; }
  .ag-cert__text { font-size: 15.5px; }
  .ag-cert__meta dt { font-size: 12.5px; }
}
@media (min-width: 768px) {
  .ag-reg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ag-reg__grid .ag-cert:last-child { grid-column: 1 / -1; }
}
@media (min-width: 992px) {
  .ag-reg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ag-reg__grid .ag-cert:last-child { grid-column: auto; }
  .ag-cert { padding: clamp(26px, 2.6vw, 36px); }
  .ag-cert__title { margin-top: 12px; font-size: clamp(24px, 2vw, 28px); }
  .ag-cert__text { margin-top: 10px; }
  .ag-cert__meta { padding-top: 20px; }
  .ag-cert__meta div { padding: 11px 0; }
}

/* ---------- steps ----------
   Phones: a vertical timeline (icon left, text right). Tablet: 2 × 2. Desktop: 4 across. */
.ag-how { padding: clamp(36px, 4vw, 60px) 0 clamp(56px, 6vw, 90px); }
.ag-steps {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ag-steps::before { /* connector: vertical on phones */
  content: "";
  position: absolute;
  top: 28px; bottom: 28px;
  left: 27px;
  border-left: 2px dashed var(--gold-300);
}
.ag-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  text-align: left;
  padding: 0;
}
.ag-step > :not(.ag-step__icon) { grid-column: 2; }
.ag-step__icon {
  grid-row: 1 / span 3;
  position: relative;
  width: 56px; height: 56px;
  margin: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: var(--navy-800);
  background: var(--white);
  border: 2px solid var(--gold-200);
  box-shadow: 0 0 0 6px var(--white), var(--shadow-sm);
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.ag-step__num { display: block; font-family: var(--font-display); font-size: 14px; color: var(--gold-500); letter-spacing: 0.08em; padding-top: 4px; }
.ag-step h3 { margin-top: 0; font-size: 17px; font-weight: 800; color: var(--navy-text); }
.ag-step p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ag-step a { color: var(--gold-500); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 768px) {
  .ag-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
  .ag-steps::before { display: none; }
  .ag-step { display: block; text-align: center; padding: 0 10px; }
  .ag-step__icon { width: 68px; height: 68px; margin: 0 auto 16px; font-size: 24px; box-shadow: 0 0 0 8px var(--white), var(--shadow-sm); }
  .ag-step__num { font-size: 15px; padding-top: 0; }
  .ag-step h3 { margin-top: 2px; font-size: 18px; }
  .ag-step p { margin-top: 6px; }
}
@media (min-width: 992px) {
  .ag-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .ag-steps::before { /* connector: horizontal behind the icons */
    display: block;
    top: 34px; bottom: auto;
    left: 12%; right: 12%;
    border-left: 0;
    border-top: 2px dashed var(--gold-300);
  }
}

/* ---------- application form ---------- */
.ag-apply {
  padding: clamp(48px, 6vw, 90px) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream-3) 100%);
  scroll-margin-top: var(--header-h);
}
/* minmax(0, …) lets the columns shrink below long unbreakable text (e.g. a file name) */
.ag-apply__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.ag-apply .form-card {
  min-width: 0;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(241, 220, 170, 0.35), transparent 70%),
    var(--white);
  box-shadow: 0 16px 40px rgba(10, 35, 66, 0.08);
}

.ag-group { margin: 0 0 10px; padding: 0; border: 0; min-width: 0; }
.ag-group + .ag-group { padding-top: 20px; border-top: 1.5px dashed var(--line); }
.ag-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy-text);
}
.ag-group__title span {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  background: var(--navy-800);
}
.form-row.ag-row-3 { grid-template-columns: minmax(0, 1fr); gap: 0; }

/* "I am donating as": three compact options side by side, icon above the words */
.ag-apply .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 4px; }
.ag-apply .form-field .seg label span {
  width: 100%;
  min-height: 64px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  font-size: 12.5px;
  line-height: 1.2;
  text-align: center;
}
.ag-apply .form-field .seg label span i { font-size: 15px; }
/* upload prompt / file name: wrap onto two lines instead of being cut short */
.ag-apply .dn-file__text strong { white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.ag-fy { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #2e7d42; }
.ag-fy:empty { display: none; }
.ag-fy i { margin-right: 4px; }

.ag-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -4px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #8a5a00;
  background: #fff6dc;
  border: 1px solid #f1d58a;
}
.ag-alert[hidden] { display: none; }
.ag-alert i { margin-top: 3px; color: var(--gold-500); }

@media (min-width: 576px) {
  .form-row.ag-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .form-row.ag-row-3 > :last-child { grid-column: 1 / -1; }
  .ag-apply .form-field .seg label span { flex-direction: row; min-height: 0; gap: 8px; padding: 10px 12px; font-size: 14px; }
  .ag-apply .form-field .seg label span i { font-size: inherit; }
}
@media (min-width: 768px) {
  .ag-apply__grid { gap: 28px; }
  .ag-group + .ag-group { padding-top: 22px; }
  .ag-group__title { margin-bottom: 18px; font-size: 17px; }
  .ag-group__title span { width: 34px; height: 34px; }
  .form-row.ag-row-3 { grid-template-columns: 1.1fr 1.3fr 0.8fr; }
  .form-row.ag-row-3 > :last-child { grid-column: auto; }
  .ag-alert { padding: 12px 16px; }
}
@media (min-width: 992px) {
  .ag-apply .seg { display: inline-flex; width: auto; }
}
@media (min-width: 1200px) {
  .ag-apply__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 48px); }
}

/* ---------- aside ---------- */
.ag-aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }

.ag-calc {
  padding: 22px 20px;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(219, 164, 59, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(21, 69, 102, 0.9), transparent 70%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
}
.ag-calc__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(230, 195, 125, 0.12);
  border: 1px solid rgba(230, 195, 125, 0.3);
}
.ag-calc__title { margin: 12px 0 16px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.ag-calc__field { margin-bottom: 16px; }
.ag-calc__field label,
.ag-calc__sub { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }
.ag-calc__input {
  display: flex;
  align-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ag-calc__input:focus-within { border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(219, 164, 59, 0.2); }
.ag-calc__input span { padding-left: 16px; font-weight: 800; font-size: 18px; color: var(--gold-300); }
.ag-calc__input input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px 12px 8px;
  border: 0;
  outline: none;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  background: transparent;
  -moz-appearance: textfield;
}
.ag-calc__input input::-webkit-outer-spin-button,
.ag-calc__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ag-slabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); }
.ag-slabs label { position: relative; cursor: pointer; }
.ag-slabs input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ag-slabs span {
  display: block;
  padding: 11px 0;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.3s, color 0.3s;
}
.ag-slabs input:checked + span { color: var(--navy-900); background: var(--gold-grad); }
.ag-slabs input:focus-visible + span { box-shadow: 0 0 0 3px rgba(219, 164, 59, 0.5); }

.ag-calc__out { margin: 18px 0 0; padding-top: 6px; border-top: 1.5px dashed rgba(230, 195, 125, 0.4); }
.ag-calc__out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; }
.ag-calc__out dt { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.ag-calc__out dd { margin: 0; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.ag-calc__save dt { font-weight: 800; color: var(--white); }
.ag-calc__save dd { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--gold-300); }
.ag-calc__note { margin-top: 8px; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.6); }

.ag-check {
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid #efe9df;
  box-shadow: 0 10px 28px rgba(10, 35, 66, 0.07);
}
.ag-check__title { font-family: var(--font-display); font-weight: 400; font-size: 23px; color: var(--navy-text); margin-bottom: 12px; }
.ag-check__list li { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ag-check__list li:last-child { border-bottom: 0; }
.ag-check__list i {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold-500);
  background: #fdf3df;
}
.ag-check__list strong { display: block; font-size: 15px; color: var(--navy-text); }
.ag-check__list small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ag-check__deadline {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--navy-text);
  background: var(--sky);
}
.ag-check__deadline i { margin-top: 3px; color: var(--navy-600); }

@media (min-width: 768px) {
  .ag-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .ag-calc, .ag-check { padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; }
  .ag-calc__title { margin: 14px 0 18px; font-size: clamp(24px, 2vw, 28px); }
  .ag-calc__out { margin-top: 20px; }
  .ag-slabs span { padding: 9px 0; }
  .ag-calc__save dd { font-size: clamp(28px, 2.4vw, 34px); }
  .ag-check__title { font-size: 24px; margin-bottom: 14px; }
}
@media (min-width: 1200px) {
  .ag-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; }
}

/* ---------- hover effects: only on devices that can hover ---------- */
@media (hover: hover) {
  .ag-cert:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .ag-cert:hover .ag-cert__seal { background: var(--gold-grad); }
  .ag-step:hover .ag-step__icon { background: var(--gold-grad); color: var(--white); border-color: transparent; transform: translateY(-4px); }
  .ag-slabs label:hover input:not(:checked) + span { background: rgba(255, 255, 255, 0.08); color: var(--white); }
}

/* ==========================================================================
   Get Involved page (get-involved.html) — reuses the wd-* / ow-help blocks,
   plus a few page-specific pieces prefixed gi-
   ========================================================================== */
.gi-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.gi-anchor { scroll-margin-top: var(--header-h); }
#contactForm { scroll-margin-top: calc(var(--header-h) + 24px); }

/* image on the right for the volunteer block */
@media (min-width: 992px) {
  .gi-flip .wd-intro__media { order: 2; padding: 0 0 14% 12%; }
  .gi-flip .wd-intro__media::before { left: auto; right: -28px; }
  .gi-flip .wd-intro__small { right: auto; left: 0; }
  .gi-flip .wd-intro__badge { left: auto; right: -18px; }
}

/* "what your gift does" list */
.gi-gives { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 22px; }
.gi-gives li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #efe5d2;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.gi-gives li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.gi-gives li > span {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: var(--gold-500);
  background: #fdf3df;
  font-size: 18px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.gi-gives li:hover > span { background: var(--gold-grad); color: var(--white); }
.gi-gives strong { display: block; font-size: 15.5px; line-height: 1.3; color: var(--navy-text); }
.gi-gives small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.gi-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 28px;
  font-size: 15px; line-height: 1.55;
  color: var(--navy-text);
}
.gi-note i { color: var(--gold-500); margin-top: 3px; }

.gi-btn-light { border-color: transparent; }

/* more ways */
.gi-more__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.gi-more__intro .section-head { margin-bottom: 26px; }
.gi-more__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gi-way {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid #efe5d2;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}
.gi-way::after { /* soft gold glow in the corner */
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 195, 125, 0.35), transparent 70%);
  z-index: -1;
  transition: transform 0.6s var(--ease);
}
.gi-way:hover { transform: translateY(-8px); background: var(--white); box-shadow: var(--shadow-lg); }
.gi-way:hover::after { transform: scale(1.6); }
.gi-way:nth-child(even) { transform: translateY(26px); }
.gi-way:nth-child(even):hover { transform: translateY(18px); }
.gi-way__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(4, 44, 72, 0.2);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.gi-way:hover .gi-way__icon { transform: rotate(-8deg) scale(1.06); background: var(--gold-grad); }
.gi-way h3 { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--navy-text); margin-bottom: 8px; }
.gi-way p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
.gi-way a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-500); }
.gi-way a i { transition: transform 0.35s var(--ease); }
.gi-way a:hover i { transform: translateX(5px); }
.gi-way a::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */

/* ---------- get involved responsive ---------- */
@media (max-width: 991px) {
  .gi-flip .wd-intro__badge { left: 0; }
  .gi-more__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .gi-gives { grid-template-columns: 1fr; }
  .gi-way:nth-child(even), .gi-way:nth-child(even):hover { transform: none; }
  .gi-way:hover { transform: none; }
}
@media (max-width: 575px) {
  .gi-more__cards { grid-template-columns: 1fr; }
  .gi-hero__actions .btn { width: 100%; justify-content: center; }
  .gi-way { padding: 24px 22px; }
}

/* ==========================================================================
   CERTIFICATES PAGE (certificates.html) — prefix .ct-   behaviour in js/certificates.js
   Per-certificate accent colour comes from --c (set inline)
   ========================================================================== */
@keyframes ctIn { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
html.ct-lock { overflow: hidden; }

/* ---------- hero chips ---------- */
.ct-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ct-hero__chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.ct-hero__chips i { color: var(--gold-300); }

/* ---------- copy button (shared on page) ---------- */
.ct-copy {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--gold-500);
  background: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.ct-copy:hover { background: var(--gold-grad); color: var(--white); border-color: transparent; transform: translateY(-2px); }
.ct-copy:focus-visible { outline: 3px solid rgba(208, 148, 32, 0.4); outline-offset: 2px; }
.ct-copy.is-copied { background: #2e7d42; border-color: #2e7d42; color: var(--white); }
.ct-copy--sm { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; }

/* ---------- 2. at a glance ---------- */
.ct-glance { position: relative; z-index: 5; margin-top: clamp(-70px, -4.5vw, -36px); }
.ct-glance__card {
  position: relative;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(230, 195, 125, 0.22), transparent 70%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.ct-glance__card::before { /* guilloche-style corner pattern */
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 9px, rgba(208, 148, 32, 0.12) 9px 10px);
  pointer-events: none;
}
.ct-glance__head { position: relative; display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.ct-glance__seal {
  flex-shrink: 0;
  width: 70px; height: 70px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 28px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 0 0 6px #fdf3df, 0 0 0 7px var(--gold-200), 0 14px 26px rgba(208, 148, 32, 0.35);
}
.ct-glance__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); color: var(--navy-text); line-height: 1.15; margin-top: 4px; }
.ct-glance__sub { color: var(--muted); font-size: 15px; margin-top: 4px; }

.ct-ids { position: relative; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ct-id {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius);
  background: var(--cream-2);
  border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.ct-id:hover { border-color: var(--gold-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ct-id__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--navy-700);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 17px;
}
.ct-id__body { min-width: 0; flex: 1; }
.ct-id dt { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7684; }
.ct-id dd {
  margin: 2px 0 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 16px; font-weight: 700;
  color: var(--navy-text);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* ---------- 3. gallery ---------- */
.ct-gallery { padding: clamp(70px, 7vw, 110px) 0 clamp(60px, 6vw, 100px); }
.ct-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.ct-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-text);
  font-weight: 800; font-size: 15px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.ct-tab i { color: var(--gold-500); transition: color 0.3s; }
.ct-tab b {
  min-width: 24px; height: 24px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  font-size: 12px;
  background: var(--cream);
  color: var(--navy-700);
}
.ct-tab:hover { border-color: var(--gold-300); transform: translateY(-2px); }
.ct-tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); box-shadow: 0 10px 22px rgba(4, 44, 72, 0.22); }
.ct-tab.is-active i { color: var(--gold-300); }
.ct-tab.is-active b { background: var(--gold-grad); color: var(--white); }
.ct-tab:focus-visible { outline: 3px solid rgba(208, 148, 32, 0.4); outline-offset: 2px; }

.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 34px); }

.ct-card {
  --c: var(--navy-700);
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s;
}
.ct-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 30%, var(--line)); }

/* framed "document on a mat" */
.ct-card__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 28px 30px 0;
  border: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 75%),
    linear-gradient(180deg, #f6efe2, #fbf8f2);
  overflow: hidden;
  text-align: left;
  isolation: isolate;
}
.ct-card__frame::after { /* fade into body */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, var(--white) 92%);
  z-index: 2;
  pointer-events: none;
}
.ct-card__paper {
  position: relative;
  display: block;
  height: 270px;
  border-radius: 8px 8px 0 0;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(10, 35, 66, 0.06), 0 16px 30px rgba(10, 35, 66, 0.14);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.ct-card__paper img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ct-card__sheet { /* second page peeking behind */
  position: absolute;
  left: 42px; right: 18px; top: 22px; height: 270px;
  border-radius: 8px 8px 0 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 35, 66, 0.07), 0 10px 22px rgba(10, 35, 66, 0.1);
  transform: rotate(3deg);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease);
}
.ct-card:hover .ct-card__paper { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 0 0 1px rgba(10, 35, 66, 0.06), 0 24px 40px rgba(10, 35, 66, 0.2); }
.ct-card:hover .ct-card__sheet { transform: rotate(5deg) translateX(6px); }

.ct-card__seal { /* wax-seal medallion */
  position: absolute;
  z-index: 3;
  right: 22px; bottom: 26px;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%),
    var(--c);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px color-mix(in srgb, var(--c) 35%, transparent), 0 12px 22px rgba(10, 35, 66, 0.25);
  transition: transform 0.6s var(--ease);
}
.ct-card__seal::before { /* dashed inner ring */
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
}
.ct-card:hover .ct-card__seal { transform: rotate(-14deg) scale(1.06); }

.ct-card__pages {
  position: absolute; z-index: 3;
  left: 16px; top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px; font-weight: 800;
  color: var(--navy-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.ct-card__ribbon {
  position: absolute; z-index: 4;
  right: -40px; top: 24px;
  width: 160px;
  padding: 6px 0;
  text-align: center;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white);
  background: var(--gold-grad);
  transform: rotate(40deg);
  box-shadow: 0 6px 14px rgba(208, 148, 32, 0.4);
}
.ct-card__zoom {
  position: absolute; z-index: 3;
  left: 50%; top: 46%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800; font-size: 14px;
  color: var(--white);
  background: rgba(4, 44, 72, 0.88);
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 26px rgba(4, 44, 72, 0.35);
  opacity: 0;
  transform: translate(-50%, -30%);
  transition: opacity 0.4s, transform 0.4s var(--ease);
  white-space: nowrap;
}
.ct-card__zoom i { color: var(--gold-300); }
.ct-card__frame:hover .ct-card__zoom,
.ct-card__frame:focus-visible .ct-card__zoom { opacity: 1; transform: translate(-50%, -50%); }
.ct-card__frame:focus-visible { outline: 3px solid rgba(208, 148, 32, 0.5); outline-offset: -3px; }

.ct-card__body { display: flex; flex-direction: column; flex: 1; padding: 6px 26px 26px; }
.ct-card__tag {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 10%, white);
}
.ct-card__title { font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1.15; color: var(--navy-text); margin-top: 12px; }
.ct-card__issuer { display: flex; gap: 8px; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.ct-card__issuer i { color: var(--gold-500); margin-top: 4px; font-size: 13px; }

.ct-card__meta {
  margin: 18px 0 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.ct-card__meta > div { padding: 12px 0; min-width: 0; }
.ct-card__meta > div + div { padding-left: 16px; border-left: 1px dashed var(--line); }
.ct-card__meta dt { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7684; }
.ct-card__meta dd { margin: 3px 0 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--navy-text); }
.ct-card__ref { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; min-width: 0; }

.ct-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; }
.ct-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy-text);
  font-weight: 800; font-size: 14.5px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.ct-btn i { color: var(--gold-500); transition: color 0.3s; }
.ct-btn small { font-weight: 700; color: #6b7684; font-size: 12px; transition: color 0.3s; }
.ct-btn:hover { border-color: var(--gold-400); color: var(--gold-500); transform: translateY(-2px); }
.ct-btn--solid { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.ct-btn--solid i { color: var(--gold-300); }
.ct-btn--solid:hover { background: var(--gold-grad); border-color: transparent; color: var(--white); }
.ct-btn--solid:hover i { color: var(--white); }
.ct-btn:focus-visible { outline: 3px solid rgba(208, 148, 32, 0.4); outline-offset: 2px; }

.ct-card--featured { border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(230, 195, 125, 0.3), var(--shadow); }

/* ---------- 4. journey / timeline ---------- */
.ct-journey { padding: clamp(70px, 7vw, 110px) 0; background: var(--cream-3); position: relative; overflow: hidden; }
.ct-journey__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.ct-journey__head .section-head { margin-bottom: 0; }
.ct-journey__text { max-width: 470px; color: var(--muted); }

.ct-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.ct-steps::before { /* connecting line */
  content: "";
  position: absolute;
  left: 30px; right: 30px; top: 31px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 10px, transparent 10px 18px);
  opacity: 0.6;
}
.ct-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.ct-step__dot {
  position: relative;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 22px;
  color: var(--gold-500);
  background: var(--white);
  border: 2px solid var(--gold-300);
  box-shadow: 0 0 0 7px var(--cream-3), var(--shadow);
  margin-bottom: 22px;
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.ct-step:last-child .ct-step__dot { background: var(--gold-grad); color: var(--white); border-color: transparent; }
.ct-step:hover .ct-step__dot { transform: translateY(-4px) rotate(-8deg); background: var(--navy-800); color: var(--gold-300); }
.ct-step__date {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--navy-700);
  background: var(--white);
  border: 1px solid var(--line);
}
.ct-step__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--navy-text); margin-top: 12px; line-height: 1.2; }
.ct-step p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.ct-step__link {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 14px;
  color: var(--gold-500);
}
.ct-step__link i { transition: transform 0.3s var(--ease); }
.ct-step__link:hover i { transform: translateX(4px); }

/* ---------- 5. why it matters ---------- */
.ct-why { padding: clamp(70px, 7vw, 110px) 0; }
.ct-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ct-why__card {
  position: relative;
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ct-why__card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.ct-why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ct-why__card:hover::after { transform: scaleX(1); }
.ct-why__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 18px;
  font-size: 24px;
  color: var(--white);
  background: var(--navy-800);
  box-shadow: 0 12px 24px rgba(4, 44, 72, 0.22);
  margin-bottom: 22px;
  transition: background 0.4s;
}
.ct-why__card:hover .ct-why__icon { background: var(--gold-grad); }
.ct-why__card h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--navy-text); line-height: 1.2; }
.ct-why__card p { margin-top: 10px; color: var(--muted); }
.ct-why__card b { color: var(--navy-text); }
.ct-why__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; color: var(--gold-500); }
.ct-why__link i { transition: transform 0.3s var(--ease); }
.ct-why__link:hover i { transform: translateX(5px); }

.ct-verify {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(ellipse 40% 90% at 100% 50%, rgba(208, 148, 32, 0.25), transparent 70%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.ct-verify__text { display: flex; align-items: center; gap: 18px; }
.ct-verify__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 20px;
  background: var(--gold-grad);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.35);
}
.ct-verify h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.ct-verify p { color: rgba(255, 255, 255, 0.8); font-size: 15px; margin-top: 2px; }
.ct-verify__links { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-verify__links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800; font-size: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.ct-verify__links a span { font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.ct-verify__links a i { font-size: 12px; color: var(--gold-300); }
.ct-verify__links a:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--gold-300); transform: translateY(-2px); }

/* ---------- viewer (dialog) ---------- */
.ct-viewer {
  width: min(1240px, calc(100vw - 40px));
  height: min(880px, calc(100vh - 40px));
  height: min(880px, calc(100dvh - 40px));
  max-width: none; max-height: none;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(2, 20, 38, 0.5);
  overflow: hidden;
}
.ct-viewer::backdrop { background: rgba(2, 22, 40, 0.82); backdrop-filter: blur(6px); }
.ct-viewer[open] { animation: ctIn 0.4s var(--ease); }
.ct-viewer__inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; height: 100%; }

.ct-viewer__stage {
  position: relative;
  min-height: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0) 0 0 / 22px 22px,
    #0d2033;
}
.ct-viewer__scroll {
  position: absolute; inset: 0;
  overflow: auto;
  display: flex;
  padding: 28px 80px 84px;
}
.ct-viewer__img {
  margin: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  cursor: zoom-in;
}
.ct-viewer__stage.is-zoomed .ct-viewer__scroll { padding: 28px; }
.ct-viewer__stage.is-zoomed .ct-viewer__img { max-width: none; max-height: none; width: min(1500px, 220%); cursor: zoom-out; }

.ct-viewer__tools {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: var(--white);
}
.ct-tool {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  color: var(--white);
  background: transparent;
  transition: background 0.3s;
}
.ct-tool:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
.ct-tool:disabled { opacity: 0.35; cursor: default; }
.ct-tool:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 1px; }
.ct-tool__count { padding: 0 8px; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.ct-tool__sep { width: 1px; height: 22px; margin: 0 4px; background: rgba(255, 255, 255, 0.25); }

.ct-viewer__nav {
  position: absolute; top: 50%;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  font-size: 17px;
  color: var(--navy-text);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
  z-index: 2;
}
.ct-viewer__nav--prev { left: 16px; }
.ct-viewer__nav--next { right: 16px; }
.ct-viewer__nav:hover { background: var(--gold-grad); color: var(--white); transform: translateY(-50%) scale(1.06); }
.ct-viewer__nav:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }

.ct-viewer__info {
  --c: var(--navy-700);
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 30px 26px;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%),
    var(--white);
}
.ct-viewer__close {
  position: absolute; right: 16px; top: 16px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  font-size: 17px;
  color: var(--navy-text);
  background: var(--white);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.ct-viewer__close:hover { background: var(--navy-800); color: var(--white); transform: rotate(90deg); }
.ct-viewer__close:focus-visible { outline: 3px solid rgba(208, 148, 32, 0.45); outline-offset: 2px; }
.ct-viewer__seal {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 20px;
  color: var(--white);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%), var(--c);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px color-mix(in srgb, var(--c) 35%, transparent), 0 10px 20px rgba(10, 35, 66, 0.2);
  margin-bottom: 18px;
}
.ct-viewer__info .ct-card__tag { color: var(--c); }
.ct-viewer__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--navy-text); margin-top: 10px; padding-right: 30px; }
.ct-viewer__desc { margin-top: 10px; font-size: 15px; color: var(--muted); }
.ct-viewer__meta { margin: 20px 0 0; border-top: 1px dashed var(--line); }
.ct-viewer__meta > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ct-viewer__meta dt { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7684; padding-top: 2px; }
.ct-viewer__meta dd { margin: 0; font-weight: 700; font-size: 14.5px; color: var(--navy-text); }
.ct-viewer__ref { display: flex; align-items: center; gap: 8px; }
.ct-viewer__ref span { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; min-width: 0; }

.ct-viewer__thumbs { display: flex; gap: 10px; margin-top: 20px; }
.ct-thumb {
  position: relative;
  width: 70px; height: 92px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.ct-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ct-thumb span {
  position: absolute; right: 4px; bottom: 4px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  color: var(--white);
  background: var(--navy-800);
}
.ct-thumb:hover { transform: translateY(-2px); border-color: var(--gold-300); }
.ct-thumb.is-active { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(208, 148, 32, 0.25); }
.ct-thumb.is-active span { background: var(--gold-grad); }

.ct-viewer__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 24px; }
.ct-viewer__actions .btn { width: 100%; }
.ct-viewer__actions small { font-weight: 700; opacity: 0.85; }
.ct-btn--line { color: var(--navy-text); border-color: var(--line); background: var(--white); }
.ct-btn--line i { color: var(--gold-500); }
.ct-btn--line:hover { border-color: var(--gold-400); color: var(--gold-500); }
.ct-viewer__pos { margin-top: 14px; text-align: center; font-size: 13px; font-weight: 700; color: #6b7684; }

/* ---------- toast ---------- */
.ct-toast {
  position: fixed;
  left: 50%; bottom: 28px;
  z-index: 3000;
  display: inline-flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800; font-size: 14.5px;
  color: var(--white);
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease);
}
.ct-toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-toast i { color: #7fd892; }
.ct-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- certificates responsive ---------- */
@media (max-width: 1199px) {
  .ct-ids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-steps { grid-template-columns: 1fr; gap: 0; }
  .ct-steps::before { left: 31px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-400) 0 10px, transparent 10px 18px); }
  .ct-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; padding-bottom: 30px; }
  .ct-step:last-child { padding-bottom: 0; }
  .ct-step__dot { grid-row: span 4; margin-bottom: 0; }
  .ct-step > *:not(.ct-step__dot) { grid-column: 2; justify-self: start; }
  .ct-step__title { margin-top: 8px; }
  .ct-why__grid { grid-template-columns: 1fr 1fr; }
  .ct-why__card:last-child { grid-column: 1 / -1; }
  .ct-verify { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 991px) {
  .ct-journey__head { flex-direction: column; align-items: flex-start; }
  .ct-viewer__inner { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .ct-viewer__info { max-height: 42vh; padding: 22px 22px 20px; }
  .ct-viewer__seal { display: none; }
  .ct-viewer__title { font-size: 24px; margin-top: 8px; }
  .ct-viewer__desc { display: none; }
  .ct-viewer__actions { flex-direction: row; flex-wrap: wrap; }
  .ct-viewer__actions .btn { width: auto; flex: 1 1 200px; }
  .ct-viewer__scroll { padding: 20px 64px 76px; }
}
@media (max-width: 767px) {
  .ct-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .ct-why__grid { grid-template-columns: 1fr; }
  .ct-glance__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 575px) {
  .ct-ids { grid-template-columns: 1fr; }
  .ct-tab { padding: 9px 15px; font-size: 14px; }
  .ct-card__frame { padding: 22px 22px 0; }
  .ct-card__paper, .ct-card__sheet { height: 230px; }
  .ct-card__body { padding: 6px 20px 22px; }
  .ct-card__meta { grid-template-columns: 1fr; }
  .ct-card__meta > div + div { padding-left: 0; border-left: 0; border-top: 1px dashed var(--line); }
  .ct-viewer { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .ct-viewer__scroll { padding: 14px 14px 72px; }
  .ct-viewer__nav { top: auto; bottom: 18px; transform: none; width: 42px; height: 42px; }
  .ct-viewer__nav:hover { transform: none; }
  .ct-viewer__nav--prev { left: 12px; }
  .ct-viewer__nav--next { right: 12px; }
  .ct-viewer__meta > div { grid-template-columns: 80px minmax(0, 1fr); }
  .ct-verify { padding: 22px; }
  .ct-verify__links a { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-card, .ct-card__paper, .ct-card__sheet, .ct-card__seal, .ct-viewer[open] { transition: none; animation: none; }
}

/* ==========================================================================
   PHOTO GALLERY PAGE (gallery.html) — prefix .pg-        MOBILE-FIRST
   Base rules are the phone layout; min-width queries (400 / 576 / 768 / 992 /
   1200) layer on the tablet and desktop layouts. Captions are always shown
   on touch screens and slide in on hover on devices that can hover.
   The filter pills reuse .vg-filters / .vg-filter from the video gallery.
   ========================================================================== */
.pg-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pg-hero__meta span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  color: var(--white);
  background: rgba(2, 31, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-shadow: none;
}
.pg-hero__meta i { color: var(--gold-300); }

/* ---------- shared tile ---------- */
.pg-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cream-3);
  box-shadow: 0 10px 22px rgba(10, 35, 66, 0.1);
  isolation: isolate;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--ease);
}
.pg-item img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.pg-item::after { /* bottom shade behind the caption */
  content: "";
  position: absolute; inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(2, 31, 56, 0.85));
  transition: opacity 0.5s var(--ease);
  z-index: 1;
}
.pg-item__chip {
  display: none; /* category chip: tablets and up */
  position: absolute; left: 14px; top: 14px; z-index: 2;
  align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 800;
  color: var(--navy-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), opacity 0.45s;
}
.pg-item__chip i { color: var(--gold-500); }
.pg-item__zoom {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 8px 18px rgba(208, 148, 32, 0.4);
  transform: scale(0) rotate(-90deg);
  transition: transform 0.5s var(--ease);
}
.pg-item__cap {
  position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 2;
  font-family: var(--font-display);
  font-size: 14.5px; line-height: 1.2;
  color: var(--white);
  transition: transform 0.5s 0.05s var(--ease), opacity 0.5s 0.05s;
}
.pg-item:active { transform: scale(0.98); }
.pg-item:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }
.pg-item:focus-visible img { transform: scale(1.08); }
.pg-item:focus-visible .pg-item__zoom { transform: scale(1) rotate(0); }

/* ---------- from our drives ---------- */
.pg-drives { padding: 56px 0; }
.pg-drives__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.pg-drives__text { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 18px; }
.pg-drives__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pg-drives__chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  color: var(--navy-text);
  background: var(--cream);
  border: 1px solid #efe5d2;
}
.pg-drives__chips i { color: var(--gold-500); }

/* phones: 2 columns — one big photo, three pairs, one wide photo to close */
.pg-bento {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(118px, 36vw, 200px);
  gap: 10px;
}
.pg-bento::before { /* dotted pattern behind (laptops and up) */
  content: "";
  display: none;
  position: absolute; right: -26px; top: -26px;
  width: 150px; height: 150px;
  background-image: radial-gradient(var(--gold-300) 2px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: 0.7;
  z-index: -1;
}
.pg-bento__cell { border-radius: 14px; }
.pg-bento__cell img { height: 100%; object-fit: cover; }
.pg-bento__cell--1 { grid-column: span 2; grid-row: span 2; }
.pg-bento__cell--8 { grid-column: span 2; }
.pg-bento__cell .pg-item__cap { font-size: 15px; }
.pg-bento__cell--1 .pg-item__cap { font-size: 19px; left: 14px; right: 14px; bottom: 12px; }

/* ---------- library ---------- */
.pg-library { padding: 56px 0 64px; }
.pg-library .section-head--center { margin-bottom: 26px; }
.pg-masonry { columns: 2; column-gap: 10px; }
.pg-masonry .pg-item { break-inside: avoid; margin-bottom: 10px; }
.pg-masonry .pg-item[hidden] { display: none; }
.pg-item.is-entering { animation: pgIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pgIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ---------- video teaser ---------- */
.pg-video { padding-block: 48px; }
.pg-video__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-radius: 22px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.pg-video__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.pg-video__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pg-video__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 44, 72, 0.05), rgba(4, 44, 72, 0.7));
}
.pg-video__body { display: flex; flex-direction: column; padding: 22px 20px 26px; }
.pg-video__body .eyebrow { color: var(--gold-300); margin-bottom: 10px; }
.pg-video__title { display: block; font-family: var(--font-display); font-size: clamp(24px, 6.4vw, 40px); line-height: 1.15; margin-bottom: 12px; }
.pg-video__text { display: block; color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.pg-video__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-300); }
.pg-video__go i { transition: transform 0.35s var(--ease); }
/* play button sits in the middle of the 16:9 photo
   (a vertical margin in % is a share of the card's width, so 28.125% = half the photo's height) */
.pg-video__play {
  position: absolute; left: 50%; top: 0;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: calc(28.125% - 32px) 0 0 -32px;
  border-radius: 50%;
  font-size: 21px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 0 0 0 rgba(230, 195, 125, 0.6);
  animation: pgPulse 2.2s ease-out infinite;
}
.pg-video__play i { margin-left: 4px; }
@keyframes pgPulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 195, 125, 0.6); }
  100% { box-shadow: 0 0 0 26px rgba(230, 195, 125, 0); }
}
.pg-video__card:active .pg-video__play { transform: scale(0.92); }

/* ---------- share + credits ---------- */
.pg-share { padding: 56px 0; }
.pg-share__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.pg-share__card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid #efe5d2;
  box-shadow: var(--shadow);
}
.pg-share__icon {
  flex: none;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  font-size: 21px;
  color: var(--white);
  background: var(--gold-grad);
  box-shadow: 0 10px 22px rgba(208, 148, 32, 0.35);
}
.pg-share__card h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 5.6vw, 30px); line-height: 1.2; color: var(--navy-text); margin-bottom: 10px; }
.pg-share__card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.pg-credits {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid #efe5d2;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pg-credits summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px;
  padding: 16px 18px;
  font-weight: 800;
  color: var(--navy-text);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.pg-credits summary::-webkit-details-marker { display: none; }
.pg-credits summary:focus-visible { outline: 3px solid var(--gold-300); outline-offset: -3px; }
.pg-credits summary > i:first-child { color: var(--gold-500); }
.pg-credits__caret { margin-left: auto; font-size: 13px; color: var(--muted); transition: transform 0.35s var(--ease); }
.pg-credits[open] .pg-credits__caret { transform: rotate(180deg); }
.pg-credits__body { padding: 0 18px 18px; font-size: 14px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.pg-credits__body p { margin-bottom: 10px; }
.pg-credits__body ul { display: grid; gap: 6px; margin-bottom: 10px; }
.pg-credits__body strong { color: var(--navy-text); }
.pg-credits__body a { color: var(--gold-500); font-weight: 700; }

/* ---------- photo viewer ---------- */
.pg-lightbox__count {
  position: absolute; left: 16px; top: 33px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
/* photo + caption always fit between the top bar and the bottom arrows */
.pg-lightbox .lightbox__figure img { max-height: calc(100vh - 210px); max-height: calc(100svh - 210px); border-radius: 12px; }
.pg-lightbox .lightbox__figure figcaption { font-size: 17px; line-height: 1.3; }
.pg-lightbox .lightbox__close,
.pg-lightbox .lightbox__arrow { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pg-lightbox .lightbox__close:active,
.pg-lightbox .lightbox__arrow:active { background: var(--gold-grad); border-color: transparent; }

/* ---------- 400px and up ---------- */
@media (min-width: 400px) {
  .pg-masonry { column-gap: 12px; }
  .pg-masonry .pg-item { margin-bottom: 12px; }
  .pg-item__cap { left: 12px; right: 12px; bottom: 10px; font-size: 15.5px; }
  .pg-bento__cell--1 .pg-item__cap { font-size: 21px; }
  .pg-share__card { padding: 26px 24px; }
}

/* ---------- 576px and up (large phones, small tablets) ---------- */
@media (min-width: 576px) {
  .pg-hero__meta { gap: 10px; margin-top: 26px; }
  .pg-hero__meta span { gap: 8px; padding: 8px 16px; font-size: 14px; }
  .pg-drives__text { font-size: 16.5px; line-height: 1.75; margin-bottom: 22px; }
  .pg-drives__chips { gap: 10px; margin-bottom: 30px; }
  .pg-drives__chips li { gap: 8px; padding: 8px 16px; font-size: 14px; }
  .pg-bento { gap: 12px; grid-auto-rows: clamp(150px, 30vw, 220px); }
  .pg-masonry { column-gap: 14px; }
  .pg-masonry .pg-item { margin-bottom: 14px; }
  .pg-item { border-radius: 16px; }
  .pg-bento__cell { border-radius: 16px; }
  .pg-video__body { padding: 28px 30px 32px; }
  .pg-video__play { width: 76px; height: 76px; margin: calc(28.125% - 38px) 0 0 -38px; font-size: 24px; }
  .pg-share__card { flex-direction: row; gap: 22px; }
}

/* ---------- 768px and up (tablets) ---------- */
@media (min-width: 768px) {
  .pg-drives, .pg-share { padding: clamp(70px, 8vw, 120px) 0; }
  .pg-library { padding: clamp(70px, 8vw, 120px) 0; }
  .pg-library .section-head--center { margin-bottom: 44px; }
  .pg-filters { justify-content: center; }

  /* bento: 4 columns — big photo 2x2, photo 5 runs two rows tall */
  .pg-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 17vw, 200px); gap: 14px; }
  .pg-bento__cell { border-radius: 18px; }
  .pg-bento__cell--5 { grid-row: span 2; }
  .pg-bento__cell--8 { grid-column: auto; }
  .pg-bento__cell .pg-item__cap { font-size: 17px; }
  .pg-bento__cell--1 .pg-item__cap { font-size: 23px; left: 18px; right: 18px; bottom: 16px; }

  .pg-masonry { columns: 3; column-gap: 18px; }
  .pg-masonry .pg-item { margin-bottom: 18px; }
  .pg-item { border-radius: 18px; box-shadow: 0 12px 28px rgba(10, 35, 66, 0.1); }
  .pg-item__chip { display: inline-flex; }
  .pg-item__cap { left: 16px; right: 16px; bottom: 14px; font-size: 18px; }
  .pg-item__zoom { right: 14px; top: 14px; width: 42px; height: 42px; font-size: 15px; }

  /* video teaser: photo left, text right */
  .pg-video { padding-block: clamp(60px, 7vw, 100px); }
  .pg-video__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; min-height: 340px; border-radius: 30px; }
  .pg-video__media { aspect-ratio: auto; }
  .pg-video__media::after { background: linear-gradient(90deg, rgba(4, 44, 72, 0.1), rgba(4, 44, 72, 0.95)); }
  .pg-video__body { justify-content: center; padding: clamp(32px, 4vw, 56px); }
  .pg-video__body .eyebrow { margin-bottom: 12px; }
  .pg-video__title { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 14px; }
  .pg-video__text { font-size: 16.5px; line-height: 1.65; margin-bottom: 24px; }
  .pg-video__play { left: 26%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; font-size: 26px; }

  .pg-share__card { padding: clamp(26px, 3vw, 40px); }
  .pg-share__icon { width: 62px; height: 62px; border-radius: 18px; font-size: 24px; }
  .pg-share__card p { font-size: 15.5px; line-height: 1.7; margin-bottom: 20px; }
  .pg-credits summary { padding: 20px 24px; }
  .pg-credits__body { padding: 0 24px 22px; }

  .pg-lightbox__count { left: 24px; top: 30px; padding: 6px 14px; font-size: 14px; }
  .pg-lightbox .lightbox__figure img { max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); border-radius: 16px; }
  .pg-lightbox .lightbox__figure figcaption { font-size: 22px; }
}

/* ---------- 992px and up (laptops) ---------- */
@media (min-width: 992px) {
  .pg-bento::before { display: block; }
  .pg-share__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; }
}

/* ---------- 1200px and up (desktop): intro beside the bento, 4-column library ---------- */
@media (min-width: 1200px) {
  .pg-drives__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 80px); }
  .pg-bento { grid-auto-rows: clamp(120px, 11vw, 170px); }
  .pg-masonry { columns: 4; column-gap: 20px; }
  .pg-masonry .pg-item { margin-bottom: 20px; border-radius: 20px; }
  .pg-item__cap { left: 18px; right: 18px; bottom: 16px; font-size: 21px; }
}

/* ---------- phones turned sideways: smaller viewer chrome so the photo fits ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .lightbox.pg-lightbox { padding: 14px 72px; }
  .pg-lightbox .lightbox__figure img { max-height: calc(100vh - 70px); max-height: calc(100svh - 70px); }
  .pg-lightbox .lightbox__figure figcaption { margin-top: 8px; font-size: 16px; }
  .pg-lightbox .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .pg-lightbox .lightbox__arrow { top: 50%; bottom: auto; transform: translateY(-50%); width: 44px; height: 44px; }
  .pg-lightbox .lightbox__arrow--prev { left: 12px; }
  .pg-lightbox .lightbox__arrow--next { right: 12px; }
  .pg-lightbox__count { left: 12px; top: 18px; }
}

/* ---------- hover: captions and chips slide in, photos zoom ---------- */
@media (hover: hover) {
  .pg-item::after { opacity: 0; }
  .pg-item__cap { transform: translateY(14px); opacity: 0; }
  .pg-item__chip { transform: translateY(-8px); opacity: 0; }
  .pg-item:hover img { transform: scale(1.08); }
  .pg-item:hover::after, .pg-item:focus-visible::after { opacity: 1; }
  .pg-item:hover .pg-item__chip, .pg-item:focus-visible .pg-item__chip,
  .pg-item:hover .pg-item__cap, .pg-item:focus-visible .pg-item__cap { transform: none; opacity: 1; }
  .pg-item:hover .pg-item__zoom { transform: scale(1) rotate(0); }
  .pg-item:active { transform: none; }
  .pg-video__card:hover .pg-video__media img { transform: scale(1.06); }
  .pg-video__card:hover .pg-video__go i { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .pg-video__play { animation: none; }
  .pg-item.is-entering { animation: none; }
  .pg-item, .pg-item img { transition: none; }
}

/* ==========================================================================
   Responsive refinements (home page audit at 320–1920px).
   Kept at the end so they win over the earlier breakpoint rules.
   ========================================================================== */

/* Footer: tidy bottom row + two-column Quick Links once the footer stacks */
@media (max-width: 1199px) {
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; padding-top: 14px; }
  .footer-bottom__links { flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
  .footer-bottom__links a { white-space: nowrap; }
  .footer-bottom__links span { display: none; } /* "|" separators look stranded once links wrap */
  .footer-credit { flex-basis: 100%; }
  .footer-links:not(.footer-links--spaced) { columns: 2; column-gap: 18px; }
  .footer-links:not(.footer-links--spaced) li { break-inside: avoid; }
  .footer-links a { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1.3fr; } /* Quick Links (two columns) gets the widest column */
}
@media (min-width: 768px) and (max-width: 991px) {
  .footer-top { grid-template-columns: 1.3fr 1fr; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; padding-left: 0; }
  .footer-col:nth-child(4)::before { display: none; }
}

/* Feature strip: tablets keep three columns, icon above the text */
@media (min-width: 576px) and (max-width: 1199px) {
  .feature { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px 24px; }
  .feature::after { left: 20px; right: 20px; }
  .feature__icon { width: 56px; height: 56px; font-size: 24px; border-radius: 16px; }
  .feature__title { font-size: 16.5px; }
  .feature__text { font-size: 14px; }
}

/* Floating WhatsApp/Call: step aside at the very bottom of the page (see layout.js) */
.float-contact { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s; }
@media (max-width: 991px) {
  .is-footer-end .float-contact,
  .is-form-view .float-contact { opacity: 0; visibility: hidden; transform: translateX(90px); }
}
@media (max-width: 767px) {
  .footer-bottom { padding-bottom: 72px; } /* room for the back-to-top button */
}

/* Case cards ("Real Stories" + Support a Life): bigger tap target, tidy figures on narrow phones */
.sa-card__more { min-height: 44px; padding-inline: 4px; }
@media (max-width: 400px) {
  .sa-card__money { font-size: 12.5px; }
  .sa-card__money b { font-size: 15.5px; }
  .sa-card__money span { white-space: nowrap; }
  .sa-card__pct b { font-size: 28px; }
  .sa-card__pct span { font-size: 12px; white-space: nowrap; }
}

/* ==========================================================================
   Responsive refinements — Support a Life (support-a-life.html) and
   case details (case-details.html). Audited at 320–1920px.
   ========================================================================== */

/* Breadcrumb (all inner pages): stay on one line on phones; long names get "…" */
@media (max-width: 575px) {
  .page-hero__content { min-width: 0; max-width: 100%; }
  .breadcrumb { max-width: 100%; overflow: hidden; gap: 9px; padding: 6px 14px; font-size: 13px; }
  .breadcrumb a { flex-shrink: 0; white-space: nowrap; padding-block: 5px; }
  .breadcrumb span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Summary numbers: tighter on small laptops so labels don't wrap */
@media (min-width: 992px) and (max-width: 1199px) {
  .sa-summary__item { gap: 12px; padding: 4px 16px; }
  .sa-summary__icon { width: 48px; height: 48px; font-size: 19px; border-radius: 15px; }
  .sa-summary__item b { font-size: 26px; }
  .sa-summary__item div > span { font-size: 13px; }
}
/* ...and a compact 2 × 2 grid on phones instead of four tall rows */
@media (max-width: 575px) {
  .sa-summary__card { grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 22px; }
  .sa-summary__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 14px !important;
    border: 0 !important;
  }
  .sa-summary__item:nth-child(even) { border-left: 1px dashed #e3d7c2 !important; }
  .sa-summary__item:nth-child(n+3) { border-top: 1px dashed #e3d7c2 !important; }
  .sa-summary__icon { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
  .sa-summary__item b { font-size: 23px; }
  .sa-summary__item div > span { font-size: 12.5px; line-height: 1.35; display: block; }
}
/* the older ".sa-summary__item span" rule also hit the icon tile (a span), greying the icons */
.sa-summary__item .sa-summary__icon { color: var(--gold-500); font-size: 22px; }
@media (min-width: 992px) and (max-width: 1199px) { .sa-summary__item .sa-summary__icon { font-size: 19px; } }
@media (max-width: 575px) { .sa-summary__item .sa-summary__icon { font-size: 16px; } }

/* Cases grid: centre a lone last card when cards sit two per row */
@media (min-width: 768px) and (max-width: 1199px) {
  .sa-grid > .sa-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 15px);
  }
}

/* Case details: medical documents become a tidy list on phones */
@media (max-width: 575px) {
  .cs-docs { grid-template-columns: 1fr; gap: 12px; }
  .cs-doc { flex-direction: row; align-items: stretch; border-radius: 16px; }
  .cs-doc__thumb { flex: 0 0 104px; aspect-ratio: auto; min-height: 96px; }
  .cs-doc__info { flex: 1; align-items: center; padding: 12px 14px; min-width: 0; }
  .cs-doc__info > i { display: none; }
  .cs-doc__info b { font-size: 14.5px; }
  .cs-doc__info small { font-size: 12.5px; line-height: 1.45; }
  .cs-doc__view { font-size: 12px; }

  /* "What is …?" box: icon above the text so the paragraph gets the full width */
  .cs-about { flex-direction: column; gap: 12px; padding: 20px 18px; }
  .cs-about__icon { width: 42px; height: 42px; font-size: 18px; }
  .cs-about p { font-size: 15px; }
}

/* ==========================================================================
   HERO BANNERS — clear photo, shadow behind the text
   The dark colour overlays and the photo blur are switched off on every
   photo banner (home slider + inner-page banners). Legibility now comes from
   a soft shadow behind the text itself. Legal pages (.lg-hero) have no
   photo, so their navy pattern is left as it is.
   ========================================================================== */
.hero-slide::before,
.page-hero:not(.lg-hero)::before { display: none; }
/* exception: the blog and Support a Life banners keep their brand-colour overlay (see .bl-hero / .bp-hero / .sa-hero / .cs-hero) */
.page-hero.bl-hero::before,
.page-hero.bp-hero::before,
.page-hero.sa-hero::before,
.page-hero.cs-hero::before { display: block; }
.page-hero .page-hero__bg img { filter: none; }
.cs-hero .page-hero__bg img { transform: none; }

/* text shadow (inherited by every line of banner text) */
.hero__text,
.page-hero__content {
  --hero-text-shadow: 0 1px 2px rgba(2, 20, 36, 0.55), 0 3px 14px rgba(2, 20, 36, 0.6), 0 8px 34px rgba(2, 20, 36, 0.45);
  text-shadow: var(--hero-text-shadow);
}
.hero__lead,
.page-hero__lead {
  color: var(--white);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(2, 20, 36, 0.8), 0 2px 10px rgba(2, 20, 36, 0.7), 0 6px 26px rgba(2, 20, 36, 0.5);
}
/* the title lines clip for their slide-in animation: give the shadow room
   inside the clip without changing the layout */
.hero__title,
.page-hero__title { display: flow-root; } /* keeps the lines' negative margins inside the title */
.hero__title .line,
.page-hero__title .line {
  padding: 0 0.5em calc(4px + 0.35em);
  margin: 0 -0.5em -0.35em;
}

/* no round spinning badge and no white wave at the bottom of the inner-page banners:
   the banner photo now ends in a straight edge */
.page-hero__badge,
.page-hero__curve { display: none; }

/* pills, arrows, outline button and badge on the banner: dark backing instead of frosted blur */
.hero__eyebrow,
.page-hero .breadcrumb,
.hero .btn--outline,
.hero__arrow,
.page-hero__badge {
  background: rgba(2, 31, 56, 0.6);
  border-color: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 6px 20px rgba(2, 20, 36, 0.25);
}

/* buttons and coloured chips keep crisp text */
.hero__text .btn,
.page-hero__content .btn,
.page-hero__content .cs-chip { text-shadow: none; }
.hero .btn--outline { box-shadow: none; }

/* ==========================================================================
   CONTACT (contact.html, body.page-contact) + DONATE (donate.html, body.page-donate)
   Mobile-first layer: the base rules below are the phone layout; min-width
   queries scale it up. Kept last so it wins over the older max-width rules.
   ========================================================================== */

/* ---------- shared: info cards become compact rows on phones ---------- */
:is(.page-contact, .page-donate) .contact-info { margin-top: -36px; }
:is(.page-contact, .page-donate) .info-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
:is(.page-contact, .page-donate) .info-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "icon title go" "icon value go";
  align-items: center;
  column-gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(10, 35, 66, 0.09);
  -webkit-tap-highlight-color: transparent;
}
:is(.page-contact, .page-donate) .info-card::after { right: -60px; top: -60px; }
:is(.page-contact, .page-donate) .info-card__icon {
  grid-area: icon;
  width: 50px; height: 50px;
  margin: 0;
  border-radius: 15px;
  font-size: 19px;
}
:is(.page-contact, .page-donate) .info-card__title { grid-area: title; align-self: end; margin: 0; font-size: 16px; line-height: 1.25; }
:is(.page-contact, .page-donate) .info-card__value { grid-area: value; align-self: start; margin: 2px 0 0; font-size: 14px; line-height: 1.4; }
/* the "Call now" text link becomes a round arrow button */
:is(.page-contact, .page-donate) .info-card__link {
  grid-area: go;
  width: 38px; height: 38px;
  margin: 0;
  justify-content: center;
  border-radius: 50%;
  font-size: 0;
  gap: 0;
  background: var(--cream);
}
:is(.page-contact, .page-donate) .info-card__link i { font-size: 13px; }
:is(.page-contact, .page-donate) .info-card:active { transform: scale(0.985); }

/* donate: the four "ways to give" are jump links, shown as 2 x 2 tiles on phones */
.page-donate .info-grid--jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-donate .info-grid--jump .info-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "icon" "title" "go";
  justify-items: start;
  row-gap: 10px;
  padding: 16px 14px 14px;
}
.page-donate .info-grid--jump .info-card__value { display: none; }
.page-donate .info-grid--jump .info-card__icon { width: 44px; height: 44px; font-size: 18px; border-radius: 13px; }
.page-donate .info-grid--jump .info-card__title { font-size: 15px; }
.page-donate .info-grid--jump .info-card__link {
  width: auto; height: auto;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 13px;
}
.page-donate .info-grid--jump .info-card__link i { font-size: 11px; }

/* touch screens: no "stuck" hover state after a tap */
@media (hover: none) {
  :is(.page-contact, .page-donate) .info-card:hover { transform: none; box-shadow: 0 10px 26px rgba(10, 35, 66, 0.09); }
  :is(.page-contact, .page-donate) .info-card:hover::before { clip-path: circle(0% at 100% 0%); }
  :is(.page-contact, .page-donate) .info-card:hover::after { transform: none; }
  :is(.page-contact, .page-donate) .info-card:hover .info-card__icon { background: var(--cream); color: var(--gold-500); border-radius: 15px; box-shadow: none; animation: none; }
  :is(.page-contact, .page-donate) .info-card:hover .info-card__title { color: var(--navy-text); transform: none; }
  :is(.page-contact, .page-donate) .info-card:hover .info-card__value { color: var(--muted); }
  :is(.page-contact, .page-donate) .info-card:hover .info-card__link { color: var(--gold-500); }
  :is(.page-contact, .page-donate) .info-card:hover .info-card__link i { animation: none; }
  :is(.page-contact, .page-donate) .help-link:hover,
  :is(.page-contact, .page-donate) .ask-card:hover,
  :is(.page-contact, .page-donate) .map-card:hover,
  .page-donate .dn-step:hover { transform: none; }
  :is(.page-contact, .page-donate) .aside-photo:hover img { transform: none; }
  /* the map only turns to colour on hover on desktop; show it in colour on touch */
  .page-contact .map-frame iframe { filter: none; }
}

/* ---------- shared: forms ---------- */
:is(.page-contact, .page-donate) .form-card { padding: 26px 18px 22px; border-radius: 22px; }
:is(.page-contact, .page-donate) .form-card .section-head { margin-bottom: 22px; }
:is(.page-contact, .page-donate) .section-head__text { margin-top: 14px; font-size: 15px; }
:is(.page-contact, .page-donate) .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
:is(.page-contact, .page-donate) .form-field { margin-bottom: 16px; }
/* 16px stops iOS Safari zooming the page when a field gets focus */
:is(.page-contact, .page-donate) .form-control input,
:is(.page-contact, .page-donate) .form-control select,
:is(.page-contact, .page-donate) .form-control textarea { font-size: 16px; min-height: 52px; padding-left: 46px; }
:is(.page-contact, .page-donate) .form-control > i:first-child { left: 17px; }
:is(.page-contact, .page-donate) .form-control textarea { min-height: 128px; }
:is(.page-contact, .page-donate) .form-field .check { gap: 12px; padding: 4px 0; }
:is(.page-contact, .page-donate) .form-field .check .check__text { font-size: 14px; line-height: 1.5; }
:is(.page-contact, .page-donate) .form-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 4px; }
:is(.page-contact, .page-donate) .btn--submit { width: 100%; min-height: 54px; }
:is(.page-contact, .page-donate) .form-note { justify-content: center; }

/* ---------- shared: FAQ + help card ---------- */
:is(.page-contact, .page-donate) .faq-section { padding: 56px 0 52px; }
:is(.page-contact, .page-donate) .faq-section__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
:is(.page-contact, .page-donate) .faq-q { padding: 16px 16px 16px 18px; font-size: 15.5px; line-height: 1.4; }
:is(.page-contact, .page-donate) .faq-a p { padding: 0 18px 18px; font-size: 15px; }
:is(.page-contact, .page-donate) .faq-list > .btn { margin-top: 4px; }
:is(.page-contact, .page-donate) .ask-card { padding: 30px 22px 26px; border-radius: 22px; }
:is(.page-contact, .page-donate) .ask-card__title { font-size: 27px; }
:is(.page-contact, .page-donate) .ask-card__line { min-height: 46px; overflow-wrap: anywhere; }
:is(.page-contact, .page-donate) .ask-card .btn { width: 100%; }
:is(.page-contact, .page-donate) .help-link { padding: 12px 14px; gap: 14px; }
:is(.page-contact, .page-donate) .help-link__icon { width: 42px; height: 42px; font-size: 16px; }
:is(.page-contact, .page-donate) .help-link__text { min-width: 0; }
:is(.page-contact, .page-donate) .help-link__text strong { font-size: 15px; }
:is(.page-contact, .page-donate) .help-link__text small { font-size: 13px; overflow-wrap: anywhere; }

/* ---------- contact: form + aside, map ---------- */
.page-contact .contact-main { padding: 48px 0 56px; }
.page-contact .contact-main__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.page-contact .contact-aside { position: static; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.page-contact .aside-photo { aspect-ratio: 16 / 11; height: auto; min-height: 0; border-radius: 22px; }
.page-contact .aside-photo__caption { padding: 18px 20px; transform: none; }
.page-contact .help-card { padding: 22px 18px; border-radius: 22px; }
.page-contact .help-card__social { flex-direction: row; align-items: center; flex-wrap: wrap; }

.page-contact .map-frame { height: 300px; }
.page-contact .map-section__inner { position: relative; top: auto; transform: none; margin-top: -64px; }
.page-contact .map-card { max-width: none; padding: 30px 22px 24px; border-radius: 22px; }
.page-contact .map-card__pin { top: -24px; right: 22px; width: 50px; height: 50px; font-size: 20px; }
.page-contact .map-card__title { font-size: 25px; }
.page-contact .map-card__list li { padding: 9px 0; overflow-wrap: anywhere; }
.page-contact .map-card .btn { width: 100%; }

/* ---------- donate: payment cards ---------- */
.page-donate .dn-pay { padding: 56px 0 48px; }
.page-donate .dn-pay .section-head--center { margin-bottom: 30px; }
.page-donate .dn-pay__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.page-donate .dn-qr { padding: 26px 18px 24px; border-radius: 24px; }
.page-donate .dn-qr__plate { padding: 12px 16px; }
.page-donate .dn-qr__frame { width: min(100%, 248px); margin: 24px 0 14px; }
.page-donate .dn-upi { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
.page-donate .dn-upi .dn-copy { width: 100%; min-height: 44px; }
.page-donate .dn-qr__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 400px; gap: 10px; }
.page-donate .dn-qr__actions .btn { width: 100%; }

.page-donate .dn-bank { padding: 24px 18px 20px; border-radius: 24px; }
.page-donate .dn-bank__head { flex-wrap: wrap; gap: 12px; padding-bottom: 18px; }
.page-donate .dn-bank__logo { width: 100%; max-width: 280px; }
.page-donate .dn-bank__modes { margin-left: 0; align-self: auto; }
.page-donate .dn-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  min-height: 0;
  padding: 12px 10px;
  margin-inline: -10px;
}
.page-donate .dn-row dt { grid-column: 1 / -1; font-size: 11.5px; }
.page-donate .dn-row dd { font-size: 16px; }
.page-donate .dn-row dd:last-child { grid-column: 1 / -1; }
.page-donate .dn-row .dn-copy { min-height: 40px; }
.page-donate .dn-bank__foot { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 18px; }
.page-donate .dn-bank__note { flex: none; font-size: 13.5px; }
.page-donate .dn-bank__foot .btn { width: 100%; }

/* steps: one card with a connected vertical timeline */
.page-donate .dn-steps {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 22px 18px 6px;
  border-radius: 22px;
  background: var(--cream);
}
.page-donate .dn-step { position: relative; padding: 0 0 18px; background: none; border-radius: 0; }
.page-donate .dn-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px; top: 42px; bottom: 4px;
  border-left: 2px dashed var(--gold-300);
}
.page-donate .dn-step__num { width: 38px; height: 38px; }
.page-donate .dn-step h3 { font-size: 15.5px; margin-top: 7px; }

/* ---------- donate: offline methods + details form ---------- */
.page-donate .dn-offline { padding: 52px 0 56px; }
/* minmax(0, ...) stops the long email address pushing the column 8px off screen */
.page-donate .dn-offline__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.page-donate .dn-offline__intro { position: static; }
.page-donate .dn-offline__text { font-size: 15px; }
.page-donate .dn-offline__links { margin-top: 20px; }
.page-donate .dn-offline__photo { aspect-ratio: 16 / 10; border-radius: 22px; }
.page-donate .dn-file { padding: 12px 14px; }
.page-donate .dn-file__text strong { font-size: 14.5px; }
.page-donate .dn-toast { bottom: 20px; }

/* ---------- 400px and up: a little more breathing room ---------- */
@media (min-width: 400px) {
  :is(.page-contact, .page-donate) .form-card { padding: 30px 24px 26px; }
  .page-donate .dn-qr { padding-inline: 24px; }
  .page-donate .dn-bank { padding-inline: 22px; }
}

/* ---------- 576px and up (large phones, small tablets) ---------- */
@media (min-width: 576px) {
  :is(.page-contact, .page-donate) .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  :is(.page-contact, .page-donate) .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  :is(.page-contact, .page-donate) .form-actions { flex-direction: row; align-items: center; gap: 16px 24px; }
  :is(.page-contact, .page-donate) .btn--submit { width: auto; }
  :is(.page-contact, .page-donate) .ask-card .btn { width: auto; }
  .page-contact .map-card .btn { width: auto; }
  .page-contact .map-frame { height: 360px; }
  .page-contact .aside-photo { aspect-ratio: 16 / 9; }
  .page-donate .dn-qr__actions { flex-direction: row; justify-content: center; }
  .page-donate .dn-qr__actions .btn { width: auto; }
  .page-donate .dn-upi { grid-template-columns: minmax(0, 1fr) auto; }
  .page-donate .dn-upi .dn-copy { width: auto; }
  .page-donate .dn-bank__head { flex-wrap: nowrap; }
  .page-donate .dn-bank__modes { margin-left: auto; align-self: flex-end; }
  .page-donate .dn-bank__foot { flex-direction: row; align-items: center; }
  .page-donate .dn-bank__foot .btn { width: auto; }
  .page-donate .dn-bank__note { flex: 1 1 240px; }
}

/* ---------- 768px and up (tablets) ---------- */
@media (min-width: 768px) {
  :is(.page-contact, .page-donate) .contact-info { margin-top: -48px; }
  :is(.page-contact, .page-donate) .form-card { padding: 38px 34px 32px; border-radius: 24px; }
  .page-donate .info-grid--jump { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-contact .contact-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .page-contact .aside-photo { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .page-contact .map-frame { height: 420px; }
  .page-contact .map-section__inner { margin-top: -90px; }
  .page-contact .map-card { max-width: 420px; padding: 34px 30px 30px; }
  .page-donate .dn-qr, .page-donate .dn-bank { padding: 34px 32px; border-radius: 28px; }
  .page-donate .dn-row { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; padding: 12px; margin-inline: -12px; min-height: 62px; }
  .page-donate .dn-row dt { grid-column: auto; font-size: 12.5px; }
  .page-donate .dn-row dd:last-child { grid-column: 2 / -1; }
  .page-donate .dn-row dd { font-size: 17px; }
  .page-donate .dn-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; background: none; }
  .page-donate .dn-step { padding: 18px; border-radius: 20px; background: var(--cream); }
  .page-donate .dn-step:not(:last-child)::before { display: none; }
  .page-donate .dn-step h3 { margin-top: 0; }
  :is(.page-contact, .page-donate) .faq-q { padding: 18px 22px; font-size: 16.5px; }
  :is(.page-contact, .page-donate) .faq-a p { padding: 0 22px 20px; font-size: 15.5px; }
  :is(.page-contact, .page-donate) .ask-card { padding: 38px 32px 34px; }
}

/* ---------- 992px and up (laptops) ---------- */
@media (min-width: 992px) {
  .page-donate .dn-pay { padding: clamp(70px, 7vw, 110px) 0 clamp(60px, 6vw, 90px); }
  .page-donate .dn-pay__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; }
  .page-donate .dn-steps { grid-template-columns: minmax(0, 1fr); }
  .page-donate .dn-offline { padding: clamp(60px, 6vw, 90px) 0; }
  .page-contact .contact-main { padding: clamp(60px, 6vw, 90px) 0; }
  :is(.page-contact, .page-donate) .faq-section { padding: clamp(60px, 6vw, 90px) 0 clamp(50px, 5vw, 80px); }
  :is(.page-contact, .page-donate) .section-head__text { font-size: 16px; }
}

/* ---------- 1200px and up (desktop): four-across cards, side-by-side layouts ---------- */
@media (min-width: 1200px) {
  :is(.page-contact, .page-donate) .contact-info { margin-top: clamp(-70px, -4.5vw, -40px); }
  :is(.page-contact, .page-donate) .info-grid,
  .page-donate .info-grid--jump { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  :is(.page-contact, .page-donate) .info-card,
  .page-donate .info-grid--jump .info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px 26px;
    border-radius: 20px;
  }
  :is(.page-contact, .page-donate) .info-card::after { right: -40px; top: -40px; }
  :is(.page-contact, .page-donate) .info-card__icon,
  .page-donate .info-grid--jump .info-card__icon { width: 62px; height: 62px; border-radius: 18px; font-size: 24px; margin-bottom: 18px; }
  :is(.page-contact, .page-donate) .info-card__title,
  .page-donate .info-grid--jump .info-card__title { align-self: auto; font-size: 19px; margin-bottom: 4px; }
  :is(.page-contact, .page-donate) .info-card__value,
  .page-donate .info-grid--jump .info-card__value { display: block; align-self: auto; font-size: 15px; margin: 0 0 18px; }
  :is(.page-contact, .page-donate) .info-card__link,
  .page-donate .info-grid--jump .info-card__link {
    width: auto; height: auto;
    margin-top: auto;
    gap: 8px;
    border-radius: 0;
    background: none;
    font-size: 14px;
  }
  :is(.page-contact, .page-donate) .info-card__link i,
  .page-donate .info-grid--jump .info-card__link i { font-size: inherit; }
  :is(.page-contact, .page-donate) .info-card:hover .info-card__link { gap: 12px; }

  .page-contact .contact-main__grid { grid-template-columns: 1.45fr 1fr; gap: 36px; }
  .page-contact .contact-aside { position: sticky; top: calc(var(--header-h) + 20px); grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
  .page-contact .aside-photo { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .page-contact .aside-photo__caption { padding: 24px 26px; transform: translateY(8px); }
  .page-contact .help-card { padding: 26px; }
  .page-contact .map-frame { height: clamp(380px, 34vw, 500px); }
  .page-contact .map-section__inner { position: absolute; top: 50%; transform: translateY(-50%); margin-top: 0; }
  .page-contact .map-card { max-width: 360px; }
  :is(.page-contact, .page-donate) .form-card { padding: clamp(28px, 3.4vw, 46px); }
  :is(.page-contact, .page-donate) .faq-section__grid { grid-template-columns: 1.6fr 1fr; gap: 40px; }
  .page-donate .dn-qr, .page-donate .dn-bank { padding: clamp(28px, 3vw, 42px) clamp(26px, 2.8vw, 40px); }
  .page-donate .dn-row { grid-template-columns: 170px minmax(0, 1fr) auto; }
  .page-donate .dn-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-donate .dn-offline__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 4vw, 56px); }
  .page-donate .dn-offline__intro { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ==========================================================================
   Banners stay clean: no card, strip or search box is pulled up over any
   banner (home or inner pages, desktop or phone). Those blocks now sit
   below the banner with normal spacing. Kept last so it wins.
   ========================================================================== */
.contact-info,
:is(.page-contact, .page-donate) .contact-info,
.vstats, .faq-search, .wd-facts, .ts-summary, .ow-jump, .sa-summary, .ct-glance {
  margin-top: clamp(28px, 4vw, 52px);
}
/* banners no longer need the extra bottom room that the overlap used */
.page-hero:not(.lg-hero) .page-hero__inner { padding-bottom: clamp(44px, 5vw, 64px); }
.page-hero:is(.bp-hero, .ow-hero, .sa-hero) { min-height: clamp(380px, 30vw, 520px); }
@media (max-width: 767px) {
  .page-hero:not(.lg-hero) .page-hero__inner { padding-bottom: 44px; }
  .page-hero:is(.bp-hero, .ow-hero, .sa-hero) { min-height: 0; }
}
