/* ==========================================================================
   StratgenAI — redesign
   Warm paper editorial base, brand sparks (cobalt / rose / teal) reserved
   for product visuals, one dark "constellation" moment.
   ========================================================================== */

:root {
  /* Surfaces */
  --paper: #faf8f5;
  --sand: #f3efe9;
  --stone: #e7e1d9;
  --line: rgba(28, 22, 14, 0.1);
  --line-strong: rgba(28, 22, 14, 0.18);

  /* Ink */
  --ink: #0e0d0c;
  --graphite: #3f3b36;
  --smoke: #6b665f;
  --ash: #a39d95;

  /* Night (dark sections) */
  --night: #0c0c0e;
  --night-2: #151518;
  --night-3: #1d1d21;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-text: #f4f2ee;
  --night-muted: #a8a49e;

  /* Brand sparks — from the S mark */
  --cobalt: #2a5bff;
  --brand-blue: #0a55a7;
  --rose: #f0437e;
  --teal: #12a38f;
  --amber: #ffb547;
  --green: #22c55e;

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Shape & layout */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 148px);

  --shadow-whisper: 0 0 0 1px rgba(28, 22, 14, 0.06), 0 1px 2px rgba(28, 22, 14, 0.04), 0 8px 24px -12px rgba(28, 22, 14, 0.12);
  --shadow-float: 0 0 0 1px rgba(28, 22, 14, 0.05), 0 12px 40px -12px rgba(28, 22, 14, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 300; text-wrap: balance; }
.display {
  font-size: clamp(44px, 6.3vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h2 {
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.038em;
}
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 400; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--smoke); max-width: 36ch; text-wrap: pretty; }
.muted { color: var(--smoke); }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--smoke);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 32px 64px; }
.section-head .h2 { max-width: 18ch; }
.section-head p.muted { max-width: 42ch; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2825; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(14, 13, 12, .5); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); transform: translateY(-1px); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s; }
.text-link:hover { border-color: var(--ink); }
.text-link svg { width: 14px; height: 14px; }

/* Status dots */
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.dot-teal { background: var(--teal); box-shadow: 0 0 0 3px rgba(18, 163, 143, .18); }
.dot-blue { background: var(--cobalt); box-shadow: 0 0 0 3px rgba(42, 91, 255, .16); }
.dot-rose { background: var(--rose); box-shadow: 0 0 0 3px rgba(240, 67, 126, .16); }
.dot-amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 181, 71, .2); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6);
  font-size: 13px; font-weight: 500; color: var(--graphite); white-space: nowrap;
}
.chip small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); font-weight: 500; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 245, .78);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.brand img { width: 20px; height: auto; }
.brand b { font-weight: 600; }

