/* ============================================================
   FLTA — Financial Liberation Training Academy
   Shared design system
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:        #060606;
  --bg-2:      #0d0d0f;
  --bg-3:      #131316;
  --fg:        #ffffff;
  --muted:     rgba(255,255,255,0.62);
  --muted-2:   rgba(255,255,255,0.42);
  --line:      rgba(255,255,255,0.12);
  --line-2:    rgba(255,255,255,0.07);
  --gold:      #E6B450;
  --gold-2:    #C9923A;
  --gold-soft: rgba(230,180,80,0.14);

  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans:  'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --maxw: 1280px;
  --radius: 18px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  opacity: 0.04; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }
.divider { height: 1px; background: var(--line-2); border: 0; }

/* eyebrow / section label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .rule { width: 2.4rem; height: 1px; background: var(--gold); opacity: 0.6; }
.eyebrow .num { color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* headings */
.display {
  font-family: var(--font-serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 6vw, 5rem);
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  text-wrap: balance;
}
.h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; }
.italic { font-style: italic; }
.gold { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.7; max-width: 60ch; }
.muted { color: var(--muted); }
p + p { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem; border-radius: 50px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: #1a1300; }
.btn-gold:hover { background: #f0c468; transform: translateY(-2px); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }
.btn-lg { padding: 1.1rem 2rem; font-size: 0.8rem; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.textlink svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6,6,6,0.82);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: var(--line-2);
}
.header-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo img { height: 34px; width: auto; }
@media (max-width: 600px){ .header-logo img { height: 28px; } }

.nav { display: none; align-items: center; gap: 0.2rem; background: rgba(255,255,255,0.045); border: 1px solid var(--line-2); border-radius: 50px; padding: 0.3rem; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
@media (min-width: 1024px){ .nav { display: flex; } }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 1rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(255,255,255,0.82);
  background: none; border: none; transition: color 0.25s, background 0.3s;
}
.nav-link:hover, .nav-item:hover .nav-link { color: #fff; background: rgba(255,255,255,0.07); }
.nav-link.active { color: #1a1300; }
.nav-link .chev { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.3s var(--ease); }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }
.nav-link.active::after { content: none; }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: rgba(13,13,16,0.96); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 16px; padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; flex-direction: row; align-items: center; gap: 0.85rem;
  padding: 0.7rem 0.85rem; border-radius: 12px; transition: background 0.2s, transform 0.25s var(--ease);
}
.dropdown a:hover { transform: translateX(3px); }
.dropdown .dico {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  background: var(--grad-soft); border: 1px solid rgba(247,212,136,0.22); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.dropdown .dico svg { width: 17px; height: 17px; }
.dropdown a:hover .dico { background: var(--grad); color: #1a1300; transform: rotate(-6deg) scale(1.08); }
.dropdown .dtext { display: flex; flex-direction: column; gap: 2px; }
.dropdown a:hover { background: rgba(255,255,255,0.05); }
.dropdown a strong { font-size: 0.9rem; font-weight: 600; color: #fff; }
.dropdown a span { font-size: 0.76rem; color: var(--muted-2); }

.header-cta { display: none; align-items: center; gap: 0.6rem; }
@media (min-width: 1024px){ .header-cta { display: flex; } }

/* burger */
.burger {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
@media (min-width: 1024px){ .burger { display: none; } }
.burger span { width: 26px; height: 2px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.2s; }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--bg);
  padding: calc(var(--header-h) + 1.5rem) clamp(1.2rem,5vw,2.5rem) 2rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-group { border-top: 1px solid var(--line-2); padding: 1.1rem 0; }
.mobile-group:first-child { border-top: none; }
.mobile-group > a, .mobile-grouptitle {
  display: block; font-family: var(--font-serif); font-size: 1.8rem; color: #fff; line-height: 1.1;
}
.mobile-sub { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.6rem; }
.mobile-sub a { color: var(--muted); font-size: 1rem; padding: 0.35rem 0; }
.mobile-sub a:hover { color: var(--gold); }
.mobile-cta { display: flex; gap: 0.7rem; margin-top: 1.6rem; flex-wrap: wrap; }
body.no-scroll { overflow: hidden; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 6rem));
  padding-bottom: clamp(2.5rem, 6vw, 5rem); overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero-eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.015em; line-height: 0.98; font-size: clamp(2.8rem, 8vw, 6.5rem); text-wrap: balance; }
.page-hero .intro { margin-top: 1.8rem; max-width: 56ch; }
.page-hero-actions { display: flex; gap: 0.8rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* hero with background image */
.page-hero--media { min-height: clamp(440px, 72vh, 760px); display: flex; align-items: flex-end; }
.page-hero--media .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--media .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--media .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6,6,6,0.96) 2%, rgba(6,6,6,0.5) 38%, rgba(6,6,6,0.25) 70%, rgba(6,6,6,0.55) 100%),
    linear-gradient(to right, rgba(6,6,6,0.7) 0%, rgba(6,6,6,0.05) 60%);
}

