/* =========================================================================
   GFTEAM APEX — Black Belt Minimalism
   Pure black & white. Black is the accent. Restraint is the point.
   ========================================================================= */

/* ----------------------------------------------------------------- TOKENS */
:root {
  /* color */
  --bg-primary:    #FFFFFF;
  --bg-secondary:  #F5F5F5;
  --surface:       #FFFFFF;
  --border:        #E5E5E5;
  --text-primary:  #000000;
  --text-secondary:#555555;
  --text-muted:    #999999;
  --accent:        #000000;
  --accent-hover:  #333333;
  --ghost:         #F0F0F0;

  /* type */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --pad-x: clamp(24px, 4vw, 60px);

  /* spacing scale */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px;
  --s-4: 40px; --s-5: 64px; --s-6: 80px; --s-7: 120px;
  --section-y: clamp(60px, 9vw, 120px);

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur: 0.3s;
  --dur-slow: 0.7s;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: #000; color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --------------------------------------------------------------- A11Y / OVERLAYS */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 2000;
  background: #000; color: #fff; padding: 10px 18px;
  font-family: var(--font-heading); text-transform: uppercase;
  letter-spacing: .12em; font-size: 12px;
  transform: translateY(-150%); transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 1500; pointer-events: none; background: transparent;
}
.scroll-progress__bar {
  display: block; height: 100%; width: 0;
  background: #fff; mix-blend-mode: difference;
}

.noise {
  position: fixed; inset: 0; z-index: 1400; pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------- UTILITIES */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--pad-x); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.u-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 500;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--text-muted);
}
.eyebrow--light { color: rgba(255,255,255,.7); }
.eyebrow--center { justify-content: center; }
.eyebrow__marker { width: 8px; height: 8px; background: currentColor; flex: none; }

/* dash bullets */
.dash-list { display: grid; gap: 14px; margin-top: var(--s-3); }
.dash-list__item {
  position: relative; padding-left: 30px;
  font-family: var(--font-body); font-weight: 400;
  color: var(--text-secondary); font-size: 15px;
}
.dash-list__item::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 16px; height: 1px; background: var(--text-primary);
}

/* ghost section numbers */
.ghost-num {
  position: absolute; top: -0.18em; left: var(--pad-x); z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(140px, 22vw, 280px); line-height: 1;
  color: var(--ghost); pointer-events: none; user-select: none;
}
.ghost-num--right { left: auto; right: var(--pad-x); }

