/* ============================================================
   InfoTrics — site styles
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Canvas & Ink */
  --bg: #F6F8FA;
  --bg-soft: #FFFFFF;
  --bg-tint: #EEF3F7;
  --ink: #0E1B2C;
  --ink-soft: #44576C;
  --ink-faint: #7C8FA3;
  --line: #E3E9F0;
  --line-soft: #EDF1F6;

  /* Quad accents (from logo frame) */
  --amber: #F59E0B;      --amber-deep: #B45309;   --amber-wash: #FEF3E2;   --amber-line: #F6D9A8;
  --emerald: #10B981;    --emerald-deep: #047857; --emerald-wash: #E7F7F1; --emerald-line: #ABE5D3;
  --sky: #0EA5E9;        --sky-deep: #0369A1;     --sky-wash: #E7F4FD;     --sky-line: #A8DCF6;
  --crimson: #E11D48;    --crimson-deep: #BE123C; --crimson-wash: #FDEBEE; --crimson-line: #F5C2CD;

  /* Type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radius */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(14,27,44,.05);
  --sh-sm: 0 2px 8px rgba(14,27,44,.06), 0 1px 2px rgba(14,27,44,.04);
  --sh-md: 0 10px 30px -8px rgba(14,27,44,.12), 0 2px 8px rgba(14,27,44,.05);
  --sh-lg: 0 24px 60px -16px rgba(14,27,44,.18), 0 6px 16px rgba(14,27,44,.06);
  --sh-glow-amber: 0 14px 40px -10px rgba(245,158,11,.35);
  --sh-glow-emerald: 0 14px 40px -10px rgba(16,185,129,.35);
  --sh-glow-sky: 0 14px 40px -10px rgba(14,165,233,.35);
  --sh-glow-crimson: 0 14px 40px -10px rgba(225,29,72,.32);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.7,.25,1);
  --ease-spring: cubic-bezier(.34,1.4,.44,1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--sky-wash); color: var(--sky-deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #C7D2DD; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #A9B9C8; }

/* Focus */
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* Skip link */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.mono { font-family: var(--font-mono); }
.text-balance { text-wrap: balance; }

/* Accent underline scribble for hero words */
.accent-word { position: relative; white-space: nowrap; }
.accent-word > svg {
  position: absolute; left: -2%; bottom: -0.18em; width: 104%; height: .32em;
  overflow: visible; pointer-events: none;
}
.accent-word > svg path {
  fill: none; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: draw .9s .7s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Layout ---------- */
.container-x { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }

/* ---------- Quad Dots (brand motif) ---------- */
.quad-dots { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; }
.quad-dots i {
  width: 7px; height: 7px; border-radius: 50%; display: block;
}
.quad-dots i:nth-child(1) { background: var(--amber); }
.quad-dots i:nth-child(2) { background: var(--emerald); }
.quad-dots i:nth-child(3) { background: var(--sky); }
.quad-dots i:nth-child(4) { background: var(--crimson); }
.quad-dots.pulse i { animation: dot-pulse 2.4s infinite; }
.quad-dots.pulse i:nth-child(2) { animation-delay: .2s; }
.quad-dots.pulse i:nth-child(3) { animation-delay: .4s; }
.quad-dots.pulse i:nth-child(4) { animation-delay: .6s; }
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .55; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 18px;
}
.eyebrow b { color: var(--ink-soft); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform; white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--sh-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); background: #16273D; }

.btn-white { background: #fff; color: var(--ink); box-shadow: var(--sh-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); transform: translateY(-2px); }

.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.14); transform: translateY(-2px); }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* Quad tinted buttons */
.btn-amber { background: var(--amber-wash); color: var(--amber-deep); border: 1px solid var(--amber-line); }
.btn-amber:hover { background: var(--amber); border-color: var(--amber); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-glow-amber); }
.btn-emerald { background: var(--emerald-wash); color: var(--emerald-deep); border: 1px solid var(--emerald-line); }
.btn-emerald:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-glow-emerald); }
.btn-sky { background: var(--sky-wash); color: var(--sky-deep); border: 1px solid var(--sky-line); }
.btn-sky:hover { background: var(--sky); border-color: var(--sky); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-glow-sky); }
.btn-crimson { background: var(--crimson-wash); color: var(--crimson-deep); border: 1px solid var(--crimson-line); }
.btn-crimson:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-glow-crimson); }

/* Magnetic wrapper (JS moves .btn toward cursor) */
.magnetic { display: inline-block; }

/* ---------- Chips / Tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .06em; padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--ink-soft); background: var(--bg-soft);
  transition: all .25s var(--ease);
}
.chip[data-tone="amber"] { background: var(--amber-wash); color: var(--amber-deep); border-color: var(--amber-line); }
.chip[data-tone="emerald"] { background: var(--emerald-wash); color: var(--emerald-deep); border-color: var(--emerald-line); }
.chip[data-tone="sky"] { background: var(--sky-wash); color: var(--sky-deep); border-color: var(--sky-line); }
.chip[data-tone="crimson"] { background: var(--crimson-wash); color: var(--crimson-deep); border-color: var(--crimson-line); }
.chip[data-tone="ink"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Cards (base) ---------- */
.card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: #D3DCE6; }

/* Cursor spotlight (JS tracks pointer; card needs data-spotlight) */
[data-spotlight] { position: relative; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(14,27,44,.05), transparent 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }

