/* =========================================================
   Tara Homes Foundation — "From Midnight to Dawn"
   Vanilla CSS design system + components
   ========================================================= */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope.woff2") format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pinyon-script.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #050f1f;
  --navy-900: #081e38;
  --navy-800: #0b2747;
  --navy-700: #0e3560;
  --navy-500: #2a4f7a;
  --gold-700: #8a6a25;
  --gold-600: #ae8834;
  --gold-400: #d8b25e;
  --gold-200: #f1dfae;
  --gold-100: #f8efd6;
  --ivory-50: #fbf8f2;
  --linen-100: #f3ecdf;
  --ink-900: #14233a;
  --slate-600: #566275;
  --line: #e3dacb;
  --white: #ffffff;
  --danger: #b42318;
  --success: #1e7f4f;
  --whatsapp: #25d366;

  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.72);

  --grad-gold: linear-gradient(135deg, #f1dfae 0%, #d8b25e 45%, #ae8834 100%);
  --grad-night: radial-gradient(120% 90% at 75% 10%, #12365f 0%, #081e38 52%, #050f1f 100%);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;

  --fs-h1: clamp(2.6rem, 1.5rem + 4.6vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.8vw, 3.6rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.78rem;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 30, 56, 0.06), 0 2px 6px rgba(8, 30, 56, 0.05);
  --shadow-md: 0 1px 2px rgba(8, 30, 56, 0.05), 0 4px 8px rgba(8, 30, 56, 0.05), 0 12px 24px rgba(8, 30, 56, 0.07);
  --shadow-lg: 0 1px 2px rgba(8, 30, 56, 0.05), 0 4px 8px rgba(8, 30, 56, 0.05), 0 12px 24px rgba(8, 30, 56, 0.07), 0 32px 64px -12px rgba(8, 30, 56, 0.16);
  --shadow-xl: 0 2px 4px rgba(8, 30, 56, 0.06), 0 8px 16px rgba(8, 30, 56, 0.08), 0 24px 48px rgba(8, 30, 56, 0.12), 0 48px 96px -24px rgba(8, 30, 56, 0.28);
  --glow-gold: 0 0 0 1px rgba(216, 178, 94, 0.45), 0 12px 32px -8px rgba(174, 136, 52, 0.55);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-micro: 150ms;
  --t-ui: 300ms;
  --t-reveal: 800ms;

  --gutter: 24px;
  --container: 1240px;
  --section-pad: clamp(5rem, 10vw, 9.5rem);

  --topbar-h: 0px;
  --nav-h: 76px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));

  --z-header: 50;
  --z-dropdown: 60;
  --z-menu: 70;
  --z-float: 40;
  --z-toast: 80;
  --z-skip: 100;
}
@media (min-width: 1024px) {
  :root { --topbar-h: 40px; --nav-h: 92px; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--ivory-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-variant-ligatures: no-common-ligatures no-contextual;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--gold-200); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: var(--z-skip);
  padding: 0.75rem 1.25rem; border-radius: var(--r-pill);
  background: var(--gold-400); color: var(--navy-900); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-ui) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--linen { background: var(--linen-100); }
.section--white { background: var(--white); }
.section--night { background: var(--grad-night); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.section--night::after, .grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split > *, .grid > * { min-width: 0; }
main { overflow-x: clip; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Typography ---------- */
.h1, .h2, .h3, .display { font-family: var(--font-display); font-optical-sizing: auto; color: var(--navy-700); font-weight: 500; letter-spacing: -0.02em; }
.h1, .display { font-size: var(--fs-h1); line-height: 1.02; font-weight: 450; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
.h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em; color: var(--navy-700); line-height: 1.4; }
.h1 em, .h2 em, .h3 em, .display em { font-style: italic; font-weight: 400; color: var(--gold-700); }
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4, .section--night .h1, .section--night .h2, .section--night .h3, .section--night .h4 { color: var(--white); }
.on-dark .h1 em, .on-dark .h2 em, .on-dark .h3 em, .section--night .h2 em, .section--night .h3 em, .section--night .h1 em { color: var(--gold-400); }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--slate-600); max-width: 62ch; }
.on-dark .lead, .section--night .lead { color: var(--on-dark-muted); }
.muted { color: var(--slate-600); }
.on-dark .muted, .section--night .muted { color: var(--on-dark-muted); }
.small { font-size: var(--fs-small); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.center .eyebrow::after, .section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow, .section--night .eyebrow { color: var(--gold-400); }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; line-height: 1; }
.text-gradient { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 1.25rem; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 720px; }

/* Laurel divider (from the logo) */
.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold-600); margin-block: 1.5rem; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 0 1 120px; background: linear-gradient(90deg, transparent, currentColor); }
.divider::after { background: linear-gradient(90deg, currentColor, transparent); }
.divider svg { width: 44px; height: 18px; flex: none; }
.on-dark .divider, .section--night .divider { color: var(--gold-400); }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon-badge {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: linear-gradient(145deg, var(--gold-100), var(--linen-100)); color: var(--gold-700);
  box-shadow: inset 0 0 0 1px rgba(174, 136, 52, 0.18), var(--shadow-sm);
}
.icon-badge .icon { width: 26px; height: 26px; }
.on-dark .icon-badge, .section--night .icon-badge { background: rgba(216, 178, 94, 0.12); color: var(--gold-400); box-shadow: inset 0 0 0 1px rgba(216, 178, 94, 0.28); }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.95rem; --btn-pad-x: 1.65rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x); min-height: 48px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out), background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform var(--t-ui) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--grad-gold); color: var(--navy-900); box-shadow: var(--glow-gold); }
.btn--gold:hover { box-shadow: 0 0 0 1px rgba(216, 178, 94, 0.6), 0 18px 40px -10px rgba(174, 136, 52, 0.75); }
.btn--navy { background: var(--navy-700); color: var(--white); box-shadow: var(--shadow-md); }
.btn--navy:hover { background: var(--navy-800); box-shadow: var(--shadow-lg); }
.btn--navy::after, .btn--glass::after, .btn--outline::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%); }
.btn--glass { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.btn--outline { background: transparent; color: var(--navy-700); border-color: rgba(14, 53, 96, 0.28); }
.btn--outline:hover { border-color: var(--navy-700); background: rgba(14, 53, 96, 0.04); }
.btn--sm { --btn-pad-y: 0.7rem; --btn-pad-x: 1.2rem; min-height: 44px; font-size: 0.875rem; }
.btn--lg { --btn-pad-y: 1.15rem; --btn-pad-x: 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.center .btn-row, .btn-row--center { justify-content: center; }
.btn .twinkle { width: 14px; height: 14px; animation: twinkle 2.4s ease-in-out infinite; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading::before {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--navy-700);
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--t-ui) var(--ease-out), color var(--t-ui);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { transition: transform var(--t-ui) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow, .section--night .link-arrow { color: var(--gold-400); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  transition: transform 0.45s var(--ease-out);
}
.topbar {
  display: none; height: var(--topbar-h);
  background: rgba(5, 15, 31, 0.6); color: var(--on-dark-muted); font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 1024px) { .topbar { display: block; } }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.topbar__list { display: flex; align-items: center; gap: 1.75rem; }
.topbar__list a, .topbar__list span { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; transition: color var(--t-micro); }
.topbar__list a:hover { color: var(--gold-200); }
.topbar__list .icon { width: 15px; height: 15px; color: var(--gold-400); }
.social { display: flex; align-items: center; gap: 0.35rem; }
.social a {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: currentColor; transition: color var(--t-micro), background-color var(--t-micro), transform var(--t-ui) var(--ease-out);
}
.social a:hover { color: var(--gold-200); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.social .icon { width: 16px; height: 16px; }
.social--lg a { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.16); }
.social--lg .icon { width: 18px; height: 18px; }

.navbar {
  position: relative;
  transition: background-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), backdrop-filter 0.45s;
}
.navbar::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent); transition: opacity 0.45s; }
.navbar__inner { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; transition: height 0.45s var(--ease-out); }
.brand { position: relative; display: block; flex: none; height: 62px; aspect-ratio: 322 / 181; transition: height 0.45s var(--ease-out); }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity 0.45s var(--ease-out); }
.brand__dark { opacity: 0; }
@media (max-width: 1023px) { .brand { height: 50px; } }

