/* Pulse AI — brand palette from pulse-ai.io (cyan → purple → magenta) */
:root {
  --pulse-cyan: #00c2ff;
  --pulse-magenta: #e900ca;
  --pulse-purple: #7a5de3;
  --pulse-violet: #8f4ade;
  --bg: #0a0a14;
  --bg-elevated: #12121f;
  --bg-card: #16162a;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f0eef6;
  --muted: #9a95b0;
  --accent: var(--pulse-cyan);
  --accent-alt: var(--pulse-magenta);
  --accent-dim: rgba(0, 194, 255, 0.16);
  --accent-glow: rgba(233, 0, 202, 0.2);
  --gradient-pulse: linear-gradient(135deg, var(--pulse-magenta) 0%, var(--pulse-purple) 42%, var(--pulse-cyan) 100%);
  /* Pills: horizontal gradient matches the button’s long axis — avoids 135° corner bleed on rounded caps */
  --gradient-pulse-btn: linear-gradient(90deg, var(--pulse-magenta) 0%, var(--pulse-purple) 50%, var(--pulse-cyan) 100%);
  --gradient-pulse-soft: linear-gradient(160deg, rgba(233, 0, 202, 0.12) 0%, rgba(122, 93, 227, 0.1) 45%, rgba(0, 194, 255, 0.08) 100%);
  --warning: #ffb47c;
  --danger: #ff7c8a;
  --blue: var(--pulse-cyan);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Space below section headings and below lead/blurb copy (one rhythm) */
  --section-copy-gap: clamp(1.25rem, 3vw, 1.75rem);
  /* Horizontal inset reserved beyond safe-area so copy clears fixed .slide-dots (right rail). */
  --slide-dots-clearance: 2.5rem;
}

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

html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(122, 93, 227, 0.06), transparent 50%);
  background-repeat: no-repeat;
  line-height: 1.5;
  overflow: hidden;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

html,
body {
  overscroll-behavior: none;
}

/* Avoid overflow-x + overflow-y: visible on the same element (intro had this via :has):
   browsers can resolve both to auto and show odd edge bands. Containment is uniform on html/body. */

/* One viewport: slides stack; change step = crossfade (no vertical scroll).
   overflow: visible so primary button hover glows are not clipped by the deck. */
.deck {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.deck__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
}

/* Full-viewport slides — stacked, fade in / out */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem min(4vw, 1.5rem) 2.5rem;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.65s cubic-bezier(0.2, 0.85, 0.22, 1);
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  overflow: visible;
}

/*
 * Outgoing slide fades out on top of the incoming one. Without this, the new slide (opacity 0→1)
 * stacks above the old slide and stays transparent — you see the previous slide through it
 * (e.g. Fund “Capital Engine” flashing before Scale paints).
 */
.slide.slide--exiting {
  z-index: 4;
  pointer-events: none;
}

/* Outgoing slide fades with opacity; without this, text still composites with the slide below during the fade. */
.slide.slide--exiting [data-reveal] {
  transition: none !important;
  opacity: 0 !important;
  filter: none !important;
  transform: none !important;
}

.slide .slide__inner {
  width: 100%;
  max-width: min(1120px, 100%);
  margin-inline: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide__inner > * {
  width: 100%;
}

/*
 * Tablet / narrow: same max copy width as pillar slides (2–4) so all slide headlines
 * share one column — avoids wider titles on Nucleus, logos, prism, contact vs Build/Fund/Scale.
 */
@media (max-width: 1024px) {
  .deck .slide > .slide__inner {
    max-width: min(720px, 100%);
  }
}

/* ECG pulse rail: only on #top and #contact (see slide__pulse-ecg in HTML) */
.slide:not(.pillar-slide):not(:has(#nucleus-particles)) > .slide__inner {
  position: relative;
  z-index: 1;
}

.slide__pulse-ecg {
  position: absolute;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  bottom: clamp(5vh, 9vh, 16vh);
  height: clamp(60px, 12vh, 118px);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  /* Blur + glow on wrapper (not masked) so drop-shadow isn’t clipped by mask */
  filter: blur(0.85px) drop-shadow(0 0 12px rgba(0, 194, 255, 0.85)) drop-shadow(0 0 18px rgba(233, 0, 202, 0.55));
}

.slide__pulse-ecg__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Glow follows the path geometry (stroke-dash); --path-len set in main.js */
.slide__pulse-ecg__glow {
  stroke-dasharray: var(--path-len, 1);
  stroke-dashoffset: var(--path-len, 1);
  animation: slidePulseEcgDraw 4.4s cubic-bezier(0.42, 0.08, 0.18, 1) infinite;
  animation-play-state: paused;
}

#top.slide.is-active .slide__pulse-ecg__glow,
#contact.slide.is-active .slide__pulse-ecg__glow {
  animation-play-state: running;
}

/* No persistent trace when this slide isn’t active (paused keyframes can leave a partial stroke) */
.slide:not(.is-active) .slide__pulse-ecg__glow {
  opacity: 0 !important;
}

/*
 * Draw: path-len → 0 (left → right).
 * End: fade opacity with dashoffset held at 0 — if offset animates 0→path-len while visible,
 * the stroke “undraws” right→left. Reset offset only after opacity is 0.
 */
@keyframes slidePulseEcgDraw {
  0% {
    stroke-dashoffset: var(--path-len);
    opacity: 0;
  }
  10% {
    opacity: 0.35;
  }
  18% {
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  56% {
    opacity: 0.45;
    stroke-dashoffset: 0;
  }
  61% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
  64% {
    stroke-dashoffset: var(--path-len);
    opacity: 0;
  }
  100% {
    stroke-dashoffset: var(--path-len);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide__pulse-ecg {
    filter: none;
  }

  .slide__pulse-ecg__glow {
    animation: none !important;
    opacity: 0 !important;
  }
}

.slide-dots {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.10rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide-dots button {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

/* Inactive: soft dot, no border */
.slide-dots button:not(.is-active)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border: none;
  border-radius: 50%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.25s, transform 0.25s var(--ease);
}

.slide-dots button:hover:not(.is-active)::before,
.slide-dots button:focus-visible:not(.is-active)::before {
  background: rgba(0, 194, 255, 0.45);
}

.slide-dots button:hover,
.slide-dots button:focus-visible {
  transform: scale(1.12);
  outline: none;
}

/* Active: atom / neuron — glowing core + orbiting electrons */
.slide-dots button.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--pulse-cyan) 42%, var(--pulse-magenta) 100%);
  box-shadow:
    0 0 10px rgba(0, 194, 255, 0.7),
    0 0 22px rgba(233, 0, 202, 0.4);
  animation: slideDotNeuron 1.75s ease-in-out infinite;
  z-index: 2;
}

.slide-dots button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: transparent;
  /* Three electrons at 120° — orbit radius ~14px */
  box-shadow:
    14px 0 2px 0 rgba(0, 194, 255, 0.95),
    -7px 12.12px 2px 0 rgba(233, 0, 202, 0.9),
    -7px -12.12px 2px 0 rgba(122, 93, 227, 0.9);
  animation: slideDotOrbit 2.8s linear infinite;
  z-index: 1;
}

@keyframes slideDotNeuron {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow:
      0 0 10px rgba(0, 194, 255, 0.7),
      0 0 22px rgba(233, 0, 202, 0.4);
  }
  50% {
    transform: scale(1.08);
    filter: brightness(1.15);
    box-shadow:
      0 0 16px rgba(233, 0, 202, 0.55),
      0 0 26px rgba(0, 194, 255, 0.5);
  }
}

@keyframes slideDotOrbit {
  to {
    transform: rotate(360deg);
  }
}

#top.hero.slide {
  overflow: visible;
}

