/* ═══════════════════════════════════════════════════════════════
   LUMIÈRE — Premium Cinematic Landing Page
   style.css  |  Dark Luxury Theme
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   0.  DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* Colors */
  --c-bg:          #07070f;
  --c-bg-2:        #0d0d1a;
  --c-bg-3:        #12121f;
  --c-surface:     rgba(255, 255, 255, 0.04);
  --c-surface-2:   rgba(255, 255, 255, 0.08);
  --c-border:      rgba(255, 255, 255, 0.08);
  --c-border-2:    rgba(255, 255, 255, 0.14);

  --c-text:        #f0eee8;
  --c-text-muted:  rgba(240, 238, 232, 0.55);
  --c-text-dim:    rgba(240, 238, 232, 0.30);

  --c-accent:      #7b61ff;
  --c-accent-2:    #a98bff;
  --c-accent-glow: rgba(123, 97, 255, 0.35);
  --c-gold:        #e8d5b7;
  --c-gold-2:      #c9a96e;

  /* Typography */
  --f-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --f-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Spacing Scale */
  --sp-2:    0.125rem;
  --sp-4:    0.25rem;
  --sp-8:    0.5rem;
  --sp-12:   0.75rem;
  --sp-16:   1rem;
  --sp-20:   1.25rem;
  --sp-24:   1.5rem;
  --sp-32:   2rem;
  --sp-40:   2.5rem;
  --sp-48:   3rem;
  --sp-64:   4rem;
  --sp-80:   5rem;
  --sp-96:   6rem;
  --sp-128:  8rem;
  --sp-160:  10rem;

  /* Typography Scale */
  --fs-xs:    clamp(0.65rem, 1vw, 0.75rem);
  --fs-sm:    clamp(0.8rem, 1.2vw, 0.875rem);
  --fs-base:  clamp(0.9rem, 1.5vw, 1rem);
  --fs-md:    clamp(1rem, 2vw, 1.125rem);
  --fs-lg:    clamp(1.125rem, 2.5vw, 1.375rem);
  --fs-xl:    clamp(1.25rem, 3vw, 1.75rem);
  --fs-2xl:   clamp(1.5rem, 4vw, 2.25rem);
  --fs-3xl:   clamp(2rem, 5vw, 3.5rem);
  --fs-4xl:   clamp(2.5rem, 7vw, 5rem);
  --fs-5xl:   clamp(3rem, 9vw, 7.5rem);
  --fs-hero:  clamp(3.5rem, 11vw, 10rem);

  /* Border Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Blur */
  --blur-sm: blur(8px);
  --blur-md: blur(16px);
  --blur-lg: blur(32px);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.64, 0, 0.78, 0);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:  180ms;
  --dur-med:   360ms;
  --dur-slow:  600ms;

  /* Layout */
  --container: 1280px;
  --nav-h:     72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

em {
  font-style: italic;
  font-family: var(--f-serif);
  color: var(--c-gold);
}

/* ─────────────────────────────────────────────
   2.  ACCESSIBILITY
───────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-16);
  z-index: 9999;
  padding: var(--sp-12) var(--sp-24);
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--sp-16);
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--c-accent-2);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ─────────────────────────────────────────────
   3.  CUSTOM CURSOR
───────────────────────────────────────────── */
.cursor,
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 10px;
  height: 10px;
  background: #fff;
  transition: width var(--dur-fast), height var(--dur-fast), background var(--dur-fast);
}

.cursor-trail {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  transition: transform 0.12s var(--ease-out), width var(--dur-med), height var(--dur-med);
}

body.cursor--hover .cursor {
  width: 18px;
  height: 18px;
  background: var(--c-accent-2);
}

body.cursor--hover .cursor-trail {
  width: 52px;
  height: 52px;
}

@media (hover: none) {
  .cursor, .cursor-trail { display: none; }
}