.primary-nav { margin-left: auto; display: none; }
@media (min-width: 1180px) { .primary-nav { display: block; } }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.6rem 0.8rem; border-radius: 10px;
  color: var(--on-dark); font-weight: 600; font-size: 0.93rem; text-decoration: none; transition: color var(--t-micro);
}
.nav-link::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 1.5px; border-radius: 2px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: center; transition: transform var(--t-ui) var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item--active > .nav-link::after { transform: scaleX(1); }
.nav-link:hover { color: var(--gold-200); }
.dd-toggle { display: grid; place-items: center; width: 28px; height: 36px; margin-left: -0.55rem; color: var(--on-dark); border-radius: 8px; }
.dd-toggle .icon { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease-out); }
.has-dropdown:hover .dd-toggle .icon, .has-dropdown.is-open .dd-toggle .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: var(--z-dropdown);
  width: 380px; padding: 0.6rem; border-radius: var(--r-md);
  background: rgba(251, 248, 242, 0.96); color: var(--ink-900);
  border: 1px solid rgba(14, 53, 96, 0.08); box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.has-dropdown.is-closed .dropdown { opacity: 0; visibility: hidden; }
.dropdown a { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.8rem; border-radius: 14px; text-decoration: none; transition: background-color var(--t-micro); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--linen-100); }
.dropdown .icon-badge { width: 42px; height: 42px; border-radius: 12px; }
.dropdown .icon-badge .icon { width: 20px; height: 20px; }
.dropdown strong { display: block; font-size: 0.95rem; color: var(--navy-700); line-height: 1.3; }
.dropdown span { display: block; font-size: 0.82rem; color: var(--slate-600); line-height: 1.45; margin-top: 0.15rem; }

.navbar__actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
@media (min-width: 1180px) { .navbar__actions { margin-left: 0.75rem; } }
.navbar__actions .btn--refer { display: none; }
@media (min-width: 1280px) { .navbar__actions .btn--refer { display: inline-flex; } }
.btn--header-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.3); background: transparent; }
.btn--header-ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%); }
.btn--header-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.navbar__actions .btn--donate { display: none; }
@media (min-width: 560px) { .navbar__actions .btn--donate { display: inline-flex; } }
.menu-toggle {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  color: var(--white); border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06);
  transition: background-color var(--t-micro), color var(--t-ui), border-color var(--t-ui);
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.14); }
@media (min-width: 1180px) { .menu-toggle { display: none; } }

/* Scrolled state: topbar slides away, header shrinks to light glass */
.site-header.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }
.site-header.is-scrolled .navbar {
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 rgba(14, 53, 96, 0.06), 0 10px 30px -12px rgba(8, 30, 56, 0.22);
}
.site-header.is-scrolled .navbar::after { opacity: 0; }
.site-header.is-scrolled .navbar__inner { height: 68px; }
.site-header.is-scrolled .brand { height: 44px; }
.site-header.is-scrolled .brand__light { opacity: 0; }
.site-header.is-scrolled .brand__dark { opacity: 1; }
.site-header.is-scrolled .nav-link, .site-header.is-scrolled .dd-toggle { color: var(--navy-700); }
.site-header.is-scrolled .nav-link:hover { color: var(--gold-700); }
.site-header.is-scrolled .nav-link::after { background: var(--gold-600); }
.site-header.is-scrolled .btn--header-ghost { color: var(--navy-700); border-color: rgba(14, 53, 96, 0.25); }
.site-header.is-scrolled .menu-toggle { color: var(--navy-700); border-color: rgba(14, 53, 96, 0.18); background: rgba(14, 53, 96, 0.04); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled .navbar { background: var(--ivory-50); }
  .dropdown { background: var(--ivory-50); }
}
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column;
  background: var(--grad-night); color: var(--white);
  padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 64px; flex: none; }
