/* ==========================================================================
   Fusion Creative — landing page styles
   Brand: dark premium, high-contrast, challenger tone.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #0D0E14;
  --surface: #13141C;
  --card: #171821;
  --red: #E01020;
  --red-soft: rgba(224, 16, 32, 0.12);
  --text: #FFFFFF;
  --muted: #9A9CA8;
  --dim: #6A6C78;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --success: #1D9E75;

  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --radius-card: 14px;
  --radius-btn: 12px;

  --container: 1140px;
  --gutter: clamp(20px, 5vw, 40px);

  --section-pad: clamp(72px, 11vw, 128px);

  --shadow-red: 0 8px 28px rgba(224, 16, 32, 0.35);
  --shadow-red-hover: 0 12px 36px rgba(224, 16, 32, 0.45);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Keeps anchored sections clear of the sticky nav */
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, dt, ul, figure, blockquote {
  margin: 0;
}

ul[role="list"] {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

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

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 720px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Wordmark image (500x200 source with transparent background) */
.logo__img {
  height: 48px;
  width: auto;
}

.logo--footer .logo__img {
  height: 56px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-red);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-hover);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

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

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.btn--lg {
  min-height: 56px;
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--nav {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(224, 16, 32, 0.25);
}

/* Shorter CTA label on narrow screens so the nav button never wraps */
.btn--nav-label-short {
  display: none;
}

@media (max-width: 520px) {
  .btn--nav-label-full {
    display: none;
  }

  .btn--nav-label-short {
    display: inline;
  }

  .btn--nav {
    padding: 10px 14px;
    font-size: 0.8125rem;
  }

  .nav .logo__img {
    height: 40px;
  }
}

/* Success state after form submit (toggled by main.js) */
.btn--success {
  background: var(--success);
  box-shadow: 0 8px 28px rgba(29, 158, 117, 0.35);
  pointer-events: none;
}

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-soft);
  border: 1px solid rgba(224, 16, 32, 0.3);
  color: #FF8A92;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.eyebrow-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(224, 16, 32, 0.9);
}

/* ---------- Ambient background: noise grain + floating dots ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.13;
}

.floating-dots-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #B01020;
  animation: float-dot var(--dot-duration, 4s) ease-in-out infinite;
  animation-delay: var(--dot-delay, 0s);
}

@keyframes float-dot {
  0%, 100% { transform: translateY(0);     opacity: 0.22; }
  50%      { transform: translateY(-18px); opacity: 0.45; }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 8px rgba(224, 16, 32, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
  pointer-events: none;
}

/* ---------- Sticky nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 14px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              backdrop-filter 0.3s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(13, 14, 20, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(140px, 20vw, 200px);
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

/* The single signature flourish: one radial red glow behind the headline */
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 130vw);
  aspect-ratio: 1.4;
  background: radial-gradient(ellipse at center,
              rgba(224, 16, 32, 0.22) 0%,
              rgba(224, 16, 32, 0.07) 38%,
              transparent 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(2.25rem, 7.2vw, 4.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 17ch;
  text-wrap: balance;
}

.hero__br {
  display: none;
}

@media (min-width: 900px) {
  .hero__br {
    display: block;
  }
}

.hero__accent {
  position: relative;
  display: inline-block;
  color: var(--red);
  white-space: nowrap;
}

/* Hand-drawn-style underline swipe under the accent phrase */
.hero__underline {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.16em;
  color: var(--red);
  opacity: 0.85;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: underline-draw 0.7s var(--ease-out) 0.9s forwards;
}

@keyframes underline-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__sub {
  margin-top: 24px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.1875rem);
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  width: 100%;
}

@media (max-width: 480px) {
  .hero__ctas .btn {
    width: 100%;
  }
}

/* Free-sample hook line under the CTAs */
.hero__hook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero__hook-icon {
  width: 16px;
  height: 16px;
  flex: none;
  padding: 2px;
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red);
}

@media (max-width: 480px) {
  .hero__hook {
    align-items: flex-start;
    text-align: left;
    max-width: 34ch;
  }

  .hero__hook-icon {
    margin-top: 2px;
  }
}

/* Stat strip */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3vw, 32px);
  width: 100%;
  max-width: 860px;
  margin-top: clamp(48px, 8vw, 80px);
  padding-block: clamp(20px, 4vw, 32px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column-reverse; /* value above label visually, label first in DOM for dt/dd semantics */
  gap: 6px;
  text-align: center;
}

