/* ==========================================================
   Gokul Dhamodaran — "Ledger" theme
   Layout: calm cool-paper canvas, wide 12-col rhythm, product
   case studies stack as sticky cards; trust palette (navy ink,
   cobalt action, teal "live" signal) with one warm highlight.
   ========================================================== */

/* Fonts are served from this site (no third-party requests). Fallbacks are
   metric-matched so text doesn't jump when the real font arrives. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 400 700; font-stretch: 90% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arial"); size-adjust: 96.4%; ascent-override: 96.5%; descent-override: 28%; line-gap-override: 0%; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 105.4%; ascent-override: 95.4%; descent-override: 28%; line-gap-override: 0%; }

:root {
  --bg: #f5f7fb;           /* cool paper */
  --bg-2: #eef2f9;         /* tinted band */
  --surface: #ffffff;      /* cards */
  --ink: #0b1a33;          /* navy text */
  --ink-2: #3d4b66;        /* secondary text */
  --muted: #6c778f;        /* captions */
  --line: #e1e7f1;
  --line-2: #cfd8e7;
  --brand: #1f55f0;        /* cobalt: actions, links */
  --brand-ink: #ffffff;
  --brand-soft: #e6edff;
  --live: #0a9f83;         /* teal: live / verified */
  --live-soft: #ddf5ef;
  --warm: #f2711c;         /* single warm highlight */
  --warm-soft: #ffeedd;
  --shadow: 0 1px 2px rgba(11, 26, 51, .04), 0 12px 40px -16px rgba(11, 26, 51, .16);
  --shadow-lg: 0 2px 4px rgba(11, 26, 51, .04), 0 40px 80px -30px rgba(11, 26, 51, .28);
  --glass: rgba(255, 255, 255, .72);
  --grid: rgba(11, 26, 51, .05);

  --f-display: "Bricolage Grotesque", "Bricolage Fallback", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Geist", "Geist Fallback", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: .82rem;
  --step-0: clamp(1rem, .96rem + .18vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.06rem + .4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.45rem + 2.3vw, 3.5rem);
  --step-4: clamp(2.6rem, 1.5rem + 3.9vw, 5.3rem);

  --r: 22px;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070c18; --bg-2: #0b1222; --surface: #0f1729; --ink: #e8eef9; --ink-2: #b3bfd6; --muted: #7d8aa6;
    --line: #1c2740; --line-2: #2a3756; --brand: #6b93ff; --brand-ink: #06102a; --brand-soft: #142048;
    --live: #33d6b4; --live-soft: #0d2e2a; --warm: #ff9a4d; --warm-soft: #33200f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 40px -16px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 40px 80px -30px rgba(0,0,0,.7);
    --glass: rgba(15, 23, 41, .72); --grid: rgba(232, 238, 249, .05);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070c18; --bg-2: #0b1222; --surface: #0f1729; --ink: #e8eef9; --ink-2: #b3bfd6; --muted: #7d8aa6;
  --line: #1c2740; --line-2: #2a3756; --brand: #6b93ff; --brand-ink: #06102a; --brand-soft: #142048;
  --live: #33d6b4; --live-soft: #0d2e2a; --warm: #ff9a4d; --warm-soft: #33200f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 40px -16px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 40px 80px -30px rgba(0,0,0,.7);
  --glass: rgba(15, 23, 41, .72); --grid: rgba(232, 238, 249, .05);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(84px, 10vw, 150px); position: relative; }
