/* ─────────────────────────────────────────────────────────
   Treneris Grants — v5.2
   THE GRIND-flavored: dark, Bebas Neue display, graffiti
   background type, designed split hero, GSAP-driven motion.
   ───────────────────────────────────────────────────────── */

:root {
  --bg: #0c0c0d;
  --bg-2: #131315;
  --bg-3: #1b1b1d;
  --line: #2a2a2d;
  --line-2: #3a3a3d;
  --ink: #f4efe6;
  --ink-2: #c9c4ba;
  --muted: #8a857c;
  --faint: #555049;
  --accent: #d4ff3c;
  --accent-2: #b9e022;
  --accent-ink: #0c0c0d;
  --red: #ff3b3b;
  --grain: rgba(255,255,255,0.018);

  --font-display: "Bebas Neue", "Impact", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-italic: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-graffiti: "Permanent Marker", "Impact", system-ui, sans-serif;

  --max-w: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(72px, 10vw, 130px);
  --radius: 14px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, fieldset, legend, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ─── PRELOADER ─────────────────────────────────────── */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
}
.preloader__mark {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 180px);
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--ink);
  display: flex;
  gap: 4px;
}
.preloader__mark span { display: inline-block; }
.preloader__bar {
  width: min(360px, 70vw);
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}
.preloader__count {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
body:not(.is-loading) .preloader { pointer-events: none; }

/* ─── CURSOR GLOW ─────────────────────────────────────── */

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212,255,60,0.12), rgba(212,255,60,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 400ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.is-on { opacity: 1; }
}

/* ─── DISPLAY TYPE ─────────────────────────────────────── */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.display em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-transform: none;
}
.display .line {
  display: block;
  overflow: hidden;
}
.display .line > span {
  display: block;
}

.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}
.lede strong { color: var(--ink); font-weight: 600; }

/* ─── GRAFFITI BACKGROUND TEXT ─────────────────────────────────────── */