/* ---------- Icon Box ---------- */
.icon-box {
  width: 52px; height: 52px; border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--bg-soft);
  transition: all .3s var(--ease);
}
.icon-box svg { width: 23px; height: 23px; }
.icon-box[data-tone="amber"] { background: var(--amber-wash); border-color: var(--amber-line); color: var(--amber-deep); }
.icon-box[data-tone="emerald"] { background: var(--emerald-wash); border-color: var(--emerald-line); color: var(--emerald-deep); }
.icon-box[data-tone="sky"] { background: var(--sky-wash); border-color: var(--sky-line); color: var(--sky-deep); }
.icon-box[data-tone="crimson"] { background: var(--crimson-wash); border-color: var(--crimson-line); color: var(--crimson-deep); }
.icon-box[data-tone="ink"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-box.round { border-radius: 50%; }
.icon-box.sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-box.sm svg { width: 19px; height: 19px; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  padding: 14px 0; transition: padding .35s var(--ease);
}
.site-header .header-inner {
  max-width: calc(var(--container) + 72px); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(227,233,240,.9); border-radius: var(--r-pill);
  box-shadow: 0 4px 24px -8px rgba(14,27,44,.08);
  height: 62px; padding-left: 22px; padding-right: 12px;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header.scrolled .header-inner { box-shadow: 0 10px 36px -10px rgba(14,27,44,.16); border-color: #DCE4EC; }
.site-header.scrolled { padding: 8px 0; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand .brand-tag { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: var(--r-pill);
  transition: color .2s, background .2s; position: relative;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-tint); }
.main-nav a.active { color: var(--ink); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 0 25%, var(--emerald) 25% 50%, var(--sky) 50% 75%, var(--crimson) 75%);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cmd-hint {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint);
  border: 1px solid var(--line); background: var(--bg-soft);
  padding: 7px 12px; border-radius: var(--r-pill); cursor: pointer;
  transition: all .25s var(--ease);
}
.cmd-hint:hover { border-color: var(--ink-faint); color: var(--ink-soft); }
.cmd-hint kbd {
  font-family: inherit; font-size: 10px; background: var(--bg-tint);
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px;
  padding: 1px 5px; color: var(--ink);
}

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center; color: var(--ink);
  border: 1px solid var(--line); background: var(--bg-soft);
}
.menu-btn svg { width: 20px; height: 20px; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: rgba(246,248,250,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 100px 28px 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 600;
  color: var(--ink); padding: 12px 0; display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid var(--line-soft);
  transform: translateY(24px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.mobile-menu.open nav a { transform: translateY(0); opacity: 1; }
.mobile-menu nav a .idx { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.mobile-menu nav a.active { color: var(--sky-deep); }
.mobile-menu .mm-footer { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 14px; }

.menu-close {
  position: absolute; top: 20px; right: 22px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 88px) 0 clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero .hero-grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #D6DEE8 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
}
.page-hero .wash { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.page-hero .wash.w-amber { width: 480px; height: 480px; background: rgba(245,158,11,.16); top: -140px; left: -120px; }
.page-hero .wash.w-emerald { width: 420px; height: 420px; background: rgba(16,185,129,.13); bottom: -200px; right: -100px; }
.page-hero .container-x { position: relative; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 { max-width: 780px; }
.page-hero .lead { max-width: 620px; margin-top: 20px; }

/* ---------- Home Hero ---------- */
.home-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vh, 84px)) 0 clamp(48px, 6vw, 72px);
}
.home-hero .hero-grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #D6DEE8 1px, transparent 1px);
  background-size: 26px 26px; opacity: .55;
  mask-image: radial-gradient(ellipse 75% 70% at 60% 20%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 20%, black 20%, transparent 72%);
}
.home-hero .wash { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.home-hero .wash.w-amber { width: 560px; height: 560px; background: rgba(245,158,11,.14); top: -180px; left: -140px; }
.home-hero .wash.w-sky { width: 520px; height: 520px; background: rgba(14,165,233,.12); top: -100px; right: -160px; }
.home-hero .wash.w-emerald { width: 420px; height: 420px; background: rgba(16,185,129,.1); bottom: -220px; left: 34%; }

.hero-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }

.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-proof {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em;
}
.hero-proof .sep { color: var(--line); }
.hero-proof b { color: var(--ink-soft); font-weight: 500; }

/* Word-by-word headline reveal */
.reveal-words span {
  display: inline-block; opacity: 0; transform: translateY(26px) rotate(1.5deg);
  animation: word-in .7s var(--ease) forwards;
}
@keyframes word-in { to { opacity: 1; transform: translateY(0) rotate(0); } }

/* ---------- Orbital hero visual ---------- */
.orbital { position: relative; width: min(520px, 92vw); aspect-ratio: 1; margin: 0 auto; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed #D3DCE6; pointer-events: none;
}
.orbit-ring.r2 { inset: 17%; border-color: #DEE5EC; }
.orbit-ring.r3 { inset: 34%; border-color: #E8EDF3; border-style: solid; }
.orbit-spin { position: absolute; inset: 0; will-change: transform; }
.orbit-spin .node {
  position: absolute; width: 96px; height: 96px; margin: -48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  cursor: grab; transition: filter .3s;
}
.orbit-spin .node:active { cursor: grabbing; }
.orbit-spin .node .orb {
  width: 62px; height: 62px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--line);
  box-shadow: var(--sh-md); transition: transform .35s var(--ease-spring), box-shadow .35s;
  animation: floaty 6s ease-in-out infinite;
}
.orbit-spin .node .orb svg { width: 26px; height: 26px; }
.orbit-spin .node:hover .orb { transform: scale(1.14); }
.orbit-spin .node[data-tone="amber"] .orb { border-color: var(--amber-line); color: var(--amber-deep); box-shadow: var(--sh-md), 0 0 0 5px var(--amber-wash); }
.orbit-spin .node[data-tone="emerald"] .orb { border-color: var(--emerald-line); color: var(--emerald-deep); box-shadow: var(--sh-md), 0 0 0 5px var(--emerald-wash); }
.orbit-spin .node[data-tone="sky"] .orb { border-color: var(--sky-line); color: var(--sky-deep); box-shadow: var(--sh-md), 0 0 0 5px var(--sky-wash); }
.orbit-spin .node[data-tone="crimson"] .orb { border-color: var(--crimson-line); color: var(--crimson-deep); box-shadow: var(--sh-md), 0 0 0 5px var(--crimson-wash); }
.orbit-spin .node .nlabel {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid var(--line-soft); white-space: nowrap;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.orbit-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 168px; height: 168px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--sh-lg); z-index: 2;
}
.orbit-core::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px solid transparent;
  background: conic-gradient(var(--amber), var(--emerald), var(--sky), var(--crimson), var(--amber)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .45; animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core .core-mark { width: 54px; height: 54px; }
.orbit-core .core-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .22em; color: var(--ink-faint); text-transform: uppercase; }

.orbit-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 16px; box-shadow: var(--sh-sm);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  animation: floaty 7s ease-in-out infinite;
}
.orbit-chip .mono { font-size: 11px; }
.orbit-chip.c1 { top: 6%; right: 2%; animation-delay: .8s; }
.orbit-chip.c2 { bottom: 10%; left: -2%; animation-delay: 1.6s; }
.orbit-chip svg { width: 15px; height: 15px; }
.orbit-chip .ok { color: var(--emerald-deep); }
.orbit-chip .bolt { color: var(--amber-deep); }

.orbit-drag-hint {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; align-items: center; gap: 7px; white-space: nowrap;
}
.orbit-drag-hint svg { width: 13px; height: 13px; }

/* ---------- Marquee ---------- */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; padding: 18px 0; }
.marquee { display: flex; gap: 0; width: max-content; animation: marquee 30s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee .mq-item {
  display: inline-flex; align-items: center; gap: 22px; padding: 0 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap;
}
.marquee .mq-item svg { width: 11px; height: 11px; }
.mq-item .d-amber { color: var(--amber); } .mq-item .d-emerald { color: var(--emerald); }
.mq-item .d-sky { color: var(--sky); } .mq-item .d-crimson { color: var(--crimson); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento Grid ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento .bcard { padding: 30px; display: flex; flex-direction: column; gap: 18px; min-height: 240px; }
.bento .span-7 { grid-column: span 7; }
.bento .span-5 { grid-column: span 5; }
.bento .span-4 { grid-column: span 4; }
.bento .span-8 { grid-column: span 8; }
.bento .span-12 { grid-column: span 12; }

.bcard { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.bcard:hover { transform: translateY(-6px); }
.bcard[data-tone="amber"]:hover { border-color: var(--amber-line); box-shadow: var(--sh-md), var(--sh-glow-amber); }
.bcard[data-tone="emerald"]:hover { border-color: var(--emerald-line); box-shadow: var(--sh-md), var(--sh-glow-emerald); }
.bcard[data-tone="sky"]:hover { border-color: var(--sky-line); box-shadow: var(--sh-md), var(--sh-glow-sky); }
.bcard[data-tone="crimson"]:hover { border-color: var(--crimson-line); box-shadow: var(--sh-md), var(--sh-glow-crimson); }
.bcard[data-tone="ink"]:hover { box-shadow: var(--sh-md), 0 18px 50px -12px rgba(14,27,44,.3); }

.bcard .b-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.bcard .b-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: .1em; }
.bcard h3 { letter-spacing: -0.015em; }
.bcard p { color: var(--ink-soft); font-size: 15px; }
.bcard .b-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.bcard .b-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink);
  padding-top: 16px;
}
.bcard .b-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.bcard:hover .b-link svg { transform: translate(3px,-3px); }
.bcard[data-tone="amber"] .b-link { color: var(--amber-deep); }
.bcard[data-tone="emerald"] .b-link { color: var(--emerald-deep); }
.bcard[data-tone="sky"] .b-link { color: var(--sky-deep); }
.bcard[data-tone="crimson"] .b-link { color: var(--crimson-deep); }