/* Reduced motion: classic vertical page (must follow .slide so it wins in cascade) */
@media (prefers-reduced-motion: reduce) {
  html,
  body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100%;
    overscroll-behavior: auto;
  }

  .deck {
    position: relative;
    min-height: 100%;
  }

  .deck__track {
    min-height: auto;
  }

  .slide {
    position: relative;
    inset: auto;
    height: auto;
    max-height: none;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    opacity: 1 !important;
    pointer-events: auto;
    z-index: auto;
    transition: none;
  }

  .slide-dots button.is-active::before,
  .slide-dots button.is-active::after {
    animation: none;
  }

  .slide-dots button.is-active::after {
    transform: rotate(120deg);
    opacity: 0.85;
  }
}

@media (max-width: 520px) {
  .slide-dots {
    right: 0.35rem;
    gap: 0.22rem;
  }

  .slide-dots button:not(.is-active)::before {
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
  }
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.muted {
  color: var(--muted);
}

#build .build-lead__trifecta {
  background: var(--gradient-pulse);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.small {
  font-size: 0.85rem;
}

.center {
  text-align: center;
}

.container {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.container.narrow {
  width: min(720px, 100%);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem min(3.5vw, 1.35rem);
  background: linear-gradient(to bottom, rgba(10, 10, 20, 0.94), transparent);
  transition: transform 0.4s var(--ease), opacity 0.4s, padding 0.45s var(--ease), background 0.35s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: min(336px, 90vw);
}

/* Intro + contact: roomier top bar (nav scales) — desktop */
@media (min-width: 1025px) {
  body:has(#top.slide.is-active) .site-header,
  body:has(#contact.slide.is-active) .site-header,
  body:has(#footer-slide.slide.is-active) .site-header {
    padding: 1.5625rem min(3.75vw, 1.65rem);
  }

  body:has(#top.slide.is-active) .nav,
  body:has(#contact.slide.is-active) .nav,
  body:has(#footer-slide.slide.is-active) .nav {
    gap: 1.875rem;
  }

  body:has(#top.slide.is-active) .nav a:not(.btn),
  body:has(#contact.slide.is-active) .nav a:not(.btn),
  body:has(#footer-slide.slide.is-active) .nav a:not(.btn),
  body:has(#top.slide.is-active) .nav .nav-dropdown__summary,
  body:has(#contact.slide.is-active) .nav .nav-dropdown__summary,
  body:has(#footer-slide.slide.is-active) .nav .nav-dropdown__summary {
    font-size: 1.125rem;
  }

  body:has(#top.slide.is-active) .site-header .btn--ghost,
  body:has(#contact.slide.is-active) .site-header .btn--ghost,
  body:has(#footer-slide.slide.is-active) .site-header .btn--ghost {
    font-size: calc(0.9rem * 1.25);
    padding: calc(0.65rem * 1.25) calc(1.25rem * 1.25);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  z-index: 102;
}

.nav-toggle:hover {
  border-color: rgba(0, 194, 255, 0.35);
  background: rgba(122, 93, 227, 0.12);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--pulse-cyan);
  outline-offset: 2px;
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.25s;
  transform-origin: center;
}

body.is-nav-open .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.is-nav-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.is-nav-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--pulse-cyan);
}

/* Our Engines — dropdown (footer-aligned product links) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.nav-dropdown__summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown__summary::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-top: 0.15em;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown[open] .nav-dropdown__summary::after {
  transform: rotate(180deg);
}

.nav-dropdown__summary:hover,
.nav-dropdown__summary:focus-visible {
  color: var(--pulse-cyan);
}

.nav-dropdown__summary:focus-visible {
  outline: 2px solid var(--pulse-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-dropdown__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-dropdown__menu li {
  margin: 0;
}

.nav-dropdown__menu a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  color: var(--pulse-cyan);
}

@media (min-width: 1025px) {
  .nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 13.5rem;
    padding: 0.4rem 0;
    background: rgba(12, 12, 28, 0.97);
    border: 1px solid rgba(122, 93, 227, 0.28);
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    z-index: 110;
  }

  .nav-dropdown__menu a {
    padding: 0.55rem 1.15rem;
  }

  .nav-dropdown__menu a:hover,
  .nav-dropdown__menu a:focus-visible {
    background: rgba(122, 93, 227, 0.1);
  }
}

@media (max-width: 1024px) {
  .nav-dropdown {
    width: 100%;
    max-width: 22rem;
    text-align: center;
  }

  .nav-dropdown__summary {
    justify-content: center;
    font-size: clamp(1.2rem, 4vw, 1.45rem);
    padding: 0.5rem 0;
  }

  .nav-dropdown__menu {
    margin-top: 0.35rem;
    padding-bottom: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
  }
}

/* LinkedIn + X — same URLs as pulse-ai.io */
.site-header__social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.site-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.2rem;
  color: var(--muted);
  transition: color 0.2s;
}

.site-header__social-link:hover {
  color: var(--pulse-cyan);
}

@media (max-width: 1024px) {
  .site-header__social {
    margin-top: 0.75rem;
    margin-left: 0;
    gap: 0.65rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Full-screen takeover: one opaque layer (no separate drawer / dim strip) */
  .nav-backdrop {
    display: none;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    min-height: 100vh;
    margin: 0;
    padding: calc(5rem + env(safe-area-inset-top, 0px)) max(1.5rem, env(safe-area-inset-right))
      max(2rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(122, 93, 227, 0.12), transparent 55%),
      linear-gradient(180deg, #07071a 0%, #0a0a14 40%, #12122a 100%);
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.38s var(--ease), visibility 0.38s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.is-nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a:not(.btn) {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
    padding: 0.5rem 0;
  }

  .nav .nav-dropdown__menu a:not(.btn) {
    font-size: clamp(1.05rem, 3.5vw, 1.25rem);
    padding: 0.35rem 0.75rem;
  }

  .nav .site-header__social-link {
    font-size: 1.35rem;
    padding: 0.35rem;
  }

  .site-header .nav .btn--ghost {
    margin-top: 0.75rem;
    justify-content: center;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .site-header {
    z-index: 102;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--gradient-pulse-btn);
  background-clip: padding-box;
  color: #fff;
  border: 0;
  overflow: hidden;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.btn--primary:hover {
  box-shadow: 0 0 0 4px var(--accent-dim), 0 0 24px rgba(122, 93, 227, 0.35), 0 12px 40px rgba(0, 0, 0, 0.35);
}

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

.btn--ghost:hover {
  border-color: rgba(0, 194, 255, 0.45);
  background: rgba(122, 93, 227, 0.08);
  color: var(--text);
}

.btn--large {
  padding: 1.05rem 2.25rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Touch / coarse pointer: comfortable targets; hover-only affordances stay on desktop */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 0.7rem 1.4rem;
    -webkit-tap-highlight-color: transparent;
  }

  .btn--large {
    min-height: 52px;
    padding: 1.1rem 2rem;
  }

  .slide-dots button {
    width: 40px;
    height: 40px;
    -webkit-tap-highlight-color: transparent;
  }

  .hero__pillar-badge,
  .pillar-badge-btn {
    min-height: 44px;
    min-width: 44px;
    padding-inline: 1rem;
    -webkit-tap-highlight-color: transparent;
  }

  .link-arrow {
    padding: 0.35rem 0.15rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header__social-link {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem min(4vw, 1.5rem) 2.5rem;
  position: relative;
}

.hero.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  padding: 5.5rem min(4vw, 1.5rem) max(3.5rem, 6vh);
}

/* Asymmetric horizontal inset: reserve space for fixed .slide-dots + safe areas (must follow .slide / .hero.slide). */
@media (max-width: 1024px) {
  .slide,
  .section.slide {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(
      2.85rem,
      calc(0.65rem + env(safe-area-inset-right, 0px) + var(--slide-dots-clearance))
    );
  }

  .hero.slide {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(
      2.85rem,
      calc(0.65rem + env(safe-area-inset-right, 0px) + var(--slide-dots-clearance))
    );
  }
}

@media (max-width: 520px) {
  .slide,
  .section.slide {
    padding-left: max(0.875rem, env(safe-area-inset-left, 0px));
    padding-right: max(
      2.65rem,
      calc(0.35rem + env(safe-area-inset-right, 0px) + var(--slide-dots-clearance))
    );
    padding-top: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 3.65rem));
    padding-bottom: max(1.75rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  }

  .hero.slide {
    padding-left: max(0.875rem, env(safe-area-inset-left, 0px));
    padding-right: max(
      2.65rem,
      calc(0.35rem + env(safe-area-inset-right, 0px) + var(--slide-dots-clearance))
    );
    padding-top: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 3.65rem));
    padding-bottom: max(2.25rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem));
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -15%, rgba(233, 0, 202, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 40%, rgba(0, 194, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(122, 93, 227, 0.1), transparent 45%);
  pointer-events: none;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero__scroll-hint span {
  display: inline-block;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
}

.contact__start-hint a {
  color: inherit;
  text-decoration: none;
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  align-items: center;
}

.hero__eyebrow {
  margin: 0 auto clamp(0.85rem, 2.2vw, 1.35rem);
  max-width: min(38rem, 100%);
  text-transform: none;
  letter-spacing: 0.06em;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(200, 195, 218, 1) !important;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(122, 93, 227, 0.2);
  color: var(--pulse-cyan);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 6rem);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
  overflow: visible;
}

.hero__line {
  display: block;
  overflow: visible;
  padding-bottom: 0.06em;
}

.hero__line--accent {
  font-style: italic;
  background: var(--gradient-pulse);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.18em;
  /* Extra room for descenders with gradient text */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__line--accent .hero__title-bullet {
  font-size: 0.48em;
  vertical-align: 0.22em;
  padding: 0 0.12em;
  font-style: italic;
  background: var(--gradient-pulse);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Slide 1 intro: roman headline; bullets solid white (not gradient) */
#top .hero__line--accent {
  font-style: normal;
}

#top .hero__line--accent .hero__title-bullet {
  font-style: normal;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

/* Hero film slide: headline continues from slide 1 → docks left; video fades in */
.hero-video-slide {
  background: #07070f;
}

.hero-video-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 15% 45%, rgba(122, 93, 227, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 50% at 90% 50%, rgba(0, 194, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-video-slide .slide__inner.hero-split {
  max-width: min(1320px, 96vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  text-align: center;
}

.hero-split__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-self: stretch;
  min-width: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

.hero-video-slide:not(.is-active) .hero-split__left {
  animation: none;
  opacity: 0;
  transform: translate3d(22vw, 0, 0) scale(2.05);
}

.hero-video-slide.is-active .hero-split__left {
  animation: heroTitleDock 1s cubic-bezier(0.2, 0.85, 0.22, 1) 0.06s forwards;
}

/* Final type size on slide 2 (animation scales up from here to match slide 1, then settles) */
.hero-video-slide .hero__title--split {
  font-size: clamp(1.35rem, 2.75vw, 2.85rem);
  line-height: 1.12;
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: center;
}

.hero-video-slide .hero__line--nowrap {
  white-space: nowrap;
}

@keyframes heroTitleDock {
  from {
    opacity: 0.45;
    transform: translate3d(18vw, 0, 0) scale(2.05);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero-split__right {
  min-width: 0;
  width: 100%;
}

.hero-split__video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(12, 12, 22, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 0.75s ease 0.38s;
}

.hero-video-slide:not(.is-active) .hero-split__video-wrap {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-video-slide.is-active .hero-split__video-wrap {
  opacity: 1;
}

.hero-split__video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(64vh, 580px);
  object-fit: cover;
  vertical-align: middle;
}

.hero-split__video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  pointer-events: none;
}

.hero-split__video-fallback code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pulse-cyan);
}

@media (max-width: 720px) {
  .hero-video-slide .slide__inner.hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .hero-split__left {
    align-items: center;
    justify-self: center;
    transform-origin: center center;
  }

  .hero-video-slide .hero__title--split {
    max-width: none;
    margin-inline: auto;
    text-align: center;
  }

  .hero-video-slide .hero__line--nowrap {
    white-space: normal;
  }

  .hero-video-slide.is-active .hero-split__left {
    animation-name: heroTitleDockMobile;
  }

  @keyframes heroTitleDockMobile {
    from {
      opacity: 0.4;
      transform: translate3d(0, 18px, 0) scale(1.65);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-slide:not(.is-active) .hero-split__left {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .hero-video-slide.is-active .hero-split__left {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    animation: none;
  }

  .hero-video-slide:not(.is-active) .hero-split__video-wrap {
    opacity: 0;
  }

  .hero-video-slide.is-active .hero-split__video-wrap {
    opacity: 1;
    transition: none;
  }
}

body.deck-slide--video .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Sections */
.section {
  padding: clamp(4rem, 12vw, 8rem) 0;
  position: relative;
}

.section.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  padding: 5.5rem min(4vw, 1.5rem) 2.5rem;
}

.section--dark {
  background: #07071a;
}

.section--muted {
  background: linear-gradient(180deg, #0a0a14 0%, #12122a 50%, #0a0a14 100%);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 auto var(--section-copy-gap);
}

.section__title.center {
  margin-left: auto;
  margin-right: auto;
}

.slide .section__title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.slide .section__lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Slide 6 — Nucleus: particles.js canvas layer */
.nucleus-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#nucleus .slide__inner {
  position: relative;
  z-index: 1;
}

/* Match pillar slides (2–4): lead → CTA gap = .pillar-slide__lead margin only, no extra actions offset. */
#nucleus .slide__inner .section__lead {
  margin-bottom: clamp(2rem, 5.5vw, 3.25rem);
}

.nucleus-slide__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0;
}

/* Nucleus headline: slot-machine word strip (motion path only) */
.nucleus-slot-wrap {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Optical align with Instrument Serif “The … layer” (+0.03em nudge down). */
#nucleus .nucleus-slot-wrap {
  vertical-align: baseline;
  transform: translateY(0.03em);
}

.nucleus-slot--static {
  display: none;
}

.nucleus-slot--motion {
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  height: 1.2em;
  line-height: 1.2;
  text-align: center;
  margin: 0 0.12em;
  /* Match parent headline metrics so slot sits in the same line box as “The … layer”. */
  font: inherit;
}

.nucleus-slot__strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.09s linear;
  will-change: transform;
}

.nucleus-slot__strip.is-slowing {
  transition: transform 0.62s cubic-bezier(0.18, 0.82, 0.22, 1);
}

.nucleus-slot__word {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 1.2em;
  line-height: 1.2;
  font: inherit;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .nucleus-slot--motion {
    display: none !important;
  }

  .nucleus-slot--static {
    display: inline !important;
  }
}

.studio-slide--intro .section__title,
.logos-slide--combined .section__title:not(.pillar-slide__title) {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 1.2;
}

/* Integrations headline: match Scale / Market Strike (pillar metrics), not studio intro sizing */
.logos-slide--combined .section__title.pillar-slide__title {
  font-size: clamp(1.85rem, 4.2vw, 4rem);
  line-height: 1.18;
  margin-bottom: clamp(1.75rem, 4.5vw, 2.75rem);
}

/* Tablet: display > body > eyebrow/labels; keeps hierarchy under desktop caps */
@media (min-width: 641px) and (max-width: 1024px) {
  .slide .section__title {
    font-size: clamp(1.65rem, 3.5vw, 2.95rem);
    line-height: 1.17;
  }

  .studio-slide--intro .section__title,
  .logos-slide--combined .section__title:not(.pillar-slide__title) {
    font-size: clamp(1.78rem, 3.75vw, 3.1rem);
    line-height: 1.2;
  }

  .pillar-slide__title,
  .logos-slide--combined .section__title.pillar-slide__title {
    font-size: clamp(1.58rem, 3.35vw, 2.85rem);
    line-height: 1.18;
  }

  .hero__title {
    font-size: clamp(1.9rem, 4vw, 4.25rem);
    line-height: 1.09;
  }

  .hero__eyebrow {
    font-size: clamp(0.95rem, 2.15vw, 1.2rem);
    line-height: 1.45;
  }

  .slide .eyebrow:not(.hero__eyebrow) {
    font-size: clamp(0.78rem, 1.5vw, 0.9rem);
    letter-spacing: 0.16em;
  }

  .slide .section__lead,
  .pillar-slide__lead {
    font-size: clamp(1.02rem, 2.15vw, 1.2rem);
    line-height: 1.6;
    max-width: min(42rem, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  #contact.slide .section__title {
    font-size: clamp(1.88rem, 4vw, 3.35rem);
    line-height: 1.1;
  }

  .prism-intro .prism-title {
    font-size: clamp(1.85rem, 3.6vw, 3rem);
  }
}

/* Mobile / narrow: readable type scale, balanced wraps, no vw overflow past slide gutters */
@media (max-width: 640px) {
  :root {
    --section-copy-gap: clamp(1rem, 2.8vw, 1.55rem);
  }

  .slide .section__title {
    font-size: clamp(1.5rem, 10vw, 2.85rem);
    line-height: 1.18;
    max-width: 100%;
    overflow-wrap: break-word;
    padding-inline: 0.125rem;
  }

  .logos-slide--combined .section__title.pillar-slide__title {
    font-size: clamp(1.5rem, 10vw, 2.85rem);
    line-height: 1.18;
    max-width: 100%;
    overflow-wrap: break-word;
    padding-inline: 0.125rem;
  }

  .slide .section__lead {
    font-size: clamp(1rem, 4.1vw, 1.18rem);
    font-weight: 300;
    line-height: 1.58;
    letter-spacing: 0.01em;
    max-width: min(30rem, calc(100% - 0.5rem));
    margin-bottom: clamp(1.35rem, 5vw, 2.25rem);
  }

  /* Pillar slides: slightly narrower measure + space before CTA */
  .slide .section__lead.pillar-slide__lead {
    max-width: min(28.5rem, calc(100% - 0.5rem));
    margin-bottom: clamp(1.5rem, 5.5vw, 2.5rem);
  }

  .slide .section__lead.hero__lead {
    max-width: min(32rem, calc(100% - 0.5rem));
    margin-bottom: clamp(1.5rem, 5vw, 2.35rem);
  }

  #nucleus .slide__inner .section__lead {
    margin-bottom: clamp(1.5rem, 5.5vw, 2.5rem);
  }

  .hero__title {
    font-size: clamp(1.65rem, 10vw, 6rem);
    line-height: 1.08;
  }

  .hero__eyebrow {
    max-width: 100%;
    font-size: clamp(0.92rem, 3.6vw, 1.2rem);
  }

  .hero__lead,
  .section__lead.hero__lead {
    max-width: 100%;
  }
}

@supports (text-wrap: balance) {
  @media (max-width: 640px) {
    .slide .section__title,
    .slide .hero__title {
      text-wrap: balance;
    }

    .slide .section__lead {
      text-wrap: pretty;
    }
  }
}

.accent {
  background: var(--gradient-pulse);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.section__lead {
  font-size: clamp(1rem, 2.05vw, 1.28rem);
  font-weight: 200;
  line-height: 1.65;
  color: rgba(200, 195, 218, 0.72);
  max-width: min(48rem, 100%);
  margin: 0 0 50px;
}

.section__lead.center {
  margin-left: auto;
  margin-right: auto;
}

/* Competitors storyline (slides 4–5): fixed layer so headline does not crossfade — it moves up when expanding */
.competitors-slide--bg-only {
  min-height: 40vh;
}

.competitors-floating {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 5.5rem min(4vw, 1.5rem) 2.5rem;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.85, 0.22, 1),
    visibility 0.55s step-end;
}

body.deck-slide--competitors .competitors-floating {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.85, 0.22, 1),
    visibility 0s;
}

body.deck-slide--competitors-expanded .competitors-floating {
  pointer-events: auto;
}

.competitors-floating__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
}

.competitors-floating .competitors-slide__headline {
  margin: 0;
  max-width: none;
  line-height: 1.2;
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
}

.competitors-floating__after {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.65s cubic-bezier(0.2, 0.85, 0.22, 1),
    opacity 0.5s cubic-bezier(0.2, 0.85, 0.22, 1),
    margin 0.65s cubic-bezier(0.2, 0.85, 0.22, 1);
}

body.deck-slide--competitors-expanded .competitors-floating__after {
  max-height: 14rem;
  opacity: 1;
  margin-top: 1.5rem;
  overflow: visible;
}

.competitors-floating .competitors-slide__follow {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  margin: 0 auto;
  max-width: 40ch;
  text-align: center;
}

.competitors-floating .competitors-slide__actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .competitors-floating {
    transition: opacity 0.2s ease, visibility 0.2s;
  }

  .competitors-floating__after {
    transition: opacity 0.2s ease;
  }

  body.deck-slide--competitors-expanded .competitors-floating__after {
    max-height: none;
  }
}

/* Sprint */
.section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 20% 40%, rgba(124, 180, 255, 0.06), transparent);
  pointer-events: none;
}

.sprint .container {
  position: relative;
  z-index: 1;
}

.sprint__layout {
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 900px) {
  .slide .sprint__layout {
    justify-items: center;
    max-width: 1000px;
    margin-inline: auto;
  }
}

.sprint__board {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.sprint__board:hover {
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.55);
}

.sprint__board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.sprint__meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.sprint__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem;
}

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

.sprint__col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.sprint__col h3 em {
  font-style: normal;
  color: var(--text);
}

.card {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 194, 255, 0.25);
  transform: translateY(-2px);
}

.card .tag {
  display: inline-block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-right: 0.35rem;
}

.card--bug .tag {
  color: var(--danger);
}

.card--muted {
  opacity: 0.55;
}

.card .id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
}

.card p {
  margin: 0.35rem 0;
}

.card .pts {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Category split */
.split {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
  justify-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    justify-items: stretch;
    max-width: 1000px;
    margin-inline: auto;
  }
}

.slide .split__panel {
  text-align: center;
}

.slide .checklist li {
  padding-left: 0;
}

.slide .checklist li::before {
  display: none;
}

.slide .native-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-left: 0;
  flex-wrap: wrap;
  text-align: center;
}

.slide .native-list li::before {
  position: static;
  margin: 0;
  flex-shrink: 0;
}

.split__panel h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1rem;
}

.split__panel--trad h3 {
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.checklist li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border);
}

.ui-mock {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  background: linear-gradient(145deg, #14141c, #0c0c10);
  transition: transform 0.4s var(--ease);
}

.ui-mock__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.65rem;
  background: rgba(0, 194, 255, 0.12);
  color: var(--accent);
}

.pill--new small {
  font-size: 0.55rem;
  opacity: 0.8;
}

.pill--beta {
  background: rgba(122, 93, 227, 0.22);
  color: var(--pulse-cyan);
}

.ui-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat {
  font-size: 0.7rem;
}

.stat span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.stat strong {
  font-size: 1rem;
  font-weight: 600;
}

.ui-mock__tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ui-mock__tabs span {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--muted);
  cursor: default;
}

.ui-mock__tabs .on {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.mini-table {
  width: 100%;
  font-size: 0.65rem;
  border-collapse: collapse;
  margin-bottom: 1rem;
  color: var(--muted);
}

.mini-table th,
.mini-table td {
  text-align: left;
  padding: 0.35rem 0.25rem;
  border-bottom: 1px solid var(--border);
}

.slide .mini-table th,
.slide .mini-table td {
  text-align: center;
}

.copilot {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.copilot p {
  margin: 0.5rem 0;
  font-size: 0.8rem;
}

.copilot__input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--muted);
}

.copilot__input button {
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.ui-mock__punch {
  margin: 0.75rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--danger);
  font-size: 1rem;
}

.native-lead {
  color: var(--accent);
  margin: 0 0 1rem;
}

.native-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.native-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.5rem;
  position: relative;
}

.native-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* Compare */
.compare__grid {
  display: grid;
  gap: 1.5rem;
  margin-inline: auto;
  max-width: 920px;
}

@media (min-width: 800px) {
  .compare__grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.compare__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: rgba(22, 22, 31, 0.5);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.compare__card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.compare__card--highlight {
  background: linear-gradient(160deg, rgba(0, 194, 255, 0.08), rgba(22, 22, 31, 0.8));
  border-color: rgba(0, 194, 255, 0.2);
}

.compare__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.compare__card ul {
  list-style: none;
  padding: 1rem 0 0;
  margin: 0;
  font-size: 0.9rem;
}

.compare__card li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.compare__card li strong {
  color: var(--text);
  margin-right: 0.35rem;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 194, 255, 0);
  }
}

.live-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.85rem;
}

