/* =========================================================
   SentryX 2026 — design system
   Brand: #4C6BCD · Inter Tight · deep navy
   ========================================================= */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/inter-tight-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  --bg: #05070d;
  --bg-2: #080c17;
  --bg-3: #0c1222;
  --surface: rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f3f5fb;
  --muted: #a3acc3;
  --dim: #6e7892;
  --brand: #4c6bcd;
  --brand-2: #8ea5ff;
  --brand-3: #c7d2ff;
  --glow: 92, 124, 255;
  --growth: #7c9bff;
  --product: #a78bfa;
  --finance: #5eead4;
  --system: #7dd3fc;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --container: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { /* film grain for depth */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--glow), .45); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: #fff; color: #000; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.section-tight { padding-top: clamp(24px, 4vw, 48px); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(2.9rem, 1.35rem + 5.6vw, 6.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.h1 .line { display: block; width: fit-content; }
.h1-page { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); }
.h2 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.9rem); line-height: 1.02; letter-spacing: -.04em; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; letter-spacing: -.025em; }
.h4 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }
.h1, .h2 { background: linear-gradient(180deg, #fff 30%, #b6c0dd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad { background: linear-gradient(100deg, #9fb3ff 0%, #6f8cff 45%, #c9d4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 .grad { padding-bottom: .06em; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; max-width: 62ch; }
.lead-lg { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-3); margin-bottom: 22px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(var(--glow), .18), 0 0 18px rgba(var(--glow), .9); }
.muted { color: var(--dim); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .lead { margin-inline: auto; }

/* ---------- Icons ---------- */
.i { width: 20px; height: 20px; flex: none; }
.i-xs { width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font-size: 15px; font-weight: 550; letter-spacing: -.01em; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
}
.btn[data-size="sm"] { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn[data-size="lg"] { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #6a86ec 0%, #4c6bcd 55%, #3f5cbc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.2), 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(var(--glow), .8);
}
.btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 120% at 50% -20%, rgba(255,255,255,.35), transparent 50%); opacity: .6; pointer-events: none; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -10px rgba(var(--glow), 1); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); transform: translateY(-1px); }
.btn-arrow { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; font-size: 15px; color: var(--brand-3); }
.link-arrow .i { width: 17px; height: 17px; transition: transform .35s var(--ease); }
a:hover > .link-arrow .i, .link-arrow:hover .i { transform: translateX(4px); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); }

