/* ============================================================
   RVAI —
   Stark editorial layout · dark navy ink · sky-cyan accent
   ============================================================ */

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

:root {
  /* Palette */
  --ink:        #0d1b29;   /* deep navy — dark sections, buttons, headings */
  --ink-2:      #122436;   /* slightly lifted navy for cards on dark */
  --paper:      #f4f3ef;   /* warm off-white page background */
  --white:      #ffffff;
  --accent:     #45c4ff;   /* sky cyan — used sparingly (dark backgrounds only) */
  --accent-deep: #0b76b8;  /* darker cyan — accessible on white/light backgrounds */

  --t-on-light:       #0d1b29;
  --t-on-light-soft:  rgba(13,27,41,0.66);
  --t-on-light-mute:  rgba(13,27,41,0.45);
  --t-on-dark:        #f4f3ef;
  --t-on-dark-soft:   rgba(244,243,239,0.72);
  --t-on-dark-mute:   rgba(244,243,239,0.45);

  --line-light: rgba(13,27,41,0.14);
  --line-dark:  rgba(244,243,239,0.16);

  /* Type */
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --maxw: 1320px;
  --pad: 40px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--t-on-light);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Keyboard focus (WCAG 2.4.7) ---------- */
/* --accent-deep holds >= 3:1 contrast against both the paper and ink backgrounds */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Skip link (WCAG 2.4.1) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  padding: 12px 20px;
  background: var(--ink); color: var(--white);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
}
.skip-link:focus {
  left: 12px; top: 12px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Mono label ---------- */
.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Display type ---------- */
.display-xl {
  font-weight: 600;
  font-size: clamp(56px, 10.5vw, 160px);
  line-height: 0.94;
  letter-spacing: -0.04em;
}
.display-lg {
  font-weight: 600;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.display-md {
  font-weight: 600;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.accent { color: var(--accent); }
.lite { font-weight: 300; }
.hero-title h1 .lite, .intro-title .lite { font-size: 0.58em; font-weight: 400; }

/* ---------- Two-tone outline type  ---------- */
.outline-ink, .outline-paper { color: transparent; }
.outline-ink   { -webkit-text-stroke: 1.5px var(--ink); }
.outline-paper { -webkit-text-stroke: 1.5px rgba(244,243,239,0.85); }
@supports not (-webkit-text-stroke: 1px black) {
  .outline-ink { color: var(--t-on-light-mute); }
  .outline-paper { color: var(--t-on-dark-mute); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 6px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #1b3349; transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--accent); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border: 1px solid var(--line-dark); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* arrow square */
.arrow-sq {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--white); color: var(--ink);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.bar {
  background: var(--ink);
  color: var(--t-on-dark);
  text-align: center;
  padding: 6px 16px;
  position: relative; z-index: 1100;
}
.bar a {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.bar a span { color: var(--accent); }
.bar a:hover span { text-decoration: underline; }
@media (max-width: 600px) { .bar .bar-lead { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--paper);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav.scrolled { background: rgba(244,243,239,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-light); }

.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name {
  font-weight: 700; font-size: 21px; letter-spacing: -0.02em;
}
.brand-logo { height: 30px; width: auto; display: block; }
.footer .brand-logo { height: 26px; }
/* text wordmark logo (RVAI + TM) — inherits color from its context */
.brand-wordmark {
  display: inline-flex; align-items: flex-start;
  font-family: var(--sans); font-weight: 800;
  font-size: 23px; line-height: 1; letter-spacing: -0.07em;
  color: currentColor; white-space: nowrap;
}
.brand-wordmark .tm {
  font-size: 0.34em; font-weight: 600; letter-spacing: 0;
  margin-left: 0.1em; margin-top: 0.1em;
}
.footer .brand-wordmark { font-size: 27px; }
.intro-logo-top.brand-wordmark { height: auto; font-size: clamp(22px, 3vw, 32px); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: .8; transition: opacity .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 10px 18px; }

/* dark variant (over hero imagery) */
.nav.over-image {
  position: sticky;
  top: 0;
  /* pull the hero up behind the transparent nav so the hero image sits
     directly under the announcement bar; matches the nav's own height */
  margin-bottom: -59px;
  background: transparent;
  box-shadow: none;
  color: var(--white);
}
.nav.over-image.scrolled { background: rgba(13,27,41,0.9); box-shadow: 0 1px 0 var(--line-dark); color: var(--white); }
/* home nav uses the same slim height as the interior pages */
.nav.over-image .nav-inner { padding-top: 10px; padding-bottom: 10px; transition: padding .35s var(--ease); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 1300;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 0 9vw; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.drawer.open { opacity: 1; pointer-events: all; }
.drawer a:not(.btn) { font-weight: 600; font-size: clamp(34px, 8vw, 54px); letter-spacing: -0.03em; line-height: 1.15; }
.drawer a:not(.btn):hover { color: var(--accent); }
.drawer .mono-label { margin-bottom: 22px; color: var(--t-on-dark-mute); }
.drawer-close { position: absolute; top: 24px; right: 28px; font-size: 34px; line-height: 1; color: var(--t-on-dark-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
video.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,27,41,0.42) 0%, rgba(13,27,41,0.08) 40%, rgba(13,27,41,0.55) 100%);
}
.hero-kicker {
  position: absolute; top: 130px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,0.85);
  padding: 0 var(--pad);
}

.hero-title {
  text-align: left;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto 6vh;
  padding: 0 var(--pad);
}
.hero-title h1 {
  font-weight: 600;
  font-size: clamp(28px, 7.3vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.hero-title h1 .t-line { display: block; }
.hero-subcopy {
  max-width: min(690px, 56vw);
  margin-top: clamp(14px, 1.45vw, 22px);
  font-size: clamp(13px, 1.08vw, 18px);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 16px rgba(0,0,0,0.38);
}

.hero-strip {
  border-top: 1px solid rgba(255,255,255,0.25);
  background: rgba(13,27,41,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-strip-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.hero-strip .mono-label { font-size: 12.5px; color: rgba(255,255,255,0.9); }
.hero-strip .scroll-hint { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.hero-strip .marquee { flex: 1; min-width: 0; }

/* ============================================================
   MARQUEE (scrolling type)
   ============================================================ */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: marqueeX var(--mq-dur, 30s) linear infinite;
}
.marquee-track > * { flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeX { to { transform: translateX(-50%); } }

/* small mono marquee (hero strip) */
.mq-mono { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; }
.mq-mono .mq-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* technology partners marquee */
.partners-label { display: block; text-align: center; margin-bottom: 30px; color: var(--t-on-light-mute); }
.partners-row { display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; }
.partners-row .partner {
  font-weight: 600; font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.025em; color: var(--t-on-light); opacity: 0.5;
}
.partners-row .partner-logo {
  width: clamp(118px, 12vw, 156px);
  height: clamp(90px, 9vw, 118px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.68;
}
.partners-row .partner-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.partners-row .partner-logo-gemini img,
.partners-row .partner-logo-heygen img {
  width: auto;
  height: clamp(34px, 3.1vw, 42px);
  max-width: 100%;
}
.partners-row .partner-logo-gemini img {
  transform: translateY(-4px);
}
.partners-row .mq-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ============================================================
   WHO IS RVAI — pinned scroll section
   ============================================================ */
.who-sec { position: relative; height: 280vh; background: var(--ink); color: var(--t-on-dark); }
.who-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(150px, 20vh, 220px) 24px 32vh; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #15314a 0%, var(--ink) 55%),
    var(--ink);
}

/* ---- cinematic atmosphere layer ---- */
.who-atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.who-atmos > * { position: absolute; }
/* faint technical grid that recedes like a floor toward the horizon —
   lives in the lower band and fades out well before the text */
.who-grid {
  left: -25%; right: -25%; bottom: 0; height: 55%;
  background-image:
    linear-gradient(to right, rgba(244,243,239,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,243,239,0.06) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 88%);
          mask-image: linear-gradient(to top, #000 0%, transparent 88%);
  transform: perspective(680px) rotateX(73deg);
  transform-origin: bottom center;
  opacity: 0.4;
}
/* drifting cyan auroras — soft circular blooms that light the lines from within.
   gradient fades fully to transparent inside the box, so no square edge can show */
.who-glow {
  width: 90vw; height: 90vw; max-width: 1000px; max-height: 1000px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
}
.who-glow-1 {
  top: 50%; left: 50%; margin: -45vw 0 0 -45vw;
  background: radial-gradient(closest-side, rgba(69,196,255,0.30) 0%, rgba(69,196,255,0.12) 38%, transparent 70%);
  animation: whoFloat1 17s ease-in-out infinite;
}
.who-glow-2 {
  bottom: -8%; left: 50%; margin-left: -32vw;
  width: 64vw; height: 64vw;
  background: radial-gradient(closest-side, rgba(69,196,255,0.16) 0%, transparent 68%);
  animation: whoFloat2 21s ease-in-out infinite;
}
@keyframes whoFloat1 {
  0%, 100% { transform: translate(-6%, 0) scale(1); }
  50%      { transform: translate(8%, -4%) scale(1.12); }
}
@keyframes whoFloat2 {
  0%, 100% { transform: translate(4%, 2%) scale(1.05); }
  50%      { transform: translate(-8%, -3%) scale(0.92); }
}
/* depth vignette to focus the eye on the centre lines */
.who-vignette {
  inset: 0;
  background: radial-gradient(120% 85% at 50% 45%, transparent 42%, rgba(5,12,20,0.55) 100%);
}

.who-counter, .who-lines, .who-bottom { position: relative; z-index: 2; }
.who-counter {
  position: absolute; top: clamp(100px, 13vh, 140px); left: 50%; transform: translateX(-50%);
  color: var(--t-on-dark-mute); font-size: 12px;
}
.who-counter #whoCount { color: var(--t-on-dark); }
.who-lines { display: flex; flex-direction: column; gap: clamp(20px, 5vh, 54px); }
.who-line {
  display: block;
  position: relative;
  font-weight: 600;
  font-size: clamp(22px, min(3.5vw, 5.2vh), 48px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
/* line states: white (active) / light (shoulder) / full (dim) */
.who-line .wl-base { color: rgba(244,243,239,0.16); transition: color .45s var(--ease), text-shadow .45s var(--ease); }
.who-line.is-white .wl-base { color: var(--white); text-shadow: 0 0 38px rgba(69,196,255,0.45), 0 0 80px rgba(69,196,255,0.22); }
.who-line.is-light .wl-base { color: rgba(244,243,239,0.45); }
.who-line.is-full  .wl-base { color: rgba(244,243,239,0.16); }

/* activation pulse: light blue sweeps in from the left, then washes out to white.
   NOTE: no text-shadow here — this layer is clipped with clip-path, which would
   crop any glow into a rectangle. The glyph-shaped glow lives on .wl-base.is-white. */
.who-line .wl-fill {
  position: absolute; inset: 0;
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.who-line .wl-fill.pulse { animation: wlPulse 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes wlPulse {
  0%   { clip-path: inset(0 100% 0 0); opacity: 1; }
  55%  { clip-path: inset(0 0% 0 0);   opacity: 1; }
  100% { clip-path: inset(0 0% 0 0);   opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .who-glow-1, .who-glow-2 { animation: none; }
}
.who-bottom {
  position: absolute; bottom: 52px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 0 24px;
}
.who-desc {
  width: min(720px, 90vw);
  min-height: 80px;
  font-size: 15px; line-height: 1.7;
  color: var(--t-on-dark-soft);
  transition: opacity .3s var(--ease);
}

/* ============================================================
   SCRUB TITLE — words tint from grey to navy on scroll
   ============================================================ */
.scrub-sec {
  padding: 150px 0;
  background: var(--paper);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.scrub-title {
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}
.scrub-title .w { color: rgba(13,27,41,0.12); }
/* each sentence on its own line — far easier to read than one run-on line */
.scrub-title .scrub-phrase {
  display: block;
  color: rgba(13,27,41,0.12);
}
.scrub-title .scrub-phrase + .scrub-phrase { margin-top: 0.14em; }
/* cinematic cyan punctuation that anchors the rhythm of each line */
.scrub-title .dot { color: var(--accent); }

/* ============================================================
   CARDS SECTION — sticky title, cards scroll past 
   ============================================================ */
.cards-sec {
  position: relative;
  z-index: 0;                 /* contain the pinned heading in its own layer */
  background: var(--ink); color: var(--t-on-dark);
  padding: 0 0 24vh;
}
/* the next section must paint above the pinned heading so it isn't seen
   through once the cards section scrolls away */
.cards-sec + .sec { position: relative; z-index: 1; }
/* full-height pinned panel that vertically centres the heading and stays
   inside the section (no transform overflow into the section above) */
.cards-head {
  position: sticky; top: 0;
  height: 100vh;
  margin-bottom: -100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; z-index: 1;
  pointer-events: none;
  padding: 0 20px;
}
/* stack each word on its own row down the centre so the cards (which sit to
   the left/right) scroll past without covering the heading */
.cards-title { display: flex; flex-direction: column; align-items: center; gap: 0.02em; }
.cards-title .ct-w { display: block; }
.cards-head .mono-label { display: block; margin-bottom: 22px; color: var(--t-on-dark-mute); }
.cards-head .mono-label #cardCount { color: var(--accent); }
.cards-flow {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  gap: 16vh;
  padding-top: 64vh;
}
.s-card {
  width: min(380px, 100%);
  background: var(--paper); color: var(--t-on-light);
  border-radius: 12px;
  padding: 26px 26px 24px;
  box-shadow: 0 40px 90px -25px rgba(0, 0, 0, 0.6);
}
.s-card:nth-child(odd) { align-self: flex-start; }
.s-card:nth-child(even) { align-self: flex-end; }
.s-card .mono-label { display: block; color: var(--t-on-light-mute); margin-bottom: 16px; font-size: 10.5px; }
.s-card h3 { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 12px; }
.s-card p { font-size: 14.5px; line-height: 1.65; color: var(--t-on-light-soft); margin-bottom: 22px; }
.s-card .s-img { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.s-card .s-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Horizontal reveals ---------- */
.reveal-l, .reveal-r { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-l { transform: translateX(-48px); }
.reveal-r { transform: translateX(48px); }
.reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: 120px 0; }
.sec-dark { background: var(--ink); color: var(--t-on-dark); }
.sec-light { background: var(--paper); color: var(--t-on-light); }
.sec-white { background: var(--white); color: var(--t-on-light); }

.sec-head { margin-bottom: 70px; }
.sec-head .mono-label { display: block; margin-bottom: 26px; opacity: .55; }
.sec-head p.lede {
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 620px;
  color: var(--t-on-light-soft);
  line-height: 1.7;
}
.sec-dark .sec-head p.lede { color: var(--t-on-dark-soft); }

/* ---------- Intro statement ---------- */
.intro-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end;
}
.intro-grid p {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: var(--t-on-light-soft);
}
.stat-row {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}
.stat-cell { padding: 34px 28px 6px; border-left: 1px solid var(--line-light); }
.stat-cell:first-child { border-left: none; padding-left: 0; }
.stat-cell .stat-num {
  font-weight: 600; font-size: clamp(44px, 5vw, 72px); letter-spacing: -0.04em; line-height: 1;
}
.stat-cell .stat-num .small { font-size: 0.38em; font-weight: 500; letter-spacing: 0; }
.stat-cell .mono-label { display: block; margin-top: 14px; opacity: .5; font-size: 11px; }
/* phrase stat: big animated word + small unit, matches the counters */
.stat-cell .stat-num-phrase { display: inline-flex; align-items: baseline; white-space: nowrap; }
.stat-cell .stat-num-phrase .small { line-height: 1; }
.ph-rise { display: inline-block; overflow: hidden; }
.ph-rise .ph-char { display: inline-block; }
.ph-rise .ph-char > span {
  display: inline-block; transform: translateY(110%);
  transition: transform .6s var(--ease);
}
.ph-rise.in .ph-char > span { transform: translateY(0); }
.ph-rise .ph-space { display: inline-block; width: 0.28em; }

/* ---------- Partnership lockup (Microsoft for Startups + RVAI) ---------- */
.partner-lockup {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(22px, 4vw, 52px); text-decoration: none;
  transition: opacity .3s var(--ease);
}
.partner-lockup:hover { opacity: 0.72; }
.partner-lockup .lockup-logo { width: auto; }
.partner-lockup .lockup-ms { height: clamp(64px, 7.6vw, 100px); }
.partner-lockup .lockup-rvai { height: clamp(72px, 8.5vw, 112px); }
.partner-lockup .lockup-plus {
  font-family: var(--mono); font-weight: 400; line-height: 1;
  font-size: clamp(26px, 3.2vw, 40px); color: var(--accent);
  text-shadow: 0 0 24px rgba(69,196,255,0.45);
}

/* ---------- Microsoft for Startups recognition (cinematic) ---------- */
.recognition {
  position: relative; overflow: hidden; text-align: center;
  background: var(--white); color: var(--t-on-light);
  padding: clamp(84px, 14vh, 150px) 0;
}
.recognition .wrap { position: relative; z-index: 2; }
.recognition .cs-glow {
  position: absolute; z-index: 0;
  top: 50%; left: 50%;
  width: 80vw; height: 80vw; max-width: 880px; max-height: 880px;
  margin: -40vw 0 0 -40vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(69,196,255,0.20) 0%, rgba(69,196,255,0.07) 42%, transparent 70%);
  filter: blur(90px); animation: csGlow 9s ease-in-out infinite; pointer-events: none;
}
.recognition .cs-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(13,27,41,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,27,41,0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(70% 62% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
}
.recognition-eyebrow { display: block; color: var(--t-on-light-mute); margin-bottom: 22px; }
.recognition-title {
  font-weight: 600; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.06;
  letter-spacing: -0.035em; color: var(--ink); max-width: 18ch; margin: 0 auto;
}
/* on the white recognition panel the sky cyan fails contrast — use the deep accent */
.recognition-title .accent { color: var(--accent-deep); text-shadow: 0 0 26px rgba(69,196,255,0.28); }
.recognition .partner-lockup { margin-top: clamp(40px, 6vw, 68px); }
.recognition-cue {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 30px; color: var(--t-on-light-mute); text-decoration: none;
  transition: color .3s var(--ease);
}
.recognition-cue:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .recognition .cs-glow { animation: none; }
}

/* ---------- Newsroom article ---------- */
.article-date { display: block; margin-top: 18px; opacity: .55; }
.article-hero-media {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line-light); border-radius: 14px;
  padding: clamp(26px, 4vw, 48px); margin-bottom: 48px;
}
@media (min-width: 900px) { .article-hero-media { padding: 24px; } }
.article-body { max-width: 720px; margin: 0 auto; text-align: center; }
.article-body p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; color: var(--t-on-light-soft); margin-bottom: 24px; }
.article-body p a {
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--accent); transition: color .3s var(--ease);
}
.article-body p a:hover { color: var(--accent); }
.article-quote {
  margin: 40px auto; max-width: 640px;
  font-size: clamp(20px, 2.2vw, 27px); line-height: 1.5; font-weight: 500;
  color: var(--t-on-light); letter-spacing: -0.01em;
}
.article-quote cite {
  display: block; margin-top: 16px; font-style: normal;
  font-family: var(--mono); font-size: 12px; color: var(--t-on-light-mute);
}
.article-back { margin-top: 16px; }

/* ---------- Pillars (Roam farther / Stay longer / Enjoy more) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: var(--ink-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pillar-img { aspect-ratio: 4 / 3; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.05); }
.pillar-body { padding: 32px 30px 38px; flex: 1; display: flex; flex-direction: column; }
.pillar-body .mono-label { color: var(--accent); margin-bottom: 18px; font-size: 11px; }
.pillar-body h3 { font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.025em; margin-bottom: 14px; }
.pillar-body p { font-size: 15px; line-height: 1.7; color: var(--t-on-dark-soft); }

/* ---------- Tabbed features (Beyond electric) ---------- */
.tabs-layout { display: grid; grid-template-columns: 1fr 1.45fr; gap: 70px; align-items: start; }
.tab-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); position: sticky; top: 110px; }
.tab-item {
  display: flex; align-items: baseline; gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-dark);
  text-align: left;
  transition: color .25s, opacity .25s;
  opacity: .45;
}
.tab-item:hover { opacity: .8; }
.tab-item.active { opacity: 1; }
.tab-item .t-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.tab-item .t-title { font-weight: 600; font-size: clamp(20px, 1.8vw, 27px); letter-spacing: -0.02em; }
.tab-item.active .t-num { color: var(--accent); }

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tab-panel .panel-img {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 36px;
}
.tab-panel .panel-img img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel h3 { font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.025em; margin-bottom: 16px; }
.tab-panel p { font-size: 16px; line-height: 1.75; color: var(--t-on-dark-soft); max-width: 560px; }

/* ---------- Data trio ---------- */
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.data-col { padding: 44px 36px 10px; border-left: 1px solid var(--line-light); }
.data-col:first-child { border-left: none; padding-left: 0; }
.data-col .mono-label { display: block; color: var(--t-on-light-mute); margin-bottom: 24px; font-size: 11px; }
.data-col h3 { font-weight: 600; font-size: clamp(21px, 1.9vw, 28px); letter-spacing: -0.02em; margin-bottom: 14px; }
.data-col p { font-size: 15px; line-height: 1.7; color: var(--t-on-light-soft); }

/* ---------- Quotes (In the news style) ---------- */
.quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-card {
  background: var(--ink-2); border-radius: var(--radius);
  padding: 44px 40px 36px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 44px;
}
.quote-card blockquote {
  font-weight: 500;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.35; letter-spacing: -0.02em;
}
.quote-meta { display: flex; gap: 48px; border-top: 1px solid var(--line-dark); padding-top: 22px; }
.quote-meta .m-block .mono-label { display: block; font-size: 10px; opacity: .45; margin-bottom: 7px; }
.quote-meta .m-block .m-val { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Video banner ---------- */
.video-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 480px; display: flex; align-items: flex-end;
  color: var(--white); isolation: isolate; background: var(--white);
}
.video-banner .vb-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
/* clip-path forces the video off the hardware (DirectComposition) overlay plane and
   into a normal composited layer, which removes the 1px dark overlay seam at the
   right edge on Windows/Chrome; the 1px inset also physically trims that edge column. */
.video-banner .vb-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: var(--white); transform-origin: center center; clip-path: inset(0 1px); backface-visibility: hidden; }
.video-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,27,41,0.1), rgba(13,27,41,0.72)); }
.video-banner::after, .video-banner .vb-inner { transition: opacity .4s var(--ease); }
.video-banner.is-playing::after { opacity: 0; pointer-events: none; }
.video-banner.is-playing .vb-inner { opacity: 0; pointer-events: none; }
.video-banner.is-playing .vb-video { z-index: 2; }
.video-banner.is-contained::before {
  content: ''; position: absolute; top: 0; bottom: 0;
  left: calc(50% + (var(--vb-frame-w, 0px) / 2) - 3px);
  width: 6px; background: var(--white); z-index: 3; pointer-events: none;
}
.vb-inner { padding: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; width: 100%; flex-wrap: wrap; }
.vb-inner h3 { font-weight: 600; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.03em; max-width: 560px; }
.vb-inner .mono-label { display: block; margin-bottom: 18px; color: var(--accent); }
.play-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
}
.play-btn .play-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.play-btn:hover .play-circle { transform: scale(1.08); background: var(--accent); }

/* custom playback controls */
.vb-toggle, .vb-sound {
  position: absolute; z-index: 4; border: 0; cursor: pointer; padding: 0;
  color: var(--ink); background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.vb-toggle {
  top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
  width: 76px; height: 76px; border-radius: 50%;
  box-shadow: 0 8px 30px rgba(13,27,41,0.28);
}
.vb-sound {
  right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(13,27,41,0.22);
}
.vb-toggle:hover, .vb-sound:hover, .vb-cc:hover { background: var(--accent); }
/* center button: shown while paused, or briefly after interaction */
.video-banner.is-playing.is-paused .vb-toggle,
.video-banner.is-playing.controls-visible .vb-toggle {
  opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1);
}
/* sound + captions buttons: visible whenever a playback session is active */
.video-banner.is-playing .vb-sound,
.video-banner.is-playing .vb-cc { opacity: 1; pointer-events: auto; }
/* captions toggle */
.vb-cc {
  position: absolute; z-index: 4; border: 0; cursor: pointer; padding: 0;
  right: 80px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  color: var(--ink); background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 20px rgba(13,27,41,0.22);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), background .3s var(--ease);
}
.video-banner.cc-on .vb-cc { background: var(--ink); color: var(--white); box-shadow: 0 0 0 2px var(--accent); }
/* icon swaps driven by state classes */
.vb-ic-pause, .vb-ic-off { display: none; }
.video-banner.is-paused .vb-ic-play { display: block; }
.video-banner.is-paused .vb-ic-pause { display: none; }
.video-banner:not(.is-paused) .vb-ic-play { display: none; }
.video-banner:not(.is-paused) .vb-ic-pause { display: block; }
.video-banner.vb-muted .vb-ic-on { display: none; }
.video-banner.vb-muted .vb-ic-off { display: block; }
/* cursor feedback for click-to-pause on the video itself */
.video-banner.is-playing .vb-video { cursor: pointer; }

/* ---------- CTA cards (Preorder / Calculator) ---------- */
.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cta-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); isolation: isolate;
}
.cta-card .cc-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.cta-card:hover .cc-bg { transform: scale(1.04); }
.cta-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,27,41,0.05), rgba(13,27,41,0.7)); }
.cc-inner { padding: 38px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.cc-inner h3 { font-weight: 600; font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -0.035em; line-height: 1; margin-bottom: 12px; }
.cc-inner .mono-label { font-size: 12px; color: rgba(255,255,255,0.85); }
.cta-card:hover .arrow-sq { background: var(--accent); transform: translate(3px, -3px); }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero { padding: 64px 0 56px; }
.page-hero .mono-label { display: block; margin-bottom: 28px; opacity: .55; }
.page-hero p.lede { margin-top: 30px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7; max-width: 640px; color: var(--t-on-light-soft); }
.contact-hero { padding: 28px 0 22px; }
.contact-hero .mono-label { margin-bottom: 14px; }
.contact-hero .display-xl { font-size: clamp(48px, 6.2vw, 82px); line-height: 0.96; }
.contact-hero p.lede { margin-top: 14px; max-width: 720px; line-height: 1.4; }
.contact-section { padding-top: 28px; }

/* ---------- FAQ ---------- */
.faq-hero p.lede { max-width: 760px; }
.faq-section { padding-top: 46px; }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.7fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: 110px;
  border-top: 1px solid var(--line-light);
  padding-top: 26px;
}
.faq-aside .mono-label { display: block; color: var(--t-on-light-mute); margin-bottom: 18px; }
.faq-aside p { font-size: 16px; line-height: 1.7; color: var(--t-on-light-soft); margin-bottom: 24px; }
.faq-list {
  border-top: 1px solid var(--line-light);
}
.faq-group-label {
  display: block;
  color: var(--t-on-light-mute);
  padding: clamp(44px, 5.6vw, 72px) 0 16px;
}
.faq-list .faq-group-label:first-child {
  padding-top: 28px;
}
.faq-item {
  border-bottom: 1px solid var(--line-light);
}
.faq-item h2 {
  margin: 0;
}
.faq-question {
  width: 100%;
  min-height: 84px;
  padding: clamp(24px, 3.4vw, 42px) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  color: var(--t-on-light);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}