.stat__value {
  font-size: clamp(1.375rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat__suffix {
  color: var(--red);
  font-size: 0.6em;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: baseline;
}

.stat__label {
  color: var(--dim);
  font-size: clamp(0.6875rem, 1.6vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 20px;
    border: 0;
    padding-block: 0;
  }

  .stat {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--surface);
    padding: 16px;
  }
}

/* ---------- Trusted brands marquee (ported from the portfolio site) ---------- */
.brands {
  padding-block: clamp(48px, 7vw, 64px);
}

.brands__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brands__rule {
  height: 1px;
  width: 64px;
  margin-top: 16px;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #B01020, transparent);
}

.brands-marquee {
  overflow: hidden;
  background: #191B26;
  border-top: 1px solid rgba(176, 16, 32, 0.12);
  border-bottom: 1px solid rgba(176, 16, 32, 0.12);
  padding-block: 28px;
}

/* Track holds two identical groups; shifting -50% loops seamlessly */
.brands-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.brands-marquee__track:hover {
  animation-play-state: paused;
}

.brands-marquee__group {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  flex: none;
}

.brands-marquee__item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-w, 130px);
  height: var(--logo-h, 48px);
  opacity: 0.82;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  transition: opacity 0.3s, filter 0.3s;
}

.brands-marquee__item:hover {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

.brands-marquee__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections (shared) ---------- */
.section {
  padding-block: var(--section-pad);
}

.section--proof {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--testimonials {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

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

.section__title {
  font-size: clamp(1.625rem, 4.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section__sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ---------- Video wall ---------- */
.video-group + .video-group {
  margin-top: clamp(40px, 6vw, 64px);
}

.video-group__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.video-group__title::before {
  content: "";
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
  flex: none;
}

.video-group__count {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  /* Two-column grid on mobile: every frame fully visible, nothing cut
     at the screen edges (a swipe rail left cards sliced mid-viewport) */
  .video-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .video-card__play {
    width: 48px;
    height: 48px;
  }

  .video-card__play svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- Video lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox__panel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  animation: lightbox-in 0.25s var(--ease-out);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lightbox__video {
  display: block;
  width: min(92vw, calc(74vh * 9 / 16));
  aspect-ratio: 9 / 16;
  background: #000;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 14, 20, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.lightbox__close:hover {
  opacity: 1;
  background: rgba(13, 14, 20, 0.8);
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

.lightbox__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: var(--card);
}

.lightbox__category {
  color: var(--red);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lightbox__studio {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .lightbox__panel {
    animation: none;
  }
}

/* The frame is a button: the whole card opens the lightbox */
.video-card__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(224, 16, 32, 0.08), transparent 60%),
    linear-gradient(180deg, var(--card) 0%, #101117 100%);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}

.video-card:hover .video-card__frame {
  border-color: rgba(224, 16, 32, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

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

.video-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(224, 16, 32, 0.16), var(--shadow-red);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.video-card__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 14px rgba(224, 16, 32, 0.2), var(--shadow-red-hover);
}

/* Quiet portfolio exit under the video grid: secondary by design,
   visually subordinate to every red CTA on the page */
.proof-portfolio {
  margin-top: 28px;
  text-align: center;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease-out), gap 0.2s var(--ease-out);
}

.portfolio-link .icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.portfolio-link:hover {
  color: var(--text);
  gap: 10px;
}

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

/* In-section CTA link: keeps the single conversion path alive between hero and offer */
.section-cta {
  margin-top: clamp(32px, 5vw, 48px);
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 400;
}

/* When the quiet portfolio link sits above, pull the conversion line closer */
.proof-portfolio + .section-cta {
  margin-top: 14px;
}

.section-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  min-height: 44px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(224, 16, 32, 0.4);
  transition: border-color 0.2s var(--ease-out), gap 0.2s var(--ease-out);
}

.section-cta__link:hover {
  border-bottom-color: var(--red);
  gap: 10px;
}

.section-cta__link .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Value props ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

/* Challenger touch: oversized ghost numeral in the card corner */
.value-card::after {
  content: attr(data-num);
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  transition: color 0.25s var(--ease-out);
}

.value-card:hover::after {
  color: rgba(224, 16, 32, 0.18);
}

/* Extra specificity: the reveal end-state (.reveal.is-visible) would
   otherwise override the hover transform */
.value-card:hover,
.value-card.reveal.is-visible:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 20px;
}

.value-card__icon svg {
  width: 26px;
  height: 26px;
}

.value-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.value-card__text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

/* Staggered columns on desktop: middle card sits lowest, third in between.
   3n selectors repeat the wave on every row of three */
@media (min-width: 861px) {
  .quote-card:nth-child(3n + 2) {
    margin-top: 32px;
  }

  .quote-card:nth-child(3n) {
    margin-top: 16px;
  }
}

.quote-card__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid rgba(224, 16, 32, 0.2);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.quote-card__inner:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(224, 16, 32, 0.3), 0 0 60px rgba(224, 16, 32, 0.2);
}

/* Mouse-follow spotlight (--mx/--my set by main.js) + top glow, on hover */
.quote-card__spotlight {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%),
                    rgba(224, 16, 32, 0.25), transparent 40%),
    radial-gradient(circle at 50% 0%, rgba(224, 16, 32, 0.15), transparent 70%);
  transition: opacity 0.5s var(--ease-out);
}

.quote-card__inner:hover .quote-card__spotlight {
  opacity: 1;
}

/* Decorative corner accent, top right */
.quote-card__inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, var(--red), transparent 70%);
  transition: opacity 0.5s var(--ease-out);
}

