/* ============ TOKENS — DARK TECH ============ */
#constellation {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.85;
}
.hero-sub {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-2); letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.hero-sub .code-tag { color: var(--text-3); }
.no-motion #constellation { display: none; }

.motto-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(124,240,186,0.06), rgba(74,227,255,0.05), rgba(124,240,186,0.06));
  overflow: hidden;
}
.motto-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.motto-track {
  display: flex; gap: 48px; width: max-content;
  animation: scroll 55s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 500; letter-spacing: -0.02em;
  color: var(--text);
  align-items: center;
}
.footer-motto { color: var(--text-3); letter-spacing: 0.06em; }
.footer-motto .dim { color: var(--accent); margin-right: 4px; }
:root {
  --bg: #08090c;
  --bg-2: #0c0e13;
  --bg-3: #121521;
  --surface: #0f1219;
  --surface-2: #161a26;
  --line: #1d2130;
  --line-2: #252a3c;
  --line-3: #333a52;
  --text: #e6e8ef;
  --text-2: #a7acbd;
  --text-3: #6d7388;
  --text-4: #4a4f64;
  --accent: #7cf0ba;       /* electric mint */
  --accent-2: #4ae3ff;     /* cyan */
  --accent-soft: rgba(124,240,186,0.12);
  --accent-dim: rgba(124,240,186,0.35);
  --warn: #ffb86b;
  --radius: 10px;
  --radius-lg: 18px;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --grid-line: rgba(255,255,255,0.035);
  --grid-line-strong: rgba(255,255,255,0.065);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
html { overflow-x: clip; } /* clip doesn't create scroll container, so position:sticky still works */
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  position: relative;
}
/* Global subtle grid backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none; z-index: 0;
  opacity: 0.4;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(74,227,255,0.08), transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(124,240,186,0.06), transparent 50%);
  pointer-events: none; z-index: 0;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.mono, .eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-dim);
}

/* Code-like annotation */
.code-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--text-3); letter-spacing: 0.05em;
}
.code-tag .t { color: var(--accent); }
.code-tag .k { color: var(--accent-2); }
.code-tag .s { color: var(--warn); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 2; }
section { position: relative; z-index: 2; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: backdrop-filter .4s, background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,9,12,0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.015em; font-size: 15px; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px;
  position: relative; overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.logo-mark svg { width: 14px; height: 14px; display: block; }
.logo b { font-weight: 600; }
.logo .dim { color: var(--text-3); font-weight: 400; }
.nav-links { display: none; gap: 26px; font-size: 13px; color: var(--text-2); }
.nav-links a { position: relative; padding: 4px 0; transition: color .3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::before {
  content: ""; position: absolute; left: -10px; top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); opacity: 0; transition: opacity .3s;
}
.nav-links a:hover::before { opacity: 1; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-status {
  display: none; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-3);
}
@media (min-width: 760px) { .nav-status { display: inline-flex; } }
.nav-status .ping { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2s infinite; }
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,240,186,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(124,240,186,0); }
}
.nav-cta {
  padding: 9px 16px; border-radius: 7px;
  background: var(--text); color: var(--bg);
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .3s var(--ease), background .3s;
}
.nav-cta:hover { transform: translateY(-1px); background: #fff; }

/* ============ HERO ============ */
.hero { min-height: 100vh; padding: 110px var(--pad) 60px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg .beam {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  will-change: transform;
}
.hero-bg .beam.b1 { width: 560px; height: 560px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: -180px; left: -120px; opacity: 0.22; }
.hero-bg .beam.b2 { width: 480px; height: 480px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%); bottom: -180px; right: -100px; opacity: 0.18; }
.hero-bg .beam.b3 { width: 340px; height: 340px; background: radial-gradient(circle, #a78bfa 0%, transparent 70%); top: 40%; left: 50%; opacity: 0.12; }

.hero-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}

.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; }

.hero-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 40px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--text-2);
}
.pill .tag {
  padding: 3px 9px; border-radius: 999px;
  background: var(--accent); color: #001810;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  font-family: 'JetBrains Mono', monospace;
}
.pill .arrow { color: var(--text-3); }

.hero-meta { display: flex; gap: 24px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-3); letter-spacing: 0.08em; text-align: right; }
.hero-meta .k { color: var(--text-4); }
.hero-meta .v { color: var(--text-2); }

.hero h1 {
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
}
.hero h1 .row { display: block; overflow: hidden; padding: 0.02em 0; }
.hero h1 .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
}
.hero h1 .word.d1 { animation-delay: 0.08s; }
.hero h1 .word.d2 { animation-delay: 0.16s; }
.hero h1 .word.d3 { animation-delay: 0.24s; }
.hero h1 .word.d4 { animation-delay: 0.32s; }
.hero h1 .word.d5 { animation-delay: 0.4s; }
.hero h1 .word.d6 { animation-delay: 0.48s; }
.hero h1 .accent-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero h1 .cursor {
  display: inline-block; width: 0.08em; height: 0.8em;
  background: var(--accent); margin-left: 0.03em;
  vertical-align: -0.05em;
  animation: blink 1.2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise {
  to { transform: translateY(0); opacity: 1; }
}

.hero-bottom {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: end;
}
@media (min-width: 900px) {
  .hero-bottom { grid-template-columns: 1.8fr 1fr 1fr; gap: 36px; }
}
.hero-lede {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--text-2);
  max-width: 46ch;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-lede strong { color: var(--text); font-weight: 600; }
.hero-lede .hl { color: var(--accent); }

.hero-stat { border-top: 1px solid var(--line); padding-top: 14px; }
.hero-stat .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-3); letter-spacing: 0.12em; text-transform: uppercase; }
.hero-stat .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500; letter-spacing: -0.025em;
  color: var(--text);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.hero-stat .n em { font-style: normal; color: var(--accent); }

.hero-cta-row {
  margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--accent); color: #001810;
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -8px var(--accent-dim);
}
.btn-primary:hover { background: #8ff5c5; }
.btn-primary .arr { transition: transform .3s var(--ease); }
.btn-primary:hover .arr { transform: translate(3px, -3px); }
.btn-secondary {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-secondary:hover { border-color: var(--line-3); background: var(--surface); }
.btn-ghost { background: transparent; color: var(--text-2); padding: 13px 8px; }
.btn-ghost:hover { color: var(--accent); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; color: var(--text-3);
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 42px; background: linear-gradient(var(--text-3), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px;
  background: var(--accent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); }
  100% { transform: translateY(62px); }
}

/* ============ PARTNERS ============ */
.partners {
  padding: 70px 0 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.partners-head {
  max-width: var(--max); margin: 0 auto 36px; padding: 0 var(--pad);
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 16px;
}
.partners-head h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -0.015em; color: var(--text);
}
.partners-head h3 .dim { color: var(--text-3); }
.marquee {
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; gap: 64px; width: max-content;
  animation: scroll 48s linear infinite;
  align-items: center;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-2);
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
  transition: color .3s;
  height: 36px;
}
.brand:hover { color: var(--text); }
.brand svg { height: 24px; width: auto; display: block; }
.brand .name { opacity: 0.85; }
.brand .ver { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-4); letter-spacing: 0.08em; margin-left: 6px; }

/* ============ SERVICES ============ */
.services { padding: 140px 0 120px; position: relative; background: linear-gradient(180deg, transparent, rgba(8,9,12,0.5) 10%, rgba(8,9,12,0.7) 90%, transparent); }
.sec-head {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  margin-bottom: 56px; max-width: var(--max); padding: 0 var(--pad); margin-left: auto; margin-right: auto;
}
@media (min-width: 900px) { .sec-head { grid-template-columns: 180px 1.1fr 1fr; gap: 44px; } }
.sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 0.96;
  color: var(--text);
}
.sec-title .accent-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
}
.sec-blurb { font-size: 15.5px; color: var(--text-2); max-width: 42ch; align-self: end; text-wrap: pretty; }

