/* ============ Tokens ============ */
:root {
  --black: #050507;
  --ink: #0a0b12;
  --navy-900: #070d24;
  --navy-800: #0b1638;
  --navy-700: #12225a;
  --blue: #2563ff;
  --purple: #8b5cf6;
  --purple-deep: #5b21b6;
  --white: #f5f5f7;

  --fg: var(--white);
  --fg-muted: rgba(245, 245, 247, 0.62);
  --fg-dim: rgba(245, 245, 247, 0.5);
  --line: rgba(245, 245, 247, 0.1);
  --line-strong: rgba(245, 245, 247, 0.2);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);

  --grad: linear-gradient(100deg, var(--blue) 0%, var(--purple) 100%);
  --grad-soft: linear-gradient(135deg, rgba(37, 99, 255, 0.18), rgba(139, 92, 246, 0.18));

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 20px;
  --radius-sm: 12px;
  --section-y: clamp(96px, 14vw, 180px);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 96px; }
a, button, [tabindex] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--purple); color: var(--white); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--fg-dim); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-muted);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--grad); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 12px var(--purple); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ============ Buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 16px;
  overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease-out), border-color 0.3s, background-color 0.3s, scale 0.25s var(--ease-out), translate 0.4s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease-out); }
@media (hover: hover) { .btn:hover svg { transform: translateX(4px); } }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--grad); transform: translateY(101%); transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) { .btn:hover::before { transform: translateY(0); } }
.btn--light { background: var(--white); color: var(--black); }
@media (hover: hover) { .btn--light:hover { color: var(--white); } }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--fg); backdrop-filter: blur(8px); background: rgba(5, 5, 7, 0.25); }
@media (hover: hover) { .btn--ghost:hover { border-color: transparent; } }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 17px; }

/* ============ Loader ============ */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: grid; place-content: center; justify-items: center; gap: 28px;
}
.loader__logo { width: 96px; height: auto; animation: loaderPulse 1.6s var(--ease-in-out) infinite; }
.loader__bar { width: 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 0.3s var(--ease-out); }
.loader__pct { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; color: var(--fg-dim); font-variant-numeric: tabular-nums; }
@keyframes loaderPulse { 50% { opacity: 0.55; transform: scale(0.96); } }

/* ============ Curtain (anchor transitions) ============ */
.curtain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  background: linear-gradient(180deg, var(--navy-800), var(--black));
  transform: scaleY(0); transform-origin: bottom;
}

/* ============ Cursor ============ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 300; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--white); mix-blend-mode: difference; }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 1px solid rgba(245, 245, 247, 0.45);
    display: grid; place-items: center;
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out),
      background-color 0.35s var(--ease-out), border-color 0.35s, opacity 0.3s, scale 0.25s var(--ease-out);
  }
  .cursor__label { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity 0.25s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(139, 92, 246, 0.15); border-color: var(--purple); }
  .cursor.is-play .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--grad); border-color: transparent; }
  .cursor.is-play .cursor__label { opacity: 1; }
  .cursor.is-play .cursor__dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
  .cursor.is-down .cursor__ring { scale: 0.85; }
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: translate 0.5s var(--ease-out), background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s, padding 0.4s var(--ease-out);
}
.nav.is-scrolled { background: rgba(5, 5, 7, 0.6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); padding-top: 12px; padding-bottom: 12px; border-bottom-color: var(--line); }
.nav.is-hidden { translate: 0 -100%; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.nav__brand img { width: 36px; height: auto; }
.nav__brand em { font-style: normal; color: var(--purple); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 16px; font-size: 15px; color: var(--fg-muted); transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.nav__links a.is-active { color: var(--fg); }
@media (hover: hover) { .nav__links a:hover { color: var(--fg); } }
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) { .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; transition: scale 0.25s var(--ease-out); }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--fg); transition: transform 0.4s var(--ease-out); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 7, 0.96); backdrop-filter: blur(20px); display: grid; place-items: center; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 8px; text-align: center; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; padding: 6px 0; transition: color 0.3s, scale 0.25s var(--ease-out); }
.mobile-menu .btn { margin-top: 24px; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ============ Hero ============ */
/* Desktop: a 1672x941 design stage scaled by --s and centred (--sl/--st are its left/top in px, set by JS).
   Sky layers live outside the stage (no transformed ancestor) so mix-blend-mode screens onto the stars. */