.bcard .b-art { position: absolute; right: -20px; bottom: -20px; width: 55%; max-width: 300px; opacity: .9;
  mask-image: linear-gradient(215deg, black 55%, transparent 96%);
  -webkit-mask-image: linear-gradient(215deg, black 55%, transparent 96%);
  transform: rotate(-2deg); transition: transform .5s var(--ease); pointer-events: none; }
.bcard:hover .b-art { transform: rotate(0) scale(1.04); }

/* ---------- Metrics ---------- */
.metrics-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-sm);
}
.metric { background: var(--bg-soft); padding: 34px 30px; position: relative; overflow: hidden; }
.metric .m-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.metric .m-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.metric .m-value .plus { color: var(--sky); }
.metric .m-sub { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.metric .spark { position: absolute; right: 18px; bottom: 16px; width: 84px; height: 30px; opacity: .8; }
.metric .spark path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.metric.in-view .spark path { stroke-dashoffset: 0; }
.metric[data-tone="amber"] .spark path { stroke: var(--amber); }
.metric[data-tone="emerald"] .spark path { stroke: var(--emerald); }
.metric[data-tone="sky"] .spark path { stroke: var(--sky); }
.metric[data-tone="crimson"] .spark path { stroke: var(--crimson); }
.metric .m-dot { width: 8px; height: 8px; border-radius: 50%; }
.metric[data-tone="amber"] .m-dot { background: var(--amber); }
.metric[data-tone="emerald"] .m-dot { background: var(--emerald); }
.metric[data-tone="sky"] .m-dot { background: var(--sky); }
.metric[data-tone="crimson"] .m-dot { background: var(--crimson); }

/* ---------- Process timeline ---------- */
.process { position: relative; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-line { position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.process-line .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--emerald), var(--sky), var(--crimson)); transition: width 1.6s var(--ease); border-radius: 2px; }
.pstep { position: relative; text-align: left; }
.pstep .p-node {
  width: 54px; height: 54px; border-radius: 50%; background: var(--bg-soft);
  border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; z-index: 1; transition: all .35s var(--ease-spring);
}
.pstep .p-node svg { width: 22px; height: 22px; }
.pstep[data-tone="amber"] .p-node { color: var(--amber-deep); }
.pstep[data-tone="emerald"] .p-node { color: var(--emerald-deep); }
.pstep[data-tone="sky"] .p-node { color: var(--sky-deep); }
.pstep[data-tone="crimson"] .p-node { color: var(--crimson-deep); }
.pstep.in-view .p-node { box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--line); }
.pstep[data-tone="amber"].in-view .p-node { border-color: var(--amber); box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--amber-wash); background: var(--amber-wash); }
.pstep[data-tone="emerald"].in-view .p-node { border-color: var(--emerald); box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--emerald-wash); background: var(--emerald-wash); }
.pstep[data-tone="sky"].in-view .p-node { border-color: var(--sky); box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--sky-wash); background: var(--sky-wash); }
.pstep[data-tone="crimson"].in-view .p-node { border-color: var(--crimson); box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--crimson-wash); background: var(--crimson-wash); }
.pstep .p-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-faint); margin-bottom: 8px; }
.pstep h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pstep p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card .pc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.05); }
.post-card .pc-media .pc-cats { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.post-card .pc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.13rem; line-height: 1.35; }
.post-card h3 a:hover { color: var(--sky-deep); }
.post-card .pc-excerpt { font-size: 14px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .pc-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.post-card .pc-meta .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; font-family: var(--font-display); }
.post-card .pc-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }

/* ---------- Quote / Founder ---------- */
.quote-frame { position: relative; }
.quote-frame img { border-radius: var(--r-xl); box-shadow: var(--sh-lg); position: relative; z-index: 1; }
.quote-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-xl);
  border: 1.5px solid var(--line); z-index: 0;
}
.quote-frame::after {
  content: ""; position: absolute; top: -10px; left: -10px; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--amber) 0 25%, var(--emerald) 25% 50%, var(--sky) 50% 75%, var(--crimson) 75%); z-index: 2;
}
.big-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.42; letter-spacing: -0.015em; color: var(--ink); }
.big-quote .hl-amber { color: var(--amber-deep); } .big-quote .hl-emerald { color: var(--emerald-deep); }
.big-quote .hl-sky { color: var(--sky-deep); } .big-quote .hl-crimson { color: var(--crimson-deep); }
.quote-attr { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.quote-attr .avatar-lg {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--bg-soft); box-shadow: var(--sh-sm);
}
.quote-attr .avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.quote-attr .qa-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.quote-attr .qa-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- CTA panel (ink) ---------- */
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #10203A 0%, #0E1B2C 55%, #132743 100%);
  color: #fff; padding: clamp(44px, 6vw, 76px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  box-shadow: 0 30px 80px -24px rgba(14,27,44,.45);
}
.cta-panel .cta-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; }
.cta-panel .g-amber { width: 300px; height: 300px; background: var(--amber); top: -120px; left: -80px; }
.cta-panel .g-emerald { width: 260px; height: 260px; background: var(--emerald); bottom: -120px; right: 30%; opacity: .22; }
.cta-panel .g-crimson { width: 240px; height: 240px; background: var(--crimson); top: -60px; right: -80px; opacity: .25; }
.cta-panel .cta-grid {
  position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 20%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, black, transparent 70%);
}
.cta-panel h2 { color: #fff; position: relative; }
.cta-panel p { color: rgba(255,255,255,.72); position: relative; }
.cta-panel .eyebrow { color: rgba(255,255,255,.55); position: relative; }
.cta-panel .eyebrow b { color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; position: relative; }
.cta-panel .cta-art { position: relative; z-index: 1; }
.cta-panel .cta-art img { border-radius: var(--r-lg); box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: clamp(60px, 8vw, 100px); }
.footer-top { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 72px) 0 clamp(36px, 4vw, 48px); }
.footer-brand .f-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .f-mark svg { width: 44px; height: 44px; }
.footer-brand .f-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.footer-brand .f-tagline { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }
.footer-brand p { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.footer-social a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.footer-social a svg { width: 17px; height: 17px; }
.f-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.f-col h4 .qline { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--amber) 0 25%, var(--emerald) 25% 50%, var(--sky) 50% 75%, var(--crimson) 75%); }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.f-col ul a {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft);
  padding: 7px 0; transition: color .2s, gap .25s var(--ease);
}
.f-col ul a:hover { color: var(--ink); gap: 12px; }
.f-col ul a svg { width: 13px; height: 13px; color: var(--ink-faint); }
.f-contact { display: flex; flex-direction: column; gap: 14px; }
.f-contact .fc-item { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .fc-item .icon-box { width: 38px; height: 38px; border-radius: 11px; }
.f-contact .fc-item .fc-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 2px; }
.f-contact .fc-item a, .f-contact .fc-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.f-contact .fc-item a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12.5px; color: var(--ink-faint); }
.footer-bottom .fb-right { display: flex; align-items: center; gap: 8px; }
.footer-bottom .fb-right .hl { color: var(--sky-deep); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 110;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--sh-md); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: all .35s var(--ease-spring);
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.to-top svg { width: 19px; height: 19px; }
.to-top .tt-ring { position: absolute; inset: -4px; border-radius: 50%; }
.to-top .tt-ring circle { fill: none; stroke-width: 2; stroke-linecap: round; }