.bg-text {
  position: absolute;
  z-index: 0;
  left: -2vw;
  top: 50%;
  transform: translateY(-50%) rotate(-3deg);
  font-family: var(--font-graffiti);
  font-weight: 400;
  font-size: clamp(140px, 24vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(244,239,230,0.06);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  margin: 0;
}
.bg-text--right {
  left: auto;
  right: -2vw;
  transform: translateY(-50%) rotate(2deg);
}
section { position: relative; }
section > *:not(.bg-text):not(.hero__bg-text) { position: relative; z-index: 1; }

/* ─── NAV ─────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--gutter);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 14px 8px 18px;
  background: rgba(12, 12, 13, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
  padding-top: 2px;
}

.nav__links {
  display: none;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav__links a { position: relative; padding: 4px 0; transition: color 140ms ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 260ms ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav__cta-arrow { font-family: var(--font-display); font-size: 18px; }

.nav__burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 880px) {
  .nav__links, .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

.mobilenav {
  position: fixed;
  inset: 76px 16px auto 16px;
  z-index: 49;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.mobilenav[hidden] { display: none; }
.mobilenav a { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.mobilenav a:last-child { border-bottom: 0; }
.mobilenav__cta { color: var(--accent); }

/* ─── HERO — designed split ─────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(110px, 14vh, 150px) var(--gutter) clamp(40px, 6vw, 70px);
  overflow: hidden;
}
.hero__bg-text {
  position: absolute;
  top: 8%;
  left: -3vw;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(120px, 22vw, 360px);
  line-height: 0.78;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  z-index: 0;
  margin: 0;
}
.hero__bg-text span { display: block; }

.hero__grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  min-height: calc(100vh - 220px);
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__kicker i {
  width: 36px; height: 1px;
  background: var(--accent);
}

.hero__h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.88;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line > span,
.hero__line em {
  display: inline-block;
}
.hero__h1 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 600;
  font-size: 0.9em;
  letter-spacing: -0.025em;
  color: var(--accent);
  text-transform: none;
  margin-right: 0.18em;
}

.hero__sub {
  margin-top: 4px;
  max-width: 50ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
}
.hero__sub strong { color: var(--accent); font-weight: 600; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(244,239,230,0.04);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__chip i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: chipPulse 2.6s ease-in-out infinite;
}
@keyframes chipPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* WIZARD */
.wizard {
  margin-top: 12px;
  width: 100%;
  max-width: 380px;
  background: rgba(15, 15, 17, 0.78);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 20px 20px 18px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.wizard__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.wizard__step {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wizard__progress {
  flex: 1; height: 2px;
  background: var(--line-2);
  border-radius: 1px;
  overflow: hidden;
}
.wizard__progress span {
  display: block; height: 100%;
  background: var(--accent);
  transition: width 360ms cubic-bezier(.2,.7,.2,1);
}
.wizard__q {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.05;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
}
.wizard__opts { display: grid; gap: 8px; }
.wizard__opt {
  text-align: left;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}
.wizard__opt:hover { background: var(--bg-3); border-color: var(--accent); transform: translateX(2px); }
.wizard__opt.is-selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.wizard__note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* RIGHT COLUMN — designed media frames */
.hero__right {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 14px;
  position: relative;
}

.frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.frame__video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.frame--main {
  aspect-ratio: 9 / 12;
  position: relative;
}
.frame--main .frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame--side {
  aspect-ratio: 16 / 9;
  position: relative;
}
.frame--side .frame__video { aspect-ratio: 16 / 9; }
.frame__label {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 10px;
  background: rgba(12,12,13,0.7);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  border: 1px solid var(--line-2);
}

/* Card frame — count + portrait CTA */
.frame--card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  aspect-ratio: 16 / 9;
  position: relative;
}
.frame__card-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
}
.frame__card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.frame__card-cta {
  position: absolute;
  right: 16px; bottom: 16px;
  width: 64px; height: 64px;
  border-radius: 999px;
  border: 1.5px solid var(--accent-ink);
  background: var(--bg);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.frame__card-cta img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.frame__card-cta:hover img { transform: scale(1.08); }
.frame__card-play {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  background: rgba(12,12,13,0.45);
  color: var(--accent);
  transition: background 200ms ease;
}
.frame__card-cta:hover .frame__card-play { background: rgba(12,12,13,0.65); }

/* Tape labels */
.frame__tape {
  position: absolute;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  pointer-events: none;
}
.frame__tape--tl {
  top: 14px; left: 14px;
  transform: rotate(-2deg);
  display: inline-flex; align-items: center; gap: 6px;
}
.frame__tape--tl::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.frame__tape--br {
  bottom: 14px; right: 14px;
  transform: rotate(2deg);
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--line-2);
  font-size: 12px;
}

/* Corner brackets */
.frame__corner {
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  z-index: 2;
}
.frame__corner--tl { top: 6px; left: 6px; border-top-width: 2px; border-left-width: 2px; }
.frame__corner--tr { top: 6px; right: 6px; border-top-width: 2px; border-right-width: 2px; }
.frame__corner--bl { bottom: 6px; left: 6px; border-bottom-width: 2px; border-left-width: 2px; }
.frame__corner--br { bottom: 6px; right: 6px; border-bottom-width: 2px; border-right-width: 2px; }

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }
  .hero__right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
  }
  .frame--main {
    grid-row: 1 / span 2;
    grid-column: 1;
    aspect-ratio: auto;
    min-height: 560px;
  }
  .frame--side {
    grid-row: 1;
    grid-column: 2;
  }
  .frame--card {
    grid-row: 2;
    grid-column: 2;
  }
}

@media (min-width: 1200px) {
  .frame--main { min-height: 620px; }
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid var(--ink-2);
  border-radius: 12px;
  display: none;
}
.hero__scroll span {
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-tick 1.6s ease-in-out infinite;
}
@keyframes scroll-tick {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 12px); opacity: 0.2; }
}
@media (min-width: 1024px) {
  .hero__scroll { display: block; }
}

/* ─── MARQUEE ─────────────────────────────────────── */

.marquee {
  position: relative;
  z-index: 2;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 18px 0;
  border-top: 1px solid var(--accent-2);
  border-bottom: 1px solid var(--accent-2);
  overflow: hidden;
}
.marquee--soft {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: marqueeScroll 28s linear infinite;
}
.marquee__track i {
  font-style: normal;
  font-size: 14px;
  color: var(--accent-ink);
  opacity: 0.7;
}
.marquee--soft .marquee__track i { color: var(--accent); opacity: 0.7; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── MISSION ─────────────────────────────────────── */

.mission {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter);
  position: relative;
}
.mission .bg-text {
  font-size: clamp(180px, 32vw, 540px);
  top: 30%;
}
.mission__intro {
  text-align: center;
  margin: 0 auto clamp(36px, 5vw, 56px);
  max-width: 22ch;
  position: relative;
  z-index: 2;
}
.mission__lede {
  margin: 22px auto 0;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 18px);
}
.mission__lede strong { color: var(--accent); font-weight: 700; }

