/* ── DVA v2 — shared additions ─────────────────────────────
   Layered on top of tokens/components/home/inner/product CSS.
   Tightens type, adds new sections (Why DVA, Growth Stack, Investor),
   product-dropdown nav, MDEC badge, AI use-case grid, work case detail.
   All while preserving the warm-cream + DVA-red aesthetic. */

:root {
  --warm-50: #FBFAF7;
  --warm-100: #F5F2EC;
  --warm-200: #ECE7DD;
  --warm-300: #DCD4C4;
  --ink-soft: #2A2724;
}

/* Tighter density */
.section, .feature, .p-section, .services-grid, .process, .stats {
  /* slightly tighter vertical rhythm */
}

/* ── PRODUCT NAV DROPDOWN ─────────────────────────────────── */
.nav__links { position: relative; }
.nav-drop {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer; opacity: 0.85;
}
.nav-drop:hover { opacity: 1; }
.nav-drop__chev {
  width: 10px; height: 10px;
  transition: transform 200ms var(--ease-out);
}
.nav-drop.is-open .nav-drop__chev { transform: rotate(180deg); }
.nav-drop__menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 320px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  display: grid; gap: 2px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms;
  z-index: 110;
}
.nav.is-dark .nav-drop__menu {
  background: rgba(20,20,20,0.96); border-color: var(--line-dark);
}
.nav-drop.is-open .nav-drop__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-drop__menu a {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px;
  transition: background 150ms ease;
}
.nav-drop__menu a:hover { background: var(--bg-alt); }
.nav.is-dark .nav-drop__menu a:hover { background: rgba(255,255,255,0.06); }
.nav-drop__icn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--dva-red-soft); color: var(--dva-red);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
}
.nav-drop__txt {
  display: flex; flex-direction: column; gap: 2px;
}
.nav-drop__name { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; color: var(--ink); }
.nav.is-dark .nav-drop__name { color: #fff; }
.nav-drop__desc { font-size: 11px; color: var(--ink-3); line-height: 1.3; }

/* ── MDEC BADGE ───────────────────────────────────────────── */
.mdec-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
}
.section--dark .mdec-badge,
.scene .mdec-badge,
.stats .mdec-badge {
  border-color: var(--line-dark);
  background: rgba(255,255,255,0.04);
}
.mdec-badge__shield {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--dva-red), #8a1118);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 10px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
/* When the shield is the actual Malaysia Digital logo image, drop the circle treatment. */
img.mdec-badge__shield {
  width: auto; height: 32px; border-radius: 0;
  background: none; display: block; object-fit: contain;
}
/* Recolor the dark-blue MD wordmark to white on dark surfaces (logo has transparent bg). */
.section--dark img.mdec-badge__shield,
.scene img.mdec-badge__shield,
.stats img.mdec-badge__shield,
.p-section--dark img.mdec-badge__shield {
  filter: brightness(0) invert(1);
}
.mdec-badge__txt {
  display: flex; flex-direction: column; gap: 1px; line-height: 1.15;
}
.mdec-badge__name {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
}
.section--dark .mdec-badge__name { color: #888; }
.mdec-badge__sub {
  font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.section--dark .mdec-badge__sub, .stats .mdec-badge__sub, .scene .mdec-badge__sub { color: #fff; }

/* ── HERO EKG / HEARTBEAT ─────────────────────────────────── */
.hero { padding-top: calc(var(--nav-h) + 24px) !important; }
.hero__ekg {
  position: relative;
  max-width: 1440px;
  margin: 12px auto 56px;
  width: 100%;
  padding: 0 var(--pad);
  box-sizing: border-box;
  z-index: 2;
}
.hero__ekg-svg {
  width: 100%; height: 92px; display: block;
  overflow: visible;
}
.hero__ekg-line {
  stroke-dasharray: 3200;
  stroke-dashoffset: 3200;
  animation: ekg-draw 6.6s cubic-bezier(.65,.05,.35,1) infinite;
  filter: drop-shadow(0 0 6px rgba(229,52,60,0.35));
}
@keyframes ekg-draw {
  0%   { stroke-dashoffset: 3200; }
  55%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -3200; }
}
.hero__ekg-dot {
  animation: ekg-dot 6.6s cubic-bezier(.65,.05,.35,1) infinite;
  filter: drop-shadow(0 0 8px rgba(229,52,60,0.7));
}
@keyframes ekg-dot {
  0%   { cx: 0;   opacity: 0; r: 2; }
  3%   { opacity: 1; r: 3; }
  20%  { r: 3; }
  22%  { r: 5; }
  24%  { r: 3; }
  55%  { cx: 1600; opacity: 1; r: 3; }
  56%  { opacity: 0; }
  100% { cx: 1600; opacity: 0; r: 3; }
}
.hero__ekg-label {
  position: absolute;
  top: 6px; left: var(--pad);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
}
.hero__ekg-bpm {
  color: var(--dva-red);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.hero__ekg-pip {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dva-red);
  box-shadow: 0 0 0 0 rgba(229,52,60,0.6);
  animation: ekg-pip 1.6s ease-out infinite;
}
@keyframes ekg-pip {
  0%   { box-shadow: 0 0 0 0 rgba(229,52,60,0.55); transform: scale(1); }
  70%  { box-shadow: 0 0 0 9px rgba(229,52,60,0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(229,52,60,0); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__ekg-line, .hero__ekg-dot, .hero__ekg-pip { animation: none; }
  .hero__ekg-line { stroke-dashoffset: 0; }
}

/* ── HERO TRUST LINE ──────────────────────────────────────── */
.hero__trust {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  margin-top: 36px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero__trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: 0.5; }

/* ── WHY DVA ──────────────────────────────────────────────── */
.why {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.why__inner { max-width: 1440px; margin: 0 auto; }
.why__head {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  margin-bottom: 56px; align-items: end;
}
@media (max-width: 900px) { .why__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; } }
.why__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 72px);
  letter-spacing: -0.04em; line-height: 1; margin: 0;
  max-width: 16ch; text-wrap: balance;
}
.why__title em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.why__lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 50ch; margin: 0; }
.why__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
@media (max-width: 1100px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .why__grid { grid-template-columns: 1fr; } }
.why__card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 24px; min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 250ms var(--ease-out), border-color 200ms ease;
}
.why__card:hover { transform: translateY(-3px); border-color: var(--dva-red); }
.why__card-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--dva-red); text-transform: uppercase;
}
.why__card-h {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.025em; line-height: 1.15;
  margin: 0;
}
.why__card-d { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ── DVA GROWTH STACK (ecosystem visual) ──────────────────── */
.stack {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--bg);
  position: relative; overflow: hidden;
}
.stack__inner { max-width: 1440px; margin: 0 auto; position: relative; z-index: 1; }
.stack__head {
  text-align: center; margin-bottom: 64px;
}
.stack__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dva-red); margin-bottom: 20px;
}
.stack__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 88px);
  letter-spacing: -0.04em; line-height: 1.0; margin: 0 auto 18px;
  max-width: 20ch; text-wrap: balance;
}
.stack__title em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.stack__lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 0 auto; }