/* ─────────────────────────────────────────────
   4.  UTILITIES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-20), 5vw, var(--sp-80));
}

.glass {
  background: var(--c-surface);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--c-border);
}

.br-lg { display: none; }
@media (min-width: 960px) { .br-lg { display: block; } }

/* ─────────────────────────────────────────────
   5.  PAGE LOADER
───────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-20);
}

.loader__logo {
  font-size: 3rem;
  color: var(--c-accent);
  animation: pulseGlow 1.4s ease-in-out infinite;
}

.loader__bar {
  width: 200px;
  height: 2px;
  background: var(--c-border-2);
  border-radius: var(--r-full);
  overflow: hidden;
}

.loader__progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
  border-radius: var(--r-full);
  transition: width 0.4s var(--ease-out);
}

.loader__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.35em;
  color: var(--c-text-dim);
  font-weight: 500;
  text-transform: uppercase;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 8px var(--c-accent)); }
  50% { opacity: 0.7; transform: scale(0.95); filter: drop-shadow(0 0 20px var(--c-accent-glow)); }
}

/* ─────────────────────────────────────────────
   6.  NAVBAR
───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: var(--nav-h);
  transition: background var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 7, 15, 0.7);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border-color: var(--c-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: 0.08em;
  color: var(--c-text);
  transition: color var(--dur-fast) var(--ease-out);
}

.navbar__logo:hover { color: var(--c-accent-2); }

.logo-mark {
  font-size: 1.1em;
  color: var(--c-accent);
  display: inline-block;
  animation: spinMark 8s linear infinite;
}

@keyframes spinMark {
  to { transform: rotate(360deg); }
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent-2);
  transition: width var(--dur-med) var(--ease-out);
}

.nav-link:hover { color: var(--c-text); }
.nav-link:hover::after { width: 100%; }

.nav-link--cta {
  padding: var(--sp-8) var(--sp-20);
  background: var(--c-accent);
  color: #fff !important;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
  transition: background var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
  background: var(--c-accent-2);
  box-shadow: 0 0 24px var(--c-accent-glow);
  transform: translateY(-1px);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-8);
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-text);
  border-radius: var(--r-full);
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-med);
}

.navbar__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   7.  BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-16) var(--sp-32);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 0 0 transparent;
}

.btn--primary:hover {
  background: var(--c-accent-2);
  box-shadow: 0 8px 32px var(--c-accent-glow);
  transform: translateY(-2px);
}

.btn__arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-med) var(--ease-out);
}

.btn--primary:hover .btn__arrow { transform: translate(3px, -3px); }

.btn--ghost {
  background: transparent;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border-2);
}

.btn--ghost:hover {
  color: var(--c-text);
  border-color: var(--c-text-muted);
  background: var(--c-surface);
  transform: translateY(-2px);
}

.btn--glow {
  background: linear-gradient(135deg, var(--c-accent), #b06cff);
  color: #fff;
  padding: var(--sp-20) var(--sp-48);
  font-size: var(--fs-md);
  box-shadow: 0 0 0 transparent;
  overflow: hidden;
}

.btn--glow:hover {
  box-shadow: 0 12px 48px rgba(123, 97, 255, 0.5);
  transform: translateY(-3px);
}

.btn__shine {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
}

.btn--glow:hover .btn__shine { left: 130%; }

/* ─────────────────────────────────────────────
   8.  SECTION COMMON
───────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: var(--sp-16);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--c-text);
  margin-bottom: var(--sp-24);
  /* Perspective for rotateX reveals */
  perspective: 800px;
}

.section-title--center { text-align: center; }

.section-title--xl {
  font-size: var(--fs-5xl);
}

.section-body {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: var(--sp-40);
}

.section-body--center { text-align: center; margin-inline: auto; }

.section-header {
  margin-bottom: var(--sp-64);
}

/* ─────────────────────────────────────────────
   SplitType — clip containers
───────────────────────────────────────────── */

/* Generic line-clip div injected by JS */
.st-line-clip {
  overflow: hidden;
  display: block;
  line-height: inherit;
}

/* Words / chars must be inline-block to flow correctly */
[data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

[data-split] .char {
  display: inline-block;
}

/* Perspective on every split title element for rotateX */
[data-split] {
  perspective: 1000px;
  perspective-origin: center top;
}

/* ─────────────────────────────────────────────
   9.  HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 5;           /* Always above sticky video sections */
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#tsparticles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero__orb--1 {
  width: clamp(300px, 45vw, 700px);
  height: clamp(300px, 45vw, 700px);
  background: radial-gradient(circle, rgba(123, 97, 255, 0.18) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: clamp(200px, 30vw, 500px);
  height: clamp(200px, 30vw, 500px);
  background: radial-gradient(circle, rgba(232, 213, 183, 0.10) 0%, transparent 70%);
  bottom: 0;
  left: -5%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.06); }
}

.hero-sentinel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
}

.hero__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: var(--sp-24);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--c-text);
  margin-bottom: var(--sp-32);
  /* Do NOT set overflow:hidden here — line clips handle it */
  perspective: 1200px;
}

.hero__title em {
  font-size: 0.9em;
}

.hero__sub {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-48);
  line-height: 1.8;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--sp-32);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  opacity: 0.5;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.hero__scroll-indicator span {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--c-text-muted);
  border-radius: var(--r-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--c-text-muted);
  border-radius: var(--r-full);
  animation: scrollDot 2.5s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─────────────────────────────────────────────
   10.  VIDEO SECTIONS
───────────────────────────────────────────── */
.video-section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 15, 0.3) 0%,
    rgba(7, 7, 15, 0.5) 50%,
    rgba(7, 7, 15, 0.85) 100%
  );
}

