/* Imaniline Sacco — global styles */
:root {
  --navy: #081D3D;
  --navy-2: #0E2A56;
  --primary: #142F60;
  --blue: #1F56DE;
  --blue-2: #1A48BD;
  --sky: #5B8DEF;
  --pale: #E4EEFB;
  --pale-2: #F1F6FC;
  --bg: #F8FAFD;
  --ink: #08132A;
  --ink-2: #2D3853;
  --muted: #58647F;
  --line: #CDD9EC;
  --line-2: #DFE7F3;
  --teal: #0B7F7E;
  --green: #0F8A40;
  --gold: #B8902F;
  --error: #B91C1C;
  --shadow-sm: 0 1px 2px rgba(8,29,61,0.08), 0 1px 1px rgba(8,29,61,0.05);
  --shadow-md: 0 14px 30px -10px rgba(8,29,61,0.22), 0 3px 8px rgba(8,29,61,0.08);
  --shadow-lg: 0 30px 70px -22px rgba(8,29,61,0.45);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --card: #ffffff;
  --navy-solid: #081D3D;
  --header-bg: rgba(255,255,255,0.92);
  --leader-bg: linear-gradient(180deg, #EDF3FA 0%, #DFE9F5 100%);
  --logo-ink-a: #34336B;
  --logo-ink-b: #232250;
  --logo-ink-top: #45447E;
  --head-font: 'Sora', system-ui, sans-serif;
  --body-font: 'Manrope', system-ui, sans-serif;
  --btn-radius: 999px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--head-font);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 22px; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }

p { margin: 0; color: var(--ink-2); }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }

button { font-family: inherit; }

/* Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 96px 0; }
section.compact { padding: 64px 0; }

.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--blue);
  display: inline-block;
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 22px -6px rgba(31,86,222,0.55), 0 2px 4px rgba(31,86,222,0.25);
}
.btn-primary:hover { background: var(--blue-2); color: white; transform: translateY(-1px); box-shadow: 0 14px 28px -6px rgba(31,86,222,0.65), 0 3px 6px rgba(31,86,222,0.3); }
.btn-secondary {
  background: var(--card);
  color: var(--navy);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); box-shadow: 0 4px 10px rgba(8,29,61,0.08); }
.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: white; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform .15s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.brand-mark { width: 38px; height: 38px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text .top {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-text .sub {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--pale-2); }
.nav-link.active { color: var(--blue); background: var(--pale); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Hamburger toggle — hidden on desktop, shown when nav-links collapse */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu — shown only inside the <=980px media query */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 28px 18px;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line-2);
}
.mobile-link {
  text-align: left;
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mobile-link:hover { background: var(--pale-2); }
.mobile-link.active { color: var(--blue); background: var(--pale); }

/* Footer */
.site-footer {
  background: var(--navy-solid);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 6px 24px -12px rgba(0,0,0,0.6);
}
.site-footer h4 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; font-weight: 600; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid li, .footer-grid a { color: rgba(255,255,255,0.7); font-size: 14px; cursor: pointer; }
.footer-grid a:hover { color: white; }
.footer-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bot .links { display: flex; gap: 24px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(700px 500px at -5% 100%, rgba(14,165,164,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--pale-2) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue) 30%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-2);
  margin: 24px 0 36px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 8px; box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }

