/* =================================================================
   LUMIÈRE ESTATES — Luxury Real Estate
   style.css  ·  Complete design system + section styling
   Aesthetic: dark, cinematic, champagne-gold, glassmorphism
   ================================================================= */

/* -----------------------------------------------------------------
   0. DESIGN TOKENS
   ----------------------------------------------------------------- */
:root {
  /* — Palette (raw scale) — */
  --ink-900: #07070a;
  --ink-800: #0b0b10;
  --ink-700: #101017;
  --ink-600: #16161f;

  /* — Semantic surfaces (themeable) — */
  --bg:           #0b0b10;   /* page background             */
  --bg-deep:      #07070a;   /* darker atmospheric sections */
  --surface-card: #16161f;   /* cards                       */
  --nav-bg:       rgba(8, 8, 12, 0.6);
  --on-accent:    #07070a;   /* text sitting on gold        */

  --line: rgba(201, 169, 106, 0.16); /* hairline gold */

  --gold-500: #c9a96a;    /* primary champagne gold     */
  --gold-400: #d9bd84;    /* lighter gold               */
  --gold-300: #ecd9ad;    /* highlight gold             */
  --platinum: #e9e4da;    /* cool premium white         */

  --text:      #f3efe6;   /* primary text               */
  --text-soft: #b6b0a4;   /* secondary text             */
  --text-mute: #6f6a60;   /* tertiary / labels          */

  /* — Glass — */
  --glass-bg:     rgba(22, 22, 31, 0.55);
  --glass-stroke: rgba(255, 255, 255, 0.08);
  --glass-hi:     rgba(255, 255, 255, 0.14);

  /* — Glow / Shadow — */
  --glow-gold: 0 0 60px rgba(201, 169, 106, 0.28);
  --shadow-xl: 0 40px 120px -30px rgba(0, 0, 0, 0.85);
  --shadow-card: 0 30px 80px -28px rgba(0, 0, 0, 0.9);

  /* — Type — */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* — Motion — */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);

  /* — Layout — */
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1400px;
}

/* -----------------------------------------------------------------
   LIGHT THEME — warm ivory surfaces, same champagne-gold identity
   Activated via [data-theme="light"] on <html>.
   ----------------------------------------------------------------- */
[data-theme="light"] {
  --bg:           #efeae0;
  --bg-deep:      #e6e1d4;
  --surface-card: #fbfaf5;
  --nav-bg:       rgba(244, 241, 234, 0.72);
  --on-accent:    #1c1813;

  --line: rgba(40, 33, 20, 0.12);

  --glass-bg:     rgba(255, 255, 255, 0.6);
  --glass-stroke: rgba(40, 33, 20, 0.10);
  --glass-hi:     rgba(40, 33, 20, 0.16);

  /* deeper gold so accent text stays legible on ivory */
  --gold-400: #9c7526;
  --gold-300: #b8924f;

  --text:      #1c1813;
  --text-soft: #5a5347;
  --text-mute: #8c8478;

  --glow-gold: 0 0 50px rgba(168, 128, 60, 0.22);
  --shadow-xl: 0 40px 110px -34px rgba(60, 50, 30, 0.30);
  --shadow-card: 0 30px 70px -30px rgba(60, 50, 30, 0.22);
}

/* Light-mode atmosphere: warm grain, no dark corner vignette */
[data-theme="light"] body::before {
  background:
    radial-gradient(120% 120% at 50% 0%, transparent 62%, rgba(70, 60, 40, 0.05) 100%),
    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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.55;
}

/* Smooth cross-fade when switching themes */
body, .nav, .nav.is-scrolled, .about, .properties, .amenities,
.footer, .card, .am-card, .stat, .preloader, .theme-toggle,
.about__badge, .card__tag, .footer__social a, .card__link {
  transition: background-color .55s var(--ease-lux),
              color .55s var(--ease-lux),
              border-color .55s var(--ease-lux),
              box-shadow .55s var(--ease-lux);
}

/* -----------------------------------------------------------------
   1. RESET & BASE
   ----------------------------------------------------------------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto; /* Lenis handles smoothing */
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Lenis hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold-500); color: var(--on-accent); }

/* Ambient grain + vignette over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 0%, transparent 55%, rgba(0,0,0,0.55) 100%),
    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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* -----------------------------------------------------------------
   2. TYPOGRAPHY HELPERS
   ----------------------------------------------------------------- */
.eyebrow {
  font-size: 22px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic;
  color: var(--gold-400);
}

.lead { color: var(--text-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 52ch; }

/* word/char wrappers SplitText creates need overflow control */
.line-mask { overflow: hidden; display: block; }

/* -----------------------------------------------------------------
   3. PRELOADER
   ----------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-deep);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; width: min(80vw, 360px); }
.preloader__mark {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 0.3em;
  color: var(--text); margin-bottom: 1.4rem; text-transform: uppercase;
}
.preloader__bar {
  height: 1px; width: 100%; background: rgba(255,255,255,0.12); overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.preloader__pct {
  margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.3em; color: var(--text-mute);
}

/* -----------------------------------------------------------------
   4. NAVIGATION
   ----------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--pad-x);
  transition: background .5s var(--ease-lux), padding .5s var(--ease-lux), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding-top: 1rem; padding-bottom: 1rem;
}
.nav__logo {
  display: flex; align-items: center; line-height: 1;
  border-radius: 8px; padding: 3px 6px; margin: -3px -6px; /* click-area padding */
  transition: opacity .4s;
}
.nav__logo:hover { opacity: .85; }

.nav__logo-img {
  height: 60px; width: auto; display: block; border:none !important;
  object-fit: contain; object-position: left center;
}
/* In light mode the black logo bg needs a dark container so it stays legible */
[data-theme="light"] .nav__logo {
  padding: 5px 10px; border-radius: 10px;
}

/* Footer logo — larger */
.footer__logo { margin-bottom: 1.2rem; padding: 4px 8px; margin-left: -8px; }
.footer__logo-img { height: 80px; }
[data-theme="light"] .footer__logo {
  padding: 8px 14px; border-radius: 12px;
}

.nav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: var(--glow-gold); }
.nav__links { display: flex; gap: 2.4rem; }
.nav__links a {
      font-family: montserrat; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft); position: relative; padding: 4px 0;
  transition: color .4s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-400); transition: width .4s var(--ease-lux);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: .7rem 1.4rem; }
.nav__burger { display: none; flex-direction: column; gap: 6px; width: 30px; }
.nav__burger span { height: 1.5px; width: 100%; background: var(--text); transition: .4s; }