.video-section__overlay--center {
  background: radial-gradient(ellipse at center, rgba(7,7,15,0.4) 0%, rgba(7,7,15,0.85) 100%);
}

.video-section__overlay--heavy {
  background: rgba(7, 7, 15, 0.7);
}

.video-section__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: var(--sp-128);
}

.video-section__content--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

/* ─ Video Pin variant (CSS sticky — no GSAP pin needed) ─
   The section sticks at top:0 while content sections
   scroll OVER it with z-index:2 + solid backgrounds.   ─ */
.video-section--pin {
  position: sticky;
  top: 0;
  z-index: 0;           /* Behind all content sections */
  min-height: 100svh;
}


/* ─ Scale reveal variant — scrolls normally (not sticky) ─ */
.video-section--scale {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.video-section--scale .video-section__media {
  clip-path: inset(0);
}

/* ─ Parallax Strip — also NOT sticky, scrolls normally ─ */
.video-section--strip {
  position: relative;
  z-index: 2;
  isolation: isolate;
  min-height: 70svh;
}

/* ─ Split variant ─ */
.video-section--split {
  position: relative;   /* NOT sticky — split section scrolls normally */
  z-index: 2;           /* Sits above any preceding sticky video */
  min-height: 100svh;
  flex-direction: row;
  background: var(--c-bg-2); /* Solid bg prevents bleed-through */
}

.video-split__left {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
}

.video-split__media {
  position: absolute;
  inset: 0;
}

.video-split__media .section-video,
.video-split__media .video-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-split__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--sp-80) clamp(var(--sp-40), 6vw, var(--sp-96));
  background: var(--c-bg-2);
}

/* ─ Pull Quote ─ */
.pull-quote {
  text-align: center;
  font-style: normal;
  padding: var(--sp-64) 0;
}

.pull-quote p {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  font-weight: 400;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.3;
  margin-bottom: var(--sp-24);
}

.pull-quote cite {
  font-size: var(--fs-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* ─────────────────────────────────────────────
   11.  STATS SECTION
───────────────────────────────────────────── */
.stats-section {
  /* Solid background + stacking so it scrolls OVER pinned video */
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--c-bg-2);
  padding-block: var(--sp-128);
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), var(--c-gold), transparent);
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), var(--c-gold), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.stat-card {
  position: relative;
  padding: var(--sp-48) var(--sp-32);
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-border-2);
}

.stat-card__number {
  display: block;
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--c-text), var(--c-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-12);
}

.stat-card__label {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
  font-weight: 400;
}

.stat-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(123, 97, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   12.  FEATURES SECTION
───────────────────────────────────────────── */
.features-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--c-bg);
  padding-block: var(--sp-128);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}

.feature-card {
  padding: var(--sp-40);
  border-radius: var(--r-xl);
  transition: transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med),
              box-shadow var(--dur-med);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent-glow), transparent);
  opacity: 0;
  transition: opacity var(--dur-med);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-border-2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 52px;
  height: 52px;
  color: var(--c-accent-2);
  margin-bottom: var(--sp-24);
  transition: color var(--dur-med), transform var(--dur-med) var(--ease-spring);
}

.feature-card:hover .feature-card__icon {
  color: var(--c-gold);
  transform: scale(1.1) rotate(5deg);
}

.feature-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-16);
  letter-spacing: -0.02em;
}

.feature-card__body {
  font-size: var(--fs-base);
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-24);
}

.feature-card__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-accent-2);
  letter-spacing: 0.03em;
  transition: color var(--dur-fast), gap var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
}

.feature-card__link:hover { color: var(--c-gold); }

/* ─────────────────────────────────────────────
   13.  TESTIMONIALS SECTION
───────────────────────────────────────────── */
.testimonials-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--c-bg-2);
  padding-block: var(--sp-128);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}

.testimonial-card {
  padding: var(--sp-40);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-border-2);
}

.testimonial-card__stars {
  color: var(--c-gold-2);
  font-size: var(--fs-md);
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: 1.8;
  font-style: normal;
  font-weight: 300;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-border-2);
}

.testimonial-card__author strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.testimonial-card__author span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

/* ─────────────────────────────────────────────
   14.  GALLERY SECTION
───────────────────────────────────────────── */
.gallery-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--c-bg);
  padding-block: var(--sp-128);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: var(--sp-16);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: pointer;
}

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-32) var(--sp-24) var(--sp-24);
  background: linear-gradient(to top, rgba(7,7,15,0.9) 0%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: all var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item__caption span {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-text);
}

.gallery-item__caption em {
  font-size: var(--fs-xs);
  color: var(--c-gold-2);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   15.  TEAM SECTION
───────────────────────────────────────────── */
.team-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--c-bg-2);
  padding-block: var(--sp-128);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  cursor: pointer;
}