.services-featured {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 820px) { .services-featured { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 28px 26px 22px;
  min-height: 240px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.service-card:hover { border-color: var(--line-3); transform: translateY(-2px); }
.service-card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .5s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.rivo { background: linear-gradient(160deg, #0b1a15, var(--surface)); }
.service-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px;
}
.service-card-logo {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.service-card-logo svg { width: 26px; height: 26px; }
.service-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.025em;
  margin-bottom: 10px; line-height: 1.05; color: var(--text);
}
.service-card p {
  font-size: 14.5px; color: var(--text-2); line-height: 1.55;
  max-width: 34ch; margin-bottom: auto;
}
.service-card-foot {
  margin-top: 22px; padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--text-3); letter-spacing: 0.08em;
}
.service-badge {
  padding: 4px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid var(--accent-dim);
}
.live-ping { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.live-ping i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent-dim); }

.services-also {
  max-width: var(--max); margin: 44px auto 0; padding: 0 var(--pad);
}
.services-also-head { margin-bottom: 18px; }
.services-also-head .mono { color: var(--text-3); letter-spacing: 0.12em; font-size: 11px; }
.services-also-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 720px) { .services-also-row { grid-template-columns: repeat(4, 1fr); } }
.tk {
  background: var(--surface);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  transition: background .3s;
}
.tk:hover { background: var(--surface-2); }
.tk-logo {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 8px; background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.tk-logo svg { width: 20px; height: 20px; }
.tk-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text);
}

/* Legacy (unused now but kept for safety) */
.services-grid { display: none; }

/* ============ PROCESS (Horizontal Scroll) ============ */
.process {
  background: var(--bg-2);
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.h-scroll-wrap { height: 360vh; position: relative; }
.h-scroll-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.h-track {
  display: flex;
  padding-left: var(--pad);
  will-change: transform;
}
.h-card {
  flex: 0 0 440px;
  max-width: 82vw;
  margin-right: 24px;
  padding: 36px 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 440px;
  position: relative; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.h-card:hover { border-color: var(--line-3); }
.h-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}
.h-card-step {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px; font-weight: 400; letter-spacing: -0.04em;
  color: var(--line-3); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.h-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px; font-weight: 500; letter-spacing: -0.025em;
  margin-top: 12px; margin-bottom: 16px; line-height: 1.05;
  color: var(--text);
}
.h-card p { color: var(--text-2); max-width: 38ch; font-size: 15px; text-wrap: pretty; }
.h-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.h-card-tags span {
  padding: 5px 10px; border-radius: 6px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  font-size: 11px; color: var(--text-2);
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em;
}
.h-progress {
  position: absolute; bottom: 40px; left: var(--pad); right: var(--pad);
  height: 1px; background: var(--line-2); z-index: 5;
}
.h-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 0%; transition: width .1s linear;
}
.h-meta {
  position: absolute; top: 40px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 5;
}

.h-intro { flex-basis: 460px; background: transparent; border: 0; }
.h-intro::before { display: none; }
.h-intro h3 { font-size: clamp(40px, 5vw, 64px); margin-top: 22px; line-height: 0.98; }
.h-cta-card { background: linear-gradient(160deg, #0b1a15, var(--surface-2)); border-color: var(--accent-dim); }

/* ============ CASES ============ */
.cases { padding: 140px 0 100px; background: linear-gradient(180deg, transparent, rgba(8,9,12,0.6) 10%, rgba(8,9,12,0.6) 90%, transparent); }
.case {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; gap: 40px; grid-template-columns: 1fr;
  padding-top: 70px; padding-bottom: 70px;
  border-top: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1.15fr; gap: 72px; } }
.case:last-of-type { border-bottom: 1px solid var(--line); }

.case-meta { position: sticky; top: 100px; }
.case-num { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 20px; }
.case-logo {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  width: fit-content;
}
.case-logo svg, .case-logo img { height: 26px; width: auto; display: block; }
.case-client {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.4vw, 54px); font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 14px; color: var(--text);
}
.case-industry { font-size: 13px; color: var(--text-3); margin-bottom: 26px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; }
.case-results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-result .n {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.case-result .n em { font-style: normal; color: var(--accent); }
.case-result .l { font-size: 11.5px; color: var(--text-3); margin-top: 6px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; line-height: 1.4; }

.case-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em;
  margin-bottom: 16px; line-height: 1.25; color: var(--text);
}
.case-body p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; text-wrap: pretty; margin-bottom: 18px; }
.case-body p strong { color: var(--text); }

.case-visual {
  margin-top: 28px; aspect-ratio: 16 / 10; border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line-2);
  overflow: hidden; position: relative;
}
.case-visual-bg {
  position: absolute; inset: 0;
  background-size: 24px 24px;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
}

/* Scrub / terminal-ish window */
.scrub {
  position: absolute; inset: 12px;
  border-radius: 10px; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.02);
  display: flex; flex-direction: column;
}
.scrub-bar {
  height: 30px; background: var(--bg-3); border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-3);
}
.scrub-bar .dots { display: flex; gap: 5px; margin-right: 10px; }
.scrub-bar .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-3); }
.scrub-canvas { flex: 1; position: relative; overflow: hidden; }
.scrub-frame {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transition: opacity .45s;
}
.scrub-frame.on { opacity: 1; }

.scrub-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: var(--text-3); text-transform: uppercase; }
.scrub-chip {
  padding: 4px 9px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  font-size: 11px; color: var(--text); font-family: 'JetBrains Mono', monospace;
}
.scrub-chip.accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-dim); }
.scrub-row { display: flex; gap: 10px; align-items: center; }
.scrub-flow { display: flex; gap: 6px; align-items: center; }
.scrub-node {
  padding: 6px 10px; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 6px; font-size: 10.5px; font-family: 'JetBrains Mono', monospace;
  color: var(--text-2);
}
.scrub-node.active { background: var(--accent); color: #001810; border-color: var(--accent); }
.scrub-arrow { color: var(--text-4); font-size: 11px; }
.scrub-bar-viz { display: flex; gap: 3px; align-items: flex-end; height: 56px; margin-top: auto; }
.scrub-bar-viz i { flex: 1; background: var(--line-3); border-radius: 2px 2px 0 0; }
.scrub-bar-viz i.on { background: var(--accent); }
.scrub-code { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-2); line-height: 1.7; }
.scrub-code .c { color: var(--text-4); }
.scrub-code .k { color: var(--accent-2); }
.scrub-code .s { color: var(--accent); }
.scrub-code .w { color: var(--warn); }

.scrub-scrubber {
  position: absolute; right: 10px; top: 10px; bottom: 10px; width: 2px;
  background: var(--line-2); border-radius: 2px; overflow: hidden;
}
.scrub-scrubber-thumb {
  position: absolute; left: 0; right: 0; top: 0; height: 25%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px; transition: top .2s linear;
  box-shadow: 0 0 12px var(--accent-dim);
}

/* ============ LEGACY ============ */
.legacy {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.legacy-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
@media (min-width: 900px) { .legacy-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.legacy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5vw, 64px); font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  color: var(--text);
}
.legacy h2 .accent-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
}
.legacy p { font-size: 16px; color: var(--text-2); line-height: 1.65; margin-top: 22px; max-width: 54ch; text-wrap: pretty; }