/* Hero card cluster */
.hero-vis {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  border: 1px solid var(--line-2);
}
.hero-card.card-main {
  inset: 30px 0 30px 30px;
  background: linear-gradient(160deg, var(--navy-solid) 0%, var(--primary) 100%);
  color: white;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card.card-main .label { font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.14em; }
.hero-card.card-main .balance { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; }
.hero-card.card-main .balance-sub { font-size: 13px; opacity: 0.7; }
.hero-card.card-main .chip-row { display: flex; gap: 8px; margin-top: 16px; }
.hero-card.card-main .chip { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.hero-card.card-main .mini-bars { display: flex; gap: 6px; align-items: flex-end; height: 60px; margin-top: 18px; }
.hero-card.card-main .mini-bars .bar { flex: 1; background: linear-gradient(180deg, var(--sky), var(--blue)); border-radius: 3px; }

.hero-card.card-trans {
  width: 280px;
  top: -10px;
  right: -10px;
  padding: 18px;
}
.hero-card.card-trans h5 { font-family: 'Sora', sans-serif; font-size: 13px; margin: 0 0 12px; color: var(--ink); font-weight: 600; }
.hero-card.card-trans .tx { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.hero-card.card-trans .tx:last-child { border-bottom: 0; }
.hero-card.card-trans .tx-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--pale); display: grid; place-items: center; font-size: 14px; color: var(--blue); font-weight: 700; }
.hero-card.card-trans .tx-meta { flex: 1; min-width: 0; }
.hero-card.card-trans .tx-meta .t1 { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.hero-card.card-trans .tx-meta .t2 { font-size: 11px; color: var(--muted); }
.hero-card.card-trans .tx-amt { font-size: 12.5px; font-weight: 600; color: var(--green); }
.hero-card.card-trans .tx-amt.neg { color: var(--ink); }

.hero-card.card-loan {
  width: 240px;
  bottom: -10px;
  right: 40px;
  padding: 18px;
}
.hero-card.card-loan .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.hero-card.card-loan .rate { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.hero-card.card-loan .pct { color: var(--teal); }
.hero-card.card-loan .lbl2 { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.hero-card.card-loan .progress { height: 6px; background: var(--pale); border-radius: 99px; margin-top: 14px; overflow: hidden; }
.hero-card.card-loan .progress span { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 99px; }

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* Hero dreams scene */
.dreams-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 70% 10%, #16335F 0%, #0C1F40 55%, #081A33 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.dreams-stage::after {
  /* dark opacity layer for depth + text legibility */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,12,26,0.18) 0%, rgba(4,12,26,0.05) 40%, rgba(4,12,26,0.55) 100%);
  pointer-events: none;
  z-index: 3;
}
.dreams-aura {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 30%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,141,239,0.45), rgba(14,165,164,0.12) 50%, transparent 72%);
  filter: blur(8px);
  animation: dreams-pulse 7s ease-in-out infinite;
  z-index: 1;
}
@keyframes dreams-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}
.dreams-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.dreams-path-base {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dreams-path-glow {
  fill: none;
  stroke: url(#dpath);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 160;
  filter: drop-shadow(0 0 4px rgba(91,141,239,0.8));
  animation: dreams-flow 5s linear infinite;
}
@keyframes dreams-flow {
  to { stroke-dashoffset: -166; }
}
.dream-node {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: dream-float 6s ease-in-out infinite;
}
@keyframes dream-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}
.dream-tile {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}
.dream-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .4s, transform .4s;
  white-space: nowrap;
}
.dream-node.is-active .dream-tile {
  transform: scale(1.18);
  border-color: var(--tint);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.7), 0 0 0 4px color-mix(in oklab, var(--tint) 40%, transparent), inset 0 1px 0 rgba(255,255,255,0.35);
}
.dream-node.is-active .dream-label {
  opacity: 1;
  transform: translateY(0);
  color: #fff;
}
.dreams-caption {
  position: absolute;
  left: 26px;
  bottom: 22px;
  z-index: 5;
  max-width: 70%;
}
.dreams-caption-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}
.dreams-caption-main {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.005em;
}
@media (prefers-reduced-motion: reduce) {
  .dreams-aura, .dreams-path-glow, .dream-node { animation: none; }
}

/* Stats strip — glassmorphism */
.stats {
  background: var(--navy-solid);
  color: white;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,86,222,0.55), transparent 70%);
  top: -180px; left: 8%;
  pointer-events: none;
}
.stats::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,164,0.4), transparent 70%);
  bottom: -200px; right: 6%;
  pointer-events: none;
}
.stats .container { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.16);
  border-top-color: rgba(255,255,255,0.3);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
}
.stat .num { font-family: 'Sora', sans-serif; font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat .num small { font-size: 24px; font-weight: 600; opacity: 0.7; }
.stat .lbl { font-size: 14px; color: rgba(255,255,255,0.72); margin-top: 10px; }

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(8,29,61,0.04);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(8,29,61,0.22); border-color: var(--blue); }
.svc-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--pale);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.svc-card .more { font-size: 14px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }

