/* CondUX.io — site styles. Tokens lifted from the product (condux-refactor globals.css). */
:root {
  --cream: #f9f1dc; --shell: #f1e8ce; --panel: #fffbf0; --soft: #ece1bf; --head: #faf2db;
  --ink1: #1f2d27; --ink2: #2f3b35; --ink3: #56615a; --ink4: #818b83; --ink5: #aab1ab;
  --mint: #a8e388; --mint-deep: #84cc60; --spark: #e89540; --spark-soft: #f5c790;
  --line: #e7dbb4; --line-strong: #d2c290;
  --d-app: #0b1410; --d-main: #0d1612; --d-panel: #142019; --d-soft: #1b2922; --d-brand: #2f4a3e;
  --d-line: #243029; --d-line2: #38473d; --d-ink1: #eef3ea; --d-ink2: #d6decf; --d-ink3: #9fab9d; --d-ink4: #6f7d72;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--d-app);
  color: var(--ink2);
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { display: block; background: var(--cream); }
a { color: var(--ink1); text-decoration: none; }
a:hover { color: #243730; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(168,227,136,0.55); border-radius: 6px; }
::selection { background: var(--mint); color: var(--ink1); }
.mono { font-family: 'IBM Plex Mono', Menlo, Monaco, monospace; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.wrap-hero { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.eyebrow {
  font-family: 'IBM Plex Mono', Menlo, Monaco, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink4);
}
.eyebrow.spark { color: var(--spark); }
.h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.14; font-weight: 600; letter-spacing: -0.02em; color: var(--ink1); text-wrap: balance; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px; border-radius: 6px;
  font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
  transition: background 120ms var(--ease), box-shadow 120ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(0.5px); }
.btn-mint { background: var(--mint); border-color: #84b86e; color: var(--ink1); }
.btn-mint:hover { background: #9fdb7f; color: var(--ink1); box-shadow: 0 1px 2px rgba(31,45,39,0.04), 0 8px 24px rgba(31,45,39,0.10); }
.btn-ink { background: var(--ink1); border-color: var(--ink1); color: #ffffff; }
.btn-ink:hover { background: #243730; color: #ffffff; }
.btn-line { background: var(--panel); border-color: var(--line-strong); color: var(--ink1); }
.btn-line:hover { background: rgba(31,45,39,0.05); border-color: var(--ink3); }
.btn-ghost-dark { background: transparent; border-color: var(--d-line2); color: var(--d-ink1); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.05); color: var(--d-ink1); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(31,45,39,0.04), 0 8px 24px rgba(31,45,39,0.06);
}
.lift { transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.lift:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31,45,39,0.06), 0 16px 36px rgba(31,45,39,0.10); }
.pill { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 600; line-height: 1; }
.pill-mint { background: rgba(168,227,136,0.38); color: var(--ink1); }
.pill-spark { background: rgba(232,149,64,0.18); color: var(--spark-soft); }
.link-u { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--ink1); padding: 10px 0 6px; border-bottom: 2px solid var(--mint); }
.link-u svg { transition: transform 200ms var(--ease); }
.link-u:hover svg { transform: translateX(3px); }

/* micro-motion language (v3 pass): drawn section ticks, living posters, scroll thread */
.h2::after {
  content: ""; display: block; width: 46px; height: 4px; border-radius: 2px;
  background: var(--mint); margin-top: 10px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 620ms var(--ease) 240ms;
}
.h2.in::after { transform: scaleX(1); }
.h2.no-tick::after { display: none; }
.vposter img { transition: transform 520ms var(--ease); }
.card:hover .vposter img, .row-next:hover .vposter img { transform: scale(1.03); }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--mint-deep); z-index: 60; pointer-events: none;
}
.grid-steps { position: relative; }
.grid-steps::before {
  content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px;
  background: var(--line-strong); transform: scaleX(0); transform-origin: left;
  transition: transform 1100ms var(--ease) 300ms;
}
.grid-steps:has(.rv.in)::before { transform: scaleX(1); }
.grid-steps > div { position: relative; }

/* booking page */
.day-chip {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 86px; min-height: 60px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer;
  font-family: inherit; transition: border-color 120ms var(--ease), background 120ms var(--ease), transform 120ms var(--ease);
}
.day-chip:hover { border-color: var(--ink3); }
.day-chip.on { background: var(--ink1); border-color: var(--ink1); }
.day-chip .dow { font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink4); }
.day-chip .dnum { font-size: 16px; font-weight: 600; color: var(--ink1); }
.day-chip.on .dow { color: rgba(249,241,220,0.7); }
.day-chip.on .dnum { color: var(--cream); }
.slot-btn {
  min-height: 46px; padding: 10px 8px; border-radius: 8px; text-align: center;
  border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer;
  font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 13.5px; font-weight: 600; color: var(--ink1);
  transition: border-color 120ms var(--ease), background 120ms var(--ease);
}
.slot-btn:hover { border-color: var(--mint-deep); background: rgba(168,227,136,0.16); }
.slot-btn.on { background: var(--mint); border-color: #84b86e; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink3); }
.field input, .field textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--panel); padding: 11px 14px; font-family: inherit; font-size: 15.5px; color: var(--ink1);
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink1); box-shadow: 0 0 0 3px rgba(168,227,136,0.45); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* motion */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
.rv-sc { transform: translateY(14px) scale(0.975); }
.rv-x { transform: translateX(26px); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 80ms; } .rv-d2 { transition-delay: 160ms; } .rv-d3 { transition-delay: 240ms; } .rv-d4 { transition-delay: 320ms; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex-shrink: 0; animation: dotPulse 2.4s var(--ease) infinite; }
@keyframes dotPulse {
  0%, 80%, 100% { box-shadow: 0 0 0 2px rgba(168,227,136,0.30); }
  40% { box-shadow: 0 0 0 6px rgba(168,227,136,0.10); }
}
.glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.glow-a { animation: driftA 26s ease-in-out infinite alternate; }
.glow-b { animation: driftB 32s ease-in-out infinite alternate; }
@keyframes driftA { from { transform: translate(0,0); } to { transform: translate(26px,18px); } }
@keyframes driftB { from { transform: translate(0,0); } to { transform: translate(-22px,-14px); } }
.ticker-clip { overflow: hidden; }
.ticker { display: flex; width: max-content; animation: tickerX 55s linear infinite; }
@keyframes tickerX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.wave span { width: 3px; border-radius: 2px; background: var(--mint-deep); animation: waveY 1.3s ease-in-out infinite; }
.wave span:nth-child(1) { height: 6px; } .wave span:nth-child(2) { height: 12px; animation-delay: 120ms; }
.wave span:nth-child(3) { height: 8px; animation-delay: 240ms; } .wave span:nth-child(4) { height: 13px; animation-delay: 360ms; }
.wave span:nth-child(5) { height: 5px; animation-delay: 480ms; }
@keyframes waveY { 0%, 100% { transform: scaleY(0.6); } 50% { transform: scaleY(1); } }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--d-ink3); display: inline-block; animation: typing 1.4s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 180ms; } .typing span:nth-child(3) { animation-delay: 360ms; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.25; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.par { will-change: transform; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.rv.in .draw path { animation: drawIn 800ms 480ms var(--ease) forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.kinetic {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--cream); padding: 20px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.k-row { display: flex; width: max-content; font-weight: 600; text-transform: uppercase; letter-spacing: 0; white-space: nowrap; }
.k-half { display: flex; align-items: baseline; }
.k-row span { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.12; }
.k-a { color: rgba(31,45,39,0.10); -webkit-text-stroke: 1.2px rgba(31,45,39,0.30); animation: tickerX 85s linear infinite; }
.k-dot { color: rgba(132,204,96,0.55); -webkit-text-stroke: 0; padding: 0 22px; }
.micro { display: flex; align-items: center; gap: 4px; height: 20px; margin-top: 14px; }
.hcell { width: 10px; height: 10px; border-radius: 2px; background: var(--mint-deep); opacity: 0.2; animation: hcellGlow 2.8s ease-in-out infinite; }
@keyframes hcellGlow { 0%, 100% { opacity: 0.18; } 30% { opacity: 0.85; } }
.microline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: microDraw 4.2s var(--ease) infinite; }
@keyframes microDraw { 0% { stroke-dashoffset: 1; opacity: 1; } 45% { stroke-dashoffset: 0; opacity: 1; } 78% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.cm { opacity: 0; transform: translateY(10px); transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
.cm.on { opacity: 1; transform: none; }
#chat-typing { display: none; }
#chat-typing.on { display: block; }

/* client logos (sourced from the prior condux.io slider) — desaturated to sit in the warm world */
.clogo { height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.55; flex-shrink: 0; transition: filter 300ms var(--ease), opacity 300ms var(--ease); }
.clogo:hover { filter: grayscale(0); opacity: 1; }

/* ═══ v4 awe pass ═══ */
/* cursor-tracking glow on cards */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 320ms var(--ease);
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(168,227,136,0.16), transparent 65%);
}
.card:hover::after { opacity: 1; }

/* aurora atmosphere for dark bands */
.aurora {
  position: absolute; inset: -20%; pointer-events: none; filter: blur(44px);
  background:
    radial-gradient(42% 55% at 24% 30%, rgba(168,227,136,0.11), transparent 65%),
    radial-gradient(36% 50% at 76% 72%, rgba(232,149,64,0.07), transparent 65%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift { to { transform: translate(4%, -3%) rotate(2deg) scale(1.07); } }

/* scrollytelling pipeline */
.scrolly { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scrolly-track { height: 420vh; position: relative; }
.scrolly-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: center; width: 100%; }
.sc-steps { position: relative; margin-top: 34px; }
.sc-spine { position: absolute; left: 13px; top: 30px; bottom: 30px; width: 2px; background: var(--line); border-radius: 2px; }
.sc-spine i { display: block; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--mint-deep); border-radius: 2px; }
.sc-step { display: flex; gap: 18px; padding: 16px 0; opacity: 0.38; transition: opacity 320ms var(--ease); }
.sc-step.on { opacity: 1; }
.sc-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 11px; font-weight: 600;
  background: var(--soft); color: var(--ink3); transition: background 320ms var(--ease), color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.sc-step.on .sc-num { background: var(--mint); color: var(--ink1); box-shadow: 0 0 0 5px rgba(168,227,136,0.22); }
.sc-step:last-child.on .sc-num { background: var(--spark); box-shadow: 0 0 0 5px rgba(232,149,64,0.20); }
.sc-step h3 { font-size: 18px; font-weight: 600; color: var(--ink1); }
.sc-step p { font-size: 14.5px; line-height: 1.55; color: var(--ink3); margin-top: 5px; max-width: 300px; }
.sc-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 2px 4px rgba(31,45,39,0.06), 0 28px 64px rgba(31,45,39,0.13); }
.sc-chrome { height: 40px; background: var(--head); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 0 16px; }
.sc-body { position: relative; height: 380px; background: var(--cream); }
.scene {
  position: absolute; inset: 0; padding: 24px 26px;
  opacity: 0; transform: translateY(16px) scale(0.985);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  pointer-events: none;
}
.scrolly[data-stage="1"] .scene[data-scene="1"],
.scrolly[data-stage="2"] .scene[data-scene="2"],
.scrolly[data-stage="3"] .scene[data-scene="3"],
.scrolly[data-stage="4"] .scene[data-scene="4"] { opacity: 1; transform: none; }
.sn-label { display: none; }
.sc-row { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; opacity: 0; transform: translateX(-10px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.scrolly[data-stage="1"] .sc-row { opacity: 1; transform: none; }
.scrolly[data-stage="1"] .sc-row:nth-child(2) { transition-delay: 120ms; }
.scrolly[data-stage="1"] .sc-row:nth-child(3) { transition-delay: 240ms; }
.scrolly[data-stage="1"] .sc-ai { opacity: 1; transform: none; transition-delay: 420ms; }
.sc-ai { display: inline-flex; align-items: center; gap: 7px; background: rgba(168,227,136,0.30); border: 1px solid #84b86e; border-radius: 99px; padding: 6px 13px; font-size: 12px; font-weight: 600; color: var(--ink1); margin-top: 12px; opacity: 0; transform: translateX(-10px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.sc-dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 7px; margin-top: 16px; }
.sc-dot { aspect-ratio: 1; border-radius: 4px; background: var(--soft); transition: background 300ms var(--ease); }
.scrolly[data-stage="2"] .sc-dot { background: var(--mint-deep); }
.scrolly[data-stage="2"] .sc-dot:nth-child(3n) { transition-delay: 180ms; }
.scrolly[data-stage="2"] .sc-dot:nth-child(3n+1) { transition-delay: 60ms; }
.scrolly[data-stage="2"] .sc-dot:nth-child(4n) { transition-delay: 320ms; background: var(--spark); }
.sc-draw { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--t, 1)); }
.sc-bar { height: 10px; border-radius: 5px; background: var(--mint-deep); transform-origin: left; transform: scaleX(var(--t, 1)); }
.sc-line { height: 7px; background: var(--soft); border-radius: 4px; }

/* static fallback: small screens and reduced motion show the pipeline stacked */
.scrolly[data-stage="all"] .scrolly-track { height: auto; }
.scrolly[data-stage="all"] .scrolly-stage { position: static; height: auto; overflow: visible; padding: 88px 0; }
.scrolly[data-stage="all"] .sc-grid { grid-template-columns: 1fr; gap: 36px; }
.scrolly[data-stage="all"] .sc-step { opacity: 1; }
.scrolly[data-stage="all"] .sc-body { height: auto; }
.scrolly[data-stage="all"] .scene { position: static; opacity: 1; transform: none; padding: 18px 0; pointer-events: auto; }
.scrolly[data-stage="all"] .sn-label { display: block; font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink4); margin-bottom: 10px; }
.scrolly[data-stage="all"] .sc-row, .scrolly[data-stage="all"] .sc-ai { opacity: 1; transform: none; }
.scrolly[data-stage="all"] .sc-dot { background: var(--mint-deep); }
.scrolly[data-stage="all"] .sc-spine i { height: 100%; }
@media (max-width: 999px) {
  .scrolly .scrolly-track { height: auto; }
  .scrolly .scrolly-stage { position: static; height: auto; overflow: visible; padding: 64px 0; }
  .scrolly .sc-grid { grid-template-columns: 1fr; gap: 36px; }
  .scrolly .sc-step { opacity: 1; }
  .scrolly .sc-body { height: auto; }
  .scrolly .scene { position: static; opacity: 1; transform: none; padding: 18px 0; pointer-events: auto; }
  .scrolly .sn-label { display: block; font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink4); margin-bottom: 10px; }
  .scrolly .sc-row, .scrolly .sc-ai { opacity: 1; transform: none; }
  .scrolly .sc-dot { background: var(--mint-deep); }
  .scrolly .sc-spine i { height: 100%; }
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(249,241,220,0.90);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink2); padding: 6px 0; }
.nav-links a:hover { color: var(--ink1); }
.nav-links a.on { color: var(--ink1); font-weight: 600; border-bottom: 2px solid var(--mint); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer; color: var(--ink1); }
.burger .i-close { display: none; }
.nav.menu-open .burger .i-open { display: none; }
.nav.menu-open .burger .i-close { display: block; }
.menu-only { display: none; }