/* Theme toggle */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--glass-hi); color: var(--text);
  position: relative; overflow: hidden;
  transition: border-color .4s var(--ease-lux), color .4s var(--ease-lux), transform .6s var(--ease-lux);
}
.theme-toggle:hover { border-color: var(--gold-400); color: var(--gold-300); transform: rotate(35deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* -----------------------------------------------------------------
   5. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 2rem; border-radius: 100px;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  overflow: hidden; will-change: transform;
  transition: transform .5s var(--ease-lux), box-shadow .5s var(--ease-lux);
}
.btn span { position: relative; z-index: 2; }
.btn__fill {
  position: absolute; inset: 0; z-index: 1; transform: scale(1);
  transition: transform .6s var(--ease-lux);
}
.btn--gold { color: var(--on-accent); }
.btn--gold .btn__fill { background: linear-gradient(120deg, var(--gold-300), var(--gold-500)); }
.btn--gold:hover { box-shadow: var(--glow-gold); }
.btn--ghost { color: var(--text); border: 1px solid var(--glass-hi); }
.btn--ghost .btn__fill { background: var(--text); transform: scaleX(0); transform-origin: left; }
.btn--ghost:hover { color: var(--on-accent); }
.btn--ghost:hover .btn__fill { transform: scaleX(1); }
.btn__arrow { transition: transform .5s var(--ease-lux); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* -----------------------------------------------------------------
   6. FLOATING PARTICLES (ambient)
   ----------------------------------------------------------------- */
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-300), transparent 70%);
  opacity: 0; will-change: transform, opacity;
}

/* =================================================================
   SECTION 1 — HERO CINEMATIC ZOOM (300vh)
   ================================================================= */
.hero { position: relative; height: 300vh; z-index: 1; }
.hero__pin {
  position: sticky; top: 0; height: 100vh; width: 100%;
  display: grid; place-items: center; overflow: hidden;
}

/* atmospheric backdrop behind the media card */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(201,169,106,0.12), transparent 70%),
    radial-gradient(80% 60% at 50% 120%, rgba(201,169,106,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}

/* the expanding media card */
.hero__media {
  position: relative; z-index: 2;
  width: 45vw; height: 62vh;
  border-radius: 40px; overflow: hidden;
  border: 1px solid var(--glass-hi);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.1);
  will-change: width, height, border-radius;
}
.hero__media video,
.hero__media .hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.18); will-change: transform; /* GSAP drives the inner zoom */
}
/* gradient "skyscraper" poster — always renders even with no asset */
.hero__poster {
  background:
    linear-gradient(180deg, rgba(7,7,10,0) 40%, rgba(7,7,10,0.65) 100%),
    linear-gradient(115deg, #1b2230 0%, #2b3242 38%, #0e1219 100%);
}
.hero__poster::after {
  /* faint architectural skyline silhouette */
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,0.025) 38px 39px),
    repeating-linear-gradient(0deg, transparent 0 60px, rgba(255,255,255,0.02) 60px 61px);
  mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
}
.hero__media-glow {
  position: absolute; inset: -1px; z-index: 3; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.5);
}

/* hero copy that lives over / fades with the scroll */
.hero__content {
  position: absolute; z-index: 4; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--pad-x); pointer-events: none;
}
.hero__content .eyebrow { margin-bottom: 1.6rem; }
.hero__title {
  font-size: clamp(3rem, 11vw, 11rem);
  color: var(--text);
  text-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.hero__title .line-mask + .line-mask { margin-top: -0.1em; }
.hero__sub { margin-top: 1.8rem; color: var(--platinum); max-width: 36ch; }
.hero__cta { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; pointer-events: auto; }

/* second-phase headline revealed mid-zoom */
.hero__phase2 {
  position: absolute; z-index: 5; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; opacity: 0; pointer-events: none;
}
.hero__phase2 h2 {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 7vw, 6rem); color: var(--text);
  letter-spacing: -0.02em; text-shadow: 0 20px 80px rgba(0,0,0,0.7);
}
.hero__phase2 p { color: var(--gold-300); letter-spacing: 0.4em; text-transform: uppercase; font-size: .8rem; margin-top: 1.4rem; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-mute);
}
.scroll-cue__line { width: 1px; height: 46px; background: linear-gradient(var(--gold-400), transparent); overflow: hidden; position: relative; }
.scroll-cue__line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--gold-300); animation: cueDrop 2s var(--ease-lux) infinite;
}
@keyframes cueDrop { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(250%);} }

/* =================================================================
   SECTION 2 — ABOUT (100vh+)
   ================================================================= */
.about {
  position: relative; z-index: 2; background: var(--bg);
  padding: clamp(6rem, 12vh, 11rem) var(--pad-x);
}
.about__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.about__visual { position: relative; height: 76vh; border-radius: 28px; overflow: hidden; }
.about__visual .frame-img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%;
  object-fit: cover; will-change: transform; /* parallax target */
}
.about__visual .img-fallback {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,10,0.1), rgba(7,7,10,0.6)),
    linear-gradient(135deg, #232a38, #11151d 70%);
}
.about__visual-frame {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 1px solid var(--glass-stroke); border-radius: 28px;
  box-shadow: inset 0 0 90px rgba(0,0,0,0.6);
}
.about__badge {
  position: absolute; z-index: 3; left: 1.6rem; bottom: 1.6rem;
  padding: 1.1rem 1.4rem; border-radius: 16px;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.about__badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-300); display: block; }
.about__badge span { font-size: .72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); }

.about__title { margin: 1.4rem 0 1.8rem; }
.about__copy p { margin-bottom: 1.1rem; color: var(--text-soft); }
.about__list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.about__list li { display: flex; gap: .9rem; align-items: center; color: var(--text); font-size: .95rem; }
.about__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); box-shadow: var(--glow-gold); }

.stats {
  max-width: var(--maxw); margin: clamp(4rem, 9vh, 7rem) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 2.4rem 1rem 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--text); line-height: 1; }
.stat__num .suffix { color: var(--gold-400); }
.stat__label { margin-top: .7rem; font-size: .76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); }

/* =================================================================
   SECTION 3 — FEATURED PROPERTIES (150vh)
   ================================================================= */
