/* ==========================================================================
   ALHAZAWA ORPHANS & GIRL CHILD FOUNDATION — style.css
   Core design system: tokens, reset, typography, components.
   Breakpoint overrides live in responsive.css.
   ========================================================================== */

/* -------------------------------------------------------------------------
   0. FONTS
   ------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,ital@9..144,300..700,0..1&family=Manrope:wght@400;500;600;700;800&display=swap");

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Brand — drawn from the Foundation logo's blue/cyan identity */
  --navy-950: #0a1f3d;
  --navy-900: #0d2a52;
  --navy-800: #123863;
  --royal-700: #1e4da0;
  --royal-600: #2563c7;
  --royal-500: #3b7fdb;
  --cyan-500: #29b6e8;
  --cyan-400: #63cdf1;
  --cyan-300: #a4e2f7;
  --teal-500: #2fb8a6;
  --gold-500: #cf9d4f;
  --gold-400: #e2bc79;
  --coral-500: #ff8a65;

  /* Neutrals — warm, light system */
  --cream-50: #fefcf7;
  --cream-100: #fbf6ec;
  --ivory-100: #f7f2e8;
  --sky-50: #eff7fd;
  --sky-100: #e4f2fb;
  --white: #ffffff;

  --ink-900: #101c33;
  --ink-700: #253451;
  --ink-600: #45536e;
  --ink-500: #667089;
  --ink-400: #8b93a8;
  --ink-200: #d8dee8;
  --ink-100: #e9edf3;

  /* Surface / text roles */
  --bg-page: var(--cream-50);
  --bg-alt: var(--sky-50);
  --bg-panel: var(--white);
  --text-body: var(--ink-700);
  --text-muted: var(--ink-500);
  --text-inverse: var(--white);
  --border-soft: var(--ink-100);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--royal-700) 0%, var(--cyan-500) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(30,77,160,.12) 0%, rgba(41,182,232,.12) 100%);
  --grad-navy: linear-gradient(160deg, var(--navy-900) 0%, var(--royal-700) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-hero: clamp(2.75rem, 6.2vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 4.2vw, 3.75rem);
  --fs-h2: clamp(1.9rem, 3.2vw, 2.75rem);
  --fs-h3: clamp(1.35rem, 1.8vw, 1.75rem);
  --fs-lead: clamp(1.1rem, 1.4vw, 1.35rem);
  --fs-body: 1.05rem;
  --fs-small: .9rem;
  --fs-eyebrow: .82rem;

  /* Spacing / shape */
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);
  --container-w: 1320px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(16, 28, 51, .06);
  --shadow-md: 0 12px 32px rgba(16, 28, 51, .10);
  --shadow-lg: 0 28px 70px rgba(16, 28, 51, .16);
  --shadow-brand: 0 18px 40px rgba(30, 77, 160, .28);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .25s;
  --dur-med: .55s;
  --dur-slow: .9s;
}

/* -------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-page);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--navy-900);
}

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--section-pad); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--grad-navy); color: var(--sky-100); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--cyan-300); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .6em; }
.section-head p { margin-top: 1.1em; font-size: var(--fs-lead); color: var(--text-muted); }
.section--navy .section-head p { color: var(--sky-100); opacity: .85; }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sample-flag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(207, 157, 79, .12);
  border: 1px solid rgba(207, 157, 79, .35);
  padding: .3em .7em;
  border-radius: var(--radius-pill);
}

/* -------------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.9em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .01em;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(30,77,160,.36); }
.btn-secondary {
  background: var(--white);
  color: var(--royal-700);
  border: 1.5px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--royal-500); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: 0 16px 34px rgba(207,157,79,.35);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-sm { padding: .7em 1.4em; font-size: .85rem; }
.btn-icon { width: 1em; height: 1em; }

/* -------------------------------------------------------------------------
   5. NAVIGATION
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  padding-block: 1.35rem;
  transition: padding var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(254, 252, 247, 0);
  backdrop-filter: blur(0px);
  transition: background var(--dur-fast) var(--ease-out), backdrop-filter var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  z-index: -1;
}
.site-header.is-scrolled { padding-block: .7rem; }
.site-header.is-scrolled::before {
  background: rgba(254, 252, 247, .82);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 30px rgba(16,28,51,.08);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 62px; width: auto; transition: height var(--dur-fast) var(--ease-out); }
.site-header.is-scrolled .brand img { height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1rem; color: var(--navy-900); }
.brand-text span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--royal-600); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-700);
  padding-block: .3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: right var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: var(--royal-700); }

.nav-cta { display: flex; align-items: center; gap: .9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-100);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--cream-50);
  display: flex;
  flex-direction: column;
  padding: 6.5rem 1.75rem 2.5rem;
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease-out);
  /* inset:0 forces this box to exactly the viewport height, but its nav
     content can need more room than that (short/landscape windows). Without
     this, the overflow renders past the box's own bottom edge — and since
     the hide transform only shifts by the box's own height, that overflow
     stays visibly stuck on screen even while "closed". Clipping it here
     (with scroll, so it's still fully reachable when open) keeps all of
     the menu's content contained within the box that actually gets hidden. */
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--navy-900);
}
.mobile-menu .btn { margin-top: 2rem; align-self: flex-start; }