.quote-card__inner:hover::after {
  opacity: 0.2;
}

.quote-card__mark {
  position: relative;
  width: 40px;
  height: 40px;
  color: var(--red);
  opacity: 0.6;
  margin-bottom: 20px;
  transition: opacity 0.3s var(--ease-out);
}

.quote-card__inner:hover .quote-card__mark {
  opacity: 1;
}

.quote-card__text {
  position: relative;
  flex-grow: 1;
}

.quote-card__text p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Keep card heights even across the row when quotes differ in length */
@media (min-width: 861px) {
  .quote-card__text p {
    min-height: 96px;
  }
}

.quote-card__person {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-card__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid rgba(224, 16, 32, 0.3);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color 0.3s var(--ease-out);
}

.quote-card__inner:hover .quote-card__avatar {
  border-color: rgba(224, 16, 32, 0.6);
}

.quote-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
}

.quote-card__role {
  color: var(--dim);
  font-size: 0.8125rem;
}

/* ---------- About / who we are ---------- */
/* The portrait glow extends past the column; clip it at the section edge */
.section--about {
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.section__head--about {
  margin-bottom: 28px;
}

.about-copy {
  display: grid;
  gap: 16px;
  max-width: 52ch;
}

.about-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Founder chips */
.founder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.founder-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
}

.founder-chip__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1px solid rgba(224, 16, 32, 0.3);
  color: #FF8A92;
  font-size: 0.875rem;
  font-weight: 700;
}

.founder-chip__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.founder-chip__name {
  font-size: 0.875rem;
  font-weight: 700;
}

.founder-chip__role {
  color: var(--dim);
  font-size: 0.75rem;
}

/* Compact stat panel */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.about-stat {
  display: flex;
  flex-direction: column-reverse; /* value above label; dt stays first in DOM */
  gap: 6px;
}

.about-stat__value {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.about-stat__label {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* Free-floating portrait: no frame, no panel. The subjects sit directly on
   the page, lit by a soft red glow behind them, edges dissolving into the
   dark via masks (same treatment as the portfolio site's hero). */
.about-portrait {
  position: relative;
}

/* Ambient red glow behind the founders — the brand accent, no borders needed */
.about-portrait::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 120%;
  aspect-ratio: 1;
  background: radial-gradient(circle at center,
              rgba(224, 16, 32, 0.16) 0%,
              rgba(224, 16, 32, 0.05) 45%,
              transparent 70%);
  pointer-events: none;
}

.about-portrait img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
  /* Dissolve the mid-torso crop straight into the page background */
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 97%);
  animation: portrait-float 7s ease-in-out infinite;
}

@keyframes portrait-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .about-portrait img {
    animation: none;
  }
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Image first on mobile, copy after */
  .about-grid__media {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .about-stats {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-stat {
    flex-direction: row-reverse;
    align-items: baseline;
    justify-content: flex-end;
    gap: 12px;
  }
}

/* ---------- Offer ---------- */
.offer-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  background: linear-gradient(150deg, #1A1B26 0%, var(--surface) 55%, #12131B 100%);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px);
}

@media (max-width: 860px) {
  .offer-card {
    grid-template-columns: 1fr;
  }
}

.offer-card__title {
  max-width: 18ch;
}

.offer-card__sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 52ch;
}