.properties {
  position: relative; z-index: 2; background: linear-gradient(180deg, var(--bg), var(--bg-deep));
  padding: clamp(6rem, 12vh, 11rem) var(--pad-x);
}
.properties__head {
  max-width: var(--maxw); margin: 0 auto clamp(3rem, 6vh, 5rem);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
}
.properties__head .section-title { margin-top: 1.2rem; }
.cards {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.4vw, 2.4rem);
  perspective: 1600px;
}
.card {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--surface-card); border: 1px solid var(--glass-stroke);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .6s var(--ease-lux);
}
.card:hover { box-shadow: 0 50px 100px -30px rgba(0,0,0,0.95), var(--glow-gold); }
.card__media { position: relative; height: 340px; overflow: hidden; transform: translateZ(30px); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-lux); transform: scale(1.04); }
.card:hover .card__media img { transform: scale(1.12); }
.card__media .img-fallback { position: absolute; inset: 0; }
.card--1 .img-fallback { background: linear-gradient(150deg, #2a3340, #11151d); }
.card--2 .img-fallback { background: linear-gradient(150deg, #1f3038, #10171a); }
.card--3 .img-fallback { background: linear-gradient(150deg, #2c2a3a, #14121d); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,7,10,0.95));
}
.card__tag {
  position: absolute; z-index: 2; top: 1rem; left: 1rem;
  padding: .45rem .9rem; border-radius: 100px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke); backdrop-filter: blur(10px);
  color: var(--gold-300);
}
.card__index {
  position: absolute; z-index: 2; top: 1rem; right: 1.2rem;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--text-soft);
}
.card__body { padding: 1.6rem 1.6rem 1.8rem; transform: translateZ(45px); }
.card__name { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.card__loc { margin-top: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.card__meta { display: flex; gap: 1.4rem; margin: 1.3rem 0; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.card__meta div span { display: block; }
.card__meta .k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.card__meta .v { font-size: .98rem; color: var(--text); margin-top: .25rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; }
.card__price .k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.card__price .v { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-300); }
.card__link {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--glass-hi); transition: .5s var(--ease-lux);
}
.card__link:hover { background: var(--gold-500); color: var(--on-accent); border-color: var(--gold-500); }
.card__shine { /* moving light for 3d-tilt */
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.16), transparent 45%);
  transition: opacity .4s;
}
.card:hover .card__shine { opacity: 1; }

/* =================================================================
   SECTION 4 — AMENITIES (horizontal pin scroll)
   ================================================================= */
.amenities { position: relative; z-index: 2; background: var(--bg-deep); overflow: hidden; }
.amenities__pin { height: 100vh; display: flex; align-items: center; }
.amenities__track {
  display: flex; gap: clamp(1.4rem, 2.4vw, 2.4rem); padding: 0 var(--pad-x); will-change: transform;
}
.amenities__intro {
  flex: 0 0 38vw; min-width: 360px; align-self: center; padding-right: 3rem;
}
.amenities__intro .section-title { margin: 1.2rem 0 1.4rem; }
.am-card {
  flex: 0 0 clamp(280px, 26vw, 380px); height: 64vh; border-radius: 24px;
  position: relative; overflow: hidden; padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card); will-change: transform;
}
.am-card__glow {
  position: absolute; z-index: 0; width: 60%; aspect-ratio: 1; border-radius: 50%;
  top: -10%; right: -10%; filter: blur(40px); opacity: .5;
  background: radial-gradient(circle, var(--gold-500), transparent 70%);
}
.am-card__icon {
  position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: auto;
  border: 1px solid var(--glass-hi); background: rgba(255,255,255,0.04); color: var(--gold-300);
}
.am-card__num { position: absolute; top: 1.6rem; right: 1.8rem; z-index: 1; font-family: var(--font-display); color: var(--text-mute); }
.am-card h3 { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin-bottom: .5rem; }
.am-card p { position: relative; z-index: 1; color: var(--text-soft); font-size: .9rem; max-width: 26ch; }

/* =================================================================
   SECTION 5 — INVESTMENT (100vh, video bg)
   ================================================================= */
.invest { position: relative; z-index: 2; height: 100vh; min-height: 720px; overflow: hidden; display: grid; place-items: center; }
.invest__bg { position: absolute; inset: 0; z-index: 0; }
.invest__bg video, .invest__bg .invest__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1); will-change: transform;
}
.invest__poster { background: linear-gradient(125deg, #182231 0%, #0c1018 55%, #05070b 100%); }
.invest__poster::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(255,255,255,0.02) 70px 71px);
}
.invest__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 80% at 30% 50%, rgba(7,7,10,0.55), rgba(7,7,10,0.9)),
    linear-gradient(180deg, rgba(7,7,10,0.6), rgba(7,7,10,0.85));
}
.invest__inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; padding: 0 var(--pad-x); }
.invest__title { margin: 1.4rem 0 1.2rem; max-width: 16ch; }
.invest__sub { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem,2.2vw,1.8rem); color: var(--gold-300); margin-bottom: 2.6rem; }
.invest__stats { display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 4rem); margin-bottom: 2.8rem; }
.invest__stat .num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem,4vw,3.4rem); color: var(--text); line-height: 1; }
.invest__stat .num .suffix { color: var(--gold-400); }
.invest__stat .lbl { margin-top: .5rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); max-width: 18ch; }

/* =================================================================
   FOOTER (60vh)
   ================================================================= */
.footer { position: relative; z-index: 2; background: var(--bg-deep); padding: clamp(4rem,8vh,6rem) var(--pad-x) 2rem; border-top: 1px solid var(--line); }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem; }
.footer__brand .nav__logo { font-size: 1.8rem; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--text-soft); max-width: 34ch; font-size: .92rem; }
.footer__social { display: flex; gap: .8rem; margin-top: 1.8rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--glass-stroke); color: var(--text-soft); transition: .4s var(--ease-lux);
}
.footer__social a:hover { background: var(--gold-500); color: var(--on-accent); border-color: var(--gold-500); transform: translateY(-3px); }
.footer__col h4 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.3rem; }
.footer__col a, .footer__col p { display: block; color: var(--text-soft); font-size: .9rem; margin-bottom: .8rem; transition: color .35s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  max-width: var(--maxw); margin: clamp(3rem,6vh,5rem) auto 0; padding-top: 1.8rem;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .78rem; color: var(--text-mute); letter-spacing: .04em;
}

/* =================================================================
   FLOATING ACTION BUTTONS  (WhatsApp + Back-to-top)
   ================================================================= */
.fab-stack {
  position: fixed; z-index: 950;
  right: clamp(1rem, 3vw, 2.2rem); bottom: clamp(1rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: .9rem; align-items: center;
}
.fab {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-lux), box-shadow .5s var(--ease-lux),
              border-color .4s, color .4s, opacity .5s var(--ease-lux);
}
.fab svg { position: relative; z-index: 2; }

/* WhatsApp — brand green with attention pulse */
.fab--wa { background: #25D366; color: #fff; }
.fab--wa:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 34px rgba(37, 211, 102, .45); }
.fab--wa::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: waPulse 2.6s var(--ease-lux) infinite;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Back-to-top — glass, gold on hover, hidden until scrolled */
.fab--top {
  background: var(--glass-bg); color: var(--text);
  border: 1px solid var(--glass-hi);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; transform: translateY(18px) scale(.85);
}
.fab--top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.fab--top:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-4px); }

