/*
 * Cinematic enhancement layer
 * Loaded after styles.css
 * Pure CSS + local font discovery; no external requests.
 */

/* Inter is self-hosted via @font-face in styles.css (base) — GDPR-clean. */

:root {
  --shell: min(1260px, calc(100vw - 56px));
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 0.9, 0.2, 1.12);
  --shadow-cinema:
    0 55px 130px rgba(15, 23, 42, 0.21),
    0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card:
    0 28px 70px rgba(15, 23, 42, 0.1),
    0 5px 18px rgba(15, 23, 42, 0.055);
}

::selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--ink);
}

html,
body {
  overflow-x: clip;
}

body {
  background:
    radial-gradient(circle at 8% 3%, rgba(37, 99, 235, 0.045), transparent 32rem),
    var(--paper);
}

h1,
h2 {
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.82);
  outline-offset: 4px;
}

.is-page-hidden .hero::before,
.is-page-hidden .hero .accent-phrase,
.is-page-hidden .portrait-aura,
.is-page-hidden .hero-portrait-stage::before,
.is-page-hidden .hero-portrait,
.is-page-hidden .hero-portrait::before,
.is-page-hidden .section-dark::before,
.is-page-hidden .ai-band::before,
.is-page-hidden .cta-block::before {
  animation-play-state: paused !important;
}

/* -------------------------------------------------------------------------- */
/* Scroll progress                                                            */
/* -------------------------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  z-index: 320;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  overflow: visible;
  pointer-events: none;
}

.scroll-progress span {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa 72%, #dbeafe);
  box-shadow:
    0 0 18px rgba(37, 99, 235, 0.56),
    0 2px 8px rgba(37, 99, 235, 0.28);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.scroll-progress span::after {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #2563eb;
  box-shadow:
    0 0 0 5px rgba(37, 99, 235, 0.13),
    0 0 24px rgba(37, 99, 235, 0.8);
  content: "";
  transform: translateY(-50%);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.site-header {
  border-bottom-color: rgba(203, 213, 225, 0.62);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 38px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(22px) saturate(145%);
  transition:
    min-height 300ms var(--ease-cinema),
    background 300ms ease,
    box-shadow 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.91);
  box-shadow:
    0 1px 0 rgba(203, 213, 225, 0.7),
    0 12px 42px rgba(15, 23, 42, 0.075);
}

.wordmark {
  transition: transform 300ms var(--ease-cinema);
}

.wordmark:hover {
  transform: translate3d(0, -2px, 0);
}

.wordmark small {
  color: #667085;
}

.primary-nav > a:not(.button)::after {
  height: 3px;
  bottom: -11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.24);
}

.primary-nav > a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.button {
  --mag-x: 0px;
  --mag-y: 0px;
  --button-lift: 0px;
  --button-scale: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(37, 99, 235, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), transparent 42%),
    linear-gradient(120deg, #1d4ed8, #2563eb 54%, #3b82f6);
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform:
    translate3d(
      var(--mag-x),
      calc(var(--mag-y) + var(--button-lift)),
      0
    )
    scale(var(--button-scale));
  transition:
    transform 420ms var(--ease-cinema),
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 300ms ease;
  will-change: transform;
}

.button::before {
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -45%;
  width: 34%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.68),
    transparent
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-180%, 0, 0) skewX(-18deg);
  transition:
    transform 720ms var(--ease-cinema),
    opacity 200ms ease;
}

.button:hover,
.button:focus-visible {
  --button-lift: -4px;
  --button-scale: 1.018;
  border-color: #1d4ed8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(120deg, #1e40af, #1d4ed8 58%, #2563eb);
  box-shadow:
    0 22px 46px rgba(37, 99, 235, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 0.78;
  transform: translate3d(480%, 0, 0) skewX(-18deg);
}

.button.is-magnetic {
  transition-duration: 150ms, 220ms, 220ms, 220ms, 300ms;
}

.button-secondary {
  border-color: rgba(148, 163, 184, 0.52);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 38px rgba(11, 18, 32, 0.2);
}

/* -------------------------------------------------------------------------- */
/* Cinematic scroll reveals                                                   */
/* -------------------------------------------------------------------------- */

.has-enhancements .reveal {
  --start-x: 0px;
  --start-y: 76px;
  --start-rx: 9deg;
  --start-ry: 0deg;
  --start-scale: 0.94;
  --reveal-x: var(--start-x);
  --reveal-y: var(--start-y);
  --reveal-rx: var(--start-rx);
  --reveal-ry: var(--start-ry);
  --reveal-scale: var(--start-scale);
  opacity: 0;
  filter: blur(9px);
  clip-path: inset(0 0 16% 0 round 18px);
  transform:
    perspective(1200px)
    translate3d(var(--reveal-x), var(--reveal-y), 0)
    rotateX(var(--reveal-rx))
    rotateY(var(--reveal-ry))
    scale(var(--reveal-scale));
  transform-origin: 50% 100%;
  transition:
    opacity 780ms ease var(--reveal-delay, 0ms),
    filter 900ms var(--ease-cinema) var(--reveal-delay, 0ms),
    clip-path 900ms var(--ease-cinema) var(--reveal-delay, 0ms),
    transform 980ms var(--ease-cinema) var(--reveal-delay, 0ms);
  will-change: opacity, transform, clip-path;
}

.has-enhancements .reveal.is-visible {
  --reveal-x: 0px;
  --reveal-y: 0px;
  --reveal-rx: 0deg;
  --reveal-ry: 0deg;
  --reveal-scale: 1;
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 0);
}

.reveal-from-left {
  --start-x: -92px !important;
  --start-y: 24px !important;
  --start-rx: 0deg !important;
  --start-ry: -7deg !important;
}

.reveal-from-right {
  --start-x: 92px !important;
  --start-y: 24px !important;
  --start-rx: 0deg !important;
  --start-ry: 7deg !important;
}

.reveal-wipe {
  --start-y: 54px !important;
  --start-rx: 5deg !important;
  clip-path: inset(0 0 48% 0 round 22px) !important;
}

.reveal-wipe.is-visible {
  clip-path: inset(0 0 0 0 round 0) !important;
}