.mobile-menu__top .brand { height: 46px; }
.mobile-menu__top .brand img { opacity: 1; }
.mobile-menu__close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--white); }
.mobile-menu nav { margin-top: 1.5rem; }
.mobile-menu__list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 80ms); }
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; }
.mobile-menu__list a { display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 0.25rem; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; text-decoration: none; color: var(--white); }
.mobile-menu__list a[aria-current="page"] { color: var(--gold-400); }
.mobile-menu__list a .icon { width: 20px; height: 20px; color: var(--gold-400); }
.mobile-menu__sub { padding: 0 0 0.75rem 0.25rem; display: grid; gap: 0.15rem; }
.mobile-menu__sub a { font-family: var(--font-body); font-size: 1rem; padding: 0.55rem 0; color: var(--on-dark-muted); }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1.25rem; }
.mobile-menu__foot .btn-row .btn { flex: 1 1 140px; }
.mobile-menu__contact { display: grid; gap: 0.5rem; color: var(--on-dark-muted); font-size: 0.95rem; }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; min-height: 44px; }
.mobile-menu__contact .icon { color: var(--gold-400); }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 720px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 clamp(9rem, 16vw, 12rem);
  background: var(--grad-night); color: var(--white);
}
.hero__glimmers { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__horizon { position: absolute; inset: auto 0 0 0; z-index: -3; height: min(56vh, 520px); }
.hero__horizon img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 100%; opacity: 0.85; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: -1; background: linear-gradient(to bottom, rgba(251, 248, 242, 0), var(--ivory-50)); }
.hero__inner { position: relative; }
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__script { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: var(--gold-200); margin-bottom: 0.75rem; }
.hero .h1 { color: var(--white); font-size: clamp(2.7rem, 1.4rem + 5vw, 6rem); }
.hero .h1 em { color: transparent; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; padding-right: 0.06em; }
.hero__lead { margin-top: 1.75rem; font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 560px; }
.hero__lead strong { color: var(--white); font-weight: 600; }
.hero .btn-row { margin-top: 2.5rem; }
.hero__cue {
  position: absolute; left: 50%; bottom: clamp(5.5rem, 10vw, 7rem); transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark-muted); text-decoration: none;
}
.hero__cue span { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--gold-400), transparent); position: relative; overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: cue 2.2s var(--ease-in-out) infinite; }
@media (min-width: 1024px) and (min-height: 760px) { .hero__cue { display: flex; } }

/* Layered 3D star mark */
.hero-mark {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; right: max(-12vw, calc((100vw - var(--container)) / 2 - 60px));
  width: min(70vw, 600px); aspect-ratio: 1;
  transform: translateY(-46%); perspective: 1000px; opacity: 0.32;
}
@media (min-width: 1024px) { .hero-mark { opacity: 1; width: min(44vw, 600px); right: max(1vw, calc((100vw - var(--container)) / 2 - 40px)); } }
.hero-mark__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease-out); }
.hero-mark__layer { position: absolute; inset: 0; }
.hero-mark__glow { transform: translateZ(-60px); background: radial-gradient(circle at 50% 55%, rgba(216, 178, 94, 0.38) 0%, rgba(216, 178, 94, 0.08) 38%, transparent 64%); animation: breathe 7s ease-in-out infinite; }
.hero-mark__rings { transform: translateZ(-30px); }
.hero-mark__rings svg { width: 100%; height: 100%; animation: spin 90s linear infinite; }
.hero-mark__star { transform: translateZ(40px); padding: 17%; }
.hero-mark__star svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 40px rgba(216, 178, 94, 0.35)); animation: float 8s ease-in-out infinite; }
.hero-mark__sparkle { position: absolute; width: 18px; height: 18px; color: var(--gold-200); animation: twinkle 3s ease-in-out infinite; }

/* Trust strip */
.trust {
  position: relative; z-index: 3; margin-top: calc(-1 * clamp(5rem, 9vw, 6.5rem));
}
.trust__bar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden;
  border-radius: var(--r-lg); background: rgba(14, 53, 96, 0.08);
  box-shadow: var(--shadow-xl); border: 1px solid rgba(255, 255, 255, 0.6);
}
@media (min-width: 1024px) { .trust__bar { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.4rem 1.5rem;
  background: rgba(251, 248, 242, 0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  font-size: 0.92rem; font-weight: 600; line-height: 1.35; color: var(--navy-700);
}
.trust__item .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.trust__item .icon-badge .icon { width: 21px; height: 21px; }
@media (max-width: 560px) { .trust__item { padding: 1.1rem; font-size: 0.85rem; gap: 0.7rem; } .trust__item .icon-badge { width: 38px; height: 38px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  min-height: clamp(30rem, 62vh, 40rem); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--navy-900);
}
.page-hero--short { min-height: clamp(24rem, 48vh, 30rem); }
.page-hero__media { position: absolute; inset: -8% 0 -8%; z-index: -3; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(42, 79, 122, 0.35), transparent 60%),
    linear-gradient(180deg, rgba(8, 30, 56, 0.9) 0%, rgba(8, 30, 56, 0.72) 45%, rgba(5, 15, 31, 0.94) 100%);
}
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: 0.6; }
.page-hero__star { position: absolute; z-index: -1; right: -4vw; top: 50%; width: min(48vw, 520px); color: var(--gold-400); opacity: 0.14; transform: translateY(-50%); pointer-events: none; }
.page-hero__star svg { width: 100%; height: auto; animation: spin 120s linear infinite; }
.page-hero .h1 { color: var(--white); font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); max-width: 16ch; }
.page-hero .h1 em { color: var(--gold-400); }
.page-hero .lead { color: var(--on-dark-muted); margin-top: 1.25rem; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; color: var(--on-dark-muted); font-size: 0.92rem; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.page-hero__meta .icon { color: var(--gold-400); width: 17px; height: 17px; }

.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol { padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--on-dark-muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--gold-400); border-right: 1.5px solid var(--gold-400); transform: rotate(45deg); margin-right: 0.35rem; }
.breadcrumb a { text-decoration: none; color: var(--on-dark); }
.breadcrumb a:hover { color: var(--gold-200); }
.breadcrumb [aria-current] { color: var(--gold-200); }

/* ---------- Media frames (layered depth) ---------- */
.frame { position: relative; isolation: isolate; }
.frame__img { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.frame--offset::before {
  content: ""; position: absolute; z-index: -1; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1.5px solid var(--gold-400); border-radius: var(--r-lg); opacity: 0.8;
}
.frame--offset-left::before { inset: 1.5rem 1.5rem -1.5rem -1.5rem; }
.frame__float {
  position: absolute; z-index: 2; overflow: hidden; border-radius: var(--r-md);
  border: 6px solid var(--ivory-50); box-shadow: var(--shadow-xl);
}
.frame__float img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { position: relative; padding: 0 0 4.5rem 0; }
.media-stack .frame__img { aspect-ratio: 4 / 5; width: 82%; }
.media-stack .frame__float { width: 52%; aspect-ratio: 1; right: 0; bottom: 0; }
.media-badge {
  position: absolute; z-index: 3; left: -0.5rem; bottom: 2rem;
  display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.25rem 1rem 1rem; border-radius: 18px;
  background: rgba(8, 30, 56, 0.82); color: var(--white); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.14);
  animation: float 7s ease-in-out infinite;
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--gold-400); font-weight: 500; }
.media-badge span:not(.icon-badge) { font-size: 0.8rem; color: var(--on-dark-muted); line-height: 1.3; display: block; margin-top: 0.2rem; }
@media (min-width: 768px) { .media-badge { left: -2rem; } }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: var(--r-md); border: 1px solid rgba(14, 53, 96, 0.07);
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}
a.card, .card--hover { text-decoration: none; color: inherit; cursor: pointer; }
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(174, 136, 52, 0.3); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--linen-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
a.card:hover .card__media img, .card--hover:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.6rem 1.6rem 1.75rem; flex: 1; }
.card__body .h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); }
.card__body p { color: var(--slate-600); }
.card__foot { margin-top: auto; padding-top: 0.5rem; }
.glass {
  background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-lg);
}
.glass-dark {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

/* Value cards */
.values { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; box-shadow: var(--shadow-lg); }
.value img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 30, 56, 0) 25%, rgba(8, 30, 56, 0.88) 100%); }
.value:hover img { transform: scale(1.06); }
.value__body { padding: 1.75rem; }
.value__body .h3 { color: var(--white); }
.value__body p { color: var(--on-dark-muted); margin-top: 0.5rem; font-size: 0.98rem; line-height: 1.6; }
.value__num { font-family: var(--font-display); font-style: italic; color: var(--gold-400); font-size: 1rem; margin-bottom: 0.35rem; display: block; }