/* Testimonials */
.testimonials {
  background: var(--pale);
}
.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.test-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px -10px rgba(8,29,61,0.16);
}
.test-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.test-quote { font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 1.45; color: var(--navy); flex: 1; margin-bottom: 24px; letter-spacing: -0.005em; }
.test-who { display: flex; align-items: center; gap: 12px; }
.test-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--blue)); color: white; display: grid; place-items: center; font-weight: 700; font-family: 'Sora', sans-serif; }
.test-who .name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.test-who .role { font-size: 12.5px; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-solid) 0%, var(--primary) 60%, #1F56DE 100%);
  color: white;
  border-radius: var(--r-xl);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  border-radius: 50%;
}
.cta-band h2 { color: white; max-width: 600px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 12px; font-size: 17px; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }

/* Page hero (sub-pages) — rich, warm, scene-backed */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  background:
    radial-gradient(900px 520px at 100% 60%, rgba(232,181,99,0.22), transparent 65%),
    radial-gradient(700px 400px at 0% 0%, rgba(14,165,164,0.18), transparent 60%),
    linear-gradient(130deg, var(--navy-solid) 0%, var(--primary) 55%, #173b73 100%);
  color: white;
  border-bottom: none;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}
.page-hero .ph-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.38) 28%, rgba(0,0,0,0.22) 50%, rgba(0,0,0,0.06) 70%, rgba(0,0,0,0) 85%);
  z-index: 2;
  pointer-events: none;
}
.page-hero .ph-bg svg {
  height: 110%;
  width: auto;
  margin-right: -2vw;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.22));
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero .ph-content { max-width: 620px; }
.page-hero .crumbs { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.page-hero .crumbs a { color: rgba(255,255,255,0.6); }
.page-hero .crumbs a:hover { color: white; }
.page-hero .crumbs .sep { margin: 0 8px; opacity: 0.5; }
.page-hero h1 { font-size: clamp(36px, 4vw, 54px); color: white; }
.page-hero .lede { font-size: 19px; color: rgba(255,255,255,0.78); margin-top: 18px; max-width: 620px; line-height: 1.55; }
.page-hero .eyebrow-warm {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #E8B563;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.page-hero .eyebrow-warm::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: #E8B563;
  display: inline-block;
}
@media (max-width: 980px) {
  .page-hero { padding: 80px 0 80px; }
  .page-hero .ph-bg { opacity: 0.35; }
  .page-hero .ph-content { max-width: 100%; }
}

/* About — story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy-solid), var(--primary));
  display: grid; place-items: center;
}
.placeholder-img {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 8px, transparent 8px 16px),
    linear-gradient(160deg, var(--navy-solid), var(--primary));
  border-radius: var(--r-lg);
  position: relative;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.55);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.story p + p { margin-top: 16px; font-size: 16px; line-height: 1.7; }
.story h2 { margin-bottom: 24px; }

/* About — story slideshow */
.story-slideshow {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-solid), var(--primary));
  box-shadow: 0 24px 60px -28px rgba(15,30,70,0.5);
}
.story-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.story-slide.active { opacity: 1; }
.story-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 22px 18px;
  background: linear-gradient(to top, rgba(8,18,44,0.78), transparent);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  z-index: 2;
}
.story-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.story-slideshow:hover .story-arrow { opacity: 1; }
.story-arrow:hover { background: #fff; }
.story-arrow.prev { left: 14px; }
.story-arrow.next { right: 14px; }
.story-dots {
  position: absolute;
  bottom: 16px; right: 18px;
  display: flex; gap: 7px;
  z-index: 3;
}
.story-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.story-dot.active { background: #fff; transform: scale(1.25); }

/* Mission Vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  background: var(--card);
  padding: 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.mv-card .tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue); margin-bottom: 14px; }
.mv-card h3 { font-size: 26px; font-family: 'Sora', sans-serif; margin-bottom: 14px; }
.mv-card p { font-size: 16px; line-height: 1.65; }
.mv-card.dark { background: var(--navy-solid); color: white; }
.mv-card.dark .tag { color: var(--sky); }
.mv-card.dark h3, .mv-card.dark p { color: white; }
.mv-card.dark p { color: rgba(255,255,255,0.8); }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 28px;
  border-left: 4px solid var(--blue);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 16px -10px rgba(8,29,61,0.16);
}
.value-card .v-num { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 10px; }
.value-card h4 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; line-height: 1.6; }

/* Board — comfortable, professional portrait cards */
.board-marquee {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  scrollbar-width: none;
  cursor: grab;
}
.board-marquee::-webkit-scrollbar { display: none; }
.board-track {
  display: flex;
  width: max-content;
}
@media (prefers-reduced-motion: reduce) {
  .board-marquee { scroll-behavior: auto; }
}
.board-warm-card {
  position: relative;
  flex: 0 0 236px;
  width: 236px;
  margin-right: 24px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid rgba(20,47,96,0.08);
  padding: 36px 24px 30px;
  box-shadow: 0 10px 28px -14px rgba(8,29,61,0.22), 0 2px 6px rgba(8,29,61,0.05);
  transition: transform .2s, box-shadow .2s;
}
.board-warm-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.board-more {
  margin-top: 14px;
  font-family: 'Sora', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.board-warm-card:hover .board-more,
.board-warm-card:focus-visible .board-more {
  opacity: 1;
  transform: translateY(0);
}

/* Member profile modal */
.member-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8,18,38,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: memberFade .2s ease;
}
@keyframes memberFade { from { opacity: 0; } to { opacity: 1; } }
.member-modal {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  width: min(60vw, 860px);
  max-width: 100%;
  max-height: 86vh;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, #fff), color-mix(in srgb, var(--accent) 4%, #fff));
  border: 1px solid color-mix(in srgb, var(--accent) 26%, #fff);
  box-shadow: 0 40px 90px -24px color-mix(in srgb, var(--accent) 55%, transparent), 0 12px 30px rgba(8,18,38,0.25);
  animation: memberPop .24s cubic-bezier(.2,.8,.25,1);
}
@keyframes memberPop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.member-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff);
  background: rgba(255,255,255,0.85);
  color: var(--accent);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.member-close:hover { background: #fff; transform: rotate(90deg); }
.member-modal-media {
  position: relative;
  background: color-mix(in srgb, var(--accent) 18%, #dfe6f2);
}
.member-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.member-modal-media.empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: color-mix(in srgb, var(--accent) 45%, #8ea1bd);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.25) 0 8px, transparent 8px 16px),
    color-mix(in srgb, var(--accent) 18%, #dfe6f2);
}
.member-modal-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.member-modal-role {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.member-modal-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 18px;
}
.member-modal-bio {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 720px) {
  .member-modal {
    grid-template-columns: 1fr;
    width: 92vw;
    max-height: 88vh;
    overflow-y: auto;
  }
  .member-modal-media { aspect-ratio: 16 / 7; }
  .member-modal-media img, .member-modal-media.empty { min-height: 0; height: 100%; }
  .member-modal-body { padding: 22px 24px 26px; }
  .member-modal-name { font-size: 22px; margin-bottom: 10px; }
  .member-modal-role { margin-bottom: 6px; }
  .member-modal-bio { font-size: 14px; line-height: 1.55; }
}
@media (max-height: 700px) {
  .member-modal { grid-template-columns: 1fr; max-height: 94vh; overflow-y: auto; }
  .member-modal-media { display: none; }
  .member-modal-body { padding: 26px 30px; }
}
.board-warm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -16px rgba(8,29,61,0.3), 0 3px 8px rgba(8,29,61,0.06);
}
.board-portrait-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 22px;
}
.board-portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pale-2);
  box-shadow: 0 10px 24px -10px rgba(8,29,61,0.3);
  display: block;
}
.board-portrait-empty {
  display: grid;
  place-items: center;
  color: #9FB0C9;
  background:
    repeating-linear-gradient(45deg, rgba(20,47,96,0.03) 0 6px, transparent 6px 12px),
    var(--pale-2);
}
.board-rim {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid;
  opacity: 0.35;
  pointer-events: none;
}
.board-warm-info { max-width: 240px; }
.board-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.board-title {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  font-style: italic;
  margin-top: 2px;
}
.board-bio {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: 12px;
}

@media (max-width: 620px) {
  .board-warm-card { flex-basis: 214px; width: 214px; }
}

/* Products page */
.product-tabs {
  display: inline-flex;
  background: var(--pale);
  padding: 4px;
  border-radius: 999px;
  margin-bottom: 36px;
}
.product-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink-2);
}
.product-tab.active { background: var(--card); color: var(--navy); box-shadow: var(--shadow-sm); }
.product-panel { animation: product-panel-in .55s ease-out; }
@keyframes product-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .product-panel { animation: none; }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: 0 1px 2px rgba(8,29,61,0.05);
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(8,29,61,0.24); border-color: var(--blue); }
.product-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 30px 60px -25px rgba(31,86,222,0.55), 0 4px 12px rgba(31,86,222,0.12);
}
.product-card .badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--blue);
  padding: 4px 10px;
  border-radius: 999px;
}
.product-card .ptag { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.product-card h3 { font-family: 'Sora', sans-serif; font-size: 24px; margin: 8px 0 12px; }
.product-card .pdesc { font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; min-height: 70px; }
.product-card .rate-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 22px;
}
.product-card .rate {
  font-family: 'Sora', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.product-card .rate-unit { font-size: 14px; color: var(--muted); }
.product-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.product-card li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; line-height: 1.5; }
.product-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.product-card .pbtn {
  margin-top: auto;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.product-card .pbtn:hover { background: var(--navy-solid); color: white; border-color: var(--navy-solid); }
.product-card.featured .pbtn { background: var(--blue); color: white; border-color: var(--blue); }
.product-card.featured .pbtn:hover { background: var(--blue-2); border-color: var(--blue-2); }

/* Membership steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  box-shadow: 0 4px 14px -8px rgba(8,29,61,0.14);
}
.step .snum {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.step .snum-big {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: 'Sora', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--pale);
  line-height: 1;
}

.elig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.rates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.req-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.objectives-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.objective-card { background: var(--card); padding: 28px; border-radius: 12px; border: 1px solid var(--line); }
.elig-list { display: flex; flex-direction: column; gap: 16px; }
.elig-list .elig-item {
  display: flex; gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 4px 12px -8px rgba(8,29,61,0.14);
}
.elig-list .ico {
  width: 36px; height: 36px;
  background: var(--pale);
  color: var(--blue);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}
.elig-list h5 { font-family: 'Sora', sans-serif; font-size: 15px; color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.elig-list p { font-size: 13.5px; color: var(--muted); }

.docs-list { display: flex; flex-direction: column; gap: 10px; }
.doc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--pale-2);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--ink);
}
.doc-row .dico { width: 30px; height: 30px; background: var(--card); border-radius: 6px; display: grid; place-items: center; color: var(--blue); font-weight: 700; font-size: 13px; }
.doc-row .req { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(37,99,235,0.1); color: var(--blue); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* News */
.news-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 56px;
}
.news-feature .feat-img {
  aspect-ratio: 5/3;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--navy-solid), #1F56DE);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.6);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.news-feature .feat-img.has-photo { background: none; padding: 0; }
