/* ============================================================
   NEWMIND PARTNERS — homepage design system (v29)
   Reference: Studiora (Webflow) — violet / lime / blush palette,
   Space Grotesk headings, Manrope body, sticky stacking sections.
   ============================================================ */

:root {
  --violet: #5648e4;
  --lime: #befb7c;
  --blush: #fcf0f0;
  --black: #040404;
  --white: #ffffff;
  --stroke: #bbbbbb;
  --stroke-soft: rgba(4, 4, 4, 0.12);
  --stroke-light: rgba(255, 255, 255, 0.22);
  --ink-soft: rgba(4, 4, 4, 0.72);
  --white-soft: rgba(255, 255, 255, 0.82);

  --font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --h1: clamp(52px, 7.1vw, 104px);
  --h2: clamp(44px, 6.6vw, 96px);
  --h4: clamp(32px, 4.4vw, 64px);
  --h6: clamp(22px, 2.2vw, 32px);
  --body: 16px;
  --body-large: 18px;
  --body-small: 14px;

  --container: 1280px;
  --pad: 40px;
  --section: clamp(80px, 9vw, 120px);
  --radius: 18px;
  --pill: 100px;
  --header-h: 96px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--violet);
  color: var(--black);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 500; color: var(--black); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- type scale ---------- */
.h1 { font-family: var(--font-head); font-size: var(--h1); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.h4 { font-family: var(--font-head); font-size: var(--h4); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em; }
.h6 { font-family: var(--font-head); font-size: var(--h6); line-height: 1.3; font-weight: 500; letter-spacing: -0.03em; }
.upper { text-transform: uppercase; }
.text-white { color: var(--white); }
.text-lime { color: var(--lime); }
.text-large { font-size: var(--body-large); line-height: 1.6; }

/* SplitText (GSAP) sets its own display values on lines/chars and their masks —
   do not style .split-line / .split-char or line wrapping diverges from the measured split. */

/* ---------- backgrounds & stacking ---------- */
.bg-white { background: var(--white); }
.bg-blush { background: var(--blush); }
.bg-violet { background: var(--violet); }
main > section { position: relative; }
.is-sticky, .section-sticky { position: sticky; top: 0; }
.section-regular { position: relative; z-index: 1; }
.section-sticky { z-index: 1; }
.section-regular, .section-sticky { padding: var(--section) 0; }
/* the hero pins at 0: the shrinking header would otherwise leave a gap above it */
.hero.is-sticky { top: 0; }

/* ---------- subtitle / eyebrow ---------- */
.subtitle-wrap {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--body);
  color: var(--white);
}
.subtitle-wrap .subtitle-icon { width: 18px; height: 18px; color: var(--lime); flex: none; }
.subtitle-wrap--dark { color: var(--black); }
.subtitle-wrap--dark .subtitle-icon { color: var(--violet); }
.subtitle-wrap--light .subtitle-icon { color: var(--lime); }

/* ---------- pill buttons (Studiora button-wrapper) ---------- */
.pill-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-head); font-weight: 500; font-size: var(--body); line-height: 1.4;
  color: var(--white); text-decoration: none; white-space: nowrap;
  --pill-bg: var(--violet); --pill-fg: var(--white);
}
.pill-btn-main {
  background: var(--pill-bg); color: var(--pill-fg);
  border-radius: var(--pill); padding: 18px 32px;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.pill-btn-arrow {
  width: 58px; aspect-ratio: 1; flex: none;
  display: grid; place-items: center;
  background: var(--pill-bg); color: var(--pill-fg); border-radius: var(--pill);
  overflow: hidden; position: relative;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.pill-btn-arrow svg { width: 22px; height: 22px; transition: transform .35s var(--ease-out); }
.pill-btn:hover .pill-btn-arrow svg, .pill-btn:focus-visible .pill-btn-arrow svg { transform: translate(3px, -3px) rotate(0.001deg); }
.pill-btn:hover .pill-btn-arrow { transform: translateX(4px); }
.pill-btn--lime { --pill-bg: var(--lime); --pill-fg: var(--black); }
.pill-btn--violet { --pill-bg: var(--violet); --pill-fg: var(--white); }
.pill-btn--violet:hover .pill-btn-main, .pill-btn--violet:hover .pill-btn-arrow { background: var(--black); }
.pill-btn--lime:hover .pill-btn-main, .pill-btn--lime:hover .pill-btn-arrow { background: var(--white); }
.pill-btn--ghost { --pill-bg: transparent; --pill-fg: var(--hero-ink, var(--white)); }
.pill-btn--ghost .pill-btn-main, .pill-btn--ghost .pill-btn-arrow { box-shadow: inset 0 0 0 1.5px var(--hero-ink-soft, rgba(255,255,255,.6)); }
.pill-btn--ghost:hover .pill-btn-main, .pill-btn--ghost:hover .pill-btn-arrow { background: var(--white); color: var(--black); box-shadow: none; }
.pill-btn--outline { --pill-bg: transparent; --pill-fg: var(--black); }
.pill-btn--outline .pill-btn-main, .pill-btn--outline .pill-btn-arrow { box-shadow: inset 0 0 0 1.5px var(--black); }
.pill-btn--outline:hover .pill-btn-main, .pill-btn--outline:hover .pill-btn-arrow { background: var(--black); color: var(--white); }
.pill-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: var(--pill); }
.pill-btn--submit { justify-content: center; width: 100%; }
.pill-btn--submit .pill-btn-main { width: 100%; text-align: center; }
.pill-btn[disabled] { opacity: .6; pointer-events: none; }

/* text CTA — uppercase inline link with animated underline */
.text-cta {
  display: inline-block; position: relative;
  font-family: var(--font-head); font-weight: 500; font-size: var(--body);
  text-transform: uppercase; letter-spacing: .02em; color: var(--black);
  padding-bottom: 4px;
}
.text-cta::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform .45s var(--ease-out);
}
.text-cta:hover::after { transform: scaleX(0); transform-origin: right; animation: cta-underline .9s var(--ease-out) forwards; }
@keyframes cta-underline { 0% { transform: scaleX(1); transform-origin: right; } 50% { transform: scaleX(0); transform-origin: right; } 51% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.text-cta--white { color: var(--white); }
.text-cta--lime { color: var(--lime); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
/* neutral frosted glass once the page scrolls under it — dark enough to keep the
   white menu readable over the light sections, never a violet block */
.site-header.scrolled {
  background: rgba(14, 12, 34, 0.42);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(4, 4, 4, .22);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header-h); transition: height .3s var(--ease-out); }
.site-header.scrolled .nav { height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 200px; height: auto; mix-blend-mode: normal; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { position: relative; color: var(--white); font-weight: 500; font-size: var(--body); padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions .pill-btn-main { padding: 14px 26px; }
.nav-actions .pill-btn-arrow { width: 50px; }
.mobile-menu { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); position: relative; }
.mobile-menu span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--black); transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.mobile-menu span:first-child { top: 19px; } .mobile-menu span:last-child { top: 27px; }
body.mobile-nav-open .mobile-menu span:first-child { top: 23px; transform: rotate(45deg); }
body.mobile-nav-open .mobile-menu span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  /* timelapse palette — home-motion.js tweens these from day (violet) to night */
  --hero-bg-a: #5648e4;
  --hero-bg-b: #4a3dd6;
  --hero-glow: #7b6ff5;
  --hero-ink: #ffffff;
  --hero-ink-soft: rgba(255, 255, 255, 0.82);
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + clamp(24px, 3vh, 56px)) 0 clamp(88px, 11vh, 140px);
  background:
    radial-gradient(110% 80% at 82% 8%, var(--hero-glow), transparent 62%),
    linear-gradient(160deg, var(--hero-bg-a) 0%, var(--hero-bg-b) 100%);
  color: var(--hero-ink);
  overflow: hidden; z-index: 0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(38% 46% at 72% 38%, rgba(190, 251, 124, 0.16), transparent 70%),
    radial-gradient(42% 50% at 88% 78%, rgba(255, 255, 255, 0.10), transparent 72%),
    radial-gradient(50% 60% at 18% 90%, rgba(63, 51, 196, 0.55), transparent 70%);
  filter: blur(40px);
  animation: aurora-drift 26s var(--ease-in-out) infinite alternate;
}
@keyframes aurora-drift { from { transform: translate3d(-2%, -1%, 0) rotate(-2deg); } to { transform: translate3d(2%, 2%, 0) rotate(2deg); } }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--hero-bg-b) 0%, transparent 58%),
    linear-gradient(180deg, var(--hero-bg-b) 0%, transparent 28%, transparent 66%, var(--hero-bg-b) 100%);
  opacity: 0.55;
}
.hero-stack { position: relative; display: flex; flex-direction: column; gap: clamp(36px, 5.5vh, 64px); }
.hero-top { display: flex; align-items: center; gap: 24px; }
.hero-top .subtitle-wrap { margin-bottom: 0; }
.hero-h1 { display: flex; flex-direction: column; gap: 10px; font-size: var(--h1); line-height: .94; font-weight: 700; letter-spacing: -0.045em; color: var(--hero-ink); text-transform: uppercase; }
.hero-line-wrap { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 14px; }
.hero-line-wrap--lime { align-items: center; gap: .06em; }
.hero-line, .hero-word { display: inline-block; }
/* animated brand-colour gradient on the accent line (ported from the requested
   colour-cycling title effect, adjusted to lime / light-violet / white) */