/* Feature list (icon + text) */
.features { display: grid; gap: 1.5rem; }
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature h3, .feature .h4 { margin-bottom: 0.25rem; }
.feature p { color: var(--slate-600); line-height: 1.6; }
.on-dark .feature p, .section--night .feature p { color: var(--on-dark-muted); }
@media (min-width: 768px) { .features--2 { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; } }
@media (min-width: 1024px) { .features--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; } }

.checklist { display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; line-height: 1.55; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 0.22em;
  background: var(--grad-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ---------- Pathway (signature section) ---------- */
.pathway { --p: 0; }
.pathway__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pathway__track { position: relative; }
.pathway__list { display: grid; gap: 1.25rem; padding-left: 64px; }
.pathway__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.pathway__fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--gold-200), var(--gold-400), var(--gold-600)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 18px rgba(216, 178, 94, 0.6); }
.pathway__star { position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 30px; height: 30px; transform: translate(-50%, -50%); color: var(--gold-200); filter: drop-shadow(0 0 10px rgba(241, 223, 174, 0.9)); }
.pathway__star svg { width: 100%; height: 100%; animation: spin 10s linear infinite; }
.stage { position: relative; }
.stage__node {
  position: absolute; left: -64px; top: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-200);
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.5s var(--ease-out), color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-out);
}
.stage__node .icon { width: 24px; height: 24px; }
.stage__card { padding: 1.25rem 1.4rem; border-radius: var(--r-md); transition: border-color 0.5s, background-color 0.5s, transform 0.5s var(--ease-out); }
.stage__step { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); }
.stage__card .h3 { font-size: 1.25rem; margin-top: 0.35rem; }
.stage__card p { font-size: 0.94rem; color: var(--on-dark-muted); margin-top: 0.4rem; line-height: 1.55; }
.stage.is-active .stage__node { background: var(--grad-gold); color: var(--navy-900); border-color: transparent; box-shadow: 0 0 0 6px rgba(216, 178, 94, 0.14), 0 0 30px rgba(216, 178, 94, 0.5); transform: scale(1.06); }
.stage.is-active .stage__card { border-color: rgba(216, 178, 94, 0.4); background: rgba(255, 255, 255, 0.09); }
.pathway__window { display: none; }
.pathway__window-mobile { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; padding: 0.25rem 0.7rem; border-radius: var(--r-pill); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-900); background: var(--gold-200); }
.pathway__note { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }

@media (min-width: 1024px) {
  .pathway--pinned { height: 200vh; padding-block: 0; }
  .pathway--pinned .pathway__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav-h) - 10px); }
  .pathway__track { padding-top: 46px; }
  .pathway__list { grid-template-columns: repeat(6, 1fr); gap: 1rem; padding-left: 0; }
  .pathway__rail { left: calc(100% / 12); right: calc(100% / 12); top: 74px; bottom: auto !important; width: auto; height: 2px; }
  .pathway__fill { transform-origin: left; transform: scaleX(var(--p)); }
  .pathway__star { left: calc(var(--p) * 100%); top: 50%; }
  .stage { padding-top: 76px; }
  .stage__node { left: 50%; top: 0; transform: translateX(-50%); }
  .stage.is-active .stage__node { transform: translateX(-50%) scale(1.08); }
  .stage__card { text-align: center; padding: 1.25rem 1rem; height: 100%; }
  .stage__card .h3 { font-size: 1.12rem; }
  .stage__card p { font-size: 0.86rem; }
  .pathway__window {
    display: flex; flex-direction: column; align-items: center; position: absolute; top: 0;
    left: calc(100% / 6 + 0.5rem); width: calc(100% / 3 - 1rem);
  }
  .pathway__window span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-200); white-space: nowrap; }
  .pathway__window i { display: block; width: 100%; height: 14px; margin-top: 0.5rem; border: 1.5px solid rgba(216, 178, 94, 0.7); border-bottom: 0; border-radius: 6px 6px 0 0; }
  .pathway__window-mobile { display: none; }
}

/* ---------- Pillar tilt cards ---------- */
.pillars { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.tilt { transform-style: preserve-3d; perspective: 1000px; }
.pillar {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: var(--r-lg); background: var(--white); color: inherit; text-decoration: none;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(14, 53, 96, 0.07);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s var(--ease-out);
  cursor: pointer;
}
.pillar:hover { box-shadow: var(--shadow-xl); }
.pillar.is-tilting { transition: transform 0.12s linear, box-shadow 0.5s var(--ease-out); }
.pillar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(241, 223, 174, 0.35), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.pillar:hover::after { opacity: 1; }
.pillar__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; transform: translateZ(10px); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pillar:hover .pillar__media img { transform: scale(1.06); }
.pillar__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 30, 56, 0.55)); }
.pillar__num { position: absolute; z-index: 2; left: 1.5rem; bottom: 1rem; font-family: var(--font-display); font-style: italic; font-size: 3.2rem; line-height: 1; color: rgba(255, 255, 255, 0.92); }
.pillar__icon { position: relative; z-index: 4; align-self: flex-end; margin: -30px 1.5rem -30px 0; transform: translateZ(60px); }
.pillar__icon .icon-badge { width: 60px; height: 60px; border-radius: 18px; background: var(--grad-gold); color: var(--navy-900); box-shadow: var(--glow-gold); }
.pillar__body { padding: 2rem 1.75rem 1.9rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; transform: translateZ(30px); }
.pillar__body p { color: var(--slate-600); }
.pillar__body .link-arrow { margin-top: auto; padding-top: 0.5rem; align-self: flex-start; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, 0.1); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2.25rem 1.75rem; background: rgba(8, 30, 56, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color 0.4s; }
.stat:hover { background: rgba(14, 53, 96, 0.7); }
.stat__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 2.2rem + 3vw, 4.75rem); line-height: 1; letter-spacing: -0.03em; }
.stat__label { margin-top: 0.85rem; color: var(--on-dark-muted); font-size: 0.98rem; line-height: 1.5; }
.stat__label strong { display: block; color: var(--white); font-weight: 700; font-size: 1.05rem; }