/* ---------- Command palette ---------- */
.cmdk-overlay {
  position: fixed; inset: 0; z-index: 260; background: rgba(14,27,44,.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.cmdk-overlay.open { opacity: 1; pointer-events: auto; }
.cmdk {
  width: 100%; max-width: 600px; background: var(--bg-soft); border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -20px rgba(14,27,44,.4);
  overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .3s var(--ease-spring);
}
.cmdk-overlay.open .cmdk { transform: translateY(0) scale(1); }
.cmdk-input-row { display: flex; align-items: center; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line-soft); }
.cmdk-input-row svg { width: 19px; height: 19px; color: var(--ink-faint); flex-shrink: 0; }
.cmdk-input-row input { flex: 1; border: none; outline: none; font-size: 16px; color: var(--ink); background: transparent; }
.cmdk-input-row input::placeholder { color: var(--ink-faint); }
.cmdk-input-row .cmdk-esc { font-family: var(--font-mono); font-size: 10px; color: var(--ink-faint); border: 1px solid var(--line); padding: 3px 7px; border-radius: 6px; }
.cmdk-results { max-height: 380px; overflow-y: auto; padding: 8px; }
.cmdk-group { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); padding: 12px 12px 7px; }
.cmdk-item {
  display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: var(--r-md);
  cursor: pointer; transition: background .15s;
}
.cmdk-item .icon-box { width: 36px; height: 36px; border-radius: 10px; }
.cmdk-item .icon-box svg { width: 16px; height: 16px; }
.cmdk-item .ci-label { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.cmdk-item .ci-hint { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); margin-left: auto; display: flex; align-items: center; gap: 6px; }
.cmdk-item .ci-hint kbd { font-size: 9.5px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; background: var(--bg); }
.cmdk-item.selected { background: var(--bg-tint); }
.cmdk-item.selected .icon-box { border-color: transparent; }
.cmdk-item.selected [data-tone="amber"] { background: var(--amber); color: #fff; }
.cmdk-item.selected [data-tone="emerald"] { background: var(--emerald); color: #fff; }
.cmdk-item.selected [data-tone="sky"] { background: var(--sky); color: #fff; }
.cmdk-item.selected [data-tone="crimson"] { background: var(--crimson); color: #fff; }
.cmdk-item.selected [data-tone="ink"] { background: var(--ink); color: #fff; }
.cmdk-empty { padding: 32px 20px; text-align: center; color: var(--ink-faint); font-size: 14px; }
.cmdk-empty .mono { font-size: 12px; }

/* ---------- Page transition (circuit sweep · drafting sheet, light) ---------- */
.page-transition {
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(14,165,233,.06), rgba(255,255,255,0) 55%),
    radial-gradient(110% 80% at 50% 108%, rgba(245,158,11,.05), rgba(255,255,255,0) 60%),
    #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
  box-shadow: 12px 0 44px rgba(14,27,44,.09), -12px 0 44px rgba(14,27,44,.09);
  animation: pt-failsafe 0s linear 1.8s forwards; /* safety: hide if JS never boots */
}
@keyframes pt-failsafe { to { visibility: hidden; } }
/* faint drafting grid */
.page-transition::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,27,44,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,27,44,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 25%, transparent 100%);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000 25%, transparent 100%);
}
/* circuit traces (data flowing through the board) */
.pt-traces { position: absolute; inset: 0; width: 100%; height: 100%; }
.pt-traces path { fill: none; stroke-width: 1.6; opacity: 0; }
.pt-traces .t1 { stroke: #F59E0B; }
.pt-traces .t2 { stroke: var(--emerald); }
.pt-traces .t3 { stroke: var(--sky); }
.pt-traces .pt-node { fill: #7C8FA3; opacity: 0; }
.wipe-in .pt-traces path, .wipe-out .pt-traces path {
  opacity: .5; stroke-dasharray: 5 10;
  animation: pt-flow 1.1s linear infinite, pt-fade-in .3s ease-out forwards;
}
.wipe-in .pt-traces .pt-node, .wipe-out .pt-traces .pt-node { opacity: .85; animation: pt-fade-in .4s .15s ease-out backwards; }
@keyframes pt-flow { to { stroke-dashoffset: -60; } }
@keyframes pt-fade-in { from { opacity: 0; } }
/* crisp scan edges (right leads the cover, left trails the reveal) */
.pt-edge { position: absolute; top: 0; bottom: 0; width: 3px; opacity: 0; }
.pt-edge-r { right: -2px; background: linear-gradient(180deg, transparent, var(--sky) 28%, var(--emerald) 72%, transparent); box-shadow: 0 0 18px rgba(14,165,233,.5), 0 0 46px rgba(14,165,233,.2); }
.pt-edge-l { left: -2px; background: linear-gradient(180deg, transparent, var(--amber) 28%, var(--crimson) 72%, transparent); box-shadow: 0 0 18px rgba(245,158,11,.5), 0 0 46px rgba(245,158,11,.2); }
.wipe-in .pt-edge-r, .wipe-out .pt-edge-l { opacity: 1; }
/* center boot module: mark draws itself, progress loads */
.pt-core { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; }
.pt-mark { width: 58px; height: 58px; }
.pt-mark path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.wipe-in .pt-mark path, .wipe-out .pt-mark path { animation: pt-draw .55s ease-out forwards; }
.wipe-in .pt-mark path:nth-child(2), .wipe-out .pt-mark path:nth-child(2) { animation-delay: .07s; }
.wipe-in .pt-mark path:nth-child(3), .wipe-out .pt-mark path:nth-child(3) { animation-delay: .14s; }
.wipe-in .pt-mark path:nth-child(4), .wipe-out .pt-mark path:nth-child(4) { animation-delay: .21s; }
.wipe-in .pt-mark path:nth-child(5), .wipe-out .pt-mark path:nth-child(5) { animation-delay: .28s; }
.wipe-in .pt-mark path:nth-child(6), .wipe-out .pt-mark path:nth-child(6) { animation-delay: .32s; }
@keyframes pt-draw { to { stroke-dashoffset: 0; } }
.pt-track { width: 150px; height: 2px; border-radius: 2px; background: rgba(14,27,44,.1); overflow: hidden; }
.pt-track i { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--emerald)); box-shadow: 0 0 10px rgba(14,165,233,.6); }
.wipe-in .pt-track i, .wipe-out .pt-track i { animation: pt-load .48s .1s ease-out forwards; }
@keyframes pt-load { to { width: 100%; } }
.pt-mono { font-family: var(--font-mono); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: rgba(14,27,44,.48); }
.wipe-in .pt-core, .wipe-out .pt-core { animation: pt-core-in .32s .1s ease-out forwards; }
@keyframes pt-core-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* sweep choreography */
.page-transition.wipe-in { animation: pt-cover .42s cubic-bezier(.7,0,.2,1) both; }
.page-transition.wipe-out { animation: pt-reveal .52s cubic-bezier(.7,0,.2,1) .12s both; }
.page-transition.done { visibility: hidden; }
@keyframes pt-cover { from { transform: translateX(-102%); } to { transform: translateX(0); } }
@keyframes pt-reveal { from { transform: translateX(0); } to { transform: translateX(102%); } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.field label .req { color: var(--crimson); }
.input, .field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft);
  padding: 13px 16px; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
  border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-wash);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }

/* Choice cards (wizard options) */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice {
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft);
  padding: 16px; text-align: left; display: flex; gap: 13px; align-items: flex-start;
  cursor: pointer; transition: all .25s var(--ease);
}
.choice:hover { border-color: var(--ink-faint); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.choice .icon-box { width: 40px; height: 40px; border-radius: 11px; }
.choice .c-title { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.choice .c-desc { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; line-height: 1.45; }
.choice.selected { border-color: var(--ink); box-shadow: var(--sh-md); }
.choice[data-tone="amber"].selected { background: var(--amber-wash); border-color: var(--amber); }
.choice[data-tone="emerald"].selected { background: var(--emerald-wash); border-color: var(--emerald); }
.choice[data-tone="sky"].selected { background: var(--sky-wash); border-color: var(--sky); }
.choice[data-tone="crimson"].selected { background: var(--crimson-wash); border-color: var(--crimson); }
.choice[data-tone="ink"].selected { background: var(--bg-tint); }
.choice .c-check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.choice.selected .c-check { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice .c-check svg { width: 11px; height: 11px; opacity: 0; }
.choice.selected .c-check svg { opacity: 1; }
.choice[data-tone="amber"].selected .c-check { background: var(--amber); border-color: var(--amber); }
.choice[data-tone="emerald"].selected .c-check { background: var(--emerald); border-color: var(--emerald); }
.choice[data-tone="sky"].selected .c-check { background: var(--sky); border-color: var(--sky); }
.choice[data-tone="crimson"].selected .c-check { background: var(--crimson); border-color: var(--crimson); }

/* Smart range slider */
.range-wrap { padding: 6px 2px 2px; }
.range-output { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.range-output .ro-value { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.range-output .ro-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
input[type="range"].smart-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--sky) 0%, var(--sky) var(--pct, 50%), var(--line) var(--pct, 50%));
  outline: none; cursor: pointer;
}
input[type="range"].smart-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--sky); box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease-spring); cursor: grab;
}
input[type="range"].smart-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"].smart-range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }
input[type="range"].smart-range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 2.5px solid var(--sky); box-shadow: var(--sh-sm); cursor: grab;
}
.range-scale { display: flex; justify-content: space-between; margin-top: 9px; font-family: var(--font-mono); font-size: 10px; color: var(--ink-faint); letter-spacing: .06em; }