.nav-desktop { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); }
.nav-desktop a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 450; color: var(--graphite); transition: background-color .2s, color .2s; }
.nav-desktop a:hover { background: #fff; color: var(--ink); }
.nav-desktop a.is-active { background: var(--ink); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 30px; font-weight: 300; letter-spacing: -0.03em; color: var(--ink);
  transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.mobile-menu nav a span { font-family: var(--font-mono); font-size: 12px; color: var(--ash); letter-spacing: .08em; }
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 16px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { font-size: 14px; color: var(--smoke); }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(120px, 14vw, 168px); padding-bottom: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, rgba(42, 91, 255, .08), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(240, 67, 126, .07), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); position: relative; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy .display { max-width: 12.5ch; }
.hero-copy .lead { max-width: 44ch; }

.announce {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-whisper); font-size: 13.5px; color: var(--graphite); font-weight: 450;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.announce:hover { transform: translateY(-1px); box-shadow: var(--shadow-float); }
.announce .arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; }
.announce .arrow svg { width: 13px; height: 13px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 8px; }
.hero-meta li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--smoke); }
.hero-meta b { font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: -0.03em; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: end; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-float); font-size: 13px; color: var(--graphite); white-space: nowrap;
  animation: bob 7s ease-in-out infinite;
}
.float-card b { color: var(--ink); font-weight: 500; }
.float-card .mono { font-family: var(--font-mono); font-size: 11px; color: var(--ash); letter-spacing: .04em; }
.float-card.fc-1 { top: 14%; left: -2%; }
.float-card.fc-2 { bottom: 18%; right: -2%; animation-delay: -2.5s; }
.float-card.fc-3 { bottom: 4%; left: 12%; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Stack marquee ---------- */
.stack { padding-block: 28px 8px; }
.stack-inner { display: flex; align-items: center; gap: 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.stack-inner .eyebrow { flex: none; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; gap: 10px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }

/* ==========================================================================
   Products
   ========================================================================== */
.products { display: grid; gap: 20px; }
.product {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(24px, 4vw, 56px);
  background: var(--sand); border-radius: var(--r-xl); padding: clamp(20px, 3.6vw, 48px);
  position: relative; overflow: hidden;
}
.product.reverse { grid-template-columns: 1.08fr 1fr; }
.product.reverse .product-copy { order: 2; }
.product-copy { display: flex; flex-direction: column; gap: 22px; padding: clamp(4px, 1.6vw, 20px); justify-content: center; }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 500; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.product-title { font-size: clamp(44px, 5.6vw, 76px); line-height: .95; letter-spacing: -0.05em; font-weight: 300; }
.product-tag { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.product-copy > p { color: var(--smoke); max-width: 48ch; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; padding-top: 4px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--graphite); line-height: 1.4; }
.feature-list svg { width: 18px; height: 18px; flex: none; margin-top: 0; color: var(--ink); }
.tool-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-chips span { font-family: var(--font-mono); font-size: 11.5px; padding: 5px 10px; border-radius: 6px; background: rgba(255, 255, 255, .7); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); }
.disclaimer { font-size: 12.5px; color: var(--smoke); display: flex; gap: 8px; align-items: center; }
.disclaimer svg { width: 14px; height: 14px; flex: none; }

.product-visual {
  position: relative; border-radius: var(--r-lg); min-height: 520px; overflow: hidden;
  display: grid; place-items: center; padding: clamp(16px, 3vw, 40px);
  background: #f7f3ee; isolation: isolate;
}
.orb { position: absolute; border-radius: 50%; filter: blur(30px); z-index: -1; will-change: transform; }
.orb-a { width: 78%; aspect-ratio: 1; top: -12%; left: -10%; animation: drift 18s ease-in-out infinite; }
.orb-b { width: 64%; aspect-ratio: 1; bottom: -18%; right: -12%; animation: drift 22s ease-in-out infinite reverse; }
.keiro .orb-a { background: radial-gradient(circle at 35% 35%, #8fb0ff, #2a5bff 45%, rgba(42, 91, 255, 0) 72%); opacity: .75; }
.keiro .orb-b { background: radial-gradient(circle at 60% 40%, #ffb3cb, #f0437e 45%, rgba(240, 67, 126, 0) 72%); opacity: .7; }
.bio .orb-a { background: radial-gradient(circle at 35% 35%, #a6f0e2, #12a38f 45%, rgba(18, 163, 143, 0) 72%); opacity: .7; }
.bio .orb-b { background: radial-gradient(circle at 60% 40%, #c4d3ff, #2a5bff 45%, rgba(42, 91, 255, 0) 72%); opacity: .55; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(6%, 4%) scale(1.05); } 66% { transform: translate(-4%, 6%) scale(.97); } }

/* Keirō chat mock */
.chat {
  width: 100%; max-width: 420px; background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 24px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 30px 60px -24px rgba(16, 24, 64, .35);
  overflow: hidden; display: flex; flex-direction: column;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.chat-avatar img { width: 14px; }
.chat-head b { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.chat-head span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--smoke); }
.chat-head .dot { width: 6px; height: 6px; }
.lang-pills { margin-left: auto; display: flex; gap: 4px; }
.lang-pills i { font-style: normal; font-size: 11px; font-weight: 500; padding: 3px 7px; border-radius: 999px; background: var(--sand); color: var(--graphite); }
.chat-body { height: 330px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%); mask-image: linear-gradient(180deg, transparent, #000 16%); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
.msg-user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg-bot { align-self: flex-start; background: var(--sand); color: var(--ink); border-bottom-left-radius: 6px; }
.msg small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; opacity: .55; margin-bottom: 3px; text-transform: uppercase; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 18px; border-bottom-left-radius: 6px; background: var(--sand); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--smoke); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-input { margin: 0 12px 12px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ash); }
.chat-input i { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.chat-input i svg { width: 15px; height: 15px; }

/* JS-driven chat sequence */
.js [data-chat] .msg, .js [data-chat] .typing { display: none; }
.js [data-chat] .msg.show { display: block; animation: msgIn .45s var(--ease) both; }
.js [data-chat] .typing.show { display: flex; animation: msgIn .3s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* BioCopilot workspace mock */
.bio-app {
  width: 100%; max-width: 460px; background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 30px 60px -24px rgba(8, 48, 44, .35);
  overflow: hidden;
}
.bio-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.win-dots { display: flex; gap: 5px; margin-right: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone); }
.file-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; padding: 5px 9px; border-radius: 8px; background: var(--sand); color: var(--graphite); white-space: nowrap; }
.file-chip svg { width: 12px; height: 12px; }
.bio-body { padding: 18px; display: grid; gap: 14px; }
.bio-q { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); line-height: 1.45; }
.bio-q .who { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 600; }
.bio-a { border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; display: grid; gap: 14px; }
.bio-a p { font-size: 13.5px; color: var(--graphite); line-height: 1.5; }
.bio-a p b { color: var(--ink); font-weight: 500; }
.fc-chart { display: grid; gap: 8px; }
.fc-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.fc-row { display: grid; grid-template-columns: 112px 1fr 38px; align-items: center; gap: 10px; font-size: 12.5px; }
.fc-row em { font-style: italic; color: var(--graphite); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-row span:last-child { font-family: var(--font-mono); font-size: 11px; color: var(--smoke); text-align: right; }
.fc-track { position: relative; height: 12px; }
.fc-track::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--line-strong); }
.fc-bar { position: absolute; top: 0; height: 100%; border-radius: 3px; width: calc(var(--w) * 50%); transform: scaleX(0); transition: transform 1.1s var(--ease); }
.fc-bar.pos { left: 50%; background: linear-gradient(90deg, #5fd3c0, var(--teal)); transform-origin: left; }
.fc-bar.neg { right: 50%; background: linear-gradient(270deg, #ff9fbf, var(--rose)); transform-origin: right; }
.is-visible .fc-bar, .no-motion .fc-bar { transform: scaleX(1); }
.fc-row:nth-child(3) .fc-bar { transition-delay: .08s; }
.fc-row:nth-child(4) .fc-bar { transition-delay: .16s; }
.fc-row:nth-child(5) .fc-bar { transition-delay: .24s; }
.fc-row:nth-child(6) .fc-bar { transition-delay: .32s; }
.cite { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 11.5px !important; color: var(--smoke) !important; border-top: 1px dashed var(--line-strong); padding-top: 12px; }
.cite span { font-family: var(--font-mono); font-size: 10.5px; }
.export-row { display: flex; gap: 6px; }
.export-row span { font-family: var(--font-mono); font-size: 10.5px; padding: 4px 8px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--graphite); }

/* CTA strip after products */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-radius: var(--r-xl); padding: clamp(24px, 3.6vw, 40px) clamp(24px, 4vw, 48px);
  background: var(--ink); color: var(--night-text);
}
.cta-strip h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; letter-spacing: -0.025em; }
.cta-strip p { color: var(--night-muted); font-size: 15px; margin-top: 6px; max-width: 52ch; }

/* ==========================================================================
   About statement
   ========================================================================== */
.about { padding-bottom: calc(var(--section) * .7); }
.statement {
  font-size: clamp(28px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 300; color: var(--ink);
  max-width: 24ch; margin-top: 28px; text-wrap: pretty;
}
.statement .w { transition: opacity .35s linear; }
.js .statement[data-scrub] .w { opacity: .16; }
.js .statement[data-scrub] .w.on { opacity: 1; }
.about-foot { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; margin-top: clamp(48px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.tagline { font-size: clamp(20px, 2vw, 26px); color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; max-width: 26ch; }
.stats { display: flex; gap: clamp(24px, 4vw, 56px); }
.stats div { display: grid; gap: 4px; }
.stats dt { font-size: clamp(40px, 4.4vw, 60px); font-weight: 300; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.stats dd { font-size: 13.5px; color: var(--smoke); }

/* ==========================================================================
   Approach
   ========================================================================== */
.approach { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.steps::after { background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.steps.is-visible::after, .no-motion .steps::after { transform: scaleX(1); }
.step { padding: 28px 28px 8px 0; display: grid; gap: 14px; align-content: start; position: relative; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--sand); box-shadow: inset 0 0 0 1.5px var(--ink); }
.step-num { font-family: var(--font-mono); font-size: 12px; color: var(--smoke); letter-spacing: .08em; }
.step h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; letter-spacing: -0.035em; }
.step p { font-size: 15px; color: var(--smoke); max-width: 30ch; }
.step-meta { font-family: var(--font-mono); font-size: 11px; color: var(--graphite); letter-spacing: .04em; padding-top: 6px; }

/* ==========================================================================
   Work — outcomes + testimonials
   ========================================================================== */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.outcome {
  display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-whisper); min-height: 320px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.outcome:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.outcome-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.outcome-top .badge { box-shadow: none; background: var(--sand); }
.outcome-idx { font-family: var(--font-mono); font-size: 12px; color: var(--ash); }
.outcome h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.12; margin-top: auto; }
.outcome .client { font-size: 14px; color: var(--smoke); display: flex; gap: 6px; align-items: center; }
.outcome .client svg { width: 14px; height: 14px; }
.results { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.results li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
.results li::before { content: "→"; color: var(--ash); }

.quotes-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: clamp(72px, 9vw, 120px) 0 32px; }
.quotes-head .h3 { font-weight: 300; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; }
.scroller-btns { display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); background: transparent;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.icon-btn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:disabled { opacity: .35; pointer-events: none; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  display: flex; flex-direction: column; gap: 28px; padding: 32px; border-radius: var(--r-md);
  background: var(--sand); position: relative;
}
.quote::before { content: "\201C"; font-family: var(--font-serif); font-size: 88px; line-height: .6; color: var(--ink); height: 32px; }
.quote blockquote { font-size: 17px; line-height: 1.55; color: var(--ink); letter-spacing: -0.005em; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 15px; flex: none; }
.av-1 { background: linear-gradient(135deg, #ffb547, #f0437e); }
.av-2 { background: linear-gradient(135deg, #2a5bff, #12a38f); }
.av-3 { background: linear-gradient(135deg, #f0437e, #2a5bff); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.3; }
.quote figcaption span span { font-size: 13px; color: var(--smoke); }

/* ==========================================================================
   Custom solutions
   ========================================================================== */
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.custom-copy { display: grid; gap: 24px; position: sticky; top: 112px; }
.custom-copy p { color: var(--smoke); max-width: 46ch; }
.custom-copy p strong { color: var(--ink); font-weight: 500; }
.custom-list { display: grid; }
.custom-item { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.custom-item:last-child { border-bottom: 1px solid var(--line); }
.custom-item .ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-whisper); color: var(--ink); }
.custom-item .ico svg { width: 22px; height: 22px; }
.custom-item h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.custom-item p { font-size: 15px; color: var(--smoke); max-width: 44ch; }

/* ==========================================================================
   Dark — Trust & security
   ========================================================================== */
.dark { background: var(--night); color: var(--night-muted); overflow: hidden; }
.dark h2, .dark h3 { color: var(--night-text); }
.dark .eyebrow { color: var(--night-muted); }
.dark .muted { color: var(--night-muted); }
.trust-canvas { position: absolute; top: 50%; right: -8%; width: min(900px, 80vw); aspect-ratio: 1; transform: translateY(-50%); opacity: .9; pointer-events: none; }
.trust-canvas canvas { width: 100%; height: 100%; }
.trust .container { position: relative; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--night-line); border-radius: var(--r-md); overflow: hidden; max-width: 860px; box-shadow: 0 0 0 1px var(--night-line); }
.trust-item { background: rgba(12, 12, 14, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 32px; display: grid; gap: 12px; align-content: start; }
.trust-item .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--night-3); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }
.trust-item .ico svg { width: 18px; height: 18px; }
.trust-item h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.015em; margin-top: 8px; }
.trust-item p { font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.member { display: grid; gap: 18px; align-content: start; }
.member-photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s var(--ease); filter: saturate(.9); }
.member:hover .member-photo img { transform: scale(1.035); filter: saturate(1.05); }
.member-photo .role {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 500; color: var(--ink);
}
.member h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 300; letter-spacing: -0.035em; }
.member p { font-size: 15px; color: var(--smoke); line-height: 1.6; }
.member-links { display: flex; gap: 8px; }
.member-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); transition: background-color .2s, color .2s, box-shadow .2s; }
.member-links a:hover { background: var(--ink); color: #fff; box-shadow: none; }
.member-links svg { width: 16px; height: 16px; }

/* ==========================================================================
   Culture
   ========================================================================== */
.culture { padding-top: 0; }
.reel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-bottom: 4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel::-webkit-scrollbar { display: none; }
.reel-item { flex: none; width: clamp(280px, 36vw, 500px); aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; scroll-snap-align: start; background: var(--stone); position: relative; }
.reel-item video { width: 100%; height: 100%; object-fit: cover; }
.reel-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { display: grid; gap: 20px; position: sticky; top: 112px; }
.faq-aside .note { padding: 24px; border-radius: var(--r-md); background: var(--sand); display: grid; gap: 12px; margin-top: 12px; max-width: 380px; }
.faq-aside .note p { font-size: 15px; color: var(--smoke); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink); font-weight: 400; letter-spacing: -0.01em; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .25s, box-shadow .25s; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background-color .25s; border-radius: 2px; }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .pm { background: var(--ink); box-shadow: none; }
.faq-item[open] summary .pm::before, .faq-item[open] summary .pm::after { background: #fff; }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .pm { box-shadow: inset 0 0 0 1px var(--ink); }
.faq-answer { padding: 0 56px 28px 0; color: var(--smoke); font-size: 15.5px; line-height: 1.65; }
.faq-item[open] .faq-answer { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  background: var(--night); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 72px);
  color: var(--night-muted); position: relative; overflow: hidden; isolation: isolate;
}
.contact-card::before {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; left: -18%; bottom: -40%; border-radius: 50%; z-index: -1; filter: blur(60px); opacity: .5;
  background: radial-gradient(circle, #2a5bff, rgba(42, 91, 255, 0) 65%);
}
.contact-card::after {
  content: ""; position: absolute; width: 40%; aspect-ratio: 1; left: 18%; bottom: -30%; border-radius: 50%; z-index: -1; filter: blur(60px); opacity: .35;
  background: radial-gradient(circle, #f0437e, rgba(240, 67, 126, 0) 65%);
}
.contact-copy { display: flex; flex-direction: column; gap: 24px; }
.contact-copy h2 { color: #fff; }
.contact-copy .lead { color: var(--night-muted); }
.contact-info { display: grid; gap: 16px; margin-top: auto; padding-top: 24px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--night-line); color: #fff; flex: none; }
.contact-info .ico svg { width: 17px; height: 17px; }
.contact-info small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 2px; }
.contact-info a, .contact-info address { color: #fff; font-style: normal; font-size: 15px; line-height: 1.5; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form { display: grid; gap: 14px; background: rgba(255, 255, 255, .04); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: inset 0 0 0 1px var(--night-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--night-muted); font-weight: 450; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .05);
  border: 1px solid var(--night-line); border-radius: 14px; padding: 14px 16px; outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .3); }
.field input:focus, .field textarea:focus { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(42, 91, 255, .25); }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--night-muted); text-align: center; }
.form-status { font-size: 14px; color: #8ef0c4; text-align: center; min-height: 1em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-top: clamp(64px, 8vw, 104px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 320px; }
.footer-brand p { font-size: 14.5px; color: var(--smoke); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--graphite); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--smoke); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--ink); }
.wordmark {
  font-size: clamp(64px, 19.5vw, 300px); font-weight: 300; letter-spacing: -0.07em; line-height: .78;
  color: var(--ink); text-align: center; white-space: nowrap; user-select: none;
  margin-bottom: -0.06em; padding-top: 8px;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(14, 13, 12, .12));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Product detail pages
   ========================================================================== */
.page-hero { padding-top: clamp(120px, 14vw, 160px); padding-bottom: clamp(48px, 6vw, 80px); }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--smoke); margin-bottom: 28px; transition: color .2s; }
.crumb:hover { color: var(--ink); }
.crumb svg { width: 14px; height: 14px; transform: rotate(180deg); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-grid .product-visual { min-height: 560px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 28px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-whisper); display: grid; gap: 12px; align-content: start; min-height: 220px; }
.feature-card .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; color: var(--ink); margin-bottom: 12px; }
.feature-card .ico svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.feature-card p { font-size: 15px; color: var(--smoke); }
.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; font-size: 16px; color: var(--ink); align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { border-radius: 16px; padding: 20px; background: #fff; box-shadow: var(--shadow-whisper); display: grid; gap: 6px; }
.tile small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.tile b { font-size: 17px; font-weight: 500; color: var(--ink); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
/* Above-the-fold content animates on load, never waits on an observer */
.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) both; }
.js .hero [data-reveal-delay="1"] { animation-delay: .08s; }
.js .hero [data-reveal-delay="2"] { animation-delay: .18s; }
.js .hero [data-reveal-delay="3"] { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 520px; margin-top: -8px; }
  .product, .product.reverse { grid-template-columns: 1fr; }
  .product.reverse .product-copy { order: 0; }
  .product-visual { min-height: 480px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .step { border-top: 1px solid var(--line-strong); }
  .outcomes { grid-template-columns: 1fr 1fr; }
  .outcome:last-child { grid-column: span 2; min-height: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .quotes {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { flex: none; width: min(460px, 72%); scroll-snap-align: start; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero-grid, .split-band { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --section: 72px; }
  body { font-size: 15.5px; }
  .header-inner { height: 64px; }
  .header-cta .btn-primary { display: none; }
  .section-head { margin-bottom: 32px; gap: 14px; }
  .section-head.split { grid-template-columns: 1fr; }
  .section-head p.muted { font-size: 15.5px; }

  /* Hero: the globe becomes an ambient backdrop behind the headline */
  .hero { padding-top: 92px; padding-bottom: 24px; }
  .hero::before { display: none; }
  .hero-grid { display: block; }
  .hero-copy { gap: 20px; position: relative; z-index: 1; }
  .hero-copy .display { font-size: 46px; }
  .hero-copy .lead { font-size: 16.5px; }
  .hero-visual {
    position: absolute; z-index: 0; top: -230px; right: -50%; width: 470px; max-width: none; margin: 0; pointer-events: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 95%); mask-image: radial-gradient(closest-side, #000 45%, transparent 95%);
  }
  .hero-visual canvas { opacity: .6; }
  .float-card { display: none; }
  .hero-copy .btn-row { width: 100%; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 12px; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line); }
  .hero-meta li { flex-direction: column; gap: 2px; font-size: 12.5px; }
  .stack { padding-top: 8px; }
  .stack-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; }
  .marquee { width: 100%; }

  /* Products: visual first, compact copy */
  .products { gap: 14px; }
  .product, .product.reverse { border-radius: 24px; padding: 8px; gap: 0; }
  .product .product-visual { order: -1; min-height: 0; padding: 22px 12px; border-radius: 18px; }
  .product-copy { padding: 22px 12px 14px; gap: 16px; }
  .product-title { font-size: 44px; }
  .product-tag { font-size: 21px; margin-top: 6px !important; }
  .product-copy > p { font-size: 15px; }
  .feature-list { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 0; }
  .feature-list li { align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.2; padding: 7px 11px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--line); }
  .feature-list svg { width: 14px; height: 14px; }
  .product .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
  .product .btn-row .btn { --h: 46px; padding: 0 10px; font-size: 14px; }
  .chat { border-radius: 20px; }
  .chat-body { height: 250px; padding: 14px; }
  .msg { font-size: 13.5px; }
  .bio-body { padding: 14px; }
  .bio-a { padding: 14px; }
  .fc-row { grid-template-columns: 92px 1fr 34px; gap: 8px; }
  .cta-strip { border-radius: 24px; padding: 24px 20px; }
  .cta-strip .btn { width: 100%; }

  .statement { font-size: 25px; line-height: 1.2; margin-top: 18px; }
  .js .statement[data-scrub] .w { opacity: .24; }
  .about-foot { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; padding-top: 24px; }
  .stats { justify-content: space-between; }
  .stats dt { font-size: 38px; }

  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 18px 0 24px 28px; gap: 10px; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; }
  .step::before { left: -5px; top: 24px; }
  .step:last-child { padding-bottom: 4px; }
  .step h3 { font-size: 26px; }

  .outcomes { grid-template-columns: 1fr; gap: 12px; }
  .outcome:last-child { grid-column: auto; }
  .outcome { min-height: 0; padding: 22px; gap: 12px; }
  .outcome h3 { margin-top: 8px; font-size: 23px; }

  .quotes-head { align-items: center; margin: 56px 0 20px; }
  .quote { width: 86%; padding: 22px; gap: 14px; }
  .quote::before { font-size: 64px; height: 22px; }
  .quote blockquote { font-size: 15px; }

  .custom-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .custom-copy, .faq-aside { position: static; gap: 18px; }
  .custom-item { padding: 20px 0; gap: 6px 16px; }
  .custom-item .ico { width: 44px; height: 44px; border-radius: 14px; }
  .custom-item h3 { font-size: 19px; }

  /* Trust: globe pushed off the headline, compact rows */
  .trust-canvas { top: -90px; right: -62%; width: 520px; transform: none; opacity: .35; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 20px; grid-template-columns: 40px 1fr; gap: 6px 14px; background: rgba(12, 12, 14, .94); }
  .trust-item .ico { grid-row: span 2; }
  .trust-item h3 { margin-top: 0; font-size: 17px; align-self: center; }
  .trust-item p { font-size: 14px; }

  /* Team: swipeable cards instead of three full-screen stacks */
  .team-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .member { flex: none; width: 80%; scroll-snap-align: start; gap: 12px; }
  .member-photo { aspect-ratio: 4 / 5; }
  .member h3 { font-size: 26px; }
  .member p { font-size: 14.5px; }

  .reel { gap: 10px; }
  .reel-item { width: 84vw; }
  .culture .scroller-btns { display: none; }
  .culture .quotes-head { margin-top: 0; }

  .faq-item summary { padding: 18px 0; font-size: 16.5px; gap: 16px; }
  .faq-answer { padding-right: 0; font-size: 15px; }

  .contact-card { grid-template-columns: 1fr; border-radius: 24px; padding: 28px 16px 16px; gap: 28px; }
  .contact-copy { padding-inline: 6px; gap: 18px; }
  .contact-info { padding-top: 4px; }
  .form { padding: 16px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; }

  .site-footer { padding-top: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; }

  .page-hero { padding-bottom: 32px; }
  .crumb { margin-bottom: 20px; }
  .page-hero-grid { gap: 28px; }
  .page-hero-grid .product-visual { min-height: 0; padding: 22px 12px; }
  .feature-grid, .tile-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 10px; }
  .feature-card { min-height: 0; padding: 22px; grid-template-columns: 44px 1fr; gap: 4px 14px; }
  .feature-card .ico { grid-row: span 2; margin-bottom: 0; }
  .feature-card h3 { font-size: 18px; align-self: center; }
  .feature-card p { font-size: 14.5px; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .hero-meta { gap: 8px 18px; }
  .lang-pills { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}