/* function colour tokens */
.ico-growth { --c: var(--growth); } .ico-product { --c: var(--product); } .ico-finance { --c: var(--finance); } .ico-system { --c: var(--system); }
.pill[class*="ico-"] .i { color: var(--c); }
.mega-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; color: var(--c, var(--brand-2)); background: rgba(var(--glow), .14); border: 1px solid rgba(var(--glow), .3);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--brand-2)) 22%, transparent), color-mix(in srgb, var(--c, var(--brand-2)) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, var(--brand-2)) 30%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.mega-ico .i { width: 19px; height: 19px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--pad); transition: padding .4s var(--ease); }
.nav-wrap {
  max-width: var(--container); margin-inline: auto; height: 60px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 22px;
  border-radius: 999px; border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled .nav-wrap {
  background: rgba(10, 14, 26, .62); border-color: var(--line); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
}
.brand { display: inline-flex; color: #fff; }
.logo { display: inline-flex; width: 132px; }
.logo svg { width: 100%; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav li { position: relative; }
.nav a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.06); }
.caret { width: 10px; height: 6px; transition: transform .3s var(--ease); }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(640px, 90vw); padding: 10px; border-radius: 22px;
  background: rgba(12, 17, 32, .9); border: 1px solid var(--line-2); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav .mega-item { display: flex; align-items: flex-start; gap: 14px; height: auto; padding: 14px; border-radius: 14px; color: var(--text); }
.nav .mega-item:hover { background: rgba(255,255,255,.05); }
.mega-item strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.mega-item small { display: block; font-size: 13px; line-height: 1.45; color: var(--dim); }
.nav .mega-foot { display: flex; justify-content: space-between; width: 100%; height: auto; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--glow), .08); color: var(--brand-3); font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; padding: 100px var(--pad) 40px; overflow-y: auto; background: rgba(5, 7, 13, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; max-width: 520px; margin-inline: auto; }
.mm-label { margin: 18px 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mm-sub { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 18px; font-weight: 550; }
.mm-link { padding: 8px 0; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.mm-foot { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; align-items: flex-start; }
.mm-mail { color: var(--muted); }
.mobile-menu:not([hidden]) nav > * { animation: mmIn .6s var(--ease) both; }
.mobile-menu:not([hidden]) nav > *:nth-child(n+3) { animation-delay: .04s; } .mobile-menu:not([hidden]) nav > *:nth-child(n+6) { animation-delay: .08s; } .mobile-menu:not([hidden]) nav > *:nth-child(n+9) { animation-delay: .12s; }
@keyframes mmIn { from { opacity: 0; transform: translateY(14px); } }
body.menu-open { overflow: hidden; }

/* ---------- Backgrounds ---------- */
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-a { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -18vw; top: -22vw; background: radial-gradient(circle, rgba(76,107,205,.55), transparent 65%); }
.orb-b { width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; left: -20vw; bottom: -30vw; background: radial-gradient(circle, rgba(60,80,170,.35), transparent 65%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 40px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background: radial-gradient(120% 90% at 70% 0%, #111a38 0%, #070a14 55%, var(--bg) 100%); }
.hero-3d { position: absolute; inset: 0; z-index: -2; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-3d.is-ready canvas { opacity: 1; }
.hero-3d-fallback { position: absolute; right: 6%; top: 50%; width: min(38vw, 520px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), .35), transparent 62%); transition: opacity 1s; }
.hero-3d.is-ready .hero-3d-fallback { opacity: 0; }
.orbit-label {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 13.5px; font-weight: 550; color: #eef1ff; background: rgba(14, 20, 40, .55); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 30px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0; will-change: transform, opacity; pointer-events: none;
}
.orbit-label .i { color: var(--c); }
.hero-inner { position: relative; }
.hero .h1 { max-width: 11.5em; }
.hero-lead { margin-top: 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 52px; }
.trust > p { font-size: 13px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.trust ul { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 30px; }
.trust-logo { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.trust-logo.toolmart, .trust-logo.tejas { filter: none; opacity: .72; }
.trust-logo.toolmart { height: 40px; }
.trust-word { font-size: 17px; font-weight: 650; letter-spacing: -.02em; color: rgba(255,255,255,.6); }
.trust li:hover .trust-logo, .trust li:hover .trust-word { opacity: 1; color: #fff; }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; border-radius: var(--r); border: 1px solid var(--line); background: rgba(10, 14, 26, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; }
.hero-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 22px 24px; border-left: 1px solid var(--line); }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats dt { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.hero-stats dd { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 24px; height: 38px; margin-left: -12px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.22); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: clamp(140px, 16vw, 200px) 0 clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(100% 80% at 70% 0%, #101834 0%, #070a14 60%, var(--bg) 100%); }
.page-hero-bg .orb-a { top: -30vw; }
.page-hero-inner { position: relative; max-width: 900px; }
.page-hero .lead { margin-top: 26px; }
.crumbs { margin-bottom: 36px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--muted); }
.svc-badge { position: absolute; right: -30%; top: 50%; margin-top: -80px; width: 160px; height: 160px; border-radius: 40px; display: grid; place-items: center; color: var(--c);
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 30%, transparent), rgba(255,255,255,.02)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--c) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.2); transform: perspective(600px) rotateY(-18deg) rotateX(10deg); animation: floaty 7s ease-in-out infinite; }
.svc-badge .i { width: 70px; height: 70px; stroke-width: 1.3; }
@keyframes floaty { 50% { transform: perspective(600px) rotateY(-10deg) rotateX(4deg) translateY(-12px); } }

/* floating brand mark on inner-page heroes */
.page-mark { position: absolute; right: -34%; top: 50%; width: 300px; aspect-ratio: 1; display: grid; place-items: center; transform: translateY(-50%); pointer-events: none; }
.page-mark .mark { width: 190px; color: #eef1ff; filter: drop-shadow(0 30px 60px rgba(var(--glow), .55)) drop-shadow(0 0 1px rgba(255,255,255,.4)); animation: markFloat 9s ease-in-out infinite; transform-style: preserve-3d; }
.page-mark-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(142,165,255,.18); transform: rotateX(70deg) rotateZ(0deg); animation: ringSpin 18s linear infinite; }
.page-mark-ring.r2 { inset: -18%; border-style: dashed; border-color: rgba(142,165,255,.12); animation-duration: 30s; animation-direction: reverse; }
@keyframes markFloat { 0%, 100% { transform: perspective(700px) rotateY(-22deg) rotateX(8deg) translateY(0); } 50% { transform: perspective(700px) rotateY(14deg) rotateX(-4deg) translateY(-14px); } }
@keyframes ringSpin { to { transform: rotateX(70deg) rotateZ(360deg); } }
@media (max-width: 1240px) { .page-mark, .svc-badge { display: none; } }

/* ---------- Cards ---------- */
.card { position: relative; isolation: isolate; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
[data-spot] { overflow: hidden; }
[data-spot]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), rgba(var(--glow), .14), transparent 55%); opacity: 0; transition: opacity .5s; }
[data-spot]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, -30%), rgba(160,180,255,.55), transparent 55%);
  -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 exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .5s; }