/* -------------------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(7.5rem, 14vw, 10.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(41,182,232,.14), transparent 60%),
    radial-gradient(900px 600px at 5% 15%, rgba(30,77,160,.08), transparent 55%),
    var(--cream-50);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-copy h1 {
  font-size: var(--fs-hero);
  font-weight: 600;
  color: var(--navy-900);
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy h1 .hero-subline {
  display: block;
  margin-top: .35em;
  font-size: .36em;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: .01em;
}
.hero-copy .lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--text-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 2.6rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-500);
  letter-spacing: .03em;
}
.hero-location .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(41,182,232,.22);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 4px rgba(41,182,232,.22);} 50% { box-shadow: 0 0 0 8px rgba(41,182,232,.06);} }

/* --- hero visual composition --- */
.hero-visual { position: relative; height: clamp(420px, 46vw, 620px); }

.hero-blob {
  position: absolute;
  inset: -6% -4% -4% 2%;
  z-index: 0;
}
.hero-blob svg { width: 100%; height: 100%; }
.hero-orbit { animation: spin-slow 40s linear infinite; transform-origin: center; }
.hero-orbit--rev { animation: spin-slow-rev 55s linear infinite; transform-origin: center; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-slow-rev { to { transform: rotate(-360deg); } }

.hero-photo-main {
  position: absolute;
  top: 4%;
  left: 8%;
  width: 72%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  aspect-ratio: 4/5;
}
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo-float {
  position: absolute;
  right: -2%;
  bottom: 6%;
  width: 46%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream-50);
  z-index: 3;
  aspect-ratio: 1/1;
  animation: float-y 6s ease-in-out infinite;
}
.hero-photo-float img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-badge {
  position: absolute;
  top: 6%;
  right: 2%;
  z-index: 4;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-lg);
  animation: float-y 7s ease-in-out infinite 1s;
}
.hero-badge .num { font-family: var(--font-display); font-size: 1.9rem; color: var(--royal-700); line-height: 1; }
.hero-badge .cap { font-size: .74rem; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }

.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-particles i {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  opacity: .55;
  animation: drift 9s ease-in-out infinite;
}
@keyframes drift { 0%,100% { transform: translate(0,0); opacity:.3;} 50% { transform: translate(10px,-22px); opacity:.7;} }

/* -------------------------------------------------------------------------
   7. FLOATING IMPACT STRIP
   ------------------------------------------------------------------------- */
.impact-strip-wrap { position: relative; z-index: 20; margin-top: clamp(-3.5rem, -5vw, -4.5rem); }
.impact-strip {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .6rem;
  padding: 1.6rem 1rem;
  border-right: 1px solid var(--border-soft);
  cursor: default;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.impact-item:last-child { border-right: none; }
.impact-item:hover { transform: translateY(-6px); background: var(--sky-50); border-radius: var(--radius-md); }
.impact-item .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-brand-soft);
  display: flex; align-items: center; justify-content: center;
}
.impact-item .icon-wrap svg { width: 22px; height: 22px; stroke: var(--royal-700); }
.impact-item strong { font-size: .82rem; font-weight: 800; letter-spacing: .02em; color: var(--navy-900); }
.impact-item p {
  font-size: .78rem;
  color: var(--ink-500);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--dur-med) var(--ease-out), opacity var(--dur-med);
}
.impact-item:hover p { max-height: 4rem; opacity: 1; }