.hero-line-wrap--lime .hero-word {
  /* palindrome gradient (starts and ends lime) shifted by exactly one tile
     width, so the loop has no visible seam */
  background: linear-gradient(90deg,
    var(--lime) 0%, #eaffb0 15%, #ffffff 30%, #b9a9ff 45%, #8f7dff 55%, #b9a9ff 70%, #ffffff 85%, var(--lime) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: title-flow 9s linear infinite;
}
@keyframes title-flow { from { background-position: 0% center; } to { background-position: -200% center; } }

/* animated colour cycle highlighting the rotating service word — a gradient
   text-clip renders the char-split word invisible, so animate solid colour */
.hero-rotator .hero-rotator-word { color: #ffffff; animation: rotator-hue 6s ease-in-out infinite; }
@keyframes rotator-hue {
  0%, 100% { color: #ffffff; }
  30% { color: #8fe9ff; }
  55% { color: #4ad6ff; }
  80% { color: var(--lime); }
}
/* used by the statement accent line */
@keyframes title-flow-2 { from { background-position: 0% center; } to { background-position: -200% center; } }
/* rotating last word: words stack in one clipped box, only the active one shows */
.hero-rotator { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; }
.hero-rotator-word { display: inline-block; white-space: nowrap; }
.hero-rotator-word:not(.is-active) { position: absolute; left: 0; top: 0; visibility: hidden; }
.hero-rotator.is-live .hero-rotator-word { position: absolute; left: 0; top: 0; visibility: visible; }
.hero-rotator.is-live .hero-rotator-word.is-active { position: relative; }
.hero-plus {
  display: inline-grid; place-items: center;
  width: .78em; height: .78em; margin: 0 .04em; padding-bottom: .06em;
  font-weight: 400; line-height: 1; color: var(--hero-ink);
  border: 3px solid var(--lime); border-radius: 50%;
  box-shadow: 0 0 18px rgba(190, 251, 124, .25);
  text-shadow: 0 0 24px rgba(190, 251, 124, .55);
  transform-origin: 50% 50%;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  position: relative; z-index: 3;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.hero-plus:hover { background: rgba(190, 251, 124, .12); }
.hero-plus.is-dragging { cursor: grabbing; background: var(--lime); color: var(--black); text-shadow: none; box-shadow: 0 0 44px rgba(190, 251, 124, .7); }
.hero-drag-hint { align-self: center; margin-left: .3em; font-family: var(--font-body); font-size: var(--body-small); font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--lime); opacity: .85; transition: opacity .4s var(--ease-out); }
.hero-drag-hint.is-hidden { opacity: 0; }
.title-circles { display: inline-flex; align-items: center; padding-bottom: .22em; }
.title-circles .circle { width: .26em; height: .26em; border-radius: 50%; border: 2px solid var(--white); }
.title-circles .circle--filled { background: var(--white); margin-right: -4px; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 112px); align-items: end; margin-top: clamp(12px, 2vh, 32px); }
.hero-actions { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 14px 22px; }
/* compact single-pill hero buttons — small, inline arrow, no separate circle */
.hero-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: var(--body-small); line-height: 1; white-space: nowrap; border-radius: var(--pill); transition: background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.hero-btn svg { width: 15px; height: 15px; flex: none; transition: transform .35s var(--ease-out); }
.hero-btn:hover svg { transform: translate(2px, -2px); }
.hero-btn--lime { padding: 12px 20px; background: var(--lime); color: var(--black); }
.hero-btn--lime:hover { background: var(--white); }
.hero-btn--text { padding: 12px 4px; color: var(--hero-ink); }
.hero-btn--text::after { content: none; }
.hero-btn--text:hover { color: var(--lime); }
.hero-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.hero-actions .scroll-down { margin-left: 6px; }
.hero-lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--hero-ink); font-weight: 500; }
.hero .subtitle-wrap { color: var(--hero-ink); }
.scroll-down { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; color: var(--hero-ink); box-shadow: inset 0 0 0 1.5px var(--hero-ink-soft); transition: transform .3s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out); }
.scroll-down svg { width: 18px; height: 18px; animation: nudge 2.4s var(--ease-in-out) infinite; }
.scroll-down:hover { background: var(--lime); color: var(--black); box-shadow: none; transform: translateY(4px); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- who we are ---------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.who-left .subtitle-wrap { margin-bottom: 40px; }

/* ---------- team deck (Who we are) ---------- */
.team-deck { width: min(100%, 380px); }
.team-stack { position: relative; height: 380px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.team-stack.is-grabbing { cursor: grabbing; }
.team-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--radius); color: var(--white); overflow: hidden;
  background: linear-gradient(150deg, var(--tc-a, #5648e4), var(--tc-b, #3b2dc2));
  box-shadow: 0 24px 60px rgba(20, 16, 60, 0.32);
  transform-origin: 50% 100%; will-change: transform, opacity;
}
.team-portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; pointer-events: none; -webkit-user-drag: none; user-drag: none; }
/* scrim so the name/role stay readable over the portrait */
.team-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,32,0) 34%, rgba(12,10,32,0.55) 66%, rgba(12,10,32,0.9) 100%); pointer-events: none; }
.team-card--1 { --tc-a: #6a5bff; --tc-b: #3b2dc2; }
.team-card--2 { --tc-a: #7a49d8; --tc-b: #2a1c78; }
.team-card--3 { --tc-a: #4a5bff; --tc-b: #1f2a8a; }
.team-card--4 { --tc-a: #8a5cf0; --tc-b: #3a1f7a; }
.team-card--5 { --tc-a: #5648e4; --tc-b: #201a5e; }
.team-card--6 { --tc-a: #4636c0; --tc-b: #14112f; }
.team-index { position: absolute; top: 18px; right: 20px; z-index: 2; font-family: var(--font-mono, ui-monospace, monospace); font-size: var(--body-small); letter-spacing: .12em; color: var(--lime); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.team-card-body { position: relative; z-index: 2; padding: 24px; }
.team-card-body h3 { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--white); margin-bottom: 4px; }
.team-role { font-weight: 600; font-size: var(--body-small); color: var(--lime); margin-bottom: 8px; }
.team-line { font-size: var(--body-small); line-height: 1.5; color: var(--white-soft); max-width: 32ch; }
/* static fallback (no JS / reduced motion): a fanned stack, front card readable */
.team-card:nth-child(1) { transform: translateY(0) scale(1); opacity: 1; z-index: 6; }
.team-card:nth-child(2) { transform: translateY(14px) scale(0.95) rotate(-3deg); opacity: 0.6; z-index: 5; }
.team-card:nth-child(3) { transform: translateY(26px) scale(0.9) rotate(3deg); opacity: 0.32; z-index: 4; }
.team-card:nth-child(n+4) { transform: translateY(26px) scale(0.9); opacity: 0; z-index: 3; }
.team-dots { display: flex; gap: 10px; margin-top: 28px; }
.team-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(4,4,4,0.16); transition: transform .3s var(--ease-out), background-color .3s var(--ease-out); }
.team-dot:hover { background: rgba(4,4,4,0.4); }
.team-dot.is-active { background: var(--violet); transform: scale(1.35); }
.team-dot:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.who-right .h6 { margin-bottom: 32px; max-width: 760px; }
.who-sub { color: var(--ink-soft); margin-bottom: 32px; }

/* ---------- giant label (Our / WORK) ---------- */
.giant-label { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 40px; }
.giant-label-pre { font-family: var(--font-body); font-weight: 600; font-size: var(--body-large); padding-bottom: .55em; color: var(--ink-soft); white-space: nowrap; }
.giant-label .h1 { line-height: .9; }

/* ---------- work ---------- */
.work-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.work-intro .h6 { margin-bottom: 20px; }
.work-intro p { color: var(--ink-soft); }

/* project grid — uniform cards, hover reveals the detail */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); }
.proj-card {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  color: var(--white); background: var(--violet); isolation: isolate; will-change: transform;
  box-shadow: 0 18px 44px rgba(20, 16, 60, 0.14);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(20, 16, 60, 0.3); }
.proj-media { position: absolute; inset: 0; z-index: 0; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .6s var(--ease-out); }
.proj-card:hover .proj-media img { transform: scale(1.07); }
.proj-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,16,60,0.05) 0%, rgba(20,16,60,0.12) 42%, rgba(31,24,90,0.82) 100%);
  transition: background .5s var(--ease-out); }