.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.mosaic__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4/5;
}
.mosaic__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.mosaic__item--wide {
  background: #0c0c0d;
}
.mosaic__item--wide img {
  object-fit: contain;
  object-position: center center;
}
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__item figcaption {
  position: absolute;
  left: 18px; bottom: 16px; right: 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 14px;
  background: rgba(12, 12, 13, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  border: 1px solid var(--line-2);
}
.mosaic__item figcaption i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
}

@media (min-width: 760px) {
  .mosaic {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: 260px 360px;
    gap: 16px;
  }
  .mosaic__item { aspect-ratio: auto; }
  .mosaic__item--tall { grid-row: span 2; }
  .mosaic__item--wide { grid-column: span 2; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(44px, 6vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.stats li {
  display: grid;
  gap: 4px;
  padding: 28px 24px;
  background: var(--bg);
  text-align: left;
  transition: background 200ms ease;
}
.stats li:hover { background: var(--bg-2); }
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stats__num b {
  font-weight: 400;
  font-size: 0.5em;
  color: var(--ink-2);
  margin-left: 2px;
}
.stats__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* ─── BLOCK ─────────────────────────────────────── */

.block {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter);
  position: relative;
}
.block--dark {
  max-width: none;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.block--dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.block__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.block__inner--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
}
.block__text > * + * { margin-top: 18px; }
.block__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  min-height: 360px;
}
.block__photo img {
  width: 100%; height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(.2,.7,.2,1);
}
.block__photo:hover img { transform: scale(1.05); }
.block__photo-cap {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 12px;
  background: rgba(12,12,13,0.75);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  border: 1px solid var(--line-2);
}

@media (min-width: 880px) {
  .block__inner--split { grid-template-columns: 1.3fr 1fr; gap: 56px; }
}

.checks { display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
  font-size: 16px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 10px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checks strong { color: var(--accent); font-weight: 600; }

.schedule {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 8px;
  transition: padding-left 200ms ease;
}
.schedule__row:last-child { border-bottom: 0; }
.schedule__row:hover { padding-left: 8px; }
.schedule__where { font-weight: 500; color: var(--ink); }
.schedule__when {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  max-width: 50ch;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badges li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-2);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.badges li:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─── BUTTONS ─────────────────────────────────────── */

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  min-height: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms ease, box-shadow 200ms ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn span { position: relative; z-index: 1; }
.btn i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 28px; font-size: 15px; min-height: 60px; }

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(212,255,60,0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ─── PROGRAMS ─────────────────────────────────────── */

.programs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter);
  position: relative;
}
.programs__head {
  margin-bottom: clamp(36px, 4vw, 56px);
  max-width: 60ch;
  position: relative;
  z-index: 2;
}
.programs__head .lede { margin-top: 12px; }

.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), border-color 240ms ease, box-shadow 360ms ease;
  will-change: transform;
}
.product:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 28px 48px -28px rgba(212,255,60,0.25);
}

.product__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.product__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.product__name em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 600;
  font-size: 0.96em;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-transform: none;
}

.product__lede { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 18px; }

.product__features { display: grid; gap: 8px; margin-bottom: 22px; }
.product__features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.product__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--accent);
}

.product__foot {
  margin-top: auto;
  display: grid;
  gap: 14px;
}
.product__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.product__num {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
}
.product__per {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product--featured {
  background: linear-gradient(180deg, rgba(212,255,60,0.10), rgba(212,255,60,0.02));
  border-color: var(--accent);
}
.product--featured::before {
  content: "POPULĀRĀKĀ";
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
}

@media (min-width: 880px) {
  .products { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.programs__note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}
.programs__note a { color: var(--accent); border-bottom: 1px solid rgba(212,255,60,0.4); }

/* ─── BOOKING ─────────────────────────────────────── */

.booking {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter);
  position: relative;
}
.booking__head { margin-bottom: 36px; max-width: 60ch; position: relative; z-index: 2; }
.booking__head .lede { margin-top: 12px; }

.form {
  display: grid;
  gap: 20px;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
  z-index: 2;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .form__row { grid-template-columns: 1fr 1fr; gap: 18px; }
}

.field { display: grid; gap: 8px; }
.field__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__input {
  padding: 14px 16px;
  min-height: 50px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 16px;
  border-radius: 10px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  font-family: var(--font-body);
}
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,255,60,0.15);
}