/* Contextual insight callout */
.insight {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--sky-wash); border: 1px solid var(--sky-line);
  border-radius: var(--r-md); padding: 14px 16px;
  animation: insight-in .45s var(--ease);
}
.insight svg { width: 17px; height: 17px; color: var(--sky-deep); flex-shrink: 0; margin-top: 2px; }
.insight p { font-size: 13px; color: var(--sky-deep); line-height: 1.55; }
.insight p b { font-weight: 600; }
@keyframes insight-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Wizard ---------- */
.wizard-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px);
}
.wizard-progress { display: flex; gap: 6px; padding: 18px 26px 0; }
.wizard-progress .wp-seg { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.wizard-progress .wp-seg i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--emerald), var(--sky), var(--crimson)); border-radius: 2px; transition: width .5s var(--ease); }
.wizard-progress .wp-seg.done i { width: 100%; }
.wizard-progress .wp-seg.current i { width: 50%; }
.wizard-body { padding: 22px 26px 26px; }
.wizard-step { display: none; animation: step-in .45s var(--ease); }
.wizard-step.active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.wizard-step .ws-q { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em; margin-bottom: 6px; }
.wizard-step .ws-hint { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 20px; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.wizard-link { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.wizard-link:hover { color: var(--ink); }
.wizard-link svg { width: 14px; height: 14px; }
.wizard-success { text-align: center; padding: 30px 10px; }
.wizard-success .ok-ring {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--emerald-wash); border: 1px solid var(--emerald-line);
  display: flex; align-items: center; justify-content: center; color: var(--emerald-deep);
  animation: pop-in .5s var(--ease-spring);
}
.wizard-success .ok-ring svg { width: 36px; height: 36px; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wizard-summary { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin: 20px 0; }
.wizard-summary .ws-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.wizard-summary .ws-row:last-child { border-bottom: none; }
.wizard-summary .ws-row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.wizard-summary .ws-row .v { font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Blog filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; }
.filter-chip {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  padding: 9px 17px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink-soft); cursor: pointer;
  transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.filter-chip .fc-count { font-size: 10px; color: var(--ink-faint); }
.filter-chip:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip.active .fc-count { color: rgba(255,255,255,.6); }
.post-grid .post-card.hide-card { display: none; }
.post-grid.filtering .post-card { animation: card-in .5s var(--ease); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Article / post ---------- */
.article-hero { position: relative; }
.article-hero .ah-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 21/9; background: var(--bg-tint); position: relative; }
.article-hero .ah-media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero .ah-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,27,44,.28), transparent 45%); }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.article-content { font-size: 16.5px; color: #33475C; }
.article-content > p { margin-bottom: 20px; }
.article-content h2 {
  font-size: 1.5rem; margin: 42px 0 14px; padding-left: 18px; position: relative;
}
.article-content h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 2px;
  background: linear-gradient(var(--amber), var(--emerald), var(--sky), var(--crimson)); }
.article-content strong { color: var(--ink); }
.article-content blockquote {
  margin: 28px 0; padding: 22px 26px; background: var(--bg-soft); border: 1px solid var(--line);
  border-left: 4px solid var(--sky); border-radius: var(--r-md);
  font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); line-height: 1.55;
}
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc .toc-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.toc a {
  display: block; font-size: 13px; color: var(--ink-soft); padding: 7px 0 7px 16px;
  border-left: 2px solid var(--line); transition: all .2s; line-height: 1.45;
}
.toc a:hover, .toc a.active { color: var(--ink); border-color: var(--sky); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; z-index: 150; width: 0;
  background: linear-gradient(90deg, var(--amber), var(--emerald), var(--sky), var(--crimson)); border-radius: 0 2px 2px 0; }
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-row .share-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.share-row .share-btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.share-row .share-btn svg { width: 16px; height: 16px; }