/* ---------- Bento (who we serve) ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .bento__tile--feature { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 290px; }
  .bento__tile--feature { grid-row: span 2; }
  .bento__tile--wide { grid-column: span 2; }
}
.bento__tile {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-md); min-height: 260px;
  display: flex; align-items: flex-end; color: var(--white); text-decoration: none; box-shadow: var(--shadow-md);
}
.bento__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.bento__tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 30, 56, 0.05) 20%, rgba(8, 30, 56, 0.9) 100%); transition: background-color 0.5s; }
.bento__tile:hover img { transform: scale(1.07); }
.bento__body { padding: 1.6rem; transform: translateY(8px); transition: transform 0.5s var(--ease-out); }
.bento__tile:hover .bento__body { transform: translateY(0); }
.bento__tag { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; border-radius: var(--r-pill); background: var(--grad-gold); color: var(--navy-900); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }
.bento__body .h3 { color: var(--white); }
.bento__tile--feature .h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.bento__body p { margin-top: 0.4rem; color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.55; max-width: 46ch; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .reviews { grid-template-columns: 360px minmax(0, 1fr); gap: 3.5rem; align-items: start; } }
.reviews__panel { border-radius: var(--r-lg); padding: 2rem; }
@media (min-width: 1024px) { .reviews__panel { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }
.g-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.9rem 0.45rem 0.55rem; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 0.85rem; color: var(--ink-900); }
.g-badge svg { width: 22px; height: 22px; }
.rating { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.rating__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--navy-700); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-600); }
.stars .icon { width: 18px; height: 18px; }
.stars .icon--empty { color: var(--line); }
.reviews__panel .btn-row { margin-top: 1.5rem; }
.reviews__panel .btn { flex: 1 1 100%; }
.reviews__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.carousel.is-static .carousel__nav { visibility: hidden; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab {
  min-height: 44px; padding: 0.6rem 1.1rem; border-radius: var(--r-pill);
  border: 1px solid rgba(14, 53, 96, 0.16); background: var(--white); color: var(--navy-700);
  font-weight: 700; font-size: 0.88rem; transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui), box-shadow var(--t-ui);
}
.tab:hover { border-color: var(--gold-600); }
.tab[aria-selected="true"] { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); box-shadow: var(--shadow-md); }
.tab .count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; margin-left: 0.35rem; padding: 0 0.35em; border-radius: var(--r-pill); font-size: 0.75rem; background: rgba(14, 53, 96, 0.08); }
.tab[aria-selected="true"] .count { background: rgba(255, 255, 255, 0.18); }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 420px); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 0.5rem 2px 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--gold-400) transparent;
}
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 0.5rem; }
.carousel__nav button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(14, 53, 96, 0.18); color: var(--navy-700); background: var(--white); transition: background-color var(--t-ui), color var(--t-ui), opacity var(--t-ui); }
.carousel__nav button:hover:not(:disabled) { background: var(--navy-700); color: var(--white); }
.carousel__nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.review-card {
  position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.75rem 1.6rem; border-radius: var(--r-md);
  background: var(--white); border: 1px solid rgba(14, 53, 96, 0.07); box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), opacity 0.35s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-card.is-filtering { opacity: 0; transform: translateY(10px); }
.review-card__quote { width: 38px; height: 30px; color: var(--gold-400); }
.review-card blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.6; color: var(--ink-900); }
.review-card__text { display: -webkit-box; -webkit-line-clamp: 7; line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-card.is-expanded .review-card__text { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.review-card__more { align-self: flex-start; font-weight: 700; font-size: 0.85rem; color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.review-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review-card__author { display: flex; align-items: center; gap: 0.75rem; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-gold); color: var(--navy-900); font-weight: 800; font-size: 0.95rem; flex: none; }
.review-card__author strong { display: block; font-size: 0.95rem; color: var(--navy-700); }
.review-card__author span:not(.avatar) { display: block; font-size: 0.8rem; color: var(--slate-600); }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.65rem; border-radius: var(--r-pill); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; background: var(--linen-100); color: var(--navy-700); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; }
.chip--gold { background: var(--gold-100); color: var(--gold-700); }
.review-empty { display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; padding: 2rem 1.75rem; border-radius: var(--r-md); border: 1.5px dashed rgba(174, 136, 52, 0.5); background: rgba(248, 239, 214, 0.45); min-height: 280px; }
.review-empty .h3 { font-size: 1.35rem; }
.review-empty p { color: var(--slate-600); }

/* ---------- Video ---------- */
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-xl); aspect-ratio: 16 / 9; }
.video--portrait { aspect-ratio: 4 / 5; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; color: var(--white); cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter 0.6s; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 30, 56, 0.1), rgba(8, 30, 56, 0.75)); }
.video-facade:hover img { transform: scale(1.04); }
.video-facade__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: var(--grad-gold); color: var(--navy-900); box-shadow: var(--glow-gold);
  transition: transform 0.4s var(--ease-out);
}
.video-facade__play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(241, 223, 174, 0.6); animation: pulse-ring 2.4s var(--ease-out) infinite; }
.video-facade__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video-facade:hover .video-facade__play { transform: translate(-50%, -50%) scale(1.08); }
.video-facade__label { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; text-align: left; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.video-facade__label small { display: block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-200); margin-bottom: 0.25rem; }

/* ---------- Story feature ---------- */
.story { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .story { grid-template-columns: 1.15fr 0.85fr; gap: 0; } }
.story__quote { position: relative; z-index: 2; border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.75rem); }
@media (min-width: 1024px) { .story__quote { margin-left: -5rem; } }
.story__quote .review-card__quote { width: 46px; height: 36px; margin-bottom: 1rem; }
.story__quote blockquote { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.5; color: var(--navy-700); }
.story__quote figcaption { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--navy-700); }
.story__quote figcaption span:not(.avatar) { display: block; font-weight: 500; font-size: 0.85rem; color: var(--slate-600); }