.fieldset { display: grid; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg);
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.pill:hover span { border-color: var(--ink-2); color: var(--ink); }
.pill input:checked + span,
.pill input:checked ~ span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.form__note a { color: var(--accent); border-bottom: 1px solid rgba(212,255,60,0.4); }

/* ─── THANKS ─────────────────────────────────────── */

.thanks {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter);
}
.thanks[hidden] { display: none; }
.thanks a { color: var(--accent); border-bottom: 1px solid rgba(212,255,60,0.4); }

/* ─── MODAL ─────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.72);
  padding: 20px;
  backdrop-filter: blur(6px);
}
.modal[hidden] { display: none; }
.modal__sheet {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 36px 28px 28px;
  animation: sheet-in 220ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}
.modal__close:hover { border-color: var(--accent); color: var(--accent); }
.modal p { color: var(--ink-2); margin-bottom: 14px; }
.modal__product {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding: 12px 14px;
  background: rgba(212,255,60,0.08);
  border-radius: 10px;
  margin-bottom: 20px;
}
.modal__product:empty { display: none; }

/* ─── VIDEO MODAL ─────────────────────────────────────── */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,0.92);
  display: grid;
  place-items: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.video-modal__close:hover { background: rgba(255,255,255,0.16); border-color: var(--accent); }
.video-modal__frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9/16;
  background: black;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-modal__video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ─── FOOTER ─────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(28px, 3vw, 40px);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer__tag {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer__contact a:hover { color: var(--accent); }
.footer__copy {
  text-align: center;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 1fr auto; gap: 40px; }
}

/* ─── ANIMATION INITIAL STATES (GSAP overrides on play) ─────────────── */

[data-anim] { will-change: transform, opacity; }

/* Hide elements that GSAP will animate in — only when JS is enabled */
.js [data-anim="fade-up"] { opacity: 0; transform: translateY(24px); }
.js [data-anim="slide-left"] { opacity: 0; transform: translateX(-30px); }
.js [data-anim="slide-right"] { opacity: 0; transform: translateX(30px); }
.js [data-anim="frame"] { opacity: 0; transform: translateY(40px) scale(0.97); }
.js [data-anim="frame-delayed"] { opacity: 0; transform: translateY(20px); }
.js [data-anim="line"] > span,
.js [data-anim="line"] em,
.js .display .line > span { transform: translateY(110%); }
.js [data-anim="bg-text"] { opacity: 0; transform: translateY(-40px) scale(0.95) rotate(-3deg); }
.js [data-anim="reveal-img"] { clip-path: inset(0 0 100% 0); }
.js [data-anim="stagger"] > * { opacity: 0; transform: translateY(16px); }
.js [data-anim="stagger-cards"] > * { opacity: 0; transform: translateY(40px); }