.proj-card:hover .proj-scrim { background: linear-gradient(180deg, rgba(86,72,228,0.35) 0%, rgba(45,32,140,0.72) 46%, rgba(20,16,60,0.94) 100%); }
.proj-top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.proj-tag { font-size: var(--body-small); font-weight: 600; padding: 6px 12px; border-radius: var(--pill); }
.proj-tag--automation { background: var(--lime); color: var(--black); }
.proj-tag--platform { background: var(--white); color: var(--black); }
.proj-sector { font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.proj-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; }
.proj-metric { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: var(--body-small); letter-spacing: .04em; color: var(--lime); margin-bottom: 8px; }
.proj-title { font-family: var(--font-head); font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--white); }
/* description + CTA reveal on hover */
.proj-desc { margin-top: 12px; font-size: var(--body-small); line-height: 1.5; color: var(--white-soft);
  max-height: 0; opacity: 0; transform: translateY(8px); overflow: hidden;
  transition: max-height .5s var(--ease-out), opacity .4s var(--ease-out), transform .5s var(--ease-out), margin-top .5s var(--ease-out); }
.proj-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 0; font-family: var(--font-head); font-weight: 500; font-size: var(--body-small); text-transform: uppercase; letter-spacing: .03em; color: var(--lime);
  max-height: 0; opacity: 0; transform: translateY(8px); overflow: hidden;
  transition: max-height .5s var(--ease-out), opacity .4s var(--ease-out) .05s, transform .5s var(--ease-out) .05s, margin-top .5s var(--ease-out); }
.proj-cta svg { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.proj-card:hover .proj-desc { max-height: 12em; opacity: 1; transform: none; }
.proj-card:hover .proj-cta { max-height: 3em; opacity: 1; transform: none; margin-top: 14px; }
.proj-card:hover .proj-cta svg { transform: translate(3px, -3px); }
.proj-card:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
/* keyboard focus reveals the detail too */
.proj-card:focus-visible .proj-desc { max-height: 12em; opacity: 1; transform: none; }
.proj-card:focus-visible .proj-cta { max-height: 3em; opacity: 1; transform: none; margin-top: 14px; }

.section-cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
.section-cta--pair { gap: 16px; flex-wrap: wrap; }

/* ---------- statement (sticky violet manifesto) ---------- */
.statement { color: var(--white); }
.statement .container { width: 100%; }
.statement-eyebrow { font-family: var(--font-mono, ui-monospace, monospace); font-size: var(--body-small); letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: clamp(24px, 3vw, 40px); }
.statement-h { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(4px, 0.6vw, 10px); font-size: clamp(38px, 6.4vw, 96px); line-height: .96; font-weight: 700; letter-spacing: -0.045em; color: var(--white); margin-bottom: clamp(40px, 5vw, 72px); }
.statement-h .split-word { display: inline-block; white-space: nowrap; }
.statement-line { display: block; }
.statement-line--accent { position: relative; align-self: flex-start; width: fit-content; }
.statement-underline { position: absolute; left: 0; bottom: -0.02em; height: clamp(5px, 0.5vw, 9px); width: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--lime), #4ad6ff); }
.statement-flow {
  background: linear-gradient(90deg, var(--lime) 0%, #8fe9ff 25%, #4ad6ff 45%, var(--lime) 65%, #8fe9ff 85%, var(--lime) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: title-flow-2 7s linear infinite;
}
.statement-flow .split-char { -webkit-text-fill-color: transparent; color: transparent; }
/* text-loop (ported from the requested static-word + rotating-word component) */
.text-loop { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 3.4vw, 52px); letter-spacing: -0.03em; line-height: 1; color: var(--white); margin-bottom: clamp(28px, 3.5vw, 44px); }
.tl-static { white-space: nowrap; }
.tl-rotate { position: relative; display: inline-flex; align-items: center; white-space: nowrap; min-height: 1.1em; }
.tl-word { display: inline-block; color: var(--lime); -webkit-text-fill-color: currentColor; }
.tl-cursor { display: inline-block; margin-left: 0.08em; flex: none; width: clamp(3px, 0.35vw, 5px); height: 0.9em; border-radius: 2px; background: var(--lime); animation: tl-blink 0.85s steps(1) infinite; }
@keyframes tl-blink { 50% { opacity: 0.25; } }
.statement-lead { max-width: 760px; font-size: var(--body-large); line-height: 1.6; color: var(--white-soft); margin-bottom: clamp(40px, 5vw, 64px); }

.statement-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); max-width: 1000px; }
.statement-pillar { padding-top: 20px; border-top: 1px solid var(--stroke-light); }
.statement-num { display: block; font-family: var(--font-mono, ui-monospace, monospace); font-size: var(--body-small); letter-spacing: .12em; color: var(--lime); margin-bottom: 12px; }
.statement-pillar p { font-size: var(--body-large); line-height: 1.5; color: var(--white); }

/* ---------- services ---------- */
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.services-intro { font-size: var(--body-large); line-height: 1.6; color: var(--ink-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.6vw, 26px); }
.service {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(26px, 2.4vw, 36px); border-radius: var(--radius); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--stroke-soft); overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .45s var(--ease-out);
}
/* lime accent bar wipes in from the left on hover */
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--signal, linear-gradient(90deg, var(--lime), #4ad6ff)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.service:hover { transform: translateY(-6px); background: #f6f5ff; box-shadow: 0 26px 56px rgba(20, 16, 60, 0.14), inset 0 0 0 1px transparent; }
.service:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; color: var(--violet); margin-bottom: 24px; transform-origin: 50% 50%; }
.service-icon svg { width: 100%; height: 100%; overflow: visible; }
.service:hover .service-icon { color: var(--violet-deep, #3f33c4); }
.service .h6 { margin-bottom: 12px; }
.service p { color: var(--ink-soft); margin-bottom: 20px; max-width: 42ch; flex: 1; }
.service .text-cta { font-size: var(--body-small); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; width: 100%; }
.ticker-track { --ticker-gap: 40px; display: flex; align-items: center; gap: var(--ticker-gap); width: max-content; padding-right: var(--ticker-gap); }
.how .ticker { border-top: 1px solid var(--stroke-light); border-bottom: 1px solid var(--stroke-light); padding: 22px 0; margin-top: calc(var(--section) * -1); margin-bottom: var(--section); }
.how .ticker-track span { font-family: var(--font-head); font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); color: var(--white); white-space: nowrap; }
.ticker-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }

/* ---------- partners & expertise ---------- */
.partners .services-head { margin-bottom: clamp(40px, 5vw, 64px); }
.partner-group { margin-top: clamp(36px, 4vw, 56px); }
.partner-group:first-of-type { margin-top: 0; }
.partner-group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--stroke-soft); }
.partner-group-label { font-family: var(--font-head); font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--black); }
.partner-note { font-size: var(--body-small); color: var(--muted-l, #5c626c); }
.logo-wall { display: flex; flex-wrap: wrap; gap: 14px; }
.logo-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 14px 26px; border-radius: 16px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--stroke-soft);
  font-family: var(--font-head); font-weight: 600; font-size: clamp(15px, 1.2vw, 18px); letter-spacing: -0.01em;
  color: var(--ink-soft); white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .35s var(--ease-out), background-color .35s var(--ease-out);
  will-change: transform;
}
.logo-chip:hover { transform: translateY(-4px); color: var(--violet); background: #f6f5ff; box-shadow: inset 0 0 0 1px transparent, 0 16px 34px rgba(20, 16, 60, 0.14); }
/* official logo image (swapped in from logo/partners/ when approved) */
.logo-img { height: 26px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.logo-chip--has-img .logo-name { display: none; }
/* certification badge: shield seal + name */
.logo-chip--cert { padding-left: 18px; }
.logo-chip--cert .cert-seal { width: 22px; height: 22px; color: var(--violet); flex: none; }
.logo-chip--cert:hover .cert-seal { color: #3f33c4; }
.logo-name { display: inline-block; }
@media (max-width: 640px) {
  .logo-wall { gap: 10px; }
  .logo-chip { padding: 11px 16px; }
}

/* ---------- how it works (violet) ---------- */
.how { color: var(--white); }
.how-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 88px); }
.how-head .subtitle-wrap { color: var(--white); }
.how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.how-card { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--stroke-light); transition: background-color .4s var(--ease-out), transform .4s var(--ease-out); }
.how-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.how-n { display: inline-block; font-family: var(--font-head); font-size: var(--body-small); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; }
.how-card .h6 { margin-bottom: 12px; }
.how-card p { color: rgba(255, 255, 255, 0.92); }