/* -------------------------------------------------------------------------
   8. SPLIT / PURPOSE SECTIONS
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.split-media:hover .frame img { transform: scale(1.05); }
.split-media .frame-tag {
  position: absolute;
  bottom: -1.2rem;
  left: -1.2rem;
  background: var(--navy-900);
  color: var(--white);
  padding: .9rem 1.3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 700;
  max-width: 220px;
}

.purpose-chain {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-top: 2.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--royal-700);
}
.purpose-chain span { display: inline-flex; align-items: center; gap: .5rem; }
.purpose-chain .arrow { color: var(--cyan-500); font-style: normal; }

/* -------------------------------------------------------------------------
   9. THE PROBLEM SECTION
   ------------------------------------------------------------------------- */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.problem-copy h2 { font-size: var(--fs-h1); }
.problem-copy p.lead { margin-top: 1.4rem; font-size: var(--fs-lead); color: var(--text-muted); max-width: 50ch; }
.problem-list { margin-top: 2rem; display: grid; gap: 1rem; }
.problem-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.problem-list .bullet {
  flex: none;
  width: 8px; height: 8px; margin-top: .5em;
  border-radius: 50%;
  background: var(--grad-brand);
}
.problem-list strong { color: var(--navy-900); display: block; margin-bottom: .2rem; }
.problem-list span.note { color: var(--text-muted); font-size: .93rem; }

.context-note {
  margin-top: 1.6rem;
  font-size: .82rem;
  color: var(--ink-400);
  border-left: 3px solid var(--gold-500);
  padding-left: .9rem;
}