/* ─── MOBILE OPTIMIZATION ─────────────────────────────────────── */

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
    --section-gap: 64px;
  }

  /* Nav — keep pill, tighten */
  .nav { padding: 12px 14px; }
  .nav__inner {
    padding: 6px 8px 6px 14px;
    gap: 8px;
  }
  .nav__brand-text { display: none; }
  .nav__brand-mark { width: 34px; height: 34px; font-size: 17px; }
  .nav__cta { display: none; }

  /* Hero — clean stack with full-width frames */
  .hero {
    padding: 100px 18px 36px;
  }
  .hero__bg-text {
    font-size: clamp(110px, 36vw, 180px);
    top: 90px;
    left: -4vw;
  }
  .hero__grid {
    min-height: auto;
    gap: 24px;
  }
  .hero__h1 {
    font-size: clamp(48px, 14vw, 72px);
    line-height: 0.9;
  }
  .hero__h1 em { font-size: 0.75em; }
  .hero__sub {
    font-size: 15px;
    max-width: 100%;
  }
  .hero__meta { gap: 6px; }
  .hero__chip { padding: 6px 11px; font-size: 11px; }
  .hero__chip i { width: 5px; height: 5px; }

  /* Hero right column — main video + side video stacked, lime card last */
  .hero__right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .frame--main {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 9 / 11;
    min-height: 0;
  }
  .frame--side {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 1 / 1;
  }
  .frame--card {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 1 / 1;
    padding: 16px;
  }
  .frame__card-num { font-size: 48px; }
  .frame__card-label { font-size: 10px; }
  .frame__card-cta {
    width: 48px; height: 48px;
    right: 12px; bottom: 12px;
  }
  .frame__tape { font-size: 11px; padding: 4px 9px; }
  .frame__tape--tl { top: 10px; left: 10px; }
  .frame__tape--br { bottom: 10px; right: 10px; font-size: 10px; }

  /* Wizard full width on mobile */
  .wizard {
    max-width: 100%;
    padding: 18px 16px 16px;
  }
  .wizard__q { font-size: 19px; }
  .wizard__opt { padding: 10px 14px; font-size: 13px; }

  /* Display headlines */
  .display { font-size: clamp(38px, 11vw, 64px); }

  /* Mission / mosaic */
  .mission .bg-text,
  .bg-text {
    font-size: clamp(80px, 30vw, 160px);
    -webkit-text-stroke-width: 1.5px;
  }
  .mission__intro { max-width: 100%; }
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    gap: 8px;
  }
  .mosaic__item--tall {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 4/3;
  }
  .mosaic__item:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .mosaic__item:nth-of-type(3) { grid-column: 2; grid-row: 2; }
  .mosaic__item--wide {
    grid-column: 1 / -1;
    grid-row: 3;
    aspect-ratio: 16/10;
  }
  .mosaic__item figcaption {
    left: 10px; right: 10px; bottom: 10px;
    padding: 6px 10px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .mosaic__item figcaption i { font-size: 12px; }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 20px 16px; }
  .stats__num { font-size: 44px; }
  .stats__label { font-size: 11px; }

  /* Block split sections */
  .block { padding: var(--section-gap) var(--gutter); }
  .block__inner--split { gap: 28px; }
  .block__photo { min-height: 280px; }
  .block__photo img { min-height: 280px; }

  /* Schedule */
  .schedule__row { padding: 14px 0; }
  .schedule__when { font-size: 16px; }

  /* Programs cards */
  .programs__head { margin-bottom: 28px; }
  .product { padding: 24px 22px; }
  .product__name { font-size: 30px; }
  .product__num { font-size: 38px; }
  .product--featured::before { left: 18px; font-size: 9px; padding: 4px 10px; }

  /* Booking form */
  .form { padding: 22px 18px; gap: 16px; }
  .pills { gap: 6px; }
  .pill span { padding: 9px 14px; font-size: 13px; }

  /* Buttons */
  .btn { padding: 13px 20px; font-size: 13px; min-height: 48px; gap: 10px; }
  .btn--lg { padding: 16px 24px; font-size: 14px; min-height: 56px; }

  /* Marquee speed */
  .marquee { padding: 14px 0; }
  .marquee__track { font-size: 18px; gap: 22px; animation-duration: 22s; }

  /* Quote + lede */
  .lede { font-size: 16px; }
  .quote { font-size: 20px; padding-left: 16px; }

  /* Footer */
  .footer { padding: 36px var(--gutter) 24px; }
  .footer__inner { margin-bottom: 20px; }
  .footer__brand { font-size: 24px; }
  .footer__copy { font-size: 11px; }

  /* Modals */
  .modal__sheet { padding: 28px 22px 22px; }
  .video-modal__frame { max-width: 100%; }
}

@media (max-width: 420px) {
  .frame--main { aspect-ratio: 9 / 12; }
  .display { font-size: clamp(34px, 12vw, 52px); }
  .hero__h1 { font-size: clamp(42px, 13vw, 64px); }
  .product__name { font-size: 26px; }
  .stats__num { font-size: 38px; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  .frame__video, .marquee__track { animation: none !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ─── SAFE AREA ─────────────────────────────────────── */

@supports (padding: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}