.hero {
  --s: 1; --sl: 0px; --st: 0px;
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: #000;
}
.sky__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky__rim, .sky__video, .sky__dashglow { max-width: none; }
.sky__rim, .sky__video {
  position: absolute; left: var(--sl); top: var(--st);
  width: calc(1672px * var(--s)); height: calc(717px * var(--s));
}
.sky__rim { mix-blend-mode: screen; }
.sky__video { object-fit: cover; mix-blend-mode: screen; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.sky__video.is-ready { opacity: 1; }
.sky__dashglow {
  position: absolute; mix-blend-mode: screen; pointer-events: none;
  left: calc(var(--sl) + 186px * var(--s)); top: calc(var(--st) + 520px * var(--s));
  width: calc(1300px * var(--s)); height: calc(141px * var(--s));
}

.stage {
  position: absolute; z-index: 2; left: var(--sl); top: var(--st);
  width: 1672px; height: 941px; transform: scale(var(--s)); transform-origin: 0 0;
}
.hero__copy { position: absolute; left: 0; right: 0; top: 238px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.35); background: rgba(91, 33, 182, 0.18); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-size: 15px; font-weight: 500; color: #ddd6fe;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 12px #a78bfa; }
.hero__title { margin-top: 22px; font-size: 80px; font-weight: 700; letter-spacing: -0.05em; line-height: 0.98; color: #fff; }
.hero__title span { display: inline; }
.hero__title .hero__accent { display: block; background: linear-gradient(100deg, #a78bfa, #e879f9 55%, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.hero__sub { margin-top: 18px; max-width: 820px; font-size: 20px; color: var(--fg-muted); }
.hero__ctas { display: flex; gap: 14px; margin-top: 28px; }
.stage .btn { min-height: 58px; padding: 0 32px; font-size: 18px; }

/* Dashboard mockup: violet-edged panel stretching past the stage to the viewport bottom */
.dash {
  position: absolute; left: 186px; width: 1300px; top: 648px;
  bottom: calc(-1 * var(--st) / var(--s));
  border-radius: 22px 22px 0 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 14, 42, 0.92), rgba(8, 8, 16, 0.96) 40%);
  border: 1px solid rgba(139, 92, 246, 0.45); border-bottom: 0;
  box-shadow: 0 -20px 80px -20px rgba(139, 92, 246, 0.45), inset 0 1px 0 rgba(216, 180, 254, 0.35);
  font-size: 14px; color: var(--fg-muted);
}
.dash::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, #c4b5fd, transparent); }
.dash__top { display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.dash__dots { display: flex; gap: 7px; }
.dash__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.dash__file { font-family: var(--font-display); color: var(--fg); font-weight: 500; }
.dash__file em { font-style: normal; color: var(--fg-dim); font-weight: 400; }
.dash__export { margin-left: auto; padding: 7px 14px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 600; font-size: 13px; }
.dash__body { display: grid; grid-template-columns: 190px 1fr 260px; height: calc(100% - 52px); }
.dash__side { padding: 18px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.dash__side li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; }
.dash__side li b { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: 0.7; }
.dash__side li.is-on { background: rgba(139, 92, 246, 0.16); color: #ddd6fe; }
.dash__main { padding: 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dash__viewer { display: flex; gap: 14px; align-items: flex-end; height: 196px; }
.dash__frame {
  position: relative; height: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 25%, rgba(37, 99, 255, 0.55), transparent 55%), radial-gradient(circle at 75% 80%, rgba(192, 38, 211, 0.45), transparent 55%), #0e1030;
}
.dash__frame span { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 5px; background: rgba(0, 0, 0, 0.5); font-size: 11px; color: #fff; }
.dash__frame--wide { flex: 1 1 auto; min-width: 0; }
.dash__frame--tall { aspect-ratio: 9 / 16; flex: none; border-color: rgba(196, 181, 253, 0.7); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); }
.dash__frame--tall p { position: absolute; left: 6%; right: 6%; bottom: 22%; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; line-height: 1.1; color: #fff; text-transform: uppercase; }
.dash__frame--tall p b { color: #fde047; }
.dash__frame--sq { aspect-ratio: 1; flex: none; height: 62%; }
.dash__timeline { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.dash__ruler { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-dim); font-variant-numeric: tabular-nums; }
.dash__track { display: flex; gap: 4px; height: 30px; }
.dash__track i { width: var(--w); border-radius: 6px; }
.dash__track--v i { background: linear-gradient(180deg, rgba(99, 102, 241, 0.8), rgba(79, 70, 229, 0.55)); }
.dash__track--c { height: 18px; }
.dash__track--c i { background: rgba(232, 121, 249, 0.55); }
.dash__track--a {
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, rgba(34, 197, 94, 0.55) 0 2px, transparent 2px 5px) center / 100% 60% no-repeat, rgba(34, 197, 94, 0.08);
}
.dash__playhead { position: absolute; top: 8px; bottom: 8px; left: 38%; width: 2px; background: #fff; box-shadow: 0 0 10px #c4b5fd; }
.dash__playhead::before { content: ""; position: absolute; top: -4px; left: -5px; width: 12px; height: 8px; border-radius: 2px; background: #fff; }
.dash__stats { padding: 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.dash__stats > div { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.dash__stats small { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim); }
.dash__stats b { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--fg); letter-spacing: -0.02em; }
.dash__bar { display: block; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--line); overflow: hidden; }
.dash__bar i { display: block; width: var(--v); height: 100%; background: var(--grad); }

/* Below 900px or portrait: stacked layout, no video, rim cropped to screen width */
@media (max-width: 899px), (orientation: portrait) {
  .hero { height: auto; min-height: 0; padding: 0 0 56px; }
  .sky__rim { left: 0; top: 0; width: 100%; height: 300px; }
  .sky__video, .sky__dashglow { display: none; }
  .stage { position: relative; left: auto; top: auto; width: auto; height: auto; transform: none; padding: 228px var(--gutter) 0; }
  .hero__copy { position: static; }
  .hero__pill { font-size: 13px; padding: 8px 14px; }
  .hero__title { font-size: clamp(40px, 8.4vw, 60px); margin-top: 22px; }
  .hero__title span { display: block; }
  .hero__sub { font-size: 16px; max-width: 34ch; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 420px; }
  .stage .btn { min-height: 52px; font-size: 16px; }
  .dash { position: relative; left: auto; top: auto; bottom: auto; width: auto; margin-top: 56px; border-radius: 18px; border-bottom: 1px solid rgba(139, 92, 246, 0.45); }
  .dash__file em { display: none; }
  .dash__body { display: flex; flex-direction: column; height: auto; }
  .dash__side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; scrollbar-width: none; }
  .dash__side::-webkit-scrollbar { display: none; }
  .dash__side li { flex: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; }
  .dash__side li.is-on { border-color: rgba(167, 139, 250, 0.6); }
  .dash__main { padding: 14px; }
  .dash__viewer { height: 150px; justify-content: center; }
  .dash__frame--wide { display: none; }
  .dash__stats { border-left: 0; border-top: 1px solid var(--line); padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .dash__stats > div { padding: 10px 12px; }
  .dash__stats b { font-size: 18px; }
  .dash__stats small { font-size: 10px; }
  .dash__bar { display: none; }
}

/* ============ Intro ============ */
.intro { position: relative; padding: var(--section-y) 0 calc(var(--section-y) * 0.6); background: var(--black); }
.intro__text { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -0.03em; max-width: 18ch; font-weight: 500; }
.intro__text strong { font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.pills li { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--fg-muted); background: var(--surface); }


/* Word-by-word reveal (set up by JS) */
.reveal-words .w { opacity: 0.16; }

/* ============ Transform ============ */
.transform { padding: var(--section-y) 0; }
.transform__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 48px); }
.transform__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 28px; background: var(--surface); }
.transform__card h3 { font-size: 26px; margin-top: 24px; }
.transform__card p { color: var(--fg-muted); margin-top: 6px; font-size: 15px; }
.transform__media { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; position: relative; display: grid; place-items: center; }
.transform__card--raw .transform__media { background: repeating-linear-gradient(90deg, #0d0e14 0 2px, #101118 2px 4px); }
.clips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 82%; transform: rotate(-4deg); }
.clips span { aspect-ratio: 9 / 14; border-radius: 6px; background: linear-gradient(180deg, #23252f, #15161d); filter: saturate(0); border: 1px solid var(--line); }
.clips span:nth-child(2n) { transform: translateY(14px); }
.transform__card--edit { background: var(--grad-soft); border-color: rgba(139, 92, 246, 0.35); }
.transform__card--edit .transform__media { background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.45), transparent 60%), var(--navy-800); }
.phone { width: 34%; aspect-ratio: 9 / 16; border-radius: 16px; border: 2px solid rgba(245, 245, 247, 0.85); background: linear-gradient(160deg, var(--blue), var(--purple-deep)); position: relative; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(91, 33, 182, 0.8); }
.phone__bar { position: absolute; top: 8px; left: 30%; right: 30%; height: 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.5); }
.phone__caption { position: absolute; left: 8%; right: 8%; bottom: 22%; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(10px, 1.1vw, 14px); line-height: 1.1; text-transform: uppercase; }
.phone__caption b { color: #fde047; }
.transform__arrow svg { width: 64px; fill: none; stroke: var(--purple); stroke-width: 1.5; }
.transform__wins { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; margin-top: 48px; }
.transform__wins li { display: inline-flex; align-items: center; gap: 10px; color: var(--fg-muted); }
.transform__wins svg { width: 20px; fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .transform__grid { grid-template-columns: 1fr; }
  .transform__arrow { justify-self: center; transform: rotate(90deg); }
}

/* ============ Section heads ============ */
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head h2 { font-size: clamp(44px, 7.2vw, 112px); max-width: 13ch; letter-spacing: -0.045em; }
.section-head__sub { color: var(--fg-muted); max-width: 46ch; margin-top: 28px; font-size: 18px; }
.split .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .line > span { display: inline-block; }

/* ============ Work ============ */
.work { padding: var(--section-y) 0; background: linear-gradient(180deg, var(--black), var(--navy-900) 50%, var(--black)); }
.work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 780px; margin: 0 auto; }
.card { grid-column: auto; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.4s, scale 0.25s var(--ease-out), translate 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); outline-offset: 6px; }
@media (hover: hover) { .card:hover { border-color: rgba(139, 92, 246, 0.45); } }
.card__media { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: var(--ink); }
.card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.card.is-playing .card__media video { opacity: 1; }
.card__ph {
  position: absolute; inset: -8% 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(37, 99, 255, 0.55), transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(139, 92, 246, 0.5), transparent 55%),
    var(--navy-800);
  background-size: cover; background-position: center;
  transition: scale 1.2s var(--ease-out), opacity 0.5s;
}
.card__ph::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(245, 245, 247, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5f5f7' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") center / 24px no-repeat;
  backdrop-filter: blur(8px); border: 1px solid var(--line-strong);
  transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) { .card:hover .card__ph { scale: 1.05; } }
@media (hover: hover) { .card:hover .card__ph::after { transform: scale(1.12); } }
.card.is-playing .card__ph { opacity: 0; }
.card__body { padding: 24px 24px 28px; }
.card__meta { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); font-family: var(--font-display); font-weight: 500; }
.card h3 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 10px; }
.card__body > p:not(.card__meta) { color: var(--fg-muted); margin-top: 10px; font-size: 15px; max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg-muted); }
@media (max-width: 860px) {
  .work__grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============ Results ============ */
.results { padding: var(--section-y) 0; background: linear-gradient(180deg, var(--black), var(--navy-900)); }
.results__statement { font-size: clamp(34px, 5vw, 72px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; max-width: 20ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 120px); background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* cell dividers as outlines, so nothing grey shows while the cells fade in */
.stat { background: var(--navy-900); padding: 36px 28px; outline: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat p { color: var(--fg-muted); margin-top: 16px; font-size: 15px; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ============ Free edit ============ */
.free { padding: var(--section-y) 0; }
.free__inner {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.3); border-radius: calc(var(--radius) * 1.6);
  padding: clamp(64px, 9vw, 128px) var(--gutter);
  background: radial-gradient(ellipse at 50% 120%, rgba(91, 33, 182, 0.55), transparent 60%), var(--navy-900);
  display: flex; flex-direction: column; align-items: center;
}
.free__glow { position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: -40%; background: radial-gradient(circle, rgba(37, 99, 255, 0.35), transparent 60%); filter: blur(40px); pointer-events: none; }
.free .eyebrow { justify-content: center; }
.free h2 { font-size: clamp(48px, 8vw, 128px); letter-spacing: -0.05em; max-width: 12ch; position: relative; }
.free__text { color: var(--fg-muted); max-width: 54ch; margin-top: 28px; font-size: 18px; position: relative; }
.free__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 44px; position: relative; }
.free__list li { padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong); font-size: 14px; }

/* ============ Contact ============ */
.contact { padding: var(--section-y) 0 calc(var(--section-y) * 0.8); }
.contact__title { font-size: clamp(52px, 10vw, 168px); letter-spacing: -0.055em; line-height: 0.94; max-width: 11ch; }
.contact__sub { color: var(--fg-muted); max-width: 44ch; margin-top: 32px; font-size: 18px; }
.wa-cta {
  position: relative; display: flex; align-items: center; gap: 20px; margin-top: 56px;
  padding: 22px 28px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--white); color: var(--black);
  transition: color 0.5s var(--ease-out), scale 0.25s var(--ease-out), translate 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.wa-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #22c55e; transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
@media (hover: hover) { .wa-cta:hover::before { transform: scaleX(1); } }
.wa-cta__icon { width: 56px; height: 56px; border-radius: 50%; background: #22c55e; color: var(--white); display: grid; place-items: center; flex: none; transition: background-color 0.4s, color 0.4s; }
@media (hover: hover) { .wa-cta:hover .wa-cta__icon { background: var(--white); color: #16a34a; } }
.wa-cta__icon svg { width: 28px; height: 28px; }
.wa-cta__text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.wa-cta__text small { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 4px; }
.wa-cta__arrow { width: 36px; height: 36px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; transition: transform 0.5s var(--ease-out); }
@media (hover: hover) { .wa-cta:hover .wa-cta__arrow { transform: rotate(45deg); } }
.contact__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.contact__alt--single { grid-template-columns: 1fr; }
.alt {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color 0.4s, background-color 0.4s, scale 0.25s var(--ease-out), translate 0.4s var(--ease-out);
}
@media (hover: hover) { .alt:hover { border-color: var(--purple); background: rgba(139, 92, 246, 0.08); } }
.alt svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; color: var(--purple); }
.alt span { display: flex; flex-direction: column; min-width: 0; }
.alt small { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.alt b { font-family: var(--font-display); font-weight: 500; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .contact__alt { grid-template-columns: 1fr; }
  .wa-cta { padding: 18px; gap: 14px; }
  .wa-cta__icon { width: 46px; height: 46px; }
  .wa-cta__arrow { display: none; }
}

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--fg-dim); font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .nav__brand { color: var(--fg); }
.footer__credit { display: inline-flex; align-items: center; gap: 10px; }
.footer__credit a { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); transition: color 0.3s; }
.footer__credit img { width: 26px; height: auto; filter: invert(1); opacity: 0.7; transition: opacity 0.3s, transform 0.5s var(--ease-out); }
.footer__credit span { background: linear-gradient(var(--purple), var(--purple)) left bottom / 0 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
@media (hover: hover) { .footer__credit a:hover { color: var(--fg); } }
@media (hover: hover) { .footer__credit a:hover img { opacity: 1; transform: rotate(-8deg) scale(1.08); } }
@media (hover: hover) { .footer__credit a:hover span { background-size: 100% 1px; } }
@media (max-width: 860px) {
  .footer { padding-bottom: 124px; }
  .footer__inner { flex-direction: column; justify-content: center; text-align: center; }
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #22c55e; color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(34, 197, 94, 0.6);
  scale: 0; transition: scale 0.5s var(--ease-out);
}
.wa-float.is-visible { scale: 1; }
@media (hover: hover) { .wa-float:hover { scale: 1.08; } }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); white-space: nowrap; padding: 8px 14px; border-radius: 8px;
  background: var(--white); color: var(--black); font-size: 14px; font-weight: 500;
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
@media (hover: hover) { .wa-float:hover .wa-float__tip { opacity: 1; transform: none; } }

/* ============ Lightbox + custom player ============ */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(5, 5, 7, 0.94); display: grid; place-items: center; padding: 72px var(--gutter) 32px; }
.lightbox[hidden] { display: none; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); display: grid; place-items: center;
  transition: background-color 0.3s, border-color 0.3s, rotate 0.4s var(--ease-out), scale 0.25s var(--ease-out);
}
.lightbox__close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) { .lightbox__close:hover { background: rgba(139, 92, 246, 0.18); border-color: var(--purple); rotate: 90deg; } }

