/* ThinkTankBiz — static one-pager stylesheet */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2-variations"),
       url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #070B18;
  --navy-900: #0B1020;
  --navy-800: #121A33;
  --navy-700: #1C2647;
  --blue: #1200FF;          /* brand "BIZ" blue */
  --blue-hover: #2B1BFF;
  --blue-soft: #8F9BFF;     /* accent text on dark */
  --paper: #FFFFFF;
  --paper-2: #F4F5FA;
  --ink: #0B1020;
  --ink-muted: #4A5168;
  --on-dark: #FFFFFF;
  --on-dark-muted: #A9B0C7;
  --line-dark: rgba(255, 255, 255, .10);
  --line-light: #E2E5EF;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
address { font-style: normal; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 16, 32, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 128px; height: auto; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 500;
  border-radius: 999px; transition: color .2s;
}
.nav-menu a:not(.btn):hover { color: #fff; }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 12px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a:not(.btn) { min-height: 52px; font-size: 18px; color: #fff; padding: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
  .site-header.menu-open { background: var(--navy-900); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--on-dark);
  padding: 150px 0 56px;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: 48px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--on-dark-muted); font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.03);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-soft); box-shadow: 0 0 0 4px rgba(143,155,255,.18); }
.hero h1 {
  margin-top: 0;
  font-size: clamp(44px, 6.6vw, 84px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.02;
}
.hero h1 .hl { color: var(--blue-soft); }
.lead { margin-top: 26px; max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-muted); }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  --mx: 0; --my: 0;
  position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: end;
  display: grid; place-items: center;
}
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.10); }
.orbit-1 { inset: 0; animation: orbitIn 1.2s var(--ease) .2s both, spin 60s linear infinite; }
.orbit-2 { inset: 13%; border: 1px dashed rgba(143,155,255,.28); animation: orbitIn 1.2s var(--ease) .35s both, spin 38s linear infinite reverse; }
.orbit-3 { inset: 22%; border: 0; background: radial-gradient(circle, rgba(18,0,255,.45), rgba(18,0,255,0) 68%); animation: glow 5s ease-in-out infinite; }
.sat {
  position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-soft); box-shadow: 0 0 12px 2px rgba(143,155,255,.8);
}
.orbit-2 .sat { background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,.6); width: 6px; height: 6px; top: -3px; }
.orbit-2 .sat-b { top: auto; bottom: -3px; background: #F7A8D0; box-shadow: 0 0 10px 2px rgba(247,168,208,.7); }

.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.links path { fill: none; }
.links-base path { stroke: rgba(143,155,255,.32); stroke-width: .25; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.4s var(--ease) both; }
.links-base path:nth-child(1) { animation-delay: .7s; }
.links-base path:nth-child(2) { animation-delay: .85s; }
.links-base path:nth-child(3) { animation-delay: 1s; }
.links-base path:nth-child(4) { animation-delay: 1.15s; }
.links-pulse path { stroke: #C9D0FF; stroke-width: .55; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 100; opacity: 0; animation: pulse 3.2s linear infinite; filter: drop-shadow(0 0 1px rgba(143,155,255,.9)); }
.links-pulse path:nth-child(1) { animation-delay: 1.8s; }
.links-pulse path:nth-child(2) { animation-delay: 2.6s; }
.links-pulse path:nth-child(3) { animation-delay: 3.4s; }
.links-pulse path:nth-child(4) { animation-delay: 4.2s; }

.particles { position: absolute; inset: 20%; pointer-events: none; }
.particles i {
  position: absolute; bottom: 20%; width: 4px; height: 4px; border-radius: 50%;
  background: var(--blue-soft); opacity: 0; animation: rise 6s ease-in infinite;
}
.particles i:nth-child(1) { left: 18%; animation-delay: 0s; }
.particles i:nth-child(2) { left: 32%; animation-delay: 1.4s; width: 3px; height: 3px; background: #F7A8D0; }
.particles i:nth-child(3) { left: 50%; animation-delay: 2.6s; }
.particles i:nth-child(4) { left: 64%; animation-delay: .8s; width: 3px; height: 3px; background: #9FE6D2; }
.particles i:nth-child(5) { left: 78%; animation-delay: 3.6s; }
.particles i:nth-child(6) { left: 42%; animation-delay: 4.6s; width: 3px; height: 3px; background: #fff; }
.particles i:nth-child(7) { left: 70%; animation-delay: 5.2s; background: #F7A8D0; }

.brain-wrap {
  position: relative; width: 58%;
  translate: calc(var(--mx) * 10px) calc(var(--my) * 10px);
  animation: brainIn 1.3s var(--ease) .15s both;
}
.brain { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(18,0,255,.4)); animation: float 7s ease-in-out infinite; }

.chip {
  position: absolute;
  translate: calc(var(--mx) * var(--d, 22px)) calc(var(--my) * var(--d, 22px));
  animation: pop .8s cubic-bezier(.3,1.5,.5,1) both;
}
.chip > span {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(18, 26, 51, .85); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; color: #fff;
  animation: float 8s ease-in-out infinite;
}
.chip > span::before { content: ""; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--blue-soft); animation: blink 3.2s ease-in-out infinite; }
.chip-a { top: 9%; left: -4%; animation-delay: 1.1s; --d: 26px; }
.chip-a > span { animation-delay: -1s; }
.chip-b { top: 22%; right: -2%; animation-delay: 1.25s; --d: 34px; }
.chip-b > span { animation-delay: -3s; }
.chip-c { bottom: 18%; left: -8%; animation-delay: 1.4s; --d: 18px; }
.chip-c > span { animation-delay: -5s; }
.chip-d { bottom: 6%; right: 6%; animation-delay: 1.55s; --d: 30px; }
.chip-d > span { animation-delay: -2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes orbitIn { from { opacity: 0; scale: .7; } }
@keyframes glow { 0%, 100% { opacity: .75; scale: .95; } 50% { opacity: 1; scale: 1.08; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { stroke-dashoffset: 100; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-160px) scale(1.2); } }
@keyframes brainIn { from { opacity: 0; scale: .8; filter: blur(12px); } }
@keyframes pop { from { opacity: 0; scale: .6; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.facts {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.facts li { padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 6px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.facts strong { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.facts span { font-size: 14px; color: var(--on-dark-muted); }

@media (max-width: 960px) {
  .hero { padding-top: 124px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 380px; margin-top: 12px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .chip > span { font-size: 12px; padding: 7px 12px; }
  .chip-a { left: 0; } .chip-c { left: 0; } .chip-b { right: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2, .contact h2 { margin-top: 18px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 750; }
.body { color: var(--ink-muted); font-size: 18px; }

/* ---------- Founder ---------- */
.founder { background: var(--paper-2); }
.founder-inner { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.founder-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(11, 16, 32, .78); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.founder-photo figcaption strong { font-size: 17px; }
.founder-photo figcaption span { font-size: 14px; color: var(--on-dark-muted); }
.founder blockquote { margin: 22px 0 0; }
.founder blockquote p { font-size: clamp(24px, 2.7vw, 34px); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.founder .body { margin-top: 24px; max-width: 600px; }
.signature { margin-top: 24px; font-weight: 700; color: var(--blue); }
@media (max-width: 860px) {
  .founder-inner { grid-template-columns: 1fr; }
  .founder-photo { max-width: 440px; }
}

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 34px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line-light);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 24px 48px -24px rgba(18, 0, 255, .35); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card .icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: #ECEBFF; color: var(--blue);
}
.card .icon svg { width: 26px; height: 26px; }
.card .num { font-size: 14px; font-weight: 700; color: #6B7189; font-variant-numeric: tabular-nums; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { color: var(--ink-muted); font-size: 16px; }

.services-dark { background: var(--navy-900); color: var(--on-dark); }
.services-dark .kicker { color: var(--blue-soft); }
.services-dark .card { background: var(--navy-800); border-color: var(--line-dark); }
.services-dark .card:hover { border-color: var(--blue-soft); box-shadow: 0 24px 48px -24px rgba(18, 0, 255, .6); }
.services-dark .card .icon { background: rgba(143, 155, 255, .12); color: var(--blue-soft); }
.services-dark .card .num { color: #8A91AB; }
.services-dark .card p { color: var(--on-dark-muted); }

@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cards-4 { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact .body { margin-top: 22px; max-width: 460px; }
.contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; background: var(--navy-900); color: #fff;
}
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list .label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #6B7189; margin-bottom: 4px; }
.contact-list a { color: var(--blue); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 4vw, 40px); border-radius: 24px;
  background: var(--paper); border: 1px solid var(--line-light);
  box-shadow: 0 30px 60px -40px rgba(11, 16, 32, .35);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: #6B7189; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; min-height: 52px;
  border: 1px solid #CDD2E0; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 0, 255, .14); }
.field input[aria-invalid="true"] { border-color: #C4202B; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 15px; font-weight: 600; }
.form-status.ok { color: #0F7A3D; }
.form-status.err { color: #B3141F; }
.contact-form button[disabled] { opacity: .65; cursor: progress; }
@media (max-width: 860px) { .contact-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer-brand img { width: 128px; }
.footer-brand p { margin-top: 18px; max-width: 280px; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-col address { margin-bottom: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-dark-muted); text-decoration: none; }
.to-top:hover { color: #fff; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--blue); color: #fff; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font-size: clamp(22px, 3vw, 36px); font-weight: 750; letter-spacing: -0.02em; white-space: nowrap; padding: 0 28px; }
.marquee span:nth-child(4n+3) { font-family: "Unbounded", var(--font); font-weight: 600; font-size: clamp(20px, 2.7vw, 32px); letter-spacing: .05em; color: var(--blue); -webkit-text-stroke: 3px #fff; paint-order: stroke fill; }
.marquee i { width: 12px; height: 12px; flex: none; background: #fff; rotate: 45deg; border-radius: 2px; }

/* ---------- Card spotlight ---------- */
.card { overflow: hidden; isolation: isolate; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(18, 0, 255, .08), transparent 60%);
}
.services-dark .card::before { background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(143, 155, 255, .16), transparent 60%); }
.card:hover::before { opacity: 1; }
.card .icon { transition: transform .5s var(--ease); }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.js .card.reveal { transform: translateY(48px) scale(.97); }
.js .card.reveal.is-visible { transform: none; }

/* split headlines: word by word */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js [data-split].is-visible .w > span { transform: none; }

/* kicker line grows */
.js .kicker::before { width: 0; transition: width .8s var(--ease) .2s; }
.js .is-visible .kicker::before, .js .kicker.is-visible::before { width: 24px; }

/* founder photo wipe */
.reveal-clip picture { display: block; border-radius: var(--radius); overflow: hidden; }
.js .reveal-clip picture { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.3s var(--ease); }
.js .reveal-clip img { scale: 1.18; transition: scale 1.6s var(--ease); }
.js .reveal-clip figcaption { opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease) .9s, translate .7s var(--ease) .9s; }
.js .reveal-clip.is-visible picture { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .reveal-clip.is-visible img { scale: 1; }
.js .reveal-clip.is-visible figcaption { opacity: 1; translate: 0 0; }

/* quote: words light up while scrolling */
.js [data-scrub] .sw { opacity: .16; transition: opacity .25s linear; }
.js [data-scrub] .sw.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-clip picture, .js .reveal-clip img, .js .reveal-clip figcaption { opacity: 1; transform: none; filter: none; clip-path: none; scale: 1; translate: none; }
  .js [data-split] .w > span { transform: none; }
  .js [data-scrub] .sw { opacity: 1; }
  .js .kicker::before { width: 24px; }
  .links-base path { stroke-dashoffset: 0; }
}