/* breadcrumb */
.crumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 1.2rem; text-transform: uppercase; }
.crumb a:hover { color: var(--gold); }
.crumb span { opacity: 0.5; }

/* ============================================================
   SPLIT (image + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px){ .split { grid-template-columns: 1fr 1fr; } .split--wide-text { grid-template-columns: 0.9fr 1.1fr; } }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.split-media { transition: transform 0.5s var(--ease); }
.split-media:hover { transform: translateY(-4px); }
.split.reverse .split-media { order: -1; }
@media (min-width: 900px){ .split.reverse .split-media { order: 2; } }
.split-body h2 { margin-bottom: 1.3rem; }
.split-body .eyebrow { margin-bottom: 1.3rem; }
.split-body .actions { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.badge-float {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--gold); color: #1a1300; padding: 0.45rem 0.9rem; border-radius: 50px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px){ .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.stat b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.95; color: #fff; }
.stat b .unit { color: var(--gold); }
.stat span { display: block; margin-top: 0.6rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.stat b span { display: inline; font-size: inherit; color: inherit; margin: 0; letter-spacing: inherit; text-transform: none; }

.stat-inline { display: flex; flex-wrap: wrap; gap: clamp(1.8rem, 5vw, 3.5rem); }
.stat-inline .s b { display: block; font-family: var(--font-serif); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.stat-inline .s span { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.3rem; display: block; }

/* ============================================================
   CARDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 700px){ .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 760px){ .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* photo card */
.pcard { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.7rem; isolation: isolate; border: 1px solid var(--line-2); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,0.92) 6%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15)); }
.pcard:hover img { transform: scale(1.05); }
.pcard .idx { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); margin-bottom: auto; }
.pcard h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem; margin: 0.7rem 0 0.5rem; }
.pcard p { color: rgba(255,255,255,0.78); font-size: 0.94rem; line-height: 1.55; }

/* program teaser card */
.tcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); transition: border-color 0.4s, transform 0.4s var(--ease); }
.tcard:hover { border-color: rgba(255,255,255,0.28); transform: translateY(-4px); }
.tcard .timg { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-3); }
.tcard .timg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 1s var(--ease); }
.tcard:hover .timg img { transform: scale(1.05); }
.tcard .tbody { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.tcard .ttag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.tcard h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.12; margin-bottom: 0.6rem; }
.tcard p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; flex: 1; }
.tcard .textlink { margin-top: 1.2rem; }