.faq-question span:first-child {
  max-width: 760px;
}
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.faq-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border: 1px solid rgba(13,27,41,.22);
  border-radius: 50%;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .22s var(--ease);
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.is-open .faq-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-answer {
  padding: 0 0 clamp(30px, 4.2vw, 48px);
}
.faq-answer[hidden] {
  display: none;
}
.faq-item p {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.78;
  color: var(--t-on-light-soft);
  max-width: 760px;
}
.faq-item p + p { margin-top: 14px; }
.faq-cta { padding: clamp(70px, 10vw, 120px) 0; }
.faq-cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line-light);
  padding-top: clamp(34px, 5vw, 58px);
}
.faq-cta-inner .mono-label { display: block; color: var(--t-on-light-mute); margin-bottom: 18px; }
.faq-cta-inner h2 {
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 720px;
}

/* ---------- Policy / terms ---------- */
.policy-hero p.lede { max-width: 760px; }
.policy-section { padding-top: 46px; }
.policy-body {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
}
.policy-body section {
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line-light);
}
.policy-body h2 {
  font-weight: 600;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.policy-body p {
  font-size: clamp(15.5px, 1.25vw, 17px);
  line-height: 1.78;
  color: var(--t-on-light-soft);
}
.policy-body p + p { margin-top: 13px; }
.policy-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}
.policy-body a:hover { color: var(--accent); }