.reveal-scale {
  --start-y: 42px !important;
  --start-rx: 3deg !important;
  --start-scale: 0.88 !important;
}

.hero .reveal,
.has-enhancements .hero .reveal,
.has-enhancements .hero .reveal.is-visible {
  opacity: 1;
  filter: none;
  clip-path: none;
  transform: none;
  transition: none;
}

.cinema-row {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(68px, 0, 0) scale(0.98);
  transition:
    opacity 700ms ease var(--row-delay, 0ms),
    filter 850ms var(--ease-cinema) var(--row-delay, 0ms),
    transform 900ms var(--ease-cinema) var(--row-delay, 0ms);
}

.cinema-row.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.no-js .reveal,
.no-js .cinema-row {
  opacity: 1;
  filter: none;
  clip-path: none;
  transform: none;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero {
  --hero-copy-shift: 0px;
  --hero-stage-shift: 0px;
  --hero-field-shift: 0px;
  position: relative;
  isolation: isolate;
  min-height: max(690px, calc(100svh - 76px));
  padding: 34px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 23%, rgba(37, 99, 235, 0.23), transparent 27rem),
    radial-gradient(circle at 67% 84%, rgba(96, 165, 250, 0.12), transparent 31rem),
    linear-gradient(112deg, #ffffff 0%, #ffffff 48%, #f3f7ff 72%, #eaf2ff 100%);
  contain: paint;
}

.hero::before {
  position: absolute;
  z-index: 0;
  top: -440px;
  left: -330px;
  width: 930px;
  height: 930px;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 58%, rgba(37, 99, 235, 0.045) 58.2%, transparent 58.8%),
    radial-gradient(circle, transparent 71%, rgba(37, 99, 235, 0.05) 71.2%, transparent 71.8%);
  box-shadow:
    0 0 0 92px rgba(37, 99, 235, 0.018),
    0 0 0 184px rgba(37, 99, 235, 0.011);
  content: "";
  opacity: 0.72;
  pointer-events: none;
  transform-origin: center;
  animation: hero-orbit 22s linear infinite;
  animation-play-state: paused;
}

.hero.is-enhanced-inview::before {
  animation-play-state: running;
}

.hero::after {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 42%;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.052) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  opacity: 0.72;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 23%, #000 100%),
    linear-gradient(to bottom, transparent, #000 13%, #000 88%, transparent);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 23%, #000 100%),
    linear-gradient(to bottom, transparent, #000 13%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  pointer-events: none;
  transform: translate3d(0, var(--hero-field-shift), 0) scale(1.035);
  transform-origin: center;
  will-change: transform;
}

.hero-grid {
  position: relative;
  z-index: 3;
  min-height: max(650px, calc(100svh - 144px));
  grid-template-columns: minmax(0, 1.16fr) minmax(400px, 0.84fr);
  gap: 54px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding: 46px 0 34px;
  transform: translate3d(0, var(--hero-copy-shift), 0);
  will-change: transform;
}

.hero-copy::before {
  position: absolute;
  z-index: -1;
  inset: -40px -34px -38px -10vw;
  border-radius: 0 46px 46px 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.91) 58%,
    rgba(255, 255, 255, 0.65) 82%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}

.hero-copy .eyebrow {
  display: inline-flex;
  margin-bottom: 21px;
  align-items: center;
  gap: 11px;
}

.hero-copy .eyebrow::before {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.34);
  content: "";
}

.hero-copy h1 {
  position: relative;
  max-width: 850px;
  margin-bottom: 25px;
  color: var(--ink);
  font-size: clamp(52px, 5.45vw, 88px);
  letter-spacing: -0.065em;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.hero-copy h1 > span,
.hero-copy h1 > .accent-phrase {
  background: linear-gradient(
    105deg,
    #1e40af 0%,
    #2563eb 28%,
    #60a5fa 48%,
    #1d4ed8 70%,
    #2563eb 100%
  );
  background-size: 230% 100%;
  background-position: 0% 50%;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accent-flow 6s ease-in-out infinite;
  animation-play-state: paused;
}

.hero.is-enhanced-inview .hero-copy h1 > span,
.hero.is-enhanced-inview .hero-copy h1 > .accent-phrase {
  animation-play-state: running;
}

.hero-copy h1 .kinetic-mask,
.hero-copy h1 .kinetic-word {
  color: inherit;
}

.hero-copy h1 .kinetic-mask {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: -0.04em -0.015em -0.11em;
  padding: 0.04em 0.015em 0.11em;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-copy h1 .kinetic-word {
  display: inline-block;
  transform-origin: 50% 100%;
}

.hero-copy h1.hero-kinetic.is-kinetic-running::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  color: var(--ink);
  content: attr(data-kinetic-copy);
  pointer-events: none;
  -webkit-text-fill-color: currentColor;
  animation: headline-ghost 760ms ease both;
}

.hero-copy h1.is-kinetic-running .kinetic-word {
  animation:
    kinetic-word-in 640ms
    var(--ease-cinema)
    calc(var(--word-index, 0) * 42ms)
    both;
}

/* Safety net: once the reveal window has passed, force the headline fully
   visible regardless of animation/compositor state. The validation-critical
   H1 must never rest blank. */
.hero-copy h1.is-kinetic-complete .kinetic-word {
  animation: none;
  opacity: 1;
  transform: none;
}

.hero-copy h1.is-kinetic-complete::before {
  display: none;
}

.hero-lead {
  max-width: 710px;
  margin-bottom: 31px;
  color: #3f4f67;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.58;
}

.hero-loaded .hero-lead {
  animation: hero-copy-settle 720ms 120ms var(--ease-cinema) both;
}

.hero-actions {
  gap: 14px;
}

.hero-loaded .hero-actions .button {
  animation: hero-button-settle 680ms 220ms var(--ease-cinema) both;
}

.hero-loaded .hero-actions .button:nth-child(2) {
  animation-delay: 300ms;
}

/* Validation-critical proof remains visible while decorative counters animate. */
.proof-strip {
  position: relative;
  margin-top: 45px;
  padding: 9px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(248, 251, 255, 0.78));
  box-shadow:
    0 22px 58px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(135%);
}