.player { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #000; line-height: 0; max-width: min(1200px, 100%); box-shadow: 0 40px 120px -40px rgba(91, 33, 182, 0.6); }
.player__video { display: block; max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100svh - 120px); width: auto; height: auto; cursor: pointer; }

.player__big {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 12px 40px -8px rgba(139, 92, 246, 0.7);
  transition: opacity 0.35s var(--ease-out), scale 0.35s var(--ease-out);
}
.player__big svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.player[data-state="playing"] .player__big { opacity: 0; scale: 0.8; pointer-events: none; }
@media (hover: hover) { .player__big:hover { scale: 1.08; } }

.player__bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 36px 16px 14px; line-height: 1;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.85));
  transition: opacity 0.4s var(--ease-out), translate 0.4s var(--ease-out);
}
.player.is-idle .player__bar { opacity: 0; translate: 0 8px; pointer-events: none; }
.player.is-idle { cursor: none; }

.player__btn {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff;
  transition: background-color 0.25s, scale 0.25s var(--ease-out);
}
.player__btn svg { width: 20px; height: 20px; fill: currentColor; }
.player__btn svg .stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .player__btn:hover { background: rgba(255, 255, 255, 0.12); } }
.player__btn:active { scale: 0.9; }
.player .i-pause, .player[data-state="playing"] .i-play { display: none; }
.player[data-state="playing"] .i-pause { display: block; }
.player .i-muted, .player.is-muted .i-vol { display: none; }
.player.is-muted .i-muted { display: block; }

