/* Envent Intelligence — website. Visual language from the company-profile deck (docs: ../envent-company-profile/docs/brand.md). */

/* Inter (SIL OFL 1.1), self-hosted variable font, Latin subset */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-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; }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg: #ffffff; --bg-soft: #f4f7fb; --surface: #ffffff; --surface-2: #f7f9fc;
  --ink: #0f172a; --body: #3b4458; --muted: #5b6478; --line: #e2e8f0; --line-strong: #cfd8e6;
  --blue: #1677ff; --blue-t: #0b4fd1; --violet: #8050f0; --violet-t: #6a35e0;
  --green: #12b76a; --green-t: #067647; --yellow: #f7b500; --yellow-t: #8a5a00; --teal: #14a8c4; --teal-t: #0e7490;
  --tint-blue: #e6f0ff; --tint-violet: #f1eaff; --tint-green: #e2f6ec; --tint-yellow: #fff3d1; --tint-teal: #dff6fa;
  --chip-blue: #eef4ff; --chip-violet: #f3eeff; --chip-green: #e7f8ef; --chip-yellow: #fff6dc; --chip-teal: #e3f8fb;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 16px 36px -16px rgba(15,23,42,.16);
  --shadow-lg: 0 1px 2px rgba(15,23,42,.06), 0 30px 60px -28px rgba(15,23,42,.35);
  --glow-green: radial-gradient(ellipse at 100% 0%, #dcf5e8 0%, rgba(220,245,232,0) 55%);
  --glow-blue: radial-gradient(ellipse at 0% 100%, rgba(22,119,255,.12) 0%, rgba(22,119,255,0) 60%);
  --strip: linear-gradient(90deg, #7a3cff 0%, #1677ff 38%, #12b76a 72%, #f7b500 100%);
  --grad-text: linear-gradient(90deg, #1463e6 0%, #0e9f6e 100%);
  --grad-hero: linear-gradient(90deg, #12b76a 0%, #5fbf3a 45%, #e0a300 100%);
  --header-bg: rgba(255,255,255,.92);
  --r: 20px; --r-sm: 12px;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #050a1c; --bg-soft: #081127; --surface: #0c1630; --surface-2: #101c3a;
  --ink: #f1f5fb; --body: #c3cde0; --muted: #8e9bb5; --line: #1b2a4b; --line-strong: #2a3d66;
  --blue-t: #79b4ff; --violet-t: #bba2ff; --green-t: #4be3a4; --yellow-t: #f7c948; --teal-t: #6ee7f5;
  --tint-blue: rgba(22,119,255,.20); --tint-violet: rgba(128,80,240,.22); --tint-green: rgba(18,183,106,.18);
  --tint-yellow: rgba(247,181,0,.16); --tint-teal: rgba(20,168,196,.20);
  --chip-blue: rgba(22,119,255,.14); --chip-violet: rgba(128,80,240,.16); --chip-green: rgba(18,183,106,.14);
  --chip-yellow: rgba(247,181,0,.13); --chip-teal: rgba(20,168,196,.15);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px -20px rgba(0,0,0,.7);
  --shadow-lg: 0 1px 0 rgba(255,255,255,.05) inset, 0 34px 70px -30px rgba(0,0,0,.85);
  --glow-green: radial-gradient(ellipse at 100% 0%, rgba(18,183,106,.16) 0%, rgba(18,183,106,0) 55%);
  --glow-blue: radial-gradient(ellipse at 0% 100%, rgba(22,119,255,.16) 0%, rgba(22,119,255,0) 60%);
  --grad-text: linear-gradient(90deg, #6fb0ff 0%, #4be3a4 100%);
  --grad-hero: linear-gradient(90deg, #4be3a4 0%, #9be86a 45%, #f7c948 100%);
  --header-bg: rgba(5,10,28,.9);
  color-scheme: dark;
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue-t); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--glow-green), var(--glow-blue), var(--bg-soft); }
.section:not(.section--soft):not(.section--tint) + .section:not(.section--soft):not(.section--tint) { padding-top: 0; } /* same background: no double gap */
.sh { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); display: grid; gap: 14px; }
.sh--center { margin-inline: auto; text-align: center; justify-items: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-2s { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.15fr; } .split--rev > :first-child { order: 2; } }
.stack { display: grid; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Type ───────────────────────────────────────────────── */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.h-display { font-size: clamp(38px, 6.2vw, 78px); line-height: 1.04; letter-spacing: clamp(-2.5px, -0.03em, -1px); }
.h-page { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -1.5px; }
.h-section { font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -1.2px; }
.h-card { font-size: 22px; line-height: 1.2; letter-spacing: -.3px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--body); }
.muted { color: var(--muted); }
.grad { background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small { font-size: 14px; }
.note { font-size: 13px; color: var(--muted); }

/* ── Buttons & chips ────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: #0a5bd6; color: #fff; box-shadow: 0 10px 24px -10px rgba(22,119,255,.7); }
.btn--primary:hover { background: #084fbd; box-shadow: 0 14px 30px -10px rgba(22,119,255,.8); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.btn--light:hover { background: rgba(255,255,255,.16); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn .icon { width: 18px; height: 18px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue-t); }
.link .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.link:hover .icon { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--chip-blue); color: var(--blue-t); border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent); }
.chip--violet { background: var(--chip-violet); color: var(--violet-t); border-color: color-mix(in srgb, var(--violet) 25%, transparent); }
.chip--green { background: var(--chip-green); color: var(--green-t); border-color: color-mix(in srgb, var(--green) 28%, transparent); }
.chip--yellow { background: var(--chip-yellow); color: var(--yellow-t); border-color: color-mix(in srgb, var(--yellow) 35%, transparent); }
.chip--teal { background: var(--chip-teal); color: var(--teal-t); border-color: color-mix(in srgb, var(--teal) 28%, transparent); }

/* ── Cards & tiles ──────────────────────────────────────── */
.card { --tint: var(--tint-blue); --accent: var(--blue); position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(165deg, var(--surface) 0%, var(--surface) 45%, var(--tint) 100%); box-shadow: var(--shadow), 0 22px 44px -26px color-mix(in srgb, var(--accent) 45%, transparent); color: var(--body); text-decoration: none; }
.card--violet { --tint: var(--tint-violet); --accent: var(--violet); }
.card--green { --tint: var(--tint-green); --accent: var(--green); }
.card--yellow { --tint: var(--tint-yellow); --accent: #f09600; }
.card--teal { --tint: var(--tint-teal); --accent: var(--teal); }
.card--plain { background: var(--surface); box-shadow: var(--shadow); }
a.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card__head { display: flex; align-items: center; gap: 14px; }
.card__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 80%, var(--ink)); }
:root[data-theme="dark"] .card__kicker { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.card p { font-size: 16px; }
.card .link { margin-top: auto; padding-top: 8px; }
.card ul { list-style: none; display: grid; gap: 8px; font-size: 15.5px; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.border-grad { padding: 2px; border-radius: calc(var(--r) + 2px); background: linear-gradient(110deg, #8050f0 0%, #1677ff 50%, #12b76a 85%, #f7b500 100%); box-shadow: 0 24px 48px -24px rgba(128,80,240,.55); }
.border-grad > * { border-radius: var(--r); background: linear-gradient(100deg, var(--surface) 0%, var(--surface) 50%, var(--tint-violet) 80%, var(--tint-green) 100%); }

.tile { --g: linear-gradient(145deg, #6aa8ff 0%, #1677ff 55%, #0a4bd0 100%); --s: rgba(22,119,255,.5); width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--g); box-shadow: 0 12px 24px -8px var(--s), inset 0 2px 1px rgba(255,255,255,.5), inset 0 -4px 8px rgba(0,0,0,.18); }
.tile .icon { width: 28px; height: 28px; stroke-width: 2; }
.tile--sm { width: 44px; height: 44px; border-radius: 13px; }
.tile--sm .icon { width: 22px; height: 22px; }
.tile--violet { --g: linear-gradient(145deg, #b79bff 0%, #8050f0 55%, #5a2bd8 100%); --s: rgba(128,80,240,.5); }
.tile--green { --g: linear-gradient(145deg, #5fe3a6 0%, #12b76a 55%, #06804a 100%); --s: rgba(18,183,106,.5); }
.tile--yellow { --g: linear-gradient(145deg, #ffd86b 0%, #f7b500 50%, #e07a00 100%); --s: rgba(240,150,0,.5); }
.tile--teal { --g: linear-gradient(145deg, #6ee7f5 0%, #06b6d4 55%, #0a7e98 100%); --s: rgba(6,182,212,.5); }
.tile--indigo { --g: linear-gradient(145deg, #a5b4fc 0%, #6366f1 55%, #3f3cc9 100%); --s: rgba(99,102,241,.5); }
.tile--red { --g: linear-gradient(145deg, #ff9d92 0%, #f04438 55%, #c0281c 100%); --s: rgba(240,68,56,.45); }

/* ── Frames (screenshots) ───────────────────────────────── */
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.frame__bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.frame__dots i:nth-child(2) { background: #febc2e; } .frame__dots i:nth-child(3) { background: #28c840; }
.frame__url { flex: 1; max-width: 360px; margin: 0 auto; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame--desktop .frame__bar { justify-content: space-between; }
.frame--desktop .frame__title { font-weight: 600; color: var(--ink); }
.frame img, .frame video { width: 100%; height: auto; display: block; }
.frame--float { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 959px) { .frame--float { transform: none; } }
.caption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ── Header ─────────────────────────────────────────────── */
.strip { height: 4px; background: var(--strip); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.3px; margin-right: auto; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav summary { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover, .nav > a[aria-current="page"] { background: var(--bg-soft); }
.nav summary .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.nav details[open] summary .icon { transform: rotate(180deg); }
.nav details { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: -12px; width: min(620px, 92vw); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.menu a { display: flex; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--body); font-size: 14px; line-height: 1.4; }
.menu a:hover { background: var(--bg-soft); }
.menu a b { display: block; color: var(--ink); font-size: 15px; }
.menu .all { grid-column: 1 / -1; justify-content: center; font-weight: 600; color: var(--blue-t); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn .icon { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }
.header-cta { display: inline-flex; }
@media (max-width: 1023px) {
  .menu-toggle { display: inline-grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100svh - 72px); overflow: auto; }
  .site-header.is-open .nav { display: flex; }
  .nav > a, .nav summary { padding: 12px; font-size: 17px; }
  .menu { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 8px 8px; }
  .header-cta { display: none; }
}
@media (max-width: 1023px) { .nav .nav-cta { display: inline-flex; margin-top: 10px; justify-content: center; } }
@media (min-width: 1024px) { .nav .nav-cta { display: none; } }

/* ── Footer & CTA band ──────────────────────────────────── */
.band { position: relative; overflow: hidden; color: #cdd6e6; background: radial-gradient(ellipse at 85% 0%, rgba(18,183,106,.22) 0%, rgba(18,183,106,0) 50%), radial-gradient(ellipse at 0% 100%, rgba(128,80,240,.28) 0%, rgba(128,80,240,0) 55%), linear-gradient(120deg, #0a1430 0%, #13265c 100%); padding: clamp(56px, 8vw, 96px) 0; }
.band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--strip); }
.band h2 { color: #fff; }
.band .lead { color: #cdd6e6; }
.band .grid { margin-top: 36px; }
.band-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #cdd6e6; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.band-card:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.band-card b { color: #fff; font-size: 19px; }
.band-card .link { color: #8ec1ff; margin-top: auto; }
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }
.site-footer h3 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--blue-t); }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }
.foot-contact { display: grid; gap: 10px; margin-top: 16px; }
.foot-contact a, .foot-contact span { display: inline-flex; gap: 10px; align-items: center; }
.foot-contact a { text-decoration: none; }
.foot-contact .icon { width: 18px; height: 18px; color: var(--blue-t); }

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: var(--glow-green), var(--glow-blue), var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .stack { max-width: 820px; gap: 18px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-t); }

/* ── Motion ─────────────────────────────────────────────── */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* dark-only surfaces keep their dark-mode text gradients in both themes */
.band .eyebrow, .on-dark .eyebrow { background-image: linear-gradient(90deg, #6fb0ff 0%, #4be3a4 100%); }
.band .grad, .on-dark .grad { background-image: linear-gradient(90deg, #4be3a4 0%, #9be86a 45%, #f7c948 100%); }

/* ── Home hero ──────────────────────────────────────────── */
.hero { --pos: 50% 12%; position: relative; isolation: isolate; height: calc(99svh - 72px); min-height: 560px; /* header + hero = 99% of the screen */ overflow: hidden; color: var(--hero-ink); background: var(--hero-bg); --hero-ink: #0f172a; --hero-body: #3b4458; --hero-bg: #eef3fa; }
:root[data-theme="dark"] .hero { --hero-ink: #ffffff; --hero-body: #cdd6e6; --hero-bg: #060b1a; }
.hero__city, .hero__arcs, .hero__bms, .hero__bay, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__city { background: image-set(url("/assets/media/hero/city-light.webp") type("image/webp"), url("/assets/media/hero/city-light.jpg") type("image/jpeg")) var(--pos) / cover no-repeat; }
:root[data-theme="dark"] .hero__city { background-image: image-set(url("/assets/media/hero/city-dark.webp") type("image/webp"), url("/assets/media/hero/city-dark.jpg") type("image/jpeg")); }
@media (max-width: 899px) {
  .hero { --pos: 64% 50%; }
  .hero__city { background-image: image-set(url("/assets/media/hero/city-light-1280.webp") type("image/webp"), url("/assets/media/hero/city-light-1280.jpg") type("image/jpeg")); }
  :root[data-theme="dark"] .hero__city { background-image: image-set(url("/assets/media/hero/city-dark-1280.webp") type("image/webp"), url("/assets/media/hero/city-dark-1280.jpg") type("image/jpeg")); }
}
.hero__bms, .hero__bay { object-fit: cover; object-position: var(--pos); opacity: 0; transition: opacity .9s ease; background: var(--hero-bg); }
.hero__city, .hero__arcs { transition: opacity .9s ease; }
.hero[data-scene="bms"] .hero__bms, .hero[data-scene="bay"] .hero__bay { opacity: 1; }
.hero:not([data-scene="city"]) .hero__arcs { opacity: 0; }
.hero__shade { pointer-events: none; background:
  linear-gradient(90deg, rgba(244,247,251,.97) 0%, rgba(244,247,251,.9) 32%, rgba(244,247,251,.5) 54%, rgba(244,247,251,0) 72%),
  linear-gradient(180deg, rgba(244,247,251,0) 70%, rgba(244,247,251,.7) 100%); }
:root[data-theme="dark"] .hero__shade { background:
  linear-gradient(90deg, rgba(4,8,20,.97) 0%, rgba(4,8,20,.9) 32%, rgba(4,8,20,.5) 55%, rgba(4,8,20,0) 72%),
  linear-gradient(180deg, rgba(4,8,20,0) 70%, rgba(4,8,20,.75) 100%); }
@media (max-width: 899px) {
  .hero__shade { background: linear-gradient(180deg, rgba(244,247,251,.25) 0%, rgba(244,247,251,.82) 42%, rgba(244,247,251,.95) 100%); }
  :root[data-theme="dark"] .hero__shade { background: linear-gradient(180deg, rgba(4,8,20,.2) 0%, rgba(4,8,20,.8) 42%, rgba(4,8,20,.95) 100%); }
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: 48px 72px; }
.hero__content > * { max-width: 680px; }
@media (max-width: 899px) { .hero__content { justify-content: flex-end; padding-block: 32px 64px; } }
.hero h1 { color: var(--hero-ink); }
.hero .lead { color: var(--hero-body); max-width: 580px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--hero-body); }
.hero__kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--strip); }
:root[data-theme="dark"] .hero .btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }

/* ── Showcase (tabbed screenshots) ──────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--body); font-weight: 600; font-size: 15px; cursor: pointer; }
.tabs [role="tab"] .icon { width: 18px; height: 18px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tabs [role="tab"]:hover:not([aria-selected="true"]) { border-color: var(--line-strong); }
.panel { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .panel { grid-template-columns: 1.7fr 1fr; } }
.panel[hidden] { display: none; }
.panel ul.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li .icon { width: 22px; height: 22px; color: var(--green-t); margin-top: 2px; }
.ticks b { color: var(--ink); }
.shots-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .shots-2 { grid-template-columns: 1fr 1fr; } }

/* ── How we work loop ───────────────────────────────────── */
.loop { position: relative; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.loop .card { padding-top: 26px; }
.loop .step { font: 800 13px/1 var(--font); letter-spacing: 2px; color: var(--muted); }
.loop-line { height: 6px; border-radius: 3px; margin: 8px 0 26px; background: linear-gradient(90deg, #1677ff, #8050f0, #f7b500, #12b76a); position: relative; overflow: hidden; }
.loop-line::after { content: ""; position: absolute; top: -2px; left: -12%; width: 12%; height: 10px; border-radius: 6px; background: radial-gradient(closest-side, #fff, rgba(255,255,255,0)); animation: run 3.2s linear infinite; }
@keyframes run { to { left: 100%; } }
.callout { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--body); }
.callout .icon { width: 22px; height: 22px; color: var(--green-t); flex: none; }

/* ── eAI ────────────────────────────────────────────────── */
.ai-band { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(28px, 4vw, 52px); color: #cdd6e6; background: radial-gradient(ellipse at 90% 10%, rgba(128,80,240,.45) 0%, rgba(128,80,240,0) 55%), radial-gradient(ellipse at 10% 100%, rgba(22,119,255,.35) 0%, rgba(22,119,255,0) 55%), #070d24; border: 1px solid rgba(255,255,255,.08); }
.ai-band h2, .ai-band h3 { color: #fff; }
.ai-band .lead { color: #cdd6e6; }
.agents { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 640px) { .agents { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .agents { grid-template-columns: repeat(3, 1fr); } }
.agent { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; font-size: 15px; }
.agent b { color: #fff; font-size: 16px; }
.agent small { color: #9fb0cc; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }

/* ── Audience, partner, security strip ──────────────────── */
.who { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.who .card { flex-direction: row; gap: 16px; align-items: flex-start; }
.who h3 { font-size: 18px; margin-bottom: 4px; }
.partner { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .partner { grid-template-columns: 1.1fr 1fr; } }
.duo { display: grid; gap: 12px; }
.duo div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.sec-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.sec-strip div { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.sec-strip b { display: block; color: var(--ink); }
.problem-cards .card { --accent: #f04438; }
.statement { margin-top: 28px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--ink); letter-spacing: -.4px; }
.statement .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Product pages ──────────────────────────────────────── */
.page-hero .split { align-items: center; }
.page-hero .stack { max-width: 640px; }
.feat { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.feat .card h3 { font-size: 19px; }
.related { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.related a.card { flex-direction: row; align-items: center; gap: 14px; }
.related a.card h3 { font-size: 17px; }
.related a.card p { font-size: 14.5px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 26px; letter-spacing: -.5px; margin-top: 18px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.team .card { padding: 0; overflow: hidden; gap: 0; }
.team figure { margin: 0; }
.team img { width: 100%; height: auto; }
.team figcaption { padding: 18px 22px 22px; display: grid; gap: 4px; }
.team figcaption b { color: var(--ink); font-size: 18px; }
.team figcaption span { color: var(--muted); font-size: 15px; }
.team figcaption .link { color: var(--blue-t); font-size: 14px; margin-top: 6px; }

/* ── Contact form ───────────────────────────────────────── */
.contact { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1.6fr 1fr; } }
.req { gap: 20px; }
.req fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.req legend { font-weight: 700; color: var(--ink); margin-bottom: 10px; font-size: 15px; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.types span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border-radius: 14px; border: 1px solid var(--line-strong); font-weight: 600; color: var(--ink); background: var(--surface); text-align: center; }
.types input:checked + span { border-color: var(--blue); background: var(--chip-blue); color: var(--blue-t); box-shadow: 0 0 0 1px var(--blue) inset; }
.types input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }
.type-note { color: var(--muted); font-size: 15px; margin-top: -6px; }
.fields { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.fields[hidden], .checks[hidden] { display: none; }
.f { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.f--wide { grid-column: 1 / -1; }
.f em, .consent em { color: #d92d20; font-style: normal; }
.f input, .f textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; width: 100%; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.f input[aria-invalid="true"] { border-color: #d92d20; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { width: 100%; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14.5px; cursor: pointer; color: var(--ink); }
.checks label:has(input:checked) { border-color: var(--blue); background: var(--chip-blue); color: var(--blue-t); }
.checks input { accent-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.consent input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status.is-error { color: #d92d20; }
.form-status.is-ok { color: var(--green-t); }
.req.is-sent .fields, .req.is-sent fieldset, .req.is-sent .f, .req.is-sent .consent, .req.is-sent .type-note, .req.is-sent .submit-row .btn { display: none; }
.sent { display: grid; gap: 10px; padding: 8px 0; }
.sent .tile { margin-bottom: 6px; }
.contact-side .card ul { list-style: none; display: grid; gap: 8px; }

/* scroll cue: shown after the first hero loop, hidden for good once the visitor scrolls */
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translate(-50%, 10px); display: grid; justify-items: center; gap: 8px; color: var(--hero-ink, var(--ink)); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .8s ease, transform .8s ease; }
.cue-on .scroll-cue { opacity: .85; transform: translate(-50%, 0); pointer-events: auto; }
.cue-off .scroll-cue { opacity: 0; pointer-events: none; }
.scroll-cue__mouse { width: 26px; height: 40px; border-radius: 14px; border: 2px solid currentColor; display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue__mouse i { width: 4px; height: 8px; border-radius: 2px; background: currentColor; animation: cue 1.8s cubic-bezier(.6,0,.3,1) infinite; }
.scroll-cue::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -2px; animation: cue-arrow 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes cue-arrow { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: .4; } 50% { transform: translateY(5px) rotate(45deg); opacity: 1; } }

/* fullscreen toggle: desktop only, and only where the browser supports it */
.fs-toggle .i-min { display: none; }
:root.is-fs .fs-toggle .i-min { display: block; }
:root.is-fs .fs-toggle .i-max { display: none; }
.fs-toggle[hidden] { display: none; }
@media (max-width: 1023px) { .fs-toggle { display: none; } }

/* ── Section vignettes: a small 3D object per section, beside the header (desktop) ── */
.has-vig > .wrap { position: relative; }
.vignette { position: absolute; right: var(--gutter); top: -36px; width: 340px; height: 250px; pointer-events: none; perspective: 1000px; z-index: 0; --p: .5; }
.has-vig .sh { position: relative; z-index: 1; }
.vignette > .vg { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(calc((var(--p) - .5) * -60px)) rotateY(calc(var(--p) * 36deg - 18deg)) scale(.86); }
@media (max-width: 1099px) { .vignette { display: none; } }
@media (prefers-reduced-motion: reduce) { .vignette > .vg { transform: none; } .vignette * { animation: none !important; } }
:root { --glass: rgba(255,255,255,.55); --glass-line: rgba(15,23,42,.14); --vg-shadow: rgba(15,23,42,.18); }
:root[data-theme="dark"] { --glass: rgba(255,255,255,.06); --glass-line: rgba(255,255,255,.18); --vg-shadow: rgba(0,0,0,.5); }
@keyframes vg-float { 0%, 100% { transform: translate3d(0,0,var(--z,0)) rotateZ(var(--r,0deg)); } 50% { transform: translate3d(0,-12px,var(--z,0)) rotateZ(calc(var(--r,0deg) * -1)); } }
@keyframes vg-spin { to { transform: rotateY(360deg); } }
@keyframes vg-spin-z { to { transform: rotate(360deg); } }
@keyframes vg-rise { 0% { transform: translate3d(0, 40px, 0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate3d(0, -150px, 0); opacity: 0; } }
@keyframes vg-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* problem: scattered vendor portals that don't connect */
.vg-portals .pane { position: absolute; width: 150px; height: 104px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 24px 40px -24px var(--vg-shadow); backdrop-filter: blur(4px); animation: vg-float 6s ease-in-out infinite; padding: 10px; }
.vg-portals .pane::before { content: ""; display: block; height: 6px; width: 40px; border-radius: 3px; background: var(--c); opacity: .9; }
.vg-portals .pane i { display: block; height: 5px; border-radius: 3px; margin-top: 8px; background: var(--glass-line); width: 80%; }
.vg-portals .pane i:nth-of-type(2) { width: 55%; } .vg-portals .pane b { position: absolute; right: 10px; bottom: 10px; width: 46px; height: 30px; border-bottom: 2px solid var(--c); border-left: 2px solid var(--c); opacity: .7; }
.vg-portals .pane:nth-child(1) { --c: #f04438; left: 10px; top: 20px; --z: 40px; --r: -4deg; }
.vg-portals .pane:nth-child(2) { --c: #f7b500; left: 170px; top: 0; --z: -30px; --r: 3deg; animation-delay: -1.5s; }
.vg-portals .pane:nth-child(3) { --c: #8050f0; left: 40px; top: 128px; --z: -10px; --r: 5deg; animation-delay: -3s; }
.vg-portals .pane:nth-child(4) { --c: #1677ff; left: 190px; top: 118px; --z: 30px; --r: -3deg; animation-delay: -4.5s; }
.vg-portals svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vg-portals svg path { stroke: #f04438; stroke-width: 2; stroke-dasharray: 5 7; fill: none; animation: vg-blink 2.4s ease-in-out infinite; }

/* platform: three glass layers (edge, intelligence, operations) with data rising */
.vg-stack { transform-style: preserve-3d; }
.vg-stack .layers { position: absolute; left: 50%; top: 54%; width: 200px; height: 200px; margin: -100px 0 0 -100px; transform-style: preserve-3d; animation: vg-spin 16s linear infinite; }
.vg-stack .layers span { position: absolute; inset: 0; border-radius: 26px; border: 1px solid rgba(255,255,255,.55); transform: rotateX(64deg) translateZ(var(--z)); box-shadow: 0 0 40px -6px var(--c); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, transparent), color-mix(in srgb, var(--c) 18%, transparent)); }
.vg-stack .layers span:nth-child(1) { --c: #1677ff; --z: -54px; } .vg-stack .layers span:nth-child(2) { --c: #8050f0; --z: 0px; } .vg-stack .layers span:nth-child(3) { --c: #12b76a; --z: 54px; }
.vg-stack .dot { position: absolute; left: 50%; bottom: 30px; width: 8px; height: 8px; border-radius: 50%; background: #4be3a4; box-shadow: 0 0 12px #4be3a4; animation: vg-rise 3.2s linear infinite; }
.vg-stack .dot:nth-child(3) { left: 38%; background: #f7c948; box-shadow: 0 0 12px #f7c948; animation-delay: -1.1s; } .vg-stack .dot:nth-child(4) { left: 62%; background: #6fb0ff; box-shadow: 0 0 12px #6fb0ff; animation-delay: -2.2s; }

/* see it working: a slow carousel of product screens */
.vg-screens .ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: vg-spin 24s linear infinite; }
.vg-screens .ring span { position: absolute; left: -100px; top: -64px; width: 200px; height: 128px; border-radius: 10px; background: center / cover no-repeat var(--img); border: 1px solid var(--glass-line); box-shadow: 0 18px 30px -18px var(--vg-shadow); transform: rotateY(var(--a)) translateZ(120px); backface-visibility: hidden; }
.vg-screens .ring span:nth-child(1) { --a: 0deg; } .vg-screens .ring span:nth-child(2) { --a: 90deg; } .vg-screens .ring span:nth-child(3) { --a: 180deg; } .vg-screens .ring span:nth-child(4) { --a: 270deg; }

/* how it works: a loop ring with the four steps orbiting */
.vg-loop .ring { position: absolute; left: 50%; top: 50%; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; border: 6px solid transparent; filter: drop-shadow(0 0 12px rgba(111,176,255,.6)); background: conic-gradient(from 0deg, #1677ff, #8050f0, #f7b500, #12b76a, #1677ff) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transform: rotateX(62deg); }
.vg-loop .orbit { position: absolute; left: 50%; top: 50%; width: 280px; height: 280px; margin: -140px 0 0 -140px; transform: rotateX(62deg); transform-style: preserve-3d; }
.vg-loop .orbit > div { position: absolute; inset: 0; animation: vg-spin-z 8s linear infinite; }
.vg-loop .orbit i { position: absolute; left: 50%; top: -11px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px var(--c); }
.vg-loop .orbit > div:nth-child(1) { --c: #1677ff; } .vg-loop .orbit > div:nth-child(2) { --c: #8050f0; animation-delay: -2s; } .vg-loop .orbit > div:nth-child(3) { --c: #f7b500; animation-delay: -4s; } .vg-loop .orbit > div:nth-child(4) { --c: #12b76a; animation-delay: -6s; }
.vg-loop .core { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: radial-gradient(circle, rgba(111,176,255,.65), rgba(111,176,255,0) 70%); animation: vg-blink 3s ease-in-out infinite; }

/* who it's for: a small district of buildings with pulsing pins */
.vg-district .city { position: absolute; left: 50%; top: 62%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); animation: vg-district 20s ease-in-out infinite alternate; }
@keyframes vg-district { to { transform: rotateX(58deg) rotateZ(10deg); } }
.vg-district .b { position: absolute; width: var(--w); height: var(--w); left: var(--x); top: var(--y); transform-style: preserve-3d; }
.vg-district .b > i { position: absolute; inset: 0; transform: translateZ(var(--h)); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, var(--surface)), color-mix(in srgb, var(--c) 25%, var(--surface))); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); }
.vg-district .b > s { position: absolute; left: 0; bottom: 0; width: 100%; height: var(--h); transform-origin: bottom; transform: rotateX(-90deg); background: color-mix(in srgb, var(--c) 30%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.vg-district .b > u { position: absolute; right: 0; top: 0; width: var(--h); height: 100%; transform-origin: right; transform: rotateY(90deg); background: color-mix(in srgb, var(--c) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.vg-district .b > em { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--c); transform: translateZ(calc(var(--h) + 26px)) rotateX(-58deg); box-shadow: 0 0 14px var(--c); animation: vg-blink 2s ease-in-out infinite; }
/* security: shield with turning lattice rings */
.vg-shield .rings { position: absolute; left: 50%; top: 50%; width: 250px; height: 250px; margin: -125px 0 0 -125px; transform-style: preserve-3d; }
.vg-shield .rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed color-mix(in srgb, #6fb0ff 60%, transparent); animation: vg-spin-z 18s linear infinite; }
.vg-shield .rings i:nth-child(1) { transform: rotateX(70deg); } .vg-shield .rings i:nth-child(2) { transform: rotateY(70deg); animation-duration: 24s; animation-direction: reverse; border-color: color-mix(in srgb, #b79bff 60%, transparent); }
.vg-shield .shield { position: absolute; left: 50%; top: 50%; width: 130px; height: 152px; margin: -76px 0 0 -65px; animation: vg-float 6s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(128,80,240,.45)); }
/* partner: the illustrative meter + gateway render, floating */
.vg-device img { position: absolute; left: 50%; top: 50%; width: 260px; height: auto; margin-left: -150px; transform: translateY(-50%); animation: vg-float 7s ease-in-out infinite; border-radius: 18px; }
.vg-device .caption { position: absolute; right: 0; bottom: 0; margin: 0; }
/* eAI band: slow aurora */
.ai-band::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg at 70% 30%, rgba(128,80,240,.0), rgba(128,80,240,.22), rgba(22,119,255,.0), rgba(18,183,106,.16), rgba(128,80,240,.0)); animation: vg-spin-z 40s linear infinite; pointer-events: none; }
.ai-band > * { position: relative; }

/* inner page hero with a background video (Services: the tanker-bay tour) */
.page-hero--video { position: relative; overflow: hidden; isolation: isolate; height: calc(99svh - 72px); min-height: 560px; display: flex; align-items: center; background: var(--bg-soft); } /* header + hero = 99% of the screen */
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; z-index: -2; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(244,247,251,.96) 0%, rgba(244,247,251,.86) 36%, rgba(244,247,251,.25) 64%, rgba(244,247,251,0) 80%); }
:root[data-theme="dark"] .page-hero__shade { background: linear-gradient(90deg, rgba(5,10,28,.96) 0%, rgba(5,10,28,.86) 36%, rgba(5,10,28,.3) 64%, rgba(5,10,28,0) 80%); }
@media (max-width: 899px) { .page-hero__shade { background: rgba(244,247,251,.82); } :root[data-theme="dark"] .page-hero__shade { background: rgba(5,10,28,.78); } }
.page-hero--video .wrap { position: relative; }

/* page-header artwork (rendered 3D loops) */
.art { margin: 0; }
.art video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--bg-soft); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (max-width: 959px) { .art { max-width: 560px; } }
