/* =========================================================================
   Solustation — site styles
   Brand tokens from the Solustation design system. One easing family.
   ========================================================================= */

:root {
  --signal: #E85D2A;
  --signal-text: #B8461A;
  --signal-tint: #FDEDE6;
  --on-signal: #FFFFFF;
  --ink-brand: #0E1420;
  --ink: #0E1420;
  --muted: #5B6676;
  --paper: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #EEF1F5;
  --line: #DCE1E8;
  --grid-dot: rgba(14, 20, 32, .07);
  --shadow-1: 0 1px 2px rgba(14, 20, 32, .06), 0 4px 14px rgba(14, 20, 32, .06);
  --shadow-2: 0 2px 6px rgba(14, 20, 32, .06), 0 18px 40px -12px rgba(14, 20, 32, .18);
  --glow: 0 0 0 4px rgba(232, 93, 42, .16);
  --ok: #138A5B;
  --err: #C93A2E;

  --font-sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --rail: clamp(20px, 4vw, 56px);
  --section: clamp(48px, 6.5vw, 84px);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --signal-text: #F07A4E;
  --signal-tint: #3A1F14;
  --ink: #F5F7FA;
  --muted: #9AA4B2;
  --paper: #0E1420;
  --surface: #1A2330;
  --surface-2: #141C28;
  --line: #2C3746;
  --grid-dot: rgba(245, 247, 250, .06);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 50px -12px rgba(0, 0, 0, .55);
  --glow: 0 0 0 4px rgba(232, 93, 42, .24);
  --ok: #3FCB8E;
  --err: #FF7A6B;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2.5px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--signal); color: #fff; padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink-brand); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-1);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--signal);
  transform: translateX(-101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2), 0 10px 30px -10px rgba(232, 93, 42, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico, .btn:focus-visible .ico { transform: translateX(4px); }
:root[data-theme="dark"] .btn { --bg: #fff; --fg: var(--ink-brand); }
:root[data-theme="dark"] .btn:hover, :root[data-theme="dark"] .btn:focus-visible { --fg: #fff; }

.btn-signal { --bg: var(--signal); --fg: #fff; }
.btn-signal::before { background: var(--ink-brand); }
:root[data-theme="dark"] .btn-signal { --bg: var(--signal); --fg: #fff; }
:root[data-theme="dark"] .btn-signal::before { background: #fff; }
:root[data-theme="dark"] .btn-signal:hover { --fg: var(--ink-brand); }

.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost::before { background: var(--surface); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow-1); }
:root[data-theme="dark"] .btn-ghost { --bg: transparent; --fg: var(--ink); }
:root[data-theme="dark"] .btn-ghost:hover { --fg: var(--ink); }
:root[data-theme="dark"] .cta-box .btn-ghost, :root[data-theme="dark"] .cta-box .btn-ghost:hover { --fg: #fff; }

.link-u { position: relative; font-weight: 600; color: var(--signal-text); }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.link-u:hover::after, .link-u:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-110%); }
.nav-shell {
  margin: 12px auto 0; width: calc(100% - 24px); max-width: calc(var(--wrap) + 48px);
  display: flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 10px 0 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.045em; flex-shrink: 0; }
.brand svg { width: 28px; height: 36px; }
.brand-line { stroke-dasharray: none; }

.nav-links { display: flex; gap: 2px; margin: 0 auto; position: relative; }
.nav-links a {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); }
.nav-pill {
  position: absolute; top: 0; left: 0; height: 40px; width: 0; z-index: 0;
  border-radius: 999px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), width .4s var(--ease), opacity .25s;
  opacity: 0; pointer-events: none;
}
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: 14.5px; }

/* theme switch */
.theme-switch {
  position: relative; width: 64px; height: 36px; border-radius: 999px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  display: inline-flex; align-items: center; flex-shrink: 0;
}
.theme-switch .knob {
  position: absolute; left: 3px; top: 3px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-1);
  display: grid; place-items: center; color: var(--signal);
  transition: transform .45s var(--spring), background-color .3s;
}
:root[data-theme="dark"] .theme-switch .knob { transform: translateX(28px); background: var(--ink-brand); box-shadow: 0 0 0 1px var(--line), 0 0 14px rgba(232,93,42,.35); }
.theme-switch .knob svg { width: 16px; height: 16px; }
.theme-switch .sun, .theme-switch .moon { transition: transform .45s var(--ease), opacity .3s; transform-origin: center; }
.theme-switch .moon { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.4); }
:root[data-theme="dark"] .theme-switch .sun { opacity: 0; transform: rotate(90deg) scale(.4); }
:root[data-theme="dark"] .theme-switch .moon { opacity: 1; transform: none; }
.theme-switch .ts-ico { position: absolute; width: 14px; height: 14px; color: var(--muted); }
.theme-switch .ts-ico.l { left: 11px; } .theme-switch .ts-ico.r { right: 11px; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); place-items: center; }
.menu-btn .bars > span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.menu-btn .bars > span + span { margin-top: 5px; }
.menu-btn[aria-expanded="true"] .bars > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars > span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-btn .bars { display: block; width: 18px; }
:root[data-theme="dark"] .line-section { background: #080C14; }
:root[data-theme="dark"] .line-section .station, :root[data-theme="dark"] .line-section .stop-btn .dot { background: #080C14; }
:root[data-theme="dark"] .cta-box { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
:root[data-theme="dark"] .cta-box .cta-line circle { fill: var(--surface); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--paper);
  padding: 100px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path .6s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu a.mm-link {
  display: flex; align-items: center; justify-content: space-between;
  font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -0.04em;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.mobile-menu.is-open a.mm-link { opacity: 1; transform: none; }
.mobile-menu a.mm-link .dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--ink); background: var(--paper); }
.mobile-menu a.mm-link:hover .dot { background: var(--signal); border-color: var(--signal); }
.mobile-menu .btn { margin-top: 24px; opacity: 0; transition: opacity .4s .3s; }
.mobile-menu.is-open .btn { opacity: 1; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
}

/* ---------- the page rail (the Solustation line) ---------- */
.rail {
  position: absolute; left: var(--rail); top: 0; bottom: 0; width: 4px; z-index: 0;
  pointer-events: none;
}
.rail::before { content: ""; position: absolute; inset: 0; border-radius: 4px; background: var(--line); opacity: .7; }
.rail-fill {
  position: absolute; left: 0; top: 0; width: 4px; height: 100%; border-radius: 4px;
  background: var(--signal);
  transform-origin: top; transform: scaleY(0);
}
.station {
  position: absolute; left: calc(var(--rail) - 9px); width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--line); z-index: 1;
  transition: border-color .4s var(--ease), transform .5s var(--spring), background-color .4s;
}
.station.is-lit { border-color: var(--ink); background: var(--paper); transform: scale(1.15); }
.station.is-lit::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid var(--signal); opacity: 0;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

main { position: relative; }
.has-rail { position: relative; }
@media (max-width: 1360px) { .has-rail .wrap { padding-left: calc(var(--rail) + 40px); } }
@media (max-width: 640px) {
  :root { --rail: 18px; }
  .has-rail .wrap { padding-left: 54px; padding-right: 18px; }
}

/* ---------- section scaffold ---------- */
.section { position: relative; padding: var(--section) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(26px, 3.2vw, 40px); }
.sec-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--signal-text); margin-bottom: 12px; }
.sec-kicker .num { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); font-weight: 500; }
.sec-title { font-size: clamp(27px, 3.4vw, 42px); letter-spacing: -0.04em; line-height: 1.08; text-wrap: balance; }
.sec-lead { margin-top: 14px; font-size: clamp(15.5px, 1.25vw, 17px); line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(108px, 12vw, 140px) 0 clamp(36px, 4vw, 56px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
  font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 20px;
}
.hero-status .live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--signal-tint); color: var(--signal-text); font-weight: 600; font-size: 12.5px; }
.hero-status .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(232,93,42,.6); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(232,93,42,.55); } 100% { box-shadow: 0 0 0 9px rgba(232,93,42,0); } }

.hero-title { font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -0.055em; line-height: .95; font-weight: 600; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .hero-title .ln > span { transform: none; }
.hero-title .track {
  position: relative; display: inline-block; white-space: nowrap;
}
.hero-title .track svg { position: absolute; left: -2%; right: -2%; bottom: -.2em; width: 104%; height: .32em; overflow: visible; }
.hero-title .track path { stroke: var(--signal); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; transition: stroke-dashoffset 1.4s var(--ease) .9s; }
.hero-title .track circle { fill: var(--paper); stroke: var(--ink); stroke-width: 4; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--spring), opacity .2s; }
.is-loaded .hero-title .track path { stroke-dashoffset: 0; }
.is-loaded .hero-title .track circle { opacity: 1; transform: scale(1); }
.is-loaded .hero-title .track circle.c1 { transition-delay: 1s; }
.is-loaded .hero-title .track circle.c2 { transition-delay: 1.6s; }
.is-loaded .hero-title .track circle.c3 { transition-delay: 2.2s; }