.stack__diagram {
  max-width: 1080px; margin: 0 auto;
  display: grid; gap: 14px;
}
.stack-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 14px; align-items: stretch;
}
@media (max-width: 800px) { .stack-row { grid-template-columns: 1fr; } }
.stack-row__lbl {
  background: var(--ink); color: #fff;
  border-radius: 18px; padding: 24px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 140px;
}
.stack-row__num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.stack-row__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.025em; line-height: 1.1;
  margin: 0;
}
.stack-row--accent .stack-row__lbl { background: var(--dva-red); }
.stack-row--accent .stack-row__num { color: rgba(255,255,255,0.7); }

.stack-row__cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px;
}
.stack-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, background 200ms ease;
}
.stack-card:hover { transform: translateY(-2px); border-color: var(--dva-red); background: var(--dva-red-soft); }
.stack-card__icn {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--dva-red-soft); color: var(--dva-red);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px;
}
.stack-card__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 15px; letter-spacing: -0.02em; line-height: 1.15;
  margin: 0;
}
.stack-card__cat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--ink-3); text-transform: uppercase;
}

/* ── AI USE-CASE GRID — 3D tilt cards + receding grid floor ──── */
.ai-uses {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--bg-dark); color: #fff;
  position: relative; overflow: hidden;
}
/* pure-CSS perspective grid floor receding to a red horizon */
.ai-uses::before {
  content: ""; position: absolute; left: 50%; bottom: -8%;
  width: 220%; height: 64%;
  transform: translateX(-50%) perspective(560px) rotateX(74deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(229,52,60,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,52,60,0.16) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 78%);
          mask-image: linear-gradient(to top, #000, transparent 78%);
  animation: aiFloor 5.5s linear infinite;
  pointer-events: none; z-index: 0;
}
@keyframes aiFloor { from { background-position: 0 0; } to { background-position: 0 58px; } }
/* WebGL lattice canvas — fills the section behind the content, edges faded */
#aiScene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 42%, #000 55%, transparent 100%);
          mask-image: radial-gradient(120% 100% at 50% 42%, #000 55%, transparent 100%);
}
.ai-uses__inner { max-width: 1440px; margin: 0 auto; position: relative; z-index: 1; }
.ai-uses__head { margin-bottom: 64px; max-width: 800px; }
.ai-uses__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5vw, 80px);
  letter-spacing: -0.04em; line-height: 1.0; margin: 0 0 20px;
  text-wrap: balance;
}
.ai-uses__title em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.ai-uses__lead { font-size: 17px; line-height: 1.55; color: #b8b8b8; max-width: 56ch; margin: 0; }

.ai-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  perspective: 1500px; perspective-origin: 50% 22%;
}
@media (max-width: 1100px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ai-grid { grid-template-columns: 1fr; perspective: none; } }