.timeline {
  position: relative; padding-left: 30px; margin-top: 36px;
  border-left: 1px solid var(--line-2);
}
.timeline-item { position: relative; padding: 16px 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -35px; top: 22px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line-3);
}
.timeline-item.accent::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent-dim); }
.timeline-year {
  font-family: 'Space Grotesk', sans-serif; font-size: 20px;
  font-weight: 500; letter-spacing: -0.02em; color: var(--text);
}
.timeline-label { font-size: 14px; color: var(--text-3); margin-top: 2px; }

.legacy-visual {
  aspect-ratio: 4 / 5;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.legacy-visual-pattern {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(124,240,186,0.05) 24px 25px),
    repeating-linear-gradient(-45deg, transparent 0 24px, rgba(74,227,255,0.04) 24px 25px);
}
.legacy-visual-inner { position: relative; z-index: 1; }
.legacy-visual .big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 500; letter-spacing: -0.045em; line-height: 0.9; color: var(--text);
}
.legacy-visual .big em { font-style: normal; color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 400; }
.legacy-visual .cap { font-size: 12.5px; color: var(--text-3); max-width: 30ch; line-height: 1.5; }

/* ============ CTA ============ */
.cta { padding: 160px 0 80px; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(124,240,186,0.15), transparent 60%);
}
.cta-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(56px, 10vw, 160px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 0.92;
  color: var(--text);
}
.cta h2 .accent-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
}
.cta-row {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding-top: 36px; border-top: 1px solid var(--line);
}
@media (min-width: 800px) { .cta-row { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.cta-cell .mono { margin-bottom: 10px; display: block; color: var(--text-3); }
.cta-cell .v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--text);
}
.cta-cell a.v { border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .3s, color .3s; display: inline-block; }
.cta-cell a.v:hover { border-color: var(--accent); color: var(--accent); }

.footer {
  padding: 50px var(--pad) 36px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-3);
  flex-wrap: wrap; gap: 16px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
}
.footer .dim { color: var(--text-4); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }

/* ============ SIDE LABEL ============ */
.side-label {
  position: fixed; left: 20px; top: 50%; transform: rotate(-90deg) translateX(50%);
  transform-origin: left center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; color: var(--text-3); text-transform: uppercase;
  z-index: 60; pointer-events: none;
  opacity: 0; transition: opacity .4s;
  display: none;
}
@media (min-width: 1100px) { .side-label { display: block; } }
.side-label.show { opacity: 1; }
.side-label .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 8px var(--accent-dim);
}

/* ============ TWEAKS PANEL ============ */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: rgba(12,14,19,0.9);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px;
  width: 260px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  backdrop-filter: blur(14px);
  display: none;
  font-size: 13px;
}
.tweaks.show { display: block; }
.tweaks h5 {
  font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500; margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.tweak-row { margin-bottom: 12px; }
.tweak-label { font-size: 10.5px; color: var(--text-3); margin-bottom: 6px; display: block; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer; transition: border-color .2s;
}
.swatch.active { border-color: var(--text); }
.toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  font-size: 12px; color: var(--text-2);
}
.toggle.on { background: var(--accent); color: #001810; border-color: var(--accent); }

.float { will-change: transform; }

.no-motion *, .no-motion *::before, .no-motion *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
}

/* ============ HERO STAT SUB ============ */
.hero-stat .sub {
  margin-top: 6px; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--text-3); letter-spacing: 0.04em;
  max-width: 20ch; line-height: 1.4;
}

/* ============ PROBLEM (StoryBrand villain) ============ */
.problem {
  padding: 120px 0 100px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8,9,12,0.3), rgba(8,9,12,0.0));
}
.problem-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr; gap: 56px;
}
@media (min-width: 1000px) { .problem-inner { grid-template-columns: 0.9fr 1.3fr; gap: 80px; } }
.problem-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500; letter-spacing: -0.028em; line-height: 1.04;
  color: var(--text); margin-top: 22px;
  text-wrap: balance;
}
.problem-left h2 .accent-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
}
.problem-right { display: flex; flex-direction: column; gap: 16px; }
.problem-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 26px 28px 24px;
  position: relative; overflow: hidden;
  transition: border-color .3s;
}
.problem-card:hover { border-color: var(--line-3); }
.problem-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--warn), transparent);
  opacity: 0.45;
}
.problem-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.problem-chip {
  padding: 3px 9px; border-radius: 999px;
  background: var(--bg-3); color: var(--text-3);
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line-2);
}
.problem-chip.warn { background: rgba(255,184,107,0.08); color: var(--warn); border-color: rgba(255,184,107,0.25); }
.problem-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 500; letter-spacing: -0.018em;
  color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.problem-card p {
  font-size: 14.5px; color: var(--text-2); line-height: 1.55;
  max-width: 50ch; text-wrap: pretty;
}

/* ============ AUTHORITY ============ */
.authority {
  padding: 130px 0 110px;
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(8,9,12,0.6) 20%, rgba(8,9,12,0.6) 80%, transparent);
}
.authority-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.authority-head { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 64px; }
@media (min-width: 1000px) { .authority-head { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: end; } }
.authority-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 0.98;
  color: var(--text); margin-top: 12px;
  text-wrap: balance;
}
.authority-head h2 .accent-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
}
.authority-lede {
  font-size: 16.5px; color: var(--text-2); line-height: 1.6;
  max-width: 58ch; text-wrap: pretty;
}
.authority-lede strong { color: var(--text); font-weight: 600; }

.authority-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 720px) { .authority-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .authority-grid { grid-template-columns: repeat(4, 1fr); } }
.auth-card {
  background: var(--surface); padding: 30px 28px 32px;
  min-height: 220px; display: flex; flex-direction: column;
  position: relative; transition: background .3s;
}
.auth-card:hover { background: var(--surface-2); }
.auth-num {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--accent); letter-spacing: 0.15em; margin-bottom: 22px;
}
.auth-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 500; letter-spacing: -0.015em;
  color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.auth-card p { font-size: 14px; color: var(--text-2); line-height: 1.55; max-width: 32ch; }

/* Credentials strip */
.creds {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 720px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.creds-item {
  background: var(--surface); padding: 22px 22px;
  display: flex; align-items: center; gap: 16px;
}
.creds-logo {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px; background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.creds-logo svg { width: 24px; height: 24px; }
.creds-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text);
}
.creds-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--text-3);
  letter-spacing: 0.04em; margin-top: 4px; line-height: 1.4;
}
.creds-badge {
  padding: 5px 10px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-2); letter-spacing: 0.06em;
}
.creds-badge.odoo-pill { background: rgba(143,74,157,0.1); color: #c584d1; border-color: rgba(143,74,157,0.3); }
.creds-badge.sf-pill { background: rgba(0,161,224,0.08); color: #4db8e0; border-color: rgba(0,161,224,0.25); }

/* ============ PRACTICES ============ */
.practices {
  padding: 140px 0 120px; position: relative;
  background: linear-gradient(180deg, transparent, rgba(8,9,12,0.5) 10%, rgba(8,9,12,0.7) 90%, transparent);
}
.practice {
  max-width: var(--max); margin: 0 auto 32px; padding: 42px var(--pad);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--surface); position: relative; overflow: hidden;
  margin-left: auto; margin-right: auto;
  max-width: calc(var(--max) - 0px);
}
.practice { margin-left: max(var(--pad), calc((100vw - var(--max)) / 2)); margin-right: max(var(--pad), calc((100vw - var(--max)) / 2)); }
.practice::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}
.practice-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
  padding-bottom: 28px; border-bottom: 1px dashed var(--line-2);
}
.practice-head-left { display: flex; align-items: center; gap: 20px; }
.practice-logo {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  display: grid; place-items: center; flex-shrink: 0;
}
.practice-logo svg { width: 36px; height: 36px; }
.practice-logo.odoo { background: rgba(143,74,157,0.08); border-color: rgba(143,74,157,0.3); }
.practice-logo.sf { background: rgba(0,161,224,0.08); border-color: rgba(0,161,224,0.3); }
.practice-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 0.95;
  color: var(--text); margin-top: 4px;
}
.practice-badges { display: flex; flex-wrap: wrap; gap: 6px; align-self: center; }