.hero-sub { margin-top: 20px; font-size: clamp(15.5px, 1.35vw, 17.5px); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .fade-up { opacity: 1; transform: none; }

/* hero visual: the interchange board */
.board {
  position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 460px; margin-left: auto;
  border-radius: var(--r-xl);
  background: var(--ink-brand); color: #fff;
  box-shadow: var(--shadow-2), 0 40px 80px -30px rgba(232,93,42,.35);
  overflow: hidden;
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .6s var(--ease);
}
.board::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.board-top { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; color: #9AA4B2; }
.board-top .dots { display: flex; gap: 6px; }
.board-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: #2C3746; }
.board-top .dots i:first-child { background: var(--signal); }
.board svg.map { position: absolute; inset: 52px 12px 64px; width: calc(100% - 24px); height: calc(100% - 116px); }
.map .m-line { fill: none; stroke: var(--signal); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map .m-line.alt { stroke: #3A4A60; stroke-width: 6; }
.map .m-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.2s var(--ease) .4s; }
.is-loaded .map .m-draw { stroke-dashoffset: 0; }
.map .m-stop { fill: var(--ink-brand); stroke: #fff; stroke-width: 4.5; }
.map .m-hub { fill: #fff; stroke: var(--ink-brand); stroke-width: 5; }
.map .m-label { font-family: var(--font-sans); font-size: 15px; font-weight: 600; fill: #fff; letter-spacing: -0.02em; }
.map .m-sub { font-family: var(--font-mono); font-size: 10.5px; fill: #9AA4B2; }
.map .m-pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .4s var(--ease), transform .6s var(--spring); transition-delay: var(--d, 1s); }
.is-loaded .map .m-pop { opacity: 1; transform: none; }
.map .train { fill: #fff; }
.board-foot { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.board-foot .eta { font-family: var(--font-mono); color: #9AA4B2; font-size: 12px; text-align: right; }
@media (max-width: 460px) { .board-foot { font-size: 12px; } .board-foot .eta { display: none; } }
.board-foot .chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 500; }
.board-foot .chip i { width: 8px; height: 8px; border-radius: 50%; background: #3FCB8E; }

/* stats strip */
.stats { margin-top: clamp(36px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 18px 16px 0 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat > b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b .u { color: var(--signal); }
.stat > span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .board { margin: 8px auto 0; max-width: 460px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 12px 20px 0; border-bottom: 1px solid var(--line); }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--surface); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marq 48s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 14px; padding: 0 22px; font-size: clamp(16px, 1.7vw, 21px); font-weight: 600; letter-spacing: -0.035em; white-space: nowrap; }
.mq-item .stop { width: 14px; height: 14px; border-radius: 50%; border: 3.5px solid var(--ink); background: var(--surface); flex-shrink: 0; }
.mq-item .bar { width: 46px; height: 5px; border-radius: 3px; background: var(--signal); }
.mq-item small { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.stack-mq .mq-item { font-size: 17px; font-weight: 500; color: var(--muted); padding: 0 8px; }
.stack-mq .mq-item span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.stack-mq .mq-item span i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.svc {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start;
  padding: 20px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--signal); transform: scaleY(0); transition: transform .35s var(--ease); }
.svc:hover, .svc:focus-within { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.svc:hover::before, .svc:focus-within::before { transform: scaleY(1); }
.svc .chip-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--signal-tint); color: var(--signal-text); transition: background-color .3s var(--ease), color .3s, transform .4s var(--spring); }
.svc:hover .chip-ico { background: var(--signal); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc .chip-ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 18px; letter-spacing: -0.025em; line-height: 1.25; }
.svc p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc .tags li { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.svc .chev { width: 20px; height: 20px; color: var(--muted); margin-top: 14px; transition: transform .35s var(--ease), color .3s; }
.svc:hover .chev { transform: translateX(4px); color: var(--signal); }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } .svc .chev { display: none; } .svc { grid-template-columns: auto 1fr; } }

/* ---------- the line (ventures) ---------- */
.line-section { background: var(--ink-brand); color: #fff; overflow: hidden; }
.line-section .sec-title { color: #fff; }
.line-section .sec-lead { color: #9AA4B2; }
.line-section .sec-kicker { color: #F07A4E; }
.line-section .sec-kicker .num { color: #9AA4B2; }
.line-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.2px);
  background-size: 28px 28px; pointer-events: none;
}
.line-section .rail::before { background: #2C3746; }
.line-section .station { background: var(--ink-brand); border-color: #2C3746; }
.line-section .station.is-lit { border-color: #fff; background: var(--ink-brand); }

.route { position: relative; margin-top: 8px; }
.route-scroll { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 8px 4px 4px; margin: 0 -4px; }
.route-scroll::-webkit-scrollbar { display: none; }
.route-stops { position: relative; display: flex; min-width: 820px; justify-content: space-between; padding: 38px 0 6px; }
.route-track { position: absolute; left: 22px; right: 22px; top: 52px; height: 8px; border-radius: 8px; background: #2C3746; }
.route-track-fill { position: absolute; left: 0; top: 0; height: 8px; width: 100%; border-radius: 8px; background: var(--signal); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.route-train {
  position: absolute; top: 40px; left: 0; width: 44px; height: 32px; z-index: 3;
  transform: translateX(var(--x, 0px)); transition: transform .6s var(--ease);
  pointer-events: none;
}
.route-train span { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--signal); white-space: nowrap; }
.stop-btn {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 88px; min-height: 44px; color: #9AA4B2; font-size: 13.5px; font-weight: 600; text-align: center; line-height: 1.25;
  transition: color .3s var(--ease);
}
.stop-btn .dot {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink-brand); border: 5px solid #3A4A60;
  transition: border-color .3s var(--ease), transform .45s var(--spring), background-color .3s;
}
.stop-btn.hub .dot { width: 38px; height: 38px; margin-top: -4px; background: #fff; border-color: var(--ink-brand); box-shadow: 0 0 0 5px var(--signal); }
.stop-btn:hover .dot { transform: scale(1.15); border-color: #fff; }
.stop-btn[aria-selected="true"] { color: #fff; }
.stop-btn[aria-selected="true"] .dot { border-color: #fff; transform: scale(1.22); }
.stop-btn.hub[aria-selected="true"] .dot { border-color: var(--ink-brand); }

.stop-panel { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: #141C28; box-shadow: 0 0 0 1px #2C3746; position: relative; overflow: hidden; }
.stop-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(232,93,42,.22), transparent 70%); pointer-events: none; }
.stop-panel[hidden] { display: none; }
.sp-anim { animation: spIn .5s var(--ease); }
@keyframes spIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sp-role { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(232,93,42,.14); color: #F07A4E; font-size: 13px; font-weight: 600; }
.sp-title { margin-top: 12px; font-size: clamp(23px, 2.6vw, 32px); letter-spacing: -0.045em; }
.sp-desc { margin-top: 10px; color: #B5BDC9; font-size: 15.5px; line-height: 1.65; max-width: 60ch; }
.sp-points { margin-top: 20px; display: grid; gap: 10px; }
.sp-points li { display: flex; gap: 12px; color: #D6DBE3; font-size: 15px; line-height: 1.55; }
.sp-points li::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; border: 2.5px solid var(--signal); }
.sp-side { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; position: relative; z-index: 1; }
.sp-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sp-metric { padding: 16px; border-radius: var(--r-md); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px #2C3746; }
.sp-metric b { display: block; font-size: 26px; letter-spacing: -0.04em; line-height: 1.1; font-weight: 600; }
.sp-metric span { display: block; margin-top: 6px; font-size: 12.5px; color: #9AA4B2; line-height: 1.4; }
.sp-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-stack li { font-family: var(--font-mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #C9D0DA; }
.sp-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--ink-brand); font-weight: 600; font-size: 15px; transition: transform .25s var(--ease), background-color .25s, color .25s; }
.sp-link:hover { background: var(--signal); color: #fff; transform: translateY(-2px); }
.sp-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sp-link:hover svg { transform: translate(3px, -3px); }
.sp-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #9AA4B2; }
.sp-status i { width: 8px; height: 8px; border-radius: 50%; background: #3FCB8E; }
.sp-status.build i { background: #F5B82E; }
@media (max-width: 860px) { .stop-panel { grid-template-columns: 1fr; } }

/* ---------- work ---------- */
.work-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3.2vw, 36px); border-radius: var(--r-xl);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}
.work-feature + .work-feature { margin-top: 16px; }
.work-feature.flip > .wf-copy { order: 2; }
.wf-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.pill.s { background: var(--signal-tint); color: var(--signal-text); }
.pill.ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.wf-copy h3 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.045em; }
.wf-copy p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.wf-nums { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.wf-nums div { padding: 16px 12px 0 0; }
.wf-nums div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.wf-nums b { display: block; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.045em; font-weight: 600; line-height: 1.05; }
.wf-nums span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.wf-actions { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* browser mock */
.mock { position: relative; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); overflow: hidden; transform: perspective(1400px) rotateY(var(--ry, -4deg)) rotateX(var(--rx, 2deg)); transition: transform .6s var(--ease); }
.work-feature.flip .mock { --ry: 4deg; }
.work-feature:hover .mock { --ry: 0deg; --rx: 0deg; }
.mock-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar .url { flex: 1; height: 24px; border-radius: 999px; background: var(--surface); display: flex; align-items: center; padding: 0 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.mock-bar .url b { color: var(--ok); font-weight: 500; margin-right: 6px; }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mk-row { display: flex; gap: 12px; }
.mk-card { flex: 1; padding: 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.mk-card small { display: block; font-size: 11.5px; color: var(--muted); }
.mk-card b { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -0.03em; font-weight: 600; }
.mk-card .tr { font-size: 11.5px; color: var(--ok); font-weight: 600; }
.mk-track { padding: 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.mk-track .tl { display: flex; align-items: center; gap: 0; margin-top: 14px; }
.mk-track .tl i { width: 14px; height: 14px; border-radius: 50%; background: var(--signal); flex-shrink: 0; box-shadow: 0 0 0 3px var(--signal-tint); }
.mk-track .tl i.off { background: var(--surface); border: 3px solid var(--line); box-shadow: none; }
.mk-track .tl i.now { animation: livepulse 1.8s infinite; }
.mk-track .tl em { flex: 1; height: 4px; background: var(--signal); }
.mk-track .tl em.off { background: var(--line); }
.mk-track .lbls { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted); }
.mk-track .head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.mk-track .head span { font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: var(--signal-tint); color: var(--signal-text); }
.mk-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.mk-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--surface-2); height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); transition-delay: var(--d, 0s); }
.mk-bars i.hl { background: var(--signal); }
.in .mk-bars i, .mk-bars.in i { transform: scaleY(1); }
.mk-events { display: grid; gap: 8px; }
.mk-ev { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 12.5px; opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.in .mk-ev { opacity: 1; transform: none; }
.mk-ev .b { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.mk-ev .b.s { background: var(--signal-tint); color: var(--signal-text); }
.mk-ev .ok { margin-left: auto; color: var(--ok); font-weight: 600; font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.mk-ev .ok svg { width: 13px; height: 13px; }
.mk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mk-grid span { padding: 12px 8px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 11px; font-weight: 600; text-align: center; line-height: 1.3; opacity: 0; transform: scale(.9); transition: opacity .4s var(--ease), transform .5s var(--spring); transition-delay: var(--d, 0s); }
.mk-grid span i { display: block; width: 8px; height: 8px; margin: 0 auto 6px; border-radius: 50%; background: var(--signal); }
.in .mk-grid span { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .work-feature { grid-template-columns: 1fr; }
  .work-feature.flip > .wf-copy { order: 0; }
  .mock { --ry: 0deg !important; --rx: 0deg !important; }
}

.work-more { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wm {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; min-height: 200px;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wm:hover, .wm:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.wm .top { display: flex; justify-content: space-between; align-items: center; }
.wm .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--ink); transition: background-color .3s, color .3s; }
.wm:hover .ic { background: var(--signal); color: #fff; }
.wm .ic svg { width: 21px; height: 21px; }
.wm .out { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: transform .35s var(--ease), color .3s, background-color .3s; }
.wm:hover .out { transform: rotate(-45deg); color: #fff; background: var(--ink-brand); }
:root[data-theme="dark"] .wm:hover .out { background: #fff; color: var(--ink-brand); }
.wm .out svg { width: 15px; height: 15px; }
.wm h4 { margin-top: auto; font-size: 19px; letter-spacing: -0.03em; }
.wm p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.wm .host { font-family: var(--font-mono); font-size: 12px; color: var(--signal-text); }
@media (max-width: 900px) { .work-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-more { grid-template-columns: 1fr; } .wm { min-height: 0; } }

/* ---------- process ---------- */
.proc { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.proc-line { position: absolute; left: 22px; right: 22px; top: 21px; height: 6px; border-radius: 6px; background: var(--line); }
.proc-line i { position: absolute; inset: 0; border-radius: 6px; background: var(--signal); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; }
.step .n {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: 14px;
  background: var(--paper); box-shadow: inset 0 0 0 4px var(--line); color: var(--muted);
  transition: box-shadow .4s var(--ease), color .3s, background-color .3s, transform .5s var(--spring);
}
.step.done .n { box-shadow: inset 0 0 0 4px var(--ink); color: var(--ink); transform: scale(1.06); }
.step.done .n.hub { background: var(--ink-brand); color: #fff; box-shadow: 0 0 0 4px var(--signal); }
.step h3 { margin-top: 16px; font-size: 18px; letter-spacing: -0.03em; }
.step p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.step .out { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--signal-text); }
@media (max-width: 900px) {
  .proc { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .proc-line { left: 21px; right: auto; top: 24px; bottom: 24px; width: 6px; height: auto; }
  .proc-line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; }
  .step h3 { margin-top: 10px; }
  .step p, .step .out { grid-column: 2; }
}

/* ---------- founder / journey ---------- */
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.f-card {
  position: sticky; top: 100px;
  padding: clamp(24px, 3vw, 32px); border-radius: var(--r-xl);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}
.f-id { display: flex; gap: 16px; align-items: center; }
.f-avatar { position: relative; width: 76px; height: 76px; border-radius: 22px; background: var(--ink-brand); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.f-avatar svg { width: 48px; height: 48px; }
.f-id h3 { font-size: 21px; letter-spacing: -0.035em; }
.f-id p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.f-roles { margin-top: 24px; display: grid; gap: 8px; }
.f-role { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.f-role:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px var(--signal); }
.f-role .ri { width: 40px; height: 40px; border-radius: 12px; background: var(--signal-tint); color: var(--signal-text); display: grid; place-items: center; }
.f-role .ri svg { width: 20px; height: 20px; }
.f-role b { display: block; font-size: 15px; letter-spacing: -0.02em; line-height: 1.3; }
.f-role span { display: block; font-size: 13px; color: var(--muted); }
.f-quote { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.65; color: var(--muted); }
.f-quote strong { color: var(--ink); font-weight: 600; }
.f-links { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.icon-btn { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.icon-btn:hover, .icon-btn:focus-visible { transform: translateY(-3px); background: var(--signal); color: #fff; box-shadow: 0 10px 22px -8px rgba(232,93,42,.6); }
.icon-btn svg { width: 20px; height: 20px; }

.timeline { position: relative; padding-left: 44px; }
.tl-line { position: absolute; left: 13px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--line); }
.tl-line i { position: absolute; inset: 0; border-radius: 4px; background: var(--signal); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -40px; top: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--line);
  transition: border-color .4s var(--ease), transform .5s var(--spring), background-color .4s;
}
.tl-item.on::before { border-color: var(--ink); transform: scale(1.1); }
.tl-item.now::before { background: var(--ink-brand); border-color: var(--ink-brand); box-shadow: 0 0 0 4px var(--signal); }
:root[data-theme="dark"] .tl-item.now::before { background: #fff; border-color: #fff; }
.tl-year { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--signal-text); }
.tl-item h3 { margin-top: 4px; font-size: clamp(18px, 1.7vw, 21px); letter-spacing: -0.035em; line-height: 1.2; }
.tl-item p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 58ch; }
.tl-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tags li { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
@media (max-width: 960px) { .founder { grid-template-columns: 1fr; } .f-card { position: relative; top: 0; } }

/* ---------- capabilities matrix ---------- */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.cap { padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cap h4 { font-size: 15px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.cap h4 i { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--signal); }
.cap ul { margin-top: 12px; display: grid; gap: 6px; }
.cap li { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.qa { border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease); }
.qa.open { box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.qa-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 20px; text-align: left; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; min-height: 64px; }
.qa-q .pm { position: relative; width: 32px; height: 32px; margin-left: auto; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); transition: background-color .3s, transform .4s var(--ease); }
.qa-q .pm::before, .qa-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.qa-q .pm::after { transform: rotate(90deg); }
.qa.open .qa-q .pm { background: var(--signal); transform: rotate(180deg); }
.qa.open .qa-q .pm::before, .qa.open .qa-q .pm::after { background: #fff; }
.qa.open .qa-q .pm::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { margin: 0 22px 22px; padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 var(--section); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4.5vw, 56px); border-radius: var(--r-xl);
  background: var(--ink-brand); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: end;
}
.cta-box h2 { font-size: clamp(28px, 3.8vw, 48px); letter-spacing: -0.05em; line-height: 1; }
.cta-box p { margin-top: 12px; color: #9AA4B2; font-size: 16px; max-width: 48ch; }
.cta-box .cta-line { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.cta-box .cta-line path { fill: none; stroke: var(--signal); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1800; stroke-dashoffset: 1800; transition: stroke-dashoffset 2.4s var(--ease); opacity: .9; }
.cta-box.in .cta-line path { stroke-dashoffset: 0; }
.cta-box .cta-line circle { fill: var(--ink-brand); stroke: #fff; stroke-width: 5; }
.cta-box .btn { --bg: #fff; --fg: var(--ink-brand); }
.cta-box .btn:hover { --fg: #fff; }
.cta-box .cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-box .btn-ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px #3A4A60; }
.cta-box .btn-ghost::before { background: rgba(255,255,255,.08); }
.cta-box .btn-ghost:hover { --fg: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 24px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 36ch; }
.foot-col h4 { font-size: 14px; letter-spacing: -0.01em; color: var(--ink); }
.foot-col ul { margin-top: 14px; display: grid; gap: 4px; }
.foot-col a { display: inline-flex; min-height: 32px; align-items: center; color: var(--muted); font-size: 14.5px; transition: color .2s, transform .25s var(--ease); }
.foot-col a:hover { color: var(--signal-text); transform: translateX(3px); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }
.foot-base .clock { font-family: var(--font-mono); font-size: 12.5px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--spring); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }
.to-top .arr { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.to-top:hover .arr { transform: translateY(-3px); }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-hero { padding: clamp(104px, 12vw, 136px) 0 clamp(22px, 3vw, 34px); position: relative; }
.contact-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 60% 70% at 30% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 30%, #000 20%, transparent 70%); }
.contact-hero h1 { font-size: clamp(32px, 4.8vw, 58px); letter-spacing: -0.055em; line-height: .98; max-width: 14ch; }
.contact-hero p { margin-top: 14px; font-size: clamp(15.5px, 1.35vw, 17.5px); color: var(--muted); max-width: 56ch; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(20px, 3vw, 36px); align-items: start; padding-bottom: var(--section); }
.form-card { padding: clamp(22px, 4vw, 44px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }

/* stepper */
.f-steps { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.f-step { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.f-step .sn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12.5px; box-shadow: inset 0 0 0 3px var(--line); background: var(--surface); transition: box-shadow .35s var(--ease), background-color .3s, color .3s; }
.f-step .sn svg { width: 15px; height: 15px; display: none; }
.f-step.active { color: var(--ink); }
.f-step.active .sn { box-shadow: inset 0 0 0 3px var(--signal); color: var(--signal-text); }
.f-step.done { color: var(--ink); }
.f-step.done .sn { background: var(--signal); color: #fff; box-shadow: none; }
.f-step.done .sn span { display: none; }
.f-step.done .sn svg { display: block; }
.f-conn { flex: 1; height: 4px; margin: 0 12px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; min-width: 20px; }
.f-conn i { position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.f-conn.full i { transform: scaleX(1); }
@media (max-width: 560px) { .f-step .lbl { display: none; } .f-step.active .lbl { display: inline; } }

.f-pane { display: none; }
.f-pane.active { display: block; animation: spIn .45s var(--ease); }
.f-pane h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.035em; }
.f-pane .hint { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* option chips (multi select) */
.opt-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: grid; grid-template-columns: 42px 1fr 22px; gap: 12px; align-items: center;
  min-height: 64px; padding: 12px 14px; border-radius: var(--r-md); cursor: pointer;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), background-color .25s;
}
.opt label:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--muted); }
.opt .oi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s, color .25s, box-shadow .25s; }
.opt .oi svg { width: 20px; height: 20px; }
.opt b { font-size: 15px; letter-spacing: -0.015em; line-height: 1.3; }
.opt small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.opt .tick { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; color: #fff; transition: background-color .2s, box-shadow .2s; }
.opt .tick svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--spring); }
.opt input:checked + label { background: var(--signal-tint); box-shadow: inset 0 0 0 2px var(--signal), var(--glow); }
.opt input:checked + label .oi { background: var(--signal); color: #fff; box-shadow: none; }
.opt input:checked + label .tick { background: var(--signal); box-shadow: none; }
.opt input:checked + label .tick svg { opacity: 1; transform: none; }
.opt input:focus-visible + label { outline: 2.5px solid var(--signal); outline-offset: 3px; }
@media (max-width: 560px) { .opt-grid { grid-template-columns: 1fr; } }

/* segmented control */
.seg-wrap { margin-top: 26px; }
.seg-wrap > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { position: relative; z-index: 1; display: grid; place-items: center; min-height: 44px; padding: 0 8px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; line-height: 1.2; transition: color .3s var(--ease); }
.seg input:checked + label { color: #fff; }
.seg input:focus-visible + label { outline: 2.5px solid var(--signal); outline-offset: 2px; }
.seg .seg-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n, 4)); border-radius: 999px; background: var(--ink-brand); box-shadow: 0 6px 16px -6px rgba(14,20,32,.5); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .45s var(--ease), opacity .2s; opacity: var(--o, 0); }
:root[data-theme="dark"] .seg .seg-pill { background: var(--signal); }
@media (max-width: 560px) { .seg { border-radius: var(--r-lg); grid-template-columns: repeat(2, minmax(0, 1fr)); } .seg .seg-pill { display: none; } .seg input:checked + label { background: var(--ink-brand); } :root[data-theme="dark"] .seg input:checked + label { background: var(--signal); } }

/* floating fields */
.fields { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { position: relative; }
.field .fi { position: absolute; left: 16px; top: 19px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; transition: color .25s; }
.field input, .field textarea {
  width: 100%; min-height: 60px; padding: 24px 46px 8px 48px;
  border: 0; border-radius: var(--r-md); outline: none;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 16px; color: var(--ink);
  transition: box-shadow .25s var(--ease), background-color .25s;
}
.field textarea { min-height: 150px; resize: vertical; padding-top: 30px; line-height: 1.6; }
.field label { position: absolute; left: 48px; top: 19px; font-size: 15.5px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--signal), var(--glow); background: var(--surface); }
.field input:focus ~ .fi, .field textarea:focus ~ .fi { color: var(--signal); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-11px) scale(.78); color: var(--signal-text); }
.field .st { position: absolute; right: 14px; top: 19px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--spring); }
.field .st svg { width: 13px; height: 13px; color: #fff; }
.field.ok .st { opacity: 1; transform: none; background: var(--ok); }
.field.bad .st { opacity: 1; transform: none; background: var(--err); }
.field.ok input, .field.ok textarea { box-shadow: inset 0 0 0 1.5px var(--ok); }
.field.bad input, .field.bad textarea { box-shadow: inset 0 0 0 1.5px var(--err); }
.field .help { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 0 4px; font-size: 12.5px; color: var(--muted); min-height: 18px; }
.field.bad .help .msg { color: var(--err); }
.field .count { font-family: var(--font-mono); font-size: 11.5px; }
.field .count.near { color: #C98A10; }
.field .count.max { color: var(--err); }
.meter { display: flex; gap: 4px; margin-top: 8px; }
.meter i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s; }
.meter.l1 i:nth-child(1) { background: var(--err); }
.meter.l2 i:nth-child(-n+2) { background: #E0A21B; }
.meter.l3 i { background: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.f-nav { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.f-back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color .2s, background-color .2s; }
.f-back:hover { color: var(--ink); background: var(--surface-2); }
.f-back svg { width: 16px; height: 16px; }
.f-back[hidden] { display: none; }

/* summary */
.summary { margin-top: 22px; display: grid; gap: 8px; }
.sum-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.sum-row span { color: var(--muted); }
.sum-row b { font-weight: 600; word-break: break-word; }
.sum-row button { font-size: 13px; font-weight: 600; color: var(--signal-text); min-height: 28px; }
@media (max-width: 560px) { .sum-row { grid-template-columns: 1fr auto; } .sum-row b { grid-column: 1 / -1; grid-row: 2; } }

/* send button: idle / busy / done (storytelling: the button becomes a station on the line) */
.send {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px; min-height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--signal); color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 12px 26px -12px rgba(232,93,42,.8);
  transition: transform .25s var(--ease), min-width .4s var(--ease), background-color .3s;
}
.send:hover { transform: translateY(-2px); }
.send:active { transform: scale(.98); }
.send .lbl-wrap { position: relative; display: inline-flex; align-items: center; gap: 10px; transition: transform .35s var(--ease), opacity .25s; }
.send .lbl-wrap svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.send:hover .lbl-wrap svg { transform: translate(3px, -3px); }
.send .busy, .send .done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; opacity: 0; transform: translateY(100%); transition: transform .35s var(--ease), opacity .25s; }
.send .rail-run { position: absolute; left: 22px; right: 22px; bottom: 12px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; opacity: 0; transition: opacity .2s; }
.send .rail-run i { position: absolute; top: 0; left: 0; width: 34%; height: 100%; border-radius: 3px; background: #fff; animation: run 1.1s var(--ease) infinite; }
@keyframes run { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.send[aria-busy="true"] { pointer-events: none; }
.send[aria-busy="true"] .lbl-wrap { opacity: 0; transform: translateY(-100%); }
.send[aria-busy="true"] .busy { opacity: 1; transform: none; }
.send[aria-busy="true"] .rail-run { opacity: 1; }
.send.is-done { background: var(--ok); box-shadow: 0 12px 26px -12px rgba(19,138,91,.8); pointer-events: none; }
.send.is-done .lbl-wrap, .send.is-done .busy { opacity: 0; transform: translateY(-100%); }
.send.is-done .done { opacity: 1; transform: none; }
.send .done svg { width: 22px; height: 22px; }
.send .done svg path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.send.is-done .done svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .15s; }
.send .dots i { display: inline-block; width: 5px; height: 5px; margin: 0 2px; border-radius: 50%; background: #fff; animation: bob 1s infinite; }
.send .dots i:nth-child(2) { animation-delay: .15s; } .send .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }

/* success state */
.f-success { display: none; text-align: center; padding: 24px 0 8px; }
.f-success.show { display: block; animation: spIn .5s var(--ease); }
.f-success svg.big { width: 140px; height: 140px; margin: 0 auto; }
.f-success .s-line { fill: none; stroke: var(--signal); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.2s var(--ease) forwards; }
.f-success .s-hub { fill: var(--ink-brand); stroke: var(--surface); stroke-width: 6; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s var(--spring) 1s forwards; }
.f-success .s-tick { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--ease) 1.35s forwards; }
:root[data-theme="dark"] .f-success .s-hub { fill: #fff; stroke: var(--surface); }
:root[data-theme="dark"] .f-success .s-tick { stroke: var(--ink-brand); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
.f-success h2 { margin-top: 18px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.04em; }
.f-success p { margin: 12px auto 0; max-width: 46ch; color: var(--muted); }
.f-success .btn { margin-top: 26px; }

/* side cards */
.side { display: grid; gap: 14px; position: sticky; top: 100px; }
.side-card { padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.side-card h3 { font-size: 17px; letter-spacing: -0.02em; }
.channel { margin-top: 12px; display: grid; grid-template-columns: 44px 1fr 20px; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.channel:hover, .channel:focus-visible { transform: translateX(4px); box-shadow: inset 0 0 0 1.5px var(--signal); }
.channel .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--signal-tint); color: var(--signal-text); transition: background-color .25s, color .25s; }
.channel:hover .ci { background: var(--signal); color: #fff; }
.channel .ci svg { width: 21px; height: 21px; }
.channel b { display: block; font-size: 14.5px; letter-spacing: -0.01em; }
.channel span { display: block; font-size: 13px; color: var(--muted); word-break: break-all; }
.channel .ch { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.channel:hover .ch { transform: translateX(3px); color: var(--signal); }
.copy-btn { font-size: 12.5px; font-weight: 600; color: var(--signal-text); min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--signal-tint); }
.clock-card { display: flex; align-items: center; gap: 16px; }
.clock-face { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); flex-shrink: 0; }
.clock-face i { position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--ink); transform-origin: bottom center; }
.clock-face i.h { height: 17px; } .clock-face i.m { height: 24px; width: 2px; margin-left: -1px; } .clock-face i.s { height: 26px; width: 1.5px; margin-left: -.75px; background: var(--signal); }
.clock-face::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--signal); }
.clock-card b { display: block; font-family: var(--font-mono); font-size: 22px; letter-spacing: -0.02em; }
.clock-card span { font-size: 13px; color: var(--muted); }
.avail { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 600; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.avail.off i { background: #E0A21B; }
.next-list { margin-top: 12px; display: grid; gap: 10px; }
.next-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.next-list li b { color: var(--ink); font-weight: 600; display: block; }
.next-list .k { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .side { position: relative; top: 0; } }

/* toast */
.toast-zone { position: fixed; left: 50%; bottom: 20px; z-index: 300; transform: translateX(-50%); width: min(420px, calc(100% - 28px)); display: grid; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; position: relative; overflow: hidden; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start; padding: 14px 14px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); animation: toastIn .45s var(--spring); }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px) scale(.97); } }
.toast .ti { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--err); }
.toast.ok .ti { background: var(--ok); }
.toast .ti svg { width: 19px; height: 19px; }
.toast b { display: block; font-size: 15px; letter-spacing: -0.015em; }
.toast p { margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.toast .tx { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.toast .tx:hover { background: var(--surface-2); color: var(--ink); }
.toast .tx svg { width: 15px; height: 15px; }
.toast .tbar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--err); transform-origin: left; animation: tbar 6s linear forwards; }
.toast.ok .tbar { background: var(--ok); }
@keyframes tbar { to { transform: scaleX(0); } }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf svg { width: min(420px, 90vw); margin: 0 auto; }
.nf h1 { margin-top: 24px; font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.05em; }
.nf p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.nf .btn { margin-top: 28px; }
.nf .gap-line { fill: none; stroke: var(--signal); stroke-width: 12; stroke-linecap: round; }
.nf .gap-stop { fill: var(--paper); stroke: var(--ink); stroke-width: 6; }
.nf .gap-q { animation: bob 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .rv, .fade-up { opacity: 1; transform: none; }
  .hero-title .ln > span { transform: none; }
  .marquee-track { animation: none; }
  .map .m-draw, .hero-title .track path, .cta-box .cta-line path { stroke-dashoffset: 0; }
  .station.is-lit::after { display: none; }
}

/* =========================================================================
   3D + tech layer
   ========================================================================= */

/* hero perspective floor */
.hero-floor { opacity: .7; position: absolute; left: -30%; right: -30%; bottom: -6%; height: 58%; z-index: -1; perspective: 520px; perspective-origin: 50% 0%; overflow: hidden; pointer-events: none; mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%); }
.hero-floor-grid {
  position: absolute; left: 0; right: 0; top: -60px; height: calc(200% + 60px);
  transform: rotateX(72deg); transform-origin: 50% 0%;
  background-image:
    linear-gradient(to right, rgba(232,93,42,.22) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line, rgba(14,20,32,.10)) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: floorMove 3.2s linear infinite;
}
:root[data-theme="dark"] .hero-floor-grid { --grid-line: rgba(245,247,250,.09); background-image: linear-gradient(to right, rgba(232,93,42,.30) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px); }
@keyframes floorMove { from { transform: rotateX(72deg) translateY(0); } to { transform: rotateX(72deg) translateY(60px); } }
.hero-beam { display: none; position: absolute; z-index: -1; right: 8%; top: 8%; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,93,42,.16), transparent 62%); pointer-events: none; animation: beam 8s ease-in-out infinite alternate; }
@keyframes beam { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-4%, 6%, 0) scale(1.08); } }

/* spotlight + lit border (cursor-follow) */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232,93,42,.09), transparent 45%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.spot:hover::after { opacity: 1; }
.svc.spot::before, .wm.spot::before, .f-card.spot::before, .stop-panel.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--signal), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s var(--ease);
  top: 0; bottom: 0; left: 0; width: auto; transform: none;
}
.svc.spot:hover::before, .wm.spot:hover::before, .f-card.spot:hover::before, .stop-panel.spot:hover::before { opacity: 1; transform: none; }
.spot > * { position: relative; z-index: 2; }
.svc .chip-ico { position: relative; z-index: 2; }
[data-tilt] { transform-style: preserve-3d; will-change: auto; }
.svc .chip-ico, .wm .ic { transform: translateZ(0); }
.tilting .chip-ico, .tilting .ic, .tilting .out { transform: translateZ(28px); }
.tilting h3, .tilting h4 { transform: translateZ(18px); }

/* decode text */
[data-decode] .dc { color: var(--signal); opacity: .7; }

/* scroll-driven 3D on mocks */
.mock { transform: perspective(1400px) rotateY(var(--ry, -4deg)) rotateX(calc(var(--rx, 2deg) + var(--s, 0) * 10deg)) translateZ(0); }
.work-feature { transform-style: preserve-3d; }

/* under the hood */
.hood { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hood .sec-head { max-width: none; }
.hood-list { display: grid; gap: 10px; }
.hood-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: var(--r-md); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.hood-list li:hover { background: var(--surface); transform: translateX(4px); box-shadow: 0 0 0 1px var(--line); }
.hood-list .hl-i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--signal-tint); color: var(--signal-text); }
.hood-list .hl-i svg { width: 21px; height: 21px; }
.hood-list b { display: block; font-size: 15.5px; letter-spacing: -0.02em; }
.hood-list span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.term-wrap { position: relative; }
.term-wrap::before { content: ""; position: absolute; inset: 10% -4% -6% 8%; z-index: -1; border-radius: var(--r-xl); background: var(--signal); opacity: .14; transform: translateZ(-40px) rotate(3deg); filter: blur(30px); }
.term { border-radius: var(--r-lg); overflow: hidden; background: #0A0F18; box-shadow: 0 0 0 1px #243042, var(--shadow-2), 0 30px 60px -30px rgba(232,93,42,.45); color: #D6DBE3; }
.term-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; background: #121A26; border-bottom: 1px solid #243042; }
.term-bar .dots { display: flex; gap: 6px; } .term-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2C3746; } .term-bar .dots i:first-child { background: var(--signal); }
.term-title { font-family: var(--font-mono); font-size: 12px; color: #9AA4B2; }
.term-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: #3FCB8E; }
.term-live i { width: 7px; height: 7px; border-radius: 50%; background: #3FCB8E; animation: livepulse 1.8s infinite; }
.term-body { margin: 0; padding: 16px 16px 18px; min-height: 290px; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.term-body .p { color: var(--signal); } .term-body .ok { color: #3FCB8E; } .term-body .dim { color: #6B7787; } .term-body .hl { color: #fff; font-weight: 600; } .term-body .warn { color: #F5B82E; }
.term-body .cur { display: inline-block; width: 8px; height: 15px; margin-left: 1px; vertical-align: -2px; background: var(--signal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-bar-prog { height: 3px; background: #1A2330; }
.term-stats { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.term-stats div { padding: 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.term-stats small { display: block; font-size: 12px; color: var(--muted); }
.term-stats b { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.term-stats b.ok { color: var(--ok); }
@media (max-width: 960px) { .hood { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .term-body { font-size: 11.5px; min-height: 300px; padding: 14px; } }

/* section title light sweep on reveal */
.sec-title { background: linear-gradient(100deg, var(--ink) 40%, var(--signal) 50%, var(--ink) 60%) 100% 0 / 260% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head.in .sec-title { animation: sweep 1.6s var(--ease) .2s both; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.line-section .sec-title { background-image: linear-gradient(100deg, #fff 40%, var(--signal) 50%, #fff 60%); }
.no-js .sec-title { color: var(--ink); background: none; }

/* magnetic */
[data-magnetic] { transition: transform .35s var(--spring), box-shadow .25s var(--ease); }

/* scroll progress bar */
.scroll-prog { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 120; background: var(--signal); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-floor-grid, .hero-beam, .stage-ring.r2, .fchip { animation: none !important; }
  .sec-title { background: none; color: var(--ink); }
  .line-section .sec-title { color: #fff; }
}
.f-card.spot { position: sticky; }
@media (max-width: 960px) { .f-card.spot { position: relative; } }

/* ---------- 3D layer, round 2 ---------- */

/* grid floor inside the dark ventures section */
.line-section { isolation: isolate; }
.line-section > .wrap { position: relative; z-index: 1; }
.line-floor { z-index: 0; height: 46%; bottom: 0; opacity: .55; }
.line-floor .hero-floor-grid { background-image: linear-gradient(to right, rgba(232,93,42,.32) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px); }

/* crossing 3D ribbons */
.ribbons { position: relative; height: clamp(116px, 11vw, 150px); overflow: hidden; perspective: 900px; margin: 0 0 8px; }
.ribbon { position: absolute; left: -4%; right: -4%; top: 50%; padding: 13px 0; border: 0; box-shadow: var(--shadow-2); }
.ribbon.r-a { transform: translateY(-50%) rotateX(14deg) rotate(-2.6deg); background: var(--surface); z-index: 2; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.ribbon.r-b { transform: translateY(-50%) rotateX(-14deg) rotate(2.6deg); background: var(--signal); z-index: 1; padding: 14px 0; mask-image: none; -webkit-mask-image: none; }
.rb-item { display: inline-flex; align-items: center; gap: 18px; padding: 0 18px; font-size: clamp(15px, 1.6vw, 19px); font-weight: 600; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.rb-item i { font-style: normal; opacity: .75; font-size: .8em; }
@media (max-width: 640px) { .ribbons { height: 190px; } .ribbon.r-a { transform: translateY(-50%) rotateX(10deg) rotate(-7deg); } .ribbon.r-b { transform: translateY(-50%) rotateX(-10deg) rotate(7deg); } }

/* exploded 3D mockups */
.mock { overflow: visible; transform-style: preserve-3d; }
.mock-bar { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.mock-body { transform-style: preserve-3d; }
.mock-body > * { transform: translateZ(var(--z, 0px)); transition: transform .7s var(--ease), box-shadow .5s var(--ease); }
.work-feature .mock-body > *:nth-child(1) { --zh: 54px; }
.work-feature .mock-body > *:nth-child(2) { --zh: 36px; }
.work-feature .mock-body > *:nth-child(3) { --zh: 22px; }
.mock.in .mock-body > * { --z: 10px; }
.work-feature:hover .mock-body > * { --z: var(--zh, 30px); }
.work-feature:hover .mk-card, .work-feature:hover .mk-track, .work-feature:hover .mk-bars, .work-feature:hover .mk-ev { box-shadow: 0 0 0 1px var(--line), 0 18px 30px -16px rgba(14,20,32,.35); }
:root[data-theme="dark"] .work-feature:hover .mk-card, :root[data-theme="dark"] .work-feature:hover .mk-track, :root[data-theme="dark"] .work-feature:hover .mk-bars, :root[data-theme="dark"] .work-feature:hover .mk-ev { box-shadow: 0 0 0 1px var(--line), 0 18px 30px -12px rgba(0,0,0,.6); }
.work-feature .mock::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -26px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,20,32,.22), transparent); transform: translateZ(-40px); pointer-events: none; transition: opacity .5s; }
:root[data-theme="dark"] .work-feature .mock::after { background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); }

/* stats flip up in 3D */
.stats { perspective: 900px; }
.stat.rv { transform: rotateX(-75deg) translateY(16px); transform-origin: 50% 100%; }
.stat.rv.in { transform: none; }

/* section heads tip forward in 3D */
.sec-head.rv { transform: perspective(900px) rotateX(28deg) translateY(30px); transform-origin: 50% 0%; }
.sec-head.rv.in { transform: none; }

/* timeline items swing in */
.timeline { perspective: 1000px; }
.tl-item.rv { transform: rotateY(22deg) translateX(34px); transform-origin: 0% 50%; }
.tl-item.rv.in { transform: none; }

/* process steps flip as the line reaches them */
.proc { perspective: 900px; }
.step { transform: rotateY(-38deg) translateX(-10px); transform-origin: 0% 50%; opacity: .35; transition: transform .8s var(--ease), opacity .6s var(--ease); }
.step.done { transform: none; opacity: 1; }
.step .n { transform-style: preserve-3d; }
.step.done .n { animation: coin .9s var(--ease) both; }
@keyframes coin { from { transform: rotateY(180deg) scale(.8); } to { transform: rotateY(0) scale(1.06); } }

/* services: icon chip pops out in 3D on tilt */
.svc { transform-style: preserve-3d; }
.tilting .chip-ico { transform: translateZ(40px) rotate(-6deg) scale(1.06); box-shadow: 0 14px 24px -10px rgba(232,93,42,.6); }
.tilting .tags { transform: translateZ(14px); }

/* extruded 3D S */
.s3d { position: relative; width: 120px; height: 150px; margin: 0 auto 6px; perspective: 700px; }
.s3d.sm { width: 50px; height: 62px; margin: 0; }
.s3d-rot { position: absolute; inset: 0; transform-style: preserve-3d; animation: s3dspin 9s linear infinite; }
.s3d.paused .s3d-rot { animation-play-state: paused; }
@keyframes s3dspin { from { transform: rotateX(-12deg) rotateY(0deg); } to { transform: rotateX(-12deg) rotateY(360deg); } }
.s3d-l { position: absolute; inset: 0; transform: translateZ(var(--lz)); backface-visibility: visible; }
.s3d-l svg { width: 100%; height: 100%; overflow: visible; }
.cta-actions .s3d { margin-bottom: 14px; }
.f-avatar .s3d-rot { animation-duration: 12s; }

/* footer giant wordmark */
.foot-mark { margin-top: 32px; perspective: 800px; overflow: hidden; }
.foot-mark span {
  display: block; font-size: clamp(44px, 11vw, 150px); font-weight: 600; letter-spacing: -0.06em; line-height: .86; text-align: center; padding-bottom: .04em;
  color: transparent;
  background: linear-gradient(90deg, var(--signal) 0 var(--fm, 0%), var(--line) var(--fm, 0%) 100%); -webkit-background-clip: text; background-clip: text;
  transform: rotateX(var(--fr, 50deg)); transform-origin: 50% 100%; transition: transform .2s linear;
  user-select: none;
}
@media (prefers-reduced-motion: reduce) {
  .s3d-rot { animation: none; transform: rotateY(-25deg); }
  .stat.rv, .sec-head.rv, .tl-item.rv, .step { transform: none !important; opacity: 1 !important; }
  .foot-mark span { transform: none; }
}

/* ---------- conversion layer: CTAs everywhere ---------- */
.inline-cta {
  margin-top: clamp(20px, 2.6vw, 30px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  padding: 16px 16px 16px 22px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}
.inline-cta p { font-size: 15.5px; color: var(--muted); max-width: 56ch; }
.inline-cta p b { color: var(--ink); font-weight: 600; }
.inline-cta .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-cta .btn { min-height: 46px; padding: 0 20px; font-size: 14.5px; }
.line-section .inline-cta { background: #141C28; box-shadow: 0 0 0 1px #2C3746; }
.line-section .inline-cta p { color: #9AA4B2; } .line-section .inline-cta p b { color: #fff; }
.line-section .inline-cta .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px #3A4A60; }
.line-section .inline-cta .btn-ghost::before { background: rgba(255,255,255,.08); }
.btn-wa .ico-wa { width: 18px; height: 18px; }
@media (max-width: 560px) { .inline-cta { padding: 16px; } .inline-cta .acts, .inline-cta .btn { width: 100%; } }

/* whole service card is a link into the form */
.svc .stretch { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.svc .stretch:focus-visible { outline-offset: -3px; }
.svc .ask { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--signal-text); }
.svc .ask svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.svc:hover .ask svg { transform: translateX(4px); }

/* venture panel second button */
.sp-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-link.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #3A4A60; }
.sp-link.ghost:hover { background: var(--signal); box-shadow: none; }

/* sticky mobile contact bar */
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; gap: 10px;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -12px rgba(14,20,32,.25);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .m-cta.show { transform: none; }
  .m-cta .btn { flex: 1; min-height: 48px; font-size: 15px; }
  .m-cta .wa { flex: 0 0 48px; width: 48px; min-height: 48px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: var(--shadow-1); }
  .m-cta .wa svg { width: 22px; height: 22px; }
  .to-top { bottom: 84px; }
  body { padding-bottom: 72px; }
}
html { overflow-x: clip; }
body { overflow-x: clip; }
.stats { overflow: clip; overflow-clip-margin: 24px; }
.work-feature { transform-style: flat; }
.work-feature .mock { z-index: 1; }

/* =========================================================================
   Round 3: people, business, solutions, e-commerce, AI, engagement
   ========================================================================= */
.ck { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--signal-tint); color: var(--signal-text); flex-shrink: 0; }
.ck svg { width: 12px; height: 12px; }

/* ---------- Who I am ---------- */
.me { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait { position: relative; margin: 0; max-width: 440px; width: 100%; justify-self: center; transform-style: preserve-3d; }
.pt-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--ink-brand); box-shadow: var(--shadow-2), 0 30px 60px -28px rgba(232,93,42,.5); }
.pt-frame::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.pt-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(90px, 14vw, 160px); font-weight: 700; letter-spacing: -0.08em; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(232,93,42,.45), transparent 55%), var(--ink-brand); }
.pt-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pt-line path { fill: none; stroke: var(--signal); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.portrait.in .pt-line path { stroke-dashoffset: 0; }
.pt-line circle { fill: var(--ink-brand); stroke: #fff; stroke-width: 1.2; }
.pt-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); transform: translateZ(40px); animation: bobf 6s ease-in-out infinite; }
.pt-badge b { color: var(--signal-text); font-weight: 600; }
.pt-badge .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(19,138,91,.5); animation: livepulse 1.8s infinite; }
.pt-badge.b1 { left: -6%; top: 8%; animation-delay: -1s; }
.pt-badge.b2 { right: -8%; top: 46%; animation-delay: -3s; transform: translateZ(60px); }
.pt-badge.b3 { left: -2%; bottom: 7%; animation-delay: -2s; }
.me-title { margin-top: 2px; font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.045em; line-height: 1.02; }
.me-title span { display: block; margin-top: 10px; font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -0.025em; line-height: 1.3; color: var(--muted); font-weight: 500; max-width: 30ch; }
.me-story { margin-top: 20px; display: grid; gap: 12px; max-width: 62ch; }
.me-story p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.me-story b { color: var(--ink); font-weight: 600; }
.me-roles { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.me-roles li { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.me-roles li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--signal); }
.me .hero-ctas { margin-top: 22px; }
.facts { margin: clamp(30px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 16px 14px 16px 0; }
.facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.people { margin-top: clamp(24px, 3vw, 34px); }
.people h3 { font-size: 18px; letter-spacing: -0.02em; }
.people ul { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.people li { padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.people b { display: block; font-size: 15px; letter-spacing: -0.015em; }
.people span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }
#journey .founder { margin-top: clamp(30px, 4vw, 44px); }
.toolkit { margin-top: 30px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.toolkit h3 { font-size: 16px; letter-spacing: -0.02em; }
.tk-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: start; margin-top: 12px; }
.tk-row > span { font-size: 13px; color: var(--muted); padding-top: 4px; }
.tk-row ul { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-row li { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 1100px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .facts div:nth-child(4) { padding-left: 0; border-left: 0; } .facts div:nth-child(-n+3) { border-bottom: 1px solid var(--line); } .people ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .me { grid-template-columns: 1fr; } .portrait { max-width: 360px; } }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div { padding-left: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); } .facts div:nth-child(even) { padding-left: 14px !important; border-left: 1px solid var(--line) !important; } .people ul { grid-template-columns: 1fr; } .pt-badge { font-size: 12px; padding: 7px 11px; } .pt-badge.b1 { left: 0; } .pt-badge.b2 { right: 0; } .pt-badge.b3 { left: 0; } .tk-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Business hats (3D flip cards) ---------- */
.hats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hat { perspective: 1000px; min-height: 290px; }
.hat-in { position: relative; display: block; width: 100%; height: 100%; min-height: 290px; text-align: left; transform-style: preserve-3d; transition: transform .8s var(--ease); border-radius: var(--r-lg); }
.hat-in:focus-visible { outline: 2.5px solid var(--signal); outline-offset: 4px; }
.hat:hover .hat-in, .hat-in[aria-pressed="true"] { transform: rotateY(180deg); }
@media (hover: none) { .hat:hover .hat-in { transform: none; } .hat-in[aria-pressed="true"] { transform: rotateY(180deg); } }
.hat-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 20px; border-radius: var(--r-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hat-face.front { background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.hat-face.back { background: var(--ink-brand); color: #fff; transform: rotateY(180deg); box-shadow: 0 0 0 1px #2C3746, 0 24px 40px -20px rgba(232,93,42,.55); }
.hat-n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.hat-i { margin-top: auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--signal-tint); color: var(--signal-text); }
.hat-i svg { width: 26px; height: 26px; }
.hat-face.front b { margin-top: 16px; font-size: 19px; letter-spacing: -0.03em; line-height: 1.2; }
.hat-face.front small { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.hat-flip { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--signal-text); }
.hat-flip .ico { width: 14px; height: 14px; }
.hat-face.back b { font-size: 16px; letter-spacing: -0.02em; color: #F07A4E; }
.hat-body { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: #D6DBE3; }
.hat-tags { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.hat-tags em { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.biz-means { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.biz-means div { padding: 18px; }
.biz-means div + div { border-left: 1px solid var(--line); }
.biz-means b { display: block; font-size: 15px; letter-spacing: -0.015em; }
.biz-means span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1100px) { .hats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .biz-means { grid-template-columns: repeat(2, minmax(0, 1fr)); } .biz-means div:nth-child(3) { border-left: 0; } .biz-means div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .hats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hat, .hat-in { min-height: 300px; } .hat-face { padding: 16px; } .hat-face.front b { font-size: 16.5px; } .hat-body { font-size: 12.5px; } }
@media (max-width: 420px) { .hats { grid-template-columns: 1fr; } .hat, .hat-in { min-height: 260px; } .biz-means { grid-template-columns: 1fr; } .biz-means div { border-left: 0 !important; border-bottom: 1px solid var(--line); } }

/* ---------- Solutions tabs ---------- */
.sol-tabs { position: relative; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; }
.sol-tabs::-webkit-scrollbar { display: none; }
.sol-pill { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--ink-brand); box-shadow: 0 8px 18px -8px rgba(14,20,32,.55); transition: transform .45s var(--ease), width .45s var(--ease); z-index: 0; }
:root[data-theme="dark"] .sol-pill { background: var(--signal); }
.sol-tab { position: relative; z-index: 1; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .3s var(--ease); }
.sol-tab .st-i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); transition: background-color .3s, color .3s; }
.sol-tab .st-i svg { width: 15px; height: 15px; }
.sol-tab:hover { color: var(--ink); }
.sol-tab[aria-selected="true"] { color: #fff; }
.sol-tab[aria-selected="true"] .st-i { background: var(--signal); color: #fff; }
:root[data-theme="dark"] .sol-tab[aria-selected="true"] .st-i { background: rgba(255,255,255,.2); }
.sol-panels { margin-top: 14px; }
.sol-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 34px); border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); animation: spIn .45s var(--ease); }
.sol-copy h3 { font-size: clamp(20px, 2vw, 25px); letter-spacing: -0.03em; line-height: 1.2; }
.sol-prob { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.sol-prob b { color: var(--ink); }
.sol-list { margin-top: 16px; display: grid; gap: 10px; }
.sol-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.sol-list .ck { margin-top: 1px; }
.sol-side { display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: flex-start; padding-left: clamp(0px, 2vw, 28px); border-left: 1px solid var(--line); }
.sol-proof small { display: block; font-size: 12.5px; color: var(--muted); }
.sol-proof b { display: block; margin-top: 4px; font-size: 16px; letter-spacing: -0.02em; }
@media (max-width: 820px) { .sol-panel { grid-template-columns: 1fr; } .sol-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } .sol-tabs { border-radius: var(--r-lg); } }

/* ---------- E-commerce loop ---------- */
.ecom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ecom .sec-head { max-width: none; }
.ecom-points { display: grid; gap: 2px; border-left: 3px solid var(--line); }
.ecom-points li { position: relative; padding: 9px 0 9px 18px; }
.ecom-points li::before { content: ""; position: absolute; left: -8px; top: 15px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.ecom-points b { font-size: 15px; letter-spacing: -0.015em; }
.ecom-points span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.loop-wrap { perspective: 1000px; }
.loop { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1; transform: rotateX(14deg); transform-style: preserve-3d; }
.loop-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lr-base { fill: none; stroke: var(--line); stroke-width: 1.6; }
.lr-run { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 22 230; animation: lrun 9s linear infinite; transform-origin: 50% 50%; transform: rotate(-90deg); }
@keyframes lrun { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -251.3; } }
.lr-dot { fill: var(--signal); }
.loop-core { position: absolute; inset: 28%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; background: var(--ink-brand); color: #fff; box-shadow: 0 0 0 8px var(--signal-tint), var(--shadow-2); transform: translateZ(30px); }
.loop-core .lc-k { font-size: 12px; color: #9AA4B2; }
.loop-core b { margin-top: 2px; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: -0.025em; line-height: 1.2; }
.loop-core .lc-s { margin-top: 6px; font-family: var(--font-mono); font-size: 10.5px; color: #F07A4E; }
.loop-nodes { position: absolute; inset: 0; }
.lnode { position: absolute; left: var(--x); top: var(--y); width: 132px; margin: -38px 0 0 -66px; display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateZ(50px); }
.ln-i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); animation: lnlit 9s infinite; animation-delay: calc(var(--i) * 1.5s); }
.ln-i svg { width: 21px; height: 21px; }
.lnode b { margin-top: 6px; font-size: 13.5px; letter-spacing: -0.015em; }
.lnode small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
@keyframes lnlit { 0%, 14% { background: var(--signal); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px var(--signal-tint), var(--shadow-2); } 22%, 100% { background: var(--surface); color: var(--ink); transform: none; } }
@media (max-width: 900px) { .ecom { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lnode { width: 96px; margin: -32px 0 0 -48px; } .lnode small { display: none; } .ln-i { width: 40px; height: 40px; } .loop { max-width: 340px; } .loop-core { inset: 30%; } .loop-core .lc-s { display: none; } }

/* ---------- Origin stories ---------- */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.story { padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 12px; }
.sto-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sto-h b { font-size: 18px; letter-spacing: -0.025em; }
.sto-h a { font-family: var(--font-mono); font-size: 12px; color: var(--signal-text); }
.sto-h a:hover { text-decoration: underline; }
.sto-step { padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.sto-step.built { background: var(--signal-tint); box-shadow: inset 0 0 0 1px rgba(232,93,42,.25); }
.sto-k { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.sto-step.built .sto-k { color: var(--signal-text); }
.sto-step p { margin-top: 4px; font-size: 14.5px; line-height: 1.6; }
.sto-arrow { height: 14px; display: grid; place-items: center; margin: -6px 0; }
.sto-arrow i { width: 3px; height: 100%; border-radius: 3px; background: var(--signal); position: relative; }
.sto-arrow i::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--signal); }
@media (max-width: 760px) { .stories { grid-template-columns: 1fr; } }

/* ---------- AI & ML ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ai-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.ai-card.wide { grid-column: span 2; grid-row: span 2; background: var(--ink-brand); color: #fff; box-shadow: 0 0 0 1px #2C3746, var(--shadow-2); }
.ai-card.wide p { color: #B5BDC9; } .ai-card.wide .ai-stack li { background: rgba(255,255,255,.08); color: #D6DBE3; }
.ai-top { display: flex; justify-content: space-between; align-items: center; }
.ai-i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--signal-tint); color: var(--signal-text); }
.ai-card.wide .ai-i { background: var(--signal); color: #fff; }
.ai-i svg { width: 21px; height: 21px; }
.ai-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.ai-card.wide .ai-tag { background: rgba(255,255,255,.08); color: #D6DBE3; }
.ai-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ai-tag.build i { background: #E0A21B; }
.ai-card h3 { font-size: 18px; letter-spacing: -0.025em; }
.ai-card.wide h3 { font-size: clamp(22px, 2.4vw, 28px); }
.ai-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.ai-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-stack li { font-family: var(--font-mono); font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.ai-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--signal-text); }
.ai-card.wide .ai-link { color: #F07A4E; }
.ai-link .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.ai-link:hover .ico { transform: translateX(4px); }
.nn { margin-top: auto; width: 100%; max-width: 520px; align-self: center; overflow: visible; }
.nn-e { stroke: #3A4A60; stroke-width: 1; stroke-dasharray: 4 6; animation: nnflow 2.4s linear infinite; animation-delay: var(--d); }
@keyframes nnflow { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
.nn-n { fill: #141C28; stroke: #9AA4B2; stroke-width: 2; animation: nnpulse 3s var(--ease) infinite; animation-delay: var(--d); }
.nn-n.out { stroke: var(--signal); }
@keyframes nnpulse { 0%, 100% { fill: #141C28; } 40% { fill: var(--signal); stroke: #fff; } 60% { fill: #141C28; } }
.nn text { font-family: var(--font-mono); font-size: 10px; fill: #9AA4B2; }
.ai-offer { margin-top: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ai-offer .ao-k { font-size: 14px; font-weight: 600; }
.ai-offer ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-offer li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.ai-offer li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--signal); }
.ai-offer li svg { width: 15px; height: 15px; color: var(--signal-text); }
@media (max-width: 980px) { .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ai-card.wide { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: 1fr; } }

/* ---------- First call ---------- */
.fc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.fc .sec-head { max-width: none; }
.fc-qs { display: grid; gap: 8px; }
.fc-qs li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; transition: transform .3s var(--ease), box-shadow .3s; }
.fc-qs li:hover { transform: translateX(5px); box-shadow: 0 0 0 1.5px var(--signal); }
.fc-qs .q-n { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--signal-text); padding-top: 2px; }
.fc-note { margin-top: 14px; font-size: 15px; color: var(--muted); }
.fc-note b { color: var(--ink); }
.chat { border-radius: var(--r-xl); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); overflow: hidden; }
.chat-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.chat-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-brand); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: -0.04em; box-shadow: 0 0 0 3px var(--signal); }
.chat-bar b { display: block; font-size: 14.5px; letter-spacing: -0.015em; }
.chat-bar small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.chat-bar small i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.chat-tag { margin-left: auto; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--signal-tint); color: var(--signal-text); white-space: nowrap; }
.chat-body { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 10px; min-height: 420px; background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px); background-size: 18px 18px; }
.bub { max-width: 84%; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .45s var(--ease), transform .5s var(--spring); }
.bub.show { opacity: 1; transform: none; }
.bub span { display: inline-block; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.bub.c { align-self: flex-end; } .bub.c span { background: var(--ink-brand); color: #fff; border-bottom-right-radius: 6px; }
:root[data-theme="dark"] .bub.c span { background: #2C3746; }
.bub.t { align-self: flex-start; } .bub.t span { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.typing.on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bob 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.no-js .bub, .bub.static { opacity: 1; transform: none; }
@media (max-width: 900px) { .fc { grid-template-columns: 1fr; } .chat-body { min-height: 0; } }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.model { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.model.pop { box-shadow: 0 0 0 2px var(--signal), 0 24px 40px -24px rgba(232,93,42,.55); }
.pop-tag { position: absolute; top: -12px; left: 22px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--signal); color: #fff; }
.m-i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--signal-tint); color: var(--signal-text); }
.model.pop .m-i { background: var(--signal); color: #fff; }
.m-i svg { width: 22px; height: 22px; }
.model h3 { margin-top: 14px; font-size: 19px; letter-spacing: -0.03em; }
.m-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.model ul { margin-top: 14px; display: grid; gap: 8px; }
.model li { display: flex; gap: 9px; font-size: 14px; line-height: 1.45; }
.m-best { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.model .btn { margin-top: auto; min-height: 46px; font-size: 14.5px; }
.model .m-best { margin-bottom: 16px; }
@media (max-width: 1100px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .models { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .ln-i, .lr-run, .nn-e, .nn-n, .pt-badge { animation: none !important; }
  .lr-dot { display: none; }
  .bub { opacity: 1; transform: none; }
}

/* ---------- GitHub ---------- */
.gh-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 11px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s var(--ease), color .25s, box-shadow .25s; }
.gh-btn svg { width: 18px; height: 18px; }
.gh-btn:hover, .gh-btn:focus-visible { background: var(--ink-brand); color: #fff; box-shadow: none; }
:root[data-theme="dark"] .gh-btn:hover { background: #fff; color: var(--ink-brand); }
@media (max-width: 1180px) { .gh-btn span { display: none; } .gh-btn { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 380px) { .gh-btn { display: none; } }
.gh-card { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id stats" "note stats" "btn stats"; gap: 12px 28px; align-items: center; padding: clamp(18px, 2.6vw, 26px); border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.gh-id { grid-area: id; display: flex; align-items: center; gap: 14px; min-width: 0; }
.gh-av { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink-brand); color: #fff; flex-shrink: 0; box-shadow: 0 0 0 3px var(--signal-tint); }
.gh-av svg { width: 28px; height: 28px; }
.gh-id b { display: block; font-size: 17px; letter-spacing: -0.02em; word-break: break-word; }
.gh-id span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.gh-note { grid-area: note; font-size: 14.5px; color: var(--muted); line-height: 1.6; max-width: 60ch; }
.gh-card > .btn { grid-area: btn; justify-self: start; min-height: 46px; font-size: 14.5px; }
.gh-card .gh-ico { width: 18px; height: 18px; }
.gh-stats { grid-area: stats; width: 330px; max-width: 100%; }
.gh-stats:empty { display: none; }
.gh-img { display: block; width: 100%; height: auto; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.gh-img.dark { display: none; }
:root[data-theme="dark"] .gh-img.light { display: none; }
:root[data-theme="dark"] .gh-img.dark { display: block; }
@media (max-width: 820px) { .gh-card { grid-template-columns: 1fr; grid-template-areas: "id" "note" "stats" "btn"; } .gh-stats { width: 100%; } .gh-card > .btn { width: 100%; } }

/* =========================================================================
   Mobile pass: every phone width from 320px up
   ========================================================================= */
@media (max-width: 760px) {
  /* the left rail eats too much width on phones: drop it, use the normal gutter */
  .rail, .station { display: none; }
  .has-rail .wrap, .has-rail > .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  /* the sticky contact bar replaces the back-to-top button */
  .to-top { display: none; }
  .work-feature { padding: 18px; border-radius: var(--r-lg); }
  .wf-actions { gap: 10px; }
  .wf-actions .btn { width: 100%; }
  .wf-actions .muted { width: 100%; text-align: center; }
  .mock { margin: 0 -2px; }
  .mock-body { padding: 12px; gap: 10px; }
  .mk-card b { font-size: 17px; }
  .stop-panel { padding: 18px; }
  .sp-acts, .sp-link { width: 100%; justify-content: center; }
  .sol-panel { padding: 18px; border-radius: var(--r-lg); }
  .sol-side .btn { width: 100%; }
  .inline-cta { margin-top: 18px; }
  .cta-box { padding: 26px 20px; border-radius: var(--r-lg); }
  .cta-box .cta-line { opacity: .5; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .f-card { padding: 18px; }
  .toolkit, .people li, .story, .ai-card, .model { padding: 18px; }
  .site-footer { padding-top: 36px; }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .hero-title { font-size: clamp(34px, 10.5vw, 44px); }
  .hero-status { font-size: 12px; }
  .sec-title { font-size: clamp(25px, 7.4vw, 30px); }
  .me-title { font-size: clamp(30px, 9vw, 38px); }
  .wf-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wf-nums div + div { padding-left: 10px; }
  .wf-nums b { font-size: 17px; }
  .wf-nums span { font-size: 12px; }
  .stat > b { font-size: 26px; }
  .btn { padding: 0 18px; font-size: 15px; }
  .m-cta .btn { font-size: 15px; }
  .board-foot .chip { font-size: 11.5px; padding: 5px 10px; }
  .board-top { font-size: 10.5px; }
  .sol-tab { padding: 0 12px; font-size: 13.5px; }
  .qa-q { padding: 14px 16px; font-size: 15px; }
  .qa-a p { margin: 0 16px 16px; }
  .chat-tag { display: none; }
  .bub { max-width: 92%; }
}
@media (max-width: 350px) {
  .hero-title { font-size: 32px; }
  .nav-shell { padding: 0 8px 0 12px; gap: 8px; }
  .brand { font-size: 17px; }
  .brand svg { width: 24px; height: 30px; }
  .theme-switch { width: 56px; }
  :root[data-theme="dark"] .theme-switch .knob { transform: translateX(20px); }
  .wf-nums { grid-template-columns: 1fr 1fr; }
  .wf-nums div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .hats { grid-template-columns: 1fr; }
}

/* ---------- bug-sweep fixes ---------- */
.sto-h { flex-wrap: wrap; row-gap: 4px; min-width: 0; }
.sto-h a { word-break: break-all; }
.story, .stories > * { min-width: 0; }
.sol-side .link-u { display: inline-flex; align-items: center; min-height: 44px; }
.brand { min-height: 44px; }
.ai-link { min-height: 40px; }
/* journey: timeline + toolkit side by side (founder card merged into the profile above) */
#journey .founder { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.tk-col .toolkit { margin-top: 0; position: sticky; top: 100px; }
@media (max-width: 960px) { #journey .founder { grid-template-columns: 1fr; } .tk-col .toolkit { position: static; } }
/* solutions tabs: fit on desktop, wrap cleanly on tablets */
.sol-tab { padding: 0 13px; font-size: 13.5px; gap: 7px; }
.sol-tab .st-i { width: 24px; height: 24px; }
@media (min-width: 761px) { .sol-tabs { flex-wrap: wrap; overflow: visible; border-radius: 26px; } .sol-pill { top: 0; height: var(--ph, 46px); } }
/* process steps: gentler pre-state so they stay readable */
.step { transform: rotateY(-22deg) translateX(-6px); opacity: .55; }
/* business hats on phones: swipeable row */
@media (max-width: 640px) {
  .hats { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
  .hats::-webkit-scrollbar { display: none; }
  .hat { flex: 0 0 78%; scroll-snap-align: center; min-height: 300px; }
  .hat-in { min-height: 300px; }
  .hat-face { padding: 18px; }
  .hat-body { font-size: 13.5px; }
}
/* real photo */
.pt-frame picture { position: absolute; inset: 0; }
.pt-frame picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pt-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14,20,32,.35), transparent 32%); }
.pt-fallback { transition: opacity .4s; }
.chat-av { overflow: hidden; }
.chat-av img { width: 100%; height: 100%; object-fit: cover; }
.side-me { display: flex; align-items: center; gap: 12px; }
.side-me img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--signal-tint); flex-shrink: 0; }
.side-me span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* =========================================================================
   Compact pass + live bug fixes
   ========================================================================= */
:root { --section: clamp(40px, 5.2vw, 72px); }
.sec-head { margin-bottom: clamp(20px, 2.6vw, 30px); }

/* hero underline: real round stations, never clipped or squashed */
.hero-title .ln:first-child { padding-bottom: .2em; }
.hero-title .track svg { display: none; }
.tk-bar { position: absolute; left: 0; right: 0; bottom: -.12em; height: 16px; pointer-events: none; }
.tk-bar i { position: absolute; left: 6px; right: 6px; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .9s; }
.tk-bar b { position: absolute; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: var(--paper); border: 3.5px solid var(--ink); transform: scale(0); transition: transform .5s var(--spring); }
.tk-bar .c1 { left: 6px; transition-delay: 1s; } .tk-bar .c2 { left: 50%; transition-delay: 1.4s; } .tk-bar .c3 { left: calc(100% - 6px); transition-delay: 1.8s; }
.is-loaded .tk-bar i { transform: scaleX(1); }
.is-loaded .tk-bar b { transform: scale(1); }
@media (max-width: 560px) { .tk-bar { height: 12px; } .tk-bar i { height: 4px; margin-top: -2px; } .tk-bar b { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-width: 2.5px; } }

/* services: compact 4-up tiles */
.svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
.svc .tags, .svc .chev { display: none; }
.svc h3 { font-size: 16.5px; }
.svc p { font-size: 14px; line-height: 1.55; }
.svc .chip-ico { width: 42px; height: 42px; border-radius: 12px; }
.svc .chip-ico svg { width: 21px; height: 21px; }
.svc .ask { margin-top: 10px; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .svc { padding: 14px; gap: 8px; } .svc p { display: none; } .svc h3 { font-size: 15px; } .svc .ask { margin-top: 6px; font-size: 12.5px; } }

/* about: horizontal timeline on wide screens */
#journey .founder { display: block; margin-top: clamp(22px, 3vw, 32px); }
.timeline .tl-tags { display: none; }
@media (min-width: 1000px) {
  .timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-left: 0; padding-top: 30px; }
  .timeline > .tl-line { left: 11px; right: 11px; top: 9px; bottom: auto; width: auto; height: 4px; }
  .timeline > .tl-line i { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .tl-item { padding: 0; }
  .tl-item::before { left: 0; top: -30px; }
  .tl-item h3 { font-size: 16px; }
  .tl-item p { font-size: 13.5px; line-height: 1.55; }
}
.gh-card { margin-top: 12px; }
.facts { margin-top: clamp(22px, 3vw, 32px); }

/* business hats: card height follows its content, both faces share one cell */
.hat, .hat-in { min-height: 0 !important; }
.hat-in { display: grid; }
.hat-face { position: relative; inset: auto; grid-area: 1 / 1; min-height: 230px; }
.hat-face.front b { margin-top: 14px; }
.hat-tags { padding-top: 10px; }

/* also built row */
.also { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.also-k { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.also ul { display: flex; flex-wrap: wrap; gap: 6px; }
.also a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s var(--ease), transform .25s var(--ease), color .25s; }
.also a svg { width: 13px; height: 13px; color: var(--muted); transition: transform .3s var(--ease), color .25s; }
.also a:hover { box-shadow: inset 0 0 0 1.5px var(--signal); transform: translateY(-2px); color: var(--signal-text); }
.also a:hover svg { transform: translate(2px, -2px); color: var(--signal); }
.wf-copy p b { color: var(--ink); font-weight: 600; }

/* process: compact, always readable */
.eng-sub { font-size: 17px; letter-spacing: -0.02em; margin: 6px 0 14px; }
.proc-mini + .eng-sub { margin-top: 30px; }
.proc-mini .step, .proc-mini .step.done { transform: none !important; opacity: 1 !important; }
.proc-mini .step .n { width: 40px; height: 40px; font-size: 13px; }
.proc-mini .proc-line { top: 18px; }
.proc-mini .step h3 { margin-top: 10px; font-size: 16px; }
.proc-mini .step p { font-size: 13.5px; }
.proc-mini .step .out { margin-top: 6px; font-size: 12.5px; }
@media (max-width: 900px) { .proc-mini .proc-line { top: 20px; left: 19px; } .proc-mini { gap: 16px; } .proc-mini .step { grid-template-columns: 40px 1fr; } }

/* FAQ in two columns */
.faq { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* first call: tighter */
.chat-body { min-height: 360px; }
@media (max-width: 900px) { .chat-body { min-height: 0; } }

/* e-commerce: tighter list */
.ecom-points li { padding: 6px 0 6px 18px; }

/* WhatsApp buttons are green everywhere */
.btn-wa { --bg: #13873F; --fg: #fff; box-shadow: 0 8px 18px -10px rgba(19,135,63,.7); }
.btn-wa::before { background: #0E6E33; }
.btn-wa:hover { --fg: #fff; box-shadow: 0 12px 24px -10px rgba(19,135,63,.75); }
:root[data-theme="dark"] .btn-wa, :root[data-theme="dark"] .btn-wa:hover { --bg: #13873F; --fg: #fff; }
:root[data-theme="dark"] .btn-wa::before { background: #0E6E33; }
.line-section .inline-cta .btn-wa { --fg: #fff; box-shadow: none; }
.m-cta .wa { background: #13873F; }
.cta-box .btn-ghost[href*="wa.me"] { --bg: #13873F; --fg: #fff; box-shadow: none; }
.cta-box .btn-ghost[href*="wa.me"]::before { background: #0E6E33; }

@media (max-width: 760px) {
  .work-feature .mock { display: none; }
  .ecom .loop-wrap { margin-top: 4px; }
}
a.link-u[href*="wa.me"] { color: #13873F; }
:root[data-theme="dark"] a.link-u[href*="wa.me"] { color: #3FCB8E; }
.channel[href*="wa.me"] .ci { background: #E3F5EA; color: #13873F; }
.channel[href*="wa.me"]:hover .ci { background: #13873F; color: #fff; }
:root[data-theme="dark"] .channel[href*="wa.me"] .ci { background: #153A26; color: #3FCB8E; }
.icon-btn[href*="wa.me"]:hover { background: #13873F; box-shadow: 0 10px 22px -8px rgba(19,135,63,.6); }
/* merged work section (dark) */
.line-section .also { background: #141C28; box-shadow: 0 0 0 1px #2C3746; }
.line-section .also-k { color: #9AA4B2; }
.line-section .also a { background: rgba(255,255,255,.05); color: #fff; box-shadow: inset 0 0 0 1px #2C3746; }
.line-section .also a svg { color: #9AA4B2; }
.line-section .also a:hover { color: #F07A4E; box-shadow: inset 0 0 0 1.5px var(--signal); }
.line-section .also a:hover svg { color: #F07A4E; }
.sp-desc b { color: #fff; font-weight: 600; }
.hat-face { min-height: 200px; }
.theme-switch .ts-ico { width: 15px; height: 15px; }
:root[data-theme="dark"] .theme-switch .ts-ico.l { color: #F5B82E; }
/* desktop floating "Start a project" (only when no other one is on screen) */
.f-cta {
  position: fixed; right: calc(18px + 52px + 12px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--signal); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 30px -12px rgba(232,93,42,.75), 0 0 0 1px rgba(255,255,255,.08) inset;
  opacity: 0; transform: translateY(16px) scale(.95); pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--spring), box-shadow .25s;
}
.f-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.f-cta:hover { box-shadow: 0 18px 36px -12px rgba(232,93,42,.85); transform: translateY(-2px); }
.f-cta svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.f-cta:hover svg { transform: translateX(4px); }
.f-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: fdot 2s infinite; }
@keyframes fdot { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
@media (max-width: 760px) { .f-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .f-dot { animation: none; } }
/* mobile menu: compact, scrollable, actions always reachable */
.mobile-menu { padding: calc(92px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); gap: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.mm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mobile-menu a.mm-link { font-size: clamp(18px, 5vw, 22px); letter-spacing: -0.025em; padding: 0; min-height: 54px; gap: 10px; }
.mobile-menu a.mm-link span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-menu a.mm-link .dot { width: 10px; height: 10px; border-width: 2.5px; flex-shrink: 0; }
.mm-acts { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; opacity: 0; transition: opacity .4s .25s; }
.mobile-menu.is-open .mm-acts { opacity: 1; }
.mm-acts .btn { width: 100%; margin-top: 0; opacity: 1; }
.mm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-row .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
.mobile-menu .btn { margin-top: 0; }

@media (max-height: 560px) { .mobile-menu a.mm-link { min-height: 44px; } }
.mm-row .btn svg, .btn .ico-wa { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 340px) { .mm-list { grid-template-columns: 1fr 1fr; gap: 0 12px; } .mobile-menu a.mm-link { font-size: 16.5px; min-height: 48px; } }
/* colourful menu dots */
.mm-list .mm-link { --dc: var(--signal); }
.mm-list .mm-link:nth-child(8n+1) { --dc: #E85D2A; }
.mm-list .mm-link:nth-child(8n+2) { --dc: #2F6BFF; }
.mm-list .mm-link:nth-child(8n+3) { --dc: #13A05B; }
.mm-list .mm-link:nth-child(8n+4) { --dc: #7C5CFF; }
.mm-list .mm-link:nth-child(8n+5) { --dc: #F5B82E; }
.mm-list .mm-link:nth-child(8n+6) { --dc: #E8437A; }
.mm-list .mm-link:nth-child(8n+7) { --dc: #0EA5B7; }
.mm-list .mm-link:nth-child(8n+8) { --dc: #F07A4E; }
.mobile-menu .mm-list a.mm-link .dot { width: 12px; height: 12px; border: 0; background: var(--dc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dc) 22%, transparent); transition: transform .3s var(--spring), box-shadow .3s; }
.mobile-menu .mm-list a.mm-link:hover .dot, .mobile-menu .mm-list a.mm-link:focus-visible .dot { background: var(--dc); transform: scale(1.25); box-shadow: 0 0 0 6px color-mix(in srgb, var(--dc) 28%, transparent); }
/* keep button text readable on keyboard focus too (dark theme orange buttons) */
:root[data-theme="dark"] .btn-signal:focus-visible { --fg: var(--ink-brand); }
:root[data-theme="dark"] .btn-signal:focus-visible .ico { color: var(--ink-brand); }