.news-feature .feat-img.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.news-feature .feat-body { padding: 40px 40px 40px 0; display: flex; flex-direction: column; justify-content: center; }
.news-feature .feat-body .tag { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.news-feature h2 { font-size: 32px; margin: 14px 0 16px; }
.news-feature .meta { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 22px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(8,29,61,0.04);
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(8,29,61,0.22); }
.news-card .n-img {
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(45deg, rgba(11,36,71,0.04) 0 10px, transparent 10px 20px),
    var(--pale);
  display: grid; place-items: center;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.news-card .n-img.v2 { background:
    repeating-linear-gradient(45deg, rgba(37,99,235,0.06) 0 10px, transparent 10px 20px),
    var(--pale-2);
}
.news-card .n-img.v3 { background:
    repeating-linear-gradient(45deg, rgba(14,165,164,0.08) 0 10px, transparent 10px 20px),
    #E9F7F6;
}
.news-card .n-img.has-photo { background: none; }
.news-card .n-img.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.news-card .n-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .ntag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.news-card h3 { font-size: 18px; margin: 10px 0 10px; line-height: 1.3; }
.news-card .nexcerpt { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.news-card .nmeta { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line-2); }

/* Article page */
.article { padding-top: 56px; padding-bottom: 72px; }
.article-back {
  background: none; border: none; cursor: pointer;
  font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--blue); padding: 0; margin-bottom: 36px;
  display: inline-flex; align-items: center; gap: 8px;
}
.article-back span { transition: transform .2s; }
.article-back:hover span { transform: translateX(-4px); }
.article-head { margin-bottom: 30px; }
.article-head .ntag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.article-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: var(--navy);
  margin: 14px 0 22px;
  text-wrap: balance;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: var(--muted);
}
.article-meta .dot-sep { opacity: 0.5; }
.article-hero {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 36px;
  position: relative;
  background: linear-gradient(155deg, var(--navy-solid), #1F56DE);
}
.article-hero.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block; }
.article-hero.scene .ah-bg { position: absolute; inset: 0; display: grid; place-items: center; }
.article-hero.scene .ah-bg svg { height: 116%; width: auto; opacity: 0.96; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.22)); }
.article-lede {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.article-body { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.article-body h2 {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.25;
  margin: 42px 0 14px;
}
.article-body p { margin: 0 0 20px; text-wrap: pretty; }
.article-body ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 14px; }
.article-body li {
  position: relative; padding-left: 30px;
}
.article-body li::before {
  content: ''; position: absolute; left: 6px; top: 11px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--blue); transform: rotate(45deg);
}
.article-body blockquote {
  margin: 34px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--blue);
}
.article-body blockquote p {
  font-family: 'Instrument Serif', serif;
  font-size: 24px; font-style: italic; line-height: 1.4;
  color: var(--navy); margin: 0 0 10px;
}
.article-body blockquote cite {
  font-style: normal; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--muted);
}
.article-foot { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-title { font-family: 'Sora', sans-serif; font-size: 20px; color: var(--navy); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) {
  .article-hero { aspect-ratio: 16/10; }
  .related-grid { grid-template-columns: 1fr; }
}

.news-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.nfilter {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  color: var(--ink-2);
}
.nfilter.active { background: var(--navy-solid); color: white; border-color: var(--navy-solid); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: 0 12px 30px -18px rgba(8,29,61,0.22);
}
.contact-form h3 { font-family: 'Sora', sans-serif; margin-bottom: 8px; }
.contact-form > p { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  background: rgba(22,163,74,0.08);
  color: var(--green);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.form-error {
  background: rgba(185,28,28,0.07);
  color: var(--error);
  border: 1px solid rgba(185,28,28,0.18);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.form-error a { color: inherit; font-weight: 600; text-decoration: underline; }
.field-error { display: block; font-size: 12.5px; color: var(--error); margin-top: 6px; }
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: var(--error); }
.form-group input[aria-invalid="true"]:focus,
.form-group textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(185,28,28,0.12); }
/* Honeypot — off-screen rather than display:none so bots still fill it. */
.form-honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
button[disabled] { opacity: 0.55; cursor: not-allowed; }

.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--navy-solid);
  color: white;
  padding: 32px;
  border-radius: var(--r-lg);
}
.contact-info-card h4 { color: white; font-family: 'Sora', sans-serif; font-size: 18px; margin-bottom: 20px; font-weight: 600; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row .cico { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.1); display: grid; place-items: center; flex-shrink: 0; }
.contact-row .lbl { font-size: 11px; text-transform: uppercase; color: rgba(255,255,255,0.5); letter-spacing: 0.14em; }
.contact-row .val { font-size: 14.5px; color: white; margin-top: 2px; }