/* ---------- execution layer: bento + horizontal scroller ---------- */
.exec-body { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; margin-top: clamp(36px, 4vw, 56px); }
.exec-visual { display: flex; }
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, auto); gap: 12px; width: 100%; align-content: start; }
.bento-tile { position: relative; padding: 20px; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid var(--stroke-light); overflow: hidden; transition: transform .45s var(--ease-out), background-color .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.bento--in, .bento--res { grid-column: 1 / -1; }
.bento-tile.is-active { background: rgba(190,251,124,0.1); border-color: rgba(190,251,124,0.5); box-shadow: 0 16px 40px rgba(20,16,60,0.3); transform: translateY(-3px); }
.tile-k { display: block; font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.tile-item { display: flex; align-items: center; gap: 10px; font-size: var(--body-small); color: var(--white); padding: 8px 0; }
.tile-item--muted { color: var(--white-soft); }
.tile-ico { width: 18px; height: 22px; border-radius: 3px; background: rgba(255,255,255,0.18); box-shadow: inset 0 4px 0 -2px rgba(255,255,255,0.4); flex: none; }
.tile-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-left: auto; box-shadow: 0 0 0 0 rgba(190,251,124,0.6); animation: tile-pulse 1.8s ease-out infinite; }
@keyframes tile-pulse { 0% { box-shadow: 0 0 0 0 rgba(190,251,124,0.5); } 70%,100% { box-shadow: 0 0 0 10px rgba(190,251,124,0); } }
.tile-list { display: flex; flex-direction: column; gap: 9px; }
.tile-list li { position: relative; padding-left: 18px; font-size: var(--body-small); color: var(--white-soft); }
.tile-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: rgba(139,157,255,0.7); }
.tile-status { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: var(--body); color: var(--white); }
.tile-status svg { width: 20px; height: 20px; color: var(--lime); flex: none; }
.tile-sub { margin-top: 8px; font-size: var(--body-small); color: var(--white-soft); }
.tile-bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-bottom: 12px; }
.tile-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--lime), #4ad6ff); transform-origin: bottom; }
.tile-metric { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; color: var(--white); }

.exec-right { display: flex; flex-direction: column; min-width: 0; }
.exec-scroller { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
.exec-scroller::-webkit-scrollbar { display: none; }
.exec-scroller.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.exec-cards { display: flex; gap: 20px; padding: 4px 4px 8px; width: max-content; }
.exec-card { scroll-snap-align: start; flex: 0 0 clamp(280px, 30vw, 400px); display: flex; flex-direction: column; padding: clamp(26px, 2.4vw, 36px); border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid var(--stroke-light); color: var(--white-soft); transition: transform .5s var(--ease-out), background-color .5s var(--ease-out), border-color .5s var(--ease-out); }
.exec-card.is-current { background: rgba(255,255,255,0.11); border-color: rgba(190,251,124,0.4); transform: translateY(-4px); }
.exec-card-n { display: inline-block; font-family: var(--font-head); font-size: var(--body-small); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; }
.exec-card .h6 { margin-bottom: 12px; }
.exec-card p { color: var(--white-soft); }
.exec-controls { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.exec-progress { flex: 1; height: 3px; border-radius: 99px; background: var(--stroke-light); overflow: hidden; }
.exec-progress span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--lime), #4ad6ff); transition: width .2s var(--ease-out); }
.exec-arrows { display: flex; gap: 10px; }
.exec-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--stroke-light); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.exec-arrow svg { width: 20px; height: 20px; }
.exec-arrow[data-exec-prev] svg { transform: rotate(180deg); }
.exec-arrow:hover:not([disabled]) { background: var(--lime); color: var(--black); box-shadow: none; }
.exec-arrow[disabled] { opacity: 0.35; cursor: default; }

@media (max-width: 860px) {
  .exec-body { grid-template-columns: 1fr; }
  .exec-card { flex-basis: 78vw; }
}

/* ---------- platform showcase: examples + desktop mockup ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; margin-top: clamp(36px, 4vw, 56px); }
.showcase-list { display: flex; flex-direction: column; }
.showcase-step { position: relative; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-top: 1px solid var(--stroke-light); color: rgba(255,255,255,0.42); transition: color .45s var(--ease-out); }
.showcase-step:first-child { border-top: 0; }
.showcase-step:hover { color: rgba(255,255,255,0.7); }
.showcase-step.is-active { color: #fff; }
.showcase-step .showcase-h { font-family: var(--font-head); font-weight: 600; font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -0.02em; color: inherit; }
.showcase-step .showcase-p { font-size: var(--body-small); line-height: 1.5; color: inherit; opacity: 0.9; }
.showcase-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: rgba(255,255,255,0.14); opacity: 0; transition: opacity .3s var(--ease-out); }
.showcase-step.is-active .showcase-bar { opacity: 1; }
.showcase-bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--sc-accent, var(--lime)); }

.showcase-screen { perspective: 1800px; }
.screen-frame { --accent: #8b9dff; border-radius: 14px; overflow: hidden; background: #0c1020; box-shadow: 0 40px 90px rgba(10, 8, 30, 0.5), 0 0 0 1px rgba(255,255,255,0.08); transform: rotateY(-9deg) rotateX(3deg) translateZ(0); transform-origin: left center; transition: transform .6s var(--ease-out); will-change: transform; }
.showcase-screen:hover .screen-frame { transform: rotateY(-3deg) rotateX(1deg); }
.screen-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #11162a; border-bottom: 1px solid rgba(255,255,255,0.06); }
.screen-dots { display: flex; gap: 7px; }
.screen-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.screen-url { flex: 1; text-align: center; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); border-radius: 8px; padding: 6px 12px; }
.screen-viewport { position: relative; height: clamp(340px, 44vw, 520px); overflow: hidden; background: #0c1020; }
.screen-viewport::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -40px 40px -20px rgba(12,16,32,0.9), inset 0 40px 30px -24px rgba(12,16,32,0.8); }
.screen-scroll { padding: 24px; will-change: transform; }

/* original generic dashboard mockup */
.mock { display: flex; flex-direction: column; gap: 18px; color: #e7e9f5; font-family: var(--font-body); }
.mock-nav { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mock-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #4ad6ff); flex: none; }
.mock-tabs { display: flex; gap: 10px; flex: 1; }
.mock-tabs i { width: 52px; height: 9px; border-radius: 5px; background: rgba(255,255,255,0.12); }
.mock-tabs i:first-child { width: 40px; background: var(--accent); }
.mock-avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.18); flex: none; }
.mock-hero { display: flex; flex-direction: column; gap: 6px; }
.mock-eyebrow { font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.mock-h { font-size: 13px; color: rgba(231,233,245,0.7); }
.mock-big { font-family: var(--font-head); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; color: #fff; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-kpi { padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); }
.mock-kpi span { display: block; font-size: 11px; color: rgba(231,233,245,0.6); margin-bottom: 6px; }
.mock-kpi b { font-family: var(--font-head); font-size: 22px; color: #fff; }
.mock-panel { padding: 16px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.mock-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 12px; color: rgba(231,233,245,0.75); }
.mock-pill { font-size: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,0.08); color: rgba(231,233,245,0.6); }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.mock-chart i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--accent), rgba(74,214,255,0.5)); }
.mock-table { display: flex; flex-direction: column; gap: 8px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255,255,255,0.04); font-size: 12px; color: rgba(231,233,245,0.85); }
.mock-badge { font-size: 10px; padding: 4px 10px; border-radius: 99px; font-weight: 600; }
.mock-badge--ok { background: rgba(190,251,124,0.16); color: #befb7c; }
.mock-badge--warn { background: rgba(255,196,107,0.16); color: #ffc46b; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-card { height: 90px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }

@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .screen-frame { transform: none; }
  .showcase-screen:hover .screen-frame { transform: none; }
}

/* ---------- we help operators (full-bleed photo + pop-ups) ---------- */
.help { position: relative; z-index: 2; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.help-media { position: absolute; inset: 0; z-index: 0; }
.help-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: saturate(0.9) contrast(1.02); }
.help-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(63,51,196,0.95) 0%, rgba(86,72,228,0.72) 38%, rgba(20,16,60,0.28) 72%, rgba(20,16,60,0.5) 100%),
  linear-gradient(180deg, rgba(20,16,60,0.35) 0%, transparent 26%, transparent 62%, rgba(20,16,60,0.55) 100%); }