/* news card */
.ncard { display: flex; flex-direction: column; }
.ncard .nimg { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 1.1rem; background: var(--bg-3); }
.ncard .nimg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 1s var(--ease); }
.ncard:hover .nimg img { transform: scale(1.05); }
.ncard .ntag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.ncard h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.18; margin-bottom: 0.55rem; }
.ncard p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* feature list rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; padding: 1.8rem 0.3rem; border-bottom: 1px solid var(--line); transition: padding 0.45s var(--ease), background 0.45s; }
a.row:hover, .row.link:hover { padding-inline: 1.2rem; background: rgba(255,255,255,0.03); }
.row .rnum { font-family: var(--font-serif); color: var(--gold); font-size: 1.15rem; min-width: 2.4rem; }
.row .rmid h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.3rem, 2.5vw, 1.95rem); line-height: 1.1; }
.row .rmid p { color: var(--muted); font-size: 0.93rem; margin-top: 0.4rem; max-width: 70ch; line-height: 1.55; }
.row .rarrow svg { width: 26px; height: 26px; color: var(--muted-2); transition: transform 0.4s var(--ease), color 0.4s; }
a.row:hover .rarrow svg, .row.link:hover .rarrow svg { transform: translate(5px,-5px); color: var(--gold); }

/* checklist / bullets */
.checklist { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 700px){ .checklist.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--muted); line-height: 1.5; }
.checklist li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--gold-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E6B450' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 13px; }
.checklist li strong { color: #fff; font-weight: 600; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { border: 1px solid var(--line); border-radius: 50px; padding: 0.5rem 1rem; font-size: 0.82rem; color: var(--muted); }

/* quote / testimonial */
.quote { border-left: 2px solid var(--gold); padding-left: 1.6rem; }
.quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; color: #fff; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* facility groups (where we serve) */
.facilities { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 760px){ .facilities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .facilities { grid-template-columns: repeat(3, 1fr); } }
.facility { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: var(--bg-2); }
.facility h4 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.facility ul { display: flex; flex-direction: column; gap: 0.55rem; }
.facility li { color: var(--muted); font-size: 0.95rem; padding-left: 1rem; position: relative; }
.facility li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* zones (homeless prevention) */
.zone { border-radius: var(--radius); padding: 1.7rem; border: 1px solid var(--line); position: relative; overflow: hidden; }
.zone .zdot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 1rem; }
.zone h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 0.7rem; }
.zone p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.zone--green .zdot { background: #57c47d; box-shadow: 0 0 16px #57c47d88; }
.zone--yellow .zdot { background: var(--gold); box-shadow: 0 0 16px #E6B45088; }
.zone--red .zdot { background: #e0584f; box-shadow: 0 0 16px #e0584f88; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(4.5rem, 11vw, 9rem); }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 100% at 50% 50%, rgba(6,6,6,0.7), var(--bg) 92%); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { margin: 1.4rem auto 1.4rem; max-width: 20ch; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 2.3rem; }
.cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding-block: 1.4rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track .m { padding-inline: 2.2rem; color: var(--muted-2); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.2rem; }
.marquee-track .m::after { content: "✦"; color: var(--gold); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   FORMS
   ============================================================ */
.form-layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 980px){ .form-layout { grid-template-columns: 0.85fr 1.15fr; } }
.form-aside h2 { margin-bottom: 1.2rem; }
.form-aside .eyebrow { margin-bottom: 1.2rem; }
.form-aside .contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.form-aside .contact-list a, .form-aside .contact-list div { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--muted); }
.form-aside .contact-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.form-aside .contact-list strong { display: block; color: #fff; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2px; }

.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.8rem); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); margin-bottom: 0.55rem; }
.field label .req { color: var(--gold); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; color: #fff; font-family: inherit; font-size: 0.95rem; transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #0a0a0a; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E6B450' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
@media (min-width: 640px){ .field-row.two { grid-template-columns: 1fr 1fr; } }
.field-hint { font-size: 0.78rem; color: var(--muted-2); margin-top: 0.4rem; }

.check-grid { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 560px){ .check-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.check {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
  font-size: 0.9rem; color: var(--muted); user-select: none;
}
.check:hover { border-color: rgba(255,255,255,0.3); }
.check input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--line); border-radius: 5px; flex-shrink: 0; transition: background 0.2s, border-color 0.2s; position: relative; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; }
.check input:checked + span, .check:has(input:checked) { color: #fff; }
.radio-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.radio-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border: 1px solid var(--line); border-radius: 50px; cursor: pointer; font-size: 0.88rem; color: var(--muted); transition: all 0.2s; }
.radio-pill input { appearance: none; width: 14px; height: 14px; border: 1.5px solid var(--line); border-radius: 50%; }
.radio-pill input:checked { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--bg-2); }
.radio-pill:has(input:checked) { border-color: var(--gold); color: #fff; }
.form-note { font-size: 0.8rem; color: var(--muted-2); margin-top: 1rem; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.form-success .ok svg { width: 28px; height: 28px; color: var(--gold); }
.form-success h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--muted); }
fieldset { border: none; margin-bottom: 1.6rem; }
fieldset legend { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 0.7rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line-2); padding-block: clamp(3.5rem, 7vw, 5rem) 2.4rem; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
@media (min-width: 760px){ .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-brand img { height: 42px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: 0.92rem; line-height: 1.6; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s, background 0.3s; }
.footer-social a:hover { border-color: var(--gold); background: var(--gold-soft); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.62rem; }
.footer-col a { color: rgba(255,255,255,0.74); font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.footer-bottom span { color: var(--muted-2); font-size: 0.74rem; letter-spacing: 0.08em; }
.footer-bottom .legal { display: flex; gap: 1.4rem; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); will-change: opacity, transform; }
.reveal.in, .reveal-all .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* utility */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.maxw-prose { max-width: 64ch; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(2rem,4vw,3.2rem); }

/* ============================================================
   ★ AWARD-WINNING MODERN UPGRADE
   ============================================================ */
:root{
  --grad: linear-gradient(120deg, #F7D488 0%, #E6B450 46%, #C4892F 100%);
  --grad-rev: linear-gradient(300deg, #F7D488 0%, #E6B450 46%, #C4892F 100%);
  --grad-soft: linear-gradient(135deg, rgba(247,212,136,0.18), rgba(196,137,47,0.10));
}

/* ---- gradient accent words, everywhere .gold / .grad-text is used ---- */
.gold, .grad-text{
  background: var(--grad); background-size: 220% 220%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldflow 7s ease-in-out infinite;
}
@keyframes goldflow{ 0%,100%{ background-position: 0% 40%; } 50%{ background-position: 100% 60%; } }
.display .gold, .h2 .gold, h1 .gold { padding-right: 0.06em; } /* clip descenders */

/* ---- eyebrow: shimmering gradient rule + live dot ---- */
.eyebrow{ color: var(--gold); }
.eyebrow .num{ -webkit-text-fill-color: var(--muted-2); }
.eyebrow .rule{
  height: 2px; opacity: 1; background: var(--grad); position: relative; overflow: hidden; border-radius: 2px;
}
.eyebrow .rule::after{
  content:""; position:absolute; inset:0; transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
  animation: eshimmer 3.4s var(--ease) infinite;
}
@keyframes eshimmer{ 0%{transform:translateX(-110%)} 55%,100%{transform:translateX(260%)} }

/* ---- buttons: gradient + moving sheen ---- */
.btn-gold{
  background: var(--grad); color:#1a1300; position:relative; overflow:hidden;
  box-shadow: 0 10px 34px -10px rgba(230,180,80,0.55);
}
.btn-gold > *{ position:relative; z-index:1; }
.btn-gold::after{
  content:""; position:absolute; top:0; left:-130%; width:65%; height:100%; z-index:0;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.6), transparent); transform: skewX(-18deg);
}
.btn-gold:hover{ background: var(--grad); filter: brightness(1.05); transform: translateY(-3px); }
.btn-gold:hover::after{ animation: bsheen 0.95s var(--ease); }
@keyframes bsheen{ to{ left:150%; } }
.btn-ghost{ backdrop-filter: blur(6px); }
.btn-ghost:hover{ border-color: rgba(247,212,136,0.7); box-shadow: 0 0 0 1px rgba(247,212,136,0.25) inset; }

/* ---- bigger, more visible logos ---- */
.header-logo img{ height: 46px; transition: transform 0.4s var(--ease); }
.header-logo:hover img{ transform: scale(1.04); }
@media (max-width: 600px){ .header-logo img{ height: 38px; } }
.footer-brand img{ height: 58px; }

/* ---- header polish ---- */
.site-header.scrolled{ background: rgba(6,6,6,0.72); box-shadow: 0 1px 0 rgba(255,255,255,0.05); }
.nav-link.active::after{ background: var(--grad); height: 2px; border-radius: 2px; }
.dropdown a strong{ transition: color 0.2s; }
.dropdown a:hover strong{ background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---- HERO: ambient gradient glow + entrance ---- */
.page-hero{ isolation: isolate; }
.page-hero::before{
  content:""; position:absolute; z-index:0; top:-10%; right:-5%; width:min(60vw,720px); height:min(60vw,720px);
  background: radial-gradient(circle, rgba(230,180,80,0.16), transparent 62%);
  filter: blur(30px); pointer-events:none; animation: heroGlow 9s ease-in-out infinite alternate;
}
.page-hero:not(.page-hero--media)::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0.5;
  background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent);
}
@keyframes heroGlow{ from{ transform: translate(0,0) scale(1); opacity:0.75; } to{ transform: translate(-4%,3%) scale(1.12); opacity:1; } }
.page-hero h1{ font-size: clamp(3rem, 8.5vw, 7rem); }