/* mini app mock */
.m-nav-item { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; color: var(--ink2); position: relative; }
.m-nav-item.on { background: rgba(31,45,39,0.05); color: var(--ink1); font-weight: 600; }
.m-kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; box-shadow: 0 1px 0 rgba(31,45,39,0.06); }
.m-kpi .lbl { font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 8px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink4); }
.m-kpi .val { font-size: 19px; font-weight: 700; color: var(--ink1); letter-spacing: -0.3px; margin-top: 3px; line-height: 1.05; }
.m-kpi .dlt { font-size: 9px; color: #5ba94b; margin-top: 3px; font-weight: 600; }
.heat { display: flex; gap: 2px; }
.heat i { width: 9px; height: 9px; border-radius: 2px; display: block; }

/* faq */
.faq-row { border-top: 1px solid var(--line); }
.faq-row:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 20px 4px; font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink1);
  background: transparent; border: none; text-align: left; cursor: pointer; min-height: 44px;
}
.faq-q svg { flex-shrink: 0; transition: transform 220ms var(--ease); }
.faq-row.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  display: block; overflow: hidden; max-height: 0; opacity: 0;
  font-size: 15.5px; line-height: 1.62; color: var(--ink3);
  padding: 0 4px; max-width: 640px; margin-top: -6px;
  transition: max-height 380ms var(--ease), opacity 260ms var(--ease), padding-bottom 380ms var(--ease);
}
.faq-row.open .faq-a { max-height: 360px; opacity: 1; padding-bottom: 22px; }