.help-inner { position: relative; z-index: 2; width: 100%; }
.help-copy { max-width: 620px; }
.help-copy .subtitle-wrap { margin-bottom: 24px; }
.help-h2 { font-family: var(--font-head); font-size: clamp(34px, 5vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; color: var(--white); margin-bottom: 26px; }
.help-lead { font-size: var(--body-large); line-height: 1.6; color: rgba(255,255,255,0.9); max-width: 500px; }

.help-pops { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.help-pop { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 20px 44px rgba(10,8,30,0.32); color: var(--white); white-space: nowrap; }
.pop-text { display: flex; flex-direction: column; gap: 2px; }
.pop-k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.pop-v { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--white); }
.pop-ico { width: 26px; height: 30px; border-radius: 5px; background: rgba(255,255,255,0.2); box-shadow: inset 0 5px 0 -3px rgba(255,255,255,0.5); flex: none; }
.pop-check { width: 22px; height: 22px; color: var(--lime); flex: none; }
.pop-ring { width: 42px; height: 42px; flex: none; }
.pop-ring-fill { stroke-dasharray: 113; stroke-dashoffset: 113; }
.pop-metric { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--white); }
.pop-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--lime), #4ad6ff); flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }
.help-pop--task { top: 16%; right: 7%; }
.help-pop--ring { top: 38%; right: 22%; }
.help-pop--human { bottom: 24%; right: 9%; }
.help-pop--metric { bottom: 12%; right: 28%; }

@media (max-width: 860px) {
  .help { min-height: auto; padding: clamp(64px, 12vh, 120px) 0; }
  .help-media img { object-position: 65% 30%; }
  .help-pop--task { top: auto; bottom: 30%; right: 5%; }
  .help-pop--ring { top: auto; bottom: 18%; right: 6%; }
  .help-pop--human { display: none; }
  .help-pop--metric { display: none; }
}

/* ---------- we help (sticky blush) ---------- */
.help-h { display: flex; flex-direction: column; gap: 6px; font-size: var(--h2); line-height: 1; font-weight: 500; letter-spacing: -0.02em; color: var(--black); }
.help-line { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap; }
.help-line > span:not(.help-icon) { display: inline-block; }
.help-icon { display: inline-grid; place-items: center; width: .78em; height: .78em; color: var(--violet); flex: none; }
.help-icon svg { width: 100%; height: 100%; }
.help-sub { margin-top: 40px; font-size: var(--body-large); font-weight: 600; color: var(--ink-soft); }

/* ---------- industries ---------- */
.industries .giant-label { margin-bottom: clamp(48px, 6vw, 80px); }
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.industry { display: block; color: var(--black); }
.industry:hover { transform: translateY(-4px); }
.industry { transition: transform .5s var(--ease-out); }
.industry-image { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; background: rgba(4,4,4,.05); }
.industry-image img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transition: transform .9s var(--ease-out), filter .6s var(--ease-out); }
.industry:hover .industry-image img { transform: scale(1.08); }
.industry-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,16,60,0) 38%, rgba(45,32,140,0.4) 68%, rgba(20,16,60,0.82) 100%); opacity: 0; transition: opacity .5s var(--ease-out); pointer-events: none; }
.industry:hover .industry-scrim { opacity: 1; }
.industry-tag { position: absolute; z-index: 2; top: 14px; left: 14px; font-family: var(--font-head); font-weight: 600; font-size: var(--body-small); padding: 7px 13px; border-radius: 99px; background: rgba(255,255,255,0.92); color: var(--black); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.industry:hover .industry-tag { opacity: 1; transform: translateY(0); }
.industry-cta { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: var(--body-small); text-transform: uppercase; letter-spacing: .03em; color: #fff; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.industry:hover .industry-cta { opacity: 1; transform: translateY(0); }
.industry-cta svg { width: 15px; height: 15px; transition: transform .35s var(--ease-out); }
.industry:hover .industry-cta svg { transform: translate(3px, -3px); }
.industry .h6 { margin-bottom: 10px; transition: color .35s var(--ease-out); }
.industry:hover .h6 { color: var(--violet); }
.industry p { color: var(--ink-soft); }

/* ---------- client fit (blush) ---------- */
.fit-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.fit-intro { font-size: var(--body-large); line-height: 1.6; color: var(--ink-soft); }
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fit-panel { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--white); }
.fit-panel--yes { background: var(--violet); color: var(--white); }
.fit-panel--yes .h6 { color: var(--white); }
.fit-panel .h6 { margin-bottom: 22px; }
.fit-panel li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--stroke-soft); line-height: 1.5; }
.fit-panel--yes li { border-top-color: var(--stroke-light); color: var(--white-soft); }
.fit-panel li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 14px; border-radius: 50%; }
.fit-panel--yes li::before { background: var(--lime); }
.fit-panel--no li::before { box-shadow: inset 0 0 0 1.5px var(--stroke); }
.fit-panel--no li { color: var(--ink-soft); }

/* ---------- start / talk CTA band ---------- */
.cta-band { position: relative; z-index: 2; min-height: 78vh; min-height: 78svh; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; will-change: transform; animation: cta-zoom 20s var(--ease-in-out) infinite alternate; }
@keyframes cta-zoom { to { transform: scale(1.06); } }
.cta-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(63,51,196,0.95) 0%, rgba(86,72,228,0.74) 42%, rgba(20,16,60,0.5) 100%),
  linear-gradient(180deg, rgba(20,16,60,0.3), transparent 30%, rgba(20,16,60,0.5)); }
.cta-inner { position: relative; z-index: 2; width: 100%; }
.cta-copy { max-width: 660px; }
.cta-copy .subtitle-wrap { margin-bottom: 24px; }
.cta-h { font-family: var(--font-head); font-size: clamp(38px, 6vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--white); margin-bottom: 24px; }
.cta-lead { font-size: var(--body-large); line-height: 1.6; color: rgba(255,255,255,0.9); max-width: 520px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { min-height: auto; padding: clamp(64px, 12vh, 110px) 0; } }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; background: var(--violet); color: var(--white); overflow: hidden; padding-bottom: 16px; }
.footer-ticker { padding: clamp(40px, 5vw, 62px) 0 clamp(40px, 6vw, 87px); overflow: hidden; }
.footer-ticker .ticker-track { --ticker-gap: clamp(24px, 3vw, 48px); }
.footer-word { font-family: var(--font-head); font-weight: 700; font-size: clamp(64px, 12vw, 180px); line-height: .9; letter-spacing: -0.04em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.footer-mark { display: inline-grid; place-items: center; width: clamp(40px, 6vw, 96px); height: clamp(40px, 6vw, 96px); color: var(--lime); flex: none; }
.footer-mark svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 40px; padding-bottom: 56px; border-top: 1px solid var(--stroke-light); }
.footer-pitch .h6 { max-width: 420px; margin-bottom: 28px; }
.footer-pitch-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-col h4 { font-family: var(--font-body); font-size: var(--body-small); text-transform: uppercase; letter-spacing: .1em; color: var(--lime); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; color: var(--white); padding: 5px 0; font-weight: 500; transition: color .25s var(--ease-out), transform .25s var(--ease-out); }
.footer-col a:hover { color: var(--lime); transform: translateX(4px); }
.footer-col p { color: var(--white-soft); font-size: var(--body-small); line-height: 1.6; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--stroke-light); font-size: var(--body-small); color: var(--white-soft); }

