/* ==========================================================================
   Vayunex Labs — design tokens (palette drawn from the butterfly logo)
   ========================================================================== */
:root {
  /* Night (deep indigo) */
  --night-950: #0B0618;
  --night-900: #120A2A;
  --night-800: #1A0F3D;
  --night-700: #251555;
  --night-600: #34207A;
  /* Violet */
  --violet-700: #5B21B6;
  --violet-600: #6D28D9;
  --violet-500: #8B5CF6;
  --violet-400: #A78BFA;
  --violet-300: #C4B5FD;
  --violet-100: #EDE9FE;
  --violet-50:  #F6F3FF;
  /* Spark (magenta glow, used sparingly) */
  --spark-400: #E879F9;
  --spark-600: #C026D3;
  /* "Without" state */
  --rose-400: #FB7185;
  --rose-700: #BE123C;
  /* Neutrals */
  --white: #FFFFFF;
  --paper: #F8F6FD;
  --line:  #E7E2F3;
  --ink:   #1A0F3D;
  --body:  #4A4560;
  --muted: #625C78;
  --on-dark: #EEEAFB;
  --on-dark-muted: #B9B0D6;
  --on-dark-line: rgba(255,255,255,.10);

  --grad-brand: linear-gradient(135deg, #6D28D9 0%, #9333EA 55%, #A21CAF 100%);
  --grad-text:  linear-gradient(100deg, #C4B5FD 0%, #A78BFA 35%, #E879F9 100%);
  --grad-text-light: linear-gradient(100deg, #5B21B6 0%, #7C3AED 50%, #A21CAF 100%);

  /* Type */
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 144px);
  --max: 1200px;

  --shadow-sm: 0 1px 2px rgba(26,15,61,.06), 0 2px 8px rgba(26,15,61,.05);
  --shadow-md: 0 2px 6px rgba(26,15,61,.06), 0 12px 32px rgba(26,15,61,.09);
  --shadow-lg: 0 4px 12px rgba(26,15,61,.10), 0 28px 64px rgba(26,15,61,.18);
  --glow: 0 10px 40px rgba(139,92,246,.35);

  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 72px;
  --mobile-cta-h: 0px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--body); background: var(--white); overflow-x: clip;
  padding-bottom: var(--mobile-cta-h); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; }
h3, h4 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible { outline: 3px solid var(--violet-400); outline-offset: 3px; border-radius: 6px; }
.section--light :focus-visible, .section--paper :focus-visible, .booking-card :focus-visible { outline-color: var(--violet-600); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--white); color: var(--violet-700); font-weight: 700; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--light { background: var(--white); }
.section--paper { background: var(--paper); }
.section--dark  { background: var(--night-900); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.section--light .grad-text, .section--paper .grad-text { background-image: var(--grad-text-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 .78rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-600);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.section--dark .eyebrow, .hero .eyebrow, .story .eyebrow, .final .eyebrow { color: var(--violet-300); }

.h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); max-width: 62ch; margin-top: 18px; }
.section--dark .lead { color: var(--on-dark-muted); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease), filter 200ms var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  position: relative; color: var(--white); background: var(--grad-brand);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px rgba(124,58,237,.38);
}
.btn-primary:hover { transform: translateY(-2px); filter: saturate(1.15) brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 16px 40px rgba(124,58,237,.5); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.26); background: rgba(255,255,255,.03); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(196,181,253,.7); background: rgba(255,255,255,.06); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }

.text-link { color: var(--violet-600); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.section--dark .text-link { color: var(--violet-300); }

/* ==========================================================================
   Scroll progress + header
   ========================================================================== */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #8B5CF6, #E879F9); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(11,6,24,.5); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.site-header.is-scrolled { background: rgba(11,6,24,.88); border-bottom-color: var(--on-dark-line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 10px rgba(167,139,250,.45)); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-word { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; }
.brand-labs { font-family: var(--font-display); font-weight: 400; font-size: .95rem; color: var(--violet-300); }
.brand:hover .brand-mark { animation: flutter 900ms var(--ease); }
@keyframes flutter { 30% { transform: scaleX(.82) rotate(-4deg); } 60% { transform: scaleX(1.05); } }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--on-dark-muted); text-decoration: none; font-weight: 600; font-size: .9375rem;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--white); background: rgba(167,139,250,.12); }
.header-cta { min-height: 46px; padding: 0 20px; font-size: .9375rem; }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255,255,255,.07); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99; background: var(--night-950);
  border-bottom: 1px solid var(--on-dark-line); padding: 12px var(--gutter) 28px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-nav ul { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--on-dark-line); }
.mobile-nav a:not(.btn) { display: flex; align-items: center; min-height: 56px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.0625rem; }
.mobile-nav .btn { width: 100%; }
@media (max-width: 959px) { .nav-links, .header-cta { display: none; } .menu-btn { display: inline-flex; } }
@media (min-width: 960px) { .mobile-nav { display: none; } }

/* ==========================================================================
   Shared vector motion
   ========================================================================== */