.proof-strip::before {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, transparent);
  content: "";
  opacity: 0.88;
}

.proof-strip::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

.proof-item {
  position: relative;
  z-index: 1;
  padding-top: 18px;
}

.proof-item + .proof-item {
  border-left-color: rgba(203, 213, 225, 0.8);
}

.proof-item strong {
  position: relative;
  color: #0b1220;
  font-size: clamp(16px, 1.38vw, 19px);
  font-variant-numeric: tabular-nums;
}

.proof-item span {
  color: #667085;
  line-height: 1.45;
}

.proof-item .count-final {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.proof-item .count-live {
  position: absolute;
  z-index: 1;
  top: -14px;
  right: 2px;
  display: block;
  margin: 0;
  color: rgba(37, 99, 235, 0.32);
  font-size: 0.62em;
  font-weight: 850;
  letter-spacing: -0.04em;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    transform 420ms var(--ease-cinema);
}

.proof-item strong.is-counted .count-live {
  opacity: 0;
  transform: translate3d(0, -7px, 0);
}

.hero-loaded .proof-item {
  animation: proof-settle 720ms var(--ease-cinema) both;
}

.hero-loaded .proof-item:nth-child(1) {
  animation-delay: 300ms;
}

.hero-loaded .proof-item:nth-child(2) {
  animation-delay: 360ms;
}

.hero-loaded .proof-item:nth-child(3) {
  animation-delay: 420ms;
}

.hero-loaded .proof-item:nth-child(4) {
  animation-delay: 480ms;
}

/* Portrait depth system */
.hero-portrait-stage {
  --hero-rx: 0deg;
  --hero-ry: 0deg;
  --hero-image-x: 0px;
  --hero-image-y: 0px;
  --hero-aura-x: 0px;
  --hero-aura-y: 0px;
  position: relative;
  z-index: 4;
  min-width: 0;
  min-height: 660px;
  align-self: stretch;
  perspective: 1450px;
  perspective-origin: 50% 42%;
  transform: translate3d(0, var(--hero-stage-shift), 0);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-portrait-stage::before {
  position: absolute;
  z-index: 0;
  inset: 4% -8% 3% 7%;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 44px 44px 140px 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), transparent 48%),
    rgba(37, 99, 235, 0.025);
  box-shadow:
    0 0 0 18px rgba(37, 99, 235, 0.025),
    0 35px 100px rgba(37, 99, 235, 0.13);
  content: "";
  pointer-events: none;
  transform: rotate(4.2deg) translate3d(0, 0, -40px);
  animation: portrait-frame-breathe 7s ease-in-out infinite;
  animation-play-state: paused;
}

.hero-portrait-stage::after {
  position: absolute;
  z-index: 5;
  top: 11%;
  right: -39px;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(37, 99, 235, 0.46);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(37, 99, 235, 0.35) 49%, rgba(37, 99, 235, 0.35) 51%, transparent 51%),
    linear-gradient(transparent 49%, rgba(37, 99, 235, 0.35) 49%, rgba(37, 99, 235, 0.35) 51%, transparent 51%),
    radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(234, 242, 255, 0.45));
  box-shadow:
    0 0 0 12px rgba(37, 99, 235, 0.035),
    0 20px 55px rgba(37, 99, 235, 0.16);
  content: "";
  opacity: 0.84;
  pointer-events: none;
  transform: translateZ(52px);
}

.hero.is-enhanced-inview .hero-portrait-stage::before {
  animation-play-state: running;
}

.portrait-aura {
  position: absolute;
  z-index: 1;
  inset: -4% -17% -5% -14%;
  border-radius: 42% 58% 64% 36% / 41% 34% 66% 59%;
  background:
    radial-gradient(circle at 40% 34%, rgba(96, 165, 250, 0.72), transparent 31%),
    radial-gradient(circle at 68% 65%, rgba(37, 99, 235, 0.43), transparent 39%),
    radial-gradient(circle at 50% 48%, rgba(191, 219, 254, 0.5), transparent 49%);
  filter: blur(3px);
  opacity: 0.82;
  pointer-events: none;
  transform:
    translate3d(var(--hero-aura-x), var(--hero-aura-y), -80px)
    scale(0.95);
  animation: portrait-aura-drift 8s ease-in-out infinite;
  animation-play-state: paused;
  will-change: transform;
}

.hero.is-enhanced-inview .portrait-aura {
  animation-play-state: running;
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 38px 38px 142px 38px;
  background: #101b35;
  box-shadow:
    var(--shadow-cinema),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform-style: preserve-3d;
  animation: portrait-float 6.2s ease-in-out infinite;
  animation-play-state: paused;
  will-change: transform;
}

.hero.is-enhanced-inview .hero-portrait {
  animation-play-state: running;
}

.hero-portrait::before {
  position: absolute;
  z-index: 4;
  top: -25%;
  bottom: -25%;
  left: -55%;
  width: 36%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    rgba(191, 219, 254, 0.22),
    transparent
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-180%, 0, 0) skewX(-17deg);
  animation: portrait-light-sweep 5.8s 1.1s ease-in-out infinite;
  animation-play-state: paused;
}

.hero.is-enhanced-inview .hero-portrait::before {
  animation-play-state: running;
}

.hero-portrait::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, transparent 49%, rgba(6, 13, 28, 0.1) 68%, rgba(6, 13, 28, 0.62) 100%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.13), transparent 28%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -80px 120px rgba(5, 12, 28, 0.12);
  content: "";
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  filter: saturate(0.94) contrast(1.035);
  transform:
    translate3d(var(--hero-image-x), var(--hero-image-y), 18px)
    scale(1.075);
  transition: transform 150ms linear;
  will-change: transform;
}

.portrait-label {
  z-index: 6;
  bottom: 30px;
  left: 28px;
  max-width: 330px;
  padding: 15px 18px 15px 42px;
  border-color: rgba(255, 255, 255, 0.44);
  border-radius: 16px;
  background: rgba(7, 15, 31, 0.74);
  box-shadow:
    0 16px 45px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 12px;
  letter-spacing: 0.015em;
  backdrop-filter: blur(18px) saturate(135%);
  transform: translateZ(58px);
}