.practice-body { display: grid; grid-template-columns: 1fr; gap: 40px; }
.practice-intro { }
.practice-claim {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(19px, 1.8vw, 24px); font-weight: 400; line-height: 1.4;
  color: var(--text-2); max-width: 78ch; letter-spacing: -0.01em;
  text-wrap: pretty;
}
.practice-claim strong { color: var(--text); font-weight: 500; }

.practice-modules {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
@media (min-width: 820px) { .practice-modules { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.mod-col { display: flex; flex-direction: column; gap: 14px; }
.mod-col .mono { color: var(--accent); letter-spacing: 0.15em; }
.mod-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mod-list li {
  font-size: 14.5px; color: var(--text); line-height: 1.45;
  display: flex; align-items: center; gap: 10px;
}
.mod-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 4px var(--accent-dim);
}
.mod-list-alt li {
  padding: 10px 0; border-bottom: 1px dashed var(--line-2);
  font-size: 14px; color: var(--text-2);
}
.mod-list-alt li:last-child { border-bottom: 0; }

.practice-foot {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  padding-top: 28px; border-top: 1px solid var(--line);
  align-items: center;
}
@media (min-width: 820px) {
  .practice-foot { grid-template-columns: repeat(3, 1fr) auto; gap: 32px; }
}
.practice-stat { }
.practice-stat .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 2.8vw, 38px); font-weight: 500;
  letter-spacing: -0.028em; line-height: 1; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.practice-stat .n em { font-style: normal; color: var(--accent); }
.practice-stat .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: var(--text-3);
  letter-spacing: 0.08em; margin-top: 6px; line-height: 1.4;
}
.practice-cta { justify-self: start; }
@media (min-width: 820px) { .practice-cta { justify-self: end; } }

/* ============ RIVO (distinct) ============ */
.rivo-section {
  padding: 140px 0 130px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,240,186,0.08), transparent 70%),
    linear-gradient(180deg, rgba(11,26,21,0.5), rgba(11,26,21,0.2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.rivo-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,240,186,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,240,186,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}
.rivo-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.rivo-head {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 900px) { .rivo-head { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 40px; } }
.rivo-brand { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.rivo-mark {
  width: 72px; height: 72px; border-radius: 16px;
  background: linear-gradient(160deg, #0b1a15, #0f201a);
  border: 1px solid var(--accent-dim);
  display: grid; place-items: center;
  box-shadow: 0 20px 60px -20px rgba(124,240,186,0.35);
}
.rivo-mark svg { width: 40px; height: 40px; }
.rivo-brand h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 6vw, 80px); font-weight: 500;
  letter-spacing: -0.035em; line-height: 0.92; color: var(--text);
}
.rivo-tag {
  display: block; margin-top: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 1.4vw, 19px); color: var(--accent);
  font-weight: 400; letter-spacing: -0.005em;
}
.rivo-lede {
  margin-top: 24px; font-size: clamp(16px, 1.3vw, 18.5px);
  color: var(--text-2); line-height: 1.6; max-width: 58ch; text-wrap: pretty;
}
.rivo-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 900px) { .rivo-chips { justify-content: flex-start; } }
.rivo-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(124,240,186,0.08);
  border: 1px solid var(--accent-dim);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.08em;
}
.rivo-chip.ink { background: var(--bg-3); border-color: var(--line-2); color: var(--text-2); }
.ping-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 var(--accent);
  animation: ping 1.8s infinite;
}

/* Rivo product mock */
.rivo-mock {
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,240,186,0.05);
  overflow: hidden;
  margin-bottom: 48px;
}
.rivo-mock-head {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 18px; border-bottom: 1px solid var(--line-2);
  background: var(--bg);
}
.rivo-mock-dots { display: flex; gap: 6px; }
.rivo-mock-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.rivo-mock-dots span:nth-child(1) { background: #ff5f56; }
.rivo-mock-dots span:nth-child(2) { background: #ffbd2e; }
.rivo-mock-dots span:nth-child(3) { background: #27c93f; }
.rivo-mock-url {
  flex: 1; text-align: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--text-3); letter-spacing: 0.04em;
}
.rivo-mock-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--accent); letter-spacing: 0.1em;
}
.rivo-mock-body {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
@media (min-width: 900px) { .rivo-mock-body { grid-template-columns: 1fr 1.1fr; } }
.rivo-mock-left {
  padding: 32px 34px;
  border-bottom: 1px solid var(--line-2);
}
@media (min-width: 900px) { .rivo-mock-left { border-bottom: 0; border-right: 1px solid var(--line-2); } }
.rivo-mock-route {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 22px; border-bottom: 1px dashed var(--line-2);
  margin-bottom: 22px;
}
.rt-node { display: flex; align-items: center; gap: 10px; }
.rt-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-3); border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 1px var(--line-3);
}
.rt-dot.on { background: var(--accent); box-shadow: 0 0 0 1px var(--accent-dim), 0 0 10px var(--accent-dim); }
.rt-city {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.015em; color: var(--text);
}
.rt-sub {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--text-3); letter-spacing: 0.04em; margin-top: 2px;
}
.rt-line {
  flex: 1; height: 1px; background: var(--line-2);
  position: relative; overflow: hidden;
}
.rt-line span {
  position: absolute; top: 0; left: 0; height: 100%; width: 30%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: routeFlow 2.8s ease-in-out infinite;
}
@keyframes routeFlow {
  0% { left: -30%; }
  100% { left: 100%; }
}
.rivo-mock-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding-bottom: 22px; border-bottom: 1px dashed var(--line-2);
  margin-bottom: 22px;
}
.rms .k {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.rms .v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--text); margin-top: 6px; font-variant-numeric: tabular-nums;
}
.rms .v em { font-style: normal; color: var(--accent); font-size: 0.72em; margin-left: 2px; }
.rivo-mock-sparkwrap { }
.rms-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--text-3); letter-spacing: 0.06em; margin-bottom: 10px;
}
.rms-label .accent-ink { color: var(--accent); }
.rms-label .mono-dim { color: var(--text-4); }
.rivo-spark { width: 100%; height: 52px; display: block; }

