/* ============================================================
   Cirvix — final build, v2 (minimal / pastel)
   The lenis.dev · Google school: white ground, near-black
   type, ONE pastel blue, hairlines instead of boxes, huge
   quiet headlines, generous air. Motion: Lenis smooth scroll
   + GSAP ScrollTrigger, restrained — masked words, soft
   rises, one pinned section. Nothing glows. Nothing shouts.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fd;

  --ink: #0b0c0f;
  --body: #5a6372;
  --muted: #667082; /* AA-contrast with margin, even over the pastel tints */

  --line: #e9edf4;
  --line-strong: #d9dfeb;

  /* the pastel blue family */
  --blue: #7fa8f8;          /* pastel star */
  --blue-deep: #3462d8;     /* text-safe blue (5.4:1 on white — AA with margin) */
  --blue-ink: #14284e;      /* headings on pastel washes */
  --wash: #eaf1ff;          /* pastel wash */
  --wash-2: #dce8ff;
  --blue-line: #c9dafb;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: 24px;
  --radius: 18px;
  --nav-h: 74px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

/* ---------- Lenis recommended styles ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

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

html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* one quiet pastel wash at the top — the only "color spread" */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 520px at 50% -14%, var(--wash), transparent 62%),
    var(--bg);
  pointer-events: none;
}

/* ambient pastel orbs — the light source every glass surface refracts.
   pure transform animation (compositor-only), invisible to reduced motion */
body::after {
  content: "";
  position: fixed;
  inset: -22%;
  z-index: -1;
  background:
    radial-gradient(34% 30% at 22% 30%, rgba(127, 168, 248, 0.20), transparent 70%),
    radial-gradient(30% 28% at 78% 22%, rgba(61, 111, 224, 0.11), transparent 70%),
    radial-gradient(32% 30% at 62% 78%, rgba(169, 196, 250, 0.17), transparent 70%);
  pointer-events: none;
  animation: ambient-drift 34s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ambient-drift {
  0%   { transform: translate3d(-2.5%, -2%, 0) scale(1); }
  50%  { transform: translate3d(2%, 2.5%, 0) scale(1.06); }
  100% { transform: translate3d(-1.5%, 2%, 0) scale(1.02); }
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgba(127, 168, 248, 0.28); }

:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.25s var(--ease-out);
}
.skip:focus { top: 12px; }

/* retired maximalist layers — kept as no-ops so old markup stays harmless */
.aurora-bg, .grain { display: none; }

/* ---------- Backdrop brain ---------- */
.brain-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* scroll progress hairline */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 210;
  background: var(--blue-deep);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main { position: relative; z-index: 2; }

.section {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0;
  background: rgba(255, 255, 255, 0.82);
}
.section.raised { background: rgba(247, 249, 253, 0.75); }
.section.clear { background: transparent; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.hairline-top { border-top: 1px solid var(--line); }

.section-head { max-width: 780px; margin-bottom: clamp(52px, 7vw, 96px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* numbered institutional labels */
.sec-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  font-family: var(--font-display);
}
.sec-label .no {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
}
.sec-label .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-label::after {
  content: "";
  flex: 1;
  max-width: 110px;
  height: 1px;
  background: var(--line-strong);
  align-self: center;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.16rem, 2vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.24; }

/* one calm blue — with a slow, quiet shimmer where supported */
.grad-text { color: var(--blue-deep); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .grad-text {
    background: linear-gradient(100deg, var(--blue-deep) 0%, var(--blue-deep) 30%, #86adf9 50%, var(--blue-deep) 70%, var(--blue-deep) 100%);
    background-size: 240% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: grad-pan 7s ease-in-out infinite;
  }
}
@keyframes grad-pan {
  0%, 12% { background-position: 100% 0; }
  55%, 100% { background-position: 0% 0; }
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: var(--body);
  margin-top: 24px;
  max-width: 660px;
  text-wrap: pretty;
}
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.small { font-size: 13.5px; color: var(--muted); }

/* split-text internals (JS-applied) */
.sl { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.sw { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn:active { transform: translateY(0) scale(0.99); }
.btn svg { transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* pastel primary */
.btn-primary {
  background: var(--wash-2);
  color: var(--blue-ink);
}
.btn-primary:hover {
  background: #cfe0ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(61, 111, 224, 0.5);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 10px 26px -22px rgba(20, 40, 78, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ink pill for pastel surfaces */
.cta-panel .btn-primary {
  background: var(--ink);
  color: #fff;
}
.cta-panel .btn-primary:hover {
  background: #23252c;
  box-shadow: 0 16px 32px -18px rgba(11, 12, 15, 0.5);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-deep);
}
.text-link svg { transition: transform 0.3s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  border-bottom-color: rgba(233, 237, 244, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.brand .amp { color: var(--muted); font-weight: 400; margin: 0 4px; }
.brand .dot { color: var(--blue-deep); }
/* margin on the mark, NOT flex gap — gap treats the wordmark text and the
   dot as separate flex items and pushes them apart ("Cirvix ." not "Cirvix.") */
.brand .brand-mark { margin-right: 9px; }

/* Cirvix mark — open circuit loop + node; draws itself in on load,
   node pulses on hover. Purely decorative, hidden from a11y tree. */
.brand-mark {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--blue-deep);
  overflow: visible;
}
/* the arc draws itself, then the growth chevron rises into it */
.brand-mark .bm-arc {
  stroke-dasharray: 46;
  stroke-dashoffset: 0;
  animation: mark-draw 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand-mark .bm-chev {
  transform-origin: 12px 12px;
  animation: mark-rise 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}
@keyframes mark-draw { from { stroke-dashoffset: 46; } to { stroke-dashoffset: 0; } }
@keyframes mark-rise { from { transform: translateY(3px) scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.brand:hover .brand-mark .bm-chev { animation: mark-nudge 1.5s ease-in-out infinite; }
@keyframes mark-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
.footer .brand-mark { color: var(--blue-deep); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links > a.active { color: var(--ink); }
.nav-links > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 110px;
  text-align: center;
  background: transparent;
}
.hero-content { max-width: 980px; margin: 0 auto; position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px -20px rgba(20, 40, 78, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--body);
  margin-bottom: 36px;
}
.hero-eyebrow i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  font-style: normal;
}

.hero h1 { margin-bottom: 0; }
.hero .lede { margin: 30px auto 0; max-width: 640px; }

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  width: fit-content;
  margin: 60px auto 0;
  padding: 14px 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 32px -24px rgba(20, 40, 78, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
}
.scroll-hint::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--blue-deep);
  animation: scroll-drop 2.2s var(--ease-out) infinite;
}
@keyframes scroll-drop {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  70%, 100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(84px, 12vw, 150px)) 0 clamp(56px, 8vw, 104px);
  background: transparent;
}
.page-hero h1 { max-width: 880px; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee span::after {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Rows (minimal list sections) ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 90px 0.9fr 1.3fr;
  gap: 24px;
  align-items: baseline;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
.row:hover { background: linear-gradient(90deg, transparent, var(--bg-soft) 12%, var(--bg-soft) 88%, transparent); }
.row .row-num {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue-deep);
}
.row h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
.row p { color: var(--body); font-size: 15px; line-height: 1.66; }

/* pricing rows */
.price-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background-color 0.3s ease;
}
.price-row:hover { background: linear-gradient(90deg, transparent, var(--bg-soft) 12%, var(--bg-soft) 88%, transparent); }
.price-row h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.price-row .ideal { color: var(--muted); font-size: 14.5px; }
.price-row .price {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  white-space: nowrap;
}
.price-row .go {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}
.price-row:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateX(4px); }

/* ---------- Chips ---------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  background: #fff;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out), background-color 0.25s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue-ink); background: var(--wash); transform: translateY(-2px); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); font-style: normal; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- Cards (quiet) ---------- */
.card {
  position: relative;
  /* translucent, not blurred: cheap glass-lite that stays smooth on phones */
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.5s var(--ease-out), border-color 0.35s ease, box-shadow 0.5s var(--ease-out);
  will-change: transform;
}
.card > * { position: relative; z-index: 2; }
.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-line);
  box-shadow: 0 24px 48px -32px rgba(20, 40, 78, 0.25);
}

/* the beam is retired — minimalism won */
.card.beam::before { content: none; }
.card::after { content: none; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--body); font-size: 15px; line-height: 1.66; }

.card-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--wash);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.card-vis {
  height: 136px;
  border-radius: 12px;
  background: var(--bg-soft);
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-vis svg { width: 100%; height: 100%; }

.mini-list { margin-top: 18px; display: grid; gap: 10px; }
.mini-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
  font-weight: 500;
}
.mini-list li svg { flex: none; margin-top: 3px; color: var(--blue-deep); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-deep);
}
.card-link svg { transition: transform 0.35s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(5px); }