.live-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}

.live-list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.pattern,
.adapt {
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.pattern strong,
.adapt strong {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.adapt .arrow {
  color: var(--warning);
}

.deploy {
  font-size: 0.85rem;
}

.deploy .ok {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Studio */
.services {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--section-copy-gap);
  display: grid;
  gap: 0.75rem;
  max-width: 40ch;
  justify-items: stretch;
}

@media (min-width: 600px) {
  .services {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

.services li {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.services li:hover {
  border-color: rgba(0, 194, 255, 0.25);
  background: rgba(0, 194, 255, 0.04);
}

/* Studio: capability tiles (2×2 or 3-across with .services--tiles--three) */
.services--tiles {
  max-width: min(720px, 100%);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.services--tiles li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3.5rem;
  padding: 1rem 1.35rem;
  border-radius: 12px;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 600px) {
  .services--tiles {
    gap: 1rem 1.25rem;
  }

  .services.services--tiles.services--tiles--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: min(920px, 96vw);
  }
}

.studio-live__inner {
  max-width: min(920px, 96vw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1rem, 3vh, 1.75rem);
}

.studio-live__inner .services--tiles {
  margin-bottom: 0;
}

.studio-live__inner .live-panel {
  margin-bottom: 0;
}

.live-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 194, 255, 0.25);
  padding: 1.25rem;
  background: #0e1014;
  margin: 0 auto var(--section-copy-gap);
  max-width: 680px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease);
}

.live-panel--infographic {
  max-width: min(920px, 96vw);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(0, 194, 255, 0.22);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(122, 93, 227, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 194, 255, 0.08), transparent 50%),
    linear-gradient(165deg, #0a0c12 0%, #0e1018 48%, #0a0d14 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 56px rgba(0, 0, 0, 0.45);
}

.live-panel__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 70%);
  pointer-events: none;
}