/* Testimonial long-form */
.testimonial { position: relative; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--r-lg); }
.testimonial__mark { position: absolute; top: clamp(1.25rem, 3vw, 2rem); right: clamp(1.25rem, 3vw, 2.5rem); width: clamp(60px, 8vw, 96px); color: var(--gold-200); opacity: 0.9; }
.testimonial p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.65; color: var(--ink-900); }
.testimonial p + p { margin-top: 1.1rem; }
.testimonial__by { display: flex; align-items: center; gap: 0.85rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.testimonial__by strong { display: block; color: var(--navy-700); }
.testimonial__by span:not(.avatar) { display: block; font-size: 0.85rem; color: var(--slate-600); }
.testimonial p:first-of-type::first-letter { float: left; font-size: 4.2em; line-height: 0.85; padding: 0.06em 0.08em 0 0; color: var(--gold-600); font-weight: 500; }

/* ---------- Founders ---------- */
.meaning { display: inline-flex; flex-direction: column; gap: 0.25rem; padding: 1.25rem 1.5rem; border-left: 2px solid var(--gold-400); background: linear-gradient(90deg, var(--gold-100), transparent); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.meaning strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--navy-700); line-height: 1.1; }
.meaning strong i { font-style: normal; color: var(--slate-600); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; margin-left: 0.5rem; letter-spacing: 0.05em; }
.meaning span { color: var(--slate-600); font-size: 0.98rem; }
.pull-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); line-height: 1.35; color: var(--navy-700); }
.pull-quote::before { content: "\201C"; color: var(--gold-600); }
.pull-quote::after { content: "\201D"; color: var(--gold-600); }
.signature { font-family: var(--font-script); font-size: 2.2rem; color: var(--gold-700); line-height: 1.1; }

/* ---------- Donation tiers ---------- */
.tiers { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier {
  position: relative; display: flex; flex-direction: column; text-align: left; height: 100%;
  border-radius: var(--r-md); overflow: hidden; background: var(--white); color: inherit; text-decoration: none;
  border: 1.5px solid rgba(14, 53, 96, 0.08); box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
  cursor: pointer;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.tier[aria-pressed="true"] { border-color: var(--gold-600); box-shadow: var(--glow-gold), var(--shadow-lg); }
.tier__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tier__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.tier:hover .tier__media img { transform: scale(1.06); }
.tier__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 30, 56, 0.85)); }
.tier__amount { position: absolute; z-index: 2; left: 1.25rem; bottom: 0.9rem; font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--white); letter-spacing: -0.02em; }
.tier__amount sup { font-size: 0.5em; vertical-align: super; color: var(--gold-200); margin-right: 2px; }
.tier__check { position: absolute; z-index: 2; top: 0.9rem; right: 0.9rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--navy-900); transform: scale(0); transition: transform 0.4s var(--ease-out); }
.tier__check .icon { width: 18px; height: 18px; stroke-width: 2.5; }
.tier[aria-pressed="true"] .tier__check { transform: scale(1); }
.tier__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.tier__body strong { font-size: 1.05rem; color: var(--navy-700); line-height: 1.35; }
.tier__body span { font-size: 0.92rem; color: var(--slate-600); line-height: 1.55; }
.give-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem 1.75rem; border-radius: var(--r-md); }
.give-panel p { font-weight: 600; color: var(--navy-700); }
.give-panel p span { color: var(--gold-700); }

/* ---------- News ---------- */
.news-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card .card__media { aspect-ratio: 1 / 1; }
.news-card .card__media img { object-position: top center; }
.news-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.82rem; color: var(--slate-600); }
.news-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.news-meta .icon { width: 15px; height: 15px; color: var(--gold-600); }
.news-feature { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; transition: box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.news-feature:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
@media (min-width: 900px) { .news-feature { grid-template-columns: 0.9fr 1.1fr; } }
.news-feature__media { position: relative; min-height: 320px; overflow: hidden; background: var(--linen-100); }
.news-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease-out); }
.news-feature:hover .news-feature__media img { transform: scale(1.04); }
.news-feature__body { padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.news-feature__body .h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.6rem); }

/* ---------- Prose (blog posts / legal) ---------- */
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--ink-900); }
.prose > * + * { margin-top: 1.35rem; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.2; color: var(--navy-700); margin-top: 2.75rem; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--navy-700); margin-top: 2rem; }
.prose ul:not([class]) { padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.prose ul:not([class]) li { position: relative; padding-left: 1.85rem; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; background: var(--grad-gold); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.prose a { color: var(--navy-700); font-weight: 600; text-decoration-color: var(--gold-400); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--gold-700); }
.prose blockquote { position: relative; padding: 1.5rem 1.75rem; border-left: 3px solid var(--gold-400); background: linear-gradient(90deg, var(--gold-100), rgba(248, 239, 214, 0)); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--navy-700); }
.prose figure img { border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.prose figcaption { margin-top: 0.75rem; font-size: 0.88rem; color: var(--slate-600); text-align: center; }
.prose strong { color: var(--navy-700); }
.prose .lede { font-size: 1.3rem; line-height: 1.65; color: var(--slate-600); }
.post-layout { display: grid; gap: 3rem; }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4.5rem; align-items: start; } }
.post-aside { display: grid; gap: 1.25rem; }
@media (min-width: 1100px) { .post-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }
.aside-card { padding: 1.5rem; border-radius: var(--r-md); }
.aside-card .h4 { margin-bottom: 0.75rem; }
.share { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share a, .share button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(14, 53, 96, 0.16); color: var(--navy-700); background: var(--white); transition: background-color var(--t-ui), color var(--t-ui), transform var(--t-ui) var(--ease-out); }
.share a:hover, .share button:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }
.share .icon { width: 18px; height: 18px; }
.post-hero-img { margin-top: calc(-1 * clamp(3rem, 6vw, 4.5rem)); position: relative; z-index: 2; }
.post-hero-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-xl); width: 100%; max-height: 640px; object-fit: contain; background: var(--linen-100); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; display: grid; gap: 2.25rem; padding-left: 2.25rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(180deg, var(--gold-400), rgba(216, 178, 94, 0.15)); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: calc(-2.25rem + 0px); top: 0.35rem; width: 16px; height: 16px; background: var(--grad-gold); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.timeline__date { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); }
.on-dark .timeline__date, .section--night .timeline__date { color: var(--gold-400); }
.timeline__item .h3 { font-size: 1.3rem; margin-top: 0.25rem; }
.timeline__item p { color: var(--slate-600); margin-top: 0.35rem; }
.section--night .timeline__item p { color: var(--on-dark-muted); }
@media (min-width: 900px) { .timeline--split { grid-template-columns: repeat(2, 1fr); column-gap: 3.5rem; } }