/* glassmorphism where it earns trust: program cards over the brain */
.offer-card {
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 48px -32px rgba(20, 40, 78, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.offer-card:hover {
  border-color: var(--blue-line);
  box-shadow: 0 30px 60px -34px rgba(20, 40, 78, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.offer-card .card-vis { background: rgba(247, 249, 253, 0.6); }

/* problem cards (legacy class, quiet look) */
.problem-card .p-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
  display: block;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 1.08rem; }
.problem-card p { font-size: 14px; margin-top: 9px; }

/* deliverables — no boxes, just air */
.tile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 4px;
  border-top: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out);
}
.tile:hover { transform: translateX(4px); }
.tile .t-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--blue-deep);
  background: var(--wash);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile h4 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.tile p { font-size: 13.5px; color: var(--body); margin-top: 5px; line-height: 1.6; }

/* ---------- Pinned steps ---------- */
.steps-wrap { position: relative; height: 380vh; background: rgba(247, 249, 253, 0.75); }
.steps-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 12px) 0 32px;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  width: 100%;
}
.step-list { margin-top: 38px; display: grid; gap: 8px; }
.step {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
  opacity: 0.4;
}
.step.active {
  opacity: 1;
  background: #fff;
  border-color: var(--line);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--blue-deep);
  background: var(--wash);
  width: 36px; height: 36px;
  flex: none;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step h3 { font-size: 1.06rem; }
.step p { font-size: 14px; color: var(--body); margin-top: 6px; }

.steps-visual { position: relative; aspect-ratio: 1 / 0.92; max-height: 66vh; }
.step-vis {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.55s ease, transform 0.65s var(--ease-out);
  pointer-events: none;
}
.step-vis.active { opacity: 1; transform: none; }
.step-vis svg { width: 100%; height: 100%; }

.steps-progress {
  position: absolute;
  left: -28px;
  top: 10%;
  bottom: 10%;
  width: 2.5px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.steps-progress i {
  position: absolute;
  inset: 0;
  background: var(--blue-deep);
  border-radius: 3px;
  transform: scaleY(0);
  transform-origin: top;
}

/* ---------- Interlude ---------- */
.interlude {
  background: transparent;
  padding: clamp(130px, 17vw, 230px) 0;
  text-align: center;
  position: relative;
}
.interlude blockquote,
.fillpin blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.14;
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  text-wrap: balance;
}
.interlude blockquote em,
.fillpin blockquote em { font-style: normal; color: var(--blue-deep); }

/* pinned word-fill scene: the statement holds while scroll lights it up */
.fillpin-wrap { position: relative; height: 220vh; background: transparent; }
.fillpin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.interlude p { margin-top: 24px; color: var(--body); font-size: 1.05rem; }

/* ---------- Stats (glass panel) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3vw, 36px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 56px -40px rgba(20, 40, 78, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.stat {
  padding: 28px 26px 26px;
  border-left: 1px solid var(--line-strong);
  position: relative;
}
.stat::before {
  content: "";
  position: absolute;
  left: -1px; top: 0;
  width: 1px; height: 44px;
  background: var(--blue-deep);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stat b .unit { font-size: 0.5em; color: var(--blue-deep); }
.stat span { display: block; margin-top: 12px; font-size: 14px; color: var(--body); }

/* ---------- Pricing ---------- */
/* Cards sit in normal document flow and set the section height
   themselves; nothing here is absolutely positioned except the
   decorative badge, which gets explicit headroom via margin-top
   so it can never collide with neighbouring content. */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 14px; /* headroom for the overhanging badge */
}
.tier { display: flex; flex-direction: column; height: 100%; padding: 32px 26px; position: relative; }
.tier .btn { margin-top: auto; }

/* ---------- tier hierarchy (premium positioning) ----------
   The recommended program is physically larger and brighter than the
   ones either side of it, and the highest tier is a dark prestige card
   that anchors the range — so the eye lands on Command and reads it as
   the sensible middle, not the expensive end. */