/* Lock background scroll while the mobile menu is open */
body.menu-open { overflow: hidden; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { height: 56vh; order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { padding-top: 2rem; }
  .cards { grid-template-columns: 1fr; max-width: 520px; }
  .footer__top { grid-template-columns: 1fr 1fr; }

  /* Keep top-bar controls tappable above the drawer */
  .nav__logo, .theme-toggle, .nav__cta { position: relative; z-index: 1002; }
  .nav__burger { display: flex; position: relative; z-index: 1002; }

  /* Full-screen glass drawer */
  .nav__links {
    display: flex; position: fixed; inset: 0; z-index: 1001;
    flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
    background: var(--bg-deep);
    background: color-mix(in srgb, var(--bg-deep) 86%, transparent);
    backdrop-filter: blur(26px) saturate(140%);
    -webkit-backdrop-filter: blur(26px) saturate(140%);
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform .7s var(--ease-lux), opacity .5s var(--ease-lux);
  }
  .nav.nav-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .nav__links a {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.7rem, 7vw, 2.6rem); letter-spacing: 0; text-transform: none;
    color: var(--text); opacity: 0; transform: translateY(22px);
    transition: opacity .5s var(--ease-lux), transform .5s var(--ease-lux), color .4s;
  }
  .nav__links a::after { display: none; }
  .nav.nav-open .nav__links a { opacity: 1; transform: translateY(0); }
  .nav.nav-open .nav__links a:nth-child(1) { transition-delay: .12s; }
  .nav.nav-open .nav__links a:nth-child(2) { transition-delay: .18s; }
  .nav.nav-open .nav__links a:nth-child(3) { transition-delay: .24s; }
  .nav.nav-open .nav__links a:nth-child(4) { transition-delay: .30s; }

  /* Burger → X */
  .nav.nav-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero__media { width: 62vw; height: 50vh; }
}

@media (max-width: 640px) {
  :root { --pad-x: 1.25rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
  .stat:last-child { border-bottom: none; }
  .footer__top { grid-template-columns: 1fr; gap: 2.2rem; }
  .properties__head { flex-direction: column; align-items: flex-start; }
  .hero__media { width: 86vw; height: 44vh; border-radius: 28px; }
  .amenities__intro { flex-basis: 80vw; min-width: 80vw; }
  .invest { min-height: 640px; }
  .btn { padding: .9rem 1.5rem; }
}

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

/* =================================================================
   CONTACT PAGE — all styles prefixed with .contact-* or .c-*
   Shares all global tokens, base typography, nav, footer, fabs.
   ================================================================= */

/* -----------------------------------------------------------------
   CONTACT HERO (~70vh)
   ----------------------------------------------------------------- */
.contact-hero {
  position: relative; min-height: 70vh;
  display: grid; place-items: center; overflow: hidden;
  background: var(--bg-deep);
}
.contact-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(62% 70% at 50% 50%, rgba(201,169,106,.13), transparent 70%),
    radial-gradient(40% 40% at 18% 80%, rgba(201,169,106,.08), transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(255,255,255,.018) 78px 79px),
    repeating-linear-gradient(0deg,   transparent 0 78px, rgba(255,255,255,.014) 78px 79px),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}
[data-theme="light"] .contact-hero__bg {
  background:
    radial-gradient(62% 70% at 50% 50%, rgba(168,130,60,.10), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(40,30,10,.03) 78px 79px),
    repeating-linear-gradient(0deg,  transparent 0 78px, rgba(40,30,10,.02) 78px 79px),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}
.contact-hero__inner {
  position: relative; z-index: 2; text-align: center;
  padding: clamp(8rem,16vh,12rem) var(--pad-x) clamp(4rem,8vh,6rem);
  max-width: 900px; margin: 0 auto;
}
.contact-hero__inner .eyebrow { margin-bottom: 1.6rem; }
.contact-hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem); line-height: .98;
  letter-spacing: -.02em; margin-bottom: 1.6rem;
}
.contact-hero__title em { font-style: italic; color: var(--gold-400); }
.contact-hero__sub {
  color: var(--text-soft); font-size: clamp(1rem,1.5vw,1.2rem);
  max-width: 54ch; margin: 0 auto 2.4rem;
}
.contact-hero__divider {
  width: 80px; height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

/* -----------------------------------------------------------------
   MAIN CONTACT SECTION
   ----------------------------------------------------------------- */
.contact-section {
  position: relative; z-index: 2;
  background: var(--bg); padding: clamp(5rem,10vh,8rem) var(--pad-x);
}
.contact-wrap {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(3rem,6vw,7rem);
  align-items: start;
}

/* ----- FORM ---------------------------------------------------- */
.c-form-head .eyebrow { margin-bottom: 1.2rem; }
.c-form-head h2 { margin-bottom: .6rem; }
.c-form-head p { color: var(--text-soft); margin-bottom: 2.6rem; }

.c-form { display: grid; gap: 1.5rem; }
.c-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.c-form__group { display: flex; flex-direction: column; gap: .55rem; }
.c-form__label {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
}
.c-form__input,
.c-form__select,
.c-form__textarea {
  background: rgba(255,255,255,.04); color: var(--text);
  border: 1px solid var(--glass-stroke); border-radius: 12px;
  padding: .95rem 1.2rem; font-family: var(--font-body); font-size: .96rem;
  outline: none; width: 100%;
  transition: border-color .4s var(--ease-lux), box-shadow .4s var(--ease-lux), background .4s;
  -webkit-appearance: none; appearance: none;
}
[data-theme="light"] .c-form__input,
[data-theme="light"] .c-form__select,
[data-theme="light"] .c-form__textarea {
  background: rgba(255,255,255,.7);
  border-color: rgba(40,33,20,.14);
}
.c-form__input:focus,
.c-form__select:focus,
.c-form__textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201,169,106,.14);
  background: rgba(255,255,255,.07);
}
[data-theme="light"] .c-form__input:focus,
[data-theme="light"] .c-form__select:focus,
[data-theme="light"] .c-form__textarea:focus { background: #fff; }

.c-form__input::placeholder,
.c-form__textarea::placeholder { color: var(--text-mute); }
.c-form__textarea { resize: vertical; height: 52px; line-height: 1.65; }

/* Custom select arrow */
.c-form__select-wrap { position: relative; }
.c-form__select-wrap::after {
  content: ""; pointer-events: none;
  position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--text-mute);
}
.c-form__select option { background: var(--ink-800); color: var(--text); }

.c-form__privacy {
  font-size: .76rem; color: var(--text-mute); line-height: 1.6; margin-top: -.4rem;
}
.c-form__privacy a { color: var(--gold-400); border-bottom: 1px solid transparent; transition: border-color .3s; }
.c-form__privacy a:hover { border-color: var(--gold-400); }