/* ------------------------------------------------------------- BUTTONS */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; border-radius: 0;
  font-family: var(--font-heading); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.14em; line-height: 1;
  padding: 18px 32px; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--lg { padding: 22px 44px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--light { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #fff; }
.btn--light:hover { background: transparent; color: #fff; }

.btn--dark { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.btn--dark:hover { background: transparent; color: var(--accent); }

.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn--outline-light:hover { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #fff; }

/* ------------------------------------------------------------- REVEAL */
.reveal {
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
.js .reveal { opacity: 0; }
.js .reveal--up { transform: translateY(40px); }
.js .reveal--left { transform: translateX(-40px); }
.js .reveal--right { transform: translateX(40px); }
.reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; } .d6 { transition-delay: .6s; }

/* ================================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  color: #fff;
}
.nav__inner { display: flex; align-items: center; gap: var(--s-4); height: 88px; }

.nav__brand { display: inline-flex; align-items: center; gap: 14px; }
.nav__logo-mark {
  height: 38px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--dur) var(--ease);
}
.nav__logo-text {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display); font-size: 26px; letter-spacing: 0.04em; line-height: 1;
}
.nav__logo-apex {
  font-family: var(--font-heading); font-weight: 300; font-size: 14px;
  letter-spacing: 0.34em; padding-left: 10px; margin-left: 2px;
  border-left: 1px solid currentColor; opacity: .85;
}

.nav__links { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.nav__link {
  position: relative; font-family: var(--font-heading); font-weight: 400;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: currentColor; transition: width var(--dur) var(--ease);
}
.nav__link:hover::after { width: 100%; }

.nav__has-drop { position: relative; }
.nav__link--drop::before { content: ''; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; }
.nav__dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; color: #000; min-width: 200px; padding: 10px 0;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.25); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transition: all var(--dur) var(--ease);
}
.nav__has-drop:hover .nav__dropdown,
.nav__has-drop:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown-link {
  display: block; padding: 11px 24px;
  font-family: var(--font-heading); font-weight: 400; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__dropdown-link:hover { background: #000; color: #fff; }

.nav__cta {
  font-family: var(--font-heading); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 13px 22px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  transition: all var(--dur) var(--ease);
}
.nav__cta:hover { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #fff; }

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; flex: none; }
.nav__toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 26px; }

/* scrolled state */
.nav--scrolled {
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.nav--scrolled .nav__inner { height: 72px; }
.nav--scrolled .nav__logo-mark { filter: brightness(0); }
.nav--scrolled .nav__cta { color: #000; box-shadow: inset 0 0 0 1px #000; }
.nav--scrolled .nav__cta:hover { background: #000; color: #fff; }

/* mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: #0a0a0a; color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: var(--s-2); padding: var(--pad-x);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.mobile-menu--open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: grid; gap: 4px; width: 100%; }
.mobile-menu__link {
  font-family: var(--font-display); font-size: clamp(40px, 12vw, 56px);
  line-height: 1.05; letter-spacing: 0.02em; color: #fff;
  opacity: 0; transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.mobile-menu--open .mobile-menu__link,
.mobile-menu--open .mobile-menu__cta { opacity: 1; transform: translateY(0); transition-delay: calc(0.06s * var(--i) + 0.1s); }
.mobile-menu__cta { margin-top: var(--s-4); opacity: 0; transform: translateY(30px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }

/* ================================================================ HERO */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; background: #000; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.82) 30%, rgba(0,0,0,0.5) 62%, rgba(0,0,0,0.42) 100%),
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 42%);
}
.hero__inner { position: relative; z-index: 2; color: #fff; padding-top: 128px; padding-bottom: 132px; max-width: 940px; }

.hero__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(58px, 9.6vw, 138px); line-height: 0.85; letter-spacing: 0.01em;
  margin: var(--s-3) 0;
}
.hero__title-main { display: block; color: #fff; }

.hero__kicker {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(15px, 2.1vw, 23px); text-transform: uppercase;
  letter-spacing: 0.26em; color: #fff; margin-bottom: var(--s-4);
}

.hero__badge-wrap { margin-bottom: var(--s-4); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 11px;
  border: 1px solid rgba(255,255,255,.4); padding: 12px 20px;
  font-family: var(--font-heading); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.18em; color: #fff;
}
.hero__badge-dot { width: 7px; height: 7px; background: #fff; animation: pulse-dot 2.4s var(--ease) infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.65); } }

.hero__text {
  max-width: 500px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.8;
  font-weight: 300; margin-bottom: var(--s-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.hero__vlabel {
  position: absolute; right: clamp(14px, 2vw, 32px); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; z-index: 2; pointer-events: none;
  font-family: var(--font-heading); font-weight: 400; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.42em; color: rgba(255,255,255,.38);
}

/* marquee */
.hero__marquee { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.marquee { overflow: hidden; width: 100%; }
.marquee__track {
  display: inline-flex; align-items: center; gap: 28px; white-space: nowrap;
  font-family: var(--font-heading); font-weight: 300; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.22em; color: rgba(255,255,255,.45);
  animation: marquee 32s linear infinite; will-change: transform;
}
.marquee__dot { color: rgba(255,255,255,.3); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================================================================ STATS */
.stats { position: relative; overflow: hidden; color: #fff; background: radial-gradient(130% 135% at 50% -25%, #131313 0%, #000 60%); }
.stats__watermark {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  height: 240%; width: auto; max-width: none;
  filter: brightness(0) invert(1); opacity: 0.06;
  z-index: 0; pointer-events: none; user-select: none;
}
.stats__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(30px, 3.5vw, 46px) var(--s-3); text-align: center;
  border-left: 1px solid rgba(255,255,255,.14);
}
.stat:first-child { border-left: 0; }
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 6vw, 76px); line-height: 1; color: #fff; letter-spacing: 0.02em;
}
.stat__label {
  display: block; margin-top: 14px; font-family: var(--font-heading); font-weight: 500;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,.58);
}

/* ============================================================ SECTION SCAFFOLD */
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.section--alt { background: var(--bg-secondary); }
.section--dark { background: #000; color: #fff; }

.section__head { position: relative; z-index: 1; max-width: 760px; margin-bottom: var(--s-6); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.section__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.92; letter-spacing: 0.02em;
  margin-top: var(--s-2);
}
.section__lead {
  margin-top: var(--s-3); max-width: 60ch; color: var(--text-secondary);
  font-size: 17px; font-weight: 300; line-height: 1.8;
}
.section__lead--center { margin-inline: auto; }

/* ============================================================ ARRIVAL */
.arrival__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.arrival__body { margin-top: var(--s-3); color: var(--text-secondary); font-size: 16px; line-height: 1.8; max-width: 50ch; }
.arrival__actions { margin-top: var(--s-4); }
.arrival__media { position: relative; }
.arrival__img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.arrival__tag {
  position: absolute; left: 0; bottom: 28px; background: #000; color: #fff;
  font-family: var(--font-heading); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.2em; padding: 12px 20px;
}

/* ============================================================ FOUNDING OFFER */
.offer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: var(--s-5); }
.offer__item {
  position: relative; background: var(--surface); padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--border);
}
.offer__num {
  font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--ghost);
  display: block; margin-bottom: var(--s-3);
}
.offer__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 600; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.25; margin-bottom: var(--s-2);
}
.offer__marker { width: 8px; height: 8px; background: #000; flex: none; }
.offer__text { color: var(--text-secondary); font-size: 15px; line-height: 1.75; }

.offer__cta { position: relative; z-index: 1; margin-top: var(--s-5); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.offer__note { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); }
.offer__note-marker { width: 6px; height: 6px; background: var(--text-muted); }

/* ============================================================ PROGRAMS */
.programs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.program-card {
  position: relative; overflow: hidden; aspect-ratio: 16 / 11; background: #000;
  display: flex; align-items: flex-end; min-height: 360px;
}
.program-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04); transition: transform var(--dur-slow) var(--ease);
}
.program-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.15) 100%);
  transition: opacity var(--dur) var(--ease);
}
.program-card__bracket {
  position: absolute; top: 24px; left: 24px; width: 34px; height: 34px; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.8); border-left: 1px solid rgba(255,255,255,.8);
}
.program-card__body { position: relative; z-index: 2; padding: clamp(28px, 3.5vw, 44px); color: #fff; width: 100%; }
.program-card__badges { display: flex; gap: 8px; margin-bottom: var(--s-2); }
.badge {
  font-family: var(--font-heading); font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; padding: 6px 14px; border-radius: 100px;
}
.badge--solid { background: #fff; color: #000; }
.badge--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }

.program-card__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(36px, 4.5vw, 58px); line-height: 0.92; letter-spacing: 0.02em;
}
.program-card__title-solid { display: block; color: #fff; }
.program-card__title-outline { display: block; color: transparent; -webkit-text-stroke: 1px #fff; }

.program-card__desc {
  max-width: 42ch; margin-top: var(--s-2); color: rgba(255,255,255,.82);
  font-size: 15px; line-height: 1.7; font-weight: 300;
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(10px);
  transition: max-height var(--dur-slow) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease), margin var(--dur) var(--ease);
}
.program-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-3);
  font-family: var(--font-heading); font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em; color: #fff;
}
.program-card__link .btn__arrow { transition: transform var(--dur) var(--ease); }