.rivo-mock-right { padding: 32px 34px; }
.rivo-bids { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.bid {
  display: grid; grid-template-columns: 28px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 12px 14px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  transition: border-color .3s, background .3s;
}
.bid:hover { border-color: var(--line-3); }
.bid.winning { background: linear-gradient(90deg, rgba(124,240,186,0.12), rgba(124,240,186,0.02)); border-color: var(--accent-dim); }
.bid.dim { opacity: 0.55; }
.bid-rank {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-3); letter-spacing: 0.08em;
}
.bid.winning .bid-rank { color: var(--accent); }
.bid-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text); display: flex; align-items: center; gap: 8px;
  white-space: nowrap; flex-wrap: nowrap;
}
.bid-tp { min-width: 0; }
.bid-stars {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--warn); font-weight: 400;
}
.bid-sub {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-3); letter-spacing: 0.04em; margin-top: 3px;
}
.bid-amt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.bid-amt em { font-style: normal; color: var(--accent); font-size: 0.72em; }
.bid-status {
  padding: 4px 8px; border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  background: var(--accent); color: #001810; white-space: nowrap;
}
.bid-status.hold { background: var(--bg); color: var(--text-3); border: 1px solid var(--line-2); font-weight: 500; }
.bid-status.mute { background: transparent; color: var(--text-4); border: 1px dashed var(--line-2); }
.rivo-award {
  margin-top: 18px; width: 100%;
  padding: 13px 16px; border-radius: 10px;
  background: var(--accent); color: #001810;
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .3s var(--ease), background .3s;
  box-shadow: 0 10px 30px -10px var(--accent-dim);
}
.rivo-award:hover { transform: translateY(-1px); background: #8ff5c5; }

/* Rivo features */
.rivo-features {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 36px;
}
@media (min-width: 720px) { .rivo-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .rivo-features { grid-template-columns: repeat(4, 1fr); } }
.rf {
  background: var(--surface);
  padding: 28px 26px 26px;
  min-height: 180px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .3s;
}
.rf:hover { background: var(--surface-2); }
.rf-num {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--accent); letter-spacing: 0.15em; margin-bottom: 6px;
}
.rf h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: -0.015em;
  color: var(--text); line-height: 1.2;
}
.rf p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; max-width: 32ch; }
.rivo-cta-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}

/* ============ EXTENDED CAPABILITIES ============ */
.extended {
  padding: 90px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.extended-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.extended-head {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px;
  align-items: end;
}
@media (min-width: 900px) { .extended-head { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.extended-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 36px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.1; color: var(--text);
  text-wrap: balance; margin-top: 8px;
}
.extended-head h3 .dim-inline { color: var(--text-3); }
.extended-head p {
  font-size: 15px; color: var(--text-2); line-height: 1.55;
  max-width: 62ch; text-wrap: pretty;
}
.extended-row {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 720px) { .extended-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .extended-row { grid-template-columns: repeat(4, 1fr); } }
.ex {
  background: var(--surface);
  padding: 22px 22px;
  display: flex; align-items: center; gap: 16px;
  transition: background .3s;
}
.ex:hover { background: var(--surface-2); }
.ex-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0;
}
.ex-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text); line-height: 1.35;
}

/* ============ INDUSTRIES ============ */
.industries {
  padding: 140px 0 120px; position: relative;
  background: linear-gradient(180deg, transparent, rgba(8,9,12,0.5) 10%, rgba(8,9,12,0.7) 90%, transparent);
}
.industries-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 900px) { .industries-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ind {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 36px 34px 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, background .3s;
}
.ind:hover { border-color: var(--line-3); }
.ind-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px; margin-bottom: 22px;
}
.ind-pattern {
  width: 180px; height: 80px;
  border-radius: 10px; background: var(--bg-3);
  border: 1px solid var(--line-2);
  overflow: hidden; flex-shrink: 0;
}
.ind-pattern svg { width: 100%; height: 100%; display: block; }
.ind h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 40px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1; color: var(--text);
  margin-bottom: 14px;
}
.ind-body {
  font-size: 15px; color: var(--text-2); line-height: 1.55;
  max-width: 52ch; text-wrap: pretty; margin-bottom: 22px;
}
.ind-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.ind-list li {
  font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 10px;
}
.ind-list .check {
  color: var(--accent); font-weight: 600; font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.ind-foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: auto;
}
.ind-stat .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.2vw, 28px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.ind-stat .n em { font-style: normal; color: var(--accent); }
.ind-stat .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--text-3);
  letter-spacing: 0.06em; margin-top: 5px; line-height: 1.4;
}

.industries-also {
  max-width: var(--max); margin: 36px auto 0; padding: 0 var(--pad);
}
.industries-also .mono { color: var(--text-3); letter-spacing: 0.12em; font-size: 11px; display: block; margin-bottom: 14px; }
.industries-also-row {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.industries-also-row span {
  padding: 9px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--text-2);
}

/* ============ PLAN ============ */
.plan {
  padding: 120px 0 110px; border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.plan-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.plan-head { margin-bottom: 48px; max-width: 1000px; }
.plan-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.8vw, 64px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 0.98; color: var(--text);
  margin-top: 14px; text-wrap: balance;
}
.plan-head h2 .accent-text {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
}
.plan-steps {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 900px) { .plan-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.plan-step {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: border-color .3s, background .3s;
}
.plan-step:hover { border-color: var(--line-3); background: var(--surface-2); }
.plan-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px; font-weight: 400; letter-spacing: -0.04em;
  color: var(--line-3); line-height: 1; margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.plan-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 500; letter-spacing: -0.025em;
  color: var(--text); margin-bottom: 12px; line-height: 1.1;
}
.plan-body p {
  font-size: 15px; color: var(--text-2); line-height: 1.6;
  max-width: 42ch; text-wrap: pretty;
}
.plan-meta {
  margin-top: auto; padding-top: 20px;
  border-top: 1px dashed var(--line-2);
}
.plan-meta .mono { color: var(--accent); letter-spacing: 0.1em; font-size: 10.5px; }

/* ============ CTA STAKES ============ */
.cta-stakes {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-top: 28px;
}
@media (min-width: 820px) { .cta-stakes { grid-template-columns: 1fr 1fr; gap: 24px; } }
.stake-col {
  padding: 28px 28px 26px; border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.stake-col.bad { border-color: rgba(255,184,107,0.25); background: linear-gradient(160deg, rgba(255,184,107,0.05), var(--surface)); }
.stake-col.good { border-color: var(--accent-dim); background: linear-gradient(160deg, rgba(124,240,186,0.06), var(--surface)); }
.stake-col .mono { font-size: 11px; letter-spacing: 0.15em; margin-bottom: 18px; display: block; }
.stake-col.bad .mono { color: var(--warn); }
.stake-col.good .mono { color: var(--accent); }
.stake-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.stake-col li {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px); font-weight: 400;
  letter-spacing: -0.008em; color: var(--text); line-height: 1.4;
  padding-left: 22px; position: relative; text-wrap: pretty;
}
.stake-col.bad li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--warn); font-weight: 500;
}
.stake-col.good li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 500;
}


/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.nav-item { position: relative; }
.nav-item.has-dd > .nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text-2); font-weight: 400;
  cursor: pointer; user-select: none;
}
.nav-item.has-dd > .nav-trigger:hover { color: var(--text); }
.nav-item.has-dd > .nav-trigger svg {
  transition: transform .22s ease; opacity: .7;
}
.nav-item.has-dd:hover > .nav-trigger svg { transform: rotate(180deg); opacity: 1; }

.dd {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 340px;
  background: rgba(14, 18, 16, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(124, 240, 186, 0.04);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1000;
}
.dd::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 16px;
}
.dd-sm { min-width: 300px; }
.nav-item.has-dd:hover > .dd,
.nav-item.has-dd:focus-within > .dd {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dd-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 12px;
  border-radius: 8px;
  color: var(--text);
  transition: background .15s ease;
}
.dd-item:hover { background: rgba(124, 240, 186, 0.06); }
.dd-item-muted { padding: 10px 12px; }
.dd-icon {
  flex: 0 0 32px; width: 32px; height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.dd-icon svg { width: 20px; height: 20px; }
.dd-icon.odoo-bg { background: rgba(143, 74, 157, 0.15); }
.dd-icon.sf-bg { background: rgba(0, 161, 224, 0.15); }
.dd-icon.rivo-bg { background: rgba(124, 240, 186, 0.12); }
.dd-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 2px;
  display: flex; align-items: center; gap: 8px;
}
.dd-sub {
  font-size: 11.5px; color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.01em;
}
.dd-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(124, 240, 186, 0.12);
  color: var(--accent);
  letter-spacing: 0.05em;
}
.dd-sep {
  height: 1px; background: rgba(255,255,255,0.06);
  margin: 6px 10px;
}