.map-panel {
  position: relative;
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-panel > svg { width: 100%; height: 100%; position: absolute; inset: 0; opacity: .9; }
.map-panel.has-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.map-panel.has-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,40,.4), rgba(10,20,40,.78));
  z-index: 1;
}
.map-panel .map-label {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}
.map-panel .map-label .pin {
  width: 54px; height: 54px; margin-inline: auto 0; margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
}
.map-panel .map-label strong { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.map-panel .map-label span { display: block; margin-top: .4rem; font-size: .88rem; color: var(--sky-100); opacity: .8; }

/* -------------------------------------------------------------------------
   10. VISION / MISSION PANELS
   ------------------------------------------------------------------------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.25rem); }
.vm-panel {
  position: relative;
  padding: clamp(2.25rem, 4vw, 3.25rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--dur-med) var(--ease-out);
}
.vm-panel:hover { transform: translateY(-8px); }
.vm-panel.vision { background: var(--grad-navy); color: var(--white); }
.vm-panel.mission { background: var(--white); border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); }
.vm-panel .vm-index {
  position: absolute; top: 1.6rem; right: 1.8rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  opacity: .14;
  line-height: 1;
}
.vm-panel.mission .vm-index { color: var(--royal-700); }
.vm-panel h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.vm-panel.mission h3 { color: var(--navy-900); }
.vm-panel p { font-size: 1.02rem; line-height: 1.65; max-width: 46ch; }
.vm-panel.vision p { color: var(--sky-100); }
.vm-panel.mission p { color: var(--text-muted); }
.vm-ring { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); top: -80px; left: -80px; }

/* -------------------------------------------------------------------------
   11. CORE VALUES
   ------------------------------------------------------------------------- */
.values-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.value-card {
  position: relative;
  padding: 2rem 1.4rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
  text-align: left;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-fast);
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--dur-med);
  z-index: 0;
}
.value-card:hover { transform: translateY(-10px) rotate(-.4deg); box-shadow: var(--shadow-lg); border-color: transparent; }
.value-card:hover::before { opacity: 1; }
.value-card > * { position: relative; z-index: 1; }
.value-card .v-icon {
  width: 46px; height: 46px;
  border-radius: 12px 12px 12px 4px;
  background: var(--grad-brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  transition: background var(--dur-med);
}
.value-card .v-icon svg { width: 22px; height: 22px; stroke: var(--royal-700); transition: stroke var(--dur-med); }
.value-card:hover .v-icon { background: rgba(255,255,255,.2); }
.value-card:hover .v-icon svg { stroke: #fff; }
.value-card h4 { font-size: 1.08rem; color: var(--navy-900); transition: color var(--dur-med); }
.value-card:hover h4 { color: #fff; }
.value-card .concept { display: block; font-family: var(--font-display); font-style: italic; font-size: .85rem; color: var(--cyan-500); margin: .2rem 0 .6rem; transition: color var(--dur-med); }
.value-card:hover .concept { color: var(--cyan-300); }
.value-card p { font-size: .87rem; color: var(--text-muted); transition: color var(--dur-med); }
.value-card:hover p { color: rgba(255,255,255,.88); }

/* -------------------------------------------------------------------------
   12. PILLARS (strategic focus areas)
   ------------------------------------------------------------------------- */
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.pillar-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-card .p-tag {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--sky-100);
  -webkit-text-stroke: 1.5px var(--cyan-300);
  position: absolute; top: 1rem; right: 1.4rem;
  line-height: 1;
}
.pillar-card .p-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-brand);
}
.pillar-card .p-icon svg { width: 26px; height: 26px; stroke: #fff; }
.pillar-card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.pillar-card .p-short { font-weight: 700; color: var(--royal-600); font-size: .85rem; margin-bottom: .8rem; display: block; }
.pillar-card p.desc { color: var(--text-muted); font-size: .95rem; }

/* -------------------------------------------------------------------------
   13. BENEFICIARIES
   ------------------------------------------------------------------------- */
.beneficiary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.beneficiary-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--sky-50);
  border: 1px solid transparent;
  transition: all var(--dur-med) var(--ease-out);
}
.beneficiary-card:hover { background: var(--white); border-color: var(--cyan-300); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.beneficiary-card .note {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--royal-600); background: rgba(37,99,199,.1); padding: .3em .7em; border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.beneficiary-card h4 { font-size: 1.15rem; margin-bottom: .6rem; }
.beneficiary-card p { font-size: .9rem; color: var(--text-muted); }

/* -------------------------------------------------------------------------
   14. GALLERY / PHOTO STORY (masonry + lightbox)
   ------------------------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.gallery-filters button {
  padding: .55em 1.2em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-600);
  background: var(--white);
  transition: all var(--dur-fast);
}
.gallery-filters button:hover { border-color: var(--royal-500); color: var(--royal-700); }
.gallery-filters button.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; }

.gallery-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pager-btn {
  min-width: 40px; height: 40px;
  padding: 0 .6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-600);
  background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast);
}
.pager-btn svg { width: 16px; height: 16px; stroke: currentColor; }
.pager-btn:hover:not(:disabled) { border-color: var(--royal-500); color: var(--royal-700); }
.pager-btn.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; }
.pager-btn:disabled { opacity: .35; cursor: default; }

.masonry {
  columns: 3 240px;
  column-gap: 1.1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.masonry-item img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease-out); }
.masonry-item:hover img { transform: scale(1.08); }
.masonry-item .m-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem 1.1rem .9rem;
  background: linear-gradient(0deg, rgba(10,20,40,.88), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--dur-fast) var(--ease-out);
}
.masonry-item:hover .m-cap { opacity: 1; transform: translateY(0); }
.masonry-item .m-cap span { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-300); }
.masonry-item .m-cap p { font-size: .8rem; margin-top: .3rem; line-height: 1.35; }

.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(10,18,36,.92);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; }
.lightbox-inner img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-meta { color: #fff; margin-top: 1.2rem; text-align: center; }
.lightbox-meta span { color: var(--cyan-300); font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.lightbox-meta p { margin-top: .5rem; color: var(--sky-100); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 1.75rem; right: 1.75rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------------------
   15. TIMELINE ("A Day With The Foundation")
   ------------------------------------------------------------------------- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute; left: 26px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--cyan-300), var(--royal-600));
}
.timeline-item {
  position: relative;
  padding-left: 4.25rem;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .t-dot {
  position: absolute; left: 14px; top: 4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--royal-600);
  box-shadow: 0 0 0 6px var(--cream-50);
}
.timeline-item .t-time {
  display: inline-block;
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--royal-600); margin-bottom: .4rem;
}
.timeline-item h4 { font-size: 1.2rem; margin-bottom: .4rem; }
.timeline-item p { color: var(--text-muted); font-size: .95rem; max-width: 52ch; }

/* -------------------------------------------------------------------------
   16. FUTURE CENTRE
   ------------------------------------------------------------------------- */
.centre-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/8;
}
.centre-hero img { width: 100%; height: 100%; object-fit: cover; }
.centre-hero .tag {
  position: absolute; left: 1.5rem; bottom: 1.5rem;
  background: rgba(10,20,40,.62);
  backdrop-filter: blur(10px);
  color: #fff; padding: .7rem 1.1rem; border-radius: var(--radius-md);
  font-size: .8rem; font-weight: 700; max-width: 340px;
}