/* hover */
.program-card:hover .program-card__img { transform: scale(1.05); }
.program-card:hover .program-card__overlay { opacity: 1; }
.program-card:hover .program-card__desc { max-height: 220px; opacity: 1; transform: translateY(0); margin-top: var(--s-2); }
.program-card:hover .program-card__link .btn__arrow { transform: translateX(5px); }

/* ============================================================ FEATURES */
.features__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
.feature { text-align: center; padding: var(--s-3); }
.feature__icon { display: inline-flex; width: 56px; height: 56px; color: #000; margin-bottom: var(--s-3); }
.feature__icon svg { width: 100%; height: 100%; }
.feature__title {
  font-family: var(--font-heading); font-weight: 600; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-2);
}
.feature__text { color: var(--text-secondary); font-size: 15px; line-height: 1.75; max-width: 38ch; margin-inline: auto; }

.ticker { margin-top: var(--s-6); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.ticker__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.ticker__item { font-family: var(--font-heading); font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-secondary); }
.ticker__sep { color: var(--text-muted); }

/* ============================================================ LINEAGE */
.lineage__headline {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 6.5vw, 96px); line-height: 0.9; letter-spacing: 0.02em; margin-top: var(--s-2);
}
.lineage__headline-solid { display: block; color: #000; }
.lineage__headline-outline { display: block; color: transparent; -webkit-text-stroke: 1px #000; }

.lineage__feature {
  position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center; margin-top: var(--s-6);
}
.lineage__media { position: relative; }
.lineage__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.lineage__bracket {
  position: absolute; right: -1px; bottom: -1px; width: 56px; height: 56px;
  border-right: 1px solid #000; border-bottom: 1px solid #000;
}
.lineage__name { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: 0.02em; margin-top: var(--s-2); }
.lineage__role { font-family: var(--font-heading); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); margin-top: 8px; }
.lineage__bio { margin-top: var(--s-3); color: var(--text-secondary); font-size: 16px; line-height: 1.8; max-width: 52ch; }

.lineage__credits { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: var(--s-6); border-top: 1px solid var(--border); }
.credit { padding: var(--s-4) clamp(20px, 2.5vw, 36px) 0; }
.credit__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--s-2); }
.credit__text { color: var(--text-secondary); font-size: 15px; line-height: 1.75; }