[data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento-card { display: flex; flex-direction: column; min-height: 440px; transition: transform .5s var(--ease), border-color .4s; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.bento-growth, .bento-system { grid-column: span 7; }
.bento-product, .bento-finance { grid-column: span 5; }
.bento-body { position: relative; margin-top: auto; padding: 0 30px 30px; }
.bento-num { position: absolute; right: 30px; top: 4px; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.bento-body .h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bento-body p { color: var(--muted); max-width: 42ch; margin-bottom: 20px; }
.illo { position: relative; flex: 1; min-height: 220px; margin: 18px 18px 22px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)); border: 1px solid rgba(255,255,255,.05); overflow: hidden; }
/* growth */
.ig-chips { position: absolute; left: 18px; top: 18px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.ig-chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); }
.ig-chips .on { color: #fff; background: rgba(124,155,255,.18); border-color: rgba(124,155,255,.45); }
.ig-chart { position: absolute; inset: auto 0 0; width: 100%; height: 72%; }
.ig-line { stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 8px rgba(142,165,255,.8)); }
.ig-area { opacity: 0; transition: opacity 1.4s .5s; }
.ig-dot { opacity: 0; filter: drop-shadow(0 0 8px #fff); }
.is-in .ig-line { animation: draw 2.2s var(--ease) forwards; }
.is-in .ig-area { opacity: 1; }
.is-in .ig-dot { animation: pop .5s 2s var(--ease) forwards, pulse 2.4s 2.5s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes pulse { 50% { r: 8; opacity: .7; } }
/* product */
.illo-product { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.ip-col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.025); }
.ip-col em { font-style: normal; font-size: 11.5px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.ip-col i { display: block; height: 38px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); position: relative; }
.ip-col i::before { content: ""; position: absolute; left: 10px; top: 10px; width: 55%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.14); box-shadow: 0 10px 0 -1px rgba(255,255,255,.07); }
.ip-col i.s { height: 30px; }
.ip-col i.mv { border-color: rgba(167,139,250,.5); background: rgba(167,139,250,.12); animation: jiggle 3s ease-in-out infinite; }
.ip-col i.ok { border-color: rgba(94,234,212,.28); }
.ip-col i.ok::after { content: ""; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--finance); box-shadow: 0 0 10px var(--finance); }
.ip-col i.arrive { animation: arrive 3.6s var(--ease) infinite; }
@keyframes jiggle { 50% { transform: translateY(-3px) rotate(-1deg); } }
@keyframes arrive { 0%, 15% { opacity: 0; transform: translateX(-40px) scale(.96); } 35%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* finance */
.illo-finance { display: flex; align-items: center; gap: 22px; padding: 22px; }
.if-ring { position: relative; width: 120px; flex: none; }
.if-ring svg { transform: rotate(-90deg); }
.if-arc { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s .3s var(--ease); }
.is-in .if-arc { stroke-dashoffset: .12; }
.if-ring span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 1.25; color: var(--muted); }
.if-rows { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.if-rows li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.if-rows b { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 3px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.if-rows b::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #3aa89a, var(--finance)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s .4s var(--ease); }
.is-in .if-rows b::after { transform: scaleX(1); }
.if-rows .i { color: var(--finance); }
/* system */
.is-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.is-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 10px; font-size: 12.5px; white-space: nowrap; background: rgba(14, 20, 38, .9); border: 1px solid var(--line-2); color: var(--muted); }
.is-hub { color: #fff; border-color: rgba(125,211,252,.5); box-shadow: 0 0 30px -4px rgba(125,211,252,.45); background: linear-gradient(180deg, rgba(125,211,252,.18), rgba(14,20,38,.9)); }

/* ---------- Statement / audiences ---------- */
.statement { font-size: clamp(2rem, 1.2rem + 3.3vw, 4.4rem); line-height: 1.08; letter-spacing: -.042em; font-weight: 600; max-width: 20em; }
.statement .w { color: rgba(255,255,255,.14); transition: color .35s; }
.statement .w.on { color: #fff; }
.statement em { font-style: normal; }
.statement em .w.on { color: var(--brand-2); }
.no-js .statement .w, .reduce .statement .w { color: #fff; }
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.audience { padding: 28px; }
.audience-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 22px; color: var(--brand-2); background: rgba(var(--glow), .1); border: 1px solid rgba(var(--glow), .25); }
.audience p { color: var(--muted); margin-top: 8px; }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cases-single { grid-template-columns: 1fr; }
.cases-single .case-card { flex-direction: row; }
.cases-single .case-media { width: 44%; aspect-ratio: auto; }
.case-card { display: flex; flex-direction: column; }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.04); }
.case-tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(5,7,13,.6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.case-logo-stage { position: relative; height: 100%; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 45%, #f3ead9 0%, #e4d6bd 55%, #cdb996 100%); overflow: hidden; }
.case-logo-stage img { position: relative; z-index: 1; width: 52%; max-width: 300px; height: auto; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(70,50,20,.25)); transition: transform 1.2s var(--ease); }
.case-card:hover .case-logo-stage img { transform: scale(1.05) rotate(-1deg); }
.case-orbs i { position: absolute; border-radius: 50%; border: 1px solid rgba(90,60,20,.14); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.case-orbs i:nth-child(1) { width: 60%; aspect-ratio: 1; } .case-orbs i:nth-child(2) { width: 85%; aspect-ratio: 1; } .case-orbs i:nth-child(3) { width: 112%; aspect-ratio: 1; }
.case-body { display: flex; flex-direction: column; gap: 16px; padding: 28px 30px 30px; flex: 1; }
.case-body > p { color: var(--muted); }
.case-fns { display: flex; flex-wrap: wrap; gap: 8px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 6px 0 8px; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.metric { padding: 16px; background: #0a0e1a; }
.metric-v { font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #b9c6f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-l { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--dim); }
.case-body .link-arrow { margin-top: auto; }
.case-hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.metric-lg { padding: clamp(24px, 3vw, 40px); }
.metric-lg .metric-v { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 4rem); }
.metric-lg .metric-l { font-size: 15px; color: var(--muted); }
.case-detail { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-visual { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.case-photo { border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; }
.case-logo-lg { aspect-ratio: 1; border-radius: var(--r); }
.built { display: flex; flex-direction: column; gap: 12px; }
.built li { display: flex; gap: 20px; padding: 24px; }
.built li > span { font-size: 13px; color: var(--brand-2); font-variant-numeric: tabular-nums; padding-top: 3px; }
.built p { color: var(--muted); margin-top: 6px; }
.big-quote { margin: 0; max-width: 980px; margin-inline: auto; text-align: center; }
.big-quote .quote-mark { width: 48px; height: 48px; margin: 0 auto 24px; color: var(--brand); }
.big-quote blockquote { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.25; letter-spacing: -.03em; font-weight: 500; }
.big-quote figcaption { margin-top: 28px; color: var(--muted); }

/* ---------- Compare ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 550; color: var(--muted); }
.compare thead th.is-us { color: #fff; }
.compare thead th.is-us .mark { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.compare tbody th { font-weight: 550; color: var(--text); width: 18%; }
.compare td { color: var(--muted); }
.compare td .i { display: inline-block; vertical-align: -2px; margin-right: 10px; }
.compare .is-us { position: relative; color: #fff; background: rgba(var(--glow), .09); }
.compare td.is-us .i { color: var(--brand-2); }
.compare thead .is-us { background: rgba(var(--glow), .16); box-shadow: inset 0 2px 0 var(--brand-2); }
.mark { width: 22px; height: auto; color: #fff; }
.mark-sm { width: 18px; }

/* ---------- Process ---------- */
.process-wrap { position: relative; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.process-rail { position: absolute; left: 36px; right: 36px; top: 36px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.process-rail span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand), var(--brand-2)); box-shadow: 0 0 20px var(--brand-2); }
.process-step { padding: 72px 28px 30px; }
.process-dot { position: absolute; left: 22px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: #0b1020; border: 1px solid var(--line-2); color: var(--muted); transition: all .5s var(--ease); z-index: 1; }
.process-step.is-lit .process-dot { background: var(--brand); border-color: var(--brand-2); color: #fff; box-shadow: 0 0 0 6px rgba(var(--glow), .15), 0 0 24px rgba(var(--glow), .8); }
.process-when { font-size: 13px; color: var(--brand-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.process-step p:last-child { color: var(--muted); margin-top: 10px; }

/* ---------- Bridge / globe ---------- */
.bridge { overflow: hidden; }
.bridge::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 78% 50%, rgba(40, 60, 140, .28), transparent 70%); }
.bridge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.bridge-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bridge-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.bridge-card > p:nth-child(2) { color: var(--muted); font-size: 15px; }
.bridge-flag { font-weight: 600; }
.clock { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.clock-t { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.clock-l { font-size: 12.5px; color: var(--dim); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.checks .i { color: var(--brand-2); }
.globe-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.globe-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.2s var(--ease); }
.globe-stage.is-ready canvas { opacity: 1; }
.globe-stage canvas:active { cursor: grabbing; }
.globe-fallback { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #1a2550, #070b18 70%); box-shadow: 0 0 80px rgba(var(--glow), .35), inset 0 0 40px rgba(var(--glow), .3); transition: opacity 1s; }
.globe-stage.is-ready .globe-fallback { opacity: 0; }
.globe-label { position: absolute; left: 0; top: 0; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 550; white-space: nowrap; color: #fff; background: rgba(10, 14, 28, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; will-change: transform, opacity; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.quote { margin: 0; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote-mark { width: 30px; height: 30px; color: var(--brand); }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; color: #dfe4f3; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption small { color: var(--dim); font-size: 13px; }

/* ---------- Team ---------- */
.leads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-card { display: flex; gap: 22px; padding: 22px; align-items: center; }
.lead-img { width: 108px; height: 108px; border-radius: 16px; object-fit: cover; flex: none; }
.lead-name { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.lead-role { color: var(--brand-3); font-size: 14px; margin: 2px 0 8px; }
.lead-bio { color: var(--muted); font-size: 15px; }
.center-link { text-align: center; margin-top: 32px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card { overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .4s; }
.team-card:hover { border-color: var(--line-2); }
.team-photo { aspect-ratio: 1 / 1.02; overflow: hidden; background: #111; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.team-card:hover .team-photo img { transform: scale(1.05); filter: saturate(1.05); }
.team-body { padding: 20px 22px 24px; }
.team-loc { font-size: 12.5px; color: var(--dim); margin-bottom: 8px; }
.team-name { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.team-role { color: var(--brand-3); font-size: 14px; margin-top: 2px; }
.team-bio { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 12px; }

/* ---------- About ---------- */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.option { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.option p { color: var(--muted); }
.option-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); }
.option-ico .mark { width: 24px; }
.option-verdict { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.option.is-us { background: linear-gradient(180deg, rgba(var(--glow), .16), rgba(var(--glow), .03)); border-color: rgba(var(--glow), .4); box-shadow: 0 30px 80px -30px rgba(var(--glow), .6); }
.option.is-us .option-verdict { color: #fff; }
.option.is-us .option-verdict .i { color: var(--brand-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .section-head { margin-bottom: 0; }
.vision { display: grid; gap: 16px; }
.vision-card { padding: 28px; }
.vision-k { font-size: 13px; color: var(--brand-2); }
.vision-card .h4 { margin: 10px 0 8px; font-size: 1.5rem; }
.vision-card p { color: var(--muted); }

/* ---------- Services ---------- */
.owns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.own { padding: 28px; }
.own-k { display: inline-block; font-size: 13px; color: var(--c, var(--brand-2)); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.own p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
body[class*="svc-"] .own-k { color: var(--brand-2); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease); }
.related-card:hover { transform: translateY(-4px); }
.related-card > p:not(.pill) { color: var(--muted); font-size: 15px; }
.related-card .pill { align-self: flex-start; }
.related-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.12rem; font-weight: 550; letter-spacing: -.015em; }
.faq-ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .4s var(--ease), background .3s; }
.faq-ico .i { width: 16px; height: 16px; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: rgba(var(--glow), .2); border-color: rgba(var(--glow), .5); }
.faq-a { padding: 0 60px 26px 0; color: var(--muted); }
.faq-item[open] .faq-a { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(56px, 8vw, 110px) var(--pad); border-radius: var(--r-lg); border: 1px solid rgba(var(--glow), .3);
  background: radial-gradient(90% 120% at 50% 0%, #1b2856 0%, #0a0f1f 60%, #070a14 100%); box-shadow: 0 40px 120px -40px rgba(var(--glow), .6), inset 0 1px 0 rgba(255,255,255,.08); }
.cta .h2 { max-width: 16em; margin-inline: auto; }
.cta .lead { margin: 22px auto 0; }
.cta-glow { position: absolute; inset: -40% 10% auto; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(var(--glow), .5), transparent); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(1.08); } }
.cta-mark { position: absolute; right: -60px; bottom: -80px; z-index: -1; opacity: .12; transform: rotate(-12deg); }
.cta-mark .mark { width: 420px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.copy-hint { font-size: 12.5px; color: var(--finance); }
.copy-hint:empty { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.contact-form { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 550; color: #dfe4f3; padding: 0; margin-bottom: 0; }
fieldset.field legend { margin-bottom: 10px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #5c6680; }
.field input:focus, .field textarea:focus { border-color: var(--brand-2); background: rgba(var(--glow), .06); box-shadow: 0 0 0 4px rgba(var(--glow), .15); }
.field.has-err input, .field.has-err textarea { border-color: #f87171; }
.field-err { font-size: 13px; color: #fca5a5; min-height: 0; }
.field-err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; background: rgba(255,255,255,.035); border: 1px solid var(--line-2); color: var(--muted); transition: all .25s var(--ease); }
.chip:hover span { border-color: rgba(255,255,255,.28); color: #fff; }
.chip input:checked + span { color: #fff; background: rgba(var(--glow), .2); border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(var(--glow), .15); }
.chip input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 20px; background: rgba(94,234,212,.12); border: 1px solid rgba(94,234,212,.4); color: var(--finance); }
.form-done-ico .i { width: 28px; height: 28px; }
.form-done p { color: var(--muted); margin-top: 10px; }
.contact-form.is-done > :not([data-form-done]) { display: none; }
.form-fail { color: #fca5a5; font-size: 14px; }
.form-fail a { text-decoration: underline; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
.aside-card { padding: 28px; }
.next-steps { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.next-steps li { display: flex; gap: 14px; }
.next-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; font-size: 13px; font-weight: 600; background: rgba(var(--glow), .15); border: 1px solid rgba(var(--glow), .4); color: var(--brand-3); }
.next-steps strong { font-weight: 600; }
.next-steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.aside-people { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.aside-person { display: flex; align-items: center; gap: 12px; }
.aside-person img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.aside-person strong { display: block; font-weight: 600; }
.aside-person small { color: var(--dim); }
.aside-mail { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--brand-3); font-size: 15px; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: flex; align-items: center; }
.nf-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.nf-inner .lead { margin: 22px auto 0; }
.nf-inner .hero-actions { justify-content: center; }
.nf-mark .mark { width: 96px; margin-bottom: 30px; filter: drop-shadow(0 0 40px rgba(var(--glow), .7)); animation: floaty 7s ease-in-out infinite; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 90px 0 36px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #070b16 100%); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer-brand p { color: var(--muted); max-width: 30ch; margin-top: 18px; font-size: 15px; }
.footer-loc { display: flex; align-items: center; gap: 8px; color: var(--dim) !important; font-size: 14px !important; }
.footer-loc .i { width: 16px; height: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer-cols a { color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; width: fit-content; }
.footer-cols a:hover { color: #fff; }
.footer-note { font-size: 13.5px; color: var(--dim); }
.footer-word { margin: 80px 0 28px; color: rgba(255,255,255,.05); }
.logo-xl { width: 100%; }
.footer-word .logo-xl svg path[fill="#4C6BCD"] { fill: rgba(76,107,205,.22); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .h1[data-reveal] .line { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 0 11px; }
  .bento-growth, .bento-system, .bento-product, .bento-finance { grid-column: span 6; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes .quote:last-child { grid-column: 1 / -1; }
  .bridge-grid { grid-template-columns: 1fr; }
  .globe-stage { max-width: 560px; order: -1; margin-bottom: -40px; }
  .svc-badge { display: none; }
}
@media (max-width: 900px) {
  .nav, .nav-cta .btn { display: none; }
  .burger { display: inline-block; }
  .nav-wrap { padding-right: 8px; }
  .hero { padding-top: 300px; justify-content: flex-start; }
  .scroll-cue { display: none; }
  .hero-3d-fallback { right: auto; left: 50%; top: 190px; width: 260px; transform: translate(-50%, -50%); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cases, .leads, .split, .faq-grid, .contact-grid, .case-detail { grid-template-columns: 1fr; }
  .cases-single .case-card { flex-direction: column; }
  .cases-single .case-media { width: 100%; aspect-ratio: 16 / 10; }
  .faq-grid .section-head, .contact-aside, .case-visual { position: static; }
  .audiences, .options, .owns, .related { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-rail { left: 36px; right: auto; top: 36px; bottom: 36px; width: 2px; height: auto; }
  .process-rail span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .process-step { padding: 26px 26px 26px 76px; }
  .process-dot { top: 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .case-hero-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bento-growth, .bento-system, .bento-product, .bento-finance { grid-column: 1 / -1; }
  .bento-card { min-height: 0; }
  .illo { min-height: 190px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-body { padding: 16px; }
  .team-bio { display: none; }
  .quotes, .audiences, .options, .owns, .related, .bridge-cards, .form-row { grid-template-columns: 1fr; }
  .quotes .quote:last-child { grid-column: auto; }
  .case-metrics { grid-template-columns: 1fr; }
  .lead-card { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust { margin-top: 40px; }
  .faq-a { padding-right: 0; }
  .illo-finance { flex-direction: column; align-items: stretch; }
  .if-ring { width: 96px; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   v2 — immersive layer: operator engine, 3D chart, capability plane
   ========================================================= */

/* ---------- Operator engine (sticky scrollytelling) ---------- */
.engine { position: relative; height: calc((var(--chapters) + 1) * 100svh); }
.engine-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 70% at 30% 60%, #0e1633 0%, var(--bg) 70%); }
.engine-sticky::before, .engine-sticky::after { content: ""; position: absolute; left: 0; right: 0; height: 160px; z-index: 1; pointer-events: none; }
.engine-sticky::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.engine-sticky::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.engine-canvas { position: absolute; inset: 0; z-index: 0; }
.engine-canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.engine-canvas.is-ready canvas { opacity: 1; }
.engine-fallback { position: absolute; left: 12%; top: 50%; width: 46vw; aspect-ratio: 1; transform: translateY(-40%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), .28), transparent 62%); transition: opacity 1s; }
.engine-canvas.is-ready .engine-fallback { opacity: 0; }
.engine-ui { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr minmax(360px, 440px); grid-template-rows: auto 1fr auto; gap: 0 40px; padding-top: 110px; padding-bottom: 48px; pointer-events: none; }
.engine-ui a, .engine-ui button { pointer-events: auto; }
.engine-head { grid-column: 1 / -1; max-width: 720px; }
.engine-head .h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); }
.engine-panel { grid-column: 2; grid-row: 2; position: relative; align-self: center; min-height: 440px; }
.chapter { position: absolute; inset: 0 0 auto; padding: 30px; border-radius: var(--r-lg); background: rgba(10, 14, 28, .62); border: 1px solid var(--line-2);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(30px) scale(.97); filter: blur(8px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); pointer-events: none; }
.chapter[data-active] { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.chapter::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.chapter-k { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.chapter-h { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); letter-spacing: -.035em; line-height: 1.05; }
.chapter-p { color: var(--muted); margin-top: 12px; }
.chapter-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 22px 0; }
.chapter-list li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #dfe4f3; }
.chapter-list .i { color: var(--c); }
.chapter-proof { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 20px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.chapter-proof strong { font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--c); white-space: nowrap; }
.chapter-proof span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.chapter-proof em { display: block; font-style: normal; color: var(--dim); font-size: 12.5px; margin-top: 2px; }
.engine-steps { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 10px; }
.engine-step { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: 13.5px; font-weight: 550; color: var(--dim); transition: color .3s; }
.engine-step-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.engine-step-bar i { display: block; height: 100%; width: calc(var(--fill, 0) * 100%); background: var(--c); box-shadow: 0 0 12px var(--c); }
.engine-step[aria-current="step"] { color: #fff; }
.engine-step:hover { color: #fff; }

/* ---------- Capability plane (CSS 3D marquee) ---------- */
.caps-section { overflow: hidden; padding-bottom: clamp(60px, 8vw, 110px); }
.caps { position: relative; perspective: 1100px; height: 330px; margin-top: -10px; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.caps-plane { position: absolute; left: -10%; right: -10%; top: 50%; display: flex; flex-direction: column; gap: 16px; transform: translateY(-50%) rotateX(28deg) rotateZ(-6deg); transform-style: preserve-3d; }
.caps-row { display: flex; width: max-content; gap: 14px; animation: capsMove var(--dur) linear infinite; }
.caps-row.is-rev { animation-direction: reverse; }
.caps-row ul { display: flex; gap: 14px; }
.caps:hover .caps-row { animation-play-state: paused; }
@keyframes capsMove { to { transform: translateX(-50%); } }
.cap { display: inline-flex; align-items: center; gap: 12px; height: 62px; padding: 0 26px 0 20px; border-radius: 18px; white-space: nowrap; font-size: 19px; font-weight: 550; letter-spacing: -.02em;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); }
.cap-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.facts > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 26px; background: #080c18; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; background: linear-gradient(180deg, #fff, #9fb3ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* ---------- CSS-3D bar chart ---------- */
.chart3d { position: relative; height: 100%; min-height: 280px; overflow: hidden; background: radial-gradient(70% 80% at 50% 110%, rgba(76,107,205,.5), transparent 70%), radial-gradient(60% 60% at 50% 40%, #f4ecdc, #e1d1b3 70%, #c9b28a); }
.chart3d .chart3d-logo { position: absolute; object-fit: contain; left: 50%; top: 9%; z-index: 2; width: 34%; max-width: 210px; height: auto !important; transform: translateX(-50%); filter: drop-shadow(0 8px 16px rgba(60,40,10,.25)); }
.chart3d-scene { position: absolute; left: 50%; bottom: 4%; width: 420px; height: 230px; margin-left: -210px; transform-style: preserve-3d; transform: perspective(900px) rotateX(58deg) rotateZ(-38deg) scale(.74); transform-origin: 50% 80%; }
.chart3d-floor { position: absolute; inset: -20px -30px; border-radius: 14px; background: rgba(80, 60, 30, .12); box-shadow: 0 0 0 1px rgba(80,60,30,.12); }
.bar3d { --w: 34px; --hpx: calc(var(--h) * 1.9px * var(--grow, .06)); position: absolute; left: calc(20px + var(--i) * 54px); top: calc(40% + var(--i) * -8px); width: var(--w); height: var(--w); transform-style: preserve-3d; }
.bar3d i { position: absolute; display: block; transition: height 1.6s var(--ease), width 1.6s var(--ease), transform 1.6s var(--ease); transition-delay: calc(var(--i) * 90ms + 200ms); }
.bar3d .t { inset: 0; background: linear-gradient(135deg, #dfe6ff, #9fb3ff); transform: translateZ(var(--hpx)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.bar3d .f { left: 0; top: var(--w); width: var(--w); height: var(--hpx); transform-origin: top; transform: rotateX(90deg); background: linear-gradient(0deg, #6d88ff, #3f5cbc); }
.bar3d .s { left: var(--w); top: 0; width: var(--hpx); height: var(--w); transform-origin: left; transform: rotateY(-90deg); background: linear-gradient(90deg, #4c6bcd, #2a3f86); }
.is-in .bar3d, .case-chart-lg .bar3d { --grow: 1; }
.chart3d-cap { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-size: 13.5px; color: #3d2f17; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chart3d-cap strong { color: #2c3f8f; }
.case-media.is-logo { background: #e4d6bd; }
.case-chart-lg { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.case-chart-lg .chart3d { min-height: 100%; }
.case-chart-lg .chart3d-scene { transform: perspective(900px) rotateX(58deg) rotateZ(-38deg) scale(1); }

/* ---------- Client stories (image-led quotes) ---------- */
.quote { padding: 0; gap: 0; transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .4s; }
.quote-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--line); }
.quote-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.quote:hover .quote-photo { transform: scale(1.06); }
.quote-media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8,12,24,.85)); }
.quote-body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 28px 28px; flex: 1; }
.quote-body .quote-mark { position: absolute; right: 24px; top: -22px; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 0 10px 30px -8px rgba(var(--glow), .9); }
.quote-body figcaption { display: block; padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 1100px) {
  .engine-ui { grid-template-columns: 1fr minmax(320px, 400px); }
}
@media (max-width: 900px) {
  .engine { height: calc((var(--chapters) + .6) * 100svh); }
  .engine-ui { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; padding-top: 96px; padding-bottom: 20px; }
  .engine-head .h2 { font-size: 1.9rem; }
  .engine-panel { grid-column: 1; grid-row: 3; min-height: 330px; align-self: end; }
  .engine-steps { grid-row: 4; margin-top: 14px; }
  .chapter { padding: 22px; }
  .chapter-list { display: none; }
  .chapter-proof { margin-bottom: 14px; }
  .engine-fallback { left: 50%; top: 32%; width: 80vw; transform: translate(-50%, -50%); }
  .facts { grid-template-columns: 1fr 1fr; }
  .caps { height: 280px; }
  .cap { height: 52px; font-size: 16px; }
}
@media (max-width: 640px) {
  .chart3d-scene { transform: perspective(900px) rotateX(58deg) rotateZ(-38deg) scale(.62); }
}
@media (prefers-reduced-motion: reduce) {
  .caps-row { animation: none; }
  .bar3d { --grow: 1; }
}

/* =========================================================
   v3 — real client imagery
   ========================================================= */
.trust-logo.tejas { height: 46px; }

/* product shots on a brand stage (transparent PNGs) */
.quote-media.is-product, .roster-media.is-product, .wall-tile.is-product { background: radial-gradient(70% 70% at 50% 60%, #2a5a2f 0%, #10261a 60%, #08130d 100%); display: grid; place-items: center; }
.quote-product { width: 72%; height: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); transition: transform 1.2s var(--ease); animation: floaty 8s ease-in-out infinite; }
.quote:hover .quote-product { transform: scale(1.06) rotate(-2deg); }

/* work wall: tilted 3D plane of scrolling columns */
.wall-section { overflow: hidden; }
.wall { position: relative; height: clamp(460px, 62vw, 720px); perspective: 1400px; margin-top: -10px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-composite: intersect; }
.wall-plane { position: absolute; left: 50%; top: 50%; width: min(1500px, 130vw); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  transform: translate(-50%, -50%) rotateX(24deg) rotateZ(-10deg) rotateY(8deg); transform-style: preserve-3d; }
.wall-col { height: calc(clamp(460px, 62vw, 720px) * 1.7); overflow: hidden; }
.wall-col > div { display: flex; flex-direction: column; gap: 20px; padding-bottom: 20px; animation: wallUp var(--dur) linear infinite; }
.wall-col.is-down > div { animation-direction: reverse; }
.wall:hover .wall-col > div { animation-play-state: paused; }
@keyframes wallUp { to { transform: translateY(-100%); } }
.wall-tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0b1020; aspect-ratio: 4 / 3.4;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); transition: transform .5s var(--ease), border-color .4s; }
.wall-tile img { width: 100%; height: 100%; object-fit: cover; }
.wall-tile.is-product img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); }
.wall-tile:hover { transform: translateZ(40px) scale(1.03); border-color: rgba(142,165,255,.6); }
.wall-tile figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; color: var(--muted);
  background: rgba(8,12,24,.72); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wall-tile figcaption strong { display: block; color: #fff; font-size: 13.5px; font-weight: 600; }

/* client roster */
.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roster-card { display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .4s; }
.roster-media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #0b1020; }
.roster-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.roster-card:hover .roster-media img { transform: scale(1.06); }
.roster-media.is-logo { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, #f4ecdc, #d9c6a2); }
.roster-media.is-logo img { width: 62%; height: auto; object-fit: contain; }
.roster-media.is-product img { width: 80%; height: 80%; object-fit: contain; }
.roster-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.roster-sector { font-size: 12.5px; color: var(--dim); letter-spacing: .04em; }
.roster-note { color: var(--muted); font-size: 14.5px; }
.roster-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 10px; }
.roster-site { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.roster-site:hover { color: #fff; }

/* Tool Mart case: storefront, anniversary badge, gallery */
.case-photo-wide { aspect-ratio: 4 / 3; }
.case-visual { position: relative; }
.case-badge { position: absolute; right: -18px; top: -26px; width: 150px; height: auto; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.95);
  box-shadow: 0 20px 50px -14px rgba(0,0,0,.7); transform: rotate(6deg); animation: floaty 8s ease-in-out infinite; }
.case-live { align-self: flex-start; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; overflow: hidden; transition: transform .6s var(--ease); }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-item figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 1100px) { .roster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .wall-plane { grid-template-columns: repeat(3, 1fr); width: 150vw; }
  .wall-col:nth-child(4) { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .case-badge { right: 8px; width: 110px; }
}
@media (max-width: 640px) { .roster { grid-template-columns: 1fr; } .wall-plane { grid-template-columns: repeat(2, 1fr); width: 140vw; } .wall-col:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .wall-col > div { animation: none; } }

/* leadership */
.creds { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.creds li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; color: #dfe4f3; background: rgba(var(--glow), .1); border: 1px solid rgba(var(--glow), .28); }
.creds .i { color: var(--brand-2); }
.lead-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.lead-card { align-items: flex-start; }
.stories { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.story { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.story.is-rev { grid-template-columns: 1fr 1.1fr; }
.story.is-rev .story-media { order: 2; }
.story-media { position: relative; min-height: 360px; overflow: hidden; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.story:hover .story-media img { transform: scale(1.05); }
.story-body { padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.story-body > p:not(.story-kicker) { color: var(--muted); }
.story-kicker { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-3); }
@media (max-width: 900px) { .story, .story.is-rev { grid-template-columns: 1fr; } .story.is-rev .story-media { order: 0; } .story-media { min-height: 260px; } }

/* ---------- mobile polish ---------- */
@media (max-width: 900px) {
  /* comparison table -> stacked cards */
  .compare-wrap { overflow: visible; border: 0; background: none; }
  .compare { min-width: 0; display: block; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tr { display: block; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
  .compare th, .compare td { display: block; padding: 0; border: 0; width: auto !important; }
  .compare tbody th { font-size: 1.05rem; margin-bottom: 12px; }
  .compare td { display: grid; grid-template-columns: 118px 1fr; align-items: start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
  .compare td::before { content: attr(data-label); font-size: 12.5px; color: var(--dim); }
  .compare td .i { display: none; }
  .compare td.is-us { margin: 6px -10px 0; padding: 10px; border-radius: 12px; border-top: 0; background: rgba(var(--glow), .14); }
  .compare td.is-us::before { color: var(--brand-3); font-weight: 600; }
  .compare tbody { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 640px) {
  /* comfortable tap targets + type */
  .h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .section { padding-block: 72px; }
  .engine-step { font-size: 12px; min-height: 40px; }
  .chapter-h { font-size: 1.55rem; }
  .chapter-proof strong { font-size: 1.5rem; }
  .cta { padding: 48px 20px; }
  .cta-actions .btn { width: 100%; }
  .cta-actions .btn span:not(.copy-hint) { overflow: hidden; text-overflow: ellipsis; }
  .footer-word { margin: 48px 0 20px; }
  .facts > div { padding: 18px; }
  .story-body { padding: 22px; }
  .globe-label { font-size: 11px; padding: 4px 8px; }
}
@media (max-width: 380px) {
  .compare td { grid-template-columns: 96px 1fr; }
  .hero-stats > div { padding: 16px; }
  .btn[data-size="lg"] { --h: 50px; padding: 0 20px; }
}