.live-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(0, 194, 255, 0.04) 50%, transparent 60%);
  animation: sheen 8s linear infinite;
  pointer-events: none;
}

@keyframes sheen {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.live-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.live-panel__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0;
}

.live-panel__tagline {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.65);
  animation: pulse 2s ease infinite;
}

.live-panel__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .live-panel__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.live-metric {
  position: relative;
  padding: 0.85rem 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
  overflow: hidden;
}

.live-metric__accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--gradient-pulse-btn);
  opacity: 0.9;
}

.live-metric:nth-child(2) .live-metric__accent {
  filter: hue-rotate(-12deg);
}

.live-metric:nth-child(3) .live-metric__accent {
  filter: hue-rotate(18deg);
}

.live-metric:nth-child(4) .live-metric__accent {
  filter: hue-rotate(35deg);
}

.live-metric__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.live-metric__value {
  display: block;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #fff 0%, rgba(240, 238, 246, 0.88) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.live-metric__spark {
  display: block;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.5), rgba(233, 0, 202, 0.45), transparent);
  opacity: 0.75;
}

.live-panel__pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 1;
}

.live-pipeline__node {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 194, 255, 0.25);
  background: rgba(0, 194, 255, 0.06);
  color: var(--pulse-cyan);
}

.live-pipeline__arrow {
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  position: relative;
}