.current { fill: none; stroke-linecap: round; stroke-dasharray: 220 1500; animation: wind 16s linear infinite; }
.current:nth-child(2) { animation-duration: 21s; animation-delay: -6s; }
.current:nth-child(3) { animation-duration: 18s; animation-delay: -11s; }
.current:nth-child(4) { animation-duration: 24s; animation-delay: -3s; }
.current:nth-child(5) { animation-duration: 19s; animation-delay: -14s; }
@keyframes wind { from { stroke-dashoffset: 1720; } to { stroke-dashoffset: 0; } }
.flow { fill: none; stroke-linecap: round; stroke-dasharray: 2 9; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 8s ease-in-out infinite -3s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.wing { transform-box: fill-box; transform-origin: 100% 50%; animation: wingbeat 5s ease-in-out infinite; }
@keyframes wingbeat { 0%, 70%, 100% { transform: scaleX(1); } 78% { transform: scaleX(.78); } 86% { transform: scaleX(1.02); } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark-muted);
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(139,92,246,.28), transparent 60%),
    radial-gradient(700px 480px at 100% 90%, rgba(232,121,249,.14), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(52,32,122,.65), transparent 60%),
    var(--night-950);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
}
.hero-currents { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 65% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 65% 40%, #000 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-clock {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(167,139,250,.1); box-shadow: inset 0 0 0 1px rgba(167,139,250,.25);
  font: 500 .875rem var(--font-mono); color: var(--on-dark);
}
.hero-clock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spark-400); box-shadow: 0 0 0 4px rgba(232,121,249,.2); animation: blinkdot 1.6s ease-in-out infinite; }
@keyframes blinkdot { 50% { opacity: .35; } }
.hero h1 { color: var(--white); font-size: clamp(1.85rem, 3.6vw, 2.9rem); line-height: 1.1; }
.hero-sub { margin-top: 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 54ch; }
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-reassure { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: .9375rem; color: var(--on-dark); max-width: 52ch; }
.hero-reassure svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--violet-300); }
.hero-for { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--on-dark-line); font-size: .875rem; color: var(--on-dark-muted); }
.hero-for b { color: var(--on-dark); font-weight: 600; }

