/* ============================================================
   Integra AI — AI Automation landing page (direct-link only)
   Smooth-scroll story: Lenis + GSAP ScrollTrigger drive the pinned
   sections (statement, card stack, sideways process). Every layout
   below works without JS / with reduced motion; `.is-anim` on <html>
   switches on the pinned layouts.
   ============================================================ */

:root {
  --ink: #0a0807;
  --ink-2: #120c09;
  --ink-3: #1a120d;
  --brand: #ff4d1f;
  --brand-bright: #ff6a3c;
  --arc: #ff8a4c;
  --ember: #ffb27a;
  --text: #f2ede7;
  --text-dim: rgba(242, 237, 231, 0.64);
  --text-mute: rgba(242, 237, 231, 0.4);
  --line: rgba(242, 237, 231, 0.1);
  --line-2: rgba(255, 106, 60, 0.32);
  --ok: #35d07f;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.accent { color: var(--brand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--ember);
}
.eyebrow--center { justify-content: center; }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}

.h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--primary { background: var(--brand); color: #180b06; }
.btn--primary:hover { background: var(--brand-bright); box-shadow: 0 14px 40px -10px rgba(255, 77, 31, 0.7); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand-bright); color: var(--brand-bright); }
.btn--lg { padding: 18px 34px; font-size: 1.02rem; }

/* ── top bar + page progress ─────────────────── */
.top {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.85), rgba(10, 8, 7, 0));
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; object-fit: contain; }
.brand__word { font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand__ai { color: var(--brand); }
.pill {
  font-size: 0.85rem; font-weight: 600; color: #180b06;
  background: var(--brand); padding: 10px 18px; border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.pill:hover { background: var(--brand-bright); transform: translateY(-1px); }
.scrollbar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; }
.scrollbar span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }

/* ── hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2vw;
  padding: 110px var(--pad) 70px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 55% at 74% 50%, rgba(255, 77, 31, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(255, 138, 76, 0.1), transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 60% 45%, #000, transparent 80%);
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  margin: 22px 0 24px;
  font-size: clamp(2.3rem, min(6.3vw, 11.5vh), 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero__title .line { display: block; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .w > span { display: inline-block; will-change: transform; }
.hero__sub { max-width: 34em; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--text-dim); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cue {
  position: absolute; z-index: 2; left: var(--pad); bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute);
}
.hero__cue i { width: 56px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: translateX(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 60%, 100% { transform: translateX(100%); } }

/* floating 3D card cluster */
.cluster { position: relative; z-index: 1; perspective: 1400px; height: min(60vh, 560px); }
.cluster__orb {
  position: absolute; left: 50%; top: 52%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 60, 0.55), rgba(255, 77, 31, 0.15) 40%, transparent 68%);
  filter: blur(30px);
}
.cluster__rig { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.tcard {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; min-width: 200px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(36, 23, 17, 0.94), rgba(14, 9, 7, 0.94));
  border: 1px solid rgba(255, 138, 76, 0.38);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 44px rgba(255, 77, 31, 0.18);
  backdrop-filter: blur(8px);
  will-change: transform;
}
.tcard p { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); }
.tcard strong { display: block; margin-top: 2px; font-size: 0.92rem; font-weight: 600; }
.tcard__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 14px var(--brand); }
.tcard__dot--ok { background: var(--ok); box-shadow: 0 0 14px var(--ok); }
.tcard--1 { left: 2%; top: 6%; transform: translateZ(60px) rotateY(10deg); }
.tcard--2 { right: 0; top: 17%; transform: translateZ(140px) rotateY(-12deg); }
.tcard--3 { left: 6%; top: 41%; transform: translateZ(20px) rotateY(8deg); }
.tcard--4 { right: 4%; top: 56%; transform: translateZ(110px) rotateY(-9deg); }
.tcard--5 { left: 20%; bottom: 3%; transform: translateZ(180px) rotateY(6deg); }