/* staggered hero entrance (only before reveal-all / when not reduced) */
.page-hero .reveal{ transition-duration: 1s; }

/* ---- SPLIT ALIGNMENT (image matches text height exactly; face-safe framing) ---- */
@media (min-width: 900px){
  .split{ align-items: stretch; }
  .split-body{ display: flex; flex-direction: column; justify-content: center; }
  .split-media{ min-height: 100%; }
  .split-media > img{ height: 100%; width: 100%; object-fit: cover; object-position: center 30%; min-height: 420px; }
}
.split-media{ box-shadow: 0 30px 80px -40px rgba(0,0,0,0.9); }
.split-media::after{
  content:""; position:absolute; inset:0; border-radius: inherit; pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* ---- CARDS: gradient edge on hover, deeper lift ---- */
.tcard, .facility, .zone, .aud, .form-card, .donate-card{ position: relative; }
.tcard{ transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s; }
.tcard:hover{ box-shadow: 0 34px 70px -34px rgba(0,0,0,0.9); border-color: rgba(247,212,136,0.4); }
.tcard .ttag{ background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.pcard{ transition: transform 0.5s var(--ease); }
.pcard:hover{ transform: translateY(-4px); }
.pcard .idx{ background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.ncard .ntag{ background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stat{ position:relative; overflow:hidden; transition: background 0.4s; }
.stat::before{ content:""; position:absolute; left:0; top:0; width:100%; height:2px; background: var(--grad); transform: scaleX(0); transform-origin:left; transition: transform 0.6s var(--ease); }
.stat:hover::before{ transform: scaleX(1); }
.stat b .unit{ background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.facility{ transition: transform 0.45s var(--ease), border-color 0.45s; }
.facility:hover{ transform: translateY(-4px); border-color: rgba(247,212,136,0.35); }
.facility h4{ background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.facility li::before{ background: var(--grad); }
.checklist li::before{ background-color: rgba(247,212,136,0.16); }

/* ---- ANIMATED ICON CHIPS ---- */
.pillar .pico, .aud .ico, .fact .fico{ will-change: transform; }
.pillar .pico{ background: var(--grad); color:#1a1300; box-shadow: 0 10px 26px -10px rgba(230,180,80,0.6); animation: floaty 4.5s var(--ease) infinite; }
.pillar:nth-child(2) .pico{ animation-delay: 0.7s; }
.pillar:nth-child(3) .pico{ animation-delay: 1.4s; }
.aud .ico{ animation: floaty 5s var(--ease) infinite; }
.aud .ico svg, .pillar .pico svg{ transition: transform 0.5s var(--ease); }
.aud:hover .ico svg{ transform: rotate(-8deg) scale(1.08); }
.pillar:hover .pico svg{ transform: scale(1.12); }
.fact .fico{ animation: floaty 6s var(--ease) infinite; }
@keyframes floaty{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-7px);} }
.footer-social a{ transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s; }
.footer-social a:hover{ transform: translateY(-3px); border-color: transparent; background: var(--grad); }
.footer-social a:hover svg{ stroke:#1a1300; }
.textlink svg, .btn svg{ will-change: transform; }

/* ---- XL TEXT MARQUEE ---- */
.marquee-xl{ overflow:hidden; padding-block: clamp(1.1rem,3vw,2.4rem); border-block: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); }
.marquee-xl .marquee-track{ animation-duration: 42s; }
.marquee-xl .m{
  font-family: var(--font-serif); font-weight: 400; text-transform: none; letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 7vw, 6rem); padding-inline: 1.5rem; gap: 1.5rem; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.34);
}
.marquee-xl .m::after{ content:"✦"; -webkit-text-stroke: 0; color: var(--gold); font-size: 0.32em; opacity: 0.9; }
.marquee-xl .m.fill{ -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; }
.marquee:hover .marquee-track, .marquee-xl:hover .marquee-track{ animation-play-state: paused; }
.marquee-track .m::after{ background: none; }

/* ---- CTA band gradient glow ---- */
.cta-band::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(60% 80% at 50% 40%, rgba(230,180,80,0.14), transparent 70%);
}

/* ---- MODERN REVEAL (blur + variants) ---- */
.reveal{ transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in, .reveal-all .reveal{ filter: blur(0) !important; }
.reveal.rv-left{ transform: translateX(-40px); }
.reveal.rv-right{ transform: translateX(40px); }
.reveal.rv-scale{ transform: scale(0.94); }
.split-media.reveal{ transform: translateY(28px) scale(0.97); }

/* ============================================================
   ★ MODERN MOBILE MENU
   ============================================================ */
.mobile-menu{ background: radial-gradient(120% 90% at 100% 0%, rgba(230,180,80,0.10), transparent 55%), var(--bg); padding: 0; }
.mm-scroll{ min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--header-h) + 1.4rem) clamp(1.3rem,6vw,2.2rem) 2rem; }
.mm-logo{ height: 52px; width: auto; margin-bottom: 1.6rem; }
.mm-nav{ display: flex; flex-direction: column; }
.mm-group{ padding: 1.05rem 0; border-top: 1px solid var(--line-2); opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.mm-group:first-child{ border-top: none; }
.mobile-menu.open .mm-group{ opacity: 1; transform: none; }
.mobile-menu.open .mm-group:nth-child(1){ transition-delay: 0.10s; }
.mobile-menu.open .mm-group:nth-child(2){ transition-delay: 0.16s; }
.mobile-menu.open .mm-group:nth-child(3){ transition-delay: 0.22s; }
.mobile-menu.open .mm-group:nth-child(4){ transition-delay: 0.28s; }
.mobile-menu.open .mm-group:nth-child(5){ transition-delay: 0.34s; }
.mm-title{ display: flex; align-items: center; gap: 0.7rem; width: 100%; background: none; border: none; padding: 0; text-align: left; cursor: pointer; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 9vw, 2.9rem); line-height: 1; color: #fff; }
.mm-idx{ font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; align-self: flex-start; padding-top: 0.3rem; }
.mm-chev{ width: 26px; height: 26px; margin-left: auto; color: var(--muted); flex: none; transition: transform 0.35s var(--ease), color 0.25s; }
.mm-group.open .mm-chev{ transform: rotate(180deg); color: var(--gold); }
.mm-group.open .mm-title{ color: var(--gold); }
.mm-sub{ display: flex; flex-wrap: wrap; gap: 0.5rem; padding-left: 1.7rem; }
.has-sub .mm-sub{ max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), margin-top 0.4s var(--ease); }
.mm-group.open .mm-sub{ max-height: 60vh; margin-top: 0.9rem; opacity: 1; }
.mm-sub a{ font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 50px; padding: 0.4rem 0.85rem; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.mm-sub a:hover{ color: #fff; border-color: rgba(247,212,136,0.5); }
.mm-foot{ margin-top: auto; padding-top: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.mm-foot .btn{ width: 100%; justify-content: center; }
.mm-social{ display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.mm-social a{ width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mm-social a svg{ width: 19px; height: 19px; }
.mm-social a:hover{ background: var(--grad); border-color: transparent; }
.mm-social a:hover svg{ stroke: #1a1300; }
.burger span{ background: #fff; }

@media (prefers-reduced-motion: reduce){
  .eyebrow .rule::after, .btn-gold::after, .page-hero::before,
  .pillar .pico, .aud .ico, .fact .fico, .gold, .grad-text, .ichip{ animation: none !important; }
  .reveal{ filter: none; }
}

/* ---- ACTIVE NAV PILL ---- */
.nav-link.active, .nav-item:hover .nav-link.active{ background: var(--grad); color: #1a1300; box-shadow: 0 6px 20px -8px rgba(230,180,80,0.6); }

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress{
  position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 80;
  background: var(--grad); transform: scaleX(0); transform-origin: left; pointer-events: none;
  box-shadow: 0 0 12px rgba(230,180,80,0.5);
}

/* ---- ICON CHIPS (content icons) ---- */
.ichip{
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: var(--grad); color: #1a1300;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -12px rgba(230,180,80,0.6);
  animation: floaty 5s var(--ease) infinite;
}
.ichip svg{ width: 22px; height: 22px; }
.pcard .ichip{ margin-bottom: auto; }
.facility .ichip{ width: 42px; height: 42px; border-radius: 12px; margin-bottom: 1.1rem; }
.facility:nth-child(2) .ichip{ animation-delay: 0.5s; }
.facility:nth-child(3) .ichip{ animation-delay: 1s; }
.facility:nth-child(4) .ichip{ animation-delay: 1.5s; }
.facility:nth-child(5) .ichip{ animation-delay: 2s; }
.pcard:nth-child(2) .ichip{ animation-delay: 0.6s; }
.pcard:nth-child(3) .ichip{ animation-delay: 1.2s; }

/* ---- 3D TILT (JS-driven) ---- */
.tcard, .member, .aud, .facility{ will-change: transform; }

/* ---- COUNTERS: gradient numbers that stand out ---- */
.stat{
  background: radial-gradient(130% 100% at 50% 0%, rgba(230,180,80,0.07), transparent 55%), var(--bg);
  transition: transform 0.45s var(--ease), background 0.45s;
}
.stat:hover{
  transform: translateY(-4px);
  background: radial-gradient(130% 100% at 50% 0%, rgba(230,180,80,0.15), transparent 62%), var(--bg);
}
.stat b{
  font-size: clamp(3rem, 5.6vw, 4.8rem);
  background: var(--grad); background-size: 220% 220%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: goldflow 7s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(230,180,80,0.28));
}
.stat > span{ margin-top: 0.9rem; color: rgba(255,255,255,0.66); }
.stat > span::before{
  content: ""; display: block; width: 2.1rem; height: 2px; border-radius: 2px;
  background: var(--grad); margin-bottom: 0.65rem; opacity: 0.85;
}
@media (prefers-reduced-motion: reduce){ .stat b{ animation: none; } }

/* ============================================================
   ★ TEXT FX — signature entrance per text type
   ============================================================ */
/* 1) Display headings: masked word-by-word rise (JS wraps words) */
.split-words{ opacity: 1; transform: none; filter: none; }
.split-words .tw{ display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.split-words .twi{ display: inline-block; transform: translateY(118%); transition: transform 0.9s var(--ease); will-change: transform; }
.split-words.in .twi, .reveal-all .split-words .twi{ transform: none; }

/* 2) Eyebrows: tracking-in + rule grows from left */
.eyebrow.reveal{ letter-spacing: 0.42em; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease), letter-spacing 1.2s var(--ease); }
.eyebrow.reveal.in, .reveal-all .eyebrow.reveal{ letter-spacing: 0.22em; }
.eyebrow.reveal .rule{ transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.15s; }
.eyebrow.reveal.in .rule, .reveal-all .eyebrow.reveal .rule{ transform: scaleX(1); }

/* 3) Images: soft frame-expand reveal with zoom settle */
.split-media.reveal{
  opacity: 0; transform: translateY(26px); filter: none;
  clip-path: inset(7% 5% 7% 5%);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), clip-path 1.25s var(--ease);
}
.split-media.reveal > img{ transform: scale(1.14); transition: transform 1.7s var(--ease); }
.split-media.reveal.in, .reveal-all .split-media.reveal{ opacity: 1; clip-path: inset(0 0 0 0); }
.split-media.reveal.in > img, .reveal-all .split-media.reveal > img{ transform: scale(1); }
.split-media.reveal.in:hover{ transform: translateY(-4px); }
/* card thumbnails: zoom settle in sync with the card's fade */
.tcard.reveal .timg img, .ncard.reveal .nimg img{ transform: scale(1.1); transition: transform 1.5s var(--ease); }
.tcard.reveal.in .timg img, .ncard.reveal.in .nimg img,
.reveal-all .tcard.reveal .timg img, .reveal-all .ncard.reveal .nimg img{ transform: scale(1); }
.tcard.reveal.in:hover .timg img{ transform: scale(1.05); }
.ncard.reveal.in:hover .nimg img{ transform: scale(1.05); }
.pcard.reveal > img{ transform: scale(1.08); transition: transform 1.5s var(--ease); }
.pcard.reveal.in > img, .reveal-all .pcard.reveal > img{ transform: scale(1); }

/* 4) CTA buttons: staggered settle */
.page-hero-actions.reveal .btn, .cta-actions.reveal .btn{ opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.page-hero-actions.reveal .btn:nth-child(2), .cta-actions.reveal .btn:nth-child(2){ transition-delay: 0.12s; }
.page-hero-actions.reveal .btn:nth-child(3), .cta-actions.reveal .btn:nth-child(3){ transition-delay: 0.24s; }
.page-hero-actions.reveal.in .btn, .cta-actions.reveal.in .btn,
.reveal-all .page-hero-actions.reveal .btn, .reveal-all .cta-actions.reveal .btn{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  .eyebrow.reveal{ letter-spacing: 0.22em; transition: none; }
  .eyebrow.reveal .rule{ transform: none; transition: none; }
  .split-media.reveal{ clip-path: none; transition: none; }
  .split-media.reveal > img{ transform: none; transition: none; }
  .tcard.reveal .timg img, .ncard.reveal .nimg img, .pcard.reveal > img{ transform: none; transition: none; }
  .split-words .twi{ transform: none; transition: none; }
  .page-hero-actions.reveal .btn, .cta-actions.reveal .btn{ opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   ★ NO-CROP GUARANTEE — full photos, no faces cut
   ============================================================ */
/* photo cards: image shown whole on top, text below (no overlay crop) */
.pcard{ min-height: 0; padding: 0 0 1.6rem; justify-content: flex-start; background: var(--bg-2); }
.pcard > img{ position: static; inset: auto; z-index: auto; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 26%; order: -1; margin-bottom: 1.3rem; }
.pcard::after{ content: none; }
.pcard:hover img{ transform: none; }
.pcard .ichip{ margin-bottom: 0.9rem; }
.pcard .idx{ margin-bottom: 0.4rem; }
.pcard > :not(img){ margin-left: 1.6rem; margin-right: 1.6rem; }
.pcard p{ color: var(--muted); }
/* team portraits: face-safe framing */
.member .photo img{ object-position: center 15%; }
/* full-bleed backdrops must fill, but bias framing toward faces */
.page-hero--media .hero-bg img{ object-position: center 26%; }
.cta-band .cta-bg img{ object-position: center 30%; }