.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.zone-card {
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-soft);
  position: relative;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.zone-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.zone-card .z-num { font-family: var(--font-display); font-size: 1rem; color: var(--cyan-500); font-weight: 700; margin-bottom: .8rem; }
.zone-card h4 { font-size: 1.2rem; margin-bottom: .7rem; }
.zone-card p { color: var(--text-muted); font-size: .92rem; }

.phase-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.phase-step { position: relative; padding-top: 2rem; }
.phase-step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--ink-100);
  border-radius: 4px;
}
.phase-step.is-active::before { background: var(--grad-brand); }
.phase-step .label { font-size: .74rem; font-weight: 800; color: var(--royal-600); letter-spacing: .06em; text-transform: uppercase; }
.phase-step h5 { font-size: 1.05rem; margin: .4rem 0 .5rem; }
.phase-step p { font-size: .85rem; color: var(--text-muted); }

/* -------------------------------------------------------------------------
   17. PILOTS / PROGRAMS
   ------------------------------------------------------------------------- */
.pilot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.pilot-card {
  display: flex;
  gap: 1.4rem;
  padding: 1.9rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--dur-med), transform var(--dur-med) var(--ease-out);
}
.pilot-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pilot-card .pi-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-brand-soft);
  display: flex; align-items: center; justify-content: center;
}
.pilot-card .pi-icon svg { width: 24px; height: 24px; stroke: var(--royal-700); }
.pilot-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.pilot-card p { font-size: .9rem; color: var(--text-muted); margin-bottom: .9rem; }
.pilot-card .outcome { font-size: .82rem; font-weight: 700; color: var(--teal-500); }
.pilot-card .learn-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .85rem; font-weight: 700; color: var(--royal-600); }

/* -------------------------------------------------------------------------
   18. ROADMAP (short vs mid/long term)
   ------------------------------------------------------------------------- */