.slabs {
  position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1.5;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg);
  transform-style: preserve-3d; pointer-events: none;
}
.slab {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 12px; padding: 0 8%;
  border-radius: 14px; font-size: clamp(0.8rem, 1.2vw, 1.05rem); font-weight: 600;
  background: linear-gradient(135deg, #1b1310, #0a0807);
  box-shadow: 0 0 0 1px rgba(255, 138, 76, 0.4), 14px 14px 36px rgba(0, 0, 0, 0.5);
}
.slab i { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 16px var(--brand); }
.slab--a { transform: translateZ(0); }
.slab--b { transform: translateZ(42px); }
.slab--c { transform: translateZ(84px); background: linear-gradient(135deg, #ff4d1f, #c22f0c); }
.slab--c i { background: #fff; box-shadow: none; }

/* ── statement ────────────────────────────────── */
.statement { padding: clamp(80px, 14vw, 180px) var(--pad); }
.statement__pin { max-width: 1100px; margin: 0 auto; text-align: center; }
.statement__text {
  margin-top: 26px;
  font-size: clamp(1.7rem, 4.6vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.statement__text em { font-style: normal; color: var(--brand); }
.statement__text .sw { display: inline-block; }
.is-anim .statement { padding: 0; }
.is-anim .statement__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); max-width: none; }
.is-anim .statement__text { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* ── stack ────────────────────────────────────── */
.stack { padding: clamp(60px, 9vw, 120px) var(--pad); }
.stack__head { margin-bottom: 36px; }
.stack__deck { display: grid; gap: 22px; }
.scard {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center;
  min-height: 56vh;
  padding: clamp(24px, 4vw, 56px);
  border-radius: 28px;
  background: linear-gradient(150deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform-origin: 50% 0;
}
.scard:nth-child(2) { background: linear-gradient(150deg, #1d130e, #0f0a07); }
.scard:nth-child(3) { background: linear-gradient(150deg, #20150f, #100a07); }
.scard:nth-child(4) { background: linear-gradient(150deg, #23160f, #110b08); }
.scard__n { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--brand); }
.scard h3 { margin: 10px 0 14px; font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; }
.scard__copy > p:not(.scard__n) { max-width: 30em; color: var(--text-dim); font-size: clamp(0.98rem, 1.2vw, 1.12rem); }
.scard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.scard__tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.8rem; color: var(--ember); }
.scard__ui {
  position: relative; min-height: 260px; height: 100%; max-height: 380px;
  border-radius: 20px; padding: 26px;
  background: radial-gradient(80% 80% at 50% 30%, rgba(255, 77, 31, 0.18), rgba(10, 8, 7, 0.4));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  overflow: hidden;
}
.ui__label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.ui__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.ui__line { font-size: 1rem; color: var(--text-dim); }
.ui__line b { color: var(--text); }
.wave { display: flex; align-items: center; gap: 6px; height: 80px; }
.wave i { flex: 1; border-radius: 99px; background: linear-gradient(180deg, var(--brand-bright), var(--brand)); height: 20%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -0.4s; } .wave i:nth-child(3n+1) { animation-delay: -0.8s; } .wave i:nth-child(2n) { animation-duration: 1.5s; }
@keyframes wave { 50% { height: 90%; } }
.bub { max-width: 82%; padding: 11px 16px; border-radius: 16px; font-size: 0.92rem; }
.bub--in { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border-bottom-left-radius: 4px; }
.bub--out { align-self: flex-end; background: var(--brand); color: #180b06; font-weight: 500; border-bottom-right-radius: 4px; }
.bub--ok { background: var(--ok); }
.scard__ui--flow { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.node { padding: 12px 18px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 600; }
.node--hot { background: var(--brand); border-color: var(--brand); color: #180b06; }
.wire { width: 26px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--arc)); }
.scard__ui--int { flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; gap: 12px; }
.scard__ui--int span { padding: 14px 22px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-3); font-weight: 600; font-size: 0.95rem; }

.is-anim .stack { padding: 0; }
.is-anim .stack__pin { position: relative; height: 100vh; height: 100svh; padding: 96px var(--pad) 32px; display: flex; flex-direction: column; overflow: hidden; }
.is-anim .stack__head { margin-bottom: 18px; }
.is-anim .stack__head .h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.is-anim .stack__deck { position: relative; flex: 1; display: block; min-height: 0; }
.is-anim .scard { position: absolute; inset: 0; min-height: 0; will-change: transform; }

/* ── process (sideways) ───────────────────────── */
.hz { padding: clamp(60px, 9vw, 120px) 0; }
.hz__head { padding: 0 var(--pad); margin-bottom: 36px; }
.hz__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 var(--pad); }
.step {
  padding: clamp(24px, 3vw, 40px); min-height: 300px; border-radius: 24px;
  background: linear-gradient(150deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-2);
}
.step__n { font-size: clamp(3.4rem, 7vw, 6.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--brand); }
.step h3 { margin: 24px 0 10px; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.03em; }
.step p:not(.step__n) { color: var(--text-dim); max-width: 24em; }
.hz__bar { display: none; }
.is-anim .hz { padding: 0; }
.is-anim .hz__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.is-anim .hz__head { margin-bottom: 28px; }
.is-anim .hz__track { display: flex; width: max-content; gap: 24px; padding-right: var(--pad); will-change: transform; }
.is-anim .step { flex: none; width: clamp(280px, 38vw, 520px); }
.is-anim .hz__bar { display: block; margin: 34px var(--pad) 0; height: 2px; background: var(--line); }
.is-anim .hz__bar span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }

/* ── metrics + band ───────────────────────────── */
.metrics { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.metrics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 var(--pad); }
.metric { padding-top: 18px; border-top: 2px solid var(--brand); }
.metric strong { display: block; font-size: clamp(2.8rem, 8vw, 7rem); line-height: 1; letter-spacing: -0.06em; font-weight: 700; }
.metric span { display: block; margin-top: 10px; color: var(--text-dim); }
.band { margin-top: clamp(50px, 8vw, 110px); display: grid; gap: 6px; transform: skewY(-3deg); }
.band__row { display: flex; gap: 30px; width: max-content; white-space: nowrap; align-items: center; font-size: clamp(3rem, 9vw, 8rem); font-weight: 800; letter-spacing: -0.05em; text-transform: uppercase; line-height: 1.05; will-change: transform; }
.band__row i { font-style: normal; color: var(--brand); font-size: 0.5em; }
.band__row--ghost { color: transparent; -webkit-text-stroke: 1.5px rgba(242, 237, 231, 0.4); }

/* ── CTA ──────────────────────────────────────── */
.cta { position: relative; padding: clamp(90px, 14vw, 190px) var(--pad); text-align: center; overflow: hidden; }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(55% 60% at 50% 55%, rgba(255, 77, 31, 0.28), transparent 70%); }
.cta > * { position: relative; }
.cta__title { margin: 20px auto 18px; max-width: 12em; font-size: clamp(2.6rem, 8vw, 7rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 700; }
.cta__sub { max-width: 34em; margin: 0 auto 34px; color: var(--text-dim); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding: 28px var(--pad) 90px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: 0.85rem; }

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

/* ── responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; gap: 10px; }
  .cluster { height: 46vh; order: 2; }
  .tcard { min-width: 0; padding: 10px 13px; }
  .tcard strong { font-size: 0.8rem; }
  .scard { grid-template-columns: 1fr; }
  .scard__ui { min-height: 150px; max-height: 220px; padding: 18px; }
  .scard h3 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hz__track:not(.x) { grid-template-columns: 1fr 1fr; }
  .metrics__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hz__track:not(.x) { grid-template-columns: 1fr; }
  .scard__copy > p:not(.scard__n) { font-size: 0.92rem; }
  .scard__tags { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wave i, .hero__cue i::after { animation: none; }
}

@media (max-height: 700px) {
  .is-anim .scard { padding: 22px 28px; }
  .is-anim .scard h3 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: 6px 0 8px; }
  .is-anim .scard__tags { display: none; }
  .is-anim .scard__ui { min-height: 0; max-height: 100%; padding: 16px; }
}

/* ============================================================
   Extra sections: call · day · tunnel, plus ambient layers
   ============================================================ */

/* ambient: drifting light + cursor glow (JS moves them) */
.bgorbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bgorbs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
#orbA { width: 46vw; height: 46vw; left: -12vw; top: 6vh; background: rgba(255, 77, 31, 0.2); }
#orbB { width: 38vw; height: 38vw; right: -10vw; bottom: -6vh; background: rgba(255, 138, 76, 0.16); }
.glow-cursor {
  position: fixed; z-index: 40; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease);
  background: radial-gradient(circle, rgba(255, 106, 60, 0.13), transparent 62%);
  mix-blend-mode: screen; will-change: transform;
}
.glow-cursor.on { opacity: 1; }

/* masked word reveal used by headings */
.m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.m > span { display: inline-block; will-change: transform; }

/* ── call ─────────────────────────────────────── */
.call { padding: clamp(70px, 10vw, 140px) var(--pad); }
.call__pin { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 6vw, 90px); align-items: center; max-width: 1240px; margin: 0 auto; }
.call__steps { list-style: none; margin-top: 30px; display: grid; gap: 6px; }
.call__steps li { display: flex; gap: 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; opacity: 0.4; transition: opacity 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease); }
.call__steps b { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--brand); padding-top: 4px; }
.call__steps h4 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -0.02em; }
.call__steps p { margin-top: 3px; color: var(--text-dim); font-size: 0.95rem; max-width: 30em; }
.call__steps li.is-on { opacity: 1; background: rgba(255, 77, 31, 0.07); border-color: var(--line-2); transform: translateX(8px); }

.phone { position: relative; justify-self: center; width: min(330px, 80vw); height: min(640px, 80vh); perspective: 1200px; }
.phone__glow { position: absolute; inset: 8% -20%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 77, 31, 0.4), transparent 65%); filter: blur(40px); }
.phone__body {
  position: relative; height: 100%; padding: 14px; border-radius: 44px;
  background: linear-gradient(160deg, #1d1410, #0b0807);
  box-shadow: 0 0 0 2px #2a1d16, 0 0 0 3px rgba(255, 138, 76, 0.35), 0 50px 100px rgba(0, 0, 0, 0.6);
  display: flex; flex-direction: column; overflow: hidden; will-change: transform;
}
.phone__notch { position: absolute; top: 12px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: #000; z-index: 3; }
.phone__head { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); font-size: 0.82rem; font-weight: 600; }
.phone__head p { flex: 1; }
.phone__head time { font-family: var(--mono); color: var(--ember); font-size: 0.8rem; }
.phone__wave { display: flex; align-items: center; gap: 4px; height: 54px; padding: 0 6px; }
.phone__wave i { flex: 1; border-radius: 99px; background: linear-gradient(180deg, var(--brand-bright), var(--brand)); height: 18%; animation: wave 1.1s ease-in-out infinite; }
.phone__wave i:nth-child(3n) { animation-delay: -0.35s; } .phone__wave i:nth-child(3n+1) { animation-delay: -0.7s; } .phone__wave i:nth-child(2n) { animation-duration: 1.4s; }
.phone__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 6px 4px 8px; min-height: 0; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.84rem; line-height: 1.4; }
.msg--ai { align-self: flex-start; background: rgba(255, 255, 255, 0.08); border-bottom-left-radius: 4px; }
.msg--you { align-self: flex-end; background: var(--brand); color: #180b06; font-weight: 500; border-bottom-right-radius: 4px; }
.msg--sms { align-self: stretch; max-width: 100%; background: linear-gradient(135deg, rgba(53, 208, 127, 0.18), rgba(53, 208, 127, 0.06)); border: 1px solid rgba(53, 208, 127, 0.5); border-radius: 14px; font-size: 0.8rem; }
.msg--sms b { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ok); }
.is-anim .call { padding: 0; }
.is-anim .call__pin { height: 100vh; height: 100svh; max-width: none; padding: 80px var(--pad) 30px; }
.is-anim .call__copy { max-width: 600px; justify-self: end; }

/* ── day ──────────────────────────────────────── */
.day { padding: clamp(70px, 10vw, 140px) var(--pad); }
.day__head { margin-bottom: 18px; }
.day__clock { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 22px; font-family: var(--mono); color: var(--ember); }
.day__clock strong { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.05em; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.day__clock span { font-size: 1rem; letter-spacing: 0.14em; }
.day__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 36px); }
.day__label { margin-bottom: 12px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); }
.day__col--good .day__label { color: var(--brand); }
.day__col ul { list-style: none; display: grid; gap: 9px; }
.day__col li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); font-size: clamp(0.88rem, 1.2vw, 1.02rem); font-weight: 500; transition: background 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--ease), opacity 0.5s var(--ease); }
.day__col time { font-family: var(--mono); font-size: 0.78rem; color: var(--text-mute); width: 3.4em; flex: none; }
.day__col li em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; transform: scale(0.7); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.day__col--bad li.is-on { border-color: rgba(255, 95, 86, 0.45); background: rgba(255, 95, 86, 0.07); color: rgba(242, 237, 231, 0.55); transform: translateX(-4px); }
.day__col--bad li.is-on em { opacity: 1; transform: none; color: #ff5f56; }
.day__col--good li.is-on { border-color: var(--line-2); background: linear-gradient(90deg, rgba(255, 77, 31, 0.2), rgba(255, 77, 31, 0.05)); transform: translateX(4px); }
.day__col--good li.is-on em { opacity: 1; transform: none; color: var(--ok); }
.day__col--good li.is-on em::before { content: "✓ "; }
.day__foot { margin-top: 26px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--text-dim); }
.day__foot span { color: var(--brand); font-weight: 700; font-size: 1.5em; font-variant-numeric: tabular-nums; }
.is-anim .day { padding: 0; }
.is-anim .day__pin { height: 100vh; height: 100svh; padding: 90px var(--pad) 24px; display: flex; flex-direction: column; justify-content: center; max-width: 1240px; margin: 0 auto; }
.is-anim .day__head .h2 { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }

/* ── tunnel ───────────────────────────────────── */
.tunnel { padding: clamp(70px, 10vw, 140px) var(--pad); }
.tunnel__title { text-align: center; margin-bottom: 36px; }
.tunnel__rig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcd { padding: clamp(22px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(150deg, rgba(34, 22, 16, 0.96), rgba(12, 8, 6, 0.96)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 77, 31, 0.12); }
.tcd p { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.tcd h3 { margin: 12px 0 10px; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; line-height: 1.05; }
.tcd span { color: var(--text-dim); }
.tunnel__count { display: none; }
.is-anim .tunnel { padding: 0; }
.is-anim .tunnel__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.is-anim .tunnel__title { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; margin: 0; padding: 0 var(--pad); transform: translateY(-50%); will-change: transform, opacity; }
.is-anim .tunnel__title .h2 { font-size: clamp(2rem, 5vw, 5rem); max-width: 14em; margin-left: auto; margin-right: auto; }
.is-anim .tunnel__scene { position: absolute; inset: 0; z-index: 2; perspective: 900px; perspective-origin: 50% 50%; }
.is-anim .tunnel__rig { position: absolute; inset: 0; display: block; transform-style: preserve-3d; will-change: transform; }
.is-anim .tcd { position: absolute; left: 50%; top: 50%; width: min(520px, 80vw); will-change: transform, opacity; opacity: 0; }
.is-anim .tunnel__count { display: block; position: absolute; z-index: 3; right: var(--pad); bottom: 30px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--text-mute); }
.is-anim .tunnel__count span { color: var(--brand); }

@media (max-width: 900px) {
  .call__pin { grid-template-columns: 1fr; }
  .is-anim .call__pin { padding-top: 70px; gap: 10px; align-content: center; }
  .is-anim .call__copy { justify-self: stretch; }
  .is-anim .call__steps { display: none; }
  .is-anim .phone { height: min(540px, 66vh); }
  .day__cols { grid-template-columns: 1fr; }
  .is-anim .day__col--bad { display: none; }
  .tunnel__rig { grid-template-columns: 1fr; }
}
@media (max-height: 700px) {
  .is-anim .call__steps p { display: none; }
  .is-anim .call__steps li { padding: 10px 14px; }
  .is-anim .day__col li { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone__wave i { animation: none; }
  .call__steps li { opacity: 1; }
  .day__col li em { opacity: 1; transform: none; }
}

@media (max-height: 700px) {
  .phone__chat { overflow: hidden; gap: 6px; }
  .msg { padding: 7px 11px; font-size: 0.74rem; border-radius: 13px; }
  .msg--sms { font-size: 0.7rem; }
  .phone__wave { height: 32px; }
  .phone__head { margin-top: 26px; padding: 9px 12px; }
  .is-anim .day__pin { padding-top: 76px; }
  .day__clock { margin: 0 0 12px; }
  .day__clock strong { font-size: clamp(2rem, 5vw, 3.4rem); }
  .day__foot { margin-top: 14px; }
}

/* ============================================================
   Mobile pass (phones / small tablets)
   ============================================================ */
@media (max-width: 900px) {
  .top { padding: 12px 16px; }
  .brand__word { font-size: 0.98rem; }
  .pill { padding: 9px 14px; font-size: 0.78rem; }

  /* hero fits exactly one screen so the pin never clips it */
  .hero { height: 100vh; height: 100svh; min-height: 600px; grid-template-rows: auto minmax(0, 1fr); padding: 78px 20px 18px; gap: 0; }
  .hero__title { font-size: clamp(2rem, 9.4vw, 2.7rem); margin: 14px 0 12px; }
  .hero__sub { font-size: 0.92rem; line-height: 1.45; }
  .hero__ctas { margin-top: 16px; gap: 8px; flex-wrap: nowrap; }
  .hero__ctas .btn { flex: 1; padding: 12px 10px; font-size: 0.82rem; white-space: nowrap; }
  .hero__cue { display: none; }
  .cluster { height: auto; min-height: 0; order: 0; }
  .tcard { padding: 9px 12px; gap: 9px; border-radius: 13px; }
  .tcard p { font-size: 0.58rem; }
  .tcard strong { font-size: 0.74rem; }
  .slabs { width: 62%; }

  .statement__text { font-size: clamp(1.45rem, 6.6vw, 2.2rem); }

  /* card stack: everything must fit inside one screen */
  .is-anim .stack__pin { padding: 70px 16px 18px; }
  .is-anim .stack__head .h2 { font-size: clamp(1.5rem, 7vw, 2rem); margin-top: 6px; }
  .scard { padding: 20px 18px; gap: 12px; border-radius: 22px; align-content: center; }
  .scard h3 { font-size: clamp(1.5rem, 7vw, 2rem); margin: 6px 0 8px; }
  .scard__copy > p:not(.scard__n) { font-size: 0.88rem; line-height: 1.45; }
  .scard__tags { display: none; }
  .scard__ui { min-height: 0; max-height: 170px; padding: 14px; gap: 8px; }
  .scard__ui--voice .wave { height: 46px; }
  .bub { padding: 7px 11px; font-size: 0.76rem; }
  .node { padding: 8px 12px; font-size: 0.78rem; }
  .wire { width: 14px; }
  .scard__ui--int span { padding: 8px 14px; font-size: 0.8rem; }

  /* call */
  .is-anim .call__pin { padding: 66px 16px 14px; }
  .is-anim .call__copy .h2 { font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
  .is-anim .phone { width: min(300px, 74vw); height: min(520px, 68svh); }

  /* process */
  .is-anim .hz__head { padding: 0 16px; margin-bottom: 18px; }
  .is-anim .hz__track { padding-left: 16px; gap: 14px; }
  .is-anim .step { width: 78vw; min-height: 250px; padding: 22px; }
  .step__n { font-size: 3.6rem; }
  .is-anim .hz__bar { margin: 22px 16px 0; }

  /* day: both columns side by side, compact */
  .day__cols { grid-template-columns: 1fr 1fr; gap: 8px; }
  .is-anim .day__col--bad { display: block; }
  .is-anim .day__pin { padding: 70px 14px 16px; }
  .day__label { font-size: 0.6rem; letter-spacing: 0.1em; margin-bottom: 8px; }
  .day__col ul { gap: 6px; }
  .day__col li { flex-wrap: wrap; gap: 2px 6px; padding: 8px 9px; font-size: 0.7rem; border-radius: 11px; position: relative; padding-right: 22px; }
  .day__col time { width: auto; font-size: 0.6rem; flex-basis: 100%; }
  .day__col li em { position: absolute; right: 7px; top: 8px; margin: 0; font-size: 0; }
  .day__col--bad li.is-on em::before { content: "✕"; font-size: 0.8rem; }
  .day__col--good li.is-on em::before { content: "✓"; font-size: 0.85rem; }
  .day__clock strong { font-size: 2.3rem; }
  .day__foot { font-size: 0.9rem; margin-top: 10px; }

  /* tunnel */
  .is-anim .tunnel__title .h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .is-anim .tcd { padding: 20px; border-radius: 20px; }
  .tcd h3 { font-size: 1.35rem; }
  .is-anim .tunnel__count { right: 16px; bottom: 90px; }

  .metrics__grid { gap: 18px; }
  .band__row { font-size: clamp(2.4rem, 13vw, 4rem); }
  .cta__btns .btn { width: 100%; max-width: 340px; }
  .foot { padding-bottom: 100px; justify-content: center; text-align: center; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 1.9rem; }
  .is-anim .phone { height: min(470px, 66svh); }
}

@media (max-width: 900px) {
  .phone__chat { overflow: hidden; gap: 6px; padding-bottom: 4px; }
  .msg { padding: 7px 11px; font-size: 0.72rem; line-height: 1.35; border-radius: 13px; }
  .msg--sms { font-size: 0.68rem; }
  .msg--sms b { font-size: 0.56rem; }
  .phone__wave { height: 28px; }
  .phone__head { margin-top: 26px; padding: 8px 12px; }
  .is-anim .phone { height: min(560px, 72svh); }
  .is-anim .stack__head { margin-bottom: 28px; }
}

/* ── real-phone pass: shorter screens, edge-to-edge cards ───── */
@media (max-width: 900px) {
  /* hero cards stay inside the screen */
  .tcard { min-width: 0; max-width: 62vw; width: max-content; }
  .tcard strong { white-space: nowrap; }
  .is-anim .stack__head { margin-bottom: 38px; }
  .is-anim .stack__head .h2 { margin-top: 4px; }
  /* the site-wide Book a Call button becomes a small round icon here so it
     stops covering the animated content */
  .bookcall { left: 14px !important; bottom: 14px !important; padding: 12px !important; }
  .bookcall span { display: none; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .hero { min-height: 0; padding-top: 70px; }
  .hero__title { font-size: clamp(1.8rem, 8.6vw, 2.3rem); margin: 10px 0 8px; }
  .hero__sub { font-size: 0.86rem; }
  .hero__ctas { margin-top: 12px; }
  .is-anim .scard__ui { max-height: 120px; }
  .is-anim .scard { padding: 16px; }
  .is-anim .phone { height: min(500px, 70svh); }
}
@media (max-width: 900px) {
  .tcard--1 { left: 3%; }
  .tcard--2 { right: 3%; }
  .tcard--3 { left: 3%; }
  .tcard--4 { right: 3%; }
  .tcard--5 { left: 14%; }
}

/* ── mobile hero cluster: 4 cards in a clean zigzag around the 3D stack ── */
@media (max-width: 900px) {
  .cluster { margin-top: 4px; }
  .tcard { transform: translateZ(0); }
  .tcard--1 { left: 2%; right: auto; top: 0; bottom: auto; }
  .tcard--2 { right: 2%; left: auto; top: 17%; bottom: auto; }
  .tcard--3 { left: 2%; right: auto; top: auto; bottom: 17%; }
  .tcard--4 { right: 2%; left: auto; top: auto; bottom: 0; }
  .tcard--5 { display: none; }
  .slabs { top: 50%; width: 66%; }
  .slab { font-size: 0.72rem; gap: 8px; }
  .slab i { width: 9px; height: 9px; }
  .cluster__orb { width: 110%; top: 50%; }
}
@media (max-width: 900px) {
  /* the hero grid centres its items, which collapsed the cluster to 0 height */
  .cluster { align-self: stretch; }
}
@media (max-width: 900px) {
  .cluster { margin-top: 16px; }
  .tcard { transform: translateZ(220px); } /* cards sit in front of the slab stack */
}
@media (max-width: 900px) {
  .tcard { transform: translateZ(100px); }
  .tcard--1, .tcard--3 { left: 6%; }
  .tcard--2, .tcard--4 { right: 6%; }
  .cluster { margin-top: 22px; }
}