.ai-cell {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  /* translucent so the WebGL lattice glows through and behind the card
     (no backdrop-filter — it would flatten preserve-3d and kill the depth) */
  background: linear-gradient(180deg, rgba(22,22,26,0.70), rgba(11,11,13,0.78));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 30px 26px; min-height: 210px;
  display: flex; flex-direction: column; gap: 12px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 220ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 360ms ease, border-color 360ms ease;
  will-change: transform;
}
.ai-cell:hover {
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(18px);
  border-color: rgba(229,52,60,0.5);
  box-shadow: 0 34px 70px -26px rgba(0,0,0,0.75), 0 0 44px -6px rgba(229,52,60,0.35);
}
/* cursor-tracking red spotlight */
.ai-cell::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(229,52,60,0.20), transparent 46%);
  opacity: 0; transition: opacity 300ms ease;
}
.ai-cell:hover::before { opacity: 1; }
/* floating "active" orb — front-most depth layer (parallaxes most on tilt) */
.ai-cell::after {
  content: ""; position: absolute; top: 22px; right: 22px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dva-red); box-shadow: 0 0 14px 2px rgba(229,52,60,0.65);
  transform: translateZ(62px); opacity: 0.45; transition: opacity 350ms ease;
}
.ai-cell:hover::after { opacity: 1; }
/* depth layers — each sits at a different Z so they parallax as the card tilts */
.ai-cell__num {
  position: relative; transform: translateZ(42px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--dva-red); text-transform: uppercase;
}
.ai-cell__h {
  position: relative; transform: translateZ(28px);
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; letter-spacing: -0.025em; line-height: 1.15;
  margin: 0; color: #fff;
}
.ai-cell__d {
  position: relative; transform: translateZ(15px);
  font-size: 13.5px; line-height: 1.5; color: #a0a0a0; margin: 0;
}
/* 3D staggered entrance — transform-only, cards stay visible (opacity never animated) */
.ai-cell--reveal { animation: aiCellIn 720ms cubic-bezier(0.16,1,0.3,1) both; }
@keyframes aiCellIn {
  from { transform: translateY(42px) rotateX(-16deg); }
  to   { transform: translateY(0) rotateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-uses::before { animation: none; }
  .ai-cell { transition: box-shadow 360ms ease, border-color 360ms ease; }
  .ai-cell--reveal { animation: none; }
}

/* ── INVESTOR-READINESS STRIP ─────────────────────────────── */
.investor {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.investor::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(229,52,60,0.18), transparent 50%);
  pointer-events: none;
}
.investor__inner { max-width: 1080px; margin: 0 auto; position: relative; }
.investor__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dva-red); margin-bottom: 24px;
}
.investor__h {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 72px);
  letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 28px;
  max-width: 22ch; text-wrap: balance;
}
.investor__h em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.investor__d {
  font-size: 18px; line-height: 1.6; color: #cfcfcf; max-width: 60ch; margin: 0 0 36px;
}
.investor__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 36px; border-top: 1px solid var(--line-dark);
}
@media (max-width: 700px) { .investor__metrics { grid-template-columns: 1fr; } }
.investor__metric-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.035em; line-height: 1;
  margin-bottom: 8px;
}
.investor__metric-num em { color: var(--dva-red); font-style: normal; }
.investor__metric-lbl { font-size: 13px; color: #888; line-height: 1.4; }

/* ── PROOF / INDUSTRIES ──────────────────────────────────── */
.proof {
  padding: clamp(80px, 12vh, 140px) var(--pad);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.proof__inner { max-width: 1440px; margin: 0 auto; }
.proof__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; margin-bottom: 48px; align-items: end; }
@media (max-width: 900px) { .proof__head { grid-template-columns: 1fr; gap: 24px; } }
.proof__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.04em; line-height: 1; margin: 0;
  max-width: 14ch; text-wrap: balance;
}
.proof__title em { font-style: italic; font-weight: 500; color: var(--dva-red); }
.proof__lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 50ch; margin: 0; }
.industries {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }
.industry {
  padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px;
  background: #fff;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 200ms ease, background 200ms ease;
}
.industry:hover { border-color: var(--dva-red); background: var(--dva-red-soft); }
.industry__h { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin: 0; }
.industry__d { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* ── CASE-STUDY DETAIL CARD ──────────────────────────────── */
.case-card {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 40px; padding: 40px 0;
  border-top: 1px solid var(--line);
}
.case-card:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .case-card { grid-template-columns: 1fr; gap: 16px; } }
.case-card__meta { display: flex; flex-direction: column; gap: 8px; }
.case-card__client {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.025em; line-height: 1.05; margin: 0;
}
.case-card__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.case-card__body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .case-card__body { grid-template-columns: 1fr; } }
.case-card__col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dva-red); margin: 0 0 10px;
}
.case-card__col p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.case-card__tag {
  font-size: 11px; padding: 3px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2);
}