/* ---------- modal & form (markup shared with chat.js) ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(4, 4, 4, .62); backdrop-filter: blur(6px); }
.modal-backdrop.open { display: flex; }
body.modal-open { overflow: hidden; }
.modal { width: min(720px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--white); color: var(--black); border-radius: 24px; padding: clamp(24px, 3vw, 40px); animation: modal-in .45s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.modal-header h3 { font-size: var(--h6); letter-spacing: -0.03em; margin-bottom: 8px; }
.modal-header p { color: var(--ink-soft); }
.modal-close { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); font-size: 26px; line-height: 1; flex: none; transition: background-color .25s var(--ease-out), transform .25s var(--ease-out); }
.modal-close:hover { background: var(--lime); transform: rotate(90deg); }
.audit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--body-small); font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea { font: inherit; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--stroke-soft); background: var(--white); color: var(--black); transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(86, 72, 228, .16); }
.form-note, .form-success, .form-error { grid-column: 1 / -1; font-size: var(--body-small); line-height: 1.5; color: var(--ink-soft); }
.form-success, .form-error { display: none; padding: 16px 18px; border-radius: 12px; }
.form-success.show { display: block; background: rgba(190, 251, 124, .35); color: var(--black); }
.form-error.show { display: block; background: rgba(234, 56, 76, .1); color: #b3122a; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .nav-actions .pill-btn-main { display: none; }
  .nav-actions .pill-btn-arrow { width: 48px; }
}
@media (max-width: 991px) {
  :root { --pad: 24px; --header-h: 80px; }
  .nav-links { display: none; }
  body.mobile-nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--violet); border-top: 1px solid var(--stroke-light);
    padding: 16px var(--pad) 28px;
    box-shadow: 0 30px 60px rgba(4,4,4,.25);
  }
  body.mobile-nav-open .nav-links a { font-family: var(--font-head); font-size: 28px; padding: 10px 0; }
  .mobile-menu { display: block; }
  /* Sticky stacking needs sections shorter than the viewport; on small screens they are not. */
  .is-sticky, .section-sticky { position: relative; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .hero-left { max-width: none; }
  .scroll-down { display: none; }
  .hero-drag-hint { display: none; }
  .who-grid, .work-head, .services-head, .fit-head { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .team-deck { width: 100%; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --h1: clamp(36px, 10.2vw, 46px); --h2: clamp(36px, 10.5vw, 52px); --h4: 32px; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 28px) 0 64px; }
  .title-circles { display: none; }
  .hero-h1 { gap: 6px; }
  /* rotating word gets its own line on phones so swaps never collide with "of your" */
  .hero-rotator { flex-basis: 100%; }
  .hero-vignette { background: linear-gradient(180deg, var(--hero-bg-a) 0%, transparent 40%, var(--hero-bg-b) 100%); opacity: .8; }
  .proj-grid, .how-grid, .fit-grid, .industry-grid, .footer-grid { grid-template-columns: 1fr; }
  .work-image.is-long { aspect-ratio: 10 / 7; }
  .audit-form { grid-template-columns: 1fr; }
  .statement-image { width: 120px; }
  .giant-label { flex-wrap: wrap; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .is-sticky, .section-sticky { position: relative; }
  .hero-line-wrap--lime .hero-word { -webkit-text-fill-color: var(--lime); color: var(--lime); background: none; }
  .hero-rotator .hero-rotator-word { color: #8fe9ff; }
}

/* touch / no-hover: show the card detail permanently */
@media (hover: none) {
  .proj-desc { max-height: 12em; opacity: 1; transform: none; margin-top: 12px; }
  .proj-cta { max-height: 3em; opacity: 1; transform: none; margin-top: 14px; }
  .proj-scrim { background: linear-gradient(180deg, rgba(86,72,228,0.3) 0%, rgba(45,32,140,0.7) 46%, rgba(20,16,60,0.94) 100%); }
}

@media (hover: none) {
  .industry-tag { opacity: 1; transform: none; }
  .industry-scrim { opacity: 1; }
}

/* ============================================================
   SUBPAGES — shared with the homepage design system (violet/lime)
   ============================================================ */
.subhero { position: relative; z-index: 1; background: radial-gradient(120% 90% at 82% 0%, #6a5bff 0%, transparent 60%), linear-gradient(160deg, #5648e4 0%, #2f2597 100%); color: var(--white); overflow: hidden; padding: calc(var(--header-h) + clamp(46px, 8vh, 92px)) 0 clamp(52px, 8vh, 96px); }
.subhero::after { content: ""; position: absolute; inset: -20%; background: radial-gradient(40% 46% at 78% 26%, rgba(190,251,124,0.14), transparent 70%); filter: blur(30px); pointer-events: none; }
.subhero .container { position: relative; z-index: 1; }
.subhero .subtitle-wrap { margin-bottom: 22px; }
.subhero-h1 { font-family: var(--font-head); font-size: var(--h1); line-height: .96; font-weight: 700; letter-spacing: -0.04em; color: var(--white); text-transform: uppercase; max-width: 14ch; }
.subhero-lead { margin-top: 26px; max-width: 620px; font-size: var(--body-large); line-height: 1.6; color: rgba(255,255,255,0.88); }
.subhero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.subhero-labels { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.subhero-labels .label { font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.8); padding: 8px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--stroke-light); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-form-card { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 60px rgba(20,16,60,0.1), inset 0 0 0 1px var(--stroke-soft); }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info-block h3 { font-family: var(--font-head); font-size: var(--body); font-weight: 600; letter-spacing: -0.01em; color: var(--black); margin-bottom: 10px; }
.office { padding: 20px 0; border-top: 1px solid var(--stroke-soft); }
.office-role { font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.office h4 { font-family: var(--font-head); font-weight: 600; font-size: var(--body); color: var(--black); margin-bottom: 6px; }
.office address { font-style: normal; font-size: var(--body-small); line-height: 1.6; color: var(--ink-soft); }
.contact-email { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; color: var(--violet); }
.contact-email:hover { color: var(--violet-deep, #3f33c4); }
.contact-note { font-size: var(--body-small); color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- offices map (contact) ---------- */
.offices-map-grid { display: grid; grid-template-columns: 1.45fr 0.85fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.worldmap { position: relative; background: #0e0c22; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); padding: clamp(10px, 1.5vw, 18px); box-shadow: 0 30px 80px -40px rgba(14, 12, 34, 0.6); }
.worldmap img { width: 100%; display: block; opacity: 0.92; }
.map-pin { position: absolute; transform: translate(-50%, -50%); }
.map-dot { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--lime); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(190, 251, 124, 0.28); position: relative; z-index: 2; }
.map-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(190, 251, 124, 0.5); animation: mapPulse 2.6s ease-out infinite; }
@keyframes mapPulse { to { box-shadow: 0 0 0 18px rgba(190, 251, 124, 0); } }
.map-pin-label { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--black); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: -0.01em; padding: 6px 11px; border-radius: 999px; display: flex; align-items: center; gap: 8px; box-shadow: 0 12px 30px -8px rgba(14, 12, 34, 0.55); z-index: 3; }
.map-pin-label::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff; }
.map-pin-label .office-flag { width: 17px; height: 17px; border-radius: 3px; }
.offices-list { display: flex; flex-direction: column; gap: 16px; }
.office-card { background: #fff; border: 1px solid rgba(4, 4, 4, 0.08); border-radius: 18px; padding: 22px; display: flex; gap: 15px; align-items: flex-start; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.office-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -22px rgba(14, 12, 34, 0.32); }
.office-flag { flex: none; width: 36px; height: 36px; border-radius: 8px; box-shadow: 0 2px 8px rgba(4, 4, 4, 0.16); }
.office-card .office-role { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); font-weight: 700; margin-bottom: 4px; }
.office-card h4 { font-family: var(--font-head); font-size: var(--body-large); font-weight: 600; letter-spacing: -0.01em; color: var(--black); margin: 0 0 6px; }
.office-card address { font-style: normal; font-size: var(--body-small); line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 860px) { .offices-map-grid { grid-template-columns: 1fr; } }

/* ---------- case cards + faq (services / use-cases) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.6vw, 26px); }
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid rgba(4, 4, 4, 0.08); border-radius: 20px; padding: clamp(22px, 2vw, 30px); transition: transform 0.4s var(--ease-out, ease), box-shadow 0.4s var(--ease-out, ease), border-color 0.4s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px -30px rgba(14, 12, 34, 0.4); border-color: rgba(86, 72, 228, 0.35); }
.case-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); background: rgba(86, 72, 228, 0.08); padding: 6px 12px; border-radius: 999px; }
.case-sector { font-family: var(--font-body); font-size: var(--body-small); color: var(--ink-soft); }
.case-card h3 { font-family: var(--font-head); font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--black); }
.case-card p { font-size: var(--body-small); line-height: 1.6; color: var(--ink-soft); }
.case-metrics { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(4, 4, 4, 0.08); }
.case-metric { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.case-metric .k { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.case-metric .v { font-family: var(--font-head); font-size: var(--body-small); font-weight: 600; color: var(--black); text-align: right; }
.case-note { max-width: 780px; margin: clamp(36px, 4vw, 56px) auto 0; text-align: center; font-size: var(--body-small); color: var(--ink-soft); line-height: 1.6; }
.faq-list { display: grid; gap: 14px; max-width: 900px; }
.faq-item { border: 1px solid rgba(4, 4, 4, 0.1); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--font-head); font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; letter-spacing: -0.01em; color: var(--black); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-head); font-weight: 400; font-size: 26px; line-height: 1; color: var(--violet); transition: transform 0.3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 26px 24px; font-size: var(--body); line-height: 1.65; color: var(--ink-soft); max-width: 760px; }
.proof-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
@media (max-width: 780px) { .proof-cols { grid-template-columns: 1fr; } }
.proof-col { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke-light, rgba(255, 255, 255, 0.14)); border-radius: var(--radius, 22px); padding: clamp(26px, 3vw, 40px); }
.proof-col h3 { font-family: var(--font-head); font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; letter-spacing: -0.02em; color: var(--white); margin-bottom: 20px; }
.proof-col ul { list-style: none; display: grid; gap: 12px; }
.proof-col li { position: relative; padding-left: 26px; color: rgba(255, 255, 255, 0.86); font-size: var(--body-small); line-height: 1.55; }
.proof-col li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 3px; background: var(--lime); }

/* ---------- pre-audit agent widget (ported + re-themed to brand) ---------- */
.chat-stage { position: relative; z-index: 1; padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 110px); }
.chat-shell {
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --font-display: var(--font-head);
  --font-body: var(--font-body, "Manrope", sans-serif);
  --muted-d: #a6a3d6;
  --line-d: rgba(255, 255, 255, 0.09);
  --line-d-strong: rgba(255, 255, 255, 0.16);
  --cobalt: #6f5cff;
  --cobalt-deep: #5648e4;
  --glow: #befb7c;
  --verified: #34d399;
  --panel: #14122a;
  --panel-2: #1c1940;
  --bg-1: #0e0c22;
  --orbit: 0turn;
  --radius: 22px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16); } 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.04); } }
.chat-shell {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-d-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(86, 72, 228, 0.06);
}

/* signal instrument: orbiting beam on the conversion surface */
.chat-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--orbit),
    transparent 0turn 0.66turn,
    rgba(139, 124, 255, 0.85) 0.8turn,
    var(--verified) 0.9turn,
    transparent 0.97turn
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: orbit 10s linear infinite;
}