/* ============================================================
   PRACTICE TEASERS (homepage trimmed)
   ============================================================ */
.practices-teaser {
  padding: 140px var(--pad) 120px;
  position: relative;
  border-top: 1px solid var(--line);
}

.pt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1320px;
  margin: 70px auto 0;
}

@media (max-width: 960px) {
  .pt-grid { grid-template-columns: 1fr; }
}

.pt-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 36px 32px;
  transition: transform .35s ease, border-color .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.pt-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(124,240,186,0.04), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.pt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 240, 186, 0.25);
  background: var(--panel-2);
}
.pt-card:hover::before { opacity: 1; }
.pt-odoo:hover { border-color: rgba(143, 74, 157, 0.35); }
.pt-odoo::before { background: radial-gradient(circle at 0% 0%, rgba(143,74,157,0.07), transparent 60%); }
.pt-sf:hover { border-color: rgba(0, 161, 224, 0.35); }
.pt-sf::before { background: radial-gradient(circle at 0% 0%, rgba(0,161,224,0.07), transparent 60%); }

.pt-card-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pt-logo {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.pt-logo.odoo { background: rgba(143, 74, 157, 0.08); border-color: rgba(143, 74, 157, 0.25); }
.pt-logo.sf { background: rgba(0, 161, 224, 0.08); border-color: rgba(0, 161, 224, 0.25); }
.pt-logo svg { width: 32px; height: 32px; }
.pt-title { flex: 1; }
.pt-title .mono {
  display: block; margin-bottom: 4px;
  font-size: 10.5px; color: var(--text-3);
  letter-spacing: 0.12em;
}
.pt-title h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0; line-height: 1;
}
.pt-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  padding: 6px 10px;
  border-radius: 5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pt-claim {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 22px;
  max-width: 52ch;
}
.pt-claim strong { color: var(--text); font-weight: 500; }

.pt-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 28px;
}
.pt-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.pt-tag-ghost { color: var(--text-3); background: transparent; }

.pt-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pt-stats {
  display: flex; gap: 28px;
}
.pt-stat .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.pt-stat .n em {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 400;
  font-style: normal;
  margin-left: 1px;
}
.pt-stat .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.pt-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px; font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.005em;
  transition: gap .2s ease;
}
.pt-more svg { transition: transform .2s ease; }
.pt-card:hover .pt-more { gap: 12px; }
.pt-card:hover .pt-more svg { transform: translate(2px, -2px); }


/* ============================================================
   PRACTICE PAGES (odoo.html, salesforce.html)
   ============================================================ */
.page-practice, .page-about, .page-work { padding-top: 0; }

/* ---------- Practice hero ---------- */
.ph-hero {
  padding: 140px var(--pad) 90px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.ph-hero-inner { max-width: 1320px; margin: 0 auto; }
.ph-crumbs {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-3);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}
.ph-crumbs a { color: var(--text-3); transition: color .2s; }
.ph-crumbs a:hover { color: var(--accent); }
.ph-sep { color: var(--text-3); opacity: 0.5; }
.ph-crumb-active { color: var(--text-2); }

.ph-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .ph-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.ph-badge-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.ph-platform-mark {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.ph-platform-mark.odoo { background: rgba(143, 74, 157, 0.1); border-color: rgba(143, 74, 157, 0.3); }
.ph-platform-mark.sf { background: rgba(0, 161, 224, 0.1); border-color: rgba(0, 161, 224, 0.3); }
.ph-platform-mark svg { width: 40px; height: 40px; }
.ph-eyebrow {
  display: block; font-size: 10.5px; color: var(--text-3);
  letter-spacing: 0.12em; margin-bottom: 4px;
}
.ph-platform-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 500; letter-spacing: -0.025em;
  color: var(--text); line-height: 1;
}

.ph-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0 0 28px;
  max-width: 18ch;
}
.ph-hero-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 0 36px;
}
.ph-hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.ph-hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ph-stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 20px;
  transition: border-color .3s, background .3s;
}
.ph-stat-card:hover {
  border-color: rgba(124, 240, 186, 0.3);
  background: var(--panel-2);
}
.ph-stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.ph-stat-n em {
  font-size: 18px;
  color: var(--text-3);
  font-style: normal;
  font-weight: 400;
  margin-left: 2px;
}
.ph-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  line-height: 1.35;
}

/* ---------- Modules section ---------- */
.ph-modules-sec, .ph-method, .ph-certs, .ph-cases, .ph-cta {
  padding: 120px var(--pad);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.ph-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 70px auto 0;
}
@media (max-width: 900px) {
  .ph-modules-grid { grid-template-columns: 1fr; }
}
.ph-mod-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 28px;
  transition: border-color .25s, transform .25s;
}
.ph-mod-card:hover {
  border-color: rgba(124, 240, 186, 0.25);
  transform: translateY(-3px);
}
.ph-mod-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.ph-mod-idx {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 500; letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.ph-mod-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 18px;
  line-height: 1.15;
}
.ph-mod-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ph-mod-list li {
  font-size: 13.5px;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.ph-mod-list li::before {
  content: ''; position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ---------- Methodology ---------- */
.ph-method-track {
  max-width: 900px;
  margin: 70px auto 0;
  position: relative;
  padding-left: 30px;
}
.ph-method-track::before {
  content: '';
  position: absolute;
  left: 10px; top: 20px; bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(124, 240, 186, 0.15));
  opacity: 0.4;
}
.ph-method-step {
  display: flex; gap: 28px;
  padding: 28px 0;
  position: relative;
}
.ph-method-step + .ph-method-step {
  border-top: 1px solid var(--line);
}
.ph-method-num {
  position: absolute;
  left: -30px; top: 32px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--accent);
  letter-spacing: 0;
}
.ph-method-body { flex: 1; padding-left: 24px; }
.ph-method-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 10px;
  display: flex; align-items: baseline; gap: 14px;
  flex-wrap: wrap;
}
.ph-method-dur {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  font-weight: 400;
}
.ph-method-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Certifications ---------- */
.ph-certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1320px;
  margin: 60px auto 0;
}
.ph-certs-grid-sf { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
@media (max-width: 900px) {
  .ph-certs-grid, .ph-certs-grid-sf { grid-template-columns: repeat(2, 1fr); }
}
.ph-cert-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color .25s, background .25s;
}
.ph-cert-card:hover {
  border-color: rgba(124, 240, 186, 0.25);
  background: var(--panel-2);
}
.ph-cert-logo {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.ph-cert-logo svg { width: 28px; height: 28px; }
.ph-cert-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 4px;
}
.ph-cert-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ---------- Case grid (practice page) ---------- */
.ph-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1320px;
  margin: 70px auto 40px;
}
@media (max-width: 980px) { .ph-case-grid { grid-template-columns: 1fr; } }

.ph-case {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.ph-case:hover {
  border-color: rgba(124, 240, 186, 0.25);
  transform: translateY(-3px);
}
.ph-case-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.ph-case-year { color: var(--text-3); opacity: 0.7; }
.ph-case h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 12px;
}
.ph-case p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 22px;
  flex: 1;
}
.ph-case-stats {
  display: flex; gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.ph-case-stats > div { flex: 1; }
.ph-case-stats .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 500; letter-spacing: -0.025em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.ph-case-stats .n em {
  font-size: 12px; font-style: normal; color: var(--text-3);
}
.ph-case-stats .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--text-3);
  letter-spacing: 0.08em;
}
.ph-case-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}

