/* Home-only styles: hero, sticky scenes, stats, services rail, etc. */

/* ── HERO ──────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) var(--pad) 64px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero__pulse {
  position: absolute;
  right: -10vw; top: 50%;
  width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(229,52,60,0.18) 0%, rgba(229,52,60,0.05) 30%, transparent 60%);
  animation: pulse-bg 8s var(--ease-in-out) infinite;
  pointer-events: none;
}
@keyframes pulse-bg {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%      { transform: translateY(-50%) scale(1.08); }
}
.hero__inner {
  position: relative;
  max-width: 1440px; margin: 0 auto; width: 100%;
}
.hero__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dva-red);
  animation: pulse 2s infinite;
}
.hero__h1 {
  font-family: var(--font-display);
  font-size: var(--fs-mega);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0 0 32px;
  text-wrap: balance;
  max-width: 16ch;
}
.hero__h1 em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.hero__sub {
  font-size: clamp(18px, 1.5vw, 26px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 48px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  left: var(--pad); bottom: 32px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--ink-3), transparent);
  animation: scroll-cue 1.8s var(--ease-in-out) infinite;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── BIG INTRO STATEMENT ──────────────── */
.statement {
  padding: clamp(120px, 18vh, 220px) var(--pad);
  background: var(--bg);
}
.statement__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}
.statement__text span {
  color: var(--ink-3);
  transition: color 600ms ease;
}
.statement__text span.lit { color: var(--ink); }

/* ── STICKY SCENE (pinned scroll) ─────── */
.scene {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
}
.scene__sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.scene__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(229,52,60,0.25), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(229,52,60,0.08), transparent 60%);
}
.scene__stage {
  position: relative;
  text-align: center;
  padding: 0 var(--pad);
  width: 100%;
}
.scene__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dva-red);
  margin-bottom: 24px;
}
.scene__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 144px);
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 0 0 24px;
  text-wrap: balance;
  max-width: 14ch;
  margin-left: auto; margin-right: auto;
}
.scene__h em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.scene__sub {
  font-size: clamp(16px, 1.4vw, 22px);
  color: #b8b8b8;
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* Scroll-driven ring orbit */
.orbit {
  position: relative;
  width: clamp(280px, 30vw, 460px);
  aspect-ratio: 1;
  margin: 48px auto 0;
}
.orbit__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}
.orbit__ring--2 { inset: -8%; border-color: rgba(229,52,60,0.25); }
.orbit__ring--3 { inset: -16%; border-color: rgba(255,255,255,0.06); }
.orbit__core {
  position: absolute; inset: 30%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--dva-red), var(--dva-red-deep));
  box-shadow: 0 0 80px rgba(229,52,60,0.5), 0 0 160px rgba(229,52,60,0.25);
  animation: pulse-core 3s var(--ease-in-out) infinite;
}
@keyframes pulse-core {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.orbit__dot {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff;
  top: 50%; left: 50%;
  margin-top: -6px; margin-left: -6px;
  transform-origin: 0 0;
}

/* ── SERVICES TILES SECTION ───────────── */
.services-grid {
  padding: clamp(72px, 10vh, 120px) var(--pad);
  background: var(--bg-alt);
}
.services-grid__head {
  max-width: 1440px; margin: 0 auto 48px;
  display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.services-grid__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 72px);
  letter-spacing: -0.04em; line-height: 1; margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.services-grid__title em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.services-grid__lead { max-width: 36ch; font-size: 17px; color: var(--ink-2); line-height: 1.5; }
.services-grid__inner { max-width: 1440px; margin: 0 auto; }

/* Big feature tile visuals — abstract, no AI slop */
.viz {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.viz--rings::before, .viz--rings::after {
  content: "";
  position: absolute;
  border: 1px solid currentColor; opacity: 0.18;
  border-radius: 50%;
  right: -20%; bottom: -30%;
  width: 80%; aspect-ratio: 1;
}
.viz--rings::after { width: 120%; opacity: 0.1; right: -40%; bottom: -50%; }

.viz--grid {
  background-image:
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.06;
}

.viz--bars { display: flex; align-items: flex-end; gap: 6px; padding: 0 48px 48px; }
.viz--bars i {
  display: block; flex: 1; background: currentColor; opacity: 0.18;
  border-radius: 4px 4px 0 0;
}

.viz--orb {
  background: radial-gradient(circle at 80% 80%, rgba(229,52,60,0.6), transparent 50%);
  filter: blur(20px);
}

/* ── PROCESS PINNED ──────────────────── */
.process {
  background: var(--bg);
  padding: clamp(120px, 18vh, 200px) var(--pad);
}
.process__head {
  max-width: 1440px; margin: 0 auto 80px; text-align: center;
}
.process__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 72px);
  letter-spacing: -0.04em; line-height: 1.02; margin: 0 auto 16px;
  max-width: 22ch;
  text-wrap: balance;
}
.process__title em { font-style: italic; font-weight: 500; color: var(--dva-red); }