/* ---------- Solution detail rows ---------- */
.sol-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  padding: 90px 0; border-top: 1px solid var(--line-light);
}
.sol-row:first-of-type { border-top: none; }
.sol-row .sol-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.sol-row .sol-img img { width: 100%; height: 100%; object-fit: cover; }
.sol-row.flip .sol-img { order: 2; }
.sol-row .mono-label { display: block; color: var(--t-on-light-mute); margin-bottom: 20px; }
.sol-row h2 { font-weight: 600; font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -0.03em; margin-bottom: 4px; }
.sol-row .sol-subtitle {
  margin: -4px 0 18px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--t-on-light-soft);
}
.sol-row p { font-size: 16px; line-height: 1.75; color: var(--t-on-light-soft); max-width: 520px; }
.sol-row ul { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; list-style: none; }
.sol-row li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--t-on-light-soft); line-height: 1.55;
}
.sol-row li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 7px;
}
/* mobile: smaller solution images so text leads each row */
@media (max-width: 760px) {
  .sol-row .sol-img {
    aspect-ratio: 5 / 2;
    width: 88%;
    margin-inline: auto;
  }
}

/* ---------- Numbered editorial list (Why RVAI) ---------- */
.num-list { border-top: 1px solid var(--line-dark); }
.num-row {
  display: grid; grid-template-columns: 110px 1fr 1.3fr; gap: 40px;
  padding: 44px 0; border-bottom: 1px solid var(--line-dark);
}
.num-row .n { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; padding-top: 6px; }
.num-row h3 { font-weight: 600; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.025em; line-height: 1.15; }
.num-row p { font-size: 15.5px; line-height: 1.75; color: var(--t-on-dark-soft); }
.sec-light .num-list { border-color: var(--line-light); }
.sec-light .num-row { border-color: var(--line-light); }
.sec-light .num-row p { color: var(--t-on-light-soft); }