@keyframes orbit {
  to { --orbit: 1turn; }
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-d);
  background: rgba(6, 8, 13, 0.5);
}

.agent-identity { display: flex; align-items: center; gap: 12px; }

.agent-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  background: var(--cobalt);
  box-shadow: 0 0 18px rgba(86, 72, 228, 0.4);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.agent-name { font-size: 0.94rem; font-weight: 640; color: #f2f4f9; }

.agent-status {
  color: var(--muted-d);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--verified);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

.chat-body {
  min-height: 420px;
  padding: 28px;
  background:
    radial-gradient(circle at 85% 0%, rgba(86, 72, 228, 0.07), transparent 40%),
    var(--panel);
}

.chat-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 740px;
  margin: 0 auto;
}

.message {
  max-width: 86%;
  padding: 14px 17px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  animation: msg-in 340ms var(--ease-out);
}

.message.agent {
  align-self: flex-start;
  border: 1px solid var(--line-d);
  border-top-left-radius: 4px;
  background: var(--panel-2);
  color: #d6dbe8;
}

.message.user {
  align-self: flex-end;
  border-top-right-radius: 4px;
  color: #fff;
  background: var(--cobalt);
}

.message strong { font-weight: 650; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.typing {
  display: inline-flex;
  gap: 5px;
  align-self: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line-d);
  border-radius: 14px;
  border-top-left-radius: 4px;
  background: var(--panel-2);
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-d);
  animation: typing-bounce 1s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.chat-option {
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid var(--line-d-strong);
  border-radius: 10px;
  text-align: left;
  background: rgba(19, 26, 42, 0.6);
  color: #d6dbe8;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 180ms ease, transform 180ms var(--ease-out), background 180ms ease;
}

.chat-option:hover {
  transform: translateY(-2px);
  border-color: var(--glow);
  background: rgba(86, 72, 228, 0.12);
}

.chat-result {
  margin-top: 8px;
  padding: 22px;
  border: 1px solid rgba(86, 72, 228, 0.5);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 90% 100% at 50% 0%, rgba(86, 72, 228, 0.14), transparent 70%),
    var(--panel-2);
  animation: msg-in 400ms var(--ease-out);
}

.chat-result-label {
  margin-bottom: 8px;
  color: var(--glow);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chat-result h3 { margin-bottom: 8px; font-size: 1.3rem; color: #f2f4f9; }
.chat-result p { margin-bottom: 16px; color: var(--muted-d); }
.chat-result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.chat-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 22px;
  border-top: 1px solid var(--line-d);
  color: #59617a;
  background: rgba(6, 8, 13, 0.5);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- pre-audit agent widget ---------- */

.pa-progress {
  padding: 12px 22px 14px;
  border-bottom: 1px solid var(--line-d);
  background: rgba(6, 8, 13, 0.35);
}

.pa-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  color: var(--muted-d);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pa-progress-bar {
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 204, 0.16);
  overflow: hidden;
}

.pa-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cobalt), var(--glow));
  transition: width 500ms var(--ease-out);
}

.pa-back {
  border: 1px solid var(--line-d-strong);
  background: transparent;
  color: var(--muted-d);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.pa-back:hover { color: #fff; border-color: var(--glow); }
.pa-back[hidden] { display: none; }

.pa-input-block {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 6px;
  animation: msg-in 340ms var(--ease-out);
}

.pa-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pa-chip {
  padding: 10px 14px;
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  background: rgba(19, 26, 42, 0.6);
  color: #d6dbe8;
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.pa-chip:hover { border-color: var(--glow); }

.pa-chip.selected {
  border-color: var(--cobalt);
  background: rgba(86, 72, 228, 0.2);
  color: #fff;
}

.pa-hint {
  color: #59617a;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.pa-textarea {
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--line-d-strong);
  border-radius: 12px;
  background: var(--bg-1);
  color: #e8ebf2;
  padding: 13px 14px;
  resize: vertical;
  font-size: 0.95rem;
}

.pa-textarea:focus { border-color: var(--cobalt); outline: none; }

.pa-contact {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 6px;
  padding: 20px;
  border: 1px solid var(--line-d-strong);
  border-radius: 14px;
  background: rgba(19, 26, 42, 0.5);
  animation: msg-in 340ms var(--ease-out);
}

.pa-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Honeypot (spec §25): visually removed, still submittable by bots. */
.pa-contact .pa-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.pa-contact label {
  display: grid;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-d);
}

.pa-contact input[type="text"],
.pa-contact input[type="email"],
.pa-contact input:not([type]) {
  width: 100%;
  border: 1px solid var(--line-d-strong);
  border-radius: 10px;
  background: var(--bg-1);
  color: #e8ebf2;
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
}

.pa-contact input:focus { border-color: var(--cobalt); outline: none; }

.pa-check {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #b9c1d4 !important;
  cursor: pointer;
}

.pa-check input { margin-top: 3px; accent-color: var(--cobalt); }

.pa-error {
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 122, 0.5);
  border-radius: 10px;
  color: #ff9d9d;
  background: rgba(255, 122, 122, 0.08);
  font-size: 0.86rem;
}

.pa-result .pa-score-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 6px 0 18px;
}

.pa-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
}