.live-pipeline__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -3px;
  border-left: 5px solid rgba(255, 255, 255, 0.35);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.live-panel__insights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  text-align: left;
  width: 100%;
}

.live-insight {
  display: grid;
  grid-template-columns: minmax(4.5rem, 22%) 1fr;
  gap: 0.65rem 1rem;
  align-items: baseline;
  justify-items: start;
  position: relative;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: left;
}

.live-insight::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 3px;
  border-radius: 2px;
  background: var(--gradient-pulse-btn);
  opacity: 0.95;
}

.live-insight__key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: left;
  padding-left: 0.45rem;
  padding-right: 0.35rem;
}

.live-insight__val {
  color: var(--muted);
  text-align: left;
}

@media (max-width: 480px) {
  .live-insight {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.live-panel__agent {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(122, 93, 227, 0.08));
  border: 1px solid rgba(0, 194, 255, 0.22);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.live-panel__agent-copy {
  min-width: 0;
  text-align: center;
}

.live-panel__agent-copy strong {
  display: block;
  font-size: 0.88rem;
}

.live-panel__agent-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.live-panel__foot {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.manifesto {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  line-height: 1.2;
  max-width: 28ch;
  margin-inline: auto;
  text-align: center;
}

.manifesto em {
  font-style: italic;
  background: var(--gradient-pulse);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.12em;
  box-decoration-break: clone;
}

/* Logos — Case Studies: top copy + bottom (marquee, caption) */
.logos-slide--combined .logos-slide--combined__inner {
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(1.5rem, 4vh, 2.75rem);
  padding-top: clamp(0.25rem, 1.5vh, 1rem);
}

.logos-slide--combined__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logos-slide--combined__logomark {
  line-height: 0;
  margin-bottom: clamp(1.75rem, 5vh, 3.25rem);
}

.logos-slide--combined__logomark img {
  display: block;
  height: clamp(4.65rem, 13.5vw, 7rem);
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 18px rgba(122, 93, 227, 0.28));
}

.logos-slide--combined__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0s;
  pointer-events: none;
}

.logos-slide--combined.is-active .logos-slide--combined__bottom {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.42s, 0.42s;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .logos-slide--combined__bottom {
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
  }

  .logos-slide--combined.is-active .logos-slide--combined__bottom {
    transition-delay: 0s;
  }
}

.logo-marquee {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  flex-shrink: 0;
}

.logo-marquee__viewport {
  overflow: hidden;
  width: 100%;
  padding-block: 0.75rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee-ltr 42s linear infinite;
}

.logo-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem clamp(2rem, 5vw, 4rem);
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.logo-marquee__item {
  flex-shrink: 0;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
  white-space: nowrap;
  transition: color 0.2s, opacity 0.2s;
}

.logo-marquee__item--logo {
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  opacity: 1;
}

.logo-marquee__logo {
  display: block;
  height: clamp(26px, 3.8vw, 40px);
  width: auto;
  max-width: min(148px, 24vw);
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s, filter 0.2s;
}

/* Dark UI (default Clients slide): grayscale → light monochrome on --bg */
.logos-slide--combined .logo-marquee__logo {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.76;
}

.logos-slide--combined .logo-marquee:hover .logo-marquee__item--logo {
  opacity: 1;
}

.logos-slide--combined .logo-marquee__item--logo:hover .logo-marquee__logo {
  opacity: 0.94;
  filter: grayscale(1) brightness(0) invert(1) brightness(1.12);
}

/* Light / white surfaces: dark monochrome — add class logo-marquee--on-light on the marquee (beats .logos-slide--combined when both apply) */
.logo-marquee--on-light .logo-marquee__logo,
.logos-slide--combined .logo-marquee--on-light .logo-marquee__logo {
  filter: grayscale(1) contrast(1.05) brightness(0.42);
  opacity: 0.82;
}

.logo-marquee--on-light .logo-marquee__item--logo:hover .logo-marquee__logo,
.logos-slide--combined .logo-marquee--on-light .logo-marquee__item--logo:hover .logo-marquee__logo {
  opacity: 0.95;
  filter: grayscale(1) contrast(1.08) brightness(0.38);
}

.logo-marquee:hover .logo-marquee__item {
  opacity: 0.95;
}

.logo-marquee__item:hover {
  color: var(--text);
  opacity: 1;
}

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

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation-duration: 180s;
  }
}