.map-card {
  background: var(--card);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-placeholder {
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, var(--pale-2) 25%, transparent 25%, transparent 50%, var(--pale-2) 50%, var(--pale-2) 75%, transparent 75%) 0 0 / 24px 24px,
    var(--pale);
  position: relative;
  display: grid; place-items: center;
}
.map-pin {
  width: 38px; height: 38px;
  background: var(--blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  box-shadow: 0 8px 16px -4px rgba(37,99,235,0.6);
}
.map-pin::after {
  content: '';
  position: absolute;
  top: 9px; left: 9px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
}
.map-card .map-foot { padding: 16px 22px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.map-card .map-foot a { font-weight: 600; }

.hours-card { background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 28px 32px; }
.hours-card h4 { font-family: 'Sora', sans-serif; font-size: 17px; color: var(--navy); margin-bottom: 16px; font-weight: 600; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { color: var(--ink-2); }
.hours-row .time { color: var(--navy); font-weight: 600; }
.hours-row.closed .time { color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .story-grid, .mv-grid, .elig-grid, .contact-grid, .news-feature, .rates-grid, .req-grid, .join-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .test-grid, .product-grid, .news-grid, .values-grid, .stats-grid, .steps, .objectives-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-vis { height: 380px; }
  section { padding: 64px 0; }
  .cta-band { padding: 40px; flex-direction: column; align-items: flex-start; }
  .news-feature .feat-body { padding: 0 28px 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
}
@media (max-width: 620px) {
  .services-grid, .test-grid, .product-grid, .news-grid, .values-grid, .stats-grid, .steps, .objectives-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}


/* ============ Dark mode (disabled — light mode forced) ============ */
@media not all {
  :root {
    --navy: #DCE7F7;          /* heading & "navy" text flips light */
    --navy-2: #C4D4EC;
    --primary: #16335F;
    --blue: #6493F5;
    --blue-2: #82A8F7;
    --sky: #8FB2F8;
    --pale: #16263F;
    --pale-2: #0F1C31;
    --bg: #0A1322;
    --ink: #E9EFF9;
    --ink-2: #C2CDE2;
    --muted: #8C9AB6;
    --line: #25395C;
    --line-2: #1C2D4A;
    --teal: #3FC1BF;
    --green: #4ADE80;
    --gold: #D9B25E;
    --error: #F87171;
    --card: #121F37;
    --header-bg: rgba(10,19,34,0.9);
    --leader-bg: linear-gradient(180deg, #0E1B30 0%, #0B1628 100%);
    --logo-ink-a: #9FA1E0;
    --logo-ink-b: #7B7DC0;
    --logo-ink-top: #B6B8EC;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 1px 1px rgba(0,0,0,0.3);
    --shadow-md: 0 14px 30px -10px rgba(0,0,0,0.5), 0 3px 8px rgba(0,0,0,0.35);
    --shadow-lg: 0 30px 70px -22px rgba(0,0,0,0.7);
    color-scheme: dark;
  }

  .hero {
    background:
      radial-gradient(900px 600px at 90% -10%, rgba(100,147,245,0.12), transparent 60%),
      radial-gradient(700px 500px at -5% 100%, rgba(63,193,191,0.08), transparent 60%),
      linear-gradient(180deg, #0C1729 0%, #0A1322 100%);
  }
  .btn-primary { box-shadow: 0 10px 22px -6px rgba(31,86,222,0.4), 0 2px 4px rgba(0,0,0,0.3); }
  .btn-secondary { background: var(--card); }
  .test-avatar { color: #0A1322; }
  .news-card .n-img.v3 {
    background:
      repeating-linear-gradient(45deg, rgba(63,193,191,0.10) 0 10px, transparent 10px 20px),
      #10242F;
  }
  .map-placeholder {
    background:
      linear-gradient(135deg, var(--pale-2) 25%, transparent 25%, transparent 50%, var(--pale-2) 50%, var(--pale-2) 75%, transparent 75%) 0 0 / 24px 24px,
      var(--pale);
  }
  .board-warm-card { border-color: rgba(255,255,255,0.08); }
  .member-modal {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 26%, #101c31), color-mix(in srgb, var(--accent) 14%, #0d1728));
    border-color: color-mix(in srgb, var(--accent) 45%, #101c31);
  }
  .member-close {
    background: rgba(16,28,49,0.85);
    border-color: color-mix(in srgb, var(--accent) 40%, #101c31);
    color: color-mix(in srgb, var(--accent) 45%, #fff);
  }
  .member-close:hover { background: #101c31; }
  .member-modal-role { color: color-mix(in srgb, var(--accent) 50%, #fff); }
  .member-modal-bio { color: #c7d2e2; }
  .board-bio-float {
    background: color-mix(in srgb, var(--accent) 30%, #101c31);
    border-color: color-mix(in srgb, var(--accent) 55%, #101c31);
  }
  .board-bio-float::after { border-top-color: color-mix(in srgb, var(--accent) 30%, #101c31); }
  .board-bio-role { color: color-mix(in srgb, var(--accent) 55%, #fff); }
  .board-bio-text { color: color-mix(in srgb, var(--accent) 22%, #e7edf6); }
  .form-success { background: rgba(74,222,128,0.12); }
  .doc-row .req { background: rgba(100,147,245,0.16); }
  .product-card .badge { color: #0A1322; }
}

/* Gallery */
.gallery-grid {
  column-count: 3;
  column-gap: 18px;
}
.gal-item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px -18px rgba(8,29,61,0.35);
  background: var(--pale-2);
  transition: transform .18s, box-shadow .18s;
}
.gal-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -16px rgba(8,29,61,0.45);
}
.gal-item image-slot {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-note {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.gal-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: none;
  background: rgba(8,18,38,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .18s, transform .18s, background .15s;
}
.gal-item image-slot[data-filled] ~ .gal-expand { opacity: 1; transform: none; pointer-events: auto; }
.gal-item:hover image-slot[data-filled] ~ .gal-expand { background: rgba(8,18,38,0.82); }
.gal-expand:hover { background: var(--blue); }
.gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(6,14,30,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: memberFade .2s ease;
}
.gal-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 40px 90px -24px rgba(0,0,0,0.7);
  animation: memberPop .24s cubic-bezier(.2,.8,.25,1);
}
.gal-lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.gal-lightbox-close:hover { background: rgba(255,255,255,0.24); transform: rotate(90deg); }
.gal-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  transition: background .15s, transform .15s;
  z-index: 5;
}
.gal-lightbox-nav:hover { background: rgba(255,255,255,0.26); }
.gal-lightbox-nav.prev { left: 18px; }
.gal-lightbox-nav.next { right: 18px; }
@media (max-width: 640px) {
  .gal-lightbox-nav { width: 42px; height: 42px; }
  .gal-lightbox-nav.prev { left: 8px; }
  .gal-lightbox-nav.next { right: 8px; }
  .gal-lightbox { padding: 12px; }
  .gal-lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .gal-lightbox img { max-width: 88vw; max-height: 78vh; }
}
@media (max-width: 900px) {
  .gallery-grid { column-count: 2; }
}
@media (max-width: 560px) {
  .gallery-grid { column-count: 1; }
}
#gal-event-4::part(image) { object-position: center 20%; }

@keyframes pl-spin {
  to { transform: rotate(360deg); }
}