.portrait-label::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #60a5fa;
  box-shadow:
    0 0 0 6px rgba(96, 165, 250, 0.12),
    0 0 18px rgba(96, 165, 250, 0.7);
  content: "";
  transform: translateY(-50%);
}

/* -------------------------------------------------------------------------- */
/* General section composition                                                */
/* -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: 124px;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading h2 {
  max-width: 970px;
  letter-spacing: -0.055em;
}

.section-heading p:last-child {
  max-width: 760px;
  line-height: 1.65;
}

.section-muted {
  background:
    radial-gradient(circle at 86% 10%, rgba(37, 99, 235, 0.055), transparent 29rem),
    linear-gradient(180deg, rgba(235, 241, 250, 0.7), transparent 11rem),
    var(--mist);
}

.eyebrow {
  position: relative;
}

/* -------------------------------------------------------------------------- */
/* Pointer-reactive card depth                                                */
/* -------------------------------------------------------------------------- */

[data-cinema-card] {
  --card-rx: 0deg;
  --card-ry: 0deg;
  --card-lift: 0px;
  --spot-x: 50%;
  --spot-y: 50%;
  isolation: isolate;
  transform:
    perspective(1150px)
    translate3d(
      var(--reveal-x, 0px),
      calc(var(--reveal-y, 0px) + var(--card-lift)),
      0
    )
    rotateX(calc(var(--reveal-rx, 0deg) + var(--card-rx)))
    rotateY(calc(var(--reveal-ry, 0deg) + var(--card-ry)))
    scale(var(--reveal-scale, 1));
  transform-style: preserve-3d;
  transition:
    opacity 780ms ease var(--reveal-delay, 0ms),
    filter 900ms var(--ease-cinema) var(--reveal-delay, 0ms),
    clip-path 900ms var(--ease-cinema) var(--reveal-delay, 0ms),
    transform 560ms var(--ease-cinema) var(--reveal-delay, 0ms),
    border-color 260ms ease,
    box-shadow 360ms ease;
  will-change: transform;
}

[data-cinema-card].is-card-active {
  --card-lift: -9px;
  z-index: 4;
  transition-duration: 150ms, 150ms, 150ms, 150ms, 260ms, 360ms;
}

[data-cinema-card] > *:not(.card-spotlight) {
  position: relative;
  z-index: 2;
  transform:
    translate3d(
      var(--layer-x, 0px),
      var(--layer-y, 0px),
      var(--layer-z, 18px)
    );
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease-cinema);
}

[data-cinema-card].is-card-active > *:not(.card-spotlight) {
  transition-duration: 150ms;
}

.card-spotlight {
  position: absolute;
  z-index: 1;
  top: -220px;
  left: -220px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.27) 0%,
    rgba(37, 99, 235, 0.12) 34%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transform:
    translate3d(var(--spot-x), var(--spot-y), 0)
    scale(0.72);
  transition:
    opacity 240ms ease,
    transform 500ms var(--ease-cinema);
  will-change: opacity, transform;
}

[data-cinema-card].is-card-active .card-spotlight,
[data-cinema-card]:focus-within .card-spotlight {
  opacity: 1;
  transform:
    translate3d(var(--spot-x), var(--spot-y), 0)
    scale(1);
}

/* -------------------------------------------------------------------------- */
/* Situations                                                                 */
/* -------------------------------------------------------------------------- */

.situation-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.situation-card {
  grid-column: span 2;
  min-height: 292px;
  padding: 32px;
  overflow: hidden;
  border-color: rgba(203, 213, 225, 0.82);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.94));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 52px rgba(15, 23, 42, 0.045);
}

.situation-card:nth-child(4),
.situation-card:nth-child(5) {
  grid-column: span 3;
}

.situation-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2563eb, #93c5fd, transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 280ms ease,
    transform 500ms var(--ease-cinema);
}

.situation-card::after {
  position: absolute;
  z-index: 0;
  right: -85px;
  bottom: -100px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(37, 99, 235, 0.018);
  content: "";
  pointer-events: none;
  transition: transform 600ms var(--ease-cinema);
}

.situation-card:hover,
.situation-card:focus-within {
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow: var(--shadow-card);
}

.situation-card:hover::before,
.situation-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.situation-card:hover::after,
.situation-card:focus-within::after {
  transform: translate3d(-18px, -18px, 0) scale(1.1);
}

.card-number {
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border: 1px solid rgba(37, 99, 235, 0.11);
  background:
    linear-gradient(145deg, #eff6ff, #dbeafe);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.09),
    inset 0 1px 0 #fff;
}

.situation-card h3 {
  font-size: 22px;
}

.situation-card p {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.65;
}

/* -------------------------------------------------------------------------- */
/* Engagement                                                                 */
/* -------------------------------------------------------------------------- */

.engagement-grid {
  gap: 26px;
}

.engagement-card {
  min-height: 472px;
  padding: 46px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
}

.engagement-card:first-child {
  background:
    radial-gradient(circle at 88% 13%, rgba(59, 130, 246, 0.43), transparent 18rem),
    radial-gradient(circle at 8% 110%, rgba(37, 99, 235, 0.16), transparent 22rem),
    linear-gradient(145deg, #101b35, #080e1b 78%);
}

.engagement-card:last-child {
  border-color: rgba(37, 99, 235, 0.7);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.15), transparent 20rem),
    linear-gradient(145deg, #fff, #f7faff);
}

.engagement-card:first-child .card-spotlight,
.timeline-step .card-spotlight {
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.3),
    rgba(37, 99, 235, 0.1) 38%,
    transparent 70%
  );
}

.engagement-card h3 {
  font-size: clamp(34px, 3.1vw, 43px);
}

.engagement-card > p {
  font-size: 18px;
  line-height: 1.65;
}

.engagement-card ul {
  margin-top: 34px;
  gap: 14px;
}

.engagement-card li {
  font-size: 15px;
}