.link-arrow {
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s, color 0.2s;
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Prism report: mark above “Our system” + slide-4 headline scale */
.prism-intro {
  text-align: center;
  width: 100%;
}

.prism-intro__copy {
  width: 100%;
}

.prism-logomark-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto calc(var(--section-copy-gap) * 0.45);
}

.prism-logomark {
  width: clamp(40px, 10vw, 56px);
  height: auto;
  display: block;
  transform-origin: center center;
}

/* Pulse Lab intro: fixed bridge carries logomark (large fade → header); copy can show during flight */
body.deck--logomark-bridge #report.slide.is-active {
  opacity: 1 !important;
  pointer-events: none;
  transition: opacity 0s !important;
}

/* In-slide mark hidden while fixed bridge carries the logo (forward) */
body.deck--logomark-bridge #report.slide.is-active .prism-logomark-wrap {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

/* Don’t run prism-logomark-enter on the real img during flight — avoids jump vs bridge */
body.deck--logomark-bridge #report.slide.is-active .prism-logomark {
  animation: none !important;
  opacity: 1;
  transform: none;
}

.logomark-bridge {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  box-sizing: border-box;
}

.logomark-bridge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 48px rgba(122, 93, 227, 0.2));
}

#report.slide.is-active .prism-intro:has(.prism-intro__copy.is-visible) .prism-logomark {
  animation: prism-logomark-enter 0.95s cubic-bezier(0.2, 0.85, 0.22, 1) both;
}

#report.logomark-bridge-landed.slide.is-active .prism-intro:has(.prism-intro__copy.is-visible) .prism-logomark {
  animation: none !important;
  opacity: 1;
  transform: none;
}

@keyframes prism-logomark-enter {
  from {
    opacity: 0.55;
    transform: scale(4.5) translateY(14vh);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #report.slide.is-active .prism-intro:has(.prism-intro__copy.is-visible) .prism-logomark {
    animation: none;
  }
}

.prism-intro .eyebrow {
  margin-top: 0;
}

.prism-intro .prism-title {
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  line-height: 1.2;
}

/* Case studies slide: match deck headline scale on phones (base rule above wins later without this). */
@media (max-width: 640px) {
  #report.slide .prism-intro .prism-title {
    font-size: clamp(1.5rem, 10vw, 2.85rem);
    line-height: 1.18;
  }
}

/* PRISM steps */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 calc(var(--section-copy-gap) * 0.42);
}

.eyebrow-sm {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 calc(var(--section-copy-gap) * 0.42);
}

.steps {
  list-style: none;
  padding: 0;
  margin: var(--section-copy-gap) auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  max-width: 100%;
  width: 100%;
  align-items: start;
}

.steps--case-studies {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps--case-studies li {
  align-items: stretch;
}

.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.steps li:hover {
  border-color: rgba(0, 194, 255, 0.2);
  transform: translateY(-3px);
}

.steps__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
  text-align: center;
  width: 100%;
}

.steps h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(0.75rem, 1.65vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
  width: 100%;
}

.steps p {
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: clamp(0.75rem, 1.35vw, 0.95rem);
  line-height: 1.45;
}

.case-study__stats {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0.5rem;
  margin: clamp(1.1rem, 2.8vw, 1.65rem) 0 0;
}

/* Match pillar slide hero badge colors (slides 2–5: build, scale, sell, fund) */
.case-study__badge {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.55em 0.85em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.25vw, 0.82rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid transparent;
}

.case-study__badge--build {
  color: var(--pulse-cyan);
  border-color: rgba(0, 194, 255, 0.65);
  background: rgba(0, 194, 255, 0.1);
  box-shadow: 0 0 24px rgba(0, 194, 255, 0.18);
}

.case-study__badge--scale {
  color: #b8a6ff;
  border-color: rgba(122, 93, 227, 0.65);
  background: rgba(122, 93, 227, 0.12);
  box-shadow: 0 0 24px rgba(122, 93, 227, 0.22);
}

.case-study__badge--sell {
  color: #d4c4ff;
  border-color: rgba(196, 168, 255, 0.55);
  background: rgba(196, 168, 255, 0.08);
  box-shadow: 0 0 24px rgba(196, 168, 255, 0.15);
}

.case-study__badge--fund {
  color: var(--pulse-magenta);
  border-color: rgba(233, 0, 202, 0.55);
  background: rgba(233, 0, 202, 0.1);
  box-shadow: 0 0 24px rgba(233, 0, 202, 0.18);
}

.case-study__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: clamp(0.72rem, 1.25vw, 0.88rem);
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 194, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.case-study__link:hover {
  color: #fff;
  border-bottom-color: rgba(0, 194, 255, 0.65);
}

@media (max-width: 900px) {
  .steps--case-studies {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: repeat(4, minmax(4.5rem, 1fr));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 0.5rem;
    margin-inline: max(-1rem, -2vw);
    padding-inline: 0.5rem;
    padding-bottom: 0.35rem;
  }

  .steps--case-studies {
    grid-template-columns: 1fr;
    max-width: none;
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .steps li {
    padding: 0.85rem 0.35rem;
  }
}

/* Quote */
blockquote {
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  line-height: 1.2;
  text-align: center;
}

blockquote p {
  margin: 0 0 0.5rem;
}

blockquote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--muted);
}

/* Contact — same radial backdrop as intro (#top.hero) */
#contact.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -15%, rgba(233, 0, 202, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 40%, rgba(0, 194, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(122, 93, 227, 0.1), transparent 45%);
  pointer-events: none;
}

#contact.slide .slide__inner {
  position: relative;
  z-index: 1;
}

#contact.slide > .hero__scroll-hint {
  z-index: 1;
}

#contact.slide .section__title {
  font-size: clamp(2rem, 5vw, 6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  padding: 0.06em 0 0;
  overflow: visible;
}

/* CTA — button intrinsic width (slide__inner children default to 100% wide) */
#contact.slide .slide__inner > .btn {
  width: auto;
  max-width: 100%;
}

#contact.slide .contact__cta-end {
  margin-top: 0.35rem;
}

/* End slide: pulse-ai.io site footer (separate deck step after Contact) */
#footer-slide.slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 5.5rem min(4vw, 1.75rem) clamp(2rem, 5vh, 3rem);
}

@media (max-width: 1024px) {
  #footer-slide.slide {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(
      2.85rem,
      calc(0.65rem + env(safe-area-inset-right, 0px) + var(--slide-dots-clearance))
    );
  }
}

@media (max-width: 520px) {
  #footer-slide.slide {
    padding-left: max(0.875rem, env(safe-area-inset-left, 0px));
    padding-right: max(
      2.65rem,
      calc(0.35rem + env(safe-area-inset-right, 0px) + var(--slide-dots-clearance))
    );
  }
}

#footer-slide.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -15%, rgba(233, 0, 202, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 40%, rgba(0, 194, 255, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(122, 93, 227, 0.08), transparent 45%);
  pointer-events: none;
}

#footer-slide.slide .pulse-site-footer {
  position: relative;
  z-index: 1;
}

.pulse-site-footer {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(1.15rem, 3vw, 1.85rem) min(4vw, 1.75rem) clamp(1rem, 2.5vw, 1.5rem);
  opacity: 0;
  transition: opacity 0.55s ease 0.18s;
  pointer-events: none;
}

#footer-slide.slide.is-active .pulse-site-footer {
  opacity: 1;
  pointer-events: auto;
}