.player__time { font-family: var(--font-display); font-size: 13px; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }

.player__track { position: relative; flex: 1; height: 24px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.player__rail { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); overflow: hidden; transition: height 0.25s var(--ease-out); }
.player__buffer, .player__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); }
.player__buffer { background: rgba(255, 255, 255, 0.22); }
.player__fill { background: var(--grad); }
.player__knob {
  position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.35);
  scale: 0; transition: scale 0.25s var(--ease-out);
}
@media (hover: hover) { .player__track:hover .player__rail { height: 6px; } .player__track:hover .player__knob { scale: 1; } }
.player__track:focus-visible .player__knob, .player.is-seeking .player__knob { scale: 1; }
.player__track:focus-visible { outline: none; }
.player__track:focus-visible .player__rail { box-shadow: 0 0 0 2px var(--purple); }

@media (max-width: 640px) {
  .lightbox { padding: 64px 12px 20px; }
  .lightbox__close { width: 42px; height: 42px; top: 12px; right: 12px; }
  .player__video { max-height: calc(100svh - 96px); }
  .player__big { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .player__big svg { width: 24px; height: 24px; }
  .player__bar { gap: 6px; padding: 28px 8px 8px; }
  .player__btn { width: 32px; height: 32px; }
  .player__btn svg { width: 18px; height: 18px; }
  .player__time { font-size: 11px; min-width: 28px; }
  .player__knob { scale: 1; width: 12px; height: 12px; margin: -6px 0 0 -6px; }
}

/* ============ Tablets / small laptops ============ */
/* Step the fixed sizes down before the phone block takes over: smaller screen, smaller type. */
@media (max-width: 1024px) {
  :root { --section-y: clamp(80px, 11vw, 120px); }
  body { font-size: 16px; }
  .btn { min-height: 48px; padding: 0 24px; font-size: 15px; }
  .btn--lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
  .nav__links a { font-size: 14px; padding: 10px 12px; }
  .section-head__sub, .free__text, .contact__sub { font-size: 16.5px; }
  .pills li, .free__list li { font-size: 13px; padding: 8px 15px; }
  .card__body > p:not(.card__meta), .transform__card p, .stat p { font-size: 14.5px; }
  .wa-cta { padding: 18px 22px; }
  .wa-cta__icon { width: 50px; height: 50px; }
  .alt { padding: 16px 20px; }
  .alt b { font-size: 16px; }
  .eyebrow { font-size: 12px; }
}

/* ============ Phones ============ */
/* Everything a notch smaller, tighter spacing, and cheaper effects so scrolling stays smooth. */
@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 76px; --radius: 16px; --radius-sm: 10px; }
  body { font-size: 15px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .eyebrow::before { width: 18px; }
  .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
  .btn--lg { min-height: 50px; padding: 0 26px; font-size: 15px; }

  /* Nav: solid background instead of a live blur (backdrop-filter is expensive while scrolling) */
  .nav { padding: 12px var(--gutter); }
  .nav.is-scrolled { background: rgba(5, 5, 7, 0.92); backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 10px; padding-bottom: 10px; }
  .nav__brand { font-size: 16px; gap: 8px; }
  .nav__brand img { width: 30px; }
  .mobile-menu { backdrop-filter: none; background: rgba(5, 5, 7, 0.98); }
  .mobile-menu a:not(.btn) { font-size: 30px; }

  /* Hero */
  .hero { padding-bottom: 40px; }
  .sky__rim { height: 240px; }
  .stage { padding-top: 176px; }
  .hero__pill { font-size: 11.5px; padding: 7px 12px; gap: 8px; backdrop-filter: none; }
  .hero__title { font-size: clamp(34px, 10.4vw, 46px); margin-top: 18px; }
  .hero__sub { font-size: 14.5px; margin-top: 14px; }
  .hero__ctas { margin-top: 22px; gap: 10px; }
  .stage .btn { min-height: 46px; font-size: 15px; }
  .dash { margin-top: 40px; font-size: 12px; border-radius: 14px; }
  .dash__top { height: 44px; padding: 0 14px; gap: 10px; }
  .dash__dots i { width: 9px; height: 9px; }
  .dash__export { padding: 5px 10px; font-size: 11px; }
  .dash__side { padding: 10px; gap: 6px; }
  .dash__side li { padding: 5px 11px; gap: 7px; }
  .dash__side li b { width: 11px; height: 11px; }
  .dash__main { padding: 12px; gap: 12px; }
  .dash__viewer { height: 124px; gap: 10px; }
  .dash__frame--tall p { font-size: 9px; }
  .dash__timeline { padding: 10px; gap: 6px; }
  .dash__ruler { font-size: 9px; }
  .dash__track { height: 22px; }
  .dash__track--c { height: 12px; }
  .dash__stats { padding: 10px; gap: 6px; }
  .dash__stats > div { padding: 8px 10px; border-radius: 10px; }
  .dash__stats b { font-size: 15px; }
  .dash__stats small { font-size: 9px; }

  /* Intro */
  .intro__text { font-size: clamp(24px, 7.2vw, 30px); }
  .pills { margin-top: 28px; gap: 8px; }
  .pills li { padding: 7px 13px; font-size: 12.5px; }

  /* Raw -> edited */
  .transform__card { padding: 14px 14px 20px; }
  .transform__card h3 { font-size: 20px; margin-top: 16px; }
  .transform__card p { font-size: 14px; }
  .transform__arrow svg { width: 44px; }
  .transform__wins { margin-top: 32px; gap: 10px 24px; font-size: 14px; }

  /* Section heads */
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(32px, 9.6vw, 42px); }
  .section-head__sub { font-size: 15px; margin-top: 16px; }

  /* Work */
  .card__body { padding: 18px 18px 22px; }
  .card__meta { font-size: 11px; }
  .card h3 { font-size: 21px; }
  .card__body > p:not(.card__meta) { font-size: 14px; }
  .tags li { font-size: 12px; padding: 4px 10px; }
  .card__ph::after { width: 52px; height: 52px; margin: -26px 0 0 -26px; background-size: 20px; backdrop-filter: none; }

  /* Results */
  .results__statement { font-size: clamp(24px, 7.4vw, 32px); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .stat { padding: 20px 16px; }
  .stat__num { font-size: 34px; }
  .stat p { font-size: 13px; margin-top: 10px; }

  /* Free edit */
  .free__inner { padding: 52px 18px; }
  .free__glow { filter: none; opacity: 0.6; }
  .free h2 { font-size: clamp(34px, 10.6vw, 46px); }
  .free__text { font-size: 15px; margin-top: 18px; }
  .free__list { margin: 24px 0 30px; gap: 8px; }
  .free__list li { padding: 7px 13px; font-size: 12.5px; }

  /* Contact */
  .contact__title { font-size: clamp(38px, 11.6vw, 52px); }
  .contact__sub { font-size: 15px; margin-top: 18px; }
  .wa-cta { margin-top: 32px; padding: 14px 16px; gap: 12px; }
  .wa-cta__icon { width: 42px; height: 42px; }
  .wa-cta__icon svg { width: 22px; height: 22px; }
  .wa-cta__text { font-size: 19px; }
  .wa-cta__text small { font-size: 11px; }
  .contact__alt { gap: 10px; margin-top: 10px; }
  .alt { padding: 14px 16px; gap: 12px; }
  .alt svg { width: 22px; height: 22px; }
  .alt b { font-size: 15px; }

  /* Footer + floating button */
  .footer { font-size: 12.5px; padding-top: 24px; }
  .footer__inner { gap: 10px; }
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ============ Small phones (≤360px) ============ */
@media (max-width: 360px) {
  :root { --gutter: 14px; --section-y: 64px; }
  body { font-size: 14px; }
  .btn, .stage .btn { min-height: 44px; font-size: 14px; padding: 0 18px; }
  .nav__brand { font-size: 15px; }
  .nav__brand img { width: 26px; }
  .hero__pill { font-size: 10.5px; padding: 6px 10px; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 13.5px; }
  .stage { padding-top: 160px; }
  .sky__rim { height: 220px; }
  .dash__stats b { font-size: 13px; }
  .dash__side li { font-size: 11px; }
  .intro__text { font-size: 22px; }
  .section-head h2 { font-size: 30px; }
  .section-head__sub, .free__text, .contact__sub { font-size: 14px; }
  .card h3 { font-size: 19px; }
  .card__body > p:not(.card__meta) { font-size: 13px; }
  .results__statement { font-size: 22px; }
  .stat__num { font-size: 28px; }
  .stat p { font-size: 12px; }
  .free h2 { font-size: 32px; }
  .contact__title { font-size: 34px; }
  .wa-cta__text { font-size: 17px; }
  .wa-cta__icon { width: 38px; height: 38px; }
  .alt b { font-size: 14px; }
  .pills li, .free__list li { font-size: 11.5px; padding: 6px 11px; }
}

/* ============ Hover lift ============ */
/* Uses the standalone `translate` property so it stacks with GSAP's transforms (reveals, magnetic buttons).
   !important because GSAP writes an inline `translate: none` on every element it animates. */
.transform__card, .stat, .pills li, .free__list li, .tags li, .dash__stats > div {
  transition: translate 0.45s var(--ease-out), border-color 0.4s, background-color 0.4s, box-shadow 0.45s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover, .alt:hover { translate: 0 -3px !important; }
  .wa-cta:hover { translate: 0 -4px !important; box-shadow: 0 18px 40px -18px rgba(34, 197, 94, 0.6); }
  .card:hover { translate: 0 -8px !important; box-shadow: 0 30px 60px -30px rgba(139, 92, 246, 0.55); }
  .transform__card:hover { translate: 0 -6px !important; border-color: rgba(139, 92, 246, 0.45); box-shadow: 0 24px 50px -28px rgba(139, 92, 246, 0.5); }
  .stat:hover { translate: 0 -4px !important; background-color: var(--navy-800); }
  .pills li:hover, .free__list li:hover, .tags li:hover { translate: 0 -3px !important; border-color: rgba(139, 92, 246, 0.55); }
  .dash__stats > div:hover { translate: 0 -3px !important; border-color: rgba(139, 92, 246, 0.45); }
  .footer__credit a:hover { translate: 0 -2px !important; }
  .footer__credit a { transition: color 0.3s, translate 0.4s var(--ease-out); }
}

/* ============ Touch feedback ============ */
@media (hover: none) {
  .btn:active, .wa-cta:active, .alt:active, .card:active, .nav__toggle:active, .mobile-menu a:active { scale: 0.97; }
  .wa-float.is-visible:active { scale: 0.92; }
  .mobile-menu a:not(.btn):active { color: var(--purple); }
}
@media (hover: hover) { .mobile-menu a:not(.btn):hover { color: var(--purple); } }

/* ============ Scrollbar ============ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--purple)) padding-box;
  border: 3px solid transparent; border-radius: 10px; min-height: 48px;
}
::-webkit-scrollbar-thumb:hover { border-width: 2px; }
::-webkit-scrollbar-corner { background: var(--black); }
@supports (-moz-appearance: none) {
  html { scrollbar-width: thin; scrollbar-color: var(--purple) var(--black); }
}

/* ============ Reveal fallback (no JS) ============ */
.no-js .reveal, .no-js .reveal-words .w { opacity: 1 !important; transform: none !important; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-words .w { opacity: 1; }
}