.engagement-card li::before {
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

/* -------------------------------------------------------------------------- */
/* Evidence and count-up                                                      */
/* -------------------------------------------------------------------------- */

.evidence-layout {
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  gap: 100px;
}

.evidence-stats {
  position: sticky;
  top: 118px;
  gap: 10px;
}

.evidence-stats h2 {
  margin-bottom: 28px;
}

.stat-block {
  position: relative;
  padding: 29px 0;
  overflow: hidden;
}

.stat-block::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, rgba(37, 99, 235, 0.1), transparent);
  content: "";
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 700ms var(--ease-cinema);
}

.evidence-stats.is-visible .stat-block::after {
  transform: scaleX(1);
}

.stat-block strong {
  display: inline-block;
  background: linear-gradient(115deg, #1e40af, #2563eb 50%, #60a5fa);
  background-clip: text;
  color: transparent;
  font-size: clamp(48px, 5vw, 72px);
  font-variant-numeric: tabular-nums;
  line-height: 0.92;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-block span {
  max-width: 360px;
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.55;
}

.experience-list {
  border-top-color: rgba(203, 213, 225, 0.92);
}

.experience-row {
  position: relative;
  padding: 31px 0;
  grid-template-columns: 170px minmax(0, 1fr);
  border-bottom-color: rgba(203, 213, 225, 0.92);
}

.experience-row::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: -22px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(#60a5fa, #2563eb);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.28);
  content: "";
  opacity: 0;
  transform: scaleY(0.2);
  transition:
    opacity 260ms ease,
    transform 480ms var(--ease-cinema);
}

.experience-row:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.experience-row h3 {
  font-size: 23px;
}

.experience-row p {
  max-width: 630px;
  font-size: 15px;
  line-height: 1.65;
}

/* -------------------------------------------------------------------------- */
/* Dark-section cinematic transition                                          */
/* -------------------------------------------------------------------------- */

.section-dark {
  --dark-inset: 0px;
  --dark-radius: 0px;
  --dark-scale: 1;
  isolation: isolate;
  padding-block: 132px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.1);
  background:
    radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.25), transparent 29rem),
    radial-gradient(circle at 91% 87%, rgba(59, 130, 246, 0.15), transparent 28rem),
    linear-gradient(145deg, #070d19 0%, #101b35 52%, #080f1e 100%);
  box-shadow:
    0 -32px 100px rgba(15, 23, 42, 0.08),
    0 38px 100px rgba(15, 23, 42, 0.15);
  clip-path: inset(var(--dark-inset) round var(--dark-radius));
  transform: scale(var(--dark-scale));
  transform-origin: 50% 0%;
  will-change: transform, clip-path;
}

.section-dark::before {
  position: absolute;
  z-index: 0;
  top: -65%;
  left: -15%;
  width: 1050px;
  height: 1050px;
  border-radius: 42% 58% 51% 49%;
  background:
    radial-gradient(circle at 58% 52%, rgba(37, 99, 235, 0.35), transparent 34%),
    radial-gradient(circle at 37% 62%, rgba(96, 165, 250, 0.15), transparent 45%);
  content: "";
  filter: blur(12px);
  opacity: 0.86;
  pointer-events: none;
  animation: dark-aurora-drift 14s ease-in-out infinite;
  animation-play-state: paused;
}

.section-dark.is-enhanced-inview::before {
  animation-play-state: running;
}

.section-dark::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 83% 18%, rgba(96, 165, 250, 0.18), transparent 23rem);
  background-size: 56px 56px, 56px 56px, auto;
  content: "";
  opacity: 0.78;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.section-dark .page-shell {
  position: relative;
  z-index: 2;
}

.section-dark .section-heading {
  max-width: 970px;
  margin-bottom: 70px;
}

.section-dark .section-heading h2 {
  max-width: 940px;
  background: linear-gradient(110deg, #fff, #dbeafe 62%, #93c5fd);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Timeline line draws when the system enters the viewport. */
.timeline {
  position: relative;
  isolation: isolate;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.105);
  box-shadow:
    0 42px 100px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.timeline::before,
.timeline::after {
  position: absolute;
  z-index: 5;
  top: 60px;
  left: 6%;
  width: 88%;
  height: 2px;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.timeline::before {
  background: rgba(148, 163, 184, 0.26);
}

.timeline::after {
  background: linear-gradient(90deg, #2563eb, #60a5fa, #bfdbfe);
  box-shadow:
    0 0 12px rgba(37, 99, 235, 0.7),
    0 0 26px rgba(37, 99, 235, 0.28);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1450ms var(--ease-cinema);
}

.timeline.is-timeline-visible::after,
.no-js .timeline::after {
  transform: scaleX(1);
}

.timeline-step {
  position: relative;
  min-height: 350px;
  padding: 38px 31px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.075), transparent 53%),
    rgba(7, 14, 28, 0.8);
}

.timeline-step span {
  position: relative;
  z-index: 7;
  width: 46px;
  height: 46px;
  margin-bottom: 64px;
  border-color: rgba(147, 197, 253, 0.42);
  background: #0d1931;
  color: #bfdbfe;
  box-shadow:
    0 0 0 9px rgba(37, 99, 235, 0.07),
    0 0 28px rgba(37, 99, 235, 0.17);
}

.timeline-step h3 {
  font-size: 25px;
}

.timeline-step p {
  font-size: 15px;
  line-height: 1.65;
}

/* -------------------------------------------------------------------------- */
/* AI band                                                                    */
/* -------------------------------------------------------------------------- */

.ai-band {
  position: relative;
  isolation: isolate;
  padding: 60px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 9%, rgba(96, 165, 250, 0.3), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(234, 242, 255, 0.95));
  box-shadow:
    0 38px 100px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ai-band::before {
  position: absolute;
  z-index: 0;
  right: -165px;
  bottom: -245px;
  width: 600px;
  height: 600px;
  border-radius: 46% 54% 62% 38%;
  background:
    radial-gradient(circle at 42% 38%, rgba(37, 99, 235, 0.23), transparent 34%),
    radial-gradient(circle at 65% 65%, rgba(96, 165, 250, 0.18), transparent 42%);
  content: "";
  filter: blur(5px);
  pointer-events: none;
  animation: ai-aurora-drift 11s ease-in-out infinite;
  animation-play-state: paused;
}

.ai-band.is-enhanced-inview::before {
  animation-play-state: running;
}

.ai-band::after {
  position: absolute;
  z-index: 1;
  top: -35%;
  bottom: -35%;
  left: -42%;
  width: 28%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.78),
    transparent
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-160%, 0, 0) skewX(-17deg);
}