.pulse-site-footer__inner {
  max-width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.35rem, 3.2vw, 2rem);
}

.pulse-site-footer__mark {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(0.25rem, 1.2vw, 0.5rem);
}

.pulse-site-footer__logomark {
  display: block;
  line-height: 0;
}

.pulse-site-footer__logomark img {
  display: block;
  height: clamp(4.75rem, 14vw, 7.5rem);
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 26px rgba(122, 93, 227, 0.32));
}

.pulse-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.pulse-site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.pulse-site-footer__social-link:hover {
  color: var(--pulse-cyan);
}

.pulse-site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  margin-top: clamp(1.35rem, 3.5vw, 2.1rem);
  padding-top: clamp(1rem, 2.6vw, 1.45rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.pulse-site-footer__legal {
  margin: 0;
  font-size: clamp(0.82rem, 1.65vw, 0.95rem);
  color: var(--muted);
  font-family: var(--font-mono);
}

.pulse-site-footer__privacy {
  font-size: clamp(0.82rem, 1.65vw, 0.95rem);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
}

.pulse-site-footer__privacy:hover {
  color: var(--text);
}

.pulse-site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 3vw, 1.75rem);
  text-align: center;
}

.pulse-site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 900px) {
  .pulse-site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pulse-site-footer__cols {
    grid-template-columns: 1fr;
  }
}

.pulse-site-footer__heading {
  font-size: clamp(0.72rem, 1.35vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.7rem;
  font-family: var(--font-mono);
}

.pulse-site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.52rem;
  width: 100%;
}

.pulse-site-footer__list a {
  font-size: clamp(0.9rem, 1.85vw, 1.05rem);
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

.pulse-site-footer__list a:hover {
  opacity: 1;
  color: var(--pulse-cyan);
}

@media (prefers-reduced-motion: reduce) {
  .pulse-site-footer {
    transition: none;
  }
}

.cta {
  padding-bottom: 2rem;
}

/* Reveal: soft lift + blur → crisp (JS toggles .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 52px, 0) scale(0.97);
  filter: blur(10px);
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.logos-slide--combined .logos-slide--combined__top[data-reveal]:not(.is-visible) {
  transform: translate3d(0, 22px, 0) scale(0.98);
}

[data-parallax],
[data-parallax-bg] {
  will-change: transform;
}


/* Pillar slides (Build / Scale / Sell / Fund) */
.pillar-slide {
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(122, 93, 227, 0.07), transparent 55%);
}

.pillar-slide__inner {
  max-width: min(720px, 100%);
  text-align: center;
}

.pillar-slide__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(0.65rem, 1.8vw, 1.1rem);
  margin-bottom: clamp(0.85rem, 2.2vw, 1.4rem);
  max-width: 100%;
}

/* Reveal with text: opacity + lift; skip blur on wrapper (blur can break FA glyphs). */
.pillar-slide__icon[data-reveal] {
  filter: none;
}

.pillar-slide__icon-glyph {
  font-size: clamp(2.35rem, 5.2vw, 3.15rem);
  line-height: 1;
  font-style: normal;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
}

/*
 * Scale slide: same base [data-reveal] motion as other pillars (avoids a harsh jump from Fund).
 * Headline tail only: extra blur → sharp.
 */
/* Scale headline tail: blur → sharp (stronger than the default slide reveal) */
#scale .pillar-slide__inner .pillar-slide__scale-tail[data-reveal],
#integrations .pillar-slide__scale-tail[data-reveal] {
  display: inline-block;
  vertical-align: baseline;
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.34, 1.45, 0.52, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#scale .pillar-slide__inner .pillar-slide__scale-tail[data-reveal]:not(.is-visible),
#integrations .pillar-slide__scale-tail[data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.98);
  filter: blur(22px);
}

#scale .pillar-slide__inner .pillar-slide__scale-tail[data-reveal].is-visible,
#integrations .pillar-slide__scale-tail[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  #scale .pillar-slide__inner .pillar-slide__scale-tail[data-reveal],
  #integrations .pillar-slide__scale-tail[data-reveal] {
    transition: opacity 0.2s ease;
  }

  #scale .pillar-slide__inner .pillar-slide__scale-tail[data-reveal]:not(.is-visible),
  #integrations .pillar-slide__scale-tail[data-reveal]:not(.is-visible) {
    filter: none;
    transform: none;
  }
}

.pillar-slide--sell .pillar-slide__icon-glyph {
  color: #d4c4ff;
  filter: drop-shadow(0 0 12px rgba(196, 168, 255, 0.24));
}

.pillar-slide__title {
  font-size: clamp(1.85rem, 4.2vw, 4rem);
  line-height: 1.18;
  margin-bottom: clamp(1.75rem, 4.5vw, 2.75rem);
}

.pillar-slide__title .accent {
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Fund slide: primary line, then • + typewriter tail */
#fund .pillar-slide__title--fund {
  display: inline-block;
}

#fund .pillar-slide__title-fund-primary,
#fund .pillar-slide__title-fund-tail {
  display: inline;
}

#fund .pillar-slide__title-fund-tail[data-reveal] {
  filter: none;
}

#fund .pillar-slide__title-fund-typewriter {
  white-space: pre-wrap;
}

#fund .pillar-slide__title-fund-typewriter.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.92em;
  margin-left: 0.06em;
  vertical-align: -0.08em;
  background: currentColor;
  opacity: 0.5;
  animation: fund-typewriter-caret 0.9s ease-in-out infinite;
}

@keyframes fund-typewriter-caret {
  0%,
  48% {
    opacity: 0.45;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fund .pillar-slide__title-fund-typewriter.is-typing::after {
    animation: none;
    opacity: 0.35;
  }
}

/*
 * Build & Sell: DOM order = reveal order (title → badges → body → CTA).
 * Flex order restores layout: badges row on top, full title line below.
 */
.pillar-slide__inner--title-seq {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-slide__inner--title-seq .hero__pillar-badges--in-pillar {
  order: 1;
}

/*
 * Full-viewport row: breakout from the content column, then flex-center the wrap.
 * overflow-x must be hidden (not auto): scrollLeft: 0 on wide lines looked off-center.
 */
.pillar-slide__inner--title-seq .pillar-slide__title--title-seq {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-inline: max(env(safe-area-inset-left, 0px), min(4vw, 1.5rem))
    max(env(safe-area-inset-right, 0px), min(4vw, 1.5rem));
  text-align: center;
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Shrink-wrapped line; parent flex centers this block in the padded viewport row */
.pillar-slide__inner--title-seq .pillar-slide__title-seq-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  flex: 0 0 auto;
  max-width: 100%;
  white-space: nowrap;
}

/*
 * Build: block + text-align:center on outer centers the inline-flex headline as one unit
 * (same technique as centered buttons). Tail translateX removed on #build so the box isn’t skewed.
 */
#build .pillar-slide__inner--title-seq .pillar-slide__title--title-seq {
  align-items: stretch;
  overflow-y: visible;
}

#build .pillar-slide__inner--title-seq .pillar-slide__title-seq-outer {
  display: block;
  text-align: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Desktop: nowrap row so tail max-width reveal matches the original animation (flex-wrap breaks it). */
#build .pillar-slide__inner--title-seq .pillar-slide__title-seq-wrap {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  flex: none;
  max-width: min(100%, calc(100vw - 2 * min(4vw, 1.5rem)));
  white-space: nowrap;
  vertical-align: top;
}

#build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal]:not(.is-visible) {
  transform: translate3d(0, 0, 0) scale(0.98);
}

#build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal].is-visible {
  max-width: min(calc(100vw - 2 * min(4vw, 1.5rem) - 1rem), 72rem);
}


#build .pillar-slide__title-line--tail .pillar-slide__title-bullet,
#scale .pillar-slide__scale-tail .pillar-slide__title-bullet,
#integrations .pillar-slide__scale-tail .pillar-slide__title-bullet {
  font-size: 0.45em;
  vertical-align: 0.25em;
  padding: 0 0.08em;
}