/* ---------- Contact / demo form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: 56px; align-items: start; }
.contact-info .mono-label { display: block; color: var(--t-on-light-mute); margin-bottom: 10px; font-size: 11px; }
.contact-info .info-block { padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.contact-info .info-block a, .contact-info .info-block span { font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.contact-info .info-block a:hover { color: var(--accent); }

.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form .field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.form .field.full { grid-column: 1 / -1; }
.form .field.field-role { grid-column: 1 / 2; }
.form .field.field-message { grid-column: 2 / 3; }
.form .field.field-actions {
  grid-column: 2 / 3;
  align-self: end;
}
.form label { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-on-light-mute); }
.form input, .form select, .form textarea {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px; color: var(--t-on-light);
  transition: border-color .25s;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.form textarea { min-height: 104px; resize: vertical; }
.form .btn { justify-content: center; }
.form-note { font-size: 12px; color: var(--t-on-light-mute); margin-top: 4px; line-height: 1.35; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--t-on-dark); padding: 100px 0 36px; }
.footer-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; padding-bottom: 80px; border-bottom: 1px solid var(--line-dark); }
.footer-cta h2 { font-weight: 600; font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1; }
.subscribe { display: flex; gap: 12px; flex-wrap: wrap; }
.subscribe-note { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--t-on-dark-soft); margin: 2px 0 0; }
.subscribe-note:empty { display: none; }
.subscribe input {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark); border-radius: 6px;
  padding: 16px 18px; color: var(--white); font-size: 14px;
}
.subscribe input::placeholder { color: var(--t-on-dark-mute); }
.subscribe input:focus { outline: none; border-color: var(--accent); }
.subscribe input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.footer-mid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding: 70px 0; }
.footer-tag { margin-top: 20px; font-size: 14.5px; line-height: 1.7; color: var(--t-on-dark-mute); max-width: 300px; }
.footer-col h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-on-dark-mute); margin-bottom: 22px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 15px; color: var(--t-on-dark-soft); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-bottom span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-on-dark-mute); }

/* ============================================================
   ASK PILL (sticky)
   ============================================================ */