.ai-band.has-entered::after {
  animation: ai-sweep 1250ms 220ms var(--ease-cinema) both;
}

.ai-band > * {
  position: relative;
  z-index: 2;
}

.ai-band h2 {
  letter-spacing: -0.055em;
}

.ai-list {
  perspective: 900px;
}

.ai-list li {
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 10px 30px rgba(37, 99, 235, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform-origin: left center;
}

.has-enhancements .ai-band.is-visible .ai-list li {
  animation: ai-item-in 700ms var(--ease-cinema) both;
}

.has-enhancements .ai-band.is-visible .ai-list li:nth-child(1) {
  animation-delay: 180ms;
}

.has-enhancements .ai-band.is-visible .ai-list li:nth-child(2) {
  animation-delay: 250ms;
}

.has-enhancements .ai-band.is-visible .ai-list li:nth-child(3) {
  animation-delay: 320ms;
}

.has-enhancements .ai-band.is-visible .ai-list li:nth-child(4) {
  animation-delay: 390ms;
}

/* -------------------------------------------------------------------------- */
/* Blog cards                                                                 */
/* -------------------------------------------------------------------------- */

.blog-grid {
  gap: 22px;
}

.article-card {
  min-height: 370px;
  padding: 33px;
  overflow: hidden;
  border-color: rgba(203, 213, 225, 0.86);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(249, 251, 255, 0.96));
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.045);
}

.article-card::before {
  position: absolute;
  z-index: 1;
  right: -115px;
  bottom: -125px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(37, 99, 235, 0.018),
    0 0 0 48px rgba(37, 99, 235, 0.01);
  content: "";
  transition: transform 650ms var(--ease-cinema);
}

.article-card:hover,
.article-card:focus-within {
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow: var(--shadow-card);
}

.article-card:hover::before,
.article-card:focus-within::before {
  transform: translate3d(-25px, -25px, 0) scale(1.12);
}

.article-card h3 {
  font-size: 26px;
  text-wrap: balance;
}

.article-link {
  padding-top: 10px;
}

.article-link::after {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-pale);
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 260ms var(--ease-cinema);
}

.article-card:hover .article-link::after {
  background: var(--blue);
  color: #fff;
  transform: translateX(7px) rotate(-8deg);
}

/* -------------------------------------------------------------------------- */
/* About                                                                      */
/* -------------------------------------------------------------------------- */

.about-layout {
  grid-template-columns: minmax(410px, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
}

.about-photo {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(203, 213, 225, 0.66);
  border-radius: 38px 38px 118px 38px;
  background: #eaf2ff;
  box-shadow: var(--shadow-cinema);
}

.about-photo::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, transparent 72%, rgba(11, 18, 32, 0.12));
  content: "";
  pointer-events: none;
}

.about-photo::after {
  z-index: 3;
  width: 68px;
  height: 68px;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(15, 23, 42, 0.12);
}

.about-photo img {
  width: 100%;
  min-height: 108%;
  object-fit: cover;
  transform: translate3d(0, var(--about-y, 0px), 0) scale(1.085);
  transform-origin: center;
  will-change: transform;
}

.about-copy h2 {
  letter-spacing: -0.055em;
}

.about-facts {
  gap: 10px;
}

.about-facts li {
  border-color: rgba(203, 213, 225, 0.86);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 7px 20px rgba(15, 23, 42, 0.045),
    inset 0 1px 0 #fff;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    transform 280ms var(--ease-cinema);
}

.about-facts li:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: var(--blue-pale);
  color: var(--blue-dark);
  transform: translate3d(0, -4px, 0);
}

/* -------------------------------------------------------------------------- */
/* CTA                                                                        */
/* -------------------------------------------------------------------------- */