/* ============================================================ FAQ */
.faq__list { position: relative; z-index: 1; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  width: 100%; text-align: left; padding: 28px 0;
  font-family: var(--font-heading); font-weight: 500; font-size: clamp(16px, 2vw, 21px);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-primary);
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--accent-hover); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: currentColor; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.faq__icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq__item--open .faq__icon::before { transform: translateY(-50%) rotate(45deg); }
.faq__item--open .faq__icon::after { transform: translateX(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease); }
.faq__a-inner { padding-bottom: 28px; max-width: 68ch; color: var(--text-secondary); font-size: 16px; line-height: 1.8; }

/* ============================================================ FINAL CTA */
.final-cta { text-align: center; }
.final-cta__inner { display: flex; flex-direction: column; align-items: center; }
.final-cta__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 10vw, 116px); line-height: 0.9; letter-spacing: 0.02em; margin: var(--s-3) 0;
}
.final-cta__title span { display: block; }
.final-cta__title-outline { color: transparent; -webkit-text-stroke: 1px #000; }
.final-cta__sub { font-family: var(--font-heading); font-weight: 300; font-size: clamp(14px, 1.8vw, 18px); text-transform: uppercase; letter-spacing: 0.28em; color: var(--text-secondary); margin-bottom: var(--s-4); }
.final-cta__divider { width: 60px; height: 2px; background: #000; margin: var(--s-5) 0 var(--s-3); }
.final-cta__note { font-family: var(--font-heading); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); }

/* ============================================================ FOOTER */
.footer { background: #000; color: #fff; padding-block: var(--s-7) var(--s-4); }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(40px, 6vw, 90px); padding-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--s-3); }
.footer__wordmark { font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px); line-height: 0.95; letter-spacing: 0.03em; }
.footer__tagline { font-family: var(--font-heading); font-weight: 300; font-size: 12px; text-transform: uppercase; letter-spacing: 0.24em; color: rgba(255,255,255,.5); margin-top: 10px; }
.footer__social { display: flex; gap: 14px; margin-top: var(--s-3); }
.footer__social-link { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: all var(--dur) var(--ease); }
.footer__social-link svg { width: 18px; height: 18px; }
.footer__social-link:hover { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #fff; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.footer__col-title { font-family: var(--font-heading); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: #fff; margin-bottom: var(--s-3); }
.footer__link { display: block; font-family: var(--font-body); font-weight: 300; font-size: 15px; color: rgba(255,255,255,.55); padding: 7px 0; transition: color var(--dur) var(--ease); text-align: left; }
.footer__link:hover { color: #fff; }
.footer__link--btn { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: #fff; }

.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2); padding-top: var(--s-4); }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.4); }
.footer__legal { display: flex; align-items: center; gap: var(--s-3); }
.footer__legal .footer__link { display: inline; padding: 0; font-size: 13px; }
.footer__legal-tag { font-family: var(--font-heading); font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,.4); }

/* ============================================================ MODAL */
.modal { position: fixed; inset: 0; z-index: 1600; display: flex; align-items: center; justify-content: center; padding: var(--s-3); visibility: hidden; }
.modal--open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity var(--dur) var(--ease); }
.modal--open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto;
  background: #fff; padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--border); box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
  transform: translateY(24px) scale(0.97); opacity: 0;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur) var(--ease);
}
.modal--open .modal__panel { transform: translateY(0) scale(1); opacity: 1; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; color: #000; box-shadow: inset 0 0 0 1px var(--border); transition: all var(--dur) var(--ease); }
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { background: #000; color: #fff; box-shadow: inset 0 0 0 1px #000; }
.modal__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5vw, 48px); line-height: 0.92; letter-spacing: 0.02em; margin: var(--s-2) 0; }
.modal__sub { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: var(--s-4); }