.c-form__submit { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.c-form__wa {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: #25D366; border-bottom: 1px solid rgba(37,211,102,.3);
  padding-bottom: 2px; transition: border-color .4s, color .4s;
}
.c-form__wa:hover { color: #20c55a; border-color: #25D366; }
.c-form__wa svg { flex-shrink: 0; }

/* Success state */
.c-form__success {
  display: none; padding: 2rem; border-radius: 16px; text-align: center;
  border: 1px solid rgba(201,169,106,.3);
  background: rgba(201,169,106,.07);
}
.c-form__success.is-active { display: block; }
.c-form__success h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .7rem; color: var(--gold-300); }
.c-form__success p { color: var(--text-soft); }

/* ----- CONTACT INFO CARDS ------------------------------------- */
.c-info { display: flex; flex-direction: column; gap: 1.4rem; }
.c-info-head { margin-bottom: .4rem; }
.c-info-head h2 { margin-bottom: .5rem; }
.c-info-head p { color: var(--text-soft); }

.c-info-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.5rem; border-radius: 20px;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px -16px rgba(0,0,0,.5);
  transition: border-color .4s var(--ease-lux), box-shadow .4s var(--ease-lux);
}
.c-info-card:hover { border-color: var(--gold-400); box-shadow: 0 12px 50px -16px rgba(0,0,0,.6), var(--glow-gold); }
.c-info-card__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(201,169,106,.12); border: 1px solid rgba(201,169,106,.2);
  color: var(--gold-300);
}
.c-info-card__body { min-width: 0; }
.c-info-card__label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); margin-bottom: .4rem; }
.c-info-card__value { color: var(--text); font-size: .98rem; line-height: 1.5; }
.c-info-card__value a { color: var(--text); transition: color .3s; }
.c-info-card__value a:hover { color: var(--gold-300); }
.c-info-card--wa .c-info-card__icon { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.22); color: #25D366; }
.c-info-card--wa .c-info-card__value a { color: #25D366; }

.c-hours { padding: 1.5rem; border-radius: 20px; border: 1px solid var(--line); margin-top: .4rem; }
.c-hours h4 { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1rem; }
.c-hours ul { display: grid; gap: .55rem; }
.c-hours li { display: flex; justify-content: space-between; font-size: .88rem; }
.c-hours li span:first-child { color: var(--text-soft); }
.c-hours li span:last-child { color: var(--text); font-weight: 600; }

/* -----------------------------------------------------------------
   MAP SECTION
   ----------------------------------------------------------------- */
.map-section {
  position: relative; z-index: 2; height: 520px; overflow: hidden;
  border-top: 1px solid var(--line);
}
.map-section iframe {
  width: 100%; height: 100%; border: none; display: block;
  filter: saturate(.8) contrast(.9);
}
[data-theme="light"] .map-section iframe { filter: saturate(.75) contrast(.9) brightness(.96); }
.map-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,7,10,.6) 0, rgba(7,7,10,.1) 45%, transparent 65%);
}
[data-theme="light"] .map-overlay {
  background: linear-gradient(90deg, rgba(239,234,224,.65) 0, rgba(239,234,224,.15) 45%, transparent 65%);
}
.map-card {
  position: absolute; z-index: 3; left: var(--pad-x); top: 50%;
  transform: translateY(-50%); pointer-events: auto;
  max-width: 340px; padding: 2rem 2rem 1.8rem;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-radius: 24px; box-shadow: var(--shadow-xl);
}
.map-card .eyebrow { margin-bottom: 1rem; }
.map-card h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; margin-bottom: .9rem; }
.map-card p { color: var(--text-soft); font-size: .9rem; line-height: 1.65; }
.map-card .btn { margin-top: 1.4rem; }

/* -----------------------------------------------------------------
   RESPONSIVE — contact page
   ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .c-info { order: -1; }
}
@media (max-width: 640px) {
  .c-form__row { grid-template-columns: 1fr; }
  .map-section { height: 420px; }
  .map-card { left: 1rem; right: 1rem; max-width: none; top: auto; bottom: 1.4rem; transform: none; }
  .map-overlay { background: linear-gradient(180deg, transparent 30%, rgba(7,7,10,.7) 80%); }
  [data-theme="light"] .map-overlay { background: linear-gradient(180deg, transparent 30%, rgba(239,234,224,.75) 80%); }
}

/* Active nav link (current page indicator) */
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { width: 100%; }

/* =================================================================
   TEAM PAGE — editorial portrait layout
   ================================================================= */

/* ----- Hero (shared pattern with contact) ----- */
.team-hero {
  position: relative; min-height: 62vh;
  display: grid; place-items: center; overflow: hidden;
  background: var(--bg-deep);
}
.team-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(55% 65% at 50% 55%, rgba(201,169,106,.11), transparent 68%),
    radial-gradient(35% 45% at 80% 15%, rgba(201,169,106,.07), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(255,255,255,.016) 84px 85px),
    repeating-linear-gradient(0deg,  transparent 0 84px, rgba(255,255,255,.012) 84px 85px),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}
[data-theme="light"] .team-hero__bg {
  background:
    radial-gradient(55% 65% at 50% 55%, rgba(168,128,60,.09), transparent 68%),
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(40,30,10,.025) 84px 85px),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}
.team-hero__inner {
  position: relative; z-index: 2; text-align: center;
  padding: clamp(8rem,16vh,12rem) var(--pad-x) clamp(4rem,8vh,6rem);
  max-width: 860px; margin: 0 auto;
}
.team-hero__inner .eyebrow { margin-bottom: 1.6rem; }
.team-hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem); line-height: .98;
  letter-spacing: -.02em; margin-bottom: 1.5rem;
}
.team-hero__title em { font-style: italic; color: var(--gold-400); }
.team-hero__sub {
  color: var(--text-soft); font-size: clamp(1rem,1.5vw,1.18rem);
  max-width: 52ch; margin: 0 auto;
}

/* ----- Member rows — editorial full-width alternating ----- */
.team-members { background: var(--bg); }

.tm-row {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 88vh; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* Mirror even rows (right portrait, left text) */
.tm-row:nth-child(even) { direction: rtl; }
.tm-row:nth-child(even) > * { direction: ltr; }

/* ----- Portrait side ----- */
.tm-portrait {
  position: relative; overflow: hidden; min-height: 560px;
}
.tm-portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transform: scale(1.06); will-change: transform;
  transition: transform 1.4s var(--ease-lux);
}
.tm-row:hover .tm-portrait img { transform: scale(1.0); }

/* Gradient portrait fallbacks */
.tm-portrait .img-fallback { position: absolute; inset: 0; }
.tm-row--1 .img-fallback {
  background:
    radial-gradient(55% 55% at 48% 28%, rgba(201,169,106,.22), transparent 65%),
    linear-gradient(160deg, #1e2a3a 0%, #111820 55%, #07090d 100%);
}
.tm-row--2 .img-fallback {
  background:
    radial-gradient(55% 55% at 52% 28%, rgba(201,169,106,.18), transparent 65%),
    linear-gradient(160deg, #1c1f2e 0%, #10121a 55%, #07070d 100%);
}

/* Architectural grid overlay on fallback */
.tm-portrait .img-fallback::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(255,255,255,.025) 52px 53px),
    repeating-linear-gradient(0deg,  transparent 0 52px, rgba(255,255,255,.02)  52px 53px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

/* Monogram watermark on fallback */
.tm-portrait .portrait-mono {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; pointer-events: none;
}
.tm-portrait .portrait-mono span {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(8rem, 18vw, 16rem); line-height: 1;
  color: rgba(201,169,106,.12); letter-spacing: -.05em;
  user-select: none;
}

/* Bottom atmospheric fade */
.tm-portrait::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7,7,10,.45) 100%);
}
[data-theme="light"] .tm-portrait::after {
  background: linear-gradient(180deg, transparent 55%, rgba(239,234,224,.3) 100%);
}