.cta-block {
  isolation: isolate;
  padding: 86px;
  border: 1px solid rgba(96, 165, 250, 0.17);
  border-radius: 40px;
  background:
    radial-gradient(circle at 82% 13%, rgba(59, 130, 246, 0.36), transparent 25rem),
    radial-gradient(circle at 12% 112%, rgba(37, 99, 235, 0.2), transparent 30rem),
    linear-gradient(135deg, #101b35, #070d19 78%);
  box-shadow:
    0 48px 120px rgba(15, 23, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.cta-block::before {
  position: absolute;
  z-index: 0;
  right: -250px;
  bottom: -390px;
  width: 780px;
  height: 780px;
  border-radius: 44% 56% 48% 52%;
  background:
    radial-gradient(circle at 43% 38%, rgba(59, 130, 246, 0.32), transparent 35%),
    radial-gradient(circle at 62% 62%, rgba(37, 99, 235, 0.16), transparent 45%);
  content: "";
  pointer-events: none;
  animation: cta-aurora-drift 12s ease-in-out infinite;
  animation-play-state: paused;
}

.cta-block.is-enhanced-inview::before {
  animation-play-state: running;
}

.cta-block::after {
  z-index: 1;
  top: -190px;
  right: -100px;
  width: 510px;
  height: 510px;
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow:
    0 0 0 48px rgba(37, 99, 235, 0.035),
    0 0 0 96px rgba(37, 99, 235, 0.018);
  opacity: 0.68;
  transform: scale(0.78) translate3d(60px, -50px, 0);
  transition:
    opacity 1000ms ease,
    transform 1300ms var(--ease-cinema);
}

.cta-block.has-entered::after {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
}

.cta-block > * {
  position: relative;
  z-index: 3;
}

.cta-block h2 {
  letter-spacing: -0.055em;
}

.cta-side p {
  font-size: 16px;
  line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.site-footer {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.35), transparent),
    #fff;
}

.site-footer a {
  text-underline-offset: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* Keyframes                                                                  */
/* -------------------------------------------------------------------------- */

@keyframes hero-orbit {
  0% {
    transform: rotate(0deg) scale(0.96);
  }

  50% {
    transform: rotate(180deg) scale(1.035);
  }

  100% {
    transform: rotate(360deg) scale(0.96);
  }
}

@keyframes accent-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes headline-ghost {
  0%,
  48% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes kinetic-word-in {
  0% {
    transform: translate3d(0, 105%, 0) rotateX(-72deg) scale(0.9);
  }

  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
  }
}

@keyframes hero-copy-settle {
  from {
    transform: translate3d(0, 14px, 0);
  }

  to {
    transform: none;
  }
}

@keyframes hero-button-settle {
  from {
    transform: translate3d(0, 12px, 0) scale(0.95);
  }

  to {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes proof-settle {
  from {
    transform: translate3d(0, 11px, 0) scale(0.97);
  }

  to {
    transform: none;
  }
}

@keyframes portrait-frame-breathe {
  0%,
  100% {
    opacity: 0.66;
    transform: rotate(4.2deg) translate3d(0, 0, -40px) scale(0.985);
  }

  50% {
    opacity: 1;
    transform: rotate(2.6deg) translate3d(4px, -8px, -40px) scale(1.02);
  }
}

@keyframes portrait-aura-drift {
  0%,
  100% {
    border-radius: 42% 58% 64% 36% / 41% 34% 66% 59%;
    transform:
      translate3d(var(--hero-aura-x), var(--hero-aura-y), -80px)
      rotate(-2deg)
      scale(0.95);
  }

  50% {
    border-radius: 58% 42% 38% 62% / 57% 62% 38% 43%;
    transform:
      translate3d(var(--hero-aura-x), calc(var(--hero-aura-y) - 12px), -80px)
      rotate(3deg)
      scale(1.045);
  }
}

@keyframes portrait-float {
  0%,
  100% {
    transform:
      translate3d(0, 3px, 28px)
      rotateX(var(--hero-rx))
      rotateY(var(--hero-ry))
      rotateZ(-0.35deg);
  }

  50% {
    transform:
      translate3d(0, -11px, 36px)
      rotateX(var(--hero-rx))
      rotateY(var(--hero-ry))
      rotateZ(0.4deg);
  }
}

@keyframes portrait-light-sweep {
  0%,
  66% {
    opacity: 0;
    transform: translate3d(-180%, 0, 0) skewX(-17deg);
  }

  72% {
    opacity: 0.75;
  }

  88% {
    opacity: 0;
    transform: translate3d(640%, 0, 0) skewX(-17deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(640%, 0, 0) skewX(-17deg);
  }
}

@keyframes dark-aurora-drift {
  0%,
  100% {
    border-radius: 42% 58% 51% 49%;
    transform: translate3d(-3%, 2%, 0) rotate(-5deg) scale(0.95);
  }

  50% {
    border-radius: 58% 42% 39% 61%;
    transform: translate3d(16%, 7%, 0) rotate(7deg) scale(1.08);
  }
}

@keyframes ai-aurora-drift {
  0%,
  100% {
    transform: translate3d(-5%, 2%, 0) rotate(-6deg) scale(0.95);
  }

  50% {
    transform: translate3d(-13%, -9%, 0) rotate(8deg) scale(1.08);
  }
}

@keyframes ai-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-160%, 0, 0) skewX(-17deg);
  }

  25% {
    opacity: 0.86;
  }

  100% {
    opacity: 0;
    transform: translate3d(650%, 0, 0) skewX(-17deg);
  }
}

@keyframes ai-item-in {
  from {
    opacity: 0;
    transform: translate3d(45px, 0, 0) rotateY(-9deg) scale(0.94);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cta-aurora-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(0.96);
  }

  50% {
    transform: translate3d(-70px, -42px, 0) rotate(7deg) scale(1.07);
  }
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 40px, 1000px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.76fr);
    gap: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 6.2vw, 70px);
  }

  .hero-portrait-stage {
    min-height: 640px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item {
    padding: 17px 12px 3px;
  }

  .proof-item + .proof-item {
    border-left: 0;
  }

  .proof-item:nth-child(even) {
    border-left: 1px solid rgba(203, 213, 225, 0.8);
  }

  .proof-item:nth-child(n + 3) {
    margin-top: 8px;
    border-top: 1px solid rgba(203, 213, 225, 0.72);
  }

  .situation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .situation-card,
  .situation-card:nth-child(4),
  .situation-card:nth-child(5) {
    grid-column: auto;
  }

  .evidence-layout {
    gap: 62px;
  }

  .about-layout {
    grid-template-columns: minmax(350px, 0.82fr) minmax(0, 1.18fr);
    gap: 64px;
  }

  .timeline::before,
  .timeline::after {
    display: none;
  }

  .timeline-step::before {
    position: absolute;
    z-index: 4;
    top: 60px;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(96, 165, 250, 0.16),
      rgba(96, 165, 250, 0.42),
      rgba(96, 165, 250, 0.16)
    );
    content: "";
    pointer-events: none;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.92);
  }

  .primary-nav {
    background:
      radial-gradient(circle at 90% 8%, rgba(37, 99, 235, 0.1), transparent 20rem),
      #fff;
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
    background:
      radial-gradient(circle at 72% 58%, rgba(37, 99, 235, 0.2), transparent 25rem),
      linear-gradient(180deg, #fff 0%, #fff 47%, #eff5ff 66%, #eaf2ff 100%);
  }

  .hero::after {
    inset: 44% 0 0;
  }

  .hero-field {
    opacity: 0.62;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    padding: 33px 0 36px;
    transform: none;
  }

  .hero-copy::before {
    inset: -30px -8vw -30px;
    border-radius: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.86) 80%,
      transparent
    );
  }

  .hero-copy h1 {
    max-width: 700px;
    font-size: clamp(45px, 10vw, 72px);
  }

  .hero-portrait-stage {
    min-height: 610px;
    perspective: none;
    transform: none;
  }

  .hero-portrait-stage::before {
    right: -2%;
    left: 5%;
  }

  .hero-portrait-stage::after {
    right: -15px;
  }

  .hero-portrait {
    border-radius: 30px 30px 94px 30px;
  }

  .section {
    padding-block: 96px;
  }

  .evidence-stats {
    position: static;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-photo {
    max-width: 610px;
  }

  .about-photo img {
    transform: scale(1.04);
  }

  .section-dark {
    clip-path: none;
    transform: none;
  }

  .ai-band {
    padding: 44px;
  }

  .cta-block {
    padding: 58px;
  }

  [data-cinema-card],
  [data-cinema-card].is-card-active {
    --card-rx: 0deg !important;
    --card-ry: 0deg !important;
    --card-lift: 0px !important;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  .scroll-progress {
    height: 3px;
  }

  .hero {
    padding-bottom: 52px;
  }

  .hero-copy {
    padding-top: 27px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .hero-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(38px, 11.2vw, 55px);
    letter-spacing: -0.058em;
    line-height: 1.01;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-strip {
    margin-top: 34px;
    padding: 8px 10px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item {
    min-width: 0;
    padding: 15px 10px 5px;
  }

  .proof-item strong {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .proof-item span {
    font-size: 11px;
  }

  .proof-item .count-live {
    display: none;
  }

  .hero-portrait-stage,
  .hero-portrait {
    min-height: 510px;
  }

  .hero-portrait-stage::after {
    top: 8%;
    right: -8px;
    width: 76px;
    height: 76px;
  }

  .portrait-label {
    right: 20px;
    bottom: 22px;
    left: 20px;
    max-width: none;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .situation-grid {
    grid-template-columns: 1fr;
  }

  .situation-card {
    min-height: 0;
    padding: 29px;
  }

  .card-number {
    margin-bottom: 26px;
  }

  .engagement-card {
    min-height: 445px;
    padding: 32px;
  }

  .engagement-card h3 {
    font-size: 34px;
  }

  .evidence-layout {
    gap: 54px;
  }

  .experience-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-dark {
    padding-block: 88px;
  }

  .timeline {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .timeline::before,
  .timeline::after {
    position: absolute;
    top: 38px;
    bottom: 38px;
    left: 43px;
    display: block;
    width: 2px;
    height: auto;
  }

  .timeline::before {
    background: rgba(148, 163, 184, 0.25);
  }

  .timeline::after {
    background: linear-gradient(#60a5fa, #2563eb, #bfdbfe);
    transform: scaleY(0);
    transform-origin: top;
  }

  .timeline.is-timeline-visible::after,
  .no-js .timeline::after {
    transform: scaleY(1);
  }

  .timeline-step {
    min-height: 260px;
    padding: 36px 28px 36px 78px;
  }

  .timeline-step::before {
    display: none;
  }

  .timeline-step span {
    position: absolute;
    top: 34px;
    left: 20px;
    margin: 0;
  }

  .ai-band,
  .cta-block {
    padding: 32px 28px;
    border-radius: 27px;
  }

  .about-photo {
    border-radius: 29px 29px 86px 29px;
  }

  .article-card {
    min-height: 340px;
    padding: 29px;
  }
}

@media (max-width: 500px) {
  .hero-field {
    display: none;
  }

  .hero::before {
    opacity: 0.38;
  }

  .hero-portrait-stage::before {
    animation: none;
  }

  .proof-strip {
    backdrop-filter: none;
  }
}

@media (max-width: 380px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item:nth-child(even) {
    border-left: 0;
  }

  .proof-item + .proof-item {
    margin-top: 0;
    border-top: 1px solid rgba(203, 213, 225, 0.72);
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-portrait-stage {
    perspective: none;
  }

  .hero-portrait-stage::before,
  .portrait-aura,
  .hero-portrait,
  .hero-portrait::before,
  .hero::before,
  .hero .accent-phrase,
  .section-dark::before,
  .ai-band::before,
  .cta-block::before {
    animation-play-state: paused !important;
  }

  .hero-portrait {
    transform: none;
  }

  .hero-portrait img {
    transform: scale(1.055);
  }

  .portrait-aura {
    transform: scale(0.98);
  }

  .card-spotlight {
    display: none;
  }

  [data-cinema-card],
  [data-cinema-card].is-card-active {
    --card-rx: 0deg !important;
    --card-ry: 0deg !important;
    --card-lift: 0px !important;
  }

  [data-cinema-card] > *:not(.card-spotlight) {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Reduced motion: a fully composed, static premium state                     */
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .scroll-progress span,
  .button,
  .reveal,
  .cinema-row,
  .hero::before,
  .hero-field,
  .hero-copy,
  .hero-lead,
  .hero-actions .button,
  .proof-item,
  .hero-portrait-stage,
  .hero-portrait-stage::before,
  .hero-portrait-stage::after,
  .portrait-aura,
  .hero-portrait,
  .hero-portrait::before,
  .hero-portrait img,
  [data-cinema-card],
  [data-cinema-card] > *:not(.card-spotlight),
  .experience-row,
  .section-dark,
  .section-dark::before,
  .timeline::after,
  .ai-band::before,
  .ai-band::after,
  .ai-list li,
  .about-photo img,
  .cta-block::before,
  .cta-block::after {
    animation: none !important;
    transition: none !important;
  }

  .has-enhancements .reveal,
  .has-enhancements .reveal.is-visible,
  .cinema-row,
  .cinema-row.is-visible {
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
    transform: none !important;
  }

  .hero-copy h1::before {
    display: none !important;
  }

  .kinetic-word,
  .hero-copy,
  .hero-portrait-stage,
  .hero-portrait,
  .hero-portrait img,
  .portrait-aura,
  [data-cinema-card],
  [data-cinema-card] > *:not(.card-spotlight),
  .section-dark,
  .about-photo img {
    transform: none !important;
  }

  .hero-portrait img {
    transform: scale(1.04) !important;
  }

  .section-dark {
    clip-path: none !important;
  }

  .timeline::after {
    transform: scaleX(1) !important;
  }

  .card-spotlight,
  .proof-item .count-live {
    display: none !important;
  }

  .hero-copy h1 > span,
  .hero-copy h1 > .accent-phrase {
    background-position: 50% 50%;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 620px) {
  .timeline::after {
    transform: scaleY(1) !important;
  }
}