.modal__form { display: grid; gap: var(--s-3); }
.field { display: grid; gap: 8px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.field__label { font-family: var(--font-heading); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); }
.field__input {
  width: 100%; font-family: var(--font-body); font-size: 15px; font-weight: 300; color: #000;
  padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 0;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input::placeholder { color: #bbb; }
.field__input:focus { outline: none; border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.field__input[aria-invalid="true"] { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.field__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field__error { font-family: var(--font-heading); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #000; }
.field__optional { font-weight: 400; letter-spacing: 0.12em; color: var(--text-muted); text-transform: none; }

/* consent checkboxes */
.consent { display: grid; gap: var(--s-2); }
.consent__item { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.consent__check {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  position: relative; width: 20px; height: 20px; margin: 2px 0 0; flex: none;
  background: #fff; border: 1px solid var(--border); border-radius: 0; cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.consent__check::after {
  content: ''; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transform-origin: center;
  transition: transform var(--dur-fast) var(--ease);
}
.consent__check:checked { background: #000; border-color: #000; }
.consent__check:checked::after { transform: rotate(45deg) scale(1); }
.consent__check:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent__text { font-family: var(--font-body); font-weight: 300; font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); }

.modal__submit { margin-top: 6px; }
.modal__fineprint { font-size: 12px; line-height: 1.6; color: var(--text-muted); text-align: center; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.modal__success { text-align: center; padding: var(--s-4) 0; }
.modal__success-check { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; color: #fff; background: #000; border-radius: 50%; margin-bottom: var(--s-3); }
.modal__success-check svg { width: 36px; height: 36px; }
.modal__success .modal__title { margin-top: 0; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .lineage__feature { grid-template-columns: 1fr; }
  .lineage__media { max-width: 480px; }
  .hero__vlabel { display: none; }
}

@media (max-width: 860px) {
  .arrival__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .arrival__img { clip-path: none; aspect-ratio: 16 / 11; }
  .offer__grid { grid-template-columns: 1fr; }
  .programs__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .lineage__credits { grid-template-columns: 1fr; }
  .credit { padding: var(--s-4) 0 0; border-top: 1px solid var(--border); }
  .lineage__credits { border-top: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .stat:nth-child(odd) { border-left: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }

  /* touch: always show program descriptions */
  .program-card__desc { max-height: 220px; opacity: 1; transform: none; margin-top: var(--s-2); }
  .program-card__overlay { opacity: 1; }
}

@media (max-width: 480px) {
  .field__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================================ LEGAL PAGES */
/* Solid nav for standalone pages (privacy / terms) — no dark hero sits behind it,
   so it can't rely on the scroll-triggered .nav--scrolled state. */
.nav--solid {
  position: sticky;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.nav--solid .nav__logo-mark { filter: brightness(0); }
.nav--solid .nav__cta {
  display: inline-flex; margin-left: auto;
  color: #000; box-shadow: inset 0 0 0 1px #000;
}
.nav--solid .nav__cta:hover { background: #000; color: #fff; box-shadow: inset 0 0 0 1px #000; }

.legal { padding-block: clamp(40px, 6vw, 72px) var(--section-y); overflow: visible; }
.legal__head { margin-bottom: var(--s-5); }
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 104px); line-height: 0.92; letter-spacing: 0.01em;
  margin-top: var(--s-2);
}
.legal__meta {
  font-family: var(--font-heading); font-weight: 400; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted);
  margin-top: var(--s-3);
}
.legal__body { max-width: 760px; }
.legal__body p { color: var(--text-secondary); font-size: 16px; margin-bottom: var(--s-2); }
.legal__intro { color: var(--text-primary); font-size: 17px; }
.legal__h2 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(19px, 2.6vw, 25px); text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-top: var(--s-5); margin-bottom: var(--s-2);
  padding-top: var(--s-3); border-top: 1px solid var(--border);
}
.legal__h3 {
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-primary);
  margin-top: var(--s-3); margin-bottom: var(--s-1);
}
.legal__body ul { display: grid; gap: 10px; margin: var(--s-2) 0 var(--s-3); }
.legal__body li {
  position: relative; padding-left: 28px;
  color: var(--text-secondary); font-size: 15px; line-height: 1.65;
}
.legal__body li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 16px; height: 1px; background: var(--text-primary);
}
.legal__body strong { font-weight: 600; color: var(--text-primary); }
.legal__body a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--text-secondary); }
.legal__return {
  margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--border);
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px;
}
.legal__return a { text-decoration: none; }

/* Privacy / Terms links inside the lead-form fine print */
.modal__fineprint a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.modal__fineprint a:hover { color: var(--text-primary); }

/* ============================================================ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .program-card__desc { max-height: 220px; opacity: 1; transform: none; margin-top: var(--s-2); }
}