.ask-pill {
  position: fixed; bottom: 26px; right: 26px; z-index: 1200;
  display: none; align-items: center; gap: 12px;
  background: var(--ink); color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 10px 24px 10px 10px;
  font-size: 15px; font-weight: 500;
  box-shadow: 0 12px 40px -10px rgba(13,27,41,0.55);
  transition: transform .3s var(--ease);
}
.ask-pill:hover { transform: translateY(-3px); }
.ask-pill .ap-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   INTRO OVERLAY (home page opening animation)
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: transform .7s cubic-bezier(0.76, 0, 0.24, 1);
  cursor: pointer;
}
.intro.done { transform: translateY(-100%); }
html.intro-lock, body.intro-lock { overflow: hidden; touch-action: none; }

/* --- top logo: revealed at the end of the sequence --- */
.intro-logo-top {
  position: absolute; top: 44px; left: 50%;
  height: clamp(22px, 3vw, 32px); width: auto;
  z-index: 3;
  opacity: 0;
  transform: translateX(-50%) translateY(-14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.intro-logo-top.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* --- left-aligned slot stage --- */
.intro-stage {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-left: max(40px, 7vw); padding-right: 24px;
}
.intro-slot-line {
  font-weight: 600;
  font-size: clamp(21px, 5.8vw, 92px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.intro-slot-line .lite { font-size: 0.58em; font-weight: 400; }
.intro-slot-line .i-mask { display: block; overflow: hidden; }
.intro-slot-line .i-rise {
  display: block;
  transform: translateY(112%);
  animation: introRise .6s cubic-bezier(0.22, 1, 0.36, 1) .2s forwards;
}

/* slot-machine reel for the last word */
.slot {
  display: inline-block;
  height: 1.12em;
  overflow: hidden;
  vertical-align: top;
}
.slot-reel {
  display: block;
  transform: translateY(0);
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1), filter .18s linear;
}
.slot-reel > span { display: block; height: 1.12em; }
.slot-reel.rolling { filter: blur(2.5px); }
/* once the word lands, let the glow escape the clip boxes so it follows the
   glyphs instead of forming a rectangle. The slot stays clipped while rolling. */
.slot.landed { overflow: visible; }
.slot.landed .slot-reel > span:not(.accent) { visibility: hidden; }
.intro-slot-line.revealed .i-mask { overflow: visible; }
.slot.landed .accent {
  animation: slotGlow .9s var(--ease) forwards;
}
@keyframes slotGlow {
  0%   { text-shadow: 0 0 0 rgba(69,196,255,0); }
  35%  { text-shadow: 0 0 38px rgba(69,196,255,0.85), 0 0 80px rgba(69,196,255,0.4); }
  100% { text-shadow: 0 0 18px rgba(69,196,255,0.25); }
}

/* cyan rule that draws out under the line once the word lands */
.intro-rule-left {
  display: block;
  margin-top: 30px;
  width: min(340px, 42vw); height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(69,196,255,0));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.intro-rule-left.show { transform: scaleX(1); }

/* --- animated line grid behind the intro (faint) --- */
.intro-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.intro-bg .ln { position: absolute; background: rgba(244,243,239,0.04); }
.intro-bg .ln-h { left: 0; right: 0; height: 1px; transform: scaleX(0); }
.intro-bg .ln-v { top: 0; bottom: 0; width: 1px; transform: scaleY(0); }
.intro-bg .ln-h1 { top: 12%; transform-origin: left;  animation: lnGrowX .9s  var(--ease) .15s forwards; }
.intro-bg .ln-h2 { top: 31%; transform-origin: right; animation: lnGrowX 1s   var(--ease) .3s  forwards; }
.intro-bg .ln-h3 { top: 50%; transform-origin: left;  animation: lnGrowX 1.1s var(--ease) .4s  forwards; background: rgba(69,196,255,0.09); }
.intro-bg .ln-h4 { top: 69%; transform-origin: right; animation: lnGrowX 1s   var(--ease) .5s  forwards; }
.intro-bg .ln-h5 { top: 88%; transform-origin: left;  animation: lnGrowX .9s  var(--ease) .6s  forwards; }
.intro-bg .ln-v1 { left: 10%; transform-origin: top;    animation: lnGrowY 1s   var(--ease) .2s  forwards; }
.intro-bg .ln-v2 { left: 30%; transform-origin: bottom; animation: lnGrowY 1.1s var(--ease) .35s forwards; }
.intro-bg .ln-v3 { left: 50%; transform-origin: top;    animation: lnGrowY 1.1s var(--ease) .45s forwards; }
.intro-bg .ln-v4 { left: 70%; transform-origin: bottom; animation: lnGrowY 1.1s var(--ease) .55s forwards; }
.intro-bg .ln-v5 { left: 90%; transform-origin: top;    animation: lnGrowY 1s   var(--ease) .65s forwards; }
@keyframes lnGrowX { to { transform: scaleX(1); } }
@keyframes lnGrowY { to { transform: scaleY(1); } }

/* crosshair ticks at line intersections (subtle) */
.intro-bg .tick {
  position: absolute; width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  opacity: 0;
  animation: introFadeDim .5s var(--ease) 1.15s forwards;
}
.intro-bg .tick::before, .intro-bg .tick::after { content: ''; position: absolute; background: rgba(69,196,255,0.5); }
.intro-bg .tick::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.intro-bg .tick::after  { top: 50%; left: 0; right: 0; height: 1px; }
.intro-bg .tick-1 { top: 31%; left: 30%; }
.intro-bg .tick-2 { top: 50%; left: 70%; animation-delay: 1.3s; }
.intro-bg .tick-3 { top: 69%; left: 50%; animation-delay: 1.45s; }
@keyframes introFadeDim { to { opacity: .5; } }

/* scanning beam sweeping down */
.intro-scan {
  position: absolute; left: 0; right: 0; top: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 35%, var(--accent) 65%, transparent);
  box-shadow: 0 0 22px 3px rgba(69,196,255,0.4);
  opacity: 0;
  animation: scanDown 2.6s cubic-bezier(0.55, 0.06, 0.45, 0.94) .9s forwards;
}
@keyframes scanDown {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 1; }
  85%  { opacity: .9; }
  100% { opacity: 0; transform: translateY(100vh); }
}

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

/* hero headline rises as the curtain lifts (triggered by .reveal-hero) */
body.has-intro .hero-title .t-line {
  display: block; overflow: hidden;
}
body.has-intro .hero-title .t-line > span {
  display: block;
  transform: translateY(112%);
}
body.reveal-hero .hero-title .t-line > span {
  animation: introRise .9s cubic-bezier(0.22, 1, 0.36, 1) .12s forwards;
}
body.has-intro .hero-subcopy {
  opacity: 0;
  transform: translateY(22px);
}
body.reveal-hero .hero-subcopy {
  animation: heroSubcopyRise .72s cubic-bezier(0.22, 1, 0.36, 1) .28s forwards;
}
@keyframes heroSubcopyRise {
  to { opacity: 1; transform: translateY(0); }
}
/* once the rise finishes, stop clipping so descenders (the "y" in Industry)
   aren't cut off by the mask used during the entrance animation */
body.hero-in .hero-title .t-line { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  body.has-intro .hero-title .t-line > span { transform: none; animation: none; }
  body.has-intro .hero-subcopy { opacity: 1; transform: none; animation: none; }
  .marquee-track { animation: none; }
  .who-sec { height: auto; }
  .who-pin { position: static; height: auto; padding: 110px 24px; gap: 40px; }
  .who-counter, .who-bottom { position: static; transform: none; }
  .who-line .wl-base { color: var(--white); }
  .who-line .wl-fill { display: none; }
  .scrub-title .w, .scrub-title .scrub-phrase { color: var(--ink); }
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   CINEMATIC STATEMENT — "See what AI can do for your business"
   ============================================================ */
.cta-statement {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(120px, 22vh, 230px) 0;
  background: var(--white);
}
/* the section itself stays put; the words handle the entrance */
.cta-statement.reveal { opacity: 1; transform: none; transition: none; }
.cta-statement .wrap { position: relative; z-index: 2; }
/* breathing cyan aura */
.cta-statement .cs-glow {
  position: absolute; z-index: 0;
  top: 46%; left: 50%;
  width: 84vw; height: 84vw; max-width: 940px; max-height: 940px;
  margin: -42vw 0 0 -42vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(69,196,255,0.20) 0%, rgba(69,196,255,0.07) 42%, transparent 70%);
  filter: blur(90px);
  animation: csGlow 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes csGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.12); opacity: 1; }
}
/* faint technical grid, masked to fade at the edges */
.cta-statement .cs-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(13,27,41,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,27,41,0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(70% 62% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
}
.cs-title {
  font-weight: 600;
  font-size: clamp(34px, 6.6vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin: 0 auto;
  color: var(--ink);
}
.cs-w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.cta-statement.in .cs-w { opacity: 1; transform: none; filter: blur(0); }
.cs-w:nth-child(1) { transition-delay: .04s; }
.cs-w:nth-child(2) { transition-delay: .11s; }
.cs-w:nth-child(3) { transition-delay: .18s; }
.cs-w:nth-child(4) { transition-delay: .25s; }
.cs-w:nth-child(5) { transition-delay: .32s; }
.cs-w:nth-child(6) { transition-delay: .39s; }
.cs-w:nth-child(7) { transition-delay: .46s; }
.cs-w:nth-child(8) { transition-delay: .53s; }
.cs-accent {
  color: var(--accent);
  text-shadow: 0 0 26px rgba(69,196,255,0.30);
}
@media (prefers-reduced-motion: reduce) {
  .cta-statement .cs-glow { animation: none; }
  .cs-w { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .tabs-layout { grid-template-columns: 1fr; gap: 44px; }
  .tab-list { position: static; flex-direction: row; overflow-x: auto; border-top: none; gap: 6px; }
  .tab-item { flex-direction: column; gap: 8px; border-bottom: 2px solid transparent; padding: 14px 16px; flex-shrink: 0; }
  .tab-item.active { border-bottom-color: var(--accent); }
  .pillars { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr; border-top: none; }
  .data-col { border-left: none; border-top: 1px solid var(--line-light); padding: 36px 0 10px; }
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .sol-row { grid-template-columns: 1fr; gap: 36px; padding: 60px 0; }
  .sol-row.flip .sol-img { order: 0; }
  .num-row { grid-template-columns: 60px 1fr; }
  .num-row p { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-cta { grid-template-columns: 1fr; gap: 36px; }
  .footer-mid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --pad: 22px; }
  .sec { padding: 80px 0; }
  /* mobile uses a portrait poster framed around the RV — keep it centered */
  .hero-bg { object-position: center; background-position: center; }
  /* intro: keep the whole headline on one line (slot reserves the widest
     word, "Manufacturer", so size to fit that worst case at narrow widths) */
  .intro-stage { padding-left: 24px; }
  .intro-slot-line { font-size: clamp(20px, 8.4vw, 56px); white-space: nowrap; }
  .intro-slot-line .slot { display: inline-block; }
  .intro-logo-top { top: 34px; }
  .hero-title { margin-bottom: 4vh; }
  .hero-title h1 {
    white-space: nowrap;
    font-size: clamp(24px, 9vw, 64px);
    line-height: 1.02;
  }
  .hero-subcopy {
    max-width: min(19rem, 92vw);
    margin-top: 12px;
    font-size: clamp(11.5px, 3.45vw, 13px);
    line-height: 1.42;
  }
  .reveal-l, .reveal-r { transform: translateY(28px); }
  .who-sec { height: 240vh; }
  .who-counter { top: 76px; }
  .who-lines { gap: clamp(26px, 4.5vh, 40px); }
  .who-line { font-size: clamp(26px, 7.4vw, 40px); }
  .who-bottom { bottom: 30px; gap: 16px; }
  .who-desc { font-size: 13.5px; }
  .scrub-sec { padding: 90px 0; }
  .partners-row { gap: 24px; padding-right: 24px; }
  .cards-sec { padding: 70px 0 80px; }
  /* heading sits inline above the row (no sticky pin on mobile) */
  .cards-head { position: static; top: auto; height: auto; margin-bottom: 0; display: block; text-align: left; padding: 0 var(--pad); }
  .cards-title { display: block; }
  .cards-title .ct-w { display: inline; }
  .cards-head .mono-label { margin-bottom: 12px; }
  .cards-head h2 { font-size: clamp(32px, 9vw, 40px); }
  /* cards become a horizontal snap-scroller — peek the next card */
  .cards-flow {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--pad);
    padding-top: 6px;
    padding-bottom: 36px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cards-flow::-webkit-scrollbar { display: none; }
  .s-card {
    flex: 0 0 auto;
    width: min(300px, 80vw);
    align-self: stretch;
    scroll-snap-align: start;
    padding: 22px 22px 20px;
  }
  /* reset the desktop left/right stagger for the row layout */
  .s-card:nth-child(odd), .s-card:nth-child(even) { align-self: stretch; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner {
    position: relative;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
  }
  .nav .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav .brand-logo { height: 22px; }
  .nav-cta .btn {
    padding: 7px 11px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .contact-hero { padding: 28px 0 24px; }
  .contact-hero .mono-label { margin-bottom: 12px; }
  .contact-hero .display-xl { font-size: clamp(36px, 12vw, 48px); line-height: 0.95; }
  .contact-hero p.lede { margin-top: 14px; font-size: 14px; line-height: 1.45; }
  .contact-section { padding: 22px 0 64px; }
  .cta-cards { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-cell { border-left: none; border-top: 1px solid var(--line-light); padding-left: 0; }
  .stat-cell:first-child { border-top: none; }
  .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 11px; }
  .form .field { gap: 6px; }
  .form label { font-size: 9px; letter-spacing: 0.12em; }
  .form input, .form select, .form textarea { padding: 9px 11px; font-size: 12px; line-height: 1.25; }
  .form textarea { min-height: 76px; }
  .form .field.field-role,
  .form .field.field-message,
  .form .field.field-actions { grid-column: 1 / -1; }
  .form-note { margin-top: 2px; font-size: 11.5px; line-height: 1.35; }
  .faq-section { padding-top: 22px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; top: auto; padding-top: 22px; }
  .faq-aside p { font-size: 14.5px; line-height: 1.6; }
  .faq-question { min-height: 76px; padding: 22px 0; font-size: clamp(23px, 7vw, 32px); gap: 16px; }
  .faq-icon { flex-basis: 26px; width: 26px; height: 26px; margin-top: 2px; }
  .faq-answer { padding-bottom: 26px; }
  .faq-item p { font-size: 15px; line-height: 1.65; }
  .faq-cta { padding: 64px 0; }
  .faq-cta-inner { display: block; padding-top: 30px; }
  .faq-cta-inner h2 { margin-bottom: 22px; font-size: clamp(32px, 9.5vw, 42px); }
  .footer-mid { grid-template-columns: 1fr; gap: 36px; }
  .subscribe { flex-direction: column; }
  .hero { min-height: 86vh; }
  .vb-inner { padding: 28px; }
  .video-banner { min-height: 380px; }
  .ask-pill { bottom: 16px; right: 16px; }
}