/* ── ENTRY-POINT CARDS (contact) ─────────────────────────── */
.entry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .entry-grid { grid-template-columns: 1fr; } }
.entry {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; transition: border-color 200ms ease, background 200ms ease;
}
.entry:hover, .entry.is-on { border-color: var(--dva-red); background: var(--dva-red-soft); }
.entry__icn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--dva-red-soft); color: var(--dva-red);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  margin-bottom: 6px;
}
.entry.is-on .entry__icn { background: var(--dva-red); color: #fff; }
.entry__h { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.entry__d { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* ── SECTION HEAD UTILITY (centered, eyebrow above) ───────── */
.sec-eye {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dva-red);
}

/* small spacing utility */
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }

/* ── PRODUCT INDEX HERO ──────────────────────────────────── */
.products-hero { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 80%); }

/* dimmer link arrow on dark surfaces */
.section--dark .link-arrow,
.ai-uses .link-arrow { color: var(--dva-red); }

/* ── MASCOT VIZ (services hero AI panel) ──────────────────── */
.viz-mascot { position: relative; overflow: hidden; cursor: pointer; }
.viz-mascot .stripes { z-index: 1; }
.viz-mascot__flip {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #E5343C;
}

/* Hover greeting bubble */
.viz-mascot__bubble {
  position: absolute;
  z-index: 5;
  top: 14%;
  right: 14%;
  background: #fff;
  color: #111;
  font-family: var(--font-mono, ui-monospace, "JetBrains Mono", monospace);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transform-origin: bottom left;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  white-space: nowrap;
}
.viz-mascot__bubble::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-bottom-left-radius: 3px;
  transform: rotate(45deg);
  box-shadow: -2px 2px 4px rgba(0,0,0,0.04);
}
.viz-mascot:hover .viz-mascot__bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 120ms;
}
.viz-mascot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(120% 80% at 50% 10%, transparent 55%, rgba(229,52,60,0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.viz-mascot__label {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--font-mono, ui-monospace, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}


/* ── STRATEGY FUNNEL VIZ ─────────────────────────────────── */
.feature__viz.strat-funnel {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  isolation: isolate;
  aspect-ratio: auto;
  min-height: 0;
  text-transform: none;
  letter-spacing: normal;
  color: #1a1a1a;
  border-radius: 16px;
}
.strat-funnel * { text-transform: none; letter-spacing: normal; }
.strat-funnel__title {
  font-family: var(--font-display, var(--font-sans, system-ui));
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #1a1a1a;
  margin: 2px 0 0;
  text-wrap: balance;
}
.strat-funnel__title em { font-style: italic; font-weight: 500; color: var(--dva-red); }

.strat-funnel__board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(0, 1.6fr);
  gap: 8px;
  flex: 1;
  min-height: 0;
}

/* LEFT ────────────────────────────────────────────────────── */
.strat-funnel__left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.strat-funnel__side {
  font-family: var(--font-display, var(--font-sans, system-ui));
  font-size: 10px;
  color: #6a6a6a;
  line-height: 1.35;
  padding-left: 2px;
}
.strat-funnel__side strong {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 11.5px;
  letter-spacing: -0.005em;
}
.strat-funnel__side span { display: block; color: #888; font-size: 9.5px; }

.strat-funnel__cone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
  flex: 1;
  overflow: hidden;
}
.sf-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  align-items: center;
  gap: 6px;
  min-height: 30px;
}
.sf-row__bar {
  position: relative;
  display: block;
  width: var(--w);
  height: 28px;
  margin: 0 auto;
  background: var(--bg);
  transform-origin: center;
  opacity: 0;
  animation: sf-row-in 0.7s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: var(--delay);
}
@keyframes sf-row-in {
  0%   { opacity: 0; transform: scaleX(0.2) translateY(-4px); filter: blur(3px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scaleX(1) translateY(0); }
}
.sf-row__lbl {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  font-family: var(--font-display, var(--font-sans, system-ui));
  font-weight: 500;
  font-size: 12px;
  color: #1a1a1a;
  text-align: left;
  opacity: 0;
  animation: sf-lbl-in 0.5s ease-out forwards;
  animation-delay: calc(var(--delay) + 0.25s);
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(.2,.7,.2,1);
}
@keyframes sf-lbl-in {
  0%   { opacity: 0; transform: translateX(-4px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Hover-driven sweep on the Awareness row */
.sf-row--hov .sf-row__bar { will-change: clip-path; }
.sf-row__lbl-inside {
  position: absolute;
  top: 50%;
  left: 0;
  right: 90px; /* gap (6) + label col (84) = 90 */
  text-align: center;
  transform: translateY(-50%);
  color: #fff;
  font-family: var(--font-display, var(--font-sans, system-ui));
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}
.strat-funnel:hover .sf-row--hov .sf-row__bar {
  animation: sf-bar-sweep 0.65s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: var(--delay);
}
@keyframes sf-bar-sweep {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
.strat-funnel:hover .sf-row--hov .sf-row__lbl-inside {
  opacity: 1;
  transition-delay: calc(var(--delay) + 0.5s);
}
.strat-funnel:hover .sf-row--hov .sf-row__lbl {
  opacity: 0;
  transition: opacity 0.25s ease;
  transition-delay: calc(var(--delay) + 0.5s);
}
.sf-row--light .sf-row__lbl-inside { color: #1a1a1a; }

/* vertical scanline that sweeps the funnel — the "scrolling effect" */
.strat-funnel__scan {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 14%;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(229,52,60,0.0) 20%,
    rgba(229,52,60,0.18) 50%,
    rgba(229,52,60,0.0) 80%,
    transparent 100%);
  mix-blend-mode: multiply;
  animation: sf-scan 3.6s cubic-bezier(.6,0,.4,1) infinite;
  z-index: 3;
}
.strat-funnel__scan::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,52,60,0.9), transparent);
  box-shadow: 0 0 8px rgba(229,52,60,0.6);
}
@keyframes sf-scan {
  0%   { top: -16%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}

/* RIGHT: 3 strategy columns ──────────────────────────────── */
.strat-funnel__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  min-width: 0;
}
.sf-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  opacity: 0;
  transform: translateY(8px);
  animation: sf-col-in 0.6s ease-out forwards;
  animation-delay: var(--col-delay, 0.3s);
}
@keyframes sf-col-in {
  to { opacity: 1; transform: translateY(0); }
}
.sf-col__h {
  font-family: var(--font-display, var(--font-sans, system-ui));
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 4px;
  min-height: 30px;
  text-align: left;
  hyphens: none;
  word-break: keep-all;
}
.sf-cell {
  position: relative;
  background: #fde0e1;
  color: #2a2a2a;
  border-radius: 2px;
  padding: 6px 6px;
  font-family: var(--font-display, var(--font-sans, system-ui));
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1.2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: var(--span, 1);
  min-height: calc(var(--span, 1) * 32px);
  overflow: hidden;
  word-break: keep-all;
  hyphens: none;
  opacity: 0;
  transform: translateX(8px);
  animation: sf-cell-in 0.55s ease-out forwards;
  animation-delay: var(--cell-delay, 0.6s);
}
.sf-cell--offset { margin-top: 10px; }
@keyframes sf-cell-in {
  to { opacity: 1; transform: translateX(0); }
}

/* Option C — story-flow with pour: gate all funnel/strategy animations until
   the section scrolls into view, then play them as the dramatic pour descends. */
.strat-funnel .sf-row__bar,
.strat-funnel .sf-row__lbl,
.strat-funnel .sf-col,
.strat-funnel .sf-cell,
.strat-funnel .strat-funnel__scan { animation-play-state: paused; }
.strat-funnel.is-playing .sf-row__bar,
.strat-funnel.is-playing .sf-row__lbl,
.strat-funnel.is-playing .sf-col,
.strat-funnel.is-playing .sf-cell,
.strat-funnel.is-playing .strat-funnel__scan { animation-play-state: running; }

/* The pour: bright red glowing band that sweeps down through the cone once */
.strat-funnel__pour {
  position: absolute; left: 0; right: 0; top: -30%;
  height: 30%;
  pointer-events: none; z-index: 4;
  opacity: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(229,52,60,0.00)  8%,
    rgba(229,52,60,0.35) 32%,
    rgba(229,52,60,0.60) 50%,
    rgba(229,52,60,0.35) 68%,
    rgba(229,52,60,0.00) 92%,
    transparent 100%);
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 10px rgba(229,52,60,0.4));
}
.strat-funnel__pour::after {
  /* a brighter, thinner inner band for an extra glow stripe */
  content: ""; position: absolute; left: 4%; right: 4%; top: 50%;
  height: 2px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(229,52,60,1), transparent);
  filter: blur(1px);
  box-shadow: 0 0 14px rgba(229,52,60,0.9);
}
.strat-funnel.is-playing .strat-funnel__pour {
  animation: sf-pour 2.6s cubic-bezier(.5,.1,.4,1) 0.3s forwards;
}
@keyframes sf-pour {
  0%   { top: -30%; opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .strat-funnel .sf-row__bar,
  .strat-funnel .sf-row__lbl,
  .strat-funnel .sf-col,
  .strat-funnel .sf-cell { animation: none; opacity: 1; transform: none; }
  .strat-funnel .strat-funnel__scan,
  .strat-funnel__pour { display: none; }
}
.sf-cell::after {
  /* repeating sweep — left-to-right scrolling highlight */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -50%;
  width: 40%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  animation: sf-cell-sweep 4.8s linear infinite;
  animation-delay: calc(var(--cell-delay, 0.6s) + 1.2s);
  pointer-events: none;
}
@keyframes sf-cell-sweep {
  0%   { transform: translateX(0); }
  60%  { transform: translateX(380%); }
  100% { transform: translateX(380%); }
}

@media (max-width: 900px) {
  .strat-funnel__board { grid-template-columns: 1fr; }
  .strat-funnel__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .sf-row, .sf-col, .sf-cell { animation: none; opacity: 1; transform: none; }
  .sf-cell::after, .strat-funnel__scan { animation: none; display: none; }
}

/* ── EKG TOP STRIP (drop-in below the fixed nav on any page) ── */
.hero__ekg--top {
  margin-top: calc(var(--nav-h) + 8px) !important;
  margin-bottom: 16px !important;
}

/* ── PHONE-MOCK IMAGE VARIANT ─────────────────────────────── */
.phone-mock--img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 auto;
  display: block;
  box-shadow: none;
}
.phone-mock--img > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ── ANIMATED COFFEE CUP ─────────────────────────────────── */
.coffee-cup {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1.05em;
  vertical-align: -0.05em;
  margin-left: 0.08em;
}
.coffee-cup__mug {
  position: relative;
  display: inline-block;
  font-style: normal;
  line-height: 1;
  z-index: 2;
}
.coffee-cup__steam {
  position: absolute;
  left: 50%;
  bottom: 78%;
  transform: translateX(-55%);
  width: 0.7em;
  height: 0.9em;
  pointer-events: none;
  z-index: 1;
}
.coffee-cup__steam > span {
  position: absolute;
  bottom: 0;
  width: 0.18em;
  height: 0.55em;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.65) 40%,
    rgba(255,255,255,0) 75%);
  filter: blur(2.5px);
  opacity: 0;
  transform: translateY(0) scale(0.6);
  animation: coffee-steam 2.4s ease-in-out infinite;
  mix-blend-mode: screen;
}
.coffee-cup__steam > span:nth-child(1) { left: 8%;  animation-delay: 0s;     width: 0.22em; }
.coffee-cup__steam > span:nth-child(2) { left: 42%; animation-delay: 0.55s;  width: 0.28em; height: 0.65em; }
.coffee-cup__steam > span:nth-child(3) { left: 72%; animation-delay: 1.05s;  width: 0.2em; }