/* ---------- Author card ---------- */
.author-card { display: flex; gap: 20px; align-items: center; padding: 26px; }
.author-card .avatar-xl { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--line); }
.author-card .avatar-xl img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Team cards (founder profiles) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.team-card { display: flex; flex-direction: column; gap: 16px; padding: 26px 26px 24px; }
.team-card .tc-head { display: flex; gap: 24px; align-items: flex-start; }
.team-card .tc-photo { position: relative; flex: 0 0 152px; }
.team-card .tc-photo img {
  width: 152px; aspect-ratio: 4/5; object-fit: cover; object-position: top;
  border-radius: 16px; border: 1px solid var(--line-soft); background: var(--bg-tint);
  display: block; transition: transform .6s var(--ease);
}
.team-card:hover .tc-photo img { transform: scale(1.03); }
.team-card .tc-photo::before {
  content: ""; position: absolute; inset: 9px -9px -9px 9px; border-radius: 20px;
  border: 1.5px dashed var(--line); transition: border-color .35s var(--ease);
}
.team-card[data-tone="sky"]:hover .tc-photo::before { border-color: var(--sky-line); }
.team-card[data-tone="crimson"]:hover .tc-photo::before { border-color: var(--crimson-line); }
.team-card .tc-badge {
  position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; padding: 6px 11px; border-radius: var(--r-pill);
  box-shadow: var(--sh-md); white-space: nowrap;
}
.team-card[data-tone="sky"] .tc-badge { background: var(--sky-deep); }
.team-card[data-tone="crimson"] .tc-badge { background: var(--crimson-deep); }
.team-card .tc-badge svg { width: 11px; height: 11px; }
.team-card .tc-id { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 4px; }
.team-card .tc-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.team-card[data-tone="sky"] .tc-role { color: var(--sky-deep); }
.team-card[data-tone="crimson"] .tc-role { color: var(--crimson-deep); }
.team-card .tc-role .rline { width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .75; }
.team-card .tc-id h3 { font-size: 1.42rem; letter-spacing: -.01em; }
.team-card .tc-tag { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.5; }
.team-card .tc-social { display: flex; gap: 8px; margin-top: 16px; }
.team-card .tc-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: all .25s var(--ease);
}
.team-card[data-tone="sky"] .tc-social a:hover { color: var(--sky-deep); border-color: var(--sky-line); background: var(--sky-wash); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.team-card[data-tone="crimson"] .tc-social a:hover { color: var(--crimson-deep); border-color: var(--crimson-line); background: var(--crimson-wash); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.team-card .tc-social a svg { width: 17px; height: 17px; }
.team-card .tc-divider { height: 1px; background: var(--line-soft); margin-top: 2px; }
.team-card .tc-bio { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.team-card .tc-facts { display: flex; flex-wrap: wrap; gap: 7px; }
.team-card .tc-quote {
  margin-top: auto; padding: 12px 16px; border-left: 3px solid; border-radius: 0 12px 12px 0;
  font-size: 13.5px; font-style: italic; color: var(--ink); background: var(--bg-soft);
}
.team-card[data-tone="sky"] .tc-quote { border-color: var(--sky); background: var(--sky-wash); }
.team-card[data-tone="crimson"] .tc-quote { border-color: var(--crimson); background: var(--crimson-wash); }

/* Skill meters */
.skill { margin-bottom: 16px; }
.skill .sk-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.skill .sk-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.skill .sk-val { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.skill .sk-bar { height: 7px; background: var(--bg-tint); border-radius: 99px; overflow: hidden; }
.skill .sk-bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1.2s var(--ease) .2s; }
.skill[data-tone="amber"] .sk-bar i { background: linear-gradient(90deg, #F8B84E, var(--amber)); }
.skill[data-tone="emerald"] .sk-bar i { background: linear-gradient(90deg, #34D399, var(--emerald)); }
.skill[data-tone="sky"] .sk-bar i { background: linear-gradient(90deg, #38BDF8, var(--sky)); }
.skill[data-tone="crimson"] .sk-bar i { background: linear-gradient(90deg, #F43F5E, var(--crimson)); }

/* ---------- Timeline (company story) ---------- */
.story-timeline { position: relative; padding-left: 34px; }
.story-timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--amber), var(--emerald), var(--sky), var(--crimson)); border-radius: 2px; opacity: .35; }
.st-item { position: relative; padding: 0 0 34px 22px; }
.st-item:last-child { padding-bottom: 0; }
.st-item::before {
  content: ""; position: absolute; left: -34px; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-soft); border: 2px solid var(--line); z-index: 1;
}
.st-item[data-tone="amber"]::before { border-color: var(--amber); background: var(--amber-wash); }
.st-item[data-tone="emerald"]::before { border-color: var(--emerald); background: var(--emerald-wash); }
.st-item[data-tone="sky"]::before { border-color: var(--sky); background: var(--sky-wash); }
.st-item[data-tone="crimson"]::before { border-color: var(--crimson); background: var(--crimson-wash); }
.st-item .st-year { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; color: var(--ink-faint); margin-bottom: 6px; }
.st-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.st-item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Tech stack grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech-card { padding: 24px; }
.tech-card .t-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

/* ---------- Value cards (mission/vision) ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Jobs / careers ---------- */
.job-card { padding: 0; overflow: hidden; }
.job-card .jc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.job-card .jc-title { display: flex; align-items: center; gap: 15px; }
.job-card .jc-body { padding: 24px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.job-card .jc-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 13px; display: flex; align-items: center; gap: 8px; }
.job-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.job-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.job-card ul li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; }
.job-card .jc-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job-card .jc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 26px; background: var(--bg); border-top: 1px solid var(--line-soft); flex-wrap: wrap; }

/* Apply modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 250; background: rgba(14,27,44,.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 22px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  background: var(--bg-soft); border-radius: var(--r-xl); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -20px rgba(14,27,44,.4);
  transform: translateY(24px) scale(.97); transition: transform .35s var(--ease-spring);
}
.modal-overlay.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 0; }
.modal-head h3 { font-size: 1.25rem; }
.modal-body { padding: 20px 26px 26px; display: flex; flex-direction: column; gap: 16px; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: all .2s; }
.modal-close:hover { border-color: var(--ink); color: var(--ink); transform: rotate(90deg); }
.modal-close svg { width: 16px; height: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Office cards ---------- */
.office-card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.office-card .oc-head { display: flex; align-items: center; gap: 14px; }
.office-card address { font-style: normal; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.office-card .oc-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.office-card .oc-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.office-card .oc-row svg { width: 15px; height: 15px; color: var(--ink-faint); }

/* ---------- Section: split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 80px); z-index: 300;
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--r-pill);
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 11px;
  font-size: 14px; font-weight: 500; opacity: 0; transition: all .4s var(--ease-spring);
  max-width: min(92vw, 480px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 17px; height: 17px; color: var(--emerald); flex-shrink: 0; }

/* ---------- Utilities ---------- */
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.full-w { width: 100%; }
.center-text { text-align: center; }
.relative { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .cmd-hint { display: none; }
  .menu-btn { display: flex; }
  .hero-layout { grid-template-columns: 1fr; text-align: left; }
  .orbital { margin-top: 12px; }
  .bento .span-7, .bento .span-5 { grid-column: span 12; }
  .metrics-band { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .process-line { display: none; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card .tc-head { gap: 16px; }
  .team-card .tc-photo, .team-card .tc-photo img { width: 112px; }
  .team-card .tc-id h3 { font-size: 1.2rem; }
  .team-card .tc-social { margin-top: 10px; }
  .team-card .tc-social a { width: 36px; height: 36px; }
}
@media (max-width: 720px) {
  .container-x { padding: 0 18px; }
  /* horizontal reveal shifts would poke past the viewport edge before reveal — go vertical on mobile */
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(28px); }
  .home-hero { padding-top: calc(var(--header-h) + 30px); }
  .hero-ctas .btn { width: 100%; }
  .post-grid { grid-template-columns: 1fr; }
  .metrics-band { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .duo-grid, .value-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .job-card .jc-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .orbit-core { width: 128px; height: 128px; }
  .orbit-core .core-mark { width: 42px; height: 42px; }
  .orbit-spin .node { width: 78px; height: 78px; margin: -39px; }
  .orbit-spin .node .orb { width: 50px; height: 50px; border-radius: 16px; }
  .orbit-spin .node .orb svg { width: 21px; height: 21px; }
  .orbit-chip { display: none; }
  .brand .brand-text { display: none; }
  .to-top { bottom: 18px; right: 18px; }
  .cta-actions .btn { width: 100%; }
  .split { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Bento art sits behind text content */
.bcard .b-art { z-index: 0; }
.bcard > *:not(.b-art) { position: relative; z-index: 1; }