/* ---------- Choice cards / forms ---------- */
.form-shell { position: relative; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-shell .h3 { margin-bottom: 0.4rem; }
.form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px; padding: 1.45rem 1rem 0.5rem; border-radius: var(--r-sm);
  border: 1px solid #d6cbb8; background: rgba(255, 255, 255, 0.9); color: var(--ink-900); font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t-micro), box-shadow var(--t-ui), background-color var(--t-ui);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; padding-top: 1.7rem; }
.field select { padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; cursor: pointer; }
.field label {
  position: absolute; left: 1rem; top: 1.05rem; right: 1rem; pointer-events: none;
  color: var(--slate-600); font-size: 1rem; line-height: 1.2; transform-origin: left top; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: transform var(--t-ui) var(--ease-out), color var(--t-ui);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(216, 178, 94, 0.22); background: var(--white); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label, .field--float label { transform: translateY(-0.62rem) scale(0.76); color: var(--gold-700); font-weight: 700; letter-spacing: 0.02em; }
.field .req { color: var(--danger); }
.field__hint { margin-top: 0.35rem; font-size: 0.82rem; color: var(--slate-600); }
.field__error { margin-top: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--danger); display: none; align-items: center; gap: 0.35rem; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1); }
.field.is-invalid .field__error, .fieldset.is-invalid .field__error, .check-wrap.is-invalid .field__error { display: flex; }
.check-wrap.is-invalid .check input, .fieldset.is-invalid .choice { border-color: var(--danger); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { font-weight: 700; color: var(--navy-700); margin-bottom: 0.75rem; font-size: 0.98rem; padding: 0; }
.choices { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .choices--2 { grid-template-columns: 1fr 1fr; } .choices--3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.1rem 1.15rem; border-radius: var(--r-sm); border: 1.5px solid #d6cbb8; background: rgba(255, 255, 255, 0.9); cursor: pointer; transition: border-color var(--t-ui), box-shadow var(--t-ui), background-color var(--t-ui); }
.choice:hover { border-color: var(--gold-600); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__dot { flex: none; width: 22px; height: 22px; margin-top: 0.1rem; border-radius: 50%; border: 1.5px solid #b9ab92; display: grid; place-items: center; transition: border-color var(--t-ui); }
.choice__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-600); transform: scale(0); transition: transform var(--t-ui) var(--ease-out); }
.choice strong { display: block; color: var(--navy-700); line-height: 1.35; }
.choice span:not(.choice__dot) { display: block; font-size: 0.86rem; color: var(--slate-600); line-height: 1.45; margin-top: 0.15rem; }
.choice:has(input:checked) { border-color: var(--gold-600); background: var(--gold-100); box-shadow: 0 0 0 3px rgba(216, 178, 94, 0.2); }
.choice:has(input:checked) .choice__dot { border-color: var(--gold-600); }
.choice:has(input:checked) .choice__dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.choice--compact { padding: 0.8rem 1rem; align-items: center; }
.check { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; color: var(--slate-600); line-height: 1.5; cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin-top: 0.05rem; border-radius: 7px;
  border: 1.5px solid #b9ab92; background: var(--white); display: grid; place-content: center; cursor: pointer;
  transition: border-color var(--t-ui), background-color var(--t-ui);
}
.check input::before { content: ""; width: 16px; height: 16px; background: var(--navy-900); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transform: scale(0) rotate(-72deg); transition: transform 0.4s var(--ease-out); }
.check input:checked { background: var(--grad-gold); border-color: var(--gold-600); }
.check input:checked::before { transform: scale(1) rotate(0); }
.check a { color: var(--navy-700); font-weight: 600; }
.field.is-invalid .check input, .check.is-invalid input { border-color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; padding: 1rem 1.15rem; border-radius: var(--r-sm); font-size: 0.95rem; line-height: 1.5; }
.form__status.is-error { display: block; background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; }
.form__status.is-success { display: block; background: #e8f5ee; color: #14573a; border: 1px solid #b8dfc8; }
.form__status a { font-weight: 700; color: inherit; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.form__note { font-size: 0.85rem; color: var(--slate-600); display: inline-flex; align-items: center; gap: 0.4rem; }
.form__note .icon { width: 16px; height: 16px; color: var(--gold-600); }

/* ---------- Contact cards ---------- */
.contact-list { display: grid; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); text-decoration: none; color: inherit; transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui), background-color var(--t-ui); }
a.contact-item:hover { transform: translateX(4px); }
.contact-item small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-700); }
.contact-item strong { display: block; font-size: 1.02rem; color: var(--navy-700); line-height: 1.45; font-weight: 700; }
.section--night .contact-item small, .on-dark .contact-item small { color: var(--gold-400); }
.section--night .contact-item strong, .on-dark .contact-item strong { color: var(--white); }
.contact-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.75rem; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-md); border: 1px solid rgba(14, 53, 96, 0.07); text-decoration: none; color: inherit; transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.contact-card small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); }
.contact-card strong { font-size: 1.1rem; color: var(--navy-700); line-height: 1.4; overflow-wrap: anywhere; }
.contact-card span { font-size: 0.9rem; color: var(--slate-600); }