.pa-score-value {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.pa-score-max {
  color: var(--muted-d);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.pa-band {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 640;
  color: var(--glow);
}

.pa-meta-line {
  color: var(--muted-d);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.pa-budget {
  margin: 0 0 18px;
  padding: 15px 17px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.07);
}

.pa-budget-line {
  color: #e8ebf2;
  font-weight: 600;
  font-size: 1.02rem;
}

.pa-budget-value {
  color: var(--verified);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pa-budget-note {
  margin-top: 4px;
  color: var(--muted-d);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pa-detail {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.pa-detail > div { display: grid; gap: 2px; }

.pa-detail-label {
  color: #59617a;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pa-detail-value { color: #e8ebf2; font-weight: 600; }

.pa-disclaimer {
  color: #6b7285;
  font-size: 0.78rem;
  line-height: 1.5;
}

.pa-result .form-note { margin-top: 14px; }


.chat-stream .message.agent, .chat-stream .typing { margin-left: 44px; position: relative; }

.chat-stream .message.agent::before, .chat-stream .typing::before {
  content: "NM";
  position: absolute;
  left: -44px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-deep));
  box-shadow: 0 0 14px rgba(86, 72, 228, 0.35);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* tap-to-answer hint */
.pa-tap-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: center;
  margin-top: 2px;
  padding: 7px 14px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.06);
  color: var(--verified);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pa-tap-hint::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

/* options read as tappable answers */
.chat-option {
  position: relative;
  padding-right: 38px;
}

.chat-option::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--glow);
  opacity: 0.45;
  font-weight: 600;
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.chat-option:hover::after { opacity: 1; transform: translateY(-50%) translateX(3px); }

/* dedicated-page variant: bigger, front and center */
.chat-shell--page { max-width: 960px; }
.chat-shell--page .chat-body { min-height: 500px; }

/* widget buttons (scoped to chat-shell, brand-themed) */
.chat-shell .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; overflow: hidden; font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: transform 220ms var(--ease-out), box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease; }
.chat-shell .btn:hover { transform: translateY(-2px); }
.chat-shell .btn-primary { color: #0e0c22; background: var(--glow); box-shadow: 0 0 0 1px rgba(190, 251, 124, 0.4), 0 14px 34px -12px rgba(190, 251, 124, 0.55); }
.chat-shell .btn-primary:hover { background: #c8ff8c; box-shadow: 0 0 0 1px rgba(190, 251, 124, 0.6), 0 18px 44px -12px rgba(190, 251, 124, 0.6); }
.chat-shell .btn-secondary { color: #fff; background: rgba(255, 255, 255, 0.04); border-color: var(--line-d-strong); }
.chat-shell .btn-secondary:hover { border-color: var(--glow); background: rgba(190, 251, 124, 0.08); }
.chat-shell .btn-small { min-height: 42px; padding-inline: 18px; font-size: 0.7rem; }

/* ---------- services two-column scroll (product ↔ video) ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(30px, 4vw, 72px); align-items: start; }
.svc-panels { display: flex; flex-direction: column; }
.svc-panel { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.svc-panel:first-child { padding-top: 8px; }
.svc-eyebrow { font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); margin-bottom: 18px; }
.svc-h { font-family: var(--font-head); font-size: clamp(34px, 4vw, 60px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 700; color: var(--black); margin-bottom: 20px; }
.svc-p { font-size: var(--body-large); line-height: 1.6; color: var(--ink-soft); max-width: 520px; margin-bottom: 26px; }
.svc-list { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; max-width: 520px; }
.svc-list li { position: relative; padding-left: 30px; font-size: var(--body); line-height: 1.5; color: var(--black); }
.svc-list li b { font-weight: 600; }
.svc-list li span { color: var(--ink-soft); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; background: var(--violet); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(86,72,228,.35); }
.svc-panel.is-active .svc-list li::before { background: var(--lime); }

/* sticky media column */
.svc-media { position: sticky; top: 96px; height: min(72vh, 600px); }
.svc-nav { display: flex; gap: 8px; margin-bottom: 14px; }
.svc-nav button { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid rgba(4,4,4,0.10); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; transition: border-color .3s ease, background .3s ease, transform .3s ease; }
.svc-nav button:hover { transform: translateY(-2px); }
.svc-nav .n { font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .1em; color: var(--ink-soft); }
.svc-nav .t { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--black); white-space: nowrap; }
.svc-nav button.is-active { border-color: var(--violet); background: rgba(86,72,228,0.06); }
.svc-nav button.is-active .n { color: var(--violet); }
.svc-stage { position: relative; height: calc(100% - 66px); border-radius: 22px; overflow: hidden; background: #0e0c22; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 40px 90px -50px rgba(14,12,34,0.7); }
.svc-visual { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease-out, cubic-bezier(.22,1,.36,1)), transform .8s var(--ease-out, cubic-bezier(.22,1,.36,1)); pointer-events: none; }
.svc-visual.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.svc-frame { position: absolute; inset: 0; display: flex; flex-direction: column; }
.svc-topbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08); }
.svc-topbar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }
.svc-topbar .url { margin-left: 10px; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: .04em; }
.svc-video-wrap { position: relative; flex: 1; overflow: hidden; }
.svc-video-wrap video, .svc-video-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,0.12); }
.svc-progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--violet), var(--lime)); transition: transform .2s linear; }
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr; gap: 8px; }
  .svc-media { position: sticky; top: 74px; height: 42vh; order: -1; margin-bottom: 18px; }
  .svc-panel { min-height: 62vh; padding: 24px 0; }
  .svc-nav .t { font-size: 11px; }
}

/* ---------- hero video frame (below hero) ---------- */
.hero-video { position: relative; z-index: 1; background: radial-gradient(120% 80% at 50% -10%, #221a54 0%, #100d28 55%, #0b0920 100%); padding: clamp(56px, 8vw, 130px) 0 clamp(64px, 9vw, 150px); overflow: hidden; }
.hero-video::before { content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 90%; height: 60%; background: radial-gradient(closest-side, rgba(124,108,255,0.35), transparent 70%); pointer-events: none; }
.hv-head { text-align: center; max-width: 780px; margin: 0 auto clamp(34px, 4vw, 60px); position: relative; z-index: 1; }
.hv-head .subtitle-wrap { justify-content: center; color: #fff; }
.hv-head h2 { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; color: #fff; margin-top: 14px; }
.hv-head p { color: var(--white-soft, rgba(255,255,255,0.82)); font-size: var(--body-large); line-height: 1.55; margin-top: 16px; }
.hv-device { position: relative; z-index: 1; width: min(1120px, 92vw); margin: 0 auto; padding: 14px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)); box-shadow: 0 50px 120px -40px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.2); will-change: transform; }
.hv-frame { position: relative; border-radius: 18px; overflow: hidden; background: #0e0c22; border: 1px solid rgba(255,255,255,0.08); }
.hv-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08); }
.hv-bar i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }
.hv-bar .url { margin-left: 12px; font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; color: rgba(255,255,255,0.55); letter-spacing: .04em; }
.hv-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.hv-screen video, .hv-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hv-play span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,12,34,0.35); border: 2px solid var(--lime); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 0 40px -6px rgba(190,251,124,0.55); transition: transform .4s var(--ease-out, ease); }
.hv-device:hover .hv-play span { transform: scale(1.08); }
.hv-play svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--lime); }
@media (max-width: 640px) { .hv-device { padding: 8px; border-radius: 20px; } .hv-frame { border-radius: 12px; } }

/* ---------- feasibility audit funnel ---------- */
.how-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .how-grid--3 { grid-template-columns: 1fr; } }
.funnel-head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 60px); text-align: center; }
.funnel-head .subtitle-wrap { justify-content: center; }
.funnel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 26px); counter-reset: step; }
@media (max-width: 820px) { .funnel-grid { grid-template-columns: 1fr; } }
.funnel-step { position: relative; background: #fff; border: 1px solid rgba(4, 4, 4, 0.08); border-radius: 20px; padding: clamp(26px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease-out, ease), box-shadow .4s ease; }
.funnel-step:hover { transform: translateY(-5px); box-shadow: 0 26px 60px -30px rgba(20, 16, 60, 0.28); }
.funnel-step .fn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--violet); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.funnel-step:last-child .fn { background: var(--lime); color: #0e0c22; }
.funnel-step h3 { font-family: var(--font-head); font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; letter-spacing: -0.02em; color: var(--black); }
.funnel-step p { font-size: var(--body-small); line-height: 1.6; color: var(--ink-soft); }
.funnel-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: clamp(36px, 4vw, 56px); }
.funnel-arrow { position: absolute; top: 50px; right: -20px; z-index: 2; color: rgba(86, 72, 228, 0.4); }
@media (max-width: 820px) { .funnel-arrow { display: none; } }

.modal--wide { width: min(780px, 100%); }

/* ---------- hero: real impact on P&L (hero-impact.js, data from site-config.js) ---------- */
.hero-left { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 44px); max-width: 560px; }
.hero-lead-accent { color: var(--lime); font-weight: 700; }
.hero-impact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-impact[hidden] { display: none; }
.hero-impact-item { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 18px; background: rgba(4, 4, 4, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-impact-label { display: flex; align-items: center; gap: 10px; line-height: 1.35; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-ink-soft); }
.hero-impact-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(190, 251, 124, .6); animation: impact-pulse 1.8s var(--ease-in-out) infinite; }
@keyframes impact-pulse { 50% { box-shadow: 0 0 0 6px rgba(190, 251, 124, 0); } }
.hero-impact-value { display: block; font-family: var(--font-head); font-size: clamp(24px, 2vw, 30px); white-space: nowrap; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--lime); font-variant-numeric: tabular-nums; }
.hero-impact-item small { display: block; font-size: 13px; line-height: 1.45; color: var(--hero-ink-soft); }
@media (max-width: 560px) { .hero-impact { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hero-impact-dot { animation: none; } }
.text-loop.is-typing .tl-cursor { animation: none; opacity: 1; }