.tier-line {
  font-size: 13.5px;
  color: var(--blue-deep);
  font-weight: 600;
  margin-top: 4px;
}
.tier .price { margin-top: 16px; }
.tier .ideal { margin-top: 2px; }
.tier-ctx {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(234, 241, 255, 0.5);
  border-left: 2px solid var(--blue);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--body);
}
.mini-list li.ex { color: var(--muted); }
.mini-list li.ex svg { color: #b9c2d2; }

/* the recommended tier — larger, lifted, unmistakable */
.tier--hero {
  border-color: var(--blue);
  background: linear-gradient(180deg, #ffffff, var(--wash));
  box-shadow: 0 36px 70px -34px rgba(52, 98, 216, 0.5), var(--neu-in);
  z-index: 2;
}
@media (min-width: 1001px) {
  .tier--hero { transform: scale(1.045); }
  .tier--hero:hover { transform: scale(1.06) translateY(-4px); }
}
.tier--hero .price { color: var(--blue-ink); }
.tier--hero .badge { background: var(--blue-deep); }

/* the anchor tier — dark, quiet, expensive-looking */
.tier--sov {
  background: linear-gradient(180deg, #0f1420, #0b0c0f);
  border-color: rgba(255, 255, 255, 0.10);
  color: #e8ecf5;
}
.tier--sov h3, .tier--sov .price { color: #fff; }
.tier--sov .tier-line { color: var(--blue); }
.tier--sov .ideal, .tier--sov .mini-list li { color: #aab4c6; }
.tier--sov .mini-list li b { color: #fff; }
.tier--sov .mini-list li svg { color: var(--blue); }
.tier--sov .tier-ctx {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--blue);
  color: #aab4c6;
}
.tier--sov .badge { background: #fff; color: var(--ink); }
.tier--sov .btn-ghost { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.tier--sov .btn-ghost:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.45); }

/* ---------- per-program application modal ---------- */
.pmodal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pmodal[hidden] { display: none; }
.pm-backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 16, 30, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.pmodal.show .pm-backdrop { opacity: 1; }
.pm-card {
  position: relative;
  width: min(660px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--blue-line);
  border-radius: 22px;
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 50px 100px -40px rgba(15, 30, 70, 0.55), var(--neu-in);
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.pmodal.show .pm-card { transform: none; opacity: 1; }
.pm-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -0.025em; margin-top: 10px; }
.pm-sub { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--body); }
.pm-card form { margin-top: 22px; }
.pm-x {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pm-x:hover { background: var(--bg-soft); color: var(--ink); transform: rotate(90deg); }
body.pm-open { overflow: hidden; }
@media (max-width: 560px) { .pm-card { padding: 22px 18px; border-radius: 18px; } }

/* ---------- budget matcher (self-selection) ---------- */
.bmatch {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 22px;
  border: 1px solid var(--blue-line);
  background: linear-gradient(180deg, #ffffff, var(--wash));
  box-shadow: -8px -8px 20px var(--neu-lo), 18px 22px 46px -26px rgba(24, 46, 92, 0.20), var(--neu-in);
  text-align: center;
}
.bm-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.025em; }
.bm-head p { margin: 12px auto 0; max-width: 620px; font-size: 14.5px; color: var(--body); line-height: 1.65; }
.bm-opts { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 26px; }
.bm-opt {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
  box-shadow: -3px -3px 8px rgba(255,255,255,0.9), 4px 6px 14px -9px rgba(24,46,92,0.20);
}
.bm-opt:hover { transform: translateY(-2px); border-color: var(--blue); }
.bm-opt.on {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
  box-shadow: inset 2px 2px 6px rgba(12,30,78,0.34), inset -2px -2px 6px rgba(255,255,255,0.14);
}
.bm-answer {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--body);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.45s ease, max-height 0.5s cubic-bezier(0.22,1,0.36,1), margin-top 0.4s;
}
.bm-answer.show { opacity: 1; max-height: 260px; margin-top: 24px; }
.bm-answer b { color: var(--ink); }

/* the tier that matches the visitor's stated budget */
.tier--match {
  border-color: var(--blue-deep) !important;
  box-shadow: 0 0 0 3px rgba(52, 98, 216, 0.18), 0 30px 60px -34px rgba(52, 98, 216, 0.5) !important;
}
.tier--match::after {
  content: "Matches your budget";
  position: absolute;
  top: -13px; right: 18px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* "exactly right if…" — gives every tier its own dignity */
.tier-fit {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.tier--sov .tier-fit { color: #dbe3f2; border-top-color: rgba(255,255,255,0.14); }

/* ---------- honest scarcity bar ---------- */
.scarcity-bar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 780px;
  margin: 30px auto 0;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--blue-line);
  background: rgba(234, 241, 255, 0.4);
}
.scarcity-bar p { font-size: 13.5px; line-height: 1.65; color: var(--body); }
.scarcity-bar b { color: var(--ink); }
.sb-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-deep); flex: none; margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(61, 111, 224, 0.16);
  animation: sb-pulse 2.4s ease-in-out infinite;
}
@keyframes sb-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(61,111,224,0.16); } 50% { box-shadow: 0 0 0 8px rgba(61,111,224,0.05); } }

/* ---------- cost-of-waiting band (loss aversion) ---------- */
.delay-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(26px, 3.6vw, 46px);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: -8px -8px 20px var(--neu-lo), 16px 20px 44px -26px var(--neu-hi), var(--neu-in);
}
.db-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.028em; margin: 12px 0 16px; }
.db-copy p { font-size: 14.5px; line-height: 1.7; color: var(--body); }
.db-copy p + p { margin-top: 12px; }
.db-list { display: grid; gap: 10px; }
.db-list li {
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(247, 249, 253, 0.9);
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  transition: transform 0.3s, border-left-color 0.3s;
}
.db-list li:hover { transform: translateX(3px); border-left-color: var(--blue-deep); }
.db-list span {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.db-list b { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.5; }
@media (max-width: 860px) { .delay-band { grid-template-columns: 1fr; } }

/* ---------- comparison table ---------- */
.cmp-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.8); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: center; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: rgba(247,249,253,0.9); }
.cmp tbody th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); white-space: nowrap; }
.cmp td { color: var(--body); }
.cmp svg { vertical-align: middle; }
.cmp td svg { color: var(--blue-deep); }
.cmp .hi { background: rgba(234, 241, 255, 0.55); font-weight: 600; color: var(--ink); }
.cmp thead .hi { background: var(--blue-deep); color: #fff; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; font-weight: 600; }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: rgba(247, 249, 253, 0.7); }
.cmp tbody tr:hover .hi { background: rgba(234, 241, 255, 0.8); }

@media (max-width: 1000px) {
  .tiers, .tiers--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tiers, .tiers--4 { grid-template-columns: 1fr; }
}

/* disclaimer under the cards: normal flow, fixed gap, centered */
.tiers-note {
  display: block;
  position: relative;
  margin: 40px auto 0;
  max-width: 680px;
  text-align: center;
}
.tier.featured {
  border-color: var(--blue);
  box-shadow: 0 28px 56px -36px rgba(61, 111, 224, 0.35);
}
.tier .badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  z-index: 3;
}
.tier h3 { font-size: 1.2rem; }
.tier .ideal { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.tier .price {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 20px 0 4px;
  color: var(--ink);
}
.tier .price small { font-size: 0.5em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .mini-list { margin: 20px 0 28px; flex: 1; }
.tier .btn { width: 100%; }

.retainer {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.retainer-price {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
}
.retainer-price small { font-size: 0.36em; color: var(--muted); }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.check-grid li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.check-grid li svg { flex: none; margin-top: 3px; color: var(--blue-deep); }
.check-grid li span { display: block; font-weight: 400; font-size: 13px; color: var(--body); margin-top: 2px; }

/* buy / not-buy */
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.buy-col h3 { margin-bottom: 22px; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.buy-col ul { display: grid; gap: 14px; }
.buy-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.buy-col li svg { flex: none; margin-top: 3.5px; }
.not-buy { background: var(--bg-soft); }
.not-buy li { color: var(--muted); }
.not-buy li svg { color: var(--muted); }
.yes-buy { border-color: var(--blue-line); background: linear-gradient(180deg, #ffffff, var(--wash)); }
.yes-buy li svg { color: var(--blue-deep); }
.yes-buy li span, .not-buy li span { display: block; font-weight: 400; font-size: 13px; color: var(--body); margin-top: 2px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.6px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); border-color: var(--blue); background: var(--wash); }
.faq details p { padding: 0 4px 26px; color: var(--body); font-size: 15px; max-width: 660px; }

/* ---------- Services page ---------- */
.program { scroll-margin-top: calc(var(--nav-h) + 12px); }
.program-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.program-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.program-side .lede { font-size: 1.05rem; }
.program-side .btn { margin-top: 32px; }
.built-for {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--blue);
  background: var(--wash);
  border-radius: 0 12px 12px 0;
  font-size: 14.5px;
  color: var(--blue-ink);
}
.built-for b {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 5px;
}

.promise {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, var(--wash));
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink);
  font-weight: 500;
}
.promise b { color: var(--blue-deep); font-weight: 600; }

.flow-svg {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px 10px;
}

/* ---------- Company: film ---------- */
.film {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0a1222;
  aspect-ratio: 16 / 9;
  box-shadow: 0 44px 90px -48px rgba(20, 40, 78, 0.45);
}
.film canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0) 52%, rgba(4, 7, 15, 0.8) 100%);
  pointer-events: none;
}
.film-caption {
  position: absolute;
  left: clamp(20px, 5%, 56px);
  bottom: clamp(56px, 16%, 120px);
  right: 10%;
  pointer-events: none;
}
.film-caption span {
  position: absolute;
  left: 0; bottom: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease-out);
  white-space: nowrap;
}
.film-caption span.active { opacity: 1; transform: none; }
.film-ui {
  position: absolute;
  left: clamp(20px, 5%, 56px);
  right: clamp(20px, 5%, 56px);
  bottom: clamp(16px, 5%, 30px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.film-play {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.3s var(--ease-out);
}
.film-play:hover { background: rgba(255, 255, 255, 0.14); transform: scale(1.06); }
.film-play .icon-pause { display: block; }
.film-play .icon-play { display: none; }
.film.paused .icon-pause { display: none; }
.film.paused .icon-play { display: block; }
.film-track {
  flex: 1;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}
.film-track i {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
}
.film-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.principle .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
  color: var(--blue-deep);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.next-steps { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.next-step {
  display: flex;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.next-step .n {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--wash);
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}
.next-step h4 { font-size: 15px; font-weight: 600; }
.next-step p { font-size: 13.5px; color: var(--body); margin-top: 4px; }

.direct-mail { margin-top: 28px; font-size: 14.5px; color: var(--body); }
.direct-mail a { color: var(--blue-deep); font-weight: 600; }
.direct-mail a:hover { text-decoration: underline; }

.form-card {
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 60px -40px rgba(20, 40, 78, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6372' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field select:invalid { color: var(--muted); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 4px rgba(127, 168, 248, 0.22);
}
.form-foot { margin-top: 24px; display: grid; gap: 14px; }
.form-foot .small { text-align: center; }

.form-success { display: none; text-align: center; padding: clamp(30px, 5vw, 56px) clamp(20px, 4vw, 40px); }
.form-success.show { display: block; }
.form-success .ok {
  width: 60px; height: 60px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success p { color: var(--body); font-size: 15px; max-width: 440px; margin: 12px auto 0; }
.form-success b { color: var(--ink); }

/* honeypot field — invisible to people, tempting to bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Client portal ---------- */
.lead-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.lead-row {
  padding: 20px 4px;
  border-top: 1px solid var(--line);
}
.lead-row .card-tag { margin-bottom: 10px; }
.lead-row h4 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.lead-row .lead-budget { color: var(--muted); font-weight: 500; }
.lead-row p {
  font-size: 14px;
  color: var(--body);
  margin-top: 6px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead-status {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--wash);
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 5px 12px;
  appearance: none;
  cursor: pointer;
}

/* footer legal row */
.footer-legal { display: inline-flex; gap: 18px; }
.footer-legal a { color: var(--muted); transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--blue-deep); }

/* ---------- CTA panel (pastel, calm) ---------- */
.cta-panel {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.86) 0%, rgba(220, 232, 255, 0.86) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 70px -44px rgba(20, 40, 78, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: var(--blue-ink);
  overflow: hidden;
  padding: clamp(60px, 9vw, 112px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta-panel p { color: var(--body); max-width: 580px; margin: 20px auto 0; font-size: 1.05rem; }
.cta-panel .hero-cta { margin-top: 38px; }
.cta-panel .mail-line { margin-top: 28px; font-size: 14px; color: var(--body); }
.cta-panel .mail-line a { color: var(--blue-deep); font-weight: 600; }
.cta-panel .mail-line a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 84px 0 40px;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer .brand { font-size: 18px; }
.footer-tag { margin-top: 16px; font-size: 14px; color: var(--body); max-width: 310px; }
.footer h5, .footer .footer-h {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--body);
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--blue-deep); }
.footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer-mark::after { content: "CIRVIX"; }
.footer-mark {
  margin-top: 70px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 10.5vw, 9rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  color: var(--bg-soft);
  -webkit-text-stroke: 1px var(--line);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* ============================================================
   APPLE-CLASS SCROLL SCENES (desktop; graceful fallbacks below)
   ============================================================ */

/* hero content lifts + dissolves on exit (JS scrubs it) */
.hero-content { will-change: transform, opacity; }

/* --- sticky-stacking program cards --- */
.stack { position: relative; }
.stack-item { position: sticky; will-change: transform; }
.stack-item:nth-child(1) { top: calc(var(--nav-h) + 30px); }
.stack-item:nth-child(2) { top: calc(var(--nav-h) + 46px); }
.stack-item:nth-child(3) { top: calc(var(--nav-h) + 62px); }
.stack-item + .stack-item { margin-top: 8vh; }

.stack-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: 60vh;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 40px 90px -50px rgba(20, 40, 78, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: none;
}
.stack-card .st-copy { max-width: 460px; }
.stack-card .card-tag { margin-bottom: 20px; }
.stack-card h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.stack-card p { font-size: clamp(0.98rem, 1.3vw, 1.1rem); color: var(--body); }
.stack-card .mini-list { margin-top: 22px; }
.stack-card .card-link { margin-top: 26px; }
.stack-vis {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9fd, #eef3fb);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-vis svg { width: 82%; height: 82%; }
.stack-index {
  position: absolute;
  top: clamp(20px, 3vw, 34px);
  right: clamp(22px, 3vw, 40px);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.stack-item:nth-child(4) { top: calc(var(--nav-h) + 78px); }

/* single-column stack (inner pages: principle cards, no visual pane) */
.stack--single .stack-card {
  grid-template-columns: 1fr;
  min-height: 42vh;
  max-width: 880px;
  margin: 0 auto;
}
.stack--single .stack-card .st-copy { max-width: 640px; }

/* --- horizontal pinned track (deliverables) --- */
.htrack-wrap { position: relative; background: rgba(247, 249, 253, 0.75); }
.htrack-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.htrack-head { padding: 0 var(--gutter); margin: 0 auto clamp(28px, 4vw, 44px); width: 100%; max-width: var(--container); }
.htrack {
  display: flex;
  gap: 20px;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  width: max-content;
  will-change: transform;
}
.h-card {
  flex: 0 0 clamp(260px, 26vw, 340px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.h-card .t-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--blue-deep);
  background: var(--wash);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
}
.h-card .h-no {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 20px;
}
.h-card h4, .h-card h3 { font-size: 1.16rem; font-weight: 500; letter-spacing: -0.02em; margin-top: 26px; }
.h-card p { font-size: 14px; color: var(--body); margin-top: 8px; line-height: 1.6; }
.htrack-progress {
  margin: clamp(28px, 4vw, 44px) auto 0;
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter);
}
.htrack-progress i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-deep);
  width: 100%;
  transform: scaleX(0.06);
  transform-origin: left;
}

/* --- scroll-scrubbed word fill --- */
.fill-words .fw { color: var(--line-strong); transition: none; }
.fill-words .fw.lit { color: var(--ink); }
.fill-words em .fw.lit { color: var(--blue-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .program-grid, .contact-grid, .retainer { grid-template-columns: 1fr; }
  .program-side { position: static; }
  .buy-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 56px 1fr; }
  .row p { grid-column: 2; }
  .price-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .price-row .ideal { grid-column: 1 / -1; order: 3; }
  .price-row .go { display: none; }

  .steps-wrap { height: auto; }
  .steps-pin { position: static; min-height: 0; padding: clamp(96px, 12vw, 168px) 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-visual, .steps-progress { display: none; }
  .step { opacity: 1; background: #fff; border-color: var(--line); }

  /* sticky stack → simple stacked cards */
  .stack-item { position: static; top: auto; margin-top: 0; }
  .stack-item + .stack-item { margin-top: 20px; }
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .stack-card .stack-vis { order: -1; }

  /* pinned word-fill → plain statement band */
  .fillpin-wrap { height: auto; }
  .fillpin { position: static; height: auto; padding: clamp(88px, 11vw, 148px) 0; }

  /* horizontal track → vertical wrap */
  .htrack-wrap { height: auto !important; }
  .htrack-pin { height: auto; display: block; padding: clamp(88px, 11vw, 148px) 0; overflow: visible; }
  .htrack {
    transform: none !important;
    width: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
  }
  .h-card { flex: initial; min-height: 0; }
  .htrack-progress { display: none; }
}

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

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 14px; right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 36px 72px -32px rgba(20, 40, 78, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
  }
  body.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px; font-size: 15.5px; border-radius: 10px; }
  .nav-links > a:not(.btn):hover { background: var(--bg-soft); }
  .nav-links > a.active::after { display: none; }
  .nav-links .btn { margin-top: 8px; }
  body.nav-open .nav { background: rgba(255, 255, 255, 0.94); }
}

@media (max-width: 640px) {
  .grid-2, .grid-4, .check-grid, .form-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
  .hero-meta { gap: 10px 18px; padding: 12px 20px; }
  /* captions may wrap instead of escaping the film frame */
  .film-caption { right: 6%; }
  .film-caption span { white-space: normal; right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .stat { padding: 20px 18px 18px; }
  .marquee-track { animation-duration: 28s; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .step-vis { transition: none; }

  /* no scrub engine runs → collapse the scroll scenes to static layouts */
  .stack-item { position: static; top: auto; margin-top: 0; }
  .stack-item + .stack-item { margin-top: 20px; }
  .htrack-wrap { height: auto !important; }
  .htrack-pin { height: auto; display: block; overflow: visible; }
  .htrack {
    transform: none !important;
    width: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
  }
  .h-card { flex: initial; }
  .htrack-progress { display: none; }
  .fill-words .fw { color: var(--ink) !important; }
  .fillpin-wrap { height: auto; }
  .fillpin { position: static; height: auto; padding: clamp(88px, 11vw, 148px) 0; }
  body::after { animation: none; }
  .pipe-flow .pn-icon::after, .pipe-link::before { animation: none !important; }
}

/* ============================================================
   v3 LAYER — glass depth + choreographed motion, same language:
   white ground, one pastel blue, hairlines, quiet type.
   ============================================================ */

/* ---------- button sheen (primary CTAs) ---------- */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.5) 50%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn-primary:hover::after { animation: btn-sheen 0.9s var(--ease-out); }
@keyframes btn-sheen { to { transform: translateX(130%); } }

/* ---------- marquee & rails pick up the light ---------- */
/* translucency only — a blur here would re-filter on every track frame */
.marquee { background: rgba(255, 255, 255, 0.8); }

/* ---------- deliverable cards & step scene go glass-lite ---------- */
.h-card {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.5s var(--ease-out), border-color 0.3s ease, box-shadow 0.5s var(--ease-out);
}
.h-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-line);
  box-shadow: 0 24px 48px -32px rgba(20, 40, 78, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.step-vis { background: rgba(255, 255, 255, 0.88); }
.step.active { background: rgba(255, 255, 255, 0.9); }
.tile .t-icon, .h-card .t-icon { transition: transform 0.45s var(--ease-out), background-color 0.3s ease; }
.tile:hover .t-icon, .h-card:hover .t-icon { transform: scale(1.1) rotate(-4deg); background: var(--wash-2); }

/* ---------- hero ICP qualifier ---------- */
.hero-icp {
  margin: 20px auto 0;
  max-width: 660px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
}
.hero-icp b { color: var(--ink); font-weight: 600; }

/* ---------- live pipeline (show, don't tell) ---------- */
.pipe-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  counter-reset: pipe;
}
.pipe-node {
  position: relative;
  padding: 24px 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px -34px rgba(20, 40, 78, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-align: center;
  transition: transform 0.5s var(--ease-out), border-color 0.3s ease;
}
.pipe-node:hover { transform: translateY(-4px); border-color: var(--blue-line); }
.pipe-node .pn-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.pipe-node .pn-icon {
  position: relative;
  width: 46px; height: 46px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--wash);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* the ping ring — transform + opacity only, so it stays on the compositor */
.pipe-node .pn-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(61, 111, 224, 0.45);
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}
.pipe-node h4, .pipe-node h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.pipe-node p { font-size: 12.5px; color: var(--body); margin-top: 6px; line-height: 1.55; }
.pipe-node.end .pn-icon { background: var(--blue-deep); color: #fff; }

/* connector between nodes: hairline + travelling pulse */
.pipe-link {
  position: absolute;
  top: 47px;
  right: -22px;
  width: 22px;
  height: 2px;
  background: var(--blue-line);
  border-radius: 2px;
}
.pipe-link::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-deep);
  opacity: 0;
}
.pipe-node:last-child .pipe-link { display: none; }

/* choreography: node i pings at i×1.2s, its pulse departs right after,
   on a 7.2s loop. paused until JS adds .play (in view). */
.pipe-flow .pn-icon::after { animation: node-ping 7.2s ease-out calc(var(--i) * 1.2s) infinite; animation-play-state: paused; }
.pipe-link::before { animation: pipe-pulse 7.2s linear calc(var(--i) * 1.2s + 0.5s) infinite; animation-play-state: paused; }
.pipe-flow.play .pn-icon::after, .pipe-flow.play .pipe-link::before { animation-play-state: running; }
@keyframes node-ping {
  0% { opacity: 0.85; transform: scale(0.92); }
  9% { opacity: 0; transform: scale(1.75); }
  100% { opacity: 0; transform: scale(1.75); }
}
@keyframes pipe-pulse {
  0% { transform: translateX(0); opacity: 0; }
  1% { opacity: 1; }
  8% { transform: translateX(16px); opacity: 1; }
  9.5% { transform: translateX(18px); opacity: 0; }
  100% { transform: translateX(18px); opacity: 0; }
}

/* ---------- founder panel (proof through candor) ---------- */
.founder-panel {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5.5vw, 72px) clamp(24px, 5vw, 72px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 80px -48px rgba(20, 40, 78, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.founder-id { text-align: center; }
.founder-mark {
  position: relative;
  width: clamp(120px, 13vw, 160px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  background: radial-gradient(120% 120% at 30% 24%, #ffffff 0%, var(--wash) 52%, var(--wash-2) 100%);
  border: 1px solid var(--blue-line);
  box-shadow: 0 18px 40px -28px rgba(61, 111, 224, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.founder-mark i {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px dashed var(--blue-line);
  animation: orbit-spin 26s linear infinite;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.founder-name b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.founder-name span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.founder-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.founder-copy > p { margin-top: 18px; font-size: 15.5px; line-height: 1.72; color: var(--body); }
.founder-copy > p b { color: var(--ink); font-weight: 600; }
.founder-facts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.founder-cta { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.founder-cta .mail { font-size: 14px; color: var(--body); }
.founder-cta .mail a { color: var(--blue-deep); font-weight: 600; }
.founder-cta .mail a:hover { text-decoration: underline; }

/* ---------- before / after (proof, honestly) ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.ba-col {
  border-radius: 20px;
  padding: clamp(24px, 3vw, 38px);
}
.ba-before {
  background: rgba(247, 249, 253, 0.92);
  border: 1px solid var(--line);
}
.ba-after {
  background: linear-gradient(180deg, #ffffff, var(--wash));
  border: 1px solid var(--blue-line);
  box-shadow: 0 26px 56px -42px rgba(61, 111, 224, 0.45);
}
.ba-col h3 {
  font-size: 1.02rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
  font-weight: 500;
}
.ba-after h3 { color: var(--ink); }
.ba-chip {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
}
.ba-before .ba-chip { background: #eceff5; color: var(--body); }
.ba-after .ba-chip { background: var(--blue-deep); color: #fff; }
.ba-col ul { display: grid; gap: 14px; }
.ba-col li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.58;
}
.ba-col li svg { flex: none; margin-top: 3.5px; }
.ba-before li { color: var(--body); }
.ba-before li svg { color: #a7aebc; }
.ba-after li { color: var(--ink); font-weight: 500; }
.ba-after li svg { color: var(--blue-deep); }
.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
}
.ba-arrow svg { width: 34px; height: 34px; overflow: visible; }
.ba-arrow .dash { stroke-dasharray: 6 7; animation: ba-march 1.1s linear infinite; }
@keyframes ba-march { to { stroke-dashoffset: -13; } }
.ba-note {
  max-width: 760px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin: 0 0 clamp(36px, 5vw, 56px);
  padding: 16px 22px;
  border-left: 2px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgba(234, 241, 255, 0.45);
}
.ba-note b { color: var(--ink); }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { padding: 4px 0; }
  .ba-arrow svg { transform: rotate(90deg); }
}

/* ---------- linked ICP words in hero ---------- */
.hero-icp a { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(61, 111, 224, 0.5); transition: color 0.2s, border-color 0.2s; }
.hero-icp a:hover { color: var(--blue-deep); border-bottom-style: solid; border-bottom-color: var(--blue-deep); }

/* ---------- tools strip (works-with chips) ---------- */
.tools-strip { display: flex; flex-wrap: wrap; gap: 10px; max-width: 940px; }
.tool-chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s;
}
.tool-chip:hover {
  border-color: var(--blue-line);
  color: var(--blue-ink);
  background: var(--wash);
  transform: translateY(-2px);
}
.tools-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- "sample workflow" honesty flag ---------- */
.sample-flag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--body);
  background: #f1f4f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 28px;
}
.sample-flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-deep); flex: none; }

/* ---------- ROI estimator ---------- */
.roi-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: stretch; }
.roi-panel { border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.8); padding: clamp(24px, 3vw, 36px); }
.roi-field { margin-bottom: 20px; }
.roi-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.roi-field label output { color: var(--blue-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-field input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.roi-field input[type="number"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(127, 168, 248, 0.18); }
.roi-field input[type="range"] { width: 100%; accent-color: var(--blue-deep); cursor: pointer; }
.roi-out {
  border: 1px solid var(--blue-line);
  background: linear-gradient(180deg, #ffffff, var(--wash));
  box-shadow: 0 26px 56px -42px rgba(61, 111, 224, 0.45);
  display: flex;
  flex-direction: column;
}
.roi-big { margin-bottom: 22px; }
.roi-big b { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.roi-big span { font-size: 13px; color: var(--body); }
.roi-line { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }
.roi-line b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-note { margin-top: auto; padding-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) {
  .roi-grid { grid-template-columns: 1fr; }
}

/* ---------- industry cross-links ---------- */
.ind-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ind-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-ink);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--blue-line);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.ind-links a:hover { background: var(--wash); transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(61, 111, 224, 0.5); }

/* ---------- article pages ---------- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 6px;
}
.article-body { max-width: 720px; }
.article-body > * + * { margin-top: 1.05em; }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin-top: 2em; }
.article-body h3 { font-size: 1.12rem; margin-top: 1.6em; }
.article-body p, .article-body li { font-size: 15.5px; line-height: 1.78; color: var(--body); }
.article-body b { color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 22px; display: grid; gap: 9px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body a { color: var(--blue-deep); font-weight: 600; text-decoration: none; }
.article-body a:hover { text-decoration: underline; }
.article-body .pull {
  border-left: 2px solid var(--blue);
  padding: 16px 22px;
  background: rgba(234, 241, 255, 0.45);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
}
.article-back { display: inline-block; margin-bottom: 26px; font-size: 13.5px; font-weight: 600; color: var(--blue-deep); text-decoration: none; }
.article-back:hover { text-decoration: underline; }

/* ---------- architecture stack diagram ---------- */
.arch-stack { max-width: 880px; }
.arch-layer {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.arch-layer:hover {
  border-color: var(--blue-line);
  box-shadow: 0 22px 48px -32px rgba(61, 111, 224, 0.5);
  transform: translateY(-2px);
}
.arch-layer .al-name {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-deep);
  padding-top: 4px;
}
.arch-layer h3 { font-size: 1.08rem; margin-bottom: 6px; }
.arch-layer p { font-size: 14px; color: var(--body); line-height: 1.62; }
/* NOT scoped to .arch-layer — the chips also render inside .alx accordion
   bodies, where an over-scoped selector left them as inline spans stacking
   on top of each other. */
.al-chips { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 8px; }
.arch-arrow { display: flex; justify-content: center; padding: 10px 0; color: var(--blue-deep); }
.arch-arrow svg { width: 26px; height: 26px; transform: rotate(90deg); overflow: visible; }
.arch-arrow .dash { stroke-dasharray: 6 7; animation: ba-march 1.1s linear infinite; }
@media (max-width: 700px) {
  .arch-layer { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- revenue leak audit (resources) ---------- */
.audit-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.audit-cat { margin-bottom: 28px; }
.audit-cat > h3 {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 10px;
}
.audit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.audit-item:hover { background: rgba(234, 241, 255, 0.45); }
.audit-item input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--blue-deep); cursor: pointer; }
.audit-item span { font-size: 14px; color: var(--body); line-height: 1.55; }
.audit-item input:checked ~ span { color: var(--ink); font-weight: 500; }
.audit-side { position: sticky; top: 96px; }
.audit-bar { height: 8px; border-radius: 99px; background: #e9edf5; overflow: hidden; margin: 16px 0 20px; }
.audit-bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--blue-deep)); border-radius: 99px; transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.audit-verdict { font-size: 14.5px; line-height: 1.65; color: var(--body); }
.audit-verdict b { color: var(--ink); }
@media (max-width: 900px) {
  .audit-grid { grid-template-columns: 1fr; }
  .audit-side { position: static; }
}

/* ---------- revenue engine simulation ---------- */
.sim { max-width: 640px; margin: 0 auto; }
.sim-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
/* 4 tabs wrapped 3+1 on a phone; a 2x2 grid reads as deliberate */
@media (max-width: 560px) {
  .sim-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .sim-tab { width: 100%; }
}
.sim-tab {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.sim-tab:hover { border-color: var(--blue-line); color: var(--blue-ink); transform: translateY(-1px); }
.sim-tab.on {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(61, 111, 224, 0.7);
}

/* faq search */
.faq-search { max-width: 560px; margin-top: 26px; }
.faq-search input {
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(127, 168, 248, 0.18); }
.faq-empty { font-size: 14px; color: var(--muted); padding: 18px 0; display: none; }
.sim-rail { margin-bottom: 26px; }
.sim-rail .sr-bar { height: 3px; border-radius: 99px; background: #e7ecf5; overflow: hidden; margin-bottom: 12px; }
.sim-rail .sr-bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--blue-deep)); border-radius: 99px; }
.sim-rail .sr-steps { display: flex; justify-content: space-between; gap: 4px; }
.sim-rail .sr-step {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s;
}
.sim-rail .sr-step.on { color: var(--blue-deep); }
.sim-stage { position: relative; min-height: 420px; }
.sim-panel {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 580px;
  height: fit-content;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--blue-line);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 30px 70px -42px rgba(35, 65, 130, 0.4);
  opacity: 0;
  visibility: hidden;
}
.sp-chrome { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.sp-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #e3e8f2; }
.sp-chrome i:first-child { background: #f4c6c0; }
.sp-chrome i:nth-child(2) { background: #f2ddb2; }
.sp-chrome i:nth-child(3) { background: #bfe3c8; }
.sp-chrome span { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.sp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sp-head .sp-dot { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--wash-2), #fff); border: 1px solid var(--blue-line); display: flex; align-items: center; justify-content: center; color: var(--blue-deep); flex: none; }
.sp-head b { font-size: 14px; letter-spacing: -0.01em; }
.sp-head span { display: block; font-size: 11.5px; color: var(--muted); }
.sim-field { margin-bottom: 12px; }
.sim-field label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.sim-field div {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 14px;
  color: var(--ink);
  min-height: 39px;
  background: #fff;
}
.sim-field div::after { content: "|"; color: var(--blue-deep); animation: sim-caret 0.9s step-end infinite; }
.sim-static .sim-field div::after { content: none; }
@keyframes sim-caret { 50% { opacity: 0; } }
.sim-submit {
  display: inline-block;
  margin-top: 4px;
  background: var(--wash-2);
  color: var(--blue-ink);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 999px;
  padding: 10px 22px;
  border: 1px solid var(--blue-line);
}
.sim-line { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--ink); }
.sim-line svg { flex: none; margin-top: 3px; color: var(--blue-deep); }
.sim-line span b { font-weight: 600; }
.sim-score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.sim-score b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; letter-spacing: -0.03em; color: var(--blue-ink); }
.sim-score span { font-size: 13px; color: var(--body); }
.sim-scorebar { height: 8px; border-radius: 99px; background: #e9edf5; overflow: hidden; margin-bottom: 16px; }
.sim-scorebar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--blue-deep)); border-radius: 99px; }
.sim-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sim-chips span { font-size: 12px; font-weight: 600; color: var(--blue-ink); background: var(--wash); border: 1px solid var(--blue-line); border-radius: 999px; padding: 6px 13px; }
.sim-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(247, 249, 253, 0.9); border: 1px solid var(--line); margin-bottom: 8px; font-size: 13.5px; }
.sim-row b { font-weight: 600; color: var(--ink); }
.sim-row .tag-new { font-size: 11px; font-weight: 600; color: var(--blue-deep); background: var(--wash); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.sim-msg { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.sim-msg .sm-top { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.sim-msg .sm-top i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); flex: none; }
.sim-msg .sm-top b { font-size: 13.5px; }
.sim-msg .sm-top span { font-size: 11px; color: var(--muted); }
.sim-msg p { font-size: 13.5px; color: var(--body); line-height: 1.55; }
.sim-msg .sm-actions { display: flex; gap: 8px; margin-top: 12px; }
.sim-msg .sm-actions span { font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 8px; }
.sim-msg .sm-actions span:first-child { background: var(--blue-deep); color: #fff; }
.sim-msg .sm-actions span:last-child { border: 1px solid var(--line-strong); color: var(--body); }
.sim-cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 14px; }
.sim-cal span {
  font-size: 11.5px;
  text-align: center;
  padding: 9px 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
.sim-cal .taken { background: #f3f5fa; color: #c3cad8; text-decoration: line-through; }
.sim-cal .pick { border-color: var(--blue-deep); background: var(--blue-deep); color: #fff; font-weight: 600; }
.sim-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.sim-stats > div { text-align: left; padding: 12px 14px; border-radius: 12px; background: rgba(247, 249, 253, 0.9); border: 1px solid var(--line); }
.sim-stats b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.sim-stats span { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.sim-foot { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.sim-note { font-size: 12.5px; color: var(--muted); }
.sim-note a { color: var(--blue-deep); font-weight: 600; text-decoration: none; }
.sim-note a:hover { text-decoration: underline; }
.btn-sm2 { padding: 9px 18px; font-size: 13px; }
/* static fallback (no GSAP / reduced motion): stack all panels visible */
.sim-static .sim-stage { min-height: 0; display: grid; gap: 14px; }
.sim-static .sim-panel { position: static; opacity: 1; visibility: visible; }
.sim-static .sr-bar i { width: 100%; }
.sim-static .sr-step { color: var(--blue-deep); }
@media (max-width: 640px) {
  .sim-rail .sr-step { font-size: 9px; letter-spacing: 0.04em; }
  .sim-stage { min-height: 470px; }
  .sim-stats { grid-template-columns: 1fr 1fr; }
  .sim-cal { grid-template-columns: repeat(3, 1fr); }
  .sim-cal span:nth-child(n+10) { display: none; }
}

/* ---------- architecture journey (traveling lead dot) ---------- */
.aj { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.aj-rail { position: relative; padding-left: 34px; }
.aj-line {
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--line-strong);
  border-radius: 99px;
}
.aj-line i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  border-radius: 99px;
}
.aj-dot {
  position: absolute;
  left: 4.5px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue-deep);
  box-shadow: 0 0 0 5px rgba(61, 111, 224, 0.18), 0 0 18px rgba(61, 111, 224, 0.55);
  z-index: 2;
}
.ajn { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; }
.ajn-dot {
  position: absolute;
  left: 6px;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line-strong);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.ajn b { display: block; font-size: 14.5px; letter-spacing: -0.01em; color: var(--muted); transition: color 0.3s; }
.ajn span { display: block; font-size: 12.5px; color: var(--muted); opacity: 0.75; transition: color 0.3s, opacity 0.3s; }
.ajn.lit .ajn-dot { border-color: var(--blue-deep); background: var(--blue-deep); box-shadow: 0 0 0 4px rgba(61, 111, 224, 0.16); }
.ajn.lit b { color: var(--ink); }
.ajn.lit span { color: var(--body); opacity: 1; }
.ajn:hover .ajn-dot { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(127, 168, 248, 0.25); }
.aj-out { position: sticky; top: 96px; }
.aj-out .roi-panel { padding: clamp(22px, 3vw, 30px); }
.aj-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.aj-stat:last-of-type { border-bottom: 0; }
.aj-stat span { font-size: 13px; color: var(--body); }
.aj-stat b { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; color: var(--blue-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 900px) {
  .aj { grid-template-columns: 1fr; }
  .aj-out { position: static; }
}

/* ---------- expandable layers + stack (accordion) ---------- */
.alx {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.alx + .alx { margin-top: 12px; }
.alx:hover, .alx.open { border-color: var(--blue-line); }
.alx.open { box-shadow: 0 24px 52px -38px rgba(61, 111, 224, 0.45); }
.alx-head {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  cursor: pointer;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}
.alx-no {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-deep);
  width: 78px;
  flex: none;
}
.alx-head .alx-t { flex: 1; min-width: 0; }
.alx-head h3 { font-size: 1.02rem; letter-spacing: -0.01em; }
.alx-head .alx-teaser { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.alx-chev { flex: none; color: var(--muted); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s; }
.alx.open .alx-chev { transform: rotate(180deg); color: var(--blue-deep); }
.alx-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.alx.open .alx-body { grid-template-rows: 1fr; }
.alx-body > div { overflow: hidden; }
.alx-inner { padding: 0 22px 22px 116px; }
.alx-inner p { font-size: 14px; color: var(--body); line-height: 1.65; }
.alx .al-flow span { opacity: 0; transform: translateY(7px); transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.25s, color 0.25s, background 0.25s; transition-delay: 0s; }
.alx .al-flow i { opacity: 0; transition: opacity 0.4s ease; }
.alx.open .al-flow span { opacity: 1; transform: none; transition-delay: calc(var(--fi, 0) * 55ms + 0.15s); }
.alx.open .al-flow i { opacity: 1; transition-delay: calc(var(--fi, 0) * 55ms + 0.15s); }
@media (max-width: 700px) {
  .alx-head { padding: 15px 16px; gap: 10px; }
  .alx-no { width: auto; }
  .alx-inner { padding: 0 16px 18px 16px; }
}

/* stack "why" accordions in a two-column grid */
.stx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.stx-grid .alx + .alx { margin-top: 0; }
.stx-grid .alx-inner { padding: 0 20px 18px 20px; }
@media (max-width: 800px) { .stx-grid { grid-template-columns: 1fr; } }

/* ---------- principles grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; }
.pcard {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 22px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.pcard:hover {
  border-color: var(--blue-line);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -32px rgba(61, 111, 224, 0.5);
}
.pcard h3 { font-size: 15px; margin-bottom: 7px; display: flex; align-items: center; gap: 9px; }
.pcard h3 i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-deep); flex: none; font-style: normal; }
.pcard p { font-size: 13px; color: var(--body); line-height: 1.6; }

/* ---------- build timeline road ---------- */
.tl-road { position: relative; max-width: 780px; padding-left: 36px; }
.tl-road::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-line), var(--line));
  border-radius: 99px;
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--blue-deep);
  transition: box-shadow 0.3s;
}
.tl-item:hover::before { box-shadow: 0 0 0 6px rgba(61, 111, 224, 0.15); }
.tl-week {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-deep);
}
.tl-item h3 { font-size: 1.08rem; margin: 5px 0 6px; }
.tl-item p { font-size: 14px; color: var(--body); line-height: 1.62; max-width: 620px; }

/* ---------- per-layer example flows (architecture) ---------- */
.al-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.al-flow span {
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  background: rgba(247, 249, 253, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.al-flow span:last-child { color: var(--blue-ink); border-color: var(--blue-line); background: var(--wash); font-weight: 600; }
.al-flow i { color: var(--blue); font-style: normal; font-size: 12px; line-height: 1; }
.arch-layer:hover .al-flow span { border-color: var(--blue-line); }

/* ---------- "why Capital" note ---------- */
.name-note {
  margin-top: 28px;
  max-width: 680px;
  padding: 20px 24px;
  border-left: 2px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: rgba(234, 241, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--blue-ink);
}
.name-note b { color: var(--blue-deep); }

/* ---------- footer clarifier ---------- */
.footer-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); max-width: 320px; line-height: 1.65; }

/* ---------- responsive: pipeline goes vertical, founder stacks ---------- */
@media (max-width: 900px) {
  .pipe-flow { grid-template-columns: 1fr; gap: 18px; max-width: 460px; margin: 0 auto; }
  .pipe-node { display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; text-align: left; padding: 18px 20px; }
  .pipe-node .pn-tag { grid-column: 2; order: -1; margin-bottom: 2px; }
  .pipe-node .pn-icon { grid-row: 2 / span 2; margin: 2px 0 0; }
  .pipe-node h4, .pipe-node h3 { grid-column: 2; }
  .pipe-node p { grid-column: 2; margin-top: 3px; }
  .pipe-link { top: auto; bottom: -18px; right: auto; left: 41px; width: 2px; height: 18px; }
  .pipe-link::before { left: -2px; top: 0; }
  @keyframes pipe-pulse {
    0% { transform: translateY(0); opacity: 0; }
    1% { opacity: 1; }
    8% { transform: translateY(12px); opacity: 1; }
    9.5% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(14px); opacity: 0; }
  }
  .founder-panel { grid-template-columns: 1fr; text-align: center; }
  .founder-facts, .founder-cta { justify-content: center; }
}

@media (max-width: 640px) {
  body::after { opacity: 0.8; }
  .hero-icp { font-size: 13.5px; padding: 0 8px; }
}

/* ---------- neumorphic surface layer ----------
   Soft dual-light treatment on the site's key surfaces: a light source
   from the top-left, a cool shadow bottom-right, and a 1px inner
   highlight. Kept subtle so it reads as tactile depth rather than the
   heavy "clay" look — the brand is still minimal. */
:root {
  --neu-lo: rgba(255, 255, 255, 0.95);
  --neu-hi: rgba(24, 46, 92, 0.10);
  --neu-in: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.card,
.gb-item,
.pcard,
.arch-layer,
.alx,
.roi-panel,
.tile,
.stack-card {
  box-shadow:
    -6px -6px 16px var(--neu-lo),
    10px 12px 28px -14px var(--neu-hi),
    var(--neu-in);
}
.card:hover,
.pcard:hover,
.arch-layer:hover,
.alx:hover {
  box-shadow:
    -8px -8px 20px var(--neu-lo),
    16px 20px 40px -18px rgba(24, 46, 92, 0.16),
    var(--neu-in);
}
/* pressed/active state — inverts the light for a real "push" feel */
.sim-tab.on,
.chip:active,
.tool-chip:active {
  box-shadow:
    inset 2px 2px 6px rgba(20, 40, 90, 0.22),
    inset -2px -2px 6px rgba(255, 255, 255, 0.32);
}
.btn-primary {
  box-shadow:
    0 10px 24px -12px rgba(52, 98, 216, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:active {
  box-shadow:
    inset 2px 3px 8px rgba(12, 30, 78, 0.38),
    inset -1px -1px 4px rgba(255, 255, 255, 0.18);
}
.tool-chip,
.ind-links a {
  box-shadow: -3px -3px 8px rgba(255, 255, 255, 0.9), 4px 5px 12px -8px rgba(24, 46, 92, 0.16);
}

/* ---------- swipeable deliverables track (touch) ---------- */
.htrack--swipe {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 14px;
  padding-bottom: 6px;
  transform: none !important;
}
.htrack--swipe::-webkit-scrollbar { display: none; }
.htrack--swipe > * {
  scroll-snap-align: center;
  flex: 0 0 min(78vw, 340px);
}

/* ---------- guarantee band (trust, home) ---------- */
.gband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.gb-item {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: clamp(22px, 2.6vw, 30px);
  transition: background 0.35s, transform 0.35s;
  position: relative;
}
.gb-item::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.gb-item:hover { background: #fff; }
.gb-item:hover::before { transform: scaleX(1); }
.gb-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--wash);
  border: 1px solid var(--blue-line);
  color: var(--blue-deep);
  margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gb-item:hover .gb-ic { transform: translateY(-3px) scale(1.06); }
.gb-item h3 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 6px; }
.gb-item p { font-size: 13.5px; color: var(--body); line-height: 1.6; }
/* 4 items must never break 3+1 and leave a dead cell — go 2x2, then 1 col */
@media (max-width: 1000px) { .gband { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gband { grid-template-columns: 1fr; } }

/* ---------- mobile sticky CTA (conversion) ---------- */
/* on small screens the nav "Book a call" is hidden behind the hamburger;
   this keeps the highest-intent action one tap away as visitors read. */
.mcta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 32px -22px rgba(20, 40, 90, 0.4);
  transform: translateY(135%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  display: none;
}
.mcta .btn { width: 100%; justify-content: center; }
.mcta.show { transform: none; }
body.nav-open .mcta { transform: translateY(135%); }
@media (max-width: 820px) {
  .mcta { display: block; }
}

/* honest scarcity / founding-terms microcopy under primary CTAs */
.cta-scarcity {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.cta-scarcity b { color: var(--blue-deep); font-weight: 600; }

/* ---------- reduced-motion: honor the OS/browser setting ---------- */
/* JS already guards GSAP behind prefers-reduced-motion; this covers the
   pure-CSS animations (marquee, scroll hint, pulses) an accessibility
   reviewer with vestibular sensitivity would flag. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track,
  .scroll-hint,
  .ba-arrow .dash,
  .arch-arrow .dash,
  .sim-field div::after { animation: none !important; }
  .marquee-track { transform: none !important; }
}