/* Match Build bullet size; gap after • is a single HTML space (not padding + space). */
#fund .pillar-slide__title-fund-tail .pillar-slide__title-bullet {
  font-size: 0.45em;
  vertical-align: 0.25em;
  padding: 0 0 0 0.08em;
}

@media (max-width: 768px) {
  .pillar-slide__title-bullet {
    display: none !important;
  }
}

.pillar-slide__inner--title-seq .pillar-slide__lead {
  order: 3;
}

.pillar-slide__inner--title-seq .pillar-slide__cta {
  order: 5;
}

.pillar-slide__inner--title-seq .pillar-slide__title-line--primary {
  flex-shrink: 0;
}

.pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal] {
  min-width: 0;
  filter: none;
  transition:
    max-width 1.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal]:not(.is-visible) {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translate3d(1.25rem, 0, 0) scale(0.98);
}

.pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal].is-visible {
  opacity: 1;
  /* Cap wide enough for one line; flex parent centers the whole headline */
  max-width: min(calc(100vw - 2 * min(4vw, 1.5rem) - 1rem), 48rem);
  overflow: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

/*
 * Build (#velocity lab): ≤1024px — allow wrap + clip-path tail (flex-wrap breaks max-width reveal).
 */
@media (max-width: 1024px) {
  #build .pillar-slide__inner--title-seq .pillar-slide__title-seq-wrap {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 0.1em;
    column-gap: 0;
    justify-content: center;
  }

  #build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail {
    overflow-wrap: break-word;
  }

  #build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal] {
    display: inline-block;
    vertical-align: baseline;
    max-width: none;
    transition:
      clip-path 1.18s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
      transform 1.05s cubic-bezier(0.34, 1.45, 0.52, 1),
      filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal]:not(.is-visible) {
    opacity: 0;
    max-width: none;
    width: auto;
    min-width: 0;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    transform: translate3d(0, 12px, 0) scale(0.98);
    filter: blur(14px);
  }

  #build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal].is-visible {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    max-width: min(100%, calc(100vw - 2.5rem));
    overflow: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  #build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal] {
    transition: opacity 0.2s ease;
  }

  #build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal]:not(.is-visible) {
    clip-path: none;
    filter: none;
    transform: none;
    opacity: 0;
  }

  #build .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal].is-visible {
    clip-path: none;
    filter: none;
    opacity: 1;
  }
}

/*
 * Sell only: tail wipes left → right from // (clip-path), instead of max-width grow from the right.
 */
#sell .pillar-slide__inner--title-seq .pillar-slide__title-line--tail-ltr[data-reveal] {
  display: inline-block;
  vertical-align: baseline;
  min-width: 0;
  filter: none;
  transition: clip-path 1.18s cubic-bezier(0.16, 1, 0.3, 1);
}

#sell .pillar-slide__inner--title-seq .pillar-slide__title-line--tail-ltr[data-reveal]:not(.is-visible) {
  opacity: 1;
  max-width: none;
  overflow: hidden;
  transform: none;
  clip-path: inset(0 100% 0 0);
}

#sell .pillar-slide__inner--title-seq .pillar-slide__title-line--tail-ltr[data-reveal].is-visible {
  clip-path: inset(0 0 0 0);
  max-width: min(calc(100vw - 2 * min(4vw, 1.5rem) - 1rem), 48rem);
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal] {
    transition: opacity 0.2s ease;
  }

  .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal]:not(.is-visible) {
    max-width: none;
    overflow: visible;
    transform: none;
  }

  .pillar-slide__inner--title-seq .pillar-slide__title-line--tail[data-reveal].is-visible {
    max-width: none;
  }

  #sell .pillar-slide__inner--title-seq .pillar-slide__title-line--tail-ltr[data-reveal] {
    transition: opacity 0.2s ease;
  }

  #sell .pillar-slide__inner--title-seq .pillar-slide__title-line--tail-ltr[data-reveal]:not(.is-visible) {
    clip-path: none;
    opacity: 0;
  }

  #sell .pillar-slide__inner--title-seq .pillar-slide__title-line--tail-ltr[data-reveal].is-visible {
    clip-path: none;
    opacity: 1;
  }
}

.prism-intro .eyebrow .accent {
  font-style: normal;
}

.pillar-slide__lead {
  margin-bottom: clamp(2rem, 5.5vw, 3.25rem);
  max-width: min(50rem, 100%);
}

.pillar-slide__cta {
  margin: 0;
  display: flex;
  justify-content: center;
}

/* External product link — same pill language as capability badges, full opacity */
.pillar-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.85vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.pillar-slide--build .pillar-badge-btn:hover {
  border-color: rgba(0, 194, 255, 0.65);
  color: var(--pulse-cyan);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.15);
  background: rgba(0, 194, 255, 0.08);
}

.pillar-slide--scale .pillar-badge-btn:hover {
  border-color: rgba(122, 93, 227, 0.65);
  color: #b8a6ff;
  box-shadow: 0 0 20px rgba(122, 93, 227, 0.2);
  background: rgba(122, 93, 227, 0.1);
}

.pillar-slide--sell .pillar-badge-btn:hover {
  border-color: rgba(196, 168, 255, 0.55);
  color: #d4c4ff;
  box-shadow: 0 0 20px rgba(196, 168, 255, 0.12);
  background: rgba(196, 168, 255, 0.06);
}

.pillar-slide--fund .pillar-badge-btn:hover {
  border-color: rgba(233, 0, 202, 0.55);
  color: var(--pulse-magenta);
  box-shadow: 0 0 20px rgba(233, 0, 202, 0.15);
  background: rgba(233, 0, 202, 0.08);
}

.pillar-badge-btn:focus-visible {
  outline: 2px solid var(--pulse-cyan);
  outline-offset: 3px;
}

.hero__cta {
  display: flex;
  justify-content: center;
  margin: 0 auto clamp(1.25rem, 3vw, .75rem);
  max-width: min(42rem, 100%);
}

.hero__pillar-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
  max-width: min(42rem, 100%);
}

.hero__pillar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.85vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.hero__pillar-badge:hover {
  border-color: rgba(0, 194, 255, 0.55);
  color: var(--pulse-cyan);
  box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.12);
}

.hero__pillar-badges--in-pillar {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

/* Pillar slides: mute non-active badges; colorize current per section */
.pillar-slide .hero__pillar-badge:not(.hero__pillar-badge--current) {
  opacity: 0.55;
  border-color: rgba(255, 255, 255, 0.16);
}

.pillar-slide .hero__pillar-badge:not(.hero__pillar-badge--current):hover {
  opacity: 1;
}

.pillar-slide--build .hero__pillar-badge--current {
  opacity: 1;
  color: var(--pulse-cyan);
  border-color: rgba(0, 194, 255, 0.65);
  background: rgba(0, 194, 255, 0.1);
  box-shadow: 0 0 24px rgba(0, 194, 255, 0.18);
}

.pillar-slide--scale .hero__pillar-badge--current {
  opacity: 1;
  color: #b8a6ff;
  border-color: rgba(122, 93, 227, 0.65);
  background: rgba(122, 93, 227, 0.12);
  box-shadow: 0 0 24px rgba(122, 93, 227, 0.22);
}

/* Strike Team slide has no “Sell” badge — keep all three pills equal weight */
.pillar-slide--sell .hero__pillar-badges--in-pillar .hero__pillar-badge {
  opacity: 1;
}

.pillar-slide--fund .hero__pillar-badge--current {
  opacity: 1;
  color: var(--pulse-magenta);
  border-color: rgba(233, 0, 202, 0.55);
  background: rgba(233, 0, 202, 0.1);
  box-shadow: 0 0 24px rgba(233, 0, 202, 0.18);
}

.pillar-slide .hero__pillar-badge--current:hover {
  filter: brightness(1.06);
}