.roadmap-track { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.roadmap-track::before {
  content: "";
  position: absolute; top: 22px; left: 0; right: 0; height: 3px;
  background: repeating-linear-gradient(90deg, var(--cyan-300) 0 10px, transparent 10px 18px);
}
.roadmap-stage { position: relative; padding-top: 3.5rem; }
.roadmap-stage .r-dot {
  position: absolute; top: 4px; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  box-shadow: var(--shadow-brand);
}
.roadmap-stage h4 { font-size: 1.3rem; margin-bottom: .3rem; }
.roadmap-stage .r-focus { color: var(--royal-600); font-weight: 700; font-size: .88rem; margin-bottom: 1rem; display: block; }
.roadmap-stage ul { display: grid; gap: .6rem; }
.roadmap-stage li { display: flex; gap: .6rem; font-size: .9rem; color: var(--text-muted); }
.roadmap-stage li::before { content: "—"; color: var(--cyan-500); flex: none; }

/* -------------------------------------------------------------------------
   19. DONATE
   ------------------------------------------------------------------------- */
.donate-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-navy);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  isolation: isolate;
}
.donate-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 20% 0%, rgba(41,182,232,.25), transparent 60%),
              radial-gradient(700px 400px at 80% 100%, rgba(207,157,79,.18), transparent 60%);
}
.donate-cta h2 { color: #fff; font-size: var(--fs-h1); max-width: 18ch; margin-inline: auto; }
.donate-cta p { max-width: 55ch; margin: 1.3rem auto 0; color: var(--sky-100); font-size: var(--fs-lead); }
.donate-cta .hero-actions { justify-content: center; margin-top: 2.4rem; }

.donation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.donation-card {
  padding: 1.9rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 2px solid var(--border-soft);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.donation-card:hover { border-color: var(--cyan-400); transform: translateY(-4px); }
.donation-card.is-selected { border-color: var(--royal-600); background: var(--sky-50); box-shadow: var(--shadow-md); }
.donation-card h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.donation-card p { font-size: .87rem; color: var(--text-muted); }

.amount-selector { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.amount-chip {
  padding: .8em 1.4em;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-soft);
  font-weight: 700;
  font-size: .95rem;
  background: var(--white);
  transition: all var(--dur-fast);
}
.amount-chip:hover { border-color: var(--cyan-400); }
.amount-chip.is-selected { background: var(--grad-brand); color: #fff; border-color: transparent; }
.amount-custom {
  display: flex; align-items: center; gap: .4rem;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: .3em .3em .3em 1.1em;
}
.amount-custom span { color: var(--ink-500); font-weight: 700; }
.amount-custom input {
  width: 110px; border: none; background: transparent; font-weight: 700; font-size: .95rem;
  padding: .5em 0;
}
.amount-custom input:focus { outline: none; }

.donate-summary {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.donate-summary .ds-label { font-size: .82rem; color: var(--sky-100); opacity: .8; }
.donate-summary .ds-value { font-family: var(--font-display); font-size: 1.8rem; margin-top: .2rem; }

/* -------------------------------------------------------------------------
   20. PARTNERSHIP
   ------------------------------------------------------------------------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner-chip {
  padding: 1.4rem 1rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-soft);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-700);
  transition: all var(--dur-fast) var(--ease-out);
}
.partner-chip:hover { border-color: transparent; background: var(--grad-brand); color: #fff; transform: translateY(-4px); }

/* -------------------------------------------------------------------------
   21. TRANSPARENCY
   ------------------------------------------------------------------------- */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.trust-card { text-align: center; padding: 1.2rem .5rem; }
.trust-card .t-icon {
  width: 58px; height: 58px; margin-inline: auto;
  border-radius: 50%;
  background: var(--sky-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.trust-card .t-icon svg { width: 26px; height: 26px; stroke: var(--royal-700); }
.trust-card h4 { font-size: .98rem; margin-bottom: .4rem; }
.trust-card p { font-size: .82rem; color: var(--text-muted); }

/* -------------------------------------------------------------------------
   22. FOUNDER
   ------------------------------------------------------------------------- */
.founder-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.founder-media { position: relative; }
.founder-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.founder-media .frame img { display: block; width: 100%; height: auto; }
.founder-media .quote-mark { position: absolute; top: -1.5rem; left: -1rem; font-family: var(--font-display); font-size: 6rem; color: var(--cyan-300); line-height: 1; z-index: -1; }
.founder-copy .role { font-weight: 700; color: var(--royal-600); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin-bottom: .6rem; display: block; }
.founder-copy h2 { font-size: var(--fs-h1); }
.founder-copy p.bio { margin-top: 1.3rem; font-size: 1.05rem; color: var(--text-muted); max-width: 56ch; }
.founder-copy .sig { margin-top: 2rem; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--navy-900); }

/* -------------------------------------------------------------------------
   23. STORIES / NEWS
   ------------------------------------------------------------------------- */
.story-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.story-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.story-card .s-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.story-card .s-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.story-card:hover .s-media img { transform: scale(1.08); }
.story-card .s-media .sample-flag { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.92); }
.story-card .s-body { padding: 1.5rem; }
.story-card .s-cat { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--royal-600); }
.story-card h4 { font-size: 1.15rem; margin: .6rem 0 .6rem; }
.story-card p { font-size: .9rem; color: var(--text-muted); }
.story-card .s-date { display: block; margin-top: 1rem; font-size: .76rem; color: var(--ink-400); }

.story-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  margin-bottom: 3rem;
}
.story-feature .f-media { aspect-ratio: 16/12; }
.story-feature .f-media img { width: 100%; height: 100%; object-fit: cover; }
.story-feature .f-body { padding: 2.5rem 2.5rem 2.5rem 0; }
.story-feature h3 { font-size: var(--fs-h2); margin: .8rem 0 1rem; }

/* -------------------------------------------------------------------------
   24. EVENTS
   ------------------------------------------------------------------------- */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.event-card {
  display: flex; gap: 1.4rem;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: box-shadow var(--dur-med), transform var(--dur-med) var(--ease-out);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.event-card .e-date {
  flex: none; width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  background: var(--grad-brand-soft);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.event-card .e-date svg { width: 26px; height: 26px; stroke: var(--royal-700); }
.event-card .e-cat { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--royal-600); }
.event-card h4 { font-size: 1.05rem; margin: .4rem 0; }
.event-card p.e-desc { font-size: .87rem; color: var(--text-muted); margin-bottom: .6rem; }
.event-card .e-when { font-size: .8rem; color: var(--ink-400); font-weight: 600; }

/* -------------------------------------------------------------------------
   25. CONTACT
   ------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-info-card {
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3vw, 2.75rem);
  height: fit-content;
}
.contact-info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1.6rem; }
.contact-line { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-line .c-icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.contact-line .c-icon svg { width: 19px; height: 19px; stroke: var(--cyan-300); }
.contact-line strong { display: block; font-size: .9rem; }
.contact-line span, .contact-line a { font-size: .87rem; color: var(--sky-100); opacity: .85; }
.contact-social { display: flex; gap: .7rem; margin-top: 2rem; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.contact-social a:hover { background: rgba(255,255,255,.22); }
.contact-social svg { width: 17px; height: 17px; stroke: #fff; }

.form-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.1rem; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-700); }
.field input, .field select, .field textarea {
  padding: .85em 1em;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  font-size: .95rem;
  transition: border-color var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--royal-500); outline: none; background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.inquiry-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.inquiry-chips label {
  cursor: pointer;
  padding: .55em 1.1em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-600);
  transition: all var(--dur-fast);
}
.inquiry-chips input { position: absolute; opacity: 0; pointer-events: none; }
.inquiry-chips input:checked + span,
.inquiry-chips label:has(input:checked) { background: var(--grad-brand); border-color: transparent; color: #fff; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}
.form-success.is-visible { display: block; }
.form-success .check {
  width: 70px; height: 70px; margin-inline: auto 1.5rem;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
}
.form-success .check svg { width: 32px; height: 32px; stroke: #fff; }
.form-success h3 { margin-bottom: .6rem; }
.form-success p { color: var(--text-muted); max-width: 42ch; margin-inline: auto; }
.form-success .note { margin-top: 1.2rem; font-size: .78rem; color: var(--ink-400); }

/* -------------------------------------------------------------------------
   26. PAGE HERO (interior pages)
   ------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(41,182,232,.14), transparent 60%),
    var(--cream-50);
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: var(--fs-h1); max-width: 16ch; }
.page-hero p.lead { margin-top: 1.3rem; max-width: 56ch; font-size: var(--fs-lead); color: var(--text-muted); }
.page-hero-crumb { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-400); margin-bottom: 1.5rem; }
.page-hero-crumb a:hover { color: var(--royal-600); }

/* -------------------------------------------------------------------------
   27. FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--sky-100); padding-top: clamp(4rem, 7vw, 6rem); }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.1fr; gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.3rem; }
.footer-brand img { height: 56px; }
.footer-brand strong { font-family: var(--font-display); color: #fff; font-size: 1.1rem; }
.footer-col p.tagline { font-size: .92rem; color: var(--sky-100); opacity: .72; max-width: 34ch; }
.footer-col h5 { color: #fff; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .8rem; }
.footer-col a { font-size: .9rem; opacity: .78; transition: opacity var(--dur-fast), color var(--dur-fast); }
.footer-col a:hover { opacity: 1; color: var(--cyan-300); }
.footer-contact li { display: flex; gap: .6rem; font-size: .88rem; opacity: .8; align-items: flex-start; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 15px; height: 15px; stroke: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem; font-size: .8rem; opacity: .6; }

/* -------------------------------------------------------------------------
   28. MISC — back to top, cursor, reveal utilities
   ------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 400;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; stroke: #fff; }

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan-500);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: transform .15s var(--ease-out), opacity .2s;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--royal-500);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease-out), width .2s, height .2s, opacity .2s;
  opacity: 0;
}
.has-custom-cursor .cursor-dot, .has-custom-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-active { width: 54px; height: 54px; border-color: var(--cyan-500); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }

.magnetic { will-change: transform; }

.counter { font-family: var(--font-display); }

.divider-curve { display: block; width: 100%; height: 90px; }
.divider-curve path { fill: var(--bg-page); }