.offer-checklist {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.offer-checklist__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
}

.offer-checklist__icon {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  padding: 3px;
  border-radius: 7px;
  background: var(--red-soft);
  color: var(--red);
}

.offer-card__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(13, 14, 20, 0.6);
  border: 1px solid rgba(224, 16, 32, 0.35);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px);
}

.offer-card__side-title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.offer-card__side-text {
  margin-top: 14px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.offer-card__side-hint {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.8125rem;
  text-align: center;
}

/* ---------- Lead form ---------- */
.lead-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 44px);
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.form-required {
  color: var(--red);
}

.form-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem; /* ≥16px prevents iOS auto-zoom */
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.form-input::placeholder {
  color: var(--dim);
}

.form-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.form-input.is-invalid {
  border-color: var(--red);
}

.form-select-wrap {
  position: relative;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.form-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--dim);
  pointer-events: none;
}

.form-hint {
  color: var(--dim);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.form-error {
  color: #FF6B76;
  font-size: 0.8125rem;
  font-weight: 600;
}

.form-footnote {
  color: var(--dim);
  font-size: 0.8125rem;
  text-align: center;
}

.form-status {
  display: none;
  color: var(--success);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #FF6B76;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(40px, 6vw, 64px);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer__tagline {
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer__copy {
  color: var(--dim);
  font-size: 0.8125rem;
}

/* ---------- Hero entrance animation (staggered) ---------- */
.anim {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.7s var(--ease-out) forwards;
}

.anim-1 { animation-delay: 0.05s; }
.anim-2 { animation-delay: 0.15s; }
.anim-3 { animation-delay: 0.3s; }
.anim-4 { animation-delay: 0.45s; }
.anim-5 { animation-delay: 0.6s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Masked headline reveal ---------- */
/* Title text rises out of an invisible fold; triggered by the same
   .is-visible class the scroll-reveal system already toggles */
.has-mask {
  overflow: hidden;
}

.mask-line {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out) 0.12s;
  will-change: transform;
}

.reveal.is-visible .mask-line,
.reveal.is-visible.has-mask .mask-line {
  transform: none;
}

.no-js .mask-line {
  transform: none;
}

/* ---------- Video wall parallax drift ---------- */
/* JS moves the wrapper, not the li, so it never fights the reveal transition */
.video-card__drift {
  height: 100%;
}

.js-drift .video-wall .video-card:nth-child(even) .video-card__drift {
  will-change: transform;
}

/* ---------- Sticky offer reveal (desktop only, class added by JS) ---------- */
.js-offer-pin {
  padding-block: 0;
  min-height: 220vh;
}

.js-offer-pin .offer-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.js-offer-pin .offer-pin > .container {
  width: 100%;
}

.js-offer-pin .offer-checklist__item {
  opacity: 0.28;
  transform: translateX(-10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.js-offer-pin .offer-checklist__item .offer-checklist__icon {
  opacity: 0.4;
  transition: opacity 0.45s var(--ease-out), background-color 0.45s var(--ease-out);
}

.js-offer-pin .offer-checklist__item.is-lit {
  opacity: 1;
  transform: none;
}

.js-offer-pin .offer-checklist__item.is-lit .offer-checklist__icon {
  opacity: 1;
  background: rgba(224, 16, 32, 0.28);
}

/* ---------- Scroll reveal (driven by IntersectionObserver in main.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* No-JS fallback: content must never stay hidden */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .anim,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero__underline {
    stroke-dashoffset: 0;
    animation: none;
  }

  .btn,
  .value-card,
  .video-card__frame,
  .video-card__play,
  .quote-card__inner,
  .quote-card__spotlight {
    transition: none;
  }

  .brands-marquee__track {
    animation: none;
  }

  .floating-dot {
    animation: none;
    opacity: 0.22;
  }

  .mask-line {
    transform: none;
    transition: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* Hero scrub targets: hint the compositor (JS skips these under reduced motion) */
.hero__inner,
.hero__glow {
  will-change: transform, opacity;
}

/* When JS drives the marquee (velocity-reactive), the CSS loop turns off */
.brands-marquee__track.is-js-driven {
  animation: none;
}