@keyframes coffee-steam {
  0%   { opacity: 0;    transform: translate(0, 0)         scale(0.55); }
  18%  { opacity: 0.95; transform: translate(0.02em, -0.18em) scale(0.85); }
  55%  { opacity: 0.7;  transform: translate(-0.05em, -0.55em) scale(1.25); }
  100% { opacity: 0;    transform: translate(0.06em, -1.05em) scale(1.7); filter: blur(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .coffee-cup__steam > span { animation: none; opacity: 0.6; transform: translateY(-0.35em) scale(1); }
}

/* ── LIVING-NETWORK HERO ENGINE (hero-net.js) ─────────────── */
.hero, .p-hero, .page-hero { position: relative; overflow: hidden; }
.hero-net {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}
.hero__inner, .p-hero__inner, .page-hero__inner { position: relative; z-index: 2; }

/* ── HERO ENERGY PASS: ambient glow blobs + headline shimmer ── */
.hero-blob {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(70px); will-change: transform;
}
.hero-blob--a {
  width: 560px; height: 560px; top: -140px; right: -100px;
  background: radial-gradient(circle, rgba(229,52,60,0.34), transparent 65%);
  animation: heroBlobA 16s ease-in-out infinite alternate;
}
.hero-blob--b {
  width: 460px; height: 460px; bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(229,52,60,0.24), transparent 65%);
  animation: heroBlobB 20s ease-in-out infinite alternate;
}
@keyframes heroBlobA { from { transform: translate(0,0) scale(1); } to { transform: translate(-140px, 90px) scale(1.18); } }
@keyframes heroBlobB { from { transform: translate(0,0) scale(1); } to { transform: translate(160px, -70px) scale(1.12); } }

/* sheen sweeping across the red italic words in hero headlines */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em, .p-hero h1 em, .page-hero h1 em {
    background: linear-gradient(100deg,
      var(--dva-red) 0%, var(--dva-red) 38%,
      #ff868c 50%,
      var(--dva-red) 62%, var(--dva-red) 100%);
    background-size: 230% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: emShimmer 3.2s ease-in-out infinite;
    /* extend the gradient paint box past the italic right overhang so the last
       glyph (e.g. the "m" in rhythm) isn't clipped; negative margin keeps the
       following period in place */
    padding-right: 0.1em;
    margin-right: -0.1em;
  }
  @keyframes emShimmer {
    0%   { background-position: 125% 0; }
    100% { background-position: -125% 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .hero h1 em, .p-hero h1 em, .page-hero h1 em { animation: none; }
}

/* ── GLOBAL FX: custom cursor + page-transition curtain (fx.js) ── */
.fx-curtain {
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background: var(--dva-red);
  transform: translateY(100%);            /* off-screen below by default */
  will-change: transform;
}
.fx-curtain.cover   { transform: translateY(0); }                                   /* covering, no transition */
.fx-curtain.reveal  { transition: transform 0.6s cubic-bezier(0.7,0,0.3,1); transform: translateY(-100%); }  /* wipe up & away */
.fx-curtain.coverin { transition: transform 0.46s cubic-bezier(0.7,0,0.3,1); transform: translateY(0); }      /* wipe up to cover */

.fx-dot, .fx-ring {
  position: fixed; top: 0; left: 0; z-index: 401; pointer-events: none;
  border-radius: 50%; will-change: transform;
}
.fx-dot  { width: 7px; height: 7px; background: var(--dva-red); }
.fx-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(229,52,60,0.55);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.fx-ring.is-hot { width: 56px; height: 56px; border-color: var(--dva-red); background: rgba(229,52,60,0.12); }
body.fx-cursor-on { cursor: none; }
body.fx-cursor-on a, body.fx-cursor-on button, body.fx-cursor-on [data-drop],
body.fx-cursor-on input, body.fx-cursor-on textarea, body.fx-cursor-on select { cursor: none; }
@media (hover: none), (pointer: coarse) { .fx-dot, .fx-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-curtain { display: none; } }

/* ── PREMIUM DARK HERO (inner pages) ─────────────────────── */
.p-hero--dark, .page-hero--dark {
  background: radial-gradient(125% 135% at 72% 0%, #1b0d10 0%, #0c0809 48%, #060406 100%) !important;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* legibility scrim: between the hero-net canvas (z0) and the content (z2) */
.p-hero--dark::after, .page-hero--dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(92deg, rgba(6,4,5,0.82) 0%, rgba(6,4,5,0.42) 44%, transparent 74%);
}
/* page-hero text on dark */
.page-hero--dark .page-hero__eyebrow { color: rgba(255,255,255,0.62); }
.page-hero--dark .page-hero__h1 { color: #fff; }
.page-hero--dark .page-hero__sub { color: rgba(255,255,255,0.74); }
/* product-hero mark + ghost buttons on dark */
.p-hero--dark .p-hero__mark { background: rgba(229,52,60,0.16); color: #fff; }
.p-hero--dark .btn--ghost, .page-hero--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.p-hero--dark .btn--ghost:hover, .page-hero--dark .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
/* the red italic accent shimmers on dark heroes too */
.p-hero--dark .p-hero__h1 em, .page-hero--dark .page-hero__h1 em { color: #ff5660; }
/* hide the cream EKG strip directly above a dark hero (avoids a seam) */
main:has(.p-hero--dark) .hero__ekg--top,
main:has(.page-hero--dark) .hero__ekg--top { display: none; }

/* Dark-hero text must never depend on the reveal JS (faint = illegible on dark).
   Force visible; a transform-only drift keeps a gentle entrance that can't hide it. */
.p-hero--dark .reveal, .page-hero--dark .reveal {
  opacity: 1 !important;
  transition: none !important;       /* kill the in-progress opacity transition that can freeze faint */
  animation: heroDriftIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.p-hero--dark .page-hero__eyebrow.reveal, .page-hero--dark .page-hero__eyebrow.reveal { animation-delay: 0.03s; }
.p-hero--dark .reveal:nth-child(2), .page-hero--dark .reveal:nth-child(2) { animation-delay: 0.12s; }
.p-hero--dark .reveal:nth-child(3), .page-hero--dark .reveal:nth-child(3) { animation-delay: 0.24s; }
@keyframes heroDriftIn { from { transform: translateY(16px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .p-hero--dark .reveal, .page-hero--dark .reveal { animation: none; }
}

/* ── KINETIC HEADINGS (motion.js) — bulletproof: opacity is forced to 1 so the
   heading can NEVER be left hidden by a frozen/throttled reveal; only TRANSFORM
   animates (a frozen transform transition is at worst a few px offset). ── */
.kin {
  opacity: 1 !important;
  transform: translateY(26px);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.kin-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .kin, .kin-in { transform: none; transition: none; } }

/* ── PROMO FILM (shared component: Vera, VOX …) ───────────────
   Click-to-play featured player with the voiceover audible. Used on
   product pages that have a narrated promo film. */
.vpromo { background: var(--bg-alt); border-top: 1px solid var(--line); }
.vpromo__inner { max-width: 1120px; margin: 0 auto; padding: clamp(64px, 9vh, 120px) var(--pad); }
.vpromo__lead { display: flex; flex-direction: column; gap: 14px; margin-bottom: 38px; max-width: 60ch; }
.vpromo__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dva-red); }
.vpromo__h { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
.vpromo__h em { color: var(--dva-red); font-style: italic; }
.vpromo__d { color: var(--ink-3); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; }

.vpromo__stage {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9;
  background: #0c0809;
  box-shadow: 0 44px 100px -34px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.06);
}
/* portrait / near-square films (e.g. VOX 840×900) — centred, no cropping */
.vpromo__stage--portrait { aspect-ratio: 840 / 900; max-width: 560px; margin-left: auto; margin-right: auto; }
.vpromo__stage::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: 22px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(229,52,60,0.18), transparent 58%);
}
.vpromo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #0c0809; }

.vpromo__play {
  position: absolute; inset: 0; z-index: 4; width: 100%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(0deg, rgba(6,4,5,0.55), rgba(6,4,5,0.12));
  transition: opacity 0.35s ease;
}
.vpromo__play[hidden] { display: none; }
.vpromo__btn {
  position: relative; width: 86px; height: 86px; border-radius: 50%; background: var(--dva-red);
  display: grid; place-items: center;
  box-shadow: 0 14px 44px -8px rgba(229,52,60,0.7);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.vpromo__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(229,52,60,0.55); animation: vpromoPulse 2.2s ease-out infinite;
}
.vpromo__play:hover .vpromo__btn { transform: scale(1.08); box-shadow: 0 18px 54px -8px rgba(229,52,60,0.85); }
.vpromo__btn svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.vpromo__cue {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.vpromo__cue svg { width: 16px; height: 16px; fill: currentColor; }
@keyframes vpromoPulse { 0% { transform: scale(1); opacity: 0.8; } 70% { transform: scale(1.45); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vpromo__btn::after { animation: none; } }
@media (max-width: 680px) { .vpromo__btn { width: 66px; height: 66px; } .vpromo__btn svg { width: 24px; height: 24px; } }

/* ── MOBILE NAV — burger + slide-in panel (built by fx.js) ──────
   Hidden on desktop; appears ≤720px where .nav__links is display:none.
   The panel is appended to <body> (so .nav's backdrop-filter can't shrink it);
   open state is body.nav-open; the panel mirrors the bar's theme via .is-dark. */
.nav__burger { display: none; }
.nav__mobile { display: none; }

@media (max-width: 720px) {
  .nav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; margin-left: auto;
    border: 0; background: transparent; cursor: pointer; position: relative; z-index: 121;
  }
  .nav__burger span {
    display: block; width: 24px; height: 2px; border-radius: 2px; margin: 0 auto;
    background: var(--ink, #1a1a1a);
    transition: transform 0.3s var(--ease-out, cubic-bezier(0.16,1,0.3,1)), opacity 0.2s ease;
  }
  .nav.is-dark .nav__burger span { background: #fff; }
  body.nav-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* the inline CTA moves into the panel on mobile */
  .nav__inner > .nav__cta { display: none; }

  .nav__mobile {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex; flex-direction: column; gap: 2px;
    padding: 18px var(--pad) 40px;
    background: rgba(251,250,247,0.99);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.34s var(--ease-out, cubic-bezier(0.16,1,0.3,1)), visibility 0.34s;
  }
  .nav__mobile.is-dark { background: rgba(13,8,9,0.99); }
  body.nav-open .nav__mobile { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

  .nav__mobile-links { display: flex; flex-direction: column; gap: 0; position: static; }
  .nav__mobile-links > a,
  .nav__mobile-links .nav-drop > span {
    display: block; padding: 15px 4px; text-decoration: none; opacity: 1;
    font-family: var(--font-display); font-weight: 600; font-size: 25px; letter-spacing: -0.02em;
    color: var(--ink, #1a1a1a); border-bottom: 1px solid var(--line);
  }
  .nav__mobile.is-dark .nav__mobile-links > a,
  .nav__mobile.is-dark .nav__mobile-links .nav-drop > span { color: #fff; border-color: rgba(255,255,255,0.1); }
  .nav__mobile-links > a::after { display: none; } /* kill desktop active underline */

  /* dropdowns become a static labelled group on mobile */
  .nav__mobile-links .nav-drop { display: block; opacity: 1; cursor: default; }
  .nav__mobile-links .nav-drop > span { cursor: default; }
  .nav__mobile-links .nav-drop__chev { display: none; }
  .nav__mobile-links .nav-drop__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; background: transparent; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 2px 0 14px 10px; display: grid; gap: 0;
  }
  .nav__mobile-links .nav-drop__menu a { padding: 9px 8px; }
  .nav__mobile-links .nav-drop__name { font-size: 15px; }
  .nav__mobile-links .nav-drop__desc { font-size: 12px; }
  .nav__mobile.is-dark .nav__mobile-links .nav-drop__name { color: #fff; }

  .nav__mobile-cta {
    display: inline-flex; align-self: flex-start; margin-top: 22px;
    padding: 14px 26px; font-size: 15px;
  }
}