.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--ink1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 15px; font-weight: 600;
  box-shadow: 0 0 0 6px rgba(168,227,136,0.20);
}
.foot-col a { display: block; color: var(--d-ink3); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--d-ink1); }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 99px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink3);
  border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer;
  transition: background 120ms var(--ease), color 120ms var(--ease), border-color 120ms var(--ease);
}
.chip:hover { border-color: var(--ink3); color: var(--ink1); }
.chip.on { background: var(--ink1); border-color: var(--ink1); color: var(--cream); }
.row-next { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; cursor: pointer; transition: background 120ms var(--ease); border: none; background: transparent; width: 100%; text-align: left; font-family: inherit; }
.row-next:hover { background: rgba(31,45,39,0.05); }
.toc a { display: block; font-size: 14px; color: var(--ink3); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); }
.toc a.on { border-left-color: var(--mint-deep); color: var(--ink1); font-weight: 600; }
td, th { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
th { font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink4); background: var(--head); }
.table-clip { overflow-x: auto; }

/* video */
.vposter { position: relative; display: block; overflow: hidden; }
.vposter img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vposter .vplay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: rgba(249,241,220,0.94);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: transform 220ms var(--ease);
}
.vposter:hover .vplay { transform: translate(-50%, -50%) scale(1.06); }
.vposter .vdur {
  position: absolute; right: 10px; bottom: 9px;
  font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10.5px; color: #eef3ea;
  background: rgba(0,0,0,0.5); border-radius: 4px; padding: 2px 7px;
}
.player-shell { border-radius: 14px; overflow: hidden; background: #000; }
.player-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.transcript { border-top: 1px solid var(--line); }
.transcript summary {
  list-style: none; cursor: pointer; padding: 14px 22px;
  font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3);
  display: flex; align-items: center; gap: 8px;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript[open] summary { border-bottom: 1px solid var(--line); }
.transcript .t-body { padding: 18px 22px 22px; font-size: 15px; line-height: 1.7; color: var(--ink3); max-width: 74ch; }

/* hero film */
.hero-film { position: relative; }
.hero-film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0d1612; }
.film-cta {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 18px;
  border-radius: 99px; border: 1px solid rgba(255,255,255,0.16);
  background: rgba(11,20,16,0.72); color: #eef3ea;
  font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 120ms var(--ease), transform 120ms var(--ease);
}
.film-cta:hover { background: rgba(11,20,16,0.86); }
.film-cta:active { transform: translateY(0.5px); }