/* Hero phone */
.hero-stage { position: relative; display: grid; justify-items: center; }
.hero-stage::before {
  content: ""; position: absolute; inset: 8% 4% 14%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.45), rgba(232,121,249,.12) 45%, transparent 70%); filter: blur(30px);
}
.hp-phone {
  width: min(310px, 78vw); aspect-ratio: 9 / 16.2; border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #3B2A73, #150C33 40%, #0B0618);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.05);
  transform: rotate(-3deg);
}
.hp-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #F8F6FD; color: var(--ink); padding: 12px 14px; font-size: 12px; line-height: 1.35; }
.hp-status { display: flex; justify-content: space-between; align-items: center; font: 600 11px var(--font-sans); padding: 2px 8px 10px; }
.hp-status i { width: 66px; height: 18px; border-radius: 10px; background: #0B0618; display: block; }
.hp-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(26,15,61,.08), inset 0 0 0 1px var(--line); font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.hp-search svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.hp-caret { width: 1.5px; height: 16px; background: var(--violet-600); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.hp-results { margin-top: 12px; display: grid; gap: 9px; }
.hp-results > * { opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.hp-phone.show-results .hp-results > * { opacity: 1; transform: none; }
.hp-phone.show-results .hp-results > *:nth-child(2) { transition-delay: 120ms; }
.hp-phone.show-results .hp-results > *:nth-child(3) { transition-delay: 240ms; }
.hp-phone.show-results .hp-results > *:nth-child(4) { transition-delay: 360ms; }
.hp-you { position: relative; padding: 11px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1.5px var(--violet-500), 0 8px 22px rgba(139,92,246,.25); }
.hp-tag { font: 700 9.5px var(--font-sans); letter-spacing: .04em; color: var(--violet-700); }
.hp-you strong { display: block; font-size: 13.5px; margin-top: 2px; }
.hp-spec { display: block; color: var(--muted); font-size: 11.5px; }
.hp-btn { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 11px; }
.hp-tap { position: absolute; right: 24px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(139,92,246,.35); transform: scale(0); opacity: 0; }
.hp-phone.tap .hp-tap { animation: tap 700ms var(--ease) forwards; }
@keyframes tap { 0% { transform: scale(0); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.hp-map { height: 92px; border-radius: 14px; overflow: hidden; background: #ECE7F8; }
.hp-map svg { width: 100%; height: 100%; }
.hp-row { padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.hp-row i { display: block; height: 7px; border-radius: 4px; background: #DCD5EE; }
.hp-row i:first-child { width: 70%; background: #C9C0E3; }
.hp-row i:last-child { width: 45%; }
.hp-toast {
  position: absolute; right: -6%; top: 16%; display: flex; gap: 10px; align-items: center;
  padding: 12px 16px 12px 12px; border-radius: 16px; min-width: 210px;
  background: rgba(26,15,61,.92); color: var(--white); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(196,181,253,.25), 0 20px 50px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.hp-toast.is-on { opacity: 1; transform: none; }
.hp-toast .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-brand); flex: none; }
.hp-toast .ico svg { width: 18px; height: 18px; }
.hp-toast strong { display: block; font-size: .875rem; }
.hp-toast span { font: 500 .75rem var(--font-mono); color: var(--violet-300); }
.hp-steps { display: flex; gap: 8px; margin-top: 26px; list-style: none; padding: 0; flex-wrap: wrap; justify-content: center; }
.hp-steps li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  font: 600 .78rem var(--font-mono); color: var(--on-dark-muted); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--on-dark-line);
  transition: color 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.hp-steps li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.hp-steps li.is-on { color: var(--white); background: rgba(139,92,246,.25); box-shadow: inset 0 0 0 1px rgba(196,181,253,.5); }
.hp-steps li.is-on::before { background: var(--spark-400); opacity: 1; }

@media (max-width: 959px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hp-toast { right: 0; top: 10%; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; }
  .hp-toast { min-width: 0; right: -4px; padding: 10px 12px 10px 10px; }
}

/* ==========================================================================
   Word-reveal statement
   ========================================================================== */
.statement { background: var(--night-950); padding-block: clamp(96px, 14vw, 180px); position: relative; overflow: hidden; }
.statement::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(167,139,250,.4), transparent); }
.statement-text {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.14; color: var(--white); max-width: 22ch;
}
.statement-text .w { opacity: .16; transition: opacity 350ms linear, color 350ms linear; }
.statement-text .w.is-lit { opacity: 1; }
.statement-text .w.is-accent.is-lit { color: var(--violet-300); }
.no-js .statement-text .w, .statement-text.is-static .w { opacity: 1; }
.statement-foot { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--on-dark-muted); font: 500 .875rem var(--font-mono); }
.statement-foot .arrow-down { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(167,139,250,.4); color: var(--violet-300); animation: bob 2s ease-in-out infinite; }
.statement-foot .arrow-down svg { width: 18px; height: 18px; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ==========================================================================
   Story (scrollytelling)
   ========================================================================== */
.story { position: relative; background: var(--night-900); color: var(--on-dark-muted); padding-block: clamp(80px, 10vw, 128px) clamp(64px, 8vw, 104px); }
.story .h2, .story h3 { color: var(--white); }
.story-note { margin-top: 14px; font: 500 .8125rem var(--font-mono); color: var(--on-dark-muted); }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.stage {
  position: sticky; top: calc(var(--header-h) + 20px); height: calc(100vh - var(--header-h) - 40px); max-height: 720px; min-height: 480px;
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 400px at 50% 40%, rgba(139,92,246,.22), transparent 70%), var(--night-800);
  box-shadow: inset 0 0 0 1px var(--on-dark-line), 0 30px 80px rgba(0,0,0,.35);
  display: grid; grid-template-rows: auto 1fr auto;
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px;
}
.stage-hud { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.stage-clock { font: 600 .875rem var(--font-mono); color: var(--white); display: flex; align-items: center; gap: 10px; }
.stage-clock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--spark-400); box-shadow: 0 0 12px var(--spark-400); }
.stage-clock [data-clock] { display: inline-block; transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
.stage-clock.is-ticking [data-clock] { opacity: 0; transform: translateY(-6px); }
.stage-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.stage-tags span { font: 600 .72rem var(--font-mono); padding: 5px 10px; border-radius: 999px; color: var(--violet-100); background: rgba(139,92,246,.22); box-shadow: inset 0 0 0 1px rgba(196,181,253,.3); }
.scenes { position: relative; min-height: 0; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px 16px; opacity: 0; transform: scale(.96) translateY(14px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); pointer-events: none; }
.scene.is-active { opacity: 1; transform: none; }
.scene svg { width: 100%; height: 100%; max-height: 100%; }
.stage-dots { display: flex; gap: 6px; padding: 0 20px 18px; }
.stage-dots button {
  flex: 1; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative;
}
.stage-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); transition: background-color 300ms var(--ease); }
.stage-dots button.is-done::before { background: rgba(167,139,250,.55); }
.stage-dots button.is-active::before { background: linear-gradient(90deg, #A78BFA, #E879F9); box-shadow: 0 0 12px rgba(232,121,249,.6); }

.chapters { display: grid; }
.chapter { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; opacity: .35; transition: opacity 400ms var(--ease); }
.chapter.is-active, .no-js .chapter { opacity: 1; }
.ch-time { display: flex; align-items: center; gap: 12px; font: 600 .875rem var(--font-mono); color: var(--violet-300); }
.ch-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(139,92,246,.2); color: var(--white); box-shadow: inset 0 0 0 1px rgba(196,181,253,.3); }
.chapter h3 { color: var(--white); margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.1; }
.ch-body { margin-top: 14px; font-size: 1.125rem; color: var(--on-dark); max-width: 46ch; }
.ch-compare { margin-top: 24px; display: grid; gap: 10px; max-width: 520px; }
.ch-compare p { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; font-size: .9875rem; }
.ch-compare b { display: block; font: 700 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.ch-compare .ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.ch-compare .ico svg { width: 14px; height: 14px; }
.ch-without { background: rgba(251,113,133,.07); box-shadow: inset 0 0 0 1px rgba(251,113,133,.18); color: var(--on-dark-muted); }
.ch-without b { color: var(--rose-400); }
.ch-without .ico { background: rgba(251,113,133,.15); color: var(--rose-400); }
.ch-with { background: rgba(139,92,246,.14); box-shadow: inset 0 0 0 1px rgba(196,181,253,.3); color: var(--on-dark); }
.ch-with b { color: var(--violet-300); }
.ch-with .ico { background: var(--grad-brand); color: var(--white); }
.ch-tags { margin-top: 16px; font: 500 .8125rem var(--font-mono); color: var(--on-dark-muted); }
.ch-tags span { color: var(--violet-300); }

.story-finale {
  margin-top: clamp(40px, 6vw, 72px); text-align: center; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: var(--r-xl); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 300px at 50% 0%, rgba(139,92,246,.35), transparent 70%), var(--night-800);
  box-shadow: inset 0 0 0 1px rgba(196,181,253,.2);
}
.story-finale .kicker { font: 600 .875rem var(--font-mono); color: var(--violet-300); }
.story-finale h3 { margin: 14px auto 0; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 20ch; color: var(--white); }
.story-finale p { margin: 16px auto 0; max-width: 56ch; }
.story-finale .btn { margin-top: 28px; }

/* Scene inner animations (run only while the scene is active) */
.scene .anim { animation-play-state: paused; }
.scene.is-active .anim { animation-play-state: running; }
.s-type { animation: sType 6s steps(28) infinite; }
@keyframes sType { 0% { clip-path: inset(0 100% 0 0); } 45%, 100% { clip-path: inset(0 0 0 0); } }
.s-cover { transform-box: fill-box; transform-origin: 100% 50%; animation: sCover 6s steps(28) infinite; }
@keyframes sCover { 0% { transform: scaleX(1); } 45%, 100% { transform: scaleX(0); } }
.s-glow { animation: sGlow 2.2s ease-in-out infinite; }
@keyframes sGlow { 50% { opacity: .35; } }
.s-tap { transform-box: fill-box; transform-origin: center; animation: sTap 3s ease-out infinite; }
@keyframes sTap { 0%, 55% { transform: scale(0); opacity: 0; } 60% { opacity: .9; } 85%, 100% { transform: scale(2.4); opacity: 0; } }
.s-pop { transform-box: fill-box; transform-origin: center; animation: sPop 6s var(--ease) infinite; }
@keyframes sPop { 0%, 40% { transform: scale(.6); opacity: 0; } 48%, 92% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }
.s-pop-late { transform-box: fill-box; transform-origin: center; animation: sPopLate 6s var(--ease) infinite; }
@keyframes sPopLate { 0%, 62% { transform: translateY(8px); opacity: 0; } 70%, 94% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.s-fly { offset-rotate: 0deg; animation: sFly 6s var(--ease) infinite; }
@keyframes sFly { 0%, 46% { offset-distance: 0%; opacity: 0; } 50% { opacity: 1; } 70% { offset-distance: 100%; opacity: 1; } 74%, 100% { offset-distance: 100%; opacity: 0; } }
.s-move { animation: sMove 7s var(--ease) infinite; }
@keyframes sMove { 0%, 30% { transform: translateX(0); } 45%, 100% { transform: translateX(124px); } }
.s-check { animation: sCheck 7s var(--ease) infinite; }
@keyframes sCheck { 0%, 18% { opacity: 0; } 24%, 100% { opacity: 1; } }
.s-line { transform-box: fill-box; transform-origin: 0 50%; animation: sLine 5s var(--ease) infinite; }
.s-line.d1 { animation-delay: .4s; } .s-line.d2 { animation-delay: .8s; } .s-line.d3 { animation-delay: 1.2s; } .s-line.d4 { animation-delay: 1.6s; }
@keyframes sLine { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
.s-trace { stroke-dasharray: 260; animation: sTrace 4.5s var(--ease) infinite; }
@keyframes sTrace { 0% { stroke-dashoffset: 260; } 50%, 100% { stroke-dashoffset: 0; } }
.s-node { animation: sNode 4.5s var(--ease) infinite; }
.s-node.n2 { animation-delay: .5s; } .s-node.n3 { animation-delay: 1s; } .s-node.n4 { animation-delay: 1.5s; }
@keyframes sNode { 0% { opacity: .25; } 20%, 100% { opacity: 1; } }
.s-dots circle { animation: sDots 1.2s ease-in-out infinite; }
.s-dots circle:nth-child(2) { animation-delay: .15s; } .s-dots circle:nth-child(3) { animation-delay: .3s; }
@keyframes sDots { 50% { opacity: .2; } }

@media (max-width: 959px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .stage { top: calc(var(--header-h) + 8px); height: 46vh; min-height: 300px; max-height: 420px; z-index: 2; border-radius: var(--r-lg); }
  .stage-hud { padding: 12px 14px 0; align-items: flex-start; }
  .stage-clock { font-size: .75rem; white-space: nowrap; }
  .stage-tags span { font-size: .62rem; padding: 4px 8px; }
  .stage-dots { padding: 0 14px 10px; }
  .chapter { min-height: 64vh; padding-block: 28px; }
  .chapter:first-child { padding-top: 40px; }
}

/* ==========================================================================
   Front desk (before / after)
   ========================================================================== */
.compare { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); --pos: 50%; user-select: none; }
.compare-layer svg { width: 100%; height: auto; }
.compare-layer.is-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(26,15,61,.12), 0 0 20px rgba(139,92,246,.5); }
.compare-knob { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--glow), 0 0 0 4px #fff; }
.compare-knob svg { width: 24px; height: 24px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type="range"]:focus-visible + .compare-handle .compare-knob { outline: 3px solid var(--violet-600); outline-offset: 4px; }
.compare-label { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; font: 700 .75rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.compare-label.l { left: 16px; background: #FFE4E6; color: var(--rose-700); }
.compare-label.r { right: 16px; background: var(--violet-100); color: var(--violet-700); }
.compare-hint { margin-top: 14px; text-align: center; font: 500 .8125rem var(--font-mono); color: var(--muted); }
.pains { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; }
.pains li { padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.pains .n { font: 600 .78rem var(--font-mono); color: var(--rose-700); }
.pains h3 { margin-top: 10px; font-size: 1.0625rem; line-height: 1.35; }
.pains p { margin-top: 8px; font-size: .9375rem; }
@media (max-width: 1023px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pains { grid-template-columns: 1fr; } .compare-label { top: 10px; font-size: .65rem; } .compare-label.l { left: 10px; } .compare-label.r { right: 10px; } .compare-knob { width: 44px; height: 44px; } }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-group + .svc-group { margin-top: clamp(48px, 6vw, 72px); }
.svc-group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.svc-group-head h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.svc-group-head p { font: 500 .8125rem var(--font-mono); color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.svc-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, #8B5CF6, #E879F9); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 300ms var(--ease); pointer-events: none; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card:hover::after { opacity: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(124,58,237,.3); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-icon svg .draw { stroke-dasharray: 120; stroke-dashoffset: 0; }
.svc-card:hover .svc-icon svg .draw { animation: draw 900ms var(--ease); }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.svc-tag { font: 600 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-card h4 { font-size: 1.25rem; line-height: 1.3; }
.svc-card > p { margin-top: 10px; font-size: 1rem; }
.svc-list { list-style: none; padding: 20px 0 0; margin: 22px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 11px; }
.svc-list li { display: flex; gap: 10px; font-size: .9375rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.svc-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--violet-600); }
.svc-chapter { margin-top: auto; padding-top: 20px; }
.svc-chapter a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font: 600 .8125rem var(--font-mono); color: var(--violet-700); text-decoration: none; }
.svc-chapter a:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc-chapter a svg { width: 14px; height: 14px; transform: rotate(-90deg); }
.svc-card--clinical { background: linear-gradient(180deg, #fff, var(--paper)); }
.svc-card--clinical .svc-icon { background: #fff; color: var(--violet-700); box-shadow: inset 0 0 0 1.5px var(--violet-600); }
.clinical-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.clinical-note { border-radius: var(--r-lg); padding: 30px; background: var(--violet-50); box-shadow: inset 0 0 0 1px var(--violet-100); color: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.clinical-note strong { font-size: 1.0625rem; }
.clinical-note p { font-size: 1rem; color: var(--body); }
.svc-foot { margin-top: 36px; font-size: .9375rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .svc-grid, .svc-grid--2, .clinical-wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   Work / portfolio
   ========================================================================== */
.work-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(600px 300px at 90% 10%, rgba(139,92,246,.25), transparent 70%), var(--night-800);
  box-shadow: inset 0 0 0 1px var(--on-dark-line);
}
.work-panel h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; color: var(--white); letter-spacing: -0.03em; }
.work-panel p { margin-top: 14px; color: var(--on-dark-muted); }
.work-panel .btn { margin-top: 28px; }
.covers { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; }
.covers li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--on-dark-line); color: var(--on-dark); font-size: .9375rem; font-weight: 600; }
.covers svg { width: 18px; height: 18px; flex: none; color: var(--violet-300); }
.work-art svg { width: 100%; height: auto; }
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border-radius: var(--r-xl); background: var(--night-800); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.case-shot { background: var(--night-950); padding: 24px 24px 0; display: flex; align-items: flex-end; }
.case-shot .frame { width: 100%; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 40px rgba(0,0,0,.35); }
.case-shot .frame-bar { height: 28px; background: #EEEAF6; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.case-shot .frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFC6E6; }
.case-shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case-body { padding: clamp(24px, 4vw, 44px); }
.case-meta { font: 600 .78rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-300); }
.case-body h3 { font-family: var(--font-display); font-size: 1.75rem; margin-top: 8px; color: var(--white); }
.case-dl { margin: 22px 0 0; display: grid; gap: 14px; }
.case-dl dt { font-size: .8125rem; font-weight: 700; color: var(--on-dark); }
.case-dl dd { margin: 0; font-size: .9375rem; color: var(--on-dark-muted); }
.case-body .text-link { display: inline-block; margin-top: 22px; }
@media (max-width: 860px) { .work-panel, .case { grid-template-columns: 1fr; } .covers { grid-template-columns: 1fr; } }

/* ==========================================================================
   About
   ========================================================================== */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-xl); overflow: hidden; background: var(--night-900); box-shadow: var(--shadow-lg); }
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 4.6; overflow: hidden; background: #E9E7EC; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; transition: transform 1.2s var(--ease); }
.about-card:hover .portrait img { transform: scale(1.035); }
.portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(18,10,42,.55) 82%, var(--night-900) 100%), linear-gradient(135deg, rgba(139,92,246,.18), transparent 45%); }
.portrait-badge { position: absolute; left: 16px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(11,6,24,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 600 .78rem var(--font-sans); box-shadow: inset 0 0 0 1px rgba(196,181,253,.35); }
.portrait-badge svg { width: 22px; height: 22px; }
.about-card-body { position: relative; margin-top: -8px; padding: 0 28px 28px; color: var(--on-dark-muted); }
.about-card-body strong { display: block; color: var(--white); font-size: 1.25rem; }
.about-card-body span { font-size: .9375rem; }
.about-card-body a { display: inline-flex; margin-top: 16px; color: var(--violet-300); font-weight: 700; text-decoration: none; gap: 8px; align-items: center; }
.about-card-body a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-card-body a svg { width: 18px; height: 18px; }
.vendors { margin-top: 28px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.vendors-col { display: grid; gap: 8px; }
.vendors-col span { padding: 10px 14px; border-radius: 12px; font-size: .875rem; font-weight: 600; text-align: center; }
.vendors-col.many span { background: #FFF1F2; color: var(--rose-700); box-shadow: inset 0 0 0 1px #FECDD3; }
.vendors-col.one span { background: var(--grad-brand); color: #fff; padding: 22px 14px; box-shadow: var(--glow); }
.vendors-col.one small { display: block; font-weight: 500; opacity: .85; margin-top: 2px; }
.vendors-arrow { color: var(--violet-600); }
.vendors-arrow svg { width: 28px; height: 28px; }
.note { margin: 28px 0 0; padding: 28px 30px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 3px 0 0 var(--violet-500); font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; letter-spacing: -0.015em; color: var(--ink); }
.note footer { margin-top: 14px; font: 600 .8125rem var(--font-mono); color: var(--muted); }
.pillars { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.pillar h3 { font-size: 1.0625rem; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pillar h3 svg { width: 22px; height: 22px; color: var(--violet-600); flex: none; }
.pillar p { font-size: .9875rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-card { position: relative; top: 0; max-width: 440px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .vendors { grid-template-columns: 1fr; } .vendors-arrow { transform: rotate(90deg); justify-self: center; } }

/* ==========================================================================
   Plans
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: var(--r-xl); padding: 32px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.plan--mid { background: radial-gradient(400px 260px at 80% 0%, rgba(139,92,246,.4), transparent 70%), var(--night-900); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(196,181,253,.25); color: var(--on-dark-muted); }
.plan--mid h3, .plan--mid .plan-price strong { color: var(--white); }
.plan-step { font: 600 .78rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-600); }
.plan--mid .plan-step { color: var(--violet-300); }
.plan h3 { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.03em; margin-top: 8px; }
.plan-for { margin-top: 10px; font-size: 1rem; }
.plan-price { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--paper); font-size: .875rem; }
.plan--mid .plan-price { background: rgba(255,255,255,.06); }
.plan-price span { display: block; font: 600 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan--mid .plan-price span { color: var(--on-dark-muted); }
.plan-price strong { display: block; margin-top: 4px; color: var(--ink); font-size: 1.0625rem; }
.plan-label { margin-top: 24px; font: 600 .72rem var(--font-mono); color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.plan--mid .plan-label { color: var(--white); }
.plan ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.5; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--violet-600); }
.plan--mid li svg { color: var(--violet-300); }
.plan li.ex svg { color: var(--muted); }
.plan--mid li.ex svg { color: var(--on-dark-muted); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-spacer { flex: 1; min-height: 28px; }
.plans-foot { text-align: center; margin-top: 36px; color: var(--muted); }
@media (max-width: 1023px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { position: relative; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-line, .steps-track { position: absolute; top: 31px; left: 32px; right: calc((100% - 72px) / 4 - 32px); height: 2px; pointer-events: none; }
.steps-track { background: var(--on-dark-line); }
.steps-line svg { width: 100%; height: 2px; overflow: visible; }
.steps-line line { stroke: var(--violet-400); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1800ms var(--ease); }
.steps.is-in .steps-line line { stroke-dashoffset: 0; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--night-800); box-shadow: inset 0 0 0 1.5px var(--on-dark-line);
  font: 600 1.25rem var(--font-mono); color: var(--white);
  transition: background 400ms var(--ease), box-shadow 400ms var(--ease);
}
.steps.is-in .step-num { background: var(--grad-brand); box-shadow: 0 0 0 8px rgba(139,92,246,.16), var(--glow); }
.steps.is-in .step:nth-child(2) .step-num { transition-delay: 500ms; }
.steps.is-in .step:nth-child(3) .step-num { transition-delay: 1000ms; }
.steps.is-in .step:nth-child(4) .step-num { transition-delay: 1500ms; }
.step h3 { margin-top: 22px; font-size: 1.1875rem; }
.step p { margin-top: 8px; font-size: .9875rem; color: var(--on-dark-muted); }
.process-note { margin-top: 48px; display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: .9375rem; }
.process-note svg { width: 20px; height: 20px; color: var(--violet-300); flex: none; }
@media (max-width: 900px) {
  .steps-list { grid-template-columns: 1fr; gap: 32px; }
  .steps-line, .steps-track { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; }
  .steps-line svg { width: 2px; height: 100%; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; }
  .step h3 { margin-top: 16px; }
  .step p { grid-column: 2; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside .btn { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 0; font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-700); }
.faq-icon { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform 300ms var(--ease), background 300ms var(--ease), color 300ms var(--ease); }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq-answer { padding: 0 52px 26px 0; }
.faq-answer p + p { margin-top: 12px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-answer { padding-right: 0; } }

/* ==========================================================================
   Final CTA + booking
   ========================================================================== */
.final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--on-dark-muted);
  background: radial-gradient(900px 500px at 50% 110%, rgba(139,92,246,.35), transparent 60%), radial-gradient(600px 300px at 80% 0%, rgba(232,121,249,.12), transparent 60%), var(--night-950);
  padding-block: clamp(88px, 12vw, 152px) clamp(56px, 8vw, 96px);
}
.final .hero-currents { opacity: .7; }
.final-kicker { font: 600 .9rem var(--font-mono); color: var(--violet-300); }
.final h2 { margin: 18px auto 0; color: var(--white); font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.02; max-width: 16ch; }
.final p.lead { margin: 22px auto 0; color: var(--on-dark-muted); }
.final .btn { margin-top: 36px; }
.final-alt { margin-top: 20px; font-size: .9375rem; }
.final-alt a { color: var(--on-dark); font-weight: 600; }

.booking { background: var(--night-950); padding: 0 0 clamp(80px, 10vw, 128px); }
.booking-card { border-radius: var(--r-xl); background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(196,181,253,.15), 0 40px 100px rgba(0,0,0,.5), 0 0 120px rgba(139,92,246,.18); }
.booking-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px) 28px; border-bottom: 1px solid var(--line); }
.booking-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
.booking-head p { margin-top: 12px; max-width: 60ch; }
.booking-meta { display: grid; gap: 10px; font-size: .9375rem; color: var(--ink); font-weight: 600; }
.booking-meta div { display: flex; gap: 10px; align-items: center; }
.booking-meta svg { width: 20px; height: 20px; color: var(--violet-600); flex: none; }
.meta-manish .avatar { width: 30px; height: 30px; margin-left: -5px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--violet-400); }
.next-steps { list-style: none; margin: 0; padding: 22px clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-bottom: 1px solid var(--line); counter-reset: none; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; }
.next-steps span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--grad-brand); color: #fff; font: 600 .875rem var(--font-mono); }
.next-steps strong { display: block; color: var(--ink); font-size: .9875rem; }
.next-steps p { font-size: .875rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) { .next-steps { grid-template-columns: 1fr; } }
.calendar-frame { position: relative; background: var(--paper); padding: clamp(8px, 2vw, 20px); }
.calendar-frame::before { content: "Loading available times…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: .9375rem; z-index: 0; }
.calendar-frame iframe { position: relative; z-index: 1; display: block; width: 100%; height: 680px; border-radius: 14px; background: transparent; }
.booking-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 22px clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.booking-foot a.fallback { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--violet-700); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.booking-foot a.fallback svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .booking-head { grid-template-columns: 1fr; } .calendar-frame iframe { height: 860px; } }

/* ==========================================================================
   Footer + mobile CTA
   ========================================================================== */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 420px at 15% 0%, rgba(139,92,246,.16), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(232,121,249,.10), transparent 60%), var(--night-950);
  color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 96px); font-size: .9375rem;
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(196,181,253,.55), rgba(232,121,249,.55), transparent); }
.footer-currents { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.1fr .95fr 1.4fr; gap: clamp(24px, 3vw, 40px); }
.footer-tagline { margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.025em; color: var(--white); max-width: 20ch; }
.footer-for { margin-top: 10px; }
.footer-brand .btn { margin-top: 24px; min-height: 48px; padding: 0 22px; font-size: .9375rem; }
.footer-col h3 { font: 600 .75rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet-300); margin-bottom: 16px; }
.footer-col ul, .footer-col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--on-dark); text-decoration: none; font-weight: 500; transition: color 200ms var(--ease), transform 200ms var(--ease); }
.footer-col a:hover { color: var(--white); transform: translateX(3px); }
.footer-story a { width: 100%; }
.footer-story a span { font: 600 .72rem var(--font-mono); color: var(--violet-400); width: 22px; }
.footer-story a small { margin-left: auto; font: 500 .72rem var(--font-mono); color: var(--on-dark-muted); white-space: nowrap; }
.footer-story a:hover span { color: var(--spark-400); }
.contact-card { display: flex !important; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--on-dark-line); transition: background 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease) !important; }
.contact-card:hover { background: rgba(139,92,246,.14); box-shadow: inset 0 0 0 1px rgba(196,181,253,.4); transform: translateY(-2px) !important; }
.contact-card .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; flex: none; }
.contact-card .ico svg { width: 18px; height: 18px; }
.avatar { border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; background: #E9E7EC; }
.contact-card--manish .avatar { width: 40px; height: 40px; box-shadow: 0 0 0 2px var(--night-950), 0 0 0 4px rgba(167,139,250,.7); }
.contact-card strong { display: block; color: var(--white); font-size: .9375rem; line-height: 1.3; }
.contact-card small { display: block; color: var(--on-dark-muted); font-size: .8125rem; }
.contact-card > span:last-child { min-width: 0; }
.footer-mark { margin-top: clamp(40px, 6vw, 72px); margin-bottom: -2%; }
.footer-mark svg { width: 100%; height: auto; overflow: visible; }
.footer-mark { position: relative; }
.footer-bf { position: absolute; right: 0; top: -16%; width: 9.5%; aspect-ratio: 1; animation: floatY 7s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(167,139,250,.6)); }
.footer-bf svg { width: 100%; height: 100%; }
.footer-base {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  padding: 22px 0 28px; border-top: 1px solid var(--on-dark-line); font-size: .8125rem;
}
.footer-base span:nth-child(3) { flex: 1; }
.team-login { color: var(--on-dark-muted); text-decoration: none; font-weight: 600; }
.team-login:hover { color: var(--violet-300); }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--on-dark-line); transition: background 200ms var(--ease); }
.to-top:hover { background: rgba(139,92,246,.22); }
.to-top svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-story, .footer-contact { grid-column: 1 / -1; }
  .footer-services { order: 1; } .footer-company { order: 2; } .footer-story { order: 3; } .footer-contact { order: 4; }
  .footer-base span:nth-child(3) { flex-basis: 100%; }
}

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(11,6,24,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--on-dark-line); transition: transform 300ms var(--ease); }
.mobile-cta .btn { width: 100%; min-height: 52px; }
.mobile-cta.is-hidden { transform: translateY(110%); }
@media (max-width: 959px) { :root { --mobile-cta-h: calc(76px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .mobile-cta { display: none; } }

/* ==========================================================================
   Reveal on scroll + reduced motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 100ms; }
.js .reveal[data-delay="2"] { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .current { stroke-dasharray: none; opacity: .3; }
  .statement-text .w { opacity: 1; }
  .s-pop, .s-pop-late, .s-check, .s-node { opacity: 1; }
  .s-cover { transform: scaleX(0); }
}

/* ==========================================================================
   Background vectors (circuit traces, wind ribbons, drifting butterflies)
   ========================================================================== */
.section, .statement, .story, .final, .site-footer { position: relative; isolation: isolate; }
.bgv { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bgv-circuit { position: absolute; width: min(460px, 60vw); height: auto; }
.bgv-tl { top: 0; left: 0; }
.bgv-br { right: 0; bottom: 0; }
.bgv-circuit .trace path { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bgv-circuit .trace-pulse path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 18 520; animation: tracePulse 7s linear infinite; }
.bgv-circuit .trace-pulse path:nth-child(2) { animation-delay: -2.4s; animation-duration: 8.5s; }
.bgv-circuit .trace-pulse path:nth-child(3) { animation-delay: -4.8s; animation-duration: 9.5s; }
@keyframes tracePulse { from { stroke-dashoffset: 538; } to { stroke-dashoffset: 0; } }
.bgv-circuit .node circle { animation: nodeGlow 3.2s ease-in-out infinite; }
.bgv-circuit .node circle:nth-child(2n) { animation-delay: -1.6s; }
@keyframes nodeGlow { 50% { opacity: .35; } }
.bgv-wind { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 60%; transform: translateY(-50%); }
.bgv-wind .current { stroke-width: 1.4; }

.bgv--light .trace path { stroke: #8B5CF6; opacity: .24; }
.bgv--light .trace-pulse path { stroke: #C026D3; opacity: .6; }
.bgv--light .node circle { fill: #A78BFA; opacity: .55; }
.bgv--light .bgv-wind .current { stroke: #A78BFA; opacity: .5; }
.bgv--dark .trace path { stroke: #C4B5FD; opacity: .13; }
.bgv--dark .trace-pulse path { stroke: #E879F9; opacity: .75; }
.bgv--dark .node circle { fill: #E879F9; opacity: .7; }
.bgv--dark .bgv-wind .current { stroke: url(#windGrad); }

.bgv-bf { position: absolute; display: block; filter: drop-shadow(0 0 14px rgba(167,139,250,.5)); animation: bfDrift 16s ease-in-out infinite; }
.bgv-bf svg { width: 100%; height: 100%; }
.bgv--light .bgv-bf { opacity: .42; }
.bgv--dark .bgv-bf { opacity: .45; }
.bgv-bf.f1 { width: 46px; height: 46px; top: 14%; right: 9%; }
.bgv-bf.f2 { width: 30px; height: 30px; top: 62%; left: 5%; animation-duration: 20s; animation-delay: -7s; }
.bgv-bf.f3 { width: 22px; height: 22px; bottom: 10%; right: 32%; animation-duration: 24s; animation-delay: -12s; }
@keyframes bfDrift {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  25% { transform: translate(18px, -22px) rotate(4deg); }
  50% { transform: translate(-10px, -40px) rotate(-2deg); }
  75% { transform: translate(-22px, -14px) rotate(6deg); }
}
@media (max-width: 720px) {
  .bgv-circuit { width: 70vw; opacity: .7; }
  .bgv-bf.f3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bgv-circuit .trace-pulse { display: none; }
}
