/* Voxelane — bright, calm, trustworthy. Tokens first; everything else references them. */
:root {
  --bg: #EDEFF2;
  --bg-2: #F6F7F9;
  --surface: #FFFFFF;
  --tile: #F1F3F6;
  --ink: #0B0D12;
  --ink-2: #4F5663;
  --ink-3: #9AA0AA;
  --line: #DDE1E7;
  --brand: #2152FF;
  --brand-2: #1A41D6;
  --brand-soft: #E7EDFF;
  --hazard: #FF5A1F;
  --ok: #0E8A5A;

  --m: clamp(16px, 3.4vw, 56px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(88px, 11vw, 168px);
  --radius: 24px;

  --f: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-h1: clamp(40px, min(6vw, 10.5vh), 100px);
  --t-h2: clamp(32px, 4.2vw, 64px);
  --t-lede: clamp(18px, 1.3vw, 20px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
.frame { padding-inline: var(--m); width: 100%; max-width: 1600px; margin-inline: auto; }

h1, h2 { font-weight: 650; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }

/* ---------- header ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.bar-in { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.bar.is-solid { background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.bar { transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.in-vr .bar { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-word { font-weight: 600; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a, .nav-drop > button { position: relative; text-decoration: none; font-size: 15px; color: var(--ink-2); background: none; border: 0; padding: 6px 0; cursor: pointer; transition: color .2s; }
.nav > a:hover, .nav-drop > button:hover, .nav > a.is-current { color: var(--ink); }
.nav > a.is-current::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ink); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.drop { position: absolute; left: -20px; top: calc(100% + 14px); width: 300px; background: var(--surface); border-radius: 18px; padding: 10px; box-shadow: 0 18px 50px rgba(11, 13, 18, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.drop a span { display: block; font-size: 13px; color: var(--ink-2); }
.drop a:hover { background: var(--tile); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: var(--surface); border-radius: 50%; position: relative; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 45; background: var(--surface); padding: 96px var(--m) 40px; display: flex; flex-direction: column; overflow-y: auto; transform: translateY(-100%); transition: transform .45s var(--ease); }
.mobile-nav.is-open { transform: none; }
.mobile-nav a:not(.btn) { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; text-decoration: none; padding: 9px 0; }
.mobile-nav .sub { font-size: 18px !important; font-weight: 500 !important; color: var(--ink-2); padding-left: 14px !important; }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; padding: 8px 8px 8px 24px; min-height: 52px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn .arr { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: transform .25s var(--ease); }
.btn .arr svg { width: 15px; height: 15px; }
.btn:hover .arr { transform: rotate(45deg); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .arr { background: #fff; color: var(--ink); }
.btn-dark:hover { background: #22262F; }
.btn-blue { background: var(--brand); color: #fff; }
.btn-blue .arr { background: #fff; color: var(--brand); }
.btn-blue:hover { background: var(--brand-2); }
.btn-light { background: var(--surface); color: var(--ink); padding: 8px 24px 8px 8px; box-shadow: inset 0 0 0 1px var(--line); }
.btn-light .play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; }
.btn-light .play svg { width: 12px; height: 12px; margin-left: 2px; }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn-sm { min-height: 44px; padding: 6px 6px 6px 18px; font-size: 14px; }
.btn-sm .arr { width: 32px; height: 32px; }
.btn-plain { padding: 0 26px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- step-in intro: the glasses, scanned in, then worn (js/hero.js) ---------- */
:root { --cyan: #0AE4FF; --violet: #7700FF; --navy: #0D2850; --graphite: #08090C; }
.wear { position: relative; z-index: 2; height: 230vh; } /* no backing of its own: the canvas draws the dark, and its far opening clears onto the light hero */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.stage-bg { position: absolute; inset: 0; background: radial-gradient(38% 48% at 34% 46%, rgba(10, 228, 255, .11), transparent 70%), radial-gradient(40% 52% at 68% 54%, rgba(119, 0, 255, .16), transparent 72%), var(--graphite); }
.stage-bg::after { content: ""; position: absolute; left: 8%; right: 8%; top: 66%; height: 1px; background: linear-gradient(90deg, transparent, rgba(10, 228, 255, .45) 30%, rgba(119, 0, 255, .45) 70%, transparent); }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-fallback { display: none; }
.intro-ui { position: absolute; inset: 0; pointer-events: none; }
.intro-ui a { pointer-events: auto; }
.scan-meter { position: absolute; right: var(--m); top: 96px; display: flex; align-items: baseline; gap: 12px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72); transition: opacity .6s; }
.scan-num { font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.scan-num::after { content: "%"; color: rgba(255, 255, 255, .55); }
.intro-copy { position: absolute; left: var(--m); bottom: clamp(40px, 8vh, 88px); max-width: 36rem; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.intro-title { font-size: clamp(56px, min(9vw, 15vh), 168px); line-height: .9; letter-spacing: -0.055em; font-weight: 650; margin-top: 14px; }
.intro-title span { background: linear-gradient(100deg, var(--cyan) 5%, #6F7DFF 55%, var(--violet) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.intro-lede { margin-top: 20px; color: rgba(255, 255, 255, .68); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; max-width: 27em; }
.intro-cue { position: absolute; right: var(--m); bottom: calc(clamp(40px, 8vh, 88px) + 64px); display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; color: #fff; }
.mouse { position: relative; width: 28px; height: 44px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); flex: none; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.skip-intro { position: absolute; right: var(--m); bottom: clamp(40px, 8vh, 88px); display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .9); text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); transition: background-color .2s, box-shadow .2s; }
.skip-intro:hover, .skip-intro:focus-visible { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px #fff; }
/* while the scan runs: copy waits, page holds still */
.js .intro-copy, .js .intro-cue, .js .skip-intro { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.intro-loading .intro-copy, .intro-loading .intro-cue, .intro-loading .skip-intro { opacity: 0; transform: translateY(16px); }
.intro-loading body { overflow: hidden; }
.intro-ready .scan-meter { opacity: 0; }
/* no WebGL or reduced motion: a still of the glasses, no scroll sequence */
.no-webgl .gl, .rm .gl { display: none; }
.no-webgl .intro-fallback, .rm .intro-fallback { display: block; position: absolute; left: 50%; top: 42%; width: min(80vw, 760px); transform: translate(-50%, -50%); }
.no-webgl .wear, .rm .wear, html:not(.js) .wear { height: auto; background: none; }
.no-webgl .stage, .rm .stage, html:not(.js) .stage { position: relative; height: 100svh; min-height: 640px; }
.no-webgl .scan-meter, .rm .scan-meter, html:not(.js) .scan-meter { display: none; }

.ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); }
.ico svg { width: 21px; height: 21px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.at-intro .nav, .at-intro .bar-in > .btn, .at-intro .menu-btn { opacity: 0; pointer-events: none; }
.nav, .bar-in > .btn, .menu-btn { transition: opacity .3s; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header over the dark hero */
.bar.on-dark .brand-word, .bar.on-dark .nav > a, .bar.on-dark .nav-drop > button { color: rgba(255, 255, 255, .78); }
.bar.on-dark .brand-word, .bar.on-dark .nav > a:hover, .bar.on-dark .nav-drop > button:hover, .bar.on-dark .nav > a.is-current { color: #fff; }
.bar.on-dark .brand-mark { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)) drop-shadow(0 0 10px rgba(10, 228, 255, .25)); }
.bar.on-dark.tint { background: rgba(2, 4, 15, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.bar.on-dark .nav > a.is-current::after { background: #fff; }
.bar.on-dark .bar-in > .btn-dark { background: #fff; color: var(--ink); }
.bar.on-dark .bar-in > .btn-dark .arr { background: var(--ink); color: #fff; }
.bar.on-dark .menu-btn { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.bar.on-dark .menu-btn span { background: #fff; }

/* ---------- hero: the reveal after you step in (js/reveal.js) ----------
   A light scene: white ground, a blue beam from above, a pale horizon with a lit blue rim, and the widgets as clear
   frosted glass on top. A sticky stage; JS writes each layer's state from scroll. Without JS or with reduced motion
   the stage shows its settled state: the title, the horizon and the console. */
.hero-dark { position: relative; isolation: isolate; background: #F7F9FE; color: var(--ink); --hb: #2F5BFF; --hink: #0B1430; }
.js:not(.rm) .hero-dark { z-index: 1; margin-top: -100vh; margin-top: -100svh; height: 330vh; }
.rv-stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.js:not(.rm) .rv-stage { position: sticky; top: 0; }
.rv-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 55% at 50% 0%, #EAF0FF, rgba(234, 240, 255, 0) 70%), #F7F9FE; }
.rv-grid { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 60, 160, .07) 1px, transparent 1px) 50% 0 / 88px 88px, linear-gradient(rgba(30, 60, 160, .07) 1px, transparent 1px) 0 50% / 88px 88px; -webkit-mask: radial-gradient(80% 70% at 50% 35%, #000 20%, transparent 85%); mask: radial-gradient(80% 70% at 50% 35%, #000 20%, transparent 85%); }
.rv-beam { position: absolute; left: 50%; top: -10%; width: min(70vw, 900px); height: 100%; transform: translateX(-50%); background: radial-gradient(7% 60% at 50% 0%, rgba(47, 91, 255, .42), rgba(47, 91, 255, .14) 40%, transparent 72%), radial-gradient(32% 68% at 50% 0%, rgba(10, 228, 255, .14), transparent 75%); filter: blur(8px); }
.rv-giant { position: absolute; left: 50%; top: 4vh; transform: translateX(-50%); font-size: clamp(90px, 17vw, 300px); font-weight: 650; letter-spacing: -0.06em; line-height: .9; white-space: nowrap; background: linear-gradient(180deg, #0D2850 0%, rgba(47, 91, 255, .55) 40%, rgba(47, 91, 255, .02) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; }
.rv-planet { position: absolute; left: 50%; top: 52%; width: max(150vw, 1400px); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(60% 10% at 50% 0%, rgba(120, 170, 255, .35), transparent 100%), radial-gradient(circle at 50% 0%, #E3EBFF, #F2F5FD 30%, #F7F9FE 50%);
  box-shadow: 0 -1px 0 rgba(47, 91, 255, .9), 0 -4px 16px rgba(10, 228, 255, .45), 0 -26px 80px rgba(47, 91, 255, .32), 0 -110px 200px rgba(47, 91, 255, .14), inset 0 10px 30px rgba(47, 91, 255, .22); }
.rv-planet::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(47, 91, 255, .5) .6px, transparent 1.2px) 0 0 / 46px 46px; -webkit-mask: radial-gradient(50% 14% at 50% 0%, #000, transparent); mask: radial-gradient(50% 14% at 50% 0%, #000, transparent); opacity: .5; }

.rv-brand { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 18px; font-size: clamp(40px, 5.6vw, 86px); font-weight: 600; letter-spacing: -0.035em; white-space: nowrap; color: #0D2850; opacity: 0; }
.rv-brand img { width: 1.05em; height: 1.05em; filter: drop-shadow(0 8px 24px rgba(47, 91, 255, .35)); }

.rv-head { position: absolute; left: 50%; top: max(92px, 11vh); width: min(92vw, 860px); transform: translateX(-50%); text-align: center; }
.rv-orb { display: block; width: 26px; height: 26px; margin: 0 auto 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8FD8FF 30%, #2F5BFF 70%); box-shadow: 0 0 20px rgba(10, 228, 255, .6), 0 6px 24px rgba(47, 91, 255, .45); position: relative; }
.rv-orb::before, .rv-orb::after { content: ""; position: absolute; top: 50%; width: min(24vw, 200px); height: 1px; }
.rv-orb::before { right: calc(100% + 16px); background: linear-gradient(90deg, transparent, rgba(47, 91, 255, .55)); }
.rv-orb::after { left: calc(100% + 16px); background: linear-gradient(90deg, rgba(47, 91, 255, .55), transparent); }
.hero-dark h1 { font-size: clamp(38px, min(4.6vw, 7.4vh), 74px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 650; color: var(--hink); }
.hero-dark h1 span { display: block; background: linear-gradient(100deg, #0A9BD8 0%, #2F5BFF 50%, #7700FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.rv-lede { margin: 16px auto 0; max-width: 36em; font-size: clamp(15px, min(1.15vw, 2.2vh), 18px); line-height: 1.55; color: rgba(11, 20, 48, .68); }
.hero-dark .hero-actions { margin-top: 24px; justify-content: center; }
.btn-ghost { background: rgba(255, 255, 255, .6); color: var(--hink, #0B1430); box-shadow: inset 0 0 0 1px rgba(11, 20, 48, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .9); }

/* the deck: the console with its floating cards, and the other simulators around it (design size 1100px) */
.rv-deck { position: absolute; left: 50%; top: 56%; width: 1100px; height: 640px; transform-origin: 50% 0; transform: translateX(-50%) scale(var(--fit, 1)); }
.console, .rv-panel, .rv-chip, .rv-note { background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .38) 60%, rgba(255, 255, 255, .5)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(20, 40, 110, .07), 0 24px 60px rgba(30, 60, 160, .14), 0 2px 6px rgba(30, 60, 160, .06); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); color: var(--hink); }
.console { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 0 0 1px rgba(20, 40, 110, .08), 0 40px 110px rgba(30, 60, 160, .2), 0 4px 14px rgba(30, 60, 160, .08); }
.cs-top { display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 20px; border-bottom: 1px solid rgba(20, 40, 110, .08); font-size: 13px; }
.cs-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; width: 190px; }
.cs-search { flex: 1; max-width: 360px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(20, 40, 110, .08); color: rgba(11, 20, 48, .45); }
.cs-dots { margin-left: auto; display: flex; gap: 8px; }
.cs-dots i { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(20, 40, 110, .1); }
.cs-body { display: grid; grid-template-columns: 210px 1fr; height: calc(100% - 56px); }
.cs-nav { padding: 18px 14px; border-right: 1px solid rgba(20, 40, 110, .07); font-size: 13px; color: rgba(11, 20, 48, .58); }
.cs-nav > p:not(.cs-user) { padding: 9px 12px; border-radius: 10px; }
.cs-nav > p.on { background: rgba(47, 91, 255, .1); color: #1D3BD8; font-weight: 600; }
.cs-user { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 4px; color: var(--hink); }
.cs-user b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #0AE4FF, #7700FF); font-size: 12px; color: #fff; }
.cs-user small { display: block; color: rgba(11, 20, 48, .5); font-size: 12px; }
.cs-main { padding: 28px 30px; }
.cs-hello { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.cs-ask { font-size: 26px; letter-spacing: -0.02em; color: #3B5BFF; margin-top: 2px; }
.cs-pills { display: flex; gap: 8px; margin-top: 18px; }
.cs-pills span { padding: 6px 13px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(20, 40, 110, .1); }
.cs-pills .on { background: #2F5BFF; color: #fff; box-shadow: 0 6px 16px rgba(47, 91, 255, .35); }
.cs-cards { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 14px; margin-top: 22px; }
.cs-card { border-radius: 16px; padding: 18px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px rgba(20, 40, 110, .06), 0 8px 24px rgba(30, 60, 160, .06); min-height: 236px; }
.cs-k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(11, 20, 48, .5); }
.cs-k i { width: 7px; height: 7px; border-radius: 50%; background: #1FBF7A; box-shadow: 0 0 0 4px rgba(31, 191, 122, .18); }
.cs-t { display: block; font-size: 17px; font-weight: 600; margin-top: 8px; letter-spacing: -0.01em; }
.cs-s { display: block; font-size: 12px; color: rgba(11, 20, 48, .55); margin-top: 4px; }
.cs-trace { display: block; width: 100%; height: 92px; margin: 14px 0 6px; }
.cs-trace .band { fill: rgba(31, 191, 122, .12); }
.cs-trace polyline { fill: none; stroke: #2F5BFF; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cs-list ul { margin-top: 14px; display: grid; gap: 12px; font-size: 13px; }
.cs-list li { display: flex; align-items: center; gap: 10px; }
.cs-list li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(11, 20, 48, .25); }
.cs-list li.ok::before { background: #1FBF7A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.cs-list li.now { color: #1D3BD8; font-weight: 600; }
.cs-list li.now::before { box-shadow: inset 0 0 0 1.5px #2F5BFF, 0 0 0 4px rgba(47, 91, 255, .12); }
.cs-score { position: relative; text-align: center; }
.cs-ring { display: block; width: 120px; height: 120px; margin: 14px auto 0; transform: rotate(-90deg); }
.cs-ring circle { fill: none; stroke: rgba(20, 40, 110, .08); stroke-width: 9; }
.cs-ring .val { stroke: #2F5BFF; stroke-linecap: round; stroke-dasharray: var(--v) 100; }
.cs-num { position: absolute; left: 0; right: 0; top: 92px; font-size: 32px; font-weight: 650; letter-spacing: -0.03em; }
.cs-num small { font-size: 16px; color: rgba(11, 20, 48, .5); }
.rv-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.rv-chip i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #2F5BFF; box-shadow: 0 6px 16px rgba(47, 91, 255, .35); }
.rv-chip svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ch1 { left: -70px; top: 300px; }
.ch2 { left: -40px; top: 362px; }
.rv-note { position: absolute; right: -80px; top: 150px; width: 250px; padding: 16px 18px; border-radius: 16px; }
.rv-panel { position: absolute; width: 330px; padding: 18px 20px; border-radius: 18px; text-decoration: none; opacity: 0; transition: box-shadow .2s; }
.rv-panel:hover { box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgba(47, 91, 255, .35), 0 28px 70px rgba(30, 60, 160, .22); }
.rv-panel svg, .rp-bars { display: block; width: 100%; height: 110px; margin: 12px 0 4px; }
.rv-panel path, .rv-panel circle { fill: none; stroke: #2F5BFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rv-panel .dim { stroke: rgba(47, 91, 255, .25); }
.rv-panel circle { fill: #fff; }
.rv-panel circle.me { fill: #0AB8E0; stroke: none; }
.rp-area .fill { fill: rgba(47, 91, 255, .14); stroke: none; }
.rp-bars { display: flex; align-items: flex-end; gap: 10px; }
.rp-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #5C8DFF, #2F5BFF); }
.rp1 { left: -420px; top: -30px; } .rp2 { left: -420px; top: 330px; }
.rp3 { right: -420px; top: -30px; } .rp4 { right: -420px; top: 330px; }

/* at a glance: industries loop and counts */
.proof { background: #fff; padding: 8px 0 clamp(48px, 6vw, 80px); }
.proof-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--gap); border-block: 1px solid var(--line); }
.loop { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.loop-track { display: flex; width: max-content; animation: loop 38s linear infinite; }
.loop:hover .loop-track { animation-play-state: paused; }
.loop-track li { font-size: clamp(17px, 1.5vw, 22px); font-weight: 650; letter-spacing: -0.02em; color: #A3AAB6; padding: 28px 0; white-space: nowrap; }
.loop-track li::after { content: "/"; margin: 0 28px; color: #D3D8E0; font-weight: 400; }
@keyframes loop { to { transform: translateX(-50%); } }
.stats { display: grid; grid-template-columns: repeat(3, auto); }
.stats > div { padding: 18px clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line); text-align: center; }
.stats dd { font-size: clamp(30px, 2.8vw, 44px); font-weight: 600; letter-spacing: -0.03em; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats dt { font-size: 14px; color: var(--ink-2); margin-top: 4px; white-space: nowrap; }

/* spotlight: a soft light that follows the pointer */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(33, 82, 255, .12), transparent 60%); box-shadow: inset 0 0 0 1px rgba(33, 82, 255, 0); }
.spot:hover::after { opacity: 1; }
.magnet { will-change: transform; transition: transform .35s var(--ease), background-color .2s, box-shadow .2s; }

/* headings: words come into focus */
.js .blur-text.reveal { opacity: 1; transform: none; }
.js .blur-text .w { display: inline-block; filter: blur(10px); opacity: 0; transform: translateY(-.25em); transition: filter .7s ease, opacity .7s ease, transform .7s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .blur-text.is-in .w { filter: none; opacity: 1; transform: none; }
/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.white { background: var(--surface); }
.soft { background: var(--bg-2); }
.head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head h2 { grid-column: 1 / span 7; }
.head .lede { grid-column: 8 / span 5; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(11, 13, 18, .08); }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-body h3 { font-size: 24px; }
.svc-body p { color: var(--ink-2); font-size: 16px; }
.svc-body ul { display: grid; gap: 6px; margin: 4px 0 8px; }
.svc-body li { font-size: 15px; padding-left: 18px; position: relative; }
.svc-body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.svc-body .link-arrow { margin-top: auto; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.trust > div { background: var(--bg-2); border-radius: var(--radius); padding: 28px; }
.trust .ico { margin-bottom: 22px; background: var(--brand-soft); }
.trust .ico svg { stroke: var(--brand); }
.trust h3 { margin-bottom: 8px; }
.trust p { color: var(--ink-2); font-size: 16px; }

/* report */
.measured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.measured-copy { grid-column: 1 / span 5; }
.measured-copy h2 { margin-bottom: 20px; }
.points { margin-top: 32px; display: grid; gap: 2px; }
.points li { padding: 14px 0; font-size: 17px; color: var(--ink-2); }
.points strong { color: var(--ink); font-weight: 600; }
.report { grid-column: 7 / -1; background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 32px); box-shadow: 0 0 0 1px var(--line); }
.r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.r-kicker { font-size: 14px; color: var(--ink-2); }
.r-title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; margin-top: 4px; }
.r-result { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #DDF5EA; color: var(--ok); }
.r-result.fail { background: #FFE7DC; color: #C2410C; }
.r-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.r-kpis > div { background: var(--tile); border-radius: 14px; padding: 14px; }
.r-k { font-size: 13px; color: var(--ink-2); }
.r-v { font-size: clamp(22px, 2.1vw, 30px); font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.r-chart { background: var(--tile); border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.r-chart svg { width: 100%; height: 120px; display: block; margin-top: 8px; }
.r-chart-bg { fill: var(--surface); }
.r-band { fill: rgba(33, 82, 255, .1); }
#r-line { fill: none; stroke: var(--brand); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.r-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.r-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.r-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.r-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.r-table td:last-child { text-align: right; }
.r-table .r-total td { border-bottom: 0; font-weight: 700; padding-top: 10px; }
.r-log { margin-top: 6px; font-size: 14px; }
.r-log li { display: grid; grid-template-columns: 44px 1fr; padding: 7px 0; border-bottom: 1px solid var(--line); }
.r-log li:last-child { border-bottom: 0; }
.r-log span { color: var(--brand); font-variant-numeric: tabular-nums; }

/* formats */
.formats-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.formats-photo { grid-column: 1 / span 6; position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; }
.formats-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 13px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }
.formats-list { grid-column: 7 / -1; display: grid; gap: 12px; }
.fmt { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 34px); }
.fmt h3 { font-size: clamp(21px, 1.7vw, 26px); margin-bottom: 10px; }
.fmt p { color: var(--ink-2); }
.fmt .spec { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--brand); }

/* program */
.lane-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); position: relative; }
.lane-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line); }
.lane-steps li { position: relative; padding-top: 42px; }
.lane-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 5px var(--brand); }
.lane-steps .when { font-size: 14px; color: var(--brand); font-weight: 600; margin-bottom: 6px; }
.lane-steps h3 { font-size: clamp(20px, 1.6vw, 24px); margin-bottom: 10px; }
.lane-steps p { font-size: 16px; color: var(--ink-2); }

/* catalogue */
.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { border: 0; background: var(--surface); padding: 10px 18px; border-radius: 999px; font-size: 15px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); }
.cat-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 720px; }
.cat-table th { text-align: left; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cat-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cat-table tr:last-child td { border-bottom: 0; }
.cat-table td:first-child { font-weight: 600; }
.cat-table tbody tr:hover { background: var(--bg-2); }
.cat-table .dom a { color: var(--brand); text-decoration: none; }
.cat-table .dom a:hover { text-decoration: underline; }
.cat-table tr.is-hidden { display: none; }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.ind-photo { grid-column: 1 / span 5; position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; }
.ind-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ind-copy { grid-column: 7 / span 6; }
.ind-copy h2 { margin-bottom: 36px; }
.ind-list li { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.ind-list strong { font-size: clamp(18px, 1.4vw, 21px); font-weight: 600; }
.ind-list span { color: var(--ink-2); font-size: 16px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.faq-grid h2 { grid-column: 1 / span 5; position: sticky; top: 120px; }
.faq-list { grid-column: 7 / span 6; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--tile); display: grid; place-items: center; font-weight: 400; font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 40em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.builder { grid-column: 1 / span 7; background: var(--bg-2); border-radius: 28px; padding: clamp(24px, 3vw, 48px); }
.builder h2 { margin-bottom: 14px; }
.builder .lede { margin-bottom: 28px; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.checks span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--tile); font-size: 15px; transition: background-color .2s, color .2s; }
.checks label:hover span { background: #E4E7EC; }
.checks input:checked + span { background: var(--brand); color: #fff; }
.checks input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field output { color: var(--brand); font-variant-numeric: tabular-nums; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input[type="text"], .field input[type="email"] { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 16px; transition: border-color .2s, background-color .2s; }
.field input:focus { border-color: var(--brand); background: #fff; outline: none; }
.field input[aria-invalid="true"] { border-color: var(--hazard); }
.note { font-size: 14px; color: var(--ink-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--tile); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--tile); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); margin-top: -9px; border: 0; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); border: 0; }
.form-msg { margin-top: 14px; font-size: 15px; min-height: 1.5em; }
.form-msg.err { color: #C2410C; }
.btn-wide { width: 100%; justify-content: space-between; }
.contact-side { grid-column: 9 / span 4; padding-top: clamp(24px, 3vw, 48px); }
.contact-side h3 { font-size: clamp(22px, 1.8vw, 28px); margin-bottom: 18px; }
.next li { padding: 14px 0; font-size: 17px; color: var(--ink-2); border-top: 1px solid var(--line); }
.next strong { display: block; color: var(--ink); }
.direct { margin-top: 24px; font-size: 17px; }
.direct a { color: var(--brand); }

/* footer */
.foot { background: var(--ink); color: #fff; padding-top: clamp(64px, 8vw, 110px); padding-bottom: 32px; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); max-width: 920px; }
.foot-cols h3 { font-size: 15px; color: #8F96A3; font-weight: 500; margin-bottom: 12px; }
.foot-cols li { padding: 4px 0; }
.foot-cols a { text-decoration: none; color: #E8EBF0; transition: color .2s; }
.foot-cols a:hover { color: #9CC1FF; }
.foot-word { font-weight: 700; font-size: min(calc((100vw - 2 * var(--m) - 20px) / 4.9), 310px); letter-spacing: -0.05em; line-height: .8; margin: clamp(48px, 7vw, 100px) 0 28px; white-space: nowrap; text-transform: uppercase; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; font-size: 13px; color: #8F96A3; }
.credits { max-width: 62em; }

/* ---------- service pages ---------- */
.svc-hero { padding-top: 132px; padding-bottom: clamp(56px, 7vw, 100px); background: radial-gradient(120% 90% at 70% 30%, #FBFCFD 0%, #EEF0F3 60%); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.svc-hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.svc-hero-copy { grid-column: 1 / span 6; }
.svc-hero-copy h1 { font-size: clamp(40px, 5.4vw, 84px); letter-spacing: -0.04em; margin: 22px 0 24px; }
.svc-hero-copy .lede { margin-bottom: 30px; }
.svc-hero-photo { grid-column: 8 / -1; border-radius: 28px; overflow: hidden; position: relative; }
.svc-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; max-width: 640px; }
.facts div { background: rgba(255, 255, 255, .8); border-radius: 18px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.facts dt { font-size: 13px; color: var(--ink-2); }
.facts dd { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.risk { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.risk h2 { grid-column: 1 / span 5; }
.risk-body { grid-column: 7 / span 6; display: grid; gap: 18px; font-size: 19px; color: var(--ink-2); line-height: 1.6; }
.risk-body p:first-child { color: var(--ink); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.4; letter-spacing: -0.01em; }
.scen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.scen { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.scen h3 { margin-bottom: 10px; }
.scen p { color: var(--ink-2); font-size: 16px; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.split > :first-child { grid-column: 1 / span 5; }
.split > :last-child { grid-column: 7 / span 6; }
.measure-list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.measure-list strong { font-weight: 600; }
.measure-list span { color: var(--ink-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { padding: 9px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.who h3 { font-size: 16px; color: var(--ink-2); font-weight: 500; margin-top: 28px; }
.band { position: relative; border-radius: 28px; overflow: hidden; }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.cta-band { background: var(--brand); color: #fff; border-radius: 32px; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.cta-band h2 { grid-column: 1 / span 7; }
.cta-band .cta-side { grid-column: 9 / span 4; display: grid; gap: 20px; justify-items: start; }
.cta-band p { color: #DCE4FF; }
.cta-band .btn-dark { background: #fff; color: var(--ink); }
.cta-band .btn-dark .arr { background: var(--ink); color: #fff; }
.next-svc { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; }
.next-svc span { color: var(--ink-2); font-size: 15px; }
.next-svc strong { font-size: clamp(22px, 2.2vw, 34px); font-weight: 650; letter-spacing: -0.02em; }
.next-svc:hover strong { color: var(--brand); }

/* ---------- reveal: quiet ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .loop-track, .shiny, .mouse::after { animation: none; }
  .js .blur-text .w { filter: none; opacity: 1; transform: none; transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card, .btn, .btn .arr { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .scen-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav, .bar-in > .btn { display: none; }
  .menu-btn { display: block; }
  .wear { height: 215vh; }
  .scan-meter { top: 84px; }
  .intro-copy { right: var(--m); bottom: 112px; }
  .intro-cue { left: var(--m); right: auto; bottom: 44px; font-size: 16px; }
  .skip-intro { bottom: 40px; min-height: 40px; padding: 0 16px; font-size: 15px; }
  .rv-head { top: 82px; }
  .rv-orb::before, .rv-orb::after { width: 16vw; }
  .rv-chip, .rv-note, .rv-panel { display: none; }
  .rv-giant { top: 22vh; font-size: 19vw; }
  .proof-in { grid-template-columns: 1fr; gap: 0; }
  .stats { border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
  .stats > div:first-child { border-left: 0; }
  .stats > div { padding: 18px 8px; }
  .stats dt { white-space: normal; font-size: 13px; }

  .reeds { inset: 0; }
  .head h2, .head .lede, .measured-copy, .report, .formats-photo, .formats-list, .ind-photo, .ind-copy, .faq-grid h2, .faq-list, .builder, .contact-side, .svc-hero-copy, .svc-hero-photo, .risk h2, .risk-body, .split > :first-child, .split > :last-child, .cta-band h2, .cta-band .cta-side { grid-column: 1 / -1; }
  .formats-photo, .ind-photo, .faq-grid h2 { position: relative; top: 0; }
  .formats-photo img, .ind-photo img, .svc-hero-photo img { aspect-ratio: 4 / 3; }
  .faq-grid h2 { margin-bottom: 12px; }
  .lane-steps { grid-template-columns: 1fr; gap: 0; }
  .lane-steps::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .lane-steps li { padding: 0 0 32px 44px; }
  .svc-hero { padding-top: 104px; }
  .svc-hero-photo { margin-top: 24px; }
  .band img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .svc-grid, .trust, .scen-grid { grid-template-columns: 1fr; }
  .r-kpis { grid-template-columns: 1fr 1fr; }
  .r-split, .field-row { grid-template-columns: 1fr; }
  .ind-list li, .measure-list li { grid-template-columns: 1fr; gap: 4px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts dd { font-size: 16px; }
  .hero-actions .btn-light { display: none; }
}

/* ---------- Services mega-menu, sub-service pages, Why Voxelane, services hub (built by tools/build-site.ps1) ---------- */
.bar-in { position: relative; }
.nav-drop { position: static; }
.drop-mega { left: auto; right: var(--m); top: calc(100% - 6px); width: min(1000px, calc(100vw - 2 * var(--m))); padding: 22px 22px 14px; border-radius: 22px; }
.drop-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.drop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
.drop-group { display: grid; align-content: start; }
.drop-mega a { padding: 5px 12px; font-size: 14.5px; color: var(--ink-2); border-radius: 10px; }
.drop-mega a.drop-head { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.drop-mega a:hover { color: var(--ink); background: var(--tile); }
.drop-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; padding: 14px 12px 4px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.drop-foot .link-arrow { padding: 0; font-size: 14px; }
.drop-foot .link-arrow:hover { background: none; }

.m-label { font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 4px; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; padding: 10px 0; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: "+"; font-weight: 400; color: var(--ink-3); font-size: 24px; }
.m-group[open] summary::after { content: "\2212"; }
.mobile-nav .m-group a { display: block; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); padding: 7px 0 7px 14px; }
.mobile-nav .m-group a:last-child { padding-bottom: 14px; }
.m-group + a:not(.btn) { margin-top: 12px; }

.pill a { color: inherit; text-decoration: none; }
.sub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sub-card { display: flex; flex-direction: column; gap: 10px; min-height: 210px; background: var(--surface); border-radius: var(--radius); padding: 28px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.sub-card p { color: var(--ink-2); font-size: 16px; }
.sub-card .link-arrow { margin-top: auto; font-size: 15px; }
.sub-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11, 13, 18, .08); }
.white .sub-card { background: var(--tile); }
.ctx { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 36em; }
.reason .num { font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 18px; }

.compare .cat-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); font-size: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare .cat-table td:first-child { font-weight: 400; }
.compare .cat-table td { color: var(--ink-2); }
.compare .cat-table td.us { color: var(--ink); font-weight: 600; background: var(--brand-soft); }
.compare .cat-table thead th:last-child { color: var(--brand); background: var(--brand-soft); }
.compare .cat-table tbody tr:hover { background: none; }
.compare { box-shadow: inset 0 0 0 1px var(--line); }
.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; }

.company { background: var(--tile); border-radius: var(--radius); padding: 10px 28px; }
.company dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.company dl > div:first-child { border-top: 0; }
.company dt { color: var(--ink-2); font-size: 15px; }
.company dd { font-weight: 600; }
.company a { color: var(--brand); text-decoration: none; }

.svc-rows { display: grid; gap: clamp(48px, 6vw, 88px); }
.svc-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row-img { grid-column: 1 / span 3; border-radius: 20px; overflow: hidden; }
.svc-row-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.svc-row-img:hover img { transform: scale(1.04); }
.svc-row-copy { grid-column: 4 / span 4; display: grid; gap: 16px; justify-items: start; }
.svc-row-copy h2 { font-size: clamp(28px, 2.6vw, 42px); }
.svc-row-copy h2 a { text-decoration: none; }
.svc-row-copy p { color: var(--ink-2); font-size: 16px; }
.svc-row-subs { grid-column: 8 / -1; }
.svc-row-subs a { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.svc-row-subs li:first-child a { border-top: 0; padding-top: 0; }
.svc-row-subs strong { font-weight: 600; }
.svc-row-subs span { color: var(--ink-2); font-size: 15px; }
.svc-row-subs a:hover strong { color: var(--brand); }

.foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; }
.foot-addr { font-style: normal; color: #E8EBF0; line-height: 1.8; }

@media (max-width: 1180px) {
  .sub-grid { grid-template-columns: 1fr 1fr; }
  .drop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row-img { grid-column: 1 / span 4; }
  .svc-row-copy { grid-column: 5 / -1; }
  .svc-row-subs { grid-column: 5 / -1; }
}
@media (max-width: 899px) {
  .svc-row-img, .svc-row-copy, .svc-row-subs { grid-column: 1 / -1; }
  .svc-row-img img { aspect-ratio: 16 / 9; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sub-grid { grid-template-columns: 1fr; }
  .sub-card { min-height: 0; }
  .svc-row-subs a { grid-template-columns: 1fr; gap: 2px; }
  .company dl > div { grid-template-columns: 1fr; gap: 2px; }
}
.why-link { display: flex; width: max-content; margin-top: 16px; }
.cat-table .cat-link { text-decoration: none; } .cat-table .cat-link:hover { color: var(--brand); text-decoration: underline; }
.sub-grid[data-n="2"], .sub-grid[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1181px) { .sub-grid[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sub-grid[data-n] { grid-template-columns: 1fr; } }
.crumbs { flex-wrap: wrap; row-gap: 2px; } .crumbs > * { white-space: nowrap; }

/* ===== Studio positioning: services menu, twin panel, solution tiles, insights, articles ===== */
.drop-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-grid[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-grid[data-n="4"] .svc-card img { aspect-ratio: 3 / 2; }
.svc-grid[data-n="4"] .svc-body h3 { font-size: 22px; }

/* digital twin panel (sample data) */
.twin-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.twin-copy { grid-column: 1 / span 5; display: grid; gap: 20px; justify-items: start; }
.twin-copy .points { margin-top: 4px; }
.twin-panel { grid-column: 7 / -1; background: var(--surface); border-radius: 28px; padding: 18px; box-shadow: 0 30px 80px rgba(13, 40, 80, .12), inset 0 0 0 1px var(--line); }
.tw-top { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); padding: 4px 6px 14px; }
.tw-top > span:nth-child(2) { font-weight: 600; color: var(--ink); }
.tw-sync { margin-left: auto; font-variant-numeric: tabular-nums; }
.tw-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 13px; }
.tw-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: twPulse 1.6s ease-in-out infinite; }
.tw-map { display: block; width: 100%; height: auto; }
.tw-ground { fill: #EEF1F5; }
.tw-pit ellipse { fill: none; stroke: #C9D1DC; stroke-width: 1.4; }
.tw-pit ellipse:last-child { fill: #E2E7EE; }
.tw-road { fill: none; stroke: #B9C2CE; stroke-width: 7; stroke-linecap: round; opacity: .7; }
.tw-bld rect { fill: #DCE2EA; stroke: #C5CDD8; }
.tw-mk circle { fill: var(--brand); stroke: #fff; stroke-width: 3; }
.tw-mk text { fill: #fff; font: 700 8.5px var(--f); text-anchor: middle; letter-spacing: .02em; }
.tw-mk.warn circle { fill: var(--hazard); }
.tw-mk circle.ring { fill: none; stroke: var(--hazard); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: twRing 1.8s ease-out infinite; }
.tw-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.tw-feed li { background: var(--bg-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; box-shadow: inset 3px 0 0 var(--ok); }
.tw-feed li.warn { box-shadow: inset 3px 0 0 var(--hazard); background: #FFF3EE; }
.tw-feed b { font-size: 14px; font-weight: 600; }
.tw-feed span { font-size: 14px; color: var(--ink-2); }
.tw-feed i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.tw-feed li.warn i, .tw-feed li.warn span { color: #B4330A; }
.tw-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 12px; padding: 14px 6px 4px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.tw-foot b { color: var(--ink); font-weight: 600; }
@keyframes twPulse { 50% { opacity: .35; } }
@keyframes twRing { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }

/* solution categories on the home page */
.sol-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sol-tile { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--bg-2); text-decoration: none; transition: background-color .25s, transform .3s var(--ease); }
.sol-tile:hover { background: var(--brand-soft); transform: translateY(-3px); }
.sol-tile h3 { font-size: clamp(21px, 1.7vw, 26px); }
.sol-tile ul { display: flex; flex-wrap: wrap; gap: 6px; }
.sol-tile li { font-size: 14px; padding: 5px 11px; border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.sol-tile .link-arrow { margin-top: auto; font-size: 15px; }

/* insight cards */
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) var(--gap); }
.ins-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.ins-img { display: block; border-radius: 20px; overflow: hidden; margin-bottom: 8px; background: var(--tile); }
.ins-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.ins-card:hover .ins-img img, .ins-lead:hover .ins-img img { transform: scale(1.04); }
.ins-meta { font-size: 13.5px; font-weight: 600; color: var(--brand); }
.ins-card h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.015em; }
.ins-card:hover h3 { color: var(--brand); }
.ins-card p { color: var(--ink-2); font-size: 16px; }
.ins-lead { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; margin-top: clamp(40px, 5vw, 64px); text-decoration: none; }
.ins-lead .ins-img { grid-column: 1 / span 7; margin: 0; border-radius: 28px; }
.ins-lead .ins-img img { aspect-ratio: 16 / 10; }
.ins-lead-copy { grid-column: 9 / -1; display: grid; gap: 16px; justify-items: start; }
.ins-lead .h { font-size: clamp(28px, 2.8vw, 44px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; }
.ins-lead .p { color: var(--ink-2); }

/* articles */
.art-hero { padding-top: 132px; padding-bottom: clamp(40px, 5vw, 72px); background: radial-gradient(120% 90% at 70% 30%, #FBFCFD 0%, #EEF0F3 60%); }
.art-head { max-width: 940px; }
.art-head h1 { font-size: clamp(36px, 4.6vw, 72px); letter-spacing: -0.04em; line-height: 1.02; margin: 22px 0 22px; }
.art-by { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.art-photo { margin-top: clamp(32px, 4vw, 56px); border-radius: 28px; overflow: hidden; }
.art-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.art-sec { padding-top: clamp(56px, 6vw, 96px); }
.art-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.art-toc { grid-column: 1 / span 3; position: sticky; top: 110px; font-size: 14.5px; }
.art-toc p { font-weight: 600; margin-bottom: 12px; }
.art-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.art-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.art-toc a:hover { color: var(--ink); border-left-color: var(--brand); }
.art-body { grid-column: 5 / span 7; font-size: 18px; line-height: 1.7; color: #262B34; min-width: 0; }
.art-body > h2 { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.12; color: var(--ink); margin: 56px 0 16px; scroll-margin-top: 100px; }
.art-body > h3 { font-size: 21px; letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 8px; }
.art-body > p { margin: 0 0 18px; }
.art-body > ul, .art-body > ol { margin: 0 0 22px; padding-left: 1.3em; }
.art-body > ul { list-style: disc; }
.art-body > ol { list-style: decimal; }
.art-body > ul li, .art-body > ol li { margin: 8px 0; padding-left: 4px; }
.art-body li::marker { color: var(--brand); }
.art-body strong { color: var(--ink); font-weight: 600; }
.art-body a:not(.link-arrow) { color: var(--brand); text-underline-offset: 3px; }
.art-body .table-wrap { margin: 10px 0 30px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.art-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.art-table th, .art-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.art-table thead th { font-weight: 600; color: var(--ink-2); font-size: 14px; background: var(--bg-2); }
.art-table tbody th { font-weight: 600; color: var(--ink); }
.art-table tr:last-child th, .art-table tr:last-child td { border-bottom: 0; }
.takeaways { background: var(--brand-soft); border-radius: 22px; padding: 26px 30px; margin-bottom: 8px; }
.tk-title { font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.takeaways ul { display: grid; gap: 8px; }
.takeaways li { position: relative; padding-left: 26px; font-size: 17px; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.note-box { margin-top: 32px; padding: 18px 22px; border-radius: 16px; background: var(--tile); font-size: 15.5px; color: var(--ink-2); }
.art-related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.art-related ul { display: grid; gap: 10px; }

/* contact form: select and textarea */
.field select, .field textarea { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 16px; transition: border-color .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select:focus, .field textarea:focus { border-color: var(--brand); background-color: #fff; outline: none; }

/* footer: address sits under Talk to us */
.foot-cols .foot-addr { margin-top: 16px; }

@media (max-width: 1180px) {
  .drop-grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-body { grid-column: 4 / -1; }
}
@media (max-width: 899px) {
  .twin-copy, .twin-panel { grid-column: 1 / -1; }
  .twin-panel { margin-top: 12px; }
  .sol-tiles, .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ins-lead .ins-img, .ins-lead-copy { grid-column: 1 / -1; }
  .art-toc { display: none; }
  .art-body { grid-column: 1 / -1; }
  .art-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .svc-grid[data-n="4"], .sol-tiles, .ins-grid { grid-template-columns: 1fr; }
  .tw-feed { grid-template-columns: 1fr; }
  .tw-top { flex-wrap: wrap; gap: 8px 12px; }
  .art-body { font-size: 17px; }
  .takeaways { padding: 22px 20px; }
  .art-table { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .tw-live i, .tw-mk circle.ring { animation: none; } }

/* high-risk VR training panel (sample session) */
.white .svc-card { background: var(--bg-2); }
.sim-floor { stroke: #C9D1DC; stroke-width: 2; }
.sim-path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 6 6; opacity: .55; }
.sim-struct { fill: #DCE2EA; stroke: #C5CDD8; }
.sim-struct-lines { fill: none; stroke: #C5CDD8; }
.sim-pad { fill: #B9C2CE; }
.sim-pad.target { fill: var(--ok); }
.sim-zone { fill: rgba(255, 90, 31, .08); stroke: var(--hazard); stroke-width: 1.5; stroke-dasharray: 4 4; }
.sim-worker circle { fill: var(--hazard); }
.sim-worker path { fill: none; stroke: var(--hazard); stroke-width: 2.4; stroke-linecap: round; }
.sim-crane path { fill: none; stroke: #5B6472; stroke-width: 2.2; stroke-linejoin: round; }
.sim-crane .sim-cab { fill: #5B6472; }
.sim-crane .sim-weight { fill: #8C95A3; }
.sim-trolley { fill: #5B6472; }
.sim-rope { stroke: #5B6472; stroke-width: 1.6; }
.sim-load { fill: var(--brand); }
.sim-load-g { transform-box: view-box; transform-origin: 322px 62px; animation: simSway 4.2s ease-in-out infinite; }
.sim-wind path { fill: none; stroke: var(--hazard); stroke-width: 2.4; stroke-linecap: round; animation: simGust 2.4s ease-in-out infinite; }
@keyframes simSway { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }
@keyframes simGust { 0%, 100% { transform: translateX(0); opacity: .55; } 50% { transform: translateX(-6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sim-load-g, .sim-wind path { animation: none; } }
/* showreel in the high-risk training section */
.reel { margin: 0; padding: 12px; }
.reel-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #0B0D12; }
.reel-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.reel-v.is-on { opacity: 1; }
.reel-label { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 13, 18, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 600; }
.reel-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.reel-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border: 0; border-radius: 14px; background: var(--bg-2); color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.reel-tabs button i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; }
.reel-tabs button:hover { color: var(--ink); }
.reel-tabs button.is-on { background: var(--brand-soft); color: var(--brand); }
.reel-tabs button.is-on i { opacity: 1; }
/* sections that sit on the grey background */
.section:not(.white) .sol-tile { background: var(--surface); }
.section:not(.white) .sol-tile li { background: var(--bg-2); }
.section:not(.white) .sol-tile:hover { background: var(--brand-soft); }
.section:not(.white) > .frame > .builder { background: var(--surface); }
@media (max-width: 640px) { .reel-tabs button { font-size: 13px; padding: 10px 6px; } }
/* hero pictures: landscape images get a wider frame instead of a tall portrait crop */
.svc-hero-photo.is-wide { grid-column: 7 / -1; }
.svc-hero-photo.is-wide img { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .svc-hero-photo.is-wide { grid-column: 1 / -1; } }
/* example cards with a picture (solutions) */
.sub-card.has-img { padding: 0; overflow: hidden; gap: 0; }
.sc-img { display: block; overflow: hidden; }
.sc-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.sub-card.has-img:hover .sc-img img { transform: scale(1.04); }
.sc-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.sc-body .link-arrow { margin-top: auto; font-size: 15px; }
.white .sub-card { background: var(--bg-2); }/* ways to build it: one card per delivery format (industries and examples) */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.way { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-radius: var(--radius); padding: 26px 26px 24px; text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1px transparent; transition: transform .3s var(--ease), box-shadow .3s; }
.white .way { background: var(--bg-2); }
a.way:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11, 13, 18, .08); }
.way-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.way-name { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; }
.way-fit { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.white .way-fit { background: #fff; }
.way.fit-3 { box-shadow: inset 0 0 0 1.5px var(--brand); }
.way.fit-3 .way-fit { background: var(--brand); color: #fff; }
.way.fit-2 .way-fit { background: var(--brand-soft); color: var(--brand); }
.way p { color: var(--ink-2); font-size: 16px; }
.way-kit { font-size: 13px; color: var(--ink-3); }
.way .link-arrow { margin-top: auto; font-size: 15px; }
.way-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.way-list a { display: inline-block; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink); text-decoration: none; }
.white .way-list a { background: #fff; }
.way-list a:hover { background: var(--brand-soft); color: var(--brand); }
.sub-head { margin: 56px 0 20px; font-size: 22px; font-weight: 650; letter-spacing: -0.01em; }
/* hub: one scenario, many formats */
.fmt-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fmt-list a { display: flex; flex-direction: column; gap: 8px; height: 100%; background: var(--surface); border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit; transition: transform .3s var(--ease); }
.fmt-list a:hover { transform: translateY(-3px); }
.fmt-list strong { font-size: 18px; font-weight: 650; }
.fmt-list span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 1080px) { .ways { grid-template-columns: 1fr 1fr; } .fmt-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ways, .fmt-list { grid-template-columns: 1fr; } .way { padding: 22px; } }
/* long "Built as" values in the hero facts */
.facts dd { overflow-wrap: break-word; }
/* back to top */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(11, 13, 18, .22), inset 0 0 0 1px rgba(255, 255, 255, .12); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); }
.to-top:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (min-width: 900px) { .to-top { right: 28px; bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s; transform: none; } }
/* arriving at /#top (logo, Home links): the dark intro stays hidden until the page is at the dashboard, so it never flashes */
.go-dash .wear { visibility: hidden; }
.go-dash body { background: #F7F9FE; }
/* until js/reveal.js has scrolled to the dashboard and drawn it, show only the hero's light background */
.dash-hold { background: #F7F9FE; }
.dash-hold body { visibility: hidden; }