/* tour modal */
.modal {
  position: fixed; inset: 0; z-index: 80; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(11,20,16,0.78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-box { width: min(1080px, 100%); }
.modal-box video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.modal-bar { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.modal-close {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  background: transparent; border: 1px solid var(--d-line2); border-radius: 6px; color: var(--d-ink1);
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,0.06); }
body.modal-open { overflow: hidden; }

/* grids */
.grid-hero { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.grid-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-rylie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.grid-evidence { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 72px; align-items: center; }
.grid-why { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.grid-faq { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 72px; }
.grid-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px; }
.grid-feature { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.grid-article { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 72px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mob { display: none; }

@media (max-width: 1200px) {
  .grid-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .dsk { display: none; }
  .mob { display: block; }
}
@media (max-width: 1000px) {
  .grid-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-rylie, .grid-evidence, .grid-why, .grid-faq, .grid-feature, .grid-article { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ribbon { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(249,241,220,0.97);
    backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line); padding: 4px 22px 16px;
    box-shadow: 0 24px 48px rgba(31,45,39,0.14);
  }
  .nav.menu-open .nav-links a { padding: 14px 2px; font-size: 17px; border-top: 1px solid var(--line); min-height: 48px; display: flex; align-items: center; }
  .nav.menu-open .nav-links a:first-child { border-top: none; }
  .nav.menu-open .nav-links a.on { border-bottom: none; }
  .nav.menu-open .nav-links .menu-only { display: flex; }
  .grid-foot { grid-template-columns: 1fr 1fr; gap: 32px; }
  .wrap, .wrap-hero { padding: 0 22px; }
  .field input, .field textarea { font-size: 16px; }
}
@media (max-width: 640px) {
  .grid-pillars, .grid-3, .grid-steps { grid-template-columns: 1fr; gap: 16px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .nav-cta-signin { display: none; }
  .grid-steps::before { display: none; }
  .faq-row.open .faq-a { max-height: 900px; }
  .form-2col { grid-template-columns: 1fr; }
  .modal { padding: 2vh 3vw; }
  .transcript .t-body { padding: 16px 18px 18px; }
  .k-row span { font-size: clamp(24px, 7vw, 34px); }
  .nav-in { gap: 14px; }
  .nav-in img[src*="logo-nav"] { height: 26px !important; }
  .nav-in > a.btn-ink { white-space: nowrap; min-height: 40px !important; padding: 8px 14px !important; font-size: 13.5px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
  .rv { opacity: 1; transform: none; }
  .cm { opacity: 1; transform: none; }
  .draw path, .microline path { stroke-dashoffset: 0 !important; }
  .hcell { opacity: 0.6 !important; }
  html { scroll-behavior: auto; }
}

/* ═══ the current: one mint line through the page ═══ */
body.cx-current .scroll-progress { display: none; }

#current-layer { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 4; }
#current-layer svg { display: block; width: 100%; height: 100%; overflow: visible; }
#current-layer .cl-trace { fill: none; stroke: var(--mint); stroke-width: 1.75; stroke-linecap: round; opacity: 0.3; }
#current-layer .cl-pulse { fill: none; stroke: var(--mint-deep); stroke-width: 2.25; stroke-linecap: round; opacity: 0.85; transition: opacity 400ms var(--ease); }
#current-layer .cl-head { fill: var(--mint-deep); transition: opacity 400ms var(--ease); }
#current-layer .cl-halo { fill: rgba(132, 204, 96, 0.16); transition: opacity 400ms var(--ease); }
#current-layer .cl-end { fill: var(--mint); opacity: 0; }
#current-layer .cl-endring { fill: none; stroke: rgba(168, 227, 136, 0.4); stroke-width: 2; opacity: 0; }
#current-layer.settled .cl-end { opacity: 1; }
#current-layer.settled .cl-endring { opacity: 1; animation: dotPulse 2.4s var(--ease) infinite; }
#current-layer.settled .cl-pulse, #current-layer.settled .cl-head, #current-layer.settled .cl-halo { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  #current-layer .cl-head, #current-layer .cl-halo { display: none; }
}

/* ═══ the current, explained (aside) ═══ */
.grid-aside { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 1000px) { .grid-aside { grid-template-columns: 1fr; gap: 36px; } }
.aside-sig { margin-top: 18px; }
.aside-sig svg { width: min(440px, 88%); height: auto; overflow: visible; display: block; }
.aside-sig path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.aside-sig.in path:first-child { animation: sigDraw 1700ms 350ms cubic-bezier(0.45, 0, 0.3, 1) forwards; }
.aside-sig.in path.tbar { animation: sigDraw 240ms 2120ms var(--ease) forwards; }
@keyframes sigDraw { to { stroke-dashoffset: 0; } }

/* ═══ vertical reel cuts: phones default to 9:16 where a reel exists ═══ */
.modal.reel .modal-box { width: min(430px, 94vw); }
.modal.reel .modal-box video { aspect-ratio: 9 / 16; max-height: 80vh; object-fit: contain; }
.player-shell.reel { display: flex; justify-content: center; }
.player-shell.reel video { aspect-ratio: 9 / 16; width: auto; max-width: 100%; max-height: 76vh; margin: 0 auto; }

/* the spine inside the pinned pipeline IS the current while pinned */
.sc-spine { background: rgba(168, 227, 136, 0.3); width: 2px; }
.sc-spine i { background: var(--mint-deep); opacity: 0.85; position: relative; }
.sc-spine i::after {
  content: ""; position: absolute; bottom: -3px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep);
  box-shadow: 0 0 0 4px rgba(132, 204, 96, 0.18);
}
#current-layer.handoff .cl-pulse, #current-layer.handoff .cl-head, #current-layer.handoff .cl-halo { opacity: 0; }