.ph-cases-more {
  display: flex; justify-content: center;
  max-width: 1320px; margin: 0 auto;
}

/* ---------- Practice CTA ---------- */
.ph-cta { border-bottom: none; background: var(--panel); }
.ph-cta-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .ph-cta-inner { grid-template-columns: 1fr; gap: 40px; } }

.ph-cta-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 18px 0 20px;
  max-width: 18ch;
}
.ph-cta-left p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 28px;
  max-width: 48ch;
}
.ph-cta-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.ph-cta-sig {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
  padding: 28px 28px;
}
.ph-cta-sig-line {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  font-style: italic;
}
.ph-cta-sig-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.ab-hero {
  padding: 140px var(--pad) 100px;
  border-bottom: 1px solid var(--line);
}
.ab-hero-inner { max-width: 1100px; margin: 0 auto; }
.ab-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 18px 0 30px;
  max-width: 16ch;
}
.ab-hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0;
}

.ab-principles {
  padding: 110px var(--pad);
  border-bottom: 1px solid var(--line);
}
.ab-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 60px auto 0;
}
@media (max-width: 900px) { .ab-principles-grid { grid-template-columns: 1fr; } }
.ab-principle {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 30px;
  transition: border-color .25s;
}
.ab-principle:hover { border-color: rgba(124, 240, 186, 0.25); }
.ab-principle-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.ab-principle h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.15;
}
.ab-principle p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}

/* ---------- Timeline ---------- */
.ab-timeline-sec {
  padding: 110px var(--pad);
  border-bottom: 1px solid var(--line);
}
.ab-timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding-left: 160px;
}
@media (max-width: 700px) { .ab-timeline { padding-left: 32px; } }
.ab-tl-rail {
  position: absolute;
  left: 155px;
  top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(124, 240, 186, 0.1));
  opacity: 0.4;
}
@media (max-width: 700px) { .ab-tl-rail { left: 10px; } }

.ab-tl-item {
  position: relative;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.ab-tl-item:first-child { border-top: none; }
.ab-tl-year {
  position: absolute;
  left: -160px; top: 22px;
  width: 120px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-align: right;
}
@media (max-width: 700px) {
  .ab-tl-year {
    position: static;
    text-align: left;
    width: auto;
    margin-bottom: 8px;
    font-size: 16px;
  }
}
.ab-tl-item::before {
  content: '';
  position: absolute;
  left: -12px; top: 28px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
}
@media (max-width: 700px) {
  .ab-tl-item::before { left: -27px; }
}
.ab-tl-now::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 240, 186, 0.2);
}
.ab-tl-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 8px;
}
.ab-tl-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  max-width: 58ch;
}
.ab-tl-body em { color: var(--text); font-style: italic; }

/* ---------- Team ---------- */
.ab-team {
  padding: 110px var(--pad);
  border-bottom: 1px solid var(--line);
}
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1320px;
  margin: 60px auto 0;
}
@media (max-width: 900px) { .ab-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ab-team-grid { grid-template-columns: 1fr; } }

.ab-member {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex; gap: 18px;
  align-items: flex-start;
  transition: border-color .25s;
}
.ab-member:hover { border-color: rgba(124, 240, 186, 0.25); }
.ab-member-avatar {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 240, 186, 0.15), rgba(74, 227, 255, 0.1));
  border: 1px solid rgba(124, 240, 186, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.ab-member-body { flex: 1; min-width: 0; }
.ab-member-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.ab-member-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.ab-member p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}

/* ============================================================
   WORK (case studies index)
   ============================================================ */
.wk-hero {
  padding: 140px var(--pad) 80px;
  border-bottom: 1px solid var(--line);
}
.wk-hero-inner { max-width: 1320px; margin: 0 auto; }
.wk-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 18px 0 28px;
  max-width: 18ch;
}
.wk-hero-lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 0 48px;
}

.wk-filter {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.wk-filter-group {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.wk-filter-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 8px;
  min-width: 70px;
}
.wk-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-2);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all .2s;
}
.wk-chip:hover {
  color: var(--text);
  border-color: rgba(124, 240, 186, 0.3);
}
.wk-chip.active {
  background: rgba(124, 240, 186, 0.08);
  border-color: rgba(124, 240, 186, 0.35);
  color: var(--accent);
}

.wk-grid-sec {
  padding: 80px var(--pad) 120px;
  border-bottom: 1px solid var(--line);
}
.wk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 900px) { .wk-grid { grid-template-columns: 1fr; } }

.wk-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 28px 22px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .3s;
}
.wk-card:hover {
  border-color: rgba(124, 240, 186, 0.3);
  transform: translateY(-3px);
}
.wk-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.wk-plat-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.mono-dim {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.wk-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 12px;
}
.wk-card-summary {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 20px;
}
.wk-card-stats {
  display: flex; gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.wk-card-stats > div { flex: 1; }
.wk-card-stats .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 500; letter-spacing: -0.025em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.wk-card-stats .n em {
  font-size: 13px; color: var(--text-3);
  font-style: normal; margin-left: 1px;
}
.wk-card-stats .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; color: var(--text-3);
  letter-spacing: 0.1em;
}
.wk-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 18px;
}
.wk-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.wk-card-nda {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}


/* ============================================================
   CAPABILITIES GRID (broad practice areas)
============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 48px;
}
.cap-card {
  background: var(--bg);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: background .25s ease;
  position: relative;
}
.cap-card:hover { background: rgba(255,255,255,0.015); }
.cap-card .cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}
.cap-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.25;
}
.cap-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  flex-grow: 1;
}
.cap-card .cap-tag {
  display: inline-flex;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}
@media (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INDUSTRIES COMPACT (chip row replacing full ind cards)
============================================================ */
.industries-compact .ind-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.industries-compact .ind-chip {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .25s ease, background .25s ease;
}
.industries-compact .ind-chip:hover {
  border-color: rgba(124,240,186,0.25);
  background: rgba(124,240,186,0.02);
}
.industries-compact .ind-chip-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 3px;
  flex-shrink: 0;
}
.industries-compact .ind-chip-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 6px;
}
.industries-compact .ind-chip-sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-3);
}
@media (max-width: 1100px) {
  .industries-compact .ind-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .industries-compact .ind-row { grid-template-columns: 1fr; }
}

/* ============================================================
   RIVO TEASER (compressed version)
============================================================ */
.rivo-section.rivo-teaser { padding-top: 90px; padding-bottom: 90px; }
.rivo-section.rivo-teaser .rivo-inner { padding: 0; }
.rivo-section.rivo-teaser .rivo-head {
  grid-template-columns: 1fr auto;
}