/* Index number badge */
.tm-portrait .portrait-num {
  position: absolute; top: 2rem; left: 2rem; z-index: 3;
  font-family: var(--font-display); font-size: 1rem;
  color: rgba(201,169,106,.7); letter-spacing: .15em;
}
.tm-row:nth-child(even) .tm-portrait .portrait-num {
  left: auto; right: 2rem;
}

/* ----- Content side ----- */
.tm-content {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: clamp(3rem,7vh,5.5rem) clamp(2.5rem,6vw,6rem);
  background: var(--bg);
}
/* Large faded initial watermark behind the text */
.tm-content::before {
  content: attr(data-initial);
  position: absolute; z-index: 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(12rem, 26vw, 22rem); line-height: 1;
  color: rgba(201,169,106,.04); letter-spacing: -.05em;
  right: -1rem; bottom: -1rem; pointer-events: none; user-select: none;
}
[data-theme="light"] .tm-content::before { color: rgba(168,128,60,.06); }

.tm-content__inner { position: relative; z-index: 1; max-width: 520px; }

.tm-tag {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: .36em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 1.6rem; font-weight: 600;
}
.tm-tag::before { content: ""; width: 32px; height: 1px; background: var(--gold-500); }

.tm-name {
  font-family: montserrat; font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem); line-height: .97;
  letter-spacing: -.025em; margin-bottom: 1.1rem;
}

.tm-position {
  font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 600; margin-bottom: 1.8rem;
}

.tm-rule {
  width: 60px; height: 1px; margin-bottom: 1.8rem;
  background: linear-gradient(90deg, var(--gold-500), rgba(201,169,106,.2));
}

.tm-bio { color: var(--text-soft); font-size: clamp(.95rem,1.3vw,1.08rem); line-height: 1.75; }

.tm-socials { display: flex; gap: .9rem; margin-top: 2.2rem; }
.tm-social {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--glass-hi); color: var(--text-soft);
  transition: .45s var(--ease-lux);
}
.tm-social:hover { background: var(--gold-500); color: var(--on-accent); border-color: var(--gold-500); transform: translateY(-3px); }

/* ----- CTA section at bottom ----- */
.team-cta {
  position: relative; z-index: 2; overflow: hidden;
  padding: clamp(5rem,10vh,8rem) var(--pad-x);
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  text-align: center;
}
.team-cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 70% at 50% 50%, rgba(201,169,106,.1), transparent 68%);
  pointer-events: none;
}
.team-cta__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.team-cta__inner .eyebrow { margin-bottom: 1.4rem; }
.team-cta__inner h2 { margin-bottom: 1.2rem; }
.team-cta__inner p { color: var(--text-soft); margin-bottom: 2.4rem; }
.team-cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .tm-row { grid-template-columns: 1fr; min-height: auto; direction: ltr !important; }
  .tm-row > * { direction: ltr !important; }
  .tm-portrait { min-height: 70vw; max-height: 520px; }
  .tm-portrait .portrait-num { left: 1.4rem !important; right: auto !important; }
  .tm-content { padding: clamp(2.5rem,6vh,4rem) clamp(1.5rem,5vw,3rem); }
  .tm-content::before { font-size: 10rem; opacity: .5; }
}
@media (max-width: 480px) {
  .tm-portrait { min-height: 62vw; }
}

/* =================================================================
   ABOUT PAGE — three sections: About · Mission · Vision
   Each section has its own distinct personality within the system.
   ================================================================= */

/* -----------------------------------------------------------------
   ABOUT HERO (cinematic letterbox banner)
   ----------------------------------------------------------------- */
.about-hero {
  position: relative; min-height: 66vh;
  display: grid; place-items: center; overflow: hidden;
  background: var(--bg-deep);
}
.about-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 80% at 50% 60%, rgba(201,169,106,.13), transparent 68%),
    radial-gradient(38% 45% at 10% 20%, rgba(201,169,106,.07), transparent 60%),
    radial-gradient(38% 45% at 90% 80%, rgba(201,169,106,.06), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(255,255,255,.014) 90px 91px),
    repeating-linear-gradient(0deg,  transparent 0 90px, rgba(255,255,255,.010) 90px 91px),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}
[data-theme="light"] .about-hero__bg {
  background:#fff;
}
.about-hero__inner {
  position: relative; z-index: 2; text-align: center;
  padding: clamp(9rem,17vh,13rem) var(--pad-x) clamp(4rem,8vh,6rem);
  max-width: 920px; margin: 0 auto;
}
.about-hero__inner .eyebrow { margin-bottom: 1.7rem; }
.about-hero__title {
  font-family: montserrat; font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 8rem); line-height: .95;
  letter-spacing: -.025em; margin-bottom: 1.7rem;
}
.about-hero__title em { font-style: italic; color: var(--gold-400); }
.about-hero__sub {
  color: var(--text-soft); font-size: clamp(1rem,1.6vw,1.22rem);
  max-width: 56ch; margin: 0 auto 2.4rem;
}
/* Animated ticker strip */
.about-hero__ticker {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid var(--line);
  display: flex; overflow: hidden; padding: .9rem 0;
  background: linear-gradient(90deg, var(--bg-deep), transparent 8%, transparent 92%, var(--bg-deep));
}
.about-hero__ticker-track {
  display: flex; gap: 3.5rem; align-items: center;
  animation: tickerScroll 22s linear infinite; white-space: nowrap;
}
.about-hero__ticker-track span {
  font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--text-mute);
  display: flex; align-items: center; gap: .8rem;
}
.about-hero__ticker-track span::before {
  content: "✦"; color: var(--gold-400); font-size: .55rem;
}
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -----------------------------------------------------------------
   SECTION A — ABOUT US   (immersive two-column with media)
   ----------------------------------------------------------------- */
.abt-section {
  position: relative; z-index: 2; background: #fff;
  /*padding: clamp(0rem,12vh,10rem) var(--pad-x);*/
  padding:0px;
  overflow: hidden;
}
.abt-section__label {
  max-width: var(--maxw); margin: 0 auto 0rem;
  display: flex; align-items: center; gap: 1.8rem;
}
.abt-section__label .eyebrow { margin: 0; }
.abt-section__num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 5rem; line-height: 1; color: rgba(201,169,106,.15);
  letter-spacing: -.05em; margin-left: auto;
}