/* ---------- Accordion ---------- */
.faq { display: grid; gap: 0.85rem; }
.faq details { border-radius: var(--r-md); background: var(--white); border: 1px solid rgba(14, 53, 96, 0.08); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-ui), border-color var(--t-ui); overflow: hidden; interpolate-size: allow-keywords; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: rgba(174, 136, 52, 0.35); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; min-height: 64px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; color: var(--navy-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--linen-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6a25' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--gold-100); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq__body { padding: 0 1.5rem 1.4rem; color: var(--slate-600); line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; }
.cta-band .h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.2rem); }
.cta-band .lead { margin: 1.25rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 2.25rem; }
.cta-band__star { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--gold-400); filter: drop-shadow(0 0 22px rgba(216, 178, 94, 0.6)); animation: float 6s ease-in-out infinite; }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.floaters i { position: absolute; display: block; width: var(--s, 10px); height: var(--s, 10px); background: var(--gold-200); opacity: 0.5; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: drift var(--d, 12s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
.floaters i.leaf { background: var(--gold-400); clip-path: ellipse(22% 50% at 50% 50%); opacity: 0.22; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(4rem, 8vw, 6rem); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 178, 94, 0.6), transparent); }
.footer-grid { display: grid; gap: 2.75rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; } }
.footer-brand .brand { height: 72px; }
.footer-brand .brand img { opacity: 1; }
.footer-brand p { margin-top: 1.25rem; max-width: 34ch; line-height: 1.65; }
.footer-brand .social { margin-top: 1.5rem; color: var(--white); }
.footer-col h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: 0.15rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--on-dark-muted); transition: color var(--t-micro), transform var(--t-ui) var(--ease-out); }
.footer-links a:hover { color: var(--gold-200); transform: translateX(3px); }
.footer-contact { display: grid; gap: 0.85rem; }
.footer-contact a, .footer-contact span { display: flex; gap: 0.75rem; align-items: flex-start; text-decoration: none; line-height: 1.5; color: var(--on-dark-muted); transition: color var(--t-micro); }
.footer-contact a:hover { color: var(--gold-200); }
.footer-contact .icon { margin-top: 0.2em; color: var(--gold-400); width: 18px; height: 18px; }
.footer-note { margin-top: 1.25rem; padding: 0.9rem 1rem; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: space-between; font-size: 0.86rem; }
.footer-bottom a { color: var(--on-dark); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-200); text-decoration: underline; }
.footer-credit a { color: var(--gold-400); font-weight: 700; }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* ---------- Floating UI ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(251, 248, 242, 0.88); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid rgba(14, 53, 96, 0.08); box-shadow: 0 -10px 30px -12px rgba(8, 30, 56, 0.25);
  transform: translateY(110%); transition: transform 0.45s var(--ease-out);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; border-radius: 14px; font-weight: 800; font-size: 0.95rem; text-decoration: none; }
.mobile-bar .icon { width: 20px; height: 20px; }
.mobile-bar__call { background: var(--navy-700); color: var(--white); }
.mobile-bar__wa { background: var(--whatsapp); color: var(--navy-900); }
@media (min-width: 768px) { .mobile-bar { display: none; } }
body.menu-open .mobile-bar { transform: translateY(110%); }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: var(--z-float);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-200); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity var(--t-ui), transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--navy-700); }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 2; }
.to-top .ring .ring__track { stroke: rgba(255, 255, 255, 0.12); }
.to-top .ring .ring__bar { stroke: var(--gold-400); stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--progress, 0)); }
.to-top .icon { width: 20px; height: 20px; }
@media (max-width: 767px) { .to-top { bottom: calc(82px + env(safe-area-inset-bottom)); right: 0.9rem; width: 48px; height: 48px; } }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: var(--z-toast);
  padding: 0.85rem 1.25rem; border-radius: var(--r-pill); background: var(--navy-900); color: var(--white); font-weight: 600; font-size: 0.92rem;
  box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 0.6rem;
  transform: translate(-50%, 150%); transition: transform 0.45s var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast .icon { color: var(--gold-400); }
@media (max-width: 767px) { .toast { bottom: calc(90px + env(safe-area-inset-bottom)); } }

/* ---------- Misc blocks ---------- */
.callout { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem 1.75rem; border-radius: var(--r-md); background: var(--white); border: 1px solid rgba(174, 136, 52, 0.25); box-shadow: var(--shadow-sm); }
.callout p { color: var(--slate-600); }
@media (max-width: 560px) { .callout { flex-direction: column; padding: 1.4rem; } }
.callout strong { color: var(--navy-700); }
.address-card { padding: 2rem; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.address-card address { font-style: normal; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; color: var(--navy-700); margin-top: 0.75rem; }
.partners { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.partners li { padding: 0.65rem 1.1rem; border-radius: var(--r-pill); background: var(--white); border: 1px solid rgba(14, 53, 96, 0.1); font-weight: 600; font-size: 0.92rem; color: var(--navy-700); box-shadow: var(--shadow-sm); transition: transform var(--t-ui) var(--ease-out), border-color var(--t-ui); }
.partners li:hover { transform: translateY(-2px); border-color: var(--gold-400); }
.stage-highlight { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stage-highlight li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 700; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--on-dark-muted); }
.stage-highlight li.is-current { background: var(--grad-gold); color: var(--navy-900); border-color: transparent; box-shadow: var(--glow-gold); }
.stage-highlight li + li::before { content: none; }
.notice-404 { font-family: var(--font-display); font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: 0.9; }

/* ---------- Reveal & motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--r-lg)); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-visible { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.reveal-fallback [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi) * 55ms + 350ms); }
.is-loaded .split-words .w > span { transform: none; }
.js .hero-in { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.is-loaded .hero-in { opacity: 1; transform: none; }
.js .hero-mark { opacity: 0; transition: opacity 1.6s var(--ease-out) 150ms; }
.js.is-loaded .hero-mark { opacity: 0.32; }
@media (min-width: 1024px) { .js.is-loaded .hero-mark { opacity: 1; } }
[data-speed] { will-change: auto; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: translateZ(-60px) scale(1); } 50% { opacity: 1; transform: translateZ(-60px) scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.35; transform: scale(0.75) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }
@keyframes cue { 0% { top: -40%; } 100% { top: 110%; } }
@keyframes pulse-ring { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 33% { transform: translate3d(14px, -22px, 0) rotate(40deg); } 66% { transform: translate3d(-10px, -8px, 0) rotate(-20deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero-in { opacity: 1; transform: none; clip-path: none; transition: opacity 0.2s linear !important; }
  .js .split-words .w > span { transform: none; }
  .js .hero-mark { opacity: 0.32; }
  @media (min-width: 1024px) { .js .hero-mark { opacity: 1; } }
  .pathway--pinned { height: auto !important; padding-block: var(--section-pad) !important; }
  .pathway--pinned .pathway__sticky { position: static !important; height: auto !important; }
  .pillar { transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .to-top, .cta-band, .hero__glimmers, .floaters { display: none !important; }
  .page-hero, .hero { min-height: 0; padding-top: 2rem; background: none; color: #000; }
  .page-hero .h1, .hero .h1 { color: #000; }
}

/* ---------- Social gallery (Facebook posts) ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gallery__tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-md); transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery__tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.gallery__tile:hover img { transform: scale(1.05); }
.gallery__over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 30, 56, 0.55); color: var(--white); opacity: 0; transition: opacity var(--t-ui); }
.gallery__over .icon { width: 34px; height: 34px; }
.gallery__tile:hover .gallery__over, .gallery__tile:focus-visible .gallery__over { opacity: 1; }
.poster { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4 / 5; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.poster-pair .poster:nth-child(2) { margin-top: 3rem; }