.band { background: var(--bg-2); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; color: var(--ink); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 40ch; line-height: 1.5; }
.mono { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow::before { content: ""; width: 20px; height: 1.5px; background: var(--brand); border-radius: 2px; }
.hl { color: var(--brand); }
.under { background: linear-gradient(transparent 62%, var(--warm-soft) 62%); padding-inline: .06em; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.section-head p { color: var(--ink-2); max-width: 58ch; font-size: 1.06rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: 14px; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--ink); color: var(--bg); font: 600 .97rem/1 var(--f-body);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
  isolation: isolate; overflow: hidden; will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: #fff; box-shadow: 0 14px 34px -14px var(--brand); }
.btn .arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::before { background: var(--brand-soft); }
.btn-ghost:hover { color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.btn-sm { padding: 11px 16px; font-size: .9rem; border-radius: 12px; }
.link { color: var(--brand); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link:hover .arr { transform: translateX(3px); }
.link .arr { transition: transform .4s var(--ease); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.site-header.is-scrolled { background: var(--glass); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: .92rem; letter-spacing: -.04em; position: relative; }
.brand-mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px var(--bg); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink-2); font-size: .95rem; font-weight: 500; transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-toggle { display: none; }
.menu-toggle span { display: block; width: 16px; height: 1.6px; background: currentColor; margin: 3px 0; transition: transform .4s var(--ease); }
.menu-open .menu-toggle span:first-child { transform: translateY(2.3px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-2.3px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-links, .nav-end .btn { display: none; }
  .menu-toggle { display: grid; }
  .menu-open .nav-links {
    display: flex; flex-direction: column; position: fixed; inset: calc(74px + env(safe-area-inset-top, 0px)) 0 auto 0;
    background: var(--bg); padding: 12px max(20px, env(safe-area-inset-left, 0px)) 28px; box-shadow: 0 30px 40px -30px rgba(11,26,51,.3);
  }
  .menu-open .nav-links a { font-family: var(--f-display); font-size: 1.9rem; padding: 10px 0; background: none; box-shadow: none; color: var(--ink); }
}

/* ---------- hero ---------- */
.hero { padding-top: calc(130px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; mask: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); -webkit-mask: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 20s var(--ease) infinite alternate; }
.blob.b1 { width: 520px; height: 520px; right: -60px; top: -80px; background: radial-gradient(circle, var(--brand-soft), transparent 70%); }
.blob.b2 { width: 380px; height: 380px; right: 22%; top: 30%; background: radial-gradient(circle, var(--live-soft), transparent 70%); animation-delay: -7s; }
.blob.b3 { width: 300px; height: 300px; left: -80px; bottom: -60px; background: radial-gradient(circle, var(--warm-soft), transparent 70%); animation-delay: -12s; }
@keyframes drift { to { transform: translate(-50px, 40px) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); color: var(--ink-2); font-size: .88rem; font-weight: 500; }
.pill b { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--live-soft); color: var(--live); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.pill b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero h1 { font-size: var(--step-4); margin-top: 26px; font-variation-settings: "wdth" 90; letter-spacing: -.045em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w { display: inline-block; }
.hero .lede { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--live); flex: none; }

.stage { position: relative; width: 100%; max-width: 470px; margin-inline: auto; aspect-ratio: 470 / 560; }
.arch { position: absolute; inset: 9% 4% 0; border-radius: 999px 999px 32px 32px; overflow: hidden;
  background: linear-gradient(165deg, #2a63ff 0%, #1543c9 55%, #0b2a8a 100%); box-shadow: var(--shadow-lg); }
.arch::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px); background-size: 18px 18px; mask: linear-gradient(180deg, #000 0%, transparent 70%); -webkit-mask: linear-gradient(180deg, #000 0%, transparent 70%); }
.arch::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(80, 230, 200, .55), transparent 65%); filter: blur(20px); }
.arch .ring { position: absolute; left: 50%; top: 36%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.arch .ring.r2 { width: 128%; border-style: dashed; animation: orbit 80s linear infinite; }
@keyframes orbit { to { rotate: 360deg; } }
.cutout { position: absolute; left: 50%; bottom: 0; width: 98%; translate: -50% 0; z-index: 2; filter: drop-shadow(0 30px 40px rgba(6, 20, 70, .35));
  mask: linear-gradient(180deg, #000 82%, transparent 100%); -webkit-mask: linear-gradient(180deg, #000 82%, transparent 100%); }
.cutout img { width: 100%; }
.arch-clip { position: absolute; inset: 9% 4% 0; border-radius: 999px 999px 32px 32px; overflow: hidden; z-index: 2; }
.arch-clip .cutout { width: 108%; bottom: 0; }
.card-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 11px 14px 11px 11px; border-radius: 16px;
  background: var(--glass); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); font-size: .85rem; white-space: nowrap; }
.card-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .9rem; flex: none; }
.card-float b { display: block; font-weight: 600; color: var(--ink); line-height: 1.2; }
.card-float small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .75rem; }
.card-float small i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.card-float small i.paper { background: var(--warm); }
.cf1 { left: -9%; top: 26%; } .cf1 .ic { background: #1f55f0; }
.cf2 { right: -8%; top: 46%; } .cf2 .ic { background: #0a9f83; }
.cf3 { left: -4%; bottom: 10%; } .cf3 .ic { background: #e2621a; }
.cf4 { right: 2%; top: 4%; padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 2px; }
.cf4 strong { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.04em; line-height: 1; }
.float { animation: bob 6s ease-in-out infinite; }
.float.d1 { animation-delay: -1.5s; } .float.d2 { animation-delay: -3s; } .float.d3 { animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { max-width: 360px; order: -1; }
  .cf1 { left: -2%; } .cf2 { right: -2%; } .cf3 { left: 0; }
}
@media (max-width: 420px) { .card-float { font-size: .76rem; padding: 8px 10px 8px 8px; } .card-float .ic { width: 28px; height: 28px; } .cf4 strong { font-size: 1.25rem; } }

/* ---------- proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.proof > div { padding: 28px 26px; display: grid; gap: 6px; position: relative; }
.proof > div + div::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.proof b { font-family: var(--f-display); font-size: clamp(2.2rem, 1.7rem + 2vw, 3.4rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.proof b sup { font-size: .45em; color: var(--brand); vertical-align: top; margin-left: 2px; position: relative; top: .25em; }
.proof p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 860px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof > div:nth-child(3)::before { display: none; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- manifesto (scroll-highlighted words) ---------- */
.manifesto { font-family: var(--f-display); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1.18; letter-spacing: -.03em; font-weight: 500; max-width: 26ch; }
.manifesto .mw { color: var(--ink); transition: color .25s; }
.manifesto.armed .mw { color: var(--line-2); }
.manifesto.armed .mw.on { color: var(--ink); }
.manifesto .mw.key.on { color: var(--brand); }
.manifesto-wrap { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .manifesto-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- product cases (sticky stack) ---------- */
.cases { display: grid; gap: 28px; }
.case { position: sticky; top: calc(96px + var(--i, 0) * 18px); background: var(--surface); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); overflow: hidden; transform-origin: 50% 0; min-height: 560px; }
.case-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-kind { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.status.live { color: var(--live); background: var(--live-soft); }
.status.paper { color: var(--warm); background: var(--warm-soft); }
.case h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); letter-spacing: -.04em; line-height: 1; }
.case .tagline { font-size: 1.12rem; color: var(--ink-2); max-width: 40ch; }
.case ul.points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.case ul.points li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.case ul.points svg { width: 18px; height: 18px; color: var(--accent, var(--brand)); margin-top: 2px; }
.stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.stack span { font-size: .76rem; padding: 5px 9px; border-radius: 8px; background: var(--bg); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); }
.case-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.case-role { color: var(--muted); font-size: .88rem; }
.case-visual { position: relative; padding: clamp(22px, 3vw, 40px); display: grid; place-items: center; overflow: hidden; background: var(--vbg); isolation: isolate; }
.case-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.5px); background-size: 20px 20px; }
.case.euliv { --accent: #1f55f0; --vbg: linear-gradient(150deg, #2a63ff, #0f37b0); }
.case.vantage { --accent: #0a9f83; --vbg: linear-gradient(150deg, #11b892, #06705c); }
.case.option { --accent: #e2621a; --vbg: linear-gradient(150deg, #13213f, #070d1c); }
@media (max-width: 900px) {
  .case { grid-template-columns: minmax(0, 1fr); position: relative; top: 0; min-height: 0; }
  .case-visual { order: -1; min-height: 340px; }
}

/* mock app windows (illustrations of the products, built in HTML) */
.mock { width: 100%; max-width: 470px; background: #fff; color: #0b1a33; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); overflow: hidden; font-size: .82rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #e8edf5; background: #f7f9fc; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7dde8; }
.mock-bar span { margin-left: 8px; font-family: var(--f-mono); font-size: .68rem; color: #6c778f; letter-spacing: .04em; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.bubble { justify-self: end; max-width: 80%; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: #1f55f0; color: #fff; }
.answer { padding: 13px; border-radius: 12px; background: #f5f7fb; display: grid; gap: 10px; }
.answer p { color: #3d4b66; line-height: 1.45; }
.answer p b { color: #0b1a33; }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 92px minmax(0, 1fr) 42px; gap: 8px; align-items: center; font-size: .74rem; color: #3d4b66; }
.bar .t { height: 9px; border-radius: 5px; background: #e5ebf6; overflow: hidden; }
.bar .t i { display: block; height: 100%; width: var(--w); border-radius: 5px; background: #1f55f0; transform-origin: left; }
.bar .t i.hot { background: #f2711c; }
.bar b { text-align: right; font-variant-numeric: tabular-nums; color: #0b1a33; }
.proofline { display: flex; flex-wrap: wrap; gap: 6px; }
.proofline span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .04em; padding: 4px 7px; border-radius: 6px; background: #ddf5ef; color: #087a65; }
.typing { display: inline-flex; gap: 3px; } .typing i { width: 5px; height: 5px; border-radius: 50%; background: #6c778f; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.job { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #f5f7fb; }
.job .logo { width: 36px; height: 36px; border-radius: 10px; background: #0b1a33; color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--f-display); }
.job b { display: block; } .job small { color: #6c778f; }
.steps { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 10px; border: 1px solid #e8edf5; }
.steps .ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #ddf5ef; color: #087a65; font-size: .7rem; font-weight: 700; }
.steps .ck.run { background: #e6edff; color: #1f55f0; animation: spin 1.2s linear infinite; }
.steps .ck.ask { background: #ffeedd; color: #c4520f; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps small { color: #6c778f; font-family: var(--f-mono); font-size: .64rem; }
.chart { position: relative; height: 120px; border-radius: 12px; background: #f5f7fb; overflow: hidden; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gate { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; border-radius: 10px; border: 1px solid #e8edf5; font-size: .76rem; }
.gate b { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .06em; padding: 3px 6px; border-radius: 5px; }
.gate b.ok { background: #ddf5ef; color: #087a65; } .gate b.no { background: #ffe4e0; color: #c03a2b; }
.verdict { padding: 11px 13px; border-radius: 10px; background: #0b1a33; color: #fff; display: flex; gap: 10px; align-items: center; font-size: .8rem; }
.verdict i { width: 8px; height: 8px; border-radius: 50%; background: #ff9a4d; flex: none; }

/* ---------- 360 ---------- */
.three60 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.dial { position: relative; aspect-ratio: 1; width: 100%; max-width: 500px; margin-inline: auto; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial .seg { fill: none; stroke: var(--line-2); stroke-width: 26; transition: stroke .5s var(--ease); }
.dial .seg.on { stroke: var(--brand); }
.dial .seg.on.alt { stroke: var(--live); }
.dial .tick { stroke: var(--line-2); stroke-width: 1; }
.dial-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.dial-center b { display: block; font-family: var(--f-display); font-size: clamp(3.4rem, 2.4rem + 4vw, 6rem); letter-spacing: -.06em; line-height: .9; font-weight: 600; }
.dial-center span { color: var(--muted); }
.dial-labels text { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; fill: var(--ink-2); text-transform: uppercase; }
.caps { display: grid; gap: 4px; list-style: none; padding: 0; margin: 0; }
.cap { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 16px; border-radius: 16px; transition: background .4s, box-shadow .4s; cursor: default; }
.cap .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); transition: .4s var(--ease); }
.cap .ci svg { width: 20px; height: 20px; }
.cap h3 { font-size: 1.1rem; }
.cap p { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }
.cap.on { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.cap.on .ci { background: var(--brand); color: #fff; }
@media (max-width: 900px) { .three60 { grid-template-columns: minmax(0, 1fr); } .dial { max-width: 360px; } }

/* ---------- journey ---------- */
.journey { position: relative; }
.jtrack { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.jline { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.jline i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--live)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.jstep { padding-right: 22px; display: grid; gap: 12px; align-content: start; }
.jdot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); position: relative; z-index: 1; color: var(--muted); transition: .5s var(--ease); }
.jdot svg { width: 20px; height: 20px; }
.jstep.on .jdot { background: var(--brand); color: #fff; box-shadow: 0 0 0 6px var(--brand-soft); }
.jstep.now .jdot { background: var(--live); box-shadow: 0 0 0 6px var(--live-soft); color: #fff; }
.jstep .when { color: var(--brand); margin-top: 8px; }
.jstep.now .when { color: var(--live); }
.jstep h3 { font-size: 1.15rem; }
.jstep p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 1000px) {
  .jtrack { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-left: 0; }
  .jline { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .jline i { transform-origin: top; transform: scaleY(var(--p, 1)); background: linear-gradient(180deg, var(--brand), var(--live)); }
  .jstep { grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; padding-right: 0; }
  .jstep .jdot { grid-row: span 3; }
  .jstep .when { margin-top: 0; }
}

/* ---------- brands marquee ---------- */
.brands { padding-block: 34px; overflow: hidden; position: relative; border-block: 1px solid var(--line); }
.brands::before, .brands::after { content: ""; position: absolute; top: 0; bottom: 0; width: 16%; z-index: 2; pointer-events: none; }
.brands::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.brands::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.brands-label { text-align: center; color: var(--muted); margin-bottom: 16px; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.brands:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); padding-right: clamp(40px, 6vw, 80px); margin: 0; list-style: none; }
.marquee li { font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; color: var(--muted); white-space: nowrap; transition: color .3s; }
.marquee li:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- doors (hire / invest / work together) ---------- */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { position: relative; background: var(--surface); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .5s; }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(400px circle at var(--x, 50%) var(--y, 0%), var(--brand-soft), transparent 60%); }
.door:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.door:hover::before { opacity: 1; }
.door .di { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.door.d2 .di { background: var(--live-soft); color: var(--live); }
.door.d3 .di { background: var(--warm-soft); color: var(--warm); }
.door .di svg { width: 24px; height: 24px; }
.door .who { color: var(--muted); }
.door h3 { font-size: 1.5rem; }
.door p { color: var(--ink-2); font-size: .96rem; }
.door ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: .9rem; color: var(--ink-2); }
.door li { display: flex; gap: 9px; } .door li::before { content: "→"; color: var(--brand); }
.door .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .doors { grid-template-columns: minmax(0, 1fr); } }

/* ---------- insights ---------- */
.posts-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.posts { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.post { display: grid; gap: 14px; align-content: start; }
.post .cover { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; position: relative; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.post .cover > * { transition: transform 1s var(--ease); }
.post:hover .cover > * { transform: scale(1.04); }
.post .cat { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 10px; border-radius: 8px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); }
.post .meta { color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.post h3 { font-size: 1.28rem; transition: color .3s; }
.post.big h3 { font-size: var(--step-2); }
.post:hover h3 { color: var(--brand); }
.post p { color: var(--ink-2); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-side { display: grid; gap: 22px; align-content: start; }
.post.row { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; }
.post.row .cover { aspect-ratio: 1; border-radius: 14px; }
.post.row h3 { font-size: 1.08rem; }
.cover-art { position: absolute; inset: 0; background: var(--ca, linear-gradient(140deg, #2a63ff, #0f37b0)); }
.cover-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 28px 28px; }
.cover-art span { position: absolute; left: 18px; bottom: 14px; right: 18px; color: #fff; font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.2rem, 1rem + 1.2vw, 2rem); line-height: 1.05; }
.post.row .cover-art span { font-size: .9rem; left: 10px; bottom: 9px; right: 10px; }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .post.row { grid-template-columns: 96px minmax(0, 1fr); } }

/* newsletter */
.news { margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--r); background: var(--ink); color: var(--bg); position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.news::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(31,85,240,.6), transparent 65%); z-index: -1; filter: blur(30px); }
.news h3 { color: var(--bg); font-size: var(--step-2); }
.news p { color: color-mix(in srgb, var(--bg) 70%, transparent); margin-top: 8px; }
.news form { display: flex; gap: 10px; flex-wrap: wrap; }
.news input { flex: 1 1 220px; min-width: 0; padding: 15px 16px; border-radius: 14px; border: 0; background: color-mix(in srgb, var(--bg) 10%, transparent); color: var(--bg); font: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 22%, transparent); }
.news input::placeholder { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.news input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand); }
.news .btn { background: var(--brand); color: #fff; }
.news .btn::before { background: var(--live); }
.news .note { flex-basis: 100%; font-size: .85rem; color: color-mix(in srgb, var(--bg) 65%, transparent); }
@media (max-width: 860px) { .news { grid-template-columns: minmax(0, 1fr); } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { margin: 0; background: var(--surface); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.quote .stars { color: var(--warm); letter-spacing: 2px; font-size: .9rem; }
.quote figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-family: var(--f-display); font-weight: 600; }
.quote b { display: block; font-weight: 600; font-size: .95rem; }
.quote small { color: var(--muted); }
@media (max-width: 900px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-side { display: grid; gap: 22px; }
.contact-side p { color: var(--ink-2); }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.contact-list a:hover { box-shadow: inset 0 0 0 1px var(--brand); transform: translateX(4px); }
.contact-list svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.form { background: var(--surface); border-radius: 24px; padding: clamp(22px, 3.5vw, 36px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field legend { color: var(--muted); padding: 0; }
.field input, .field textarea, .field select { width: 100%; background: var(--bg); border: 0; border-radius: 12px; padding: 14px 15px; color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px var(--brand-soft); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.intents { display: flex; flex-wrap: wrap; gap: 8px; }
.intents label { cursor: pointer; position: relative; }
.intents input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.intents span { display: inline-flex; padding: 10px 14px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; color: var(--ink-2); transition: .3s; text-transform: none; letter-spacing: 0; font-family: var(--f-body); }
.intents input:checked + span { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.intents input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { color: var(--live); font-size: .9rem; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { padding-block: 70px 34px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot p { color: var(--ink-2); max-width: 36ch; margin-top: 14px; font-size: .95rem; }
.foot h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot ul a { color: var(--ink-2); transition: color .3s; } .foot ul a:hover { color: var(--brand); }
.bigname { margin-top: 60px; font-family: var(--f-display); font-weight: 600; letter-spacing: -.06em; line-height: .8; font-size: clamp(3rem, 1rem + 10.5vw, 11rem); color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; overflow: hidden; user-select: none; }
.legal { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
@media (max-width: 860px) { .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- progress + cursor ---------- */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 70; background: linear-gradient(90deg, var(--brand), var(--live)); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; z-index: 100; background: var(--brand); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background .3s; }
.cursor.hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: color-mix(in srgb, var(--brand) 16%, transparent); box-shadow: inset 0 0 0 1px var(--brand); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.page-fade { position: fixed; inset: 0; background: var(--bg); z-index: 90; pointer-events: none; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cursor { display: none; }
}

/* ==========================================================
   Insights index (blog.html)
   ========================================================== */
.page-hero { padding-top: calc(140px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); letter-spacing: -.045em; margin-top: 18px; max-width: 16ch; }
.page-hero .lede { margin-top: 18px; }
.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; padding: 13px 14px 13px 42px; border-radius: 12px; border: 0; background: var(--surface); color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px var(--brand-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { border: 0; cursor: pointer; padding: 9px 13px; border-radius: 10px; background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; transition: .3s; }
.chip-btn em { font-style: normal; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.chip-btn:hover { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip-btn[aria-pressed="true"] em { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: center; background: var(--surface); border-radius: 26px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: box-shadow .4s, transform .6s var(--ease); }
.feature:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); transform: translateY(-4px); }
.feature .cover { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; position: relative; }
.feature .body { padding: 10px clamp(8px, 2vw, 26px) 10px 0; display: grid; gap: 14px; }
.feature h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); }
.feature p { color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.byline img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--brand-soft); }
.byline b { color: var(--ink); font-weight: 600; }
.dot-sep::before { content: "·"; margin-right: 10px; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature .body { padding: 6px 10px 14px; } }
.grid-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; margin-top: clamp(40px, 5vw, 60px); }
.grid-posts .post h3 { font-size: 1.18rem; }
.grid-posts .post.is-hidden { display: none; }
.ad-slot { grid-column: 1 / -1; border-radius: 18px; padding: 18px; display: grid; place-items: center; gap: 6px; min-height: 120px; color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 10px, var(--grid) 10px 11px), var(--surface); outline: 1px dashed var(--line-2); outline-offset: -1px; text-align: center; }
.ad-slot b { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.ad-slot small { font-size: .8rem; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.pager span[aria-current] { background: var(--ink); color: var(--bg); box-shadow: none; }
@media (max-width: 960px) { .grid-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-posts { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================
   Article (article.html)
   ========================================================== */
.art-head { padding-top: calc(130px + env(safe-area-inset-top, 0px)); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .5; }
.art-head h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem); letter-spacing: -.045em; margin-top: 20px; max-width: 20ch; }
.art-head .dek { font-size: var(--step-1); color: var(--ink-2); max-width: 58ch; margin-top: 18px; line-height: 1.5; }
.art-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-block: 18px; border-block: 1px solid var(--line); }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); border: 0; cursor: pointer; transition: .3s; }
.share a:hover, .share button:hover { color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.share svg { width: 17px; height: 17px; }
.art-cover { margin-top: 34px; aspect-ratio: 21 / 9; border-radius: 26px; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.art-cover .cover-art span { font-size: clamp(1.6rem, 1rem + 3vw, 3.6rem); left: clamp(18px, 4vw, 48px); bottom: clamp(16px, 3vw, 40px); max-width: 16ch; }
.art-cover figcaption { position: absolute; right: 14px; bottom: 12px; color: rgba(255,255,255,.75); font-size: .75rem; }
.art-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 60px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: .88rem; }
.toc h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.toc a { display: block; padding: 7px 0 7px 14px; color: var(--muted); border-left: 2px solid var(--line); transition: color .3s, border-color .3s; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--brand); border-left-color: var(--brand); font-weight: 500; }
.toc .read-left { margin-top: 14px; color: var(--muted); font-size: .8rem; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.author-mini { background: var(--surface); border-radius: 20px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.author-mini .who { display: flex; gap: 12px; align-items: center; }
.author-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--brand-soft); }
.author-mini b { display: block; } .author-mini small { color: var(--muted); }
.author-mini p { color: var(--ink-2); font-size: .9rem; }
.ad-box { aspect-ratio: 6 / 5; }
/* prose */
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 2.2em; color: var(--ink); scroll-margin-top: 100px; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; color: var(--ink); scroll-margin-top: 100px; }
.prose > p:first-of-type::first-letter { font-family: var(--f-display); float: left; font-size: 4.4em; line-height: .82; padding: .06em .12em 0 0; color: var(--brand); font-weight: 600; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; } .prose li + li { margin-top: .4em; } .prose li::marker { color: var(--brand); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); font-family: var(--f-display); font-size: 1.45rem; line-height: 1.35; color: var(--ink); letter-spacing: -.02em; }
.callout { border-radius: 18px; padding: 20px 22px; background: var(--brand-soft); color: var(--ink); display: grid; gap: 8px; font-size: 1rem; line-height: 1.6; }
.callout b.mono { color: var(--brand); }
.takeaways { border-radius: 18px; padding: 22px 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.takeaways h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--live); font-weight: 600; margin-bottom: 10px; }
.takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.takeaways li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.takeaways svg { width: 18px; height: 18px; color: var(--live); margin-top: 3px; }
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose td b { color: var(--ink); }
.score { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.score i { display: block; width: 60px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.score i::after { content: ""; position: absolute; inset: 0; width: var(--s); background: var(--brand); border-radius: 3px; }
.prose .ad-slot { margin-block: 2em; }
.author-card { margin-top: 3em; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 24px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); align-items: start; }
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--brand-soft); }
.author-card h4 { font-size: 1.2rem; } .author-card p { color: var(--ink-2); font-size: .96rem; margin-top: 6px; line-height: 1.55; }
.author-card .links { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.related { margin-top: clamp(60px, 8vw, 100px); }
@media (max-width: 1120px) { .art-layout { grid-template-columns: minmax(0, 1fr) 280px; } .toc { display: none; } }
@media (max-width: 860px) { .art-layout { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } .ad-box { aspect-ratio: auto; } .art-cover { aspect-ratio: 16 / 10; } .prose { font-size: 1.04rem; } }
@media (max-width: 480px) { .author-card { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================
   v3 additions: kinetic band, role cards, demo player,
   horizontal process, physics toolkit
   ========================================================== */
.hero h1 .line .v { color: var(--brand); }
.hero h1 .line:nth-child(2) .v { color: var(--live); }
.hero h1 .line:nth-child(3) .v { color: var(--warm); }
.role-rot { display: inline-grid; vertical-align: bottom; height: 1.25em; overflow: hidden; }
.role-rot span { grid-area: 1 / 1; transition: transform .7s var(--ease), opacity .7s; }
.role-rot span:not(.on) { transform: translateY(110%); opacity: 0; }
.role-rot span.out { transform: translateY(-110%); opacity: 0; }
.cf4 .tags { display: flex; gap: 6px; }
.cf4 .tags span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); }
.cf4 .tags svg { width: 16px; height: 16px; }

/* kinetic band */
.kinetic { overflow: hidden; padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface); }
.kinetic .track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.kinetic .row { display: flex; align-items: center; gap: 34px; padding-right: 34px; transform: skewX(var(--skew, 0deg)); transition: transform .3s var(--ease); }
.kinetic span { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); letter-spacing: -.04em; white-space: nowrap; color: var(--ink); }
.kinetic span.o { color: transparent; -webkit-text-stroke: 1.2px var(--ink-2); }
.kinetic i { width: 14px; height: 14px; flex: none; background: var(--brand); border-radius: 4px; rotate: 45deg; }
.kinetic i:nth-of-type(3n+2) { background: var(--live); } .kinetic i:nth-of-type(3n) { background: var(--warm); }

/* role cards */
.roles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rcard { position: relative; background: var(--surface); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.rcard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), var(--glow, var(--brand-soft)), transparent 60%); }
.rcard:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.rcard:hover::before { opacity: 1; }
.rcard .num { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); letter-spacing: .08em; }
.rcard .ri { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 14px 30px -12px var(--brand); }
.rcard.r2 { --glow: var(--live-soft); } .rcard.r2 .ri { background: var(--live); box-shadow: 0 14px 30px -12px var(--live); }
.rcard.r3 { --glow: var(--warm-soft); } .rcard.r3 .ri { background: var(--warm); box-shadow: 0 14px 30px -12px var(--warm); }
.rcard .ri svg { width: 26px; height: 26px; }
.rcard h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.rcard p { color: var(--ink-2); }
.rcard .fits { color: var(--muted); font-size: .86rem; padding-top: 14px; border-top: 1px dashed var(--line-2); margin-top: auto; }
.rcard .fits b { color: var(--ink); font-weight: 600; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chipset span { font-size: .76rem; padding: 5px 9px; border-radius: 8px; background: var(--bg); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); }
@media (max-width: 960px) { .roles3 { grid-template-columns: minmax(0, 1fr); } }

/* case tweaks */
.built { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.built b { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, var(--brand)); font-weight: 600; }
.built span { color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.status.private { color: var(--ink-2); background: var(--bg-2); }
.status.private::before { animation: none; }
.case .btn-open { background: var(--accent); color: #fff; }
.case .btn-open::before { background: var(--ink); }

/* demo player (scripted product demos that play like video) */
.player { width: 100%; max-width: 500px; display: grid; gap: 12px; }
.player .mock { max-width: none; min-height: 360px; display: flex; flex-direction: column; }
.player .mock-body { flex: 1; position: relative; }
.pbar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pbar button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: #0b1a33; display: grid; place-items: center; cursor: pointer; flex: none; }
.pbar button svg { width: 14px; height: 14px; }
.pbar .pause-i { display: none; }
.player.playing .pbar .pause-i { display: block; } .player.playing .pbar .play-i { display: none; }
.pbar .tl { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.pbar .tl i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--t, 1)); }
.pbar .lbl { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.pbar .lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff5a5a; }
.pbar .time { font-family: var(--f-mono); font-size: .7rem; opacity: .8; font-variant-numeric: tabular-nums; }
/* scene elements: visible at rest; JS hides and reveals them on a timeline */
[data-at] { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.demo-armed [data-at]:not(.shown) { opacity: 0; transform: translateY(10px); }
.inputline { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid #e1e7f1; background: #fff; font-size: .8rem; color: #0b1a33; min-height: 40px; }
.inputline .caret { width: 1.5px; height: 15px; background: #1f55f0; animation: blink 1s steps(1) infinite; }
.inputline .ph { color: #6c778f; }
.thinking { display: flex; flex-wrap: wrap; gap: 6px; }
.thinking span { font-family: var(--f-mono); font-size: .64rem; padding: 4px 7px; border-radius: 6px; background: #e6edff; color: #1f55f0; letter-spacing: .03em; }
.dash { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dash div { height: 46px; border-radius: 8px; background: #f5f7fb; border: 1px solid #e8edf5; position: relative; overflow: hidden; }
.dash div::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 40%; background: linear-gradient(90deg, #1f55f0 var(--a, 60%), #e5ebf6 0); border-radius: 3px; opacity: .8; }
.dash div:nth-child(2)::after { --a: 35%; background: linear-gradient(90deg, #0a9f83 35%, #e5ebf6 0); }
.dash div:nth-child(3)::after { --a: 75%; background: linear-gradient(90deg, #f2711c 75%, #e5ebf6 0); }
.fill { height: 8px; border-radius: 4px; background: #e5ebf6; overflow: hidden; }
.fill i { display: block; height: 100%; background: #0a9f83; width: var(--f, 100%); border-radius: 4px; transition: width .2s linear; }
.fields { display: flex; flex-wrap: wrap; gap: 6px; }
.fields span { font-size: .7rem; padding: 4px 8px; border-radius: 6px; background: #ddf5ef; color: #087a65; }
.done { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: #0b1a33; color: #fff; font-size: .82rem; }
.done i { width: 22px; height: 22px; border-radius: 50%; background: #33d6b4; color: #0b1a33; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .75rem; flex: none; }
.tg { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: #e8f3fb; color: #0b1a33; font-size: .76rem; max-width: 88%; }
.tg b { font-size: .68rem; color: #2a8bd1; }
.ctx-top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: #6c778f; font-family: var(--f-mono); letter-spacing: .04em; }
@media (max-width: 900px) { .player .mock { min-height: 0; } }

/* horizontal process */
.hproc { position: relative; overflow: hidden; }
.hproc-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hproc-bar { width: min(260px, 40%); height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.hproc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--live)); transform-origin: left; transform: scaleX(var(--p, 1)); }
.htrack { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 44px; padding-left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); padding-right: 20px; }
.hproc.is-pinned .htrack { flex-wrap: nowrap; width: max-content; }
.hstep { width: min(400px, 78vw); flex: none; background: var(--surface); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: inset 0 0 0 1px var(--line); min-height: 380px; position: relative; overflow: hidden; }
.hstep .n { font-family: var(--f-display); font-size: 5.5rem; line-height: .8; font-weight: 700; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.2px var(--line-2); }
.hstep .hi { position: absolute; right: 26px; top: 26px; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.hstep:nth-child(2n) .hi { background: var(--live-soft); color: var(--live); }
.hstep:nth-child(3n) .hi { background: var(--warm-soft); color: var(--warm); }
.hstep .hi svg { width: 26px; height: 26px; }
.hstep h3 { font-size: 1.8rem; letter-spacing: -.035em; margin-top: auto; }
.hstep p { color: var(--ink-2); }
@media (max-width: 860px) {
  .htrack { flex-direction: column; width: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
  .hstep { width: auto; min-height: 0; }
  .hstep .n { font-size: 4rem; }
  .hproc-bar { display: none; }
}

/* physics toolkit */
.toolbox { position: relative; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 28px; min-height: 200px; overflow: hidden; }
.toolbox .tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tool { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 1rem; white-space: nowrap; user-select: none; -webkit-user-select: none;
  background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.tool i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); flex: none; }
.tool.k1 { background: var(--brand); color: #fff; box-shadow: none; } .tool.k1 i { background: #fff; }
.tool.k2 { background: var(--ink); color: var(--bg); box-shadow: none; } .tool.k2 i { background: var(--live); }
.tool.k3 { background: var(--live-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--live); } .tool.k3 i { background: var(--live); }
.tool.k4 { background: var(--warm-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--warm); } .tool.k4 i { background: var(--warm); }
.toolbox.physics { height: 460px; padding: 0; cursor: grab; }
.toolbox.physics:active { cursor: grabbing; }
.toolbox.physics .tools { display: block; }
.toolbox.physics .tool { position: absolute; left: 0; top: 0; will-change: transform; }
.toolbox .hint { position: absolute; left: 50%; top: 22px; translate: -50% 0; color: var(--muted); pointer-events: none; display: none; }
.toolbox.physics .hint { display: block; }
.toolbox canvas { position: absolute; inset: 0; opacity: 0; }

/* hiring CTA */
.hire { position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: var(--bg); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); isolation: isolate; display: grid; gap: 26px; }
.hire::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -50%; border-radius: 50%; background: radial-gradient(circle, rgba(31,85,240,.55), transparent 65%); filter: blur(30px); z-index: -1; }
.hire::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1; left: -15%; bottom: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(10,159,131,.4), transparent 65%); filter: blur(30px); z-index: -1; }
.hire h2 { color: var(--bg); font-size: clamp(2.3rem, 1.4rem + 3.8vw, 5rem); max-width: 16ch; }
.hire p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 54ch; font-size: 1.1rem; }
.hire .rolechips { display: flex; flex-wrap: wrap; gap: 8px; }
.hire .rolechips span { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 25%, transparent); font-weight: 500; font-size: .92rem; }
.hire .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.hire .btn { background: var(--bg); color: var(--ink); }
.hire .btn::before { background: var(--brand); }
.hire .btn.alt { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 30%, transparent); }

/* principles */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.pr { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1.5px solid var(--line-2); position: relative; }
.pr::before { content: ""; position: absolute; left: 0; top: -1.5px; width: 44px; height: 1.5px; background: var(--brand); transition: width .6s var(--ease); }
.pr:hover::before { width: 100%; }
.pr .pi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.pr .pi svg { width: 22px; height: 22px; }
.pr h3 { font-size: 1.2rem; }
.pr p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .principles { grid-template-columns: minmax(0, 1fr); } }
/* stacked cards dim instead of turning see-through */
.case::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); opacity: var(--dim, 0); pointer-events: none; z-index: 5; }

/* roadmap: a winding road drawn through each stop */
.roadmap { position: relative; display: grid; gap: clamp(28px, 4vw, 54px); padding-block: 20px; }
.road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.road-base { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.road-fill { fill: none; stroke: url(#roadg); stroke-width: 4; stroke-linecap: round; }
.road-car { fill: var(--surface); stroke: var(--brand); stroke-width: 4; }
.road-glow { fill: var(--brand); opacity: .18; }
.road:not(.ready) circle { display: none; }
.stop { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr); align-items: center; }
.stop .node { grid-column: 2; grid-row: 1; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow); transition: background .5s var(--ease), color .5s, box-shadow .5s, transform .6s var(--ease); }
.stop.left .node { justify-self: start; } .stop.right .node { justify-self: end; }
.stop .node svg { width: 26px; height: 26px; }
.stop-card { grid-row: 1; max-width: 400px; display: grid; gap: 8px; padding: 22px 24px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .7s var(--ease), box-shadow .5s, opacity .6s; }
.stop.left .stop-card { grid-column: 1; justify-self: end; }
.stop.right .stop-card { grid-column: 3; justify-self: start; }
.stop .when { color: var(--brand); }
.stop h3 { font-size: 1.35rem; }
.stop p { color: var(--ink-2); font-size: .95rem; }
.stop.on .node { background: var(--brand); color: #fff; box-shadow: 0 0 0 7px var(--brand-soft), var(--shadow); transform: rotate(-6deg) scale(1.05); }
.stop.on .stop-card { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.stop.now .when { color: var(--warm); }
.stop.now.on .node { background: var(--warm); box-shadow: 0 0 0 7px var(--warm-soft), var(--shadow); }
.roadmap.armed .stop:not(.on) .stop-card { opacity: .35; transform: translateY(14px); }
@media (max-width: 860px) {
  .stop { grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; }
  .stop .node, .stop.left .node, .stop.right .node { grid-column: 1; justify-self: start; }
  .stop.left .stop-card, .stop.right .stop-card { grid-column: 2; justify-self: stretch; max-width: none; }
}

/* ==========================================================
   WordPress integration
   ========================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; margin: 0; z-index: 200; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note.is-error, .news .note.is-error { color: var(--warm); }
.chip-btn[aria-current="page"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip-btn[aria-current="page"] em { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.nav-links .current-menu-item > a { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.post .cover > img, .feature .cover > img, .art-cover.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-cover.has-img { aspect-ratio: auto; max-height: 620px; }
.art-cover.has-img img { aspect-ratio: 21 / 9; }
@media (max-width: 860px) { .art-cover.has-img img { aspect-ratio: 16 / 10; } }
.art-layout.no-toc { grid-template-columns: minmax(0, 1fr) 300px; }
.art-layout.no-toc > div:first-child { display: none; }
@media (max-width: 860px) { .art-layout.no-toc { grid-template-columns: minmax(0, 1fr); } }
.ad-slot.is-live { background: transparent; outline: 0; padding: 0; min-height: 0; display: block; text-align: center; }
.ad-slot.is-live > b { display: block; margin-bottom: 8px; color: var(--muted); }
.ad-unit { max-width: 100%; overflow: hidden; }
.page-body { max-width: 820px; margin-top: 30px; padding-bottom: 100px; }
.prose.no-dropcap > p:first-of-type::first-letter { all: unset; }
.prose .tags { margin-top: 2em; }
.prose .tags a { text-decoration: none; }

/* Block editor content inside articles */
.prose img { border-radius: 16px; height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-element-caption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 10px; }
.prose .wp-block-image img { box-shadow: inset 0 0 0 1px var(--line); }
.prose .alignwide { margin-inline: calc(min(120px, 6vw) * -1); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
@media (max-width: 860px) { .prose .alignwide { margin-inline: 0; } }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-table { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.prose .wp-block-table table, .prose > table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose > table { display: block; overflow-x: auto; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); }
.prose .wp-block-quote, .prose blockquote { margin: 1.6em 0; }
.prose .wp-block-pullquote { border: 0; padding: 0; text-align: left; }
.prose code { font-family: var(--f-mono); font-size: .88em; padding: .15em .4em; border-radius: 6px; background: var(--bg-2); color: var(--ink); }
.prose pre { font-family: var(--f-mono); font-size: .88rem; padding: 18px 20px; border-radius: 16px; background: var(--ink); color: var(--bg); overflow-x: auto; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose ol { padding-left: 1.3em; }
.prose .wp-block-embed iframe, .prose iframe { max-width: 100%; border-radius: 16px; }
.prose .wp-block-buttons .wp-block-button__link { border-radius: 14px; background: var(--brand); color: #fff; text-decoration: none; padding: 13px 20px; font-weight: 600; }
.prose h4 { font-size: 1.12rem; color: var(--ink); margin-top: 1.6em; }
.prose .ez-toc-container, .prose #ez-toc-container { display: none; } /* the theme shows its own contents list */

.cover-art span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* WordPress admin bar (only shown to logged-in admins): keep the fixed header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ==========================================================
   1.1 — newsletter form, consent, security check, "new" markers
   ========================================================== */
.news form { display: grid; gap: 12px; align-content: start; }
.news-row { display: flex; flex-wrap: wrap; gap: 10px; }
.news-row .nl-name { flex: 0 1 150px; }
.news input[type="text"], .news input[type="email"] { flex: 1 1 200px; min-width: 0; padding: 15px 16px; border-radius: 14px; border: 0; background: color-mix(in srgb, var(--bg) 10%, transparent); color: var(--bg); font: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 22%, transparent); }
.news input[type="text"]::placeholder { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.news input[type="text"]:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand); }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.topics legend { float: left; margin-right: 6px; font-size: .85rem; color: color-mix(in srgb, var(--bg) 65%, transparent); }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.topics span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: .85rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 25%, transparent); color: color-mix(in srgb, var(--bg) 75%, transparent); transition: .25s; }
.topics span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px currentColor; flex: none; }
.topics input:checked + span { background: color-mix(in srgb, var(--brand) 30%, transparent); color: var(--bg); box-shadow: inset 0 0 0 1px var(--brand); }
.topics input:checked + span::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: none; }
.topics input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.45; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.news .consent { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.form .consent { color: var(--ink-2); }
.gd-captcha { min-height: 0; }
.gd-captcha-note { font-size: .75rem; color: var(--muted); }
.gd-captcha-note a { text-decoration: underline; }
.news .gd-captcha-note { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.news .note { flex-basis: auto; }
.type-chip { color: var(--brand); }
.post .new-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; background: var(--live); color: #fff; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.post .cover .new-badge { position: absolute; right: 12px; top: 12px; z-index: 2; }
.nav-links a.has-new::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--live); vertical-align: 2px; box-shadow: 0 0 0 3px var(--live-soft); }
.news form > .btn { justify-self: start; }
@media (max-width: 520px) { .news-row .nl-name { flex-basis: 100%; } }

/* ---------- 1.2: product videos (click to play, sound on) ---------- */
.vplayer { --vw: min(100%, 420px, calc((100vh - 230px) * .75)); position: relative; width: var(--vw); aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: #0b1222;
  box-shadow: 0 34px 70px -24px rgba(4, 12, 40, .6), 0 0 0 1px rgba(255, 255, 255, .16); isolation: isolate; }
@supports (height: 1svh) { .vplayer { --vw: min(100%, 420px, calc((100svh - 230px) * .75)); } }
.vplayer > video, .vposter img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vposter img { object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1), filter .4s; }
.vplayer > video { object-fit: contain; background: #000; }
.vposter { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; }
.vposter::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(4, 10, 30, .28), rgba(4, 10, 30, 0) 55%); pointer-events: none; }
.vposter:hover img, .vposter:focus-visible img { transform: scale(1.03); }
.vposter:focus-visible { outline: 3px solid #fff; outline-offset: -7px; border-radius: 22px; }
.vplay { position: absolute; left: 50%; top: 52%; z-index: 1; width: 78px; height: 78px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--accent, var(--brand)); box-shadow: 0 14px 34px rgba(0, 0, 0, .38); transition: transform .4s cubic-bezier(.2, .9, .3, 1.4); }
.vplay::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: vpulse 2.4s ease-out infinite; }
@keyframes vpulse { from { transform: scale(.86); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.vplay svg { width: 28px; height: 28px; margin-left: 5px; }
.vposter:hover .vplay, .vposter:focus-visible .vplay { transform: scale(1.09); }
.vmeta { position: absolute; right: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: 999px;
  background: rgba(6, 12, 28, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 500 .8rem/1 var(--f-body); letter-spacing: .01em; }
.vmeta svg { width: 15px; height: 15px; }
.vplayer.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 3; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .28); border-top-color: #fff; animation: spin .8s linear infinite; pointer-events: none; }
@media (max-width: 900px) { .case-visual:has(.vplayer) { padding: 22px 22px 26px; } .vplayer { --vw: min(100%, 380px); } }

/* ---------- 1.2: hero intro in pure CSS (plays on first paint, no JS wait, no flash) ---------- */
.hero h1 .li { display: inline-block; }
@keyframes gd-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes gd-line { from { transform: translateY(112%) rotate(2.5deg); } to { transform: none; } }
@keyframes gd-arch { from { clip-path: inset(100% 0 0 0 round 999px 999px 32px 32px); } to { clip-path: inset(0 0 0 0 round 999px 999px 32px 32px); } }
@keyframes gd-cut { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }
@keyframes gd-pop { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
.anim .hero .pill { animation: gd-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
.anim .hero h1 .li { animation: gd-line 1.15s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 0 100%; }
.anim .hero h1 .line:nth-child(1) .li { animation-delay: .12s; }
.anim .hero h1 .line:nth-child(2) .li { animation-delay: .2s; }
.anim .hero h1 .line:nth-child(3) .li { animation-delay: .28s; }
.anim .hero .lede { animation: gd-rise 1s cubic-bezier(.16, 1, .3, 1) .42s both; }
.anim .hero-cta > *, .anim .trust-row > * { animation: gd-rise 1s cubic-bezier(.16, 1, .3, 1) both; }
.anim .hero-cta > :nth-child(1) { animation-delay: .5s; } .anim .hero-cta > :nth-child(2) { animation-delay: .56s; }
.anim .trust-row > :nth-child(1) { animation-delay: .62s; } .anim .trust-row > :nth-child(2) { animation-delay: .68s; } .anim .trust-row > :nth-child(3) { animation-delay: .74s; }
.anim .stage .arch { animation: gd-arch 1.4s cubic-bezier(.16, 1, .3, 1) .1s both; }
.anim .stage .cutout img { animation: gd-cut 1.5s cubic-bezier(.16, 1, .3, 1) .35s both; }
.anim .stage .card-float { animation: gd-pop .9s cubic-bezier(.34, 1.56, .64, 1) both, bob 6s ease-in-out infinite; }
.anim .stage .cf1 { animation-delay: .8s, 0s; } .anim .stage .cf2 { animation-delay: .9s, -1.5s; }
.anim .stage .cf3 { animation-delay: 1s, -3s; } .anim .stage .cf4 { animation-delay: 1.1s, -4.5s; }
@media (prefers-reduced-motion: reduce) { .vplay::before { animation: none; } }

.byline a, .author-card h4 a { color: inherit; text-decoration: none; } .byline a:hover b, .author-card h4 a:hover { color: var(--brand); }