/* About grid — image left, rich content right */
.abt-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem,7vw,8rem);
  align-items: center;
}
.abt-media { position: relative; }
.abt-media__frame {
  position: relative; border-radius: 28px; overflow: hidden;
  height: 72vh; min-height: 500px;
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--shadow-xl);
}
.abt-media__frame img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%;
  object-fit: cover; will-change: transform;
}
.abt-media__frame .img-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 50% at 48% 30%, rgba(201,169,106,.18), transparent 65%),
    linear-gradient(145deg, #1e2838 0%, #111620 60%, #07090d 100%);
}
.abt-media__frame .img-fallback::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.022) 46px 47px),
    repeating-linear-gradient(0deg,  transparent 0 46px, rgba(255,255,255,.018) 46px 47px);
}
/* Floating stat pill */
.abt-media__pill {
  position: absolute; z-index: 3; bottom: 2rem; right: -1.4rem;
  padding: 1.4rem 1.8rem; border-radius: 20px;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
}
.abt-media__pill strong {
  display: block; font-family: var(--font-display); font-size: 2.4rem;
  font-weight: 300; color: var(--gold-300); line-height: 1;
}
.abt-media__pill span {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft);
  margin-top: .35rem; display: block;
}
/* Second smaller pill */
.abt-media__pill2 {
  position: absolute; z-index: 3; top: 2rem; left: -1.4rem;
  padding: 1rem 1.4rem; border-radius: 16px;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.abt-media__pill2 strong {
  display: block; font-family: var(--font-display); font-size: 1.7rem;
  font-weight: 300; color: var(--text); line-height: 1;
}
.abt-media__pill2 span {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute);
  margin-top: .3rem; display: block;
}

/* About content */
.abt-content__title { margin: 1.3rem 0 1.6rem; }

.abt-content p
{
  color: var(--text-soft);
  margin-bottom: 1rem;
  line-height: 25px;
  font-family:montserrat;
  font-size:20px;
}

.abt-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2rem;
}
.abt-hi {
  padding: 1.3rem 1.4rem; border-radius: 16px;
  background: rgba(201,169,106,.06); border: 1px solid rgba(201,169,106,.14);
  transition: background .4s, border-color .4s;
}
.abt-hi:hover { background: rgba(201,169,106,.1); border-color: rgba(201,169,106,.28); }
.abt-hi__icon { color: var(--gold-400); margin-bottom: .7rem; }
.abt-hi__title { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.abt-hi__text { font-size: .82rem; color: var(--text-soft); line-height: 1.55; }

/* Stats row under the grid */
.abt-stats {
  max-width: var(--maxw); margin: clamp(4rem,8vh,6rem) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--glass-bg); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.abt-stat { padding: 2.4rem 1.6rem; border-right: 1px solid var(--line); }
.abt-stat:last-child { border-right: none; }
.abt-stat__num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem,4.5vw,3.8rem); line-height: 1; color: var(--text);
}
.abt-stat__num .sfx { color: var(--gold-400); }
.abt-stat__lbl { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); margin-top: .6rem; }

/* -----------------------------------------------------------------
   SECTION B — MISSION   (dark, full-bleed, cinematic quote layout)
   ----------------------------------------------------------------- */
.mission-section {
  position: relative; z-index: 2; overflow: hidden;
  padding: 30px;
  background: #fff;
  border-top: 1px solid var(--line);
}
/* Atmospheric corner glows */
.mission-section::before,
.mission-section::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); z-index: 0;
}
.mission-section::before {
  width: 55vw; height: 55vw; top: -15%; left: -15%;
  background: rgba(201,169,106,.07);
}
.mission-section::after {
  width: 40vw; height: 40vw; bottom: -15%; right: -10%;
  background: rgba(201,169,106,.05);
}

.mission-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
}
.mission-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 20px;
}
.mission-top .abt-section__num { font-size: 6rem; }

/* Giant editorial mission statement */
.mission-statement {
  max-width: 100%;
  font-family: montserrat; font-weight: 300;
  font-size: 22px; line-height: 1.18;
  letter-spacing: -.015em; color: var(--text);
  margin-bottom: 20px;
}

/* Three mission pillars */
.mission-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  margin-top: clamp(2.5rem,5vh,4rem);
}
.m-pillar {
  padding: 2.2rem; border-radius: 22px; position: relative; overflow: hidden;
  border: 1px solid var(--glass-stroke); background: var(--glass-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .5s var(--ease-lux), box-shadow .5s var(--ease-lux), transform .5s var(--ease-lux);
}
.m-pillar:hover {
  border-color: rgba(201,169,106,.36); transform: translateY(-6px);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.7), 0 0 40px -20px rgba(201,169,106,.2);
}
.m-pillar__glow {
  position: absolute; z-index: 0; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(201,169,106,.1), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.m-pillar:hover .m-pillar__glow { opacity: 1; }
.m-pillar__icon {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 1.4rem;
  background: rgba(201,169,106,.12); border: 1px solid rgba(201,169,106,.22);
  color: var(--gold-300);
}
.m-pillar__num {
  position: absolute; z-index: 1; top: 1.6rem; right: 1.8rem;
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  color: rgba(201,169,106,.12); line-height: 1;
}
.m-pillar h3 { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: .7rem; }
.m-pillar p  { position: relative; z-index: 1; color: var(--text-soft); font-size: .9rem; line-height: 1.65; }

/* -----------------------------------------------------------------
   SECTION C — VISION   (timeline + immersive split layout)
   ----------------------------------------------------------------- */
.vision-section {
  position: relative; z-index: 2; overflow: hidden;
  background: #fff; border-top: 1px solid var(--line);
}
/* Pinstripe pattern */
.vision-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    115deg, transparent 0 140px, rgba(201,169,106,.025) 140px 141px
  );
}
[data-theme="light"] .vision-section::before {
  background: repeating-linear-gradient(
    115deg, transparent 0 140px, rgba(168,128,60,.04) 140px 141px
  );
}

/* Top eyebrow row */
.vision-header {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem,10vh,8rem) 0 clamp(3.5rem,7vh,5.5rem);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.vision-header .abt-section__num { font-size: 6rem; }
.vision-headline {
  max-width: 580px;
}
.vision-headline h2 { margin: 1.2rem 0 1rem; }
.vision-headline p { color: var(--text-soft); max-width: 44ch; }

/* Full-bleed visual with glass overlay */
.vision-visual {
  position: relative; height: 62vh; min-height: 440px; overflow: hidden;
}
.vision-visual__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; will-change: transform;
}
.vision-visual__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 60% 45%, rgba(201,169,106,.16), transparent 65%),
    linear-gradient(135deg, #192030 0%, #0e131c 50%, #07090e 100%);
}
.vision-visual__fallback::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255,255,255,.02) 58px 59px),
    repeating-linear-gradient(0deg,  transparent 0 58px, rgba(255,255,255,.018) 58px 59px);
}
.vision-visual__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,7,10,.35) 0%, rgba(7,7,10,.65) 100%);
}
[data-theme="light"] .vision-visual__overlay {
  background: linear-gradient(180deg, rgba(239,234,224,.25) 0%, rgba(239,234,224,.55) 100%);
}

