/* jiejun.org — "Warm Signal"
   Warm espresso-dark canvas · cream type · one disciplined lime accent.
   Bricolage Grotesque (display) + Hanken Grotesk (body) + JetBrains Mono (labels). */

:root {
  /* Accent set by JS (Tweaks). Default = Lime. */
  --accent: #dcff43;
  --accent-soft: #b9d92f;
  --on-accent: #16140d;

  /* Warm espresso foundation (set by JS theme tweak; defaults below) */
  --bg: #16140d;
  --bg-2: #1d1a12;
  --surface: #221e15;
  --surface-2: #2a261b;

  --ink: #f2ecda;
  --ink-2: #c9bfa6;
  --muted: #94896f;
  --line: rgba(242, 236, 218, 0.10);
  --line-2: rgba(242, 236, 218, 0.18);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(80px, 11vw, 168px);

  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

::selection { background: var(--accent); color: var(--on-accent); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 {
  font-size: clamp(32px, 5vw, 60px);
}
.section-head .sub {
  font-family: var(--sans);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  margin: 24px 0 0;
  max-width: 640px;
  line-height: 1.55;
  font-weight: 400;
}

/* Lime accent on a word */
.hl {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
  isolation: isolate;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
  flex: none;
  transition: transform 0.3s var(--spring);
}
.mark.logo {
  background: transparent;
  border-radius: 0;
}
.brand .mark.logo svg { width: 40px; height: 40px; display: block; }
.logo-tile { fill: var(--surface-2); stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.5; transition: stroke 0.3s var(--ease); }
.logo-mono { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand:hover .logo-tile { stroke: var(--accent); }
.brand:hover .mark { transform: rotate(-6deg) scale(1.05); }
.brand .brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand .bn { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.brand .br { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0; line-height: 1; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14.5px;
  white-space: nowrap;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
  position: relative;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.22s var(--ease);
  position: relative;
  z-index: 1;
}
.lang-toggle button.active { color: var(--on-accent); }
.lang-thumb {
  position: absolute;
  top: 3px; bottom: 3px;
  border-radius: 999px;
  background: var(--accent);
  transition: left 0.3s var(--spring), width 0.3s var(--spring);
  z-index: 0;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--spring), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px color-mix(in srgb, var(--accent) 75%, transparent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }

.btn-text {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  text-decoration: none;
}
.btn-text .dotline { width: 30px; height: 2px; background: var(--accent); border-radius: 2px; transition: width 0.25s var(--ease); }
.btn-text:hover .dotline { width: 46px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: 0;
  position: relative;
}
.hero-glow {
  position: absolute;
  top: -10%; right: -6%;
  width: 56vw; height: 56vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: clamp(56px, 7vw, 92px);
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero .sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
  max-width: 540px;
  margin: 30px 0 0;
  line-height: 1.56;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-proof {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-proof .pstat {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-proof .ptext { font-size: 14.5px; color: var(--muted); max-width: 240px; line-height: 1.4; }

/* hero portrait */
.hero-portrait { position: relative; }
.hero-portrait .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
}
image-slot { display: block; width: 100%; height: 100%; }
.hero-portrait .badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 14px 18px;
  border-radius: 16px;
  max-width: 210px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.3;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.hero-portrait .badge .bdot { width: 9px; height: 9px; border-radius: 50%; background: var(--on-accent); margin-top: 5px; flex: none; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 22px;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 38s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
section.block { padding-block: var(--section-y); position: relative; }
section.alt { background: var(--bg-2); }

/* WHO — cards */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.who-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px 26px 34px;
  border-radius: var(--r);
  transition: transform 0.35s var(--spring), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.who-card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.who-card .k {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.who-card h3 { font-size: 22px; margin: 34px 0 10px; font-weight: 700; letter-spacing: -0.01em; }
.who-card p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* WHO IT'S FOR — deck-type gallery */
.deck-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.deck-card {
  flex: 1 1 280px;
  max-width: calc((100% - 32px) / 3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 12px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--spring), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.deck-card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
/* mini title-slide: the deck name sits ON a 16:9 slide */
.deck-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  transition: border-color 0.3s var(--ease);
}
.deck-card:hover .deck-slide { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.deck-slide::before { content: ""; width: 30px; height: 5px; border-radius: 3px; background: var(--accent); }
.deck-slide .deck-k { position: absolute; top: 12px; right: 14px; }
.deck-k { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.deck-t { font-family: var(--display); font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; margin: 0; text-wrap: balance; }
.ds-lines { display: flex; flex-direction: column; gap: 5px; }
.ds-lines i { display: block; height: 4px; border-radius: 2px; background: var(--line-2); width: 64%; }
.ds-lines i:last-child { width: 42%; }
.deck-for { display: flex; flex-direction: column; gap: 7px; padding: 16px 10px 2px; }
.deck-for-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.deck-for-k::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.deck-d { font-size: 15.5px; font-weight: 500; color: var(--ink); margin: 0; line-height: 1.5; }

/* CORE OFFERING — full-width offer card + transformation flow */
.offer-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 4.5vw, 80px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: clamp(20px, 2vw, 28px);
  padding: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(44px, 6vw, 72px);
}
.offer-card h2 { font-size: clamp(30px, 4.2vw, 52px); }
.offer-desc {
  font-family: var(--sans);
  font-size: clamp(16.5px, 1.4vw, 19px);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 560px;
}
.offer-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.offer-price {
  font-family: var(--display);
  font-size: clamp(32px, 2.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.offer-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.5;
  max-width: 24ch;
}
.offer-includes {
  align-self: stretch;
  border-left: 1px solid var(--line-2);
  padding-left: clamp(28px, 3.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.oi-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.oi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.oi-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.oi-check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* Transformation flow: vision -> deck -> presentation */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  scroll-margin-top: 110px;
}
.flow-stage {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.35s var(--spring), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.flow-stage:hover { transform: translateY(-6px); }

/* visual panel inside each stage */
.flow-viz {
  height: clamp(120px, 13vw, 148px);
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  overflow: hidden;
}
/* Stage 1 viz — raw, scattered notes (dashed sketch lines) */
.flow-viz.v-idea { flex-direction: column; align-items: flex-start; justify-content: center; gap: 13px; }
.v-idea .sk { height: 0; border-top: 2px dashed var(--muted); opacity: 0.85; }
.v-idea .sk:nth-child(2) { border-top-color: var(--accent); opacity: 1; }
/* Stage 2 viz — a clean, structured slide (with one stacked behind) */
.v-deck .slide {
  position: relative;
  width: 148px; height: 92px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.v-deck .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(9px, 9px);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  z-index: -1;
}
.v-deck .slide-bar { width: 58%; height: 9px; border-radius: 3px; background: var(--accent); }
.v-deck .slide-line { width: 100%; height: 6px; border-radius: 3px; background: var(--line-2); }
.v-deck .slide-line.short { width: 66%; }
/* Stage 3 viz — confident voice / waveform on a dark screen */
.flow-stage.fs3 .flow-viz { background: var(--on-accent); border-color: transparent; gap: 6px; }
.v-talk .bar { width: 8px; border-radius: 5px; background: var(--accent); }
.v-talk .bar:nth-child(1) { height: 26%; }
.v-talk .bar:nth-child(2) { height: 54%; }
.v-talk .bar:nth-child(3) { height: 82%; }
.v-talk .bar:nth-child(4) { height: 44%; }
.v-talk .bar:nth-child(5) { height: 100%; }
.v-talk .bar:nth-child(6) { height: 62%; }
.v-talk .bar:nth-child(7) { height: 88%; }
.v-talk .bar:nth-child(8) { height: 38%; }
.v-talk .bar:nth-child(9) { height: 22%; }
@media (prefers-reduced-motion: no-preference) {
  .v-talk .bar { animation: vtalk 1.5s var(--ease) infinite alternate; transform-origin: center; }
  .v-talk .bar:nth-child(2) { animation-delay: 0.1s; }
  .v-talk .bar:nth-child(3) { animation-delay: 0.2s; }
  .v-talk .bar:nth-child(4) { animation-delay: 0.3s; }
  .v-talk .bar:nth-child(5) { animation-delay: 0.15s; }
  .v-talk .bar:nth-child(6) { animation-delay: 0.25s; }
  .v-talk .bar:nth-child(7) { animation-delay: 0.05s; }
  .v-talk .bar:nth-child(8) { animation-delay: 0.35s; }
  .v-talk .bar:nth-child(9) { animation-delay: 0.2s; }
}

/* stage text */
.flow-meta { display: flex; flex-direction: column; gap: 8px; }
.flow-tag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 6px;
  padding: 2px 7px;
}
.flow-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow-t {
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 4px 0 0;
  text-wrap: balance;
}
.flow-d {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
/* Stage 1 — raw idea (quiet, dashed) */
.flow-stage.fs1 { background: transparent; border-style: dashed; border-color: var(--line-2); }
/* Stage 2 — what we build (solid surface) */
.flow-stage.fs2 { background: var(--surface); border-color: var(--line-2); }
/* Stage 3 — the result */
.flow-stage.fs3 { background: var(--surface); border-color: var(--line-2); }
/* Every stage floods lime on hover */
.flow-stage:hover {
  background: var(--accent);
  border-color: var(--accent);
  border-style: solid;
  box-shadow: 0 26px 60px -30px color-mix(in srgb, var(--accent) 75%, transparent);
}
.flow-stage .flow-k, .flow-stage .flow-label, .flow-stage .flow-t, .flow-stage .flow-d {
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.flow-stage:hover .flow-k { color: var(--on-accent); background: color-mix(in srgb, var(--on-accent) 16%, transparent); }
.flow-stage:hover .flow-label { color: color-mix(in srgb, var(--on-accent) 60%, transparent); }
.flow-stage:hover .flow-t { color: var(--on-accent); }
.flow-stage:hover .flow-d { color: color-mix(in srgb, var(--on-accent) 78%, transparent); }
/* per-stage "what I do" step, fused to the bottom of each box */
.flow-step {
  margin-top: auto;
  border-top: 1px dashed var(--line-2);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.flow-step-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.flow-step-t { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: -0.005em; margin: 0; }
.flow-step-d { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.flow-stage .flow-step, .flow-stage .flow-step-k, .flow-stage .flow-step-t, .flow-stage .flow-step-d {
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.flow-stage:hover .flow-step { border-top-color: color-mix(in srgb, var(--on-accent) 28%, transparent); }
.flow-stage:hover .flow-step-k { color: color-mix(in srgb, var(--on-accent) 70%, transparent); }
.flow-stage:hover .flow-step-t { color: var(--on-accent); }
.flow-stage:hover .flow-step-d { color: color-mix(in srgb, var(--on-accent) 78%, transparent); }
/* align the viz / text / step rows across all three boxes so dividers sit at the same height */
@supports (grid-template-rows: subgrid) {
  .flow { grid-template-rows: auto auto auto; }
  .flow-stage { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 22px; }
  .flow-arrow { grid-row: span 3; }
  .flow-step { margin-top: 0; }
}
.flow-arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px, 1.2vw, 18px);
  color: var(--accent);
}
.flow-arrow svg { width: 26px; height: 26px; }

@keyframes vtalk {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}

/* Stage 1 & 2 viz loops — same quiet rhythm as the stage-3 bars */
@media (prefers-reduced-motion: no-preference) {
  .v-idea .sk { animation: videa 2.2s var(--ease) infinite alternate; transform-origin: left center; }
  .v-idea .sk:nth-child(2) { animation-delay: 0.3s; }
  .v-idea .sk:nth-child(3) { animation-delay: 0.6s; }
  .v-idea .sk:nth-child(4) { animation-delay: 0.9s; }
  .v-deck .slide::before { animation: vdeckstack 2.6s var(--ease) infinite alternate; }
  .v-deck .slide-bar { animation: vdeckbar 2.6s var(--ease) infinite alternate; transform-origin: left center; }
}
@keyframes videa {
  from { transform: scaleX(0.72); opacity: 0.55; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes vdeckstack {
  from { transform: translate(9px, 9px); }
  to { transform: translate(13px, 13px); }
}
@keyframes vdeckbar {
  from { transform: scaleX(0.62); }
  to { transform: scaleX(1); }
}

/* WHY */
.why-layout { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.why-list { display: flex; flex-direction: column; }
.why-row {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.why-row:first-child { border-top: 0; padding-top: 0; }
.why-row .tick {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 15px;
  line-height: 1.4;
  flex: none;
  width: 24px;
}
.why-row h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: -0.005em; margin: 0 0 4px; }
.why-row p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* WHY — featured theatre callout */
.why-feature {
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px);
  margin-bottom: 30px;
}
.why-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.why-feature-tag::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.why-feature-t {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.why-feature-d {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
}

.metrics-card {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--r);
  padding: clamp(32px, 4vw, 48px);
  position: sticky;
  top: 104px;
  overflow: hidden;
}
.metrics-card .note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--on-accent) 60%, transparent);
  margin-bottom: 30px;
}
.metric { padding: 24px 0; border-bottom: 1px solid color-mix(in srgb, var(--on-accent) 16%, transparent); }
.metric:last-child { border-bottom: 0; padding-bottom: 0; }
.metric:first-of-type { padding-top: 0; }
.metric .n {
  font-family: var(--display);
  font-size: clamp(46px, 5.5vw, 66px);
  line-height: 0.95;
  color: var(--on-accent);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.metric .l { font-size: 14.5px; color: color-mix(in srgb, var(--on-accent) 78%, transparent); margin-top: 8px; font-weight: 500; }

/* HOW — steps timeline */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px 26px 34px;
  border-radius: var(--r);
  position: relative;
  transition: transform 0.35s var(--spring), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--line-2); }
.step .k {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--accent);
  display: grid;
  place-items: center;
  letter-spacing: 0;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.step:hover .k { background: var(--accent); color: var(--on-accent); }
.step h3 { font-size: 21px; margin: 26px 0 10px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.about-portrait {
  position: sticky;
  top: 104px;
}
.about-portrait .frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -36px rgba(0,0,0,0.7);
}
.about-portrait .cap {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-portrait .cap::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.about-body h2 { font-size: clamp(30px, 4vw, 50px); }
.about-body .bio { margin-top: 28px; }
.about-body .bio p { font-size: 17.5px; color: var(--ink-2); line-height: 1.62; margin: 0 0 18px; max-width: 620px; }

.subcard {
  margin-top: 34px;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.subcard .label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.subcard p { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.55; }

.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.testi-grid.cols-3 { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
.testi {
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.35s var(--spring), border-color 0.3s var(--ease);
}
.testi:hover { transform: translateY(-4px); border-color: var(--line-2); }
.testi .mark { font-family: var(--display); font-size: 42px; line-height: 0.5; color: var(--accent); }
.testi q { display: block; font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--ink); margin: 16px 0 16px; font-weight: 500; }
.testi .by { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.03em; }

/* FAQ — accordion */
.faq-list { max-width: 900px; margin-top: 4px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 27px 0;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-ic { position: relative; width: 19px; height: 19px; flex: none; color: currentColor; }
.faq-ic i { position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.32s var(--ease); }
.faq-ic i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-ic i:last-child { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.34s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; }
.faq-a-in p { margin: 0; padding: 0 56px 28px 0; max-width: 74ch; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }

/* CTA */
.cta-section {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: clamp(24px, 3vw, 40px);
  margin: 0 var(--gutter) clamp(40px, 6vw, 80px);
  padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}
.cta-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.cta-section .eyebrow { color: color-mix(in srgb, var(--on-accent) 75%, transparent); }
.cta-section .eyebrow::before { background: var(--on-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--on-accent) 18%, transparent); }
.cta-section h2 { font-size: clamp(36px, 6vw, 76px); max-width: 16ch; letter-spacing: -0.03em; }
.cta-section .sub { font-family: var(--sans); color: color-mix(in srgb, var(--on-accent) 80%, transparent); font-size: clamp(17px, 1.5vw, 20px); margin: 26px 0 0; line-height: 1.55; max-width: 540px; font-weight: 500; }
.cta-actions { display: flex; align-items: center; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.cta-section .btn-dark {
  background: var(--on-accent);
  color: var(--accent);
  box-shadow: 0 14px 36px -16px rgba(0,0,0,0.5);
}
.cta-section .btn-dark:hover { transform: translateY(-2px); }
.cta-email {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--on-accent);
}
.cta-email .lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--on-accent) 62%, transparent); margin-bottom: 5px; font-weight: 500; }
.cta-email a { color: var(--on-accent); text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--on-accent) 35%, transparent); padding-bottom: 1px; transition: border-color 0.2s; }
.cta-email a:hover { border-color: var(--on-accent); }
.cta-note { font-family: var(--mono); font-size: 11px; color: color-mix(in srgb, var(--on-accent) 55%, transparent); margin-top: 30px; }
.cta-bigmark {
  position: absolute;
  right: -4%; bottom: -28%;
  font-family: var(--display);
  font-size: clamp(280px, 40vw, 540px);
  font-weight: 800;
  line-height: 0.7;
  color: color-mix(in srgb, var(--on-accent) 8%, transparent);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Footer */
.site-footer { padding-block: 52px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; }
.footer-brand .mark.logo { background: transparent; border-radius: 0; }
.footer-brand .mark.logo svg { width: 36px; height: 36px; display: block; }
.footer-brand .fn { font-family: var(--display); font-size: 18px; font-weight: 700; }
.footer-tag { font-size: 14.5px; color: var(--muted); max-width: 440px; margin-top: 4px; }
.footer-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 1; transform: none; }
html.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.anim .reveal.in { opacity: 1; transform: none; }
html.anim .reveal.d1 { transition-delay: 0.07s; }
html.anim .reveal.d2 { transition-delay: 0.14s; }
html.anim .reveal.d3 { transition-delay: 0.21s; }
html.anim .reveal.d4 { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { max-width: 460px; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .deck-card { max-width: calc((100% - 16px) / 2); }
  .offer-card { grid-template-columns: 1fr; gap: 32px; }
  .offer-includes { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-2); padding-top: 28px; }
  .why-layout { grid-template-columns: 1fr; }
  .metrics-card { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 400px; }
}
@media (max-width: 860px) {
  .flow { display: flex; flex-direction: column; }
  .flow-stage { display: flex; flex-direction: column; gap: 22px; }
  .flow-stage { min-height: 0; }
  .flow-stage .flow-t { margin-top: 14px; }
  .flow-arrow { padding: 8px 0; }
  .flow-arrow svg { transform: rotate(90deg); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .brand .br { display: none; }
  .ways { }
  .way { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .who-grid { grid-template-columns: 1fr; }
  .deck-card { max-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .testi-grid, .testi-grid.cols-3 { grid-template-columns: 1fr; }
  .hero-proof { flex-wrap: wrap; gap: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