/* ============================================================
   CASES COMPACT (teaser cards linking to work.html)
============================================================ */
.cases-compact .case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.cases-compact .case-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.cases-compact .case-card:hover {
  border-color: rgba(124,240,186,0.3);
  background: rgba(124,240,186,0.02);
  transform: translateY(-2px);
}
.cases-compact .case-card-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.cases-compact .case-card-meta .mono {
  color: var(--accent);
  font-weight: 500;
}
.cases-compact .case-card-geo { color: var(--text-3); }
.cases-compact .case-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 26px;
  flex-grow: 1;
}
.cases-compact .case-card-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}
.cases-compact .case-card-results .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.cases-compact .case-card-results .n em {
  font-size: 15px;
  color: var(--text-3);
  font-weight: 400;
  font-style: normal;
  margin-left: 2px;
}
.cases-compact .case-card-results .l {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.cases-compact .case-card-more {
  display: inline-flex; align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px; font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.005em;
  padding-top: 4px;
  transition: gap .2s ease, letter-spacing .2s ease;
}
.cases-compact .case-card:hover .case-card-more {
  letter-spacing: 0.005em;
}
.cases-compact .cases-footer {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}
@media (max-width: 1000px) {
  .cases-compact .case-row { grid-template-columns: 1fr; gap: 16px; }
}


/* ============================================================
   NAV EXTERNAL LINK (Rivo)
============================================================ */
.nav-links .nav-external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
}
.nav-links .nav-external:hover { color: var(--accent); }

/* ============================================================
   WHAT WE DO — Apple-style pinned stacked cards
   Pattern: long track (600vh), sticky stage (100vh), cards zoom
   in/out based on scroll progress. JS writes --p to the section.
============================================================ */
.wwd {
  padding: 140px 0 40px;
  position: relative;
}
.wwd-intro {
  max-width: var(--max);
  margin: 0 auto 20px;
  padding: 0 var(--pad);
}
.wwd-track {
  position: relative;
  height: calc(100vh * var(--wwd-steps, 6));
}
.wwd-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  overflow: hidden;
}
.wwd-card {
  position: absolute;
  width: min(720px, 82vw);
  padding: 44px 44px 40px;
  background: linear-gradient(180deg, rgba(18,22,28,0.96), rgba(10,14,20,0.99));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.04) inset;
  transform-origin: center center;
  transform: translate3d(0, var(--ty, 0), 0) scale(var(--sc, 1));
  opacity: var(--op, 0);
  transition: none; /* driven by scroll */
  will-change: transform, opacity;
}
.wwd-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.wwd-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding: 6px 10px;
  border: 1px solid rgba(124,240,186,0.2);
  border-radius: 5px;
  background: rgba(124,240,186,0.04);
}
.wwd-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
.wwd-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 22px;
}
.wwd-desc {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.wwd-tags {
  display: inline-flex;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  width: 100%;
}

/* Progress rail */
.wwd-rail {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.wwd-rail-fill {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: var(--fill, 0%);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: translateX(-50%);
  transition: height .2s ease;
}
.wwd-rail-dots {
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  z-index: 1;
}
.wwd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-2);
  transition: background .2s ease, transform .2s ease;
}
.wwd-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 720px) {
  .wwd-card { padding: 32px 26px; width: 88vw; }
  .wwd-title { font-size: 30px; }
  .wwd-desc { font-size: 15.5px; }
  .wwd-rail { display: none; }
}

/* ============================================================
   WHY WESTACK — vertical drawing timeline
============================================================ */
.whytl {
  padding: 120px var(--pad) 120px;
  max-width: var(--max);
  margin: 0 auto;
}
.whytl-head { max-width: 780px; margin-bottom: 72px; }
.whytl-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 18px 0 24px;
}
.whytl-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.whytl-lede strong { color: var(--text); font-weight: 500; }
.whytl-track {
  position: relative;
  padding-left: clamp(48px, 7vw, 96px);
}
.whytl-line {
  position: absolute;
  left: clamp(16px, 2.4vw, 36px);
  top: 0;
  width: 4px;
  height: 100%;
  overflow: visible;
}
.whytl-line-draw {
  transition: stroke-dashoffset 0.15s linear;
}
.whytl-item {
  position: relative;
  padding: 22px 0 64px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.whytl-item.in {
  opacity: 1;
  transform: translateY(0);
}
.whytl-item:last-child { padding-bottom: 0; }
.whytl-node {
  position: absolute;
  left: calc(-1 * clamp(48px, 7vw, 96px));
  top: 22px;
  width: clamp(32px, 4.8vw, 72px);
  display: flex;
  justify-content: center;
}
.whytl-node span {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  transition: border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease);
}
.whytl-item.in .whytl-node span {
  border-color: var(--accent);
  color: var(--accent);
  background: linear-gradient(180deg, rgba(124,240,186,0.08), rgba(74,227,255,0.04));
}
.whytl-card {
  max-width: 62ch;
}
.whytl-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 12px;
}
.whytl-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  text-wrap: pretty;
}
.whytl .creds {
  margin-top: 80px;
}

/* ============================================================
   HOW WE WORK — horizontal cinematic
============================================================ */
.hww { background: var(--bg); position: relative; overflow: clip; } /* clip: no scroll container, sticky works */
.hww-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--pad) 60px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 28px;
}
.hww-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 8px 0 0;
}
.hww-head .eyebrow { align-self: start; }
.hww-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  white-space: nowrap;
}
.hww-wrap {
  height: 420vh; /* track length — 4 steps */
  position: relative;
}
.hww-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hww-track {
  display: flex;
  gap: 64px;
  padding: 0 10vw;
  will-change: transform;
}
.hww-step {
  flex: 0 0 auto;
  width: min(820px, 78vw);
  min-height: 60vh;
  display: grid;
  grid-template-columns: minmax(180px, 26%) 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 48px 56px;
  background: linear-gradient(160deg, rgba(18,22,28,0.92), rgba(10,14,20,0.96));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
.hww-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(96px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hww-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 10px 0 16px;
  color: var(--text);
}
.hww-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hww-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 30px;
  max-width: 52ch;
  text-wrap: pretty;
}
.hww-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hww-meta > div { display: flex; flex-direction: column; gap: 5px; }
.hww-meta .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hww-meta .v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hww-rail {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.hww-dot {
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--line-2);
  transition: background .25s ease, width .25s ease;
}
.hww-dot.active { background: var(--accent); width: 44px; }
@media (max-width: 900px) {
  .hww-head { grid-template-columns: 1fr; align-items: start; }
  .hww-pct { justify-self: start; }
  .hww-step { grid-template-columns: 1fr; padding: 36px 30px; }
  .hww-num { font-size: 80px; }
  .hww-body p { font-size: 15.5px; }
  .hww-meta { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SELECTED WORK — 2-up cards with animated counters + quote
============================================================ */
.sw {
  padding: 120px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.sw-head { max-width: 720px; margin-bottom: 64px; }
.sw-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 14px 0 20px;
}
.sw-blurb {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
}
.sw-blurb a {
  color: var(--accent);
  border-bottom: 1px solid rgba(124,240,186,0.3);
}
.sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.sw-case {
  display: flex; flex-direction: column;
  padding: 40px 38px 34px;
  background: linear-gradient(170deg, rgba(20,24,30,0.6), rgba(12,15,20,0.8));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.sw-case:hover {
  border-color: rgba(124,240,186,0.25);
  transform: translateY(-3px);
}
.sw-case-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.sw-case-top .mono {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.sw-loc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.sw-case-client {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sw-case-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 36px;
  text-wrap: balance;
}
.sw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.sw-stat { display: flex; flex-direction: column; gap: 8px; }
.sw-stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.sw-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  line-height: 1.4;
}
.sw-quote {
  position: relative;
  padding: 0 0 0 8px;
  margin: 0 0 32px;
}
.sw-qmark {
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 10px;
  display: block;
}
.sw-quote p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 14px;
  font-style: normal;
  text-wrap: pretty;
}
.sw-quote cite {
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.sw-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  transition: gap .2s ease;
}
.sw-link:hover { gap: 12px; }
.sw-footer {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .sw-grid { grid-template-columns: 1fr; }
  .sw-stats { grid-template-columns: 1fr 1fr; }
}