.team-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.8s var(--ease-out), filter 0.6s;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,15,0.9) 0%, transparent 60%);
}

.team-card__info {
  position: absolute;
  bottom: var(--sp-24);
  left: var(--sp-24);
  right: var(--sp-24);
}

.team-card__info strong {
  display: block;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.team-card__info span {
  font-size: var(--fs-xs);
  color: var(--c-gold-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   16.  CTA SECTION
───────────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--c-bg);
  padding-block: var(--sp-160);
  text-align: center;
  overflow: hidden;
}

.cta-section__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.cta-section__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.15) 0%, transparent 70%);
  top: -200px;
  left: -150px;
}

.cta-section__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 213, 183, 0.08) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
}

.cta-section__title {
  font-size: var(--fs-5xl);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--c-text);
  margin-bottom: var(--sp-32);
}

.cta-section__body {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-48);
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
  margin-bottom: var(--sp-32);
}

.cta-section__note {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  letter-spacing: 0.1em;
}

/* ─────────────────────────────────────────────
   17.  FOOTER
───────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: var(--c-bg-2);
  padding-block: var(--sp-80) var(--sp-48);
  border-top: 1px solid var(--c-border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-64);
  margin-bottom: var(--sp-64);
  padding-bottom: var(--sp-64);
  border-bottom: 1px solid var(--c-border);
}

.footer__brand .footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin-bottom: var(--sp-16);
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.8;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-32);
}

.footer__col strong {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-20);
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-12); }

.footer__col a {
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  transition: color var(--dur-fast);
}

.footer__col a:hover { color: var(--c-text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
}

.footer__mark {
  color: var(--c-accent);
  font-size: 1em;
}

/* ─────────────────────────────────────────────
   18.  ANIMATION STATES (JS-controlled)
───────────────────────────────────────────── */
.will-animate {
  opacity: 0;
  transform: translateY(30px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

/* SplitType wrapper fix */
[data-split] .word,
[data-split] .char {
  display: inline-block;
}

[data-split] .line {
  overflow: hidden;
  display: block;
}

/* ─────────────────────────────────────────────
   19.  MOBILE NAV OPEN STATE
───────────────────────────────────────────── */
.navbar__links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(7, 7, 15, 0.97);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  align-items: center;
  justify-content: center;
  gap: var(--sp-32);
}

.navbar__links.mobile-open .nav-link {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--c-text);
}

.navbar__links.mobile-open .nav-link--cta {
  font-size: var(--fs-xl);
  padding: var(--sp-16) var(--sp-48);
}

/* ─────────────────────────────────────────────
   20.  RESPONSIVE BREAKPOINTS
───────────────────────────────────────────── */

/* ── Tablet (1024px) ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .gallery-item--wide { grid-column: span 1; }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .video-section--split {
    flex-direction: column;
  }

  .video-split__left {
    min-height: 50svh;
  }

  .video-split__right {
    flex: none;
    padding: var(--sp-64) var(--sp-40);
  }
}

/* ── Mobile Nav ── */
@media (max-width: 768px) {
  .navbar__hamburger { display: flex; }
  .navbar__links { display: none; }

  .hero__title { font-size: clamp(2.8rem, 12vw, 5rem); }
  .hero__sub { font-size: var(--fs-base); }

  .section-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .section-title--xl { font-size: clamp(2.5rem, 10vw, 4rem); }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item--tall, .gallery-item--wide { grid-column: span 1; grid-row: span 1; }

  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .footer__top { gap: var(--sp-40); }

  .video-section__content { padding-block: var(--sp-64); }

  .cta-section__title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .pull-quote p { font-size: var(--fs-2xl); }

  .btn--glow { padding: var(--sp-16) var(--sp-32); font-size: var(--fs-base); }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
  .hero__cta-group { flex-direction: column; width: 100%; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }
  .cta-section__actions { flex-direction: column; width: 100%; max-width: 300px; margin-inline: auto; }
  .cta-section__actions .btn { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────────
   21.  PREFERS REDUCED MOTION
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .loader__logo { animation: none; }
  .logo-mark { animation: none; }
  .hero__orb--1, .hero__orb--2 { animation: none; }
  .hero__scroll-indicator { animation: none; }
  .scroll-dot { animation: none; }

  .section-video { display: none; }
  .video-fallback-img { display: block !important; }

  html { scroll-behavior: auto; }

  .cursor, .cursor-trail { display: none; }
}

/* ─────────────────────────────────────────────
   22.  SCROLLBAR STYLING
───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
  background: var(--c-accent);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--c-accent-2); }

/* ─────────────────────────────────────────────
   23.  SELECTION
───────────────────────────────────────────── */
::selection {
  background: var(--c-accent);
  color: #fff;
}