/* Vision statement overlay on image */
.vision-visual__quote {
  position: absolute; z-index: 2; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--pad-x);
}
.vision-visual__quote blockquote {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.2;
  letter-spacing: -.01em; color: var(--text); max-width: 860px;
  text-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.vision-visual__quote blockquote em { color: var(--gold-300); font-style: normal; }

/* Vision timeline row */
.vision-timeline {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem,10vh,8rem) 0 clamp(6rem,12vh,10rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
/* Connecting line */
.vision-timeline::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: calc(clamp(5rem,10vh,8rem) + 22px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400) 15%, var(--gold-400) 85%, transparent);
  z-index: 0;
}
.v-step { position: relative; z-index: 1; padding: 0 2rem 0 0; }
.v-step__dot {
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 1.8rem;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--gold-400);
  color: var(--gold-300); font-size: .8rem; font-weight: 700;
  box-shadow: 0 0 0 6px var(--bg), var(--glow-gold);
  transition: background .4s, border-color .4s;
}
.v-step:hover .v-step__dot { background: var(--gold-500); border-color: var(--gold-300); color: var(--on-accent); }
.v-step__year {
  font-family: var(--font-display); font-size: 1rem; font-weight: 300;
  color: var(--gold-400); letter-spacing: .08em; margin-bottom: .5rem;
}
.v-step h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-bottom: .5rem; }
.v-step p { color: var(--text-soft); font-size: .85rem; line-height: 1.6; }

/* Bottom CTA inside vision section */
.vision-cta {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding-bottom: clamp(5rem,10vh,8rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 3rem;
}
.vision-cta p { color: var(--text-soft); max-width: 46ch; }
.vision-cta__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* -----------------------------------------------------------------
   RESPONSIVE — about page
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  .abt-grid { grid-template-columns: 1fr; }
  .abt-media { order: -1; }
  .abt-media__frame { height: 56vh; }
  .abt-media__pill  { right: 1rem; }
  .abt-media__pill2 { left: 1rem; }
  .abt-stats { grid-template-columns: repeat(2, 1fr); }
  .abt-stat:nth-child(2) { border-right: none; }
  .mission-pillars { grid-template-columns: 1fr; }
  .vision-timeline { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .vision-timeline::before { display: none; }
  .abt-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .abt-stats { grid-template-columns: 1fr; }
  .abt-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .abt-stat:last-child { border-bottom: none; }
  .vision-timeline { grid-template-columns: 1fr; gap: 2.4rem; }
  .mission-top { flex-direction: column; }
  .about-hero__ticker { display: none; }
  .vision-header { flex-direction: column; }
  .vision-cta { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   EQUAL-HEIGHT FIX — About section media frame matches right column
   ================================================================= */
.abt-grid { align-items: stretch; }
.abt-media { display: flex; flex-direction: column; }
.abt-media__frame {
  flex: 1;           /* grow to fill full column height */
  height: auto !important;
  min-height: 480px;
}
/* Image inside fills the now-flexible frame */
.abt-media__frame img,
.abt-media__frame .img-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* =================================================================
   WHY TO INVEST WITH US — Screenshot-matched card grid
   ================================================================= */
.why-invest-section {
  position: relative; z-index: 2;
  background: #fff;
  padding: clamp(4rem, 8vh, 6rem) var(--pad-x);
  border-top: 1px solid var(--line);
}

/* Heading — gold dash + uppercase label */
.why-invest-head {
  max-width: var(--maxw); margin: 0 auto clamp(2.4rem, 5vh, 3.6rem);
}
.why-invest-head h2 {
  display: inline-flex; align-items: center; gap: 1.1rem;
  font-family: var(--font-body); font-size: 22px; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold-400);
}
.why-invest-head h2::before {
  content: ""; display: block;
  width: 42px; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), rgba(201,169,106,.4));
  flex-shrink: 0; border-radius: 2px;
}

/* Rows wrapper */
.invest-rows {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.3rem;
}

/* Each row — 3 cards */
.invest-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

/* Individual card */
.m-pillar-invest {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: 1.7rem 1.6rem 1.6rem;
  border-radius: 20px;
  background: var(--surface-card);
  border: 1px solid rgba(201, 169, 106, .15);
  text-decoration: none; color: var(--text);
  position: relative; overflow: hidden;
  transition:
    border-color  .45s var(--ease-lux),
    box-shadow    .45s var(--ease-lux),
    transform     .45s var(--ease-lux),
    background    .45s var(--ease-lux);
  cursor: pointer;
  will-change: transform;
}
/* Subtle inner glow on hover */
.m-pillar-invest::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(201,169,106,.10), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease-lux);
}
.m-pillar-invest:hover {
  border-color: rgba(201, 169, 106, .45);
  box-shadow: 0 16px 48px -16px rgba(0,0,0,.35), 0 0 0 1px rgba(201,169,106,.15);
  transform: translateY(-5px);
  background: color-mix(in srgb, var(--surface-card) 90%, rgba(201,169,106,.06));
}
.m-pillar-invest:hover::before { opacity: 1; }

/* Light mode refinements */
[data-theme="light"] .m-pillar-invest {
  background: #fff;
  border-color: rgba(201,169,106,.18);
  box-shadow: 0 2px 16px rgba(60,50,30,.06);
}
[data-theme="light"] .m-pillar-invest:hover {
  border-color: rgba(168,128,60,.45);
  box-shadow: 0 16px 40px -12px rgba(60,50,30,.16), 0 0 0 1px rgba(168,128,60,.2);
  background: #fff;
}

/* Icon box */
.mpi__icon {
  position: relative; z-index: 1;
  width: 58px; height: 58px; border-radius: 15px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(201,169,106,.10);
  border: 1px solid rgba(201,169,106,.18);
  color: var(--gold-400);
  transition: background .45s var(--ease-lux), border-color .45s var(--ease-lux), color .45s;
}
[data-theme="light"] .mpi__icon {
  background: rgba(201,169,106,.08);
  border-color: rgba(168,128,60,.18);
}
.m-pillar-invest:hover .mpi__icon {
  background: rgba(201,169,106,.18);
  border-color: rgba(201,169,106,.35);
  color: var(--gold-300);
}

/* Label */
.mpi__label {
  position: relative; z-index: 1;
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(.9rem, 1.1vw, 1rem); color: var(--text);
  line-height: 1.4; margin: 0;
  transition: color .4s;
}
.m-pillar-invest:hover .mpi__label { color: var(--gold-400); }

/* =================================================================
   WHY INVEST — RESPONSIVE
   Desktop (>900px): 3 per row  ← already the grid default
   Mobile  (≤640px): 3 per row  ← maintain 3 columns, reduce padding
   ================================================================= */
@media (max-width: 640px) {
  .invest-row {
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
  }
  .m-pillar-invest {
    padding: 1.1rem .9rem 1.1rem;
    border-radius: 16px;
  }
  .mpi__icon {
    width: 44px; height: 44px; border-radius: 12px;
  }
  .mpi__icon svg { width: 20px; height: 20px; }
  .mpi__label { font-size: .78rem; }
  .why-invest-head h2 { font-size: .7rem; letter-spacing: .24em; }
  .why-invest-head h2::before { width: 28px; }
}