.steps {
  max-width: 1080px; margin: 0 auto;
  display: grid; gap: 8px;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: start; gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  transition: padding 400ms var(--ease-out);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--ink-3);
}
.step__h {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 600; letter-spacing: -0.03em;
  margin: 0 0 8px; line-height: 1.05;
}
.step__h em { font-style: italic; color: var(--dva-red); font-weight: 500; }
.step__d {
  font-size: 16px; color: var(--ink-2); line-height: 1.5;
  max-width: 60ch;
  max-height: 0; overflow: hidden;
  transition: max-height 500ms var(--ease-out), margin 500ms var(--ease-out), opacity 400ms ease;
  opacity: 0;
}
.step.is-open .step__d {
  max-height: 200px; margin-top: 8px; opacity: 1;
}
.step__plus {
  width: 32px; height: 32px; border: 1px solid var(--line);
  border-radius: 50%; position: relative;
  transition: background 200ms ease, border-color 200ms ease, transform 400ms var(--ease-out);
}
.step__plus::before, .step__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--ink); transition: transform 300ms var(--ease-out), background 200ms ease;
}
.step__plus::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.step__plus::after  { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.step.is-open .step__plus { background: var(--dva-red); border-color: var(--dva-red); transform: rotate(45deg); }
.step.is-open .step__plus::before, .step.is-open .step__plus::after { background: #fff; }

/* ── STATS ───────────────────────────── */
.stats {
  background: var(--bg-dark);
  color: #fff;
  padding: clamp(96px, 14vh, 160px) var(--pad);
}
.stats__inner { max-width: 1440px; margin: 0 auto; }
.stats__lead {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
  max-width: 22ch; margin: 0 0 80px;
  text-wrap: balance;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 32px 24px 32px 0;
  border-top: 1px solid var(--line-dark);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.94;
  display: flex; align-items: baseline; gap: 4px;
}
.stat__num small {
  font-size: 0.4em; color: var(--dva-red); font-weight: 500; letter-spacing: -0.02em;
}
.stat__lbl {
  font-size: 14px; color: #a0a0a0; margin-top: 16px; line-height: 1.4;
  max-width: 24ch;
}

/* ── CLIENTS ─────────────────────────── */
.clients {
  background: var(--bg);
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clients__head {
  text-align: center; padding: 0 var(--pad) 32px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ── BIG CTA ─────────────────────────── */
.cta-block {
  background: var(--dva-red); color: #fff;
  padding: clamp(96px, 14vh, 160px) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.18), transparent 50%);
}
.cta-block__h {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 128px);
  letter-spacing: -0.045em; line-height: 0.94;
  margin: 0 auto 32px; max-width: 14ch;
  text-wrap: balance;
}
.cta-block .btn--primary { background: #fff; color: var(--ink); }
.cta-block .btn--primary:hover { background: var(--ink); color: #fff; }
