/*
VOICE   Confident, technical, calm: an integrator's as-built drawing given a cinematic finish.
IDEA    The site behaves like a commissioning document: rack elevations, floor plans, topology.
PICTURE A dimensional network rack in the hero; blueprint plans, topology and equipment drawings below.
COLOUR  Deep navy fields, white type, logo blue for light and links, red only for actions and signals.
TYPE    Archivo Expanded (echoes the wide logo lettering) for display; Inter for reading.
LAYOUT  Full-bleed bands alternating navy and light, 1240px content, stacking cleanly below 720px.
*/

/* ───────── Tokens ───────── */
:root {
  --navy: #08162B; --navy-2: #101F35; --deep: #050D1B; --ink: #0B1628;
  --blue: #0A5BD3; --blue-hi: #5B9BFF; --blue-soft: #A9C8FF;
  --red: #D92332; --red-hi: #EF3B4A;
  --white: #FFFFFF; --light: #F5F7FA; --muted: #A9B5C6; --slate: #4A5A73;
  --line-d: rgba(169, 181, 198, .16); --line-l: #DCE3EC;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 24px 60px -24px rgba(3, 10, 24, .45);
  --display: 'Archivo', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr: 76px;
  color-scheme: dark;
}
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--white); font: 400 16.5px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1.06; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-stretch: 105%; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.light .lead { color: var(--slate); }
.small { font-size: .875rem; } .muted { color: var(--muted); }
.wrap { width: min(1240px, 100% - 2 * max(5vw, 18px)); margin-inline: auto; }
.band { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.light { background: var(--light); color: var(--ink); color-scheme: light; }
.dark { background: var(--navy); }
.deep { background: var(--deep); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic.big { width: 56px; height: 56px; }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ───────── Buttons & links ───────── */
.btn { --bg: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; background: var(--bg); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-primary { --bg: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(217, 35, 50, .7); }
.btn-primary:hover { --bg: var(--red-hi); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(217, 35, 50, .8); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-dark { --bg: var(--navy); color: #fff; }
.btn-dark:hover { --bg: var(--blue); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--blue-hi); text-decoration: none; }
.light .link-arrow { color: var(--blue); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
a:hover > .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }

/* ───────── Header ───────── */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .35s, box-shadow .35s, border-color .35s; border-bottom: 1px solid transparent; }
body[data-page="home"] .site-header { position: fixed; inset-inline: 0; }
.site-header.scrolled, body:not([data-page="home"]) .site-header { background: rgba(5, 13, 27, .86); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-d); }
.hdr { height: var(--hdr); display: flex; align-items: center; gap: 24px; width: min(1320px, 100% - 2 * max(3vw, 16px)); margin-inline: auto; }
.brand { flex-shrink: 0; }
.brand img { width: 246px; height: auto; }
@media (max-width: 1360px) and (min-width: 1041px) { .brand img { width: 210px; } }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .95rem; color: #D5DEEA; border-radius: 8px; position: relative; transition: color .2s; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: #fff; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.hdr-actions { display: flex; align-items: center; gap: 14px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.hdr-phone .ic { color: var(--blue-hi); width: 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-d); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; place-items: center; }
.mobile-nav { padding: 8px max(5vw, 18px) 24px; background: rgba(5, 13, 27, .97); border-top: 1px solid var(--line-d); display: grid; gap: 12px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0 0 8px; padding: 0; }
.mobile-nav li a { display: block; padding: 14px 4px; font: 700 1.25rem/1.2 var(--display); font-stretch: 110%; text-decoration: none; border-bottom: 1px solid var(--line-d); }
.mobile-nav li a[aria-current] { color: var(--blue-hi); }
@media (max-width: 1180px) { .hdr-phone span { display: none; } }
@media (max-width: 1040px) { .main-nav, .hdr-phone { display: none; } .nav-toggle { display: grid; } .hdr-actions { margin-left: auto; } }
@media (max-width: 520px) { .hdr-actions .btn-sm { display: none; } .brand img { width: min(190px, calc(100vw - 120px)); } :root { --hdr: 66px; } }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: center; padding: calc(var(--hdr) + 32px) 0 72px; overflow: hidden; background: var(--deep); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, #000 20%, transparent 75%); opacity: .55; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(40% 50% at 72% 48%, rgba(10, 91, 211, .38), transparent 70%), radial-gradient(30% 40% at 10% 100%, rgba(217, 35, 50, .12), transparent 70%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,27,.92) 0%, rgba(5,13,27,.65) 50%, rgba(5,13,27,.25) 100%), linear-gradient(0deg, rgba(5,13,27,.9), transparent 40%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero--video .hero-inner { }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255,255,255,.04); font-size: .9rem; color: #D5DEEA; margin-bottom: 26px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(217,35,50,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(217,35,50,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(217,35,50,0); } }
.hero-title { font-size: clamp(2.35rem, 5.1vw, 4.5rem); line-height: 1.02; margin-bottom: 24px; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .ln:nth-child(2) > span { animation-delay: .14s; }
.hero-title em { font-style: normal; background: linear-gradient(100deg, #fff 0%, #fff 42%, #cfe0ff 50%, #fff 58%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s 1.4s ease-in-out infinite; }
@keyframes rise { to { transform: none; } }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero-copy > .lead, .hero-copy > .btn-row, .hero-copy > .hero-facts, .hero-copy > .pill { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero-copy > .pill { animation-delay: .05s; } .hero-copy > .lead { animation-delay: .35s; } .hero-copy > .btn-row { animation-delay: .5s; } .hero-copy > .hero-facts { animation-delay: .65s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .lead { margin-bottom: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 40px 0 0; color: #C9D4E3; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero-facts .ic { color: var(--blue-hi); }

/* 3D rack */
.hero-stage { position: relative; height: clamp(380px, 46vw, 600px); opacity: 0; animation: fadeIn 1.4s .2s var(--ease) forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.rack-scene { --rw: clamp(230px, 27vw, 380px); --rd: calc(var(--rw) * .6); position: absolute; inset: 0; perspective: 1700px; perspective-origin: 50% 40%; display: grid; place-items: center; }
.rack3d { --rx: 8deg; --ry: -28deg;
  position: relative; width: var(--rw); height: calc(var(--rw) * var(--ar)); transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease); }
.rf { position: absolute; backface-visibility: hidden; }
.rf-front { inset: 0; transform: translateZ(calc(var(--rd) / 2)); filter: drop-shadow(0 0 1px rgba(120,160,230,.4)); }
.rf-front svg { width: 100%; height: 100%; }
.rf-back { inset: 0; transform: translateZ(calc(var(--rd) / -2)) rotateY(180deg); background: #070c15; }
.rf-left, .rf-right { top: 0; height: 100%; width: var(--rd); transform-origin: left center; transform: translateZ(calc(var(--rd) / 2)) rotateY(90deg); backface-visibility: visible;
  background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 30%, rgba(0,0,0,.25)), repeating-linear-gradient(90deg, #172133 0 22px, #1b2639 22px 24px),
  #172133; border: 1px solid #2a3850; }
.rf-left { left: 0; } .rf-right { left: 100%; }
.rf-left::before, .rf-right::before { content: ''; position: absolute; inset: 8% 14% auto; height: 14%; background-image: radial-gradient(circle, #05080e 1.6px, transparent 2px); background-size: 9px 9px; opacity: .9; }
.rf-top { left: 0; top: 0; width: 100%; height: var(--rd); transform-origin: top center; transform: translateZ(calc(var(--rd) / 2)) rotateX(-90deg); backface-visibility: visible;
  background: radial-gradient(circle at 30% 50%, #0a0f18 0 18%, transparent 19%), radial-gradient(circle at 70% 50%, #0a0f18 0 18%, transparent 19%), linear-gradient(#1d283b, #121a28); border: 1px solid #2a3850; }
.rack-floor { position: absolute; bottom: 6%; left: 50%; width: calc(var(--rw, 320px) * 1.9); max-width: 120%; height: 70px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(10, 91, 211, .45), transparent 70%); filter: blur(8px); }
.led { animation: blink 1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .18; } }
.sweep { animation: sweep 6s 1.5s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(800px); } }
.rack-scene > .rack3d, .rack-scene > .callouts { grid-area: 1 / 1; }
.callouts { position: relative; width: var(--rw); height: calc(var(--rw) * var(--ar)); pointer-events: none; }
@media (min-width: 901px) { .rack-scene { padding-right: 24%; } }
.callout-chip { position: absolute; left: calc(100% + 30px); transform: translateY(-50%); padding: 6px 12px 6px 14px; border-radius: 999px; background: rgba(8, 22, 43, .82); border: 1px solid rgba(91, 155, 255, .45); font-size: .8rem; font-weight: 600; color: #DCE7F7; white-space: nowrap; backdrop-filter: blur(6px);
  opacity: 0; animation: chipIn .8s var(--d) var(--ease) forwards; }
.callout-chip::before { content: ''; position: absolute; right: 100%; top: 50%; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-hi)); }
.callout-chip::after { content: ''; position: absolute; right: calc(100% + 44px); top: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@keyframes chipIn { from { opacity: 0; transform: translate(12px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-stage { height: clamp(320px, 80vw, 460px); margin-top: 8px; }
  .rack-scene { --rw: clamp(200px, 50vw, 300px); }
}
@media (max-width: 600px) { .callouts { display: none; } }

/* ───────── Section heads ───────── */
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.light .sec-head p { color: var(--slate); }
.sec-head.split { max-width: none; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; }
.sec-head.split > div { max-width: 680px; } .sec-head.split p { margin: 0; }
.sec-sub { color: var(--muted); font-size: 1.12rem; max-width: 62ch; margin: 18px 0 clamp(40px, 6vw, 72px); }
.fineprint { font-size: .85rem; color: var(--muted); margin: 18px 0 0; }
.light .fineprint { color: #66768e; }

/* ───────── Services grid ───────── */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.svc-card a { display: flex; flex-direction: column; height: 100%; padding: 28px 26px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); text-decoration: none; color: var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.svc-card a::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(10, 91, 211, .1), transparent 45%); opacity: 0; transition: opacity .3s; }
.svc-card a:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(8, 22, 43, .45); border-color: #B9CCEA; }
.svc-card a:hover::before { opacity: 1; }
.svc-card h3 { margin: 22px 0 10px; }
.svc-card p { color: var(--slate); font-size: .97rem; flex: 1; }
.svc-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(150deg, var(--navy-2), var(--navy)); color: var(--blue-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); transition: transform .45s var(--ease); }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-card a:hover .svc-ic { transform: rotate(-6deg) scale(1.06); }

/* ───────── Dimensional heading ───────── */
.dim-wrap { perspective: 900px; margin-bottom: 26px; }
.dim { --tx: 0deg; --ty: 0deg; position: relative; display: inline-block; font-size: clamp(2.3rem, 6.2vw, 5.6rem); font-stretch: 118%; font-weight: 900; line-height: 1.02; max-width: 15ch; margin: 0;
  color: #fff; transform: rotateX(var(--tx)) rotateY(var(--ty)); transform-style: preserve-3d; transition: transform .6s var(--ease);
  text-shadow: 0 1px 0 #c9d6ea, 0 2px 0 #9fb3d1, 0 3px 0 #7d95ba, 0 4px 0 #5f7aa3, 0 5px 0 #46608b, 0 6px 0 #304a74, 0 7px 0 #20375e, 0 18px 30px rgba(0,0,0,.55), 0 0 60px rgba(10,91,211,.35); }
.dim::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; text-shadow: none; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(170, 205, 255, .95) 48%, transparent 60%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: shine 6s ease-in-out infinite; }
.dim-wrap.reveal { transform: none; }
.dim-wrap .dim { opacity: 0; transform: rotateX(38deg) translateY(30px); transition: transform 1.3s var(--ease), opacity 1s; }
.dim-wrap.in .dim { opacity: 1; transform: rotateX(var(--tx)) rotateY(var(--ty)); }

/* ───────── Integration hub ───────── */
.integration { overflow: hidden; background: radial-gradient(60% 60% at 75% 40%, rgba(10,91,211,.22), transparent 70%), var(--navy); }
.hub { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.hub-figure { position: relative; aspect-ratio: 1; max-width: 600px; width: 100%; margin-inline: auto; }
.hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit { fill: none; stroke: var(--line-d); stroke-dasharray: 2 8; animation: spin 80s linear infinite; transform-origin: 300px 300px; }
.orbit.o2 { animation-direction: reverse; animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }
.ringpoly { fill: rgba(10, 91, 211, .05); stroke: rgba(91, 155, 255, .3); stroke-width: 1.2; }
.spoke { stroke: var(--blue-hi); stroke-width: 2; stroke-dasharray: 6 10; opacity: .5; animation: flow 1.6s linear infinite; transition: opacity .3s, stroke .3s; }
.spoke.on { opacity: 1; stroke: #fff; stroke-width: 2.5; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.core-glow { fill: rgba(10, 91, 211, .22); stroke: rgba(91,155,255,.5); animation: breathe 4s ease-in-out infinite; transform-origin: 300px 300px; }
@keyframes breathe { 50% { transform: scale(1.06); fill: rgba(10, 91, 211, .32); } }
.hub-core { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 20px rgba(10,91,211,.6)); }
.hub-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; padding: 14px 14px 12px; min-width: 112px; border-radius: 16px; cursor: pointer;
  background: rgba(16, 31, 53, .92); border: 1px solid rgba(91,155,255,.3); color: #fff; font: 600 .9rem/1.2 var(--body); transition: transform .4s var(--ease), border-color .3s, background-color .3s, box-shadow .3s; }
.hub-node .ic { width: 26px; height: 26px; color: var(--blue-soft); }
.hub-node:hover, .hub-node.is-on { transform: translate(-50%, -50%) scale(1.06); border-color: var(--blue-hi); background: #0d2447; box-shadow: 0 0 0 6px rgba(91,155,255,.12), 0 20px 40px -20px #000; }
.hub-node.is-on .ic { color: #fff; }
.hub-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.hub-panel p { font-size: 1.12rem; color: #D2DCEA; max-width: 44ch; }
.hub-panel:not([hidden]) { animation: fadeUp .5s var(--ease); }
.hub-sum { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); color: var(--muted); }
@media (max-width: 860px) { .hub { grid-template-columns: minmax(0, 1fr); } .hub-node { min-width: 0; padding: 10px; font-size: .78rem; } .hub-node .ic { width: 22px; height: 22px; } }
@media (max-width: 460px) { .hub-node span { max-width: 9ch; text-align: center; } .hub-core { width: 17%; } }
@media (max-width: 600px) { .dim { text-shadow: 0 1px 0 #9fb3d1, 0 2px 0 #5f7aa3, 0 3px 0 #304a74, 0 4px 0 #20375e, 0 12px 20px rgba(0,0,0,.5); } }

/* platforms */
.plat-block { margin-top: clamp(56px, 8vw, 96px); }
.plat-block h3 { color: var(--muted); font-weight: 600; font-family: var(--body); font-stretch: 100%; font-size: 1rem; margin-bottom: 18px; }
.plat-grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r); overflow: hidden; }
.plat { display: grid; align-content: center; gap: 6px; min-height: 112px; padding: 20px 22px; background: var(--navy); transition: background-color .35s; position: relative; }
.plat::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--blue-hi); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.plat:hover { background: var(--navy-2); } .plat:hover::after { transform: scaleX(1); }
.wordmark { font: 800 1.25rem/1.1 var(--display); font-stretch: 108%; color: #EEF3FA; transition: transform .4s var(--ease); }
.plat:hover .wordmark { transform: translateX(4px); }
.plat img { max-height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.plat-cat { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plat { min-height: 96px; padding: 16px; } .wordmark { font-size: 1.05rem; } }
.light-grid { background: var(--line-l); border-color: var(--line-l); }
.light-grid .plat { background: #fff; }
.light-grid .plat:hover { background: #F0F5FC; }
.light-grid .wordmark { color: var(--ink); }
.light-grid .plat img { filter: none; }
.light-grid .plat-cat { color: var(--slate); }

/* ───────── Showcase tabs ───────── */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--line-d); width: fit-content; max-width: 100%; margin-bottom: 28px; }
.tablist button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 .95rem/1 var(--body); cursor: pointer; transition: background-color .3s, color .3s; }
.tablist button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -10px var(--blue); }
.tablist button:hover { color: #fff; }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
[hidden] { display: none !important; }
.tabpanel:not([hidden]) { animation: fadeUp .6s var(--ease); }
.sc-figure { border-radius: var(--r-lg); background: radial-gradient(80% 80% at 50% 30%, #0f2546, var(--navy) 70%); border: 1px solid var(--line-d); padding: clamp(14px, 2.5vw, 30px); overflow: hidden; }
.sc-copy p { color: #CCD7E6; font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--red); margin-top: 3px; width: 18px; height: 18px; }
.checks.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px 22px; }
@media (max-width: 900px) { .tabpanel { grid-template-columns: minmax(0, 1fr); } }

/* illustrations */
.ill { width: 100%; height: auto; overflow: visible; }
.ill text { font: 600 15px var(--body); fill: #C8D3E3; }
.ill text.small { font-size: 12px; }
.ill .zone { font-size: 14px; fill: #8FB8FF; }
.cam-head { animation: camPan 9s ease-in-out infinite; }
@keyframes camPan { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.6deg); } }
.cam-cone { animation: coneFlicker 3s ease-in-out infinite; }
@keyframes coneFlicker { 50% { opacity: .6; } }
.ir { animation: blink 1.4s infinite; }
.wave { opacity: 0; transform-box: fill-box; transform-origin: center top; animation: wave 2.4s ease-out infinite; }
@keyframes wave { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: .9; } 100% { opacity: 0; transform: scale(1.15); } }
.meter { transform-box: fill-box; transform-origin: bottom; animation: meter .9s ease-in-out infinite alternate; }
@keyframes meter { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.card { animation: tap 6s var(--ease) infinite; }
@keyframes tap { 0%, 15% { transform: translate(0, 0); } 35%, 60% { transform: translate(-54px, -4px); } 80%, 100% { transform: translate(0, 0); } }
.reader-led { animation: grant 6s infinite; }
@keyframes grant { 0%, 36% { fill: #D92332; } 40%, 70% { fill: #39d98a; } 74%, 100% { fill: #D92332; } }
.shackle { animation: unlock 6s infinite; }
@keyframes unlock { 0%, 38% { transform: none; } 42%, 70% { transform: translateY(-5px); } 74%, 100% { transform: none; } }
.ill-topo .tnode text { font-size: 15.5px; fill: #E2EAF5; }
.ill-topo .hl rect { stroke: var(--red); fill: #2a1420; }
.ill-topo .hl text { fill: #fff; }
.ill-topo .hub rect { fill: #10284f; stroke: #4f8cff; }
.ill-topo .links path { stroke-dasharray: 5 7; animation: flow 2s linear infinite; }
.topo .portrait { display: none; }
@media (max-width: 640px) { .topo .landscape { display: none; } .topo .portrait { display: block; max-width: 420px; margin-inline: auto; } }
.svc-visual .topo .landscape { display: none; } .svc-visual .topo .portrait { display: block; max-width: 400px; margin-inline: auto; }
.flat-rack { max-width: 460px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }

/* ───────── Environments / plans ───────── */
.blueprint { background: radial-gradient(70% 70% at 70% 40%, #0c2a55, #071a36 70%); }
.envs { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.env-list { display: grid; gap: 6px; }
.env-list button { text-align: left; padding: 14px 18px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: #C8D3E3; cursor: pointer; font: inherit; transition: background-color .3s, border-color .3s, color .3s; position: relative; }
.env-list button span { display: block; font: 700 1.08rem/1.25 var(--display); font-stretch: 106%; }
.env-list button small { display: grid; grid-template-rows: 0fr; overflow: hidden; color: var(--muted); font-size: .92rem; transition: grid-template-rows .45s var(--ease), margin .45s; }
.env-list button[aria-selected="true"] { background: rgba(10, 91, 211, .18); border-color: rgba(91,155,255,.4); color: #fff; }
.env-list button[aria-selected="true"] small { grid-template-rows: 1fr; margin-top: 6px; }
.env-list button::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--red); transform: scaleY(0); transition: transform .4s var(--ease); }
.env-list button[aria-selected="true"]::before { transform: scaleY(1); }
.env-list button:hover { color: #fff; }
.env-stage { position: relative; border-radius: var(--r-lg); border: 1px solid rgba(91,155,255,.3); background: #06162e; overflow: hidden; display: grid; }
.env-panel { grid-area: 1 / 1; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.env-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.plan { width: 100%; height: auto; }
.plan .walls rect { fill: rgba(10, 30, 60, .5); stroke: #CFE0FF; stroke-width: 3; }
.plan .rlabels text { font: 600 12px var(--body); fill: #8FB8FF; }
.plan .cone { fill: rgba(91,155,255,.18); stroke: rgba(143,184,255,.55); stroke-width: 1; }
.plan .ring { fill: rgba(57, 217, 138, .06); stroke: rgba(57, 217, 138, .5); stroke-dasharray: 4 5; }
.plan .d-cam { fill: #5B9BFF; stroke: #fff; stroke-width: 2; }
.plan .d-ap { fill: #39d98a; stroke: #fff; stroke-width: 1.5; }
.plan .d-spk { fill: #EEF3FA; }
.plan .d-rdr { fill: var(--red); stroke: #fff; stroke-width: 1.5; }
.plan .d-rack { fill: #fff; }
.plan .link { stroke: #fff; stroke-width: 2; stroke-dasharray: 6 6; animation: flow 1.5s linear infinite; }
.env-panel.is-on .cone, .env-panel.is-on .ring { animation: popIn .8s var(--ease) backwards; transform-box: fill-box; transform-origin: center; }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } }
.legend { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .86rem; color: #C8D3E3; border-top: 1px solid rgba(91,155,255,.2); background: rgba(5,13,27,.5); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg-cam { background: #5B9BFF; box-shadow: 0 0 0 3px rgba(91,155,255,.25); } .lg-ap { background: #39d98a; box-shadow: 0 0 0 3px rgba(57,217,138,.25); }
.lg-spk { background: #EEF3FA; } .lg-rdr { background: var(--red); border-radius: 3px !important; } .lg-rack { background: #fff; border-radius: 2px !important; }
.center-cta { display: grid; justify-items: center; gap: 18px; margin-top: 44px; text-align: center; }
@media (max-width: 860px) {
  .envs { grid-template-columns: minmax(0, 1fr); }
  .env-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .env-list button { flex: none; padding: 10px 16px; border-color: rgba(91,155,255,.25); border-radius: 999px; }
  .env-list button span { font-size: .95rem; } .env-list button small { display: none; } .env-list button::before { display: none; }
  .env-stage { order: 2; }
}

/* ───────── Projects ───────── */
.proj-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.proj-grid.full { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.proj-card > a, .proj-open { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; cursor: pointer; padding: 0; font: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.proj-card > a:hover, .proj-open:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(8,22,43,.5); }
.proj-cover { aspect-ratio: 16 / 10; overflow: hidden; background: #06162e; position: relative; }
.proj-cover > img, .proj-cover > video, .media-fill { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-art { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.proj-art .plan { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .9; }
.proj-card :hover .proj-art, .proj-card :hover .proj-cover > img { transform: scale(1.05); }
.proj-fig { position: absolute; left: 16px; bottom: 14px; display: grid; padding: 10px 14px; border-radius: 12px; background: rgba(5, 13, 27, .78); backdrop-filter: blur(6px); color: #fff; border: 1px solid rgba(91,155,255,.35); }
.proj-fig strong { font: 900 2rem/1 var(--display); font-stretch: 115%; }
.proj-fig span { font-size: .82rem; color: #C8D3E3; margin-top: 4px; }
.proj-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.proj-body h3, .proj-body .h3 { margin: 10px 0 8px; }
.proj-body p { color: var(--slate); font-size: .96rem; flex: 1; }
.tag { display: inline-block; align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: #E7EEF8; color: #23406B; font-size: .8rem; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-l); background: #fff; color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; transition: all .25s; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.proj-card.hide { display: none; }
.planning { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; margin-top: 40px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--navy); color: #fff; }
.planning .ic.big { color: var(--blue-hi); }
.planning p { color: #C8D3E3; margin: 0; max-width: 75ch; }
.planning .tag { background: rgba(91,155,255,.15); color: var(--blue-soft); }
.planning .h3 { margin: 10px 0 8px; }
.proj-dialog { width: min(980px, 100% - 24px); max-height: calc(100svh - 40px); padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.proj-dialog::backdrop { background: rgba(3, 9, 20, .72); backdrop-filter: blur(4px); }
.proj-dialog[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dlg-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.dlg-cover { position: relative; min-height: 320px; background: #06162e; }
.dlg-cover > img, .dlg-cover > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dlg-body { padding: clamp(24px, 3.5vw, 44px); }
.dlg-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 12px 0; }
.dlg-body h3 { margin: 22px 0 8px; font-size: 1.05rem; }
.dlg-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(8,22,43,.8); color: #fff; cursor: pointer; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 0; padding: 16px 0; border-block: 1px solid var(--line-l); }
.facts dt { font-size: .8rem; color: #66768e; } .facts dd { margin: 2px 0 0; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 20px 0; }
.g-item { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.ba { position: relative; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; margin: 20px 0; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba input { position: absolute; inset: auto 0 10px; width: 90%; margin: auto; }
@media (max-width: 760px) { .dlg-inner { grid-template-columns: minmax(0, 1fr); } .dlg-cover { min-height: 220px; aspect-ratio: 16/10; } .planning { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Process ───────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; counter-reset: s; }
.steps li, .values li { padding: 28px 26px; border-radius: var(--r); border: 1px solid var(--line-d); background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); position: relative; transition: border-color .3s, transform .45s var(--ease); }
.steps li:hover, .values li:hover { border-color: rgba(91,155,255,.5); transform: translateY(-4px); }
.steps .ic, .values .ic { width: 34px; height: 34px; color: var(--blue-hi); margin-bottom: 20px; }
.steps p, .values p { color: var(--muted); margin: 0; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 46px; right: -18px; width: 18px; height: 1px; background: var(--line-d); }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }

/* industries */
.ind-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ind-chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-l); text-decoration: none; color: var(--ink); font-weight: 600; transition: all .3s var(--ease); }
.ind-chips .ic { color: var(--blue); }
.ind-chips a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.ind-chips a:hover .ic { color: var(--blue-soft); }
.ind-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.ind-card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ind-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(8,22,43,.5); }
.ind-media { aspect-ratio: 16/9; position: relative; background: #06162e; overflow: hidden; }
.ind-art { position: absolute; inset: 0; } .ind-art .plan { height: 100%; opacity: .85; transition: transform .8s var(--ease); }
.ind-card:hover .ind-art .plan { transform: scale(1.06); }
.ind-badge { position: absolute; left: 18px; bottom: 16px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(5,13,27,.82); border: 1px solid rgba(91,155,255,.4); color: #fff; backdrop-filter: blur(6px); }
.ind-badge .ic { width: 28px; height: 28px; }
.ind-body { padding: 22px 24px 26px; } .ind-body p { color: var(--slate); margin: 0; }

/* ───────── Page hero & sub-nav ───────── */
.page-hero { position: relative; overflow: hidden; background: var(--deep); padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.page-hero.tall { padding-block: clamp(80px, 11vw, 150px); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 20ch; animation: fadeUp .9s var(--ease) both; }
.page-hero .lead { animation: fadeUp .9s .15s var(--ease) both; }
.page-hero .dim { font-size: clamp(2.3rem, 6vw, 5.2rem); }
.crumbs { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }
.subnav { position: sticky; top: var(--hdr); z-index: 20; background: rgba(5,13,27,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-d); }
.subnav .scroll { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { flex: none; padding: 10px 12px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; color: #C8D3E3; transition: background-color .25s, color .25s; }
.subnav a:hover, .subnav a.on { background: rgba(91,155,255,.15); color: #fff; }

/* service detail */
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc-row.flip .svc-visual { order: 2; }
.svc-visual { border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(80% 80% at 50% 30%, #0f2546, var(--navy) 70%); border: 1px solid var(--line-d); padding: clamp(16px, 3vw, 36px); }
.svc-visual > img, .svc-visual > video { padding: 0; margin: calc(-1 * clamp(16px, 3vw, 36px)); width: calc(100% + 2 * clamp(16px, 3vw, 36px)); max-width: none; aspect-ratio: 4/3; object-fit: cover; }
.svc-text h2 { margin-top: 20px; }
.svc-detail.light .svc-ic { color: #fff; }
.svc-detail.light .checks .ic { color: var(--blue); }
.brands { font-size: .95rem; color: var(--muted); }
.light .brands { color: var(--slate); }
.svc-text .btn { margin-top: 8px; }
@media (max-width: 860px) { .svc-row { grid-template-columns: minmax(0, 1fr); } .svc-row.flip .svc-visual { order: 0; } }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.about-grid p { color: var(--slate); font-size: 1.05rem; }
.about-visual { background: var(--navy); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.area { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: center; }
.area > div:first-child { max-width: 640px; } .area p { color: var(--slate); margin: 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Contact ───────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.quote-form { background: #fff; border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(8,22,43,.4); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field label span[aria-hidden], .field legend span[aria-hidden], .req-note span { color: var(--red); }
.opt { color: #66768e; font-weight: 400; }
.field input:not([type=radio]):not([type=file]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #CBD5E1; border-radius: 12px; background: #FBFCFE; font: 16px/1.4 var(--body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,91,211,.15); }
.field [aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(217,35,50,.12) !important; }
.field input[type=file] { font-size: .95rem; padding: 10px; border: 1.5px dashed #CBD5E1; border-radius: 12px; background: #FBFCFE; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1.5px solid #CBD5E1; border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s; }
.seg label:has(input:checked) { border-color: var(--blue); background: #EEF4FD; }
.seg input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.err { color: #B3141F; font-size: .86rem; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-note { font-size: .88rem; color: #66768e; margin: 22px 0; }
.form-status:not(:empty) { margin-top: 22px; padding: 20px 22px; border-radius: 14px; background: #EEF4FD; border: 1px solid #C7D8F2; }
.form-status.ok { background: #EAF8F0; border-color: #A9DFC0; }
.form-status.bad { background: #FDEDEE; border-color: #F2B8BD; }
.form-status h3 { font-size: 1.1rem; margin-bottom: 6px; }
.form-status p { margin: 0 0 12px; }
.form-status pre { white-space: pre-wrap; font: 13px/1.5 ui-monospace, Menlo, monospace; background: #fff; border-radius: 10px; padding: 12px; border: 1px solid var(--line-l); max-height: 220px; overflow: auto; }
.contact-side { display: grid; gap: 18px; }
.side-card { background: var(--navy); color: #fff; border-radius: var(--r); padding: 26px; }
.side-card.soft { background: #fff; color: var(--ink); border: 1px solid var(--line-l); }
.big-link { display: flex; gap: 14px; align-items: center; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--line-d); margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.big-link:last-child { border: 0; }
.big-link .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(91,155,255,.15); color: var(--blue-soft); }
.big-link small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
a.big-link:hover { color: var(--blue-soft); }
.next { padding-left: 20px; margin: 0; display: grid; gap: 8px; color: var(--slate); }
.side-card.soft p { color: var(--slate); margin: 0; } .side-card.soft a { color: var(--blue); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .fgrid { grid-template-columns: minmax(0, 1fr); } .quote-form .btn-lg { width: 100%; } }

/* legal */
.prose { max-width: 760px; } .prose h2 { font-size: 1.4rem; margin-top: 1.6em; } .prose p { color: var(--slate); } .prose a { color: var(--blue); }

/* ───────── CTA band & footer ───────── */
.cta-band { background: linear-gradient(120deg, var(--blue) -20%, var(--navy) 55%); overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.cta-inner > div:first-child { max-width: 680px; } .cta-inner p { color: #D2DCEA; margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: var(--deep); border-top: 1px solid var(--line-d); padding-top: clamp(56px, 7vw, 88px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; padding-bottom: 48px; }
.foot-brand img { width: 240px; height: auto; margin-bottom: 18px; }
.foot-brand p { color: #C8D3E3; max-width: 34ch; }
.site-footer h3 { font-family: var(--body); font-stretch: 100%; font-size: .95rem; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 5px 0; text-decoration: none; color: var(--muted); transition: color .2s, transform .3s var(--ease); }
.site-footer ul a:hover { color: #fff; transform: translateX(3px); }
.contact-list a, .contact-list span { display: inline-flex !important; align-items: center; gap: 10px; color: #D2DCEA; overflow-wrap: anywhere; }
.contact-list .ic { color: var(--blue-hi); width: 18px; }
.contact-list + .btn { margin-top: 18px; }
.social { display: flex; gap: 10px; } .social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-d); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line-d); font-size: .88rem; color: var(--muted); }
.foot-legal p { margin: 0; display: flex; flex-wrap: wrap; gap: 20px; } .foot-legal a { text-decoration: none; } .foot-legal a:hover { color: #fff; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .led, .wave, .meter, .card, .reader-led, .shackle, .cam-head, .sweep, .spoke, .orbit, .links path, .plan .link { animation: none !important; }
  .wave { opacity: .6; }
  .hero-title .ln > span { transform: none; }
  @view-transition { navigation: none; }
}

/* ═════════════════════ Cinematic upgrade ═════════════════════ */

/* AI media + label */
.ai-badge { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 4px 9px; border-radius: 999px; background: rgba(5, 13, 27, .72); border: 1px solid rgba(255,255,255,.22); color: #E6EDF7; font: 600 11px/1.2 var(--body); backdrop-filter: blur(6px); pointer-events: auto; }
.aim { position: absolute; inset: 0; overflow: hidden; background: #06162e; }
.aim > img, .aim > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aim > video { opacity: 0; transition: opacity .6s; }
.aim.playing > video { opacity: 1; }

/* Hero reel */
.reel { position: absolute; inset: 0; }
.reel-item { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.reel-item.is-on { opacity: 1; }
.reel-item > img, .reel-item > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-item.is-on > * { animation: kb 10s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero--video .hero-grid { opacity: .18; }
.reel-ui { position: absolute; z-index: 2; left: max(5vw, 18px); right: max(5vw, 18px); bottom: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; pointer-events: none; }
.reel-cap { margin: 0; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #DCE6F4; }
.reel-ai { position: static; }
.reel-ai[hidden] { display: none; }
.reel-bars { display: flex; gap: 6px; }
.reel-bars i { width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.reel-bars b { display: block; height: 100%; width: 0; background: #fff; }
.reel-bars i.done b { width: 100%; }
.reel-bars i.cur b { animation: bar var(--dur, 7s) linear forwards; }
@keyframes bar { to { width: 100%; } }

/* Split-word heading reveal */
.js [data-split].split-ready .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split].split-ready .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].split-in .w > span { transform: none; }

/* Service media cards */
.sc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sc-grid { grid-template-columns: minmax(0, 1fr); } }
.sc a { --tx: 0deg; --ty: 0deg; position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
  background: radial-gradient(120% 90% at 50% 20%, #12305c, #08162B 70%); transform: perspective(1000px) rotateX(var(--tx)) rotateY(var(--ty)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: 0 20px 40px -28px rgba(8,22,43,.6); }
.sc a:hover, .sc a:focus-visible { box-shadow: 0 40px 70px -34px rgba(8,22,43,.75); }
.sc-media { position: absolute; inset: 0; z-index: -1; }
.sc-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transition: transform 1.6s var(--ease), filter .8s; filter: saturate(1.05); }
.sc a:hover .sc-art, .sc a:focus-visible .sc-art { transform: scale(1.55); }
.sc .aim > * { transition: transform 1.6s var(--ease), opacity .6s; }
.sc a:hover .aim > *, .sc a:focus-visible .aim > * { transform: scale(1.06); }
.sc a::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(143, 184, 255, .16), transparent 45%); opacity: 0; transition: opacity .4s; }
.sc a:hover::after { opacity: 1; }
.sc-copy { position: absolute; inset: auto 0 0; z-index: 1; padding: 70px 22px 22px; background: linear-gradient(180deg, transparent, rgba(5, 13, 27, .86) 38%, rgba(5, 13, 27, .96)); }
.sc-copy h3 { margin: 12px 0 8px; font-size: clamp(1.15rem, 1.4vw, 1.35rem); }
.sc-copy p { color: #C6D2E3; font-size: .92rem; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sc .sc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(91,155,255,.16); border: 1px solid rgba(143,184,255,.3); color: #fff; }
.sc .link-arrow { color: #fff; }
.sc .ai-badge { top: 14px; right: 14px; }

/* Service scroll stories */
.story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story-intro { padding-top: 4vh; }
.story-intro h2 { margin-top: 20px; }
.story-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.story-step.on { opacity: 1; }
.story-step h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 10px 0 12px; }
.story-step p { color: #CCD7E6; font-size: 1.08rem; max-width: 46ch; }
.step-k { font-size: .85rem; color: var(--blue-hi); font-weight: 600; }
.story-outro { padding: 6vh 0 2vh; }
.story-visual { position: sticky; top: calc(var(--hdr) + 20px); height: calc(100vh - var(--hdr) - 40px); display: flex; align-items: center; }
.story-frame { position: relative; width: 100%; aspect-ratio: 16 / 11; max-height: 100%; border-radius: var(--r-lg); overflow: hidden; container-type: size;
  background: radial-gradient(80% 80% at 50% 30%, #0f2546, #08162B 70%); border: 1px solid var(--line-d); box-shadow: 0 40px 80px -40px #000; }
.scene { position: absolute; left: 50%; top: 50%; width: min(92cqw, calc(86cqh * var(--ar))); aspect-ratio: var(--ar); translate: -50% -50%; opacity: 0; transition: opacity .8s var(--ease); }
.scene.on { opacity: 1; }
.scene .cam { width: 100%; height: 100%; transform-origin: 0 0; transition: transform 1.5s var(--ease); }
.scene .cam > svg { width: 100%; height: 100%; }
.scene text, .scene .callout { transition: opacity .5s; }
.scene.zoomed text, .scene.zoomed .callout { opacity: 0; }
.sf-media { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.sf-media.on { opacity: 1; }
.story-dots { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: 6px; z-index: 4; }
.story-dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); transition: background-color .4s, width .4s; }
.story-dots i.on { background: #fff; width: 34px; }
.real-shot { margin: 24px 0; border-radius: var(--r); overflow: hidden; position: relative; }
.real-shot img, .real-shot video { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.real-shot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(5,13,27,.75); font-size: .8rem; }
.ill-monitor .cam { font: 600 10px var(--body); fill: #cfe0ff; }
.ill-monitor .scan { animation: scan 5s linear infinite; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(300px); } }
.ill-monitor .rec { animation: blink 1.2s infinite; }
@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-visual { order: -1; top: calc(var(--hdr) + 54px); z-index: 3; height: auto; padding: 10px 0; background: inherit; margin-inline: -4px; }
  .svc-story.dark .story-visual { background: var(--navy); } .svc-story.deep .story-visual { background: var(--deep); }
  .story-frame { aspect-ratio: 16 / 10; max-height: 40svh; }
  .story-step { min-height: 52vh; }
}

/* 3D equipment explorer */
.explorer { display: grid; gap: 22px; }
.ex-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.ex-tabs button { flex: none; display: grid; text-align: left; gap: 2px; min-height: 56px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(255,255,255,.03); color: #D5DEEA; font: 600 .95rem/1.2 var(--body); cursor: pointer; transition: all .3s; }
.ex-tabs button small { font-weight: 500; font-size: .76rem; color: var(--muted); }
.ex-tabs button[aria-selected="true"] { background: #0d2447; border-color: var(--blue-hi); color: #fff; }
.ex-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.ex-stage { --u: 1; position: relative; height: clamp(380px, 46vw, 560px); perspective: 1500px; perspective-origin: 50% 35%; border-radius: var(--r-lg); overflow: hidden; cursor: grab; touch-action: pan-y;
  background: radial-gradient(70% 60% at 50% 40%, #13325e, #06142a 72%); border: 1px solid var(--line-d); }
.ex-stage:active { cursor: grabbing; }
.ex-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(60% 60% at 50% 60%, #000, transparent); opacity: .5; }
@media (max-width: 1100px) { .ex-stage { --u: .8; } }
@media (max-width: 700px) { .ex-stage { --u: .62; } }
@media (max-width: 420px) { .ex-stage { --u: .52; } }
.ex-model { position: absolute; left: 50%; top: 48%; transform-style: preserve-3d; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.ex-model.is-on { opacity: 1; visibility: visible; transition: opacity .6s; }
.ex-rot { --rx: -12deg; --ry: -30deg; --z: 1; transform-style: preserve-3d; transform: scale(var(--z)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 1s var(--ease); }
.ex-rot.drag { transition: none; }
.part { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.mf { position: absolute; left: 0; top: 0; backface-visibility: hidden; overflow: hidden; }
.mf > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mf.tp { filter: brightness(1.22); } .mf.bt { filter: brightness(.55); } .mf.lt { filter: brightness(.72); } .mf.rt { filter: brightness(.86); } .mf.bk { filter: brightness(.66); }
.steel { background: linear-gradient(180deg, #34425a, #1d2636 55%, #141b27); }
.steel2 { background: linear-gradient(180deg, #3c4b63, #242f41 50%, #171e2b); }
.black { background: linear-gradient(180deg, #2a2f38, #15191f 60%, #0e1116); }
.white { background: linear-gradient(180deg, #ffffff, #e2e7ee 50%, #b9c3d0); }
.enclosure { background: linear-gradient(180deg, #cfd7e2, #a9b4c3); }
.wall { background: #2a3a55; }
.mf.cap { background: radial-gradient(circle at 40% 35%, #ffffff, #d5dce6 60%, #aab5c4); }
.mf.mk { background: transparent; overflow: visible; }
.lens { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 36% 34%, #6f97d6 0 6%, #1b3463 18%, #070d1a 55%, #02040a); box-shadow: 0 0 0 calc(var(--u) * 6px) #0b1220 inset, 0 0 0 calc(var(--u) * 3px) #1d2a42; display: grid; place-items: center; }
.lens i { width: 38%; height: 38%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8fb8ff 0 8%, #10224a 40%, #01030a); }
.lens b { position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 6px); height: calc(var(--u) * 6px); margin: calc(var(--u) * -3px); border-radius: 50%; background: #3a0d14; box-shadow: 0 0 calc(var(--u) * 6px) #D92332; }
.ap-ring { position: absolute; inset: 32%; border-radius: 50%; border: calc(var(--u) * 4px) solid #5B9BFF; box-shadow: 0 0 calc(var(--u) * 16px) #5B9BFF, inset 0 0 calc(var(--u) * 10px) rgba(91,155,255,.6); }
.ap-mount { position: absolute; inset: 22%; border-radius: 50%; background: repeating-radial-gradient(circle, #aab5c4 0 calc(var(--u) * 6px), #c4ccd7 calc(var(--u) * 6px) calc(var(--u) * 12px)); }
.reader-face { position: absolute; inset: 0; background: linear-gradient(160deg, #2a3140, #0b0e13 60%); }
.reader-face i { position: absolute; left: 50%; top: 34%; width: 56%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: calc(var(--u) * 2px) solid #4b5a74; }
.reader-face b { position: absolute; left: 50%; bottom: 16%; width: calc(var(--u) * 10px); height: calc(var(--u) * 10px); translate: -50% 0; border-radius: 50%; background: #39d98a; box-shadow: 0 0 calc(var(--u) * 10px) #39d98a; animation: grant 6s infinite; }
.hs { position: absolute; z-index: 2; width: 24px; height: 24px; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 700 12px/1 var(--body); border: 2px solid #fff; box-shadow: 0 0 0 0 rgba(217,35,50,.6); animation: ping 2.4s infinite; transition: transform .3s; }
.hs.hl { transform: scale(1.35); background: #fff; color: var(--red); }
.ex-floor { position: absolute; left: 50%; bottom: 12%; width: 60%; height: 50px; translate: -50% 0; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.55), transparent 70%); filter: blur(6px); }
.ex-ctrl { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.ex-ctrl button { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-d); background: rgba(8,22,43,.85); color: #fff; font: 600 1rem var(--body); cursor: pointer; }
.ex-ctrl button[data-z="0"] { font-size: .85rem; }
.ex-ctrl button:hover { border-color: var(--blue-hi); }
.ex-hint { position: absolute; left: 16px; bottom: 14px; margin: 0; font-size: .82rem; color: var(--muted); }
.ex-panel h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 10px; }
.ex-panel > p { color: #CCD7E6; }
.ex-hs { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ex-hs button { display: flex; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; background: rgba(255,255,255,.03); color: #D5DEEA; font: 400 .92rem/1.45 var(--body); cursor: pointer; transition: all .3s; }
.ex-hs button strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.ex-hs button:hover, .ex-hs button.on { border-color: rgba(91,155,255,.5); background: rgba(91,155,255,.08); }
.ex-hs .n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; }
@media (max-width: 900px) { .ex-body { grid-template-columns: minmax(0, 1fr); } }

/* Integration: scroll-assembled isometric system */
.integ { position: relative; height: calc(100vh + var(--n) * 62vh); background: radial-gradient(60% 50% at 70% 50%, rgba(10,91,211,.22), transparent 70%), var(--navy); }
.integ-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; padding-top: var(--hdr); }
.integ-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 3vw, 48px); align-items: center; }
.integ .dim-wrap { margin-bottom: 22px; }
.integ .dim { font-size: clamp(2rem, 4.2vw, 3.9rem); }
.integ-steps { list-style: none; padding: 0; margin: 0; display: grid; }
.integ-steps li { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.integ-steps li.cur { opacity: 1; transform: none; }
.integ-steps h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); margin-bottom: 8px; color: #fff; }
.integ-steps p { color: #C8D3E3; margin: 0; max-width: 42ch; }
.integ-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .84rem; color: var(--muted); }
.integ-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-net, .lg-lv { width: 22px; height: 0; border-top: 3px solid #5B9BFF; display: inline-block; }
.lg-lv { border-top: 3px dashed var(--red); }
.integ-stage { position: relative; height: min(72vh, 640px); perspective: 2000px; }
.iso { --iso-s: 1; position: absolute; left: 50%; top: 52%; width: 720px; height: 480px; margin: -240px 0 0 -360px; transform-style: preserve-3d; transform: scale(var(--iso-s)) rotateX(56deg) rotateZ(-36deg); }
@media (max-width: 1280px) { .iso { --iso-s: .82; } }
@media (max-width: 1000px) { .iso { --iso-s: .7; } }
@media (max-width: 900px) { .integ-grid { grid-template-columns: minmax(0, 1fr); } .integ-stage { height: 44svh; order: 2; } .integ .dim { font-size: clamp(1.8rem, 7vw, 2.6rem); } .integ-legend { display: none; } .iso { --iso-s: .6; } }
@media (max-width: 520px) { .iso { --iso-s: .56; } .integ-stage { height: 46svh; } }
.iso-floor { position: absolute; inset: -20px; border-radius: 26px; border: 1px solid rgba(91,155,255,.35); background: radial-gradient(60% 60% at 50% 50%, rgba(10,91,211,.25), rgba(6,20,42,.6) 70%), linear-gradient(rgba(91,155,255,.12) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(91,155,255,.12) 1px, transparent 1px) 0 0 / 40px 40px; box-shadow: 0 0 120px rgba(10,91,211,.25); }
.iso-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iso-lines line { fill: none; stroke-linecap: round; }
.iso-lines .net { stroke: #5B9BFF; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); filter: drop-shadow(0 0 4px rgba(91,155,255,.8)); }
.iso-lines .net.on { stroke-dashoffset: 0; }
.iso-lines .lv { stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 8 7; opacity: 0; transition: opacity .8s; }
.iso-lines .lv.on { opacity: 1; }
.pks { opacity: 0; transition: opacity .8s; } .integ.all .pks { opacity: 1; }
.pk { fill: #fff; filter: drop-shadow(0 0 4px #8fb8ff); }
.iso-dev { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.iso-dev .pad { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, rgba(91,155,255,.55), transparent 70%); transform: scale(0); transition: transform .7s var(--ease); }
.iso-dev.on .pad { transform: scale(1); }
.iso-dev .bb { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: translateZ(34px) rotateZ(36deg) rotateX(-56deg) translate(-50%, -100%) translateY(20px); opacity: 0; transition: opacity .6s, transform .8s var(--ease); display: grid; justify-items: center; gap: 6px; padding-bottom: 6px; }
.iso-dev.on .bb { opacity: 1; transform: translateZ(34px) rotateZ(36deg) rotateX(-56deg) translate(-50%, -100%); }
.bb-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(160deg, #1b3c6e, #0b1e3b); border: 1px solid rgba(143,184,255,.5); color: #fff; box-shadow: 0 14px 30px -10px #000, inset 0 1px 0 rgba(255,255,255,.15); }
.bb-ic .ic { width: 26px; height: 26px; }
.core .bb-ic { width: 66px; height: 66px; background: linear-gradient(160deg, #2a5cab, #0d2a57); border-color: #8fb8ff; }
.bb-l { padding: 3px 9px; border-radius: 999px; background: rgba(5,13,27,.85); font: 600 12px/1.3 var(--body); white-space: nowrap; color: #E2EAF5; }
.integ-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.integ-progress b { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--blue), var(--red)); }
.integ.static { height: auto; } .integ.static .integ-pin { position: relative; height: auto; padding-block: 96px; }
.integ.static .integ-steps { gap: 18px; } .integ.static .integ-steps li { grid-area: auto; opacity: 1; transform: none; }

/* Environments: immersive pinned scroll */
.envx { position: relative; height: calc(100vh + var(--n) * 58vh); background: #071a36; }
.envx-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.envx-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); background: radial-gradient(70% 70% at 70% 45%, #0c2a55, #071a36 70%); }
.envx-scene.is-on { opacity: 1; }
.envx-scene.is-on .aim > img, .envx-scene.is-on .aim > video { animation: kb 16s linear both; }
.envx-plan { position: absolute; right: calc(4vw + 210px); top: 52%; width: min(46vw, 760px); transform: translateY(-50%) scale(1.06) rotate(-1.5deg); transition: transform 1.8s var(--ease); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(91,155,255,.3); box-shadow: 0 50px 100px -40px #000; }
.envx-scene.is-on .envx-plan { transform: translateY(-50%) scale(1) rotate(0); }
.envx-scene.has-media + .envx-scene, .envx-shade { pointer-events: none; }
.envx-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,27,.92) 0%, rgba(5,13,27,.6) 34%, transparent 62%); }
.envx-ui { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 440px) 1fr auto; align-items: center; gap: 24px; padding-top: var(--hdr); }
.envx-copy h2 { margin-bottom: 14px; }
.envx-sub { color: #C8D3E3; font-size: 1.05rem; margin-bottom: 26px; }
.envx-cards { display: grid; margin-bottom: 26px; }
.envx-card { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .7s var(--ease); pointer-events: none; }
.envx-card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.envx-card h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 8px; }
.envx-card p { color: #C8D3E3; margin-bottom: 12px; }
.envx-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.envx-card li { padding: 5px 11px; border-radius: 999px; background: rgba(91,155,255,.14); border: 1px solid rgba(143,184,255,.3); font-size: .82rem; color: #E2EAF5; }
.envx-index { grid-column: 3; display: grid; gap: 4px; }
.envx-index button { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 36px; padding: 0 4px; border: 0; background: none; color: rgba(226,234,245,.55); font: 500 .86rem var(--body); cursor: pointer; text-align: right; }
.envx-index button::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .4s var(--ease); }
.envx-index button[aria-current] { color: #fff; } .envx-index button[aria-current]::after { width: 36px; background: var(--red); }
.envx-legend { position: absolute; right: 7vw; bottom: 3vh; border: 0; background: none; padding: 0; }
.lg-lpr { background: #ff6b76; border-radius: 3px !important; }
.plan .d-lpr { fill: #ff6b76; stroke: #fff; stroke-width: 1.5; }
.plan .cone.lpr { fill: rgba(217,35,50,.16); stroke: rgba(255,107,118,.6); }
@media (max-width: 900px) {
  .envx-plan { left: 5vw; right: 5vw; width: auto; top: calc(var(--hdr) + 12px); transform: scale(1.04); }
  .envx-scene.is-on .envx-plan { transform: none; }
  .envx-shade { background: linear-gradient(0deg, rgba(5,13,27,.97) 0%, rgba(5,13,27,.9) 46%, transparent 70%); }
  .envx-ui { grid-template-columns: minmax(0, 1fr); align-items: end; padding-bottom: 28px; }
  .envx-sub, .envx-legend, .envx-card p { display: none; }
  .envx-copy h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .envx-index { grid-column: 1; grid-row: 1; display: flex; justify-content: flex-start; order: -1; }
  .envx-index span { display: none; }
  .envx-index button { min-height: 28px; } .envx-index button::after { width: 14px; }
}

/* Reduced motion for the new pieces */
@media (prefers-reduced-motion: reduce) {
  .js [data-split].split-ready .w > span { transform: none !important; }
  .reel-item.is-on > *, .envx-scene.is-on .aim > * { animation: none !important; }
}

/* ═════════════════════ Brand showcase ═════════════════════ */
.plat-band { background: radial-gradient(70% 60% at 80% 0%, rgba(10,91,211,.18), transparent 60%), var(--navy); }
.bc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) {
  .bc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bc:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
}
.bc { --gl: 91, 155, 255; position: relative; border-radius: 22px; }
.bc[data-glow="red"] { --gl: 217, 35, 50; }
.bc-btn { all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; cursor: pointer; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #10233f 0%, #0a1830 62%, #08142a 100%); border: 1px solid rgba(143, 184, 255, .16);
  box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .8); transition: transform .7s var(--ease), box-shadow .6s var(--ease), border-color .6s; }
.bc-btn:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; }
.js .bc.reveal { transform: translateY(40px); }
.js .bc.reveal.in { transform: none; }
.bc.in { transition: opacity 1s var(--ease) var(--rd, 0s), transform 1s var(--ease) var(--rd, 0s); }
.bc-stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; perspective: 900px; }
.bc-stage::before { content: ''; position: absolute; inset: 6% 4% 0; background: radial-gradient(46% 42% at 50% 56%, rgba(var(--gl), .30), transparent 72%); opacity: .55; transition: opacity .7s, transform .9s var(--ease); }
.bc-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1.2s var(--ease); pointer-events: none; }
.bc-prod { position: absolute; z-index: 1; top: 17%; bottom: 15%; left: calc((1 - var(--fit)) * 50%); right: calc((1 - var(--fit)) * 50%); display: grid; place-items: center; transition: transform 1.1s var(--ease) calc(var(--rd, 0s) + .12s), opacity 1s var(--ease) calc(var(--rd, 0s) + .12s), filter 1s var(--ease) calc(var(--rd, 0s) + .12s); }
.js .bc.reveal .bc-prod { opacity: 0; transform: translateY(26px) scale(.9); filter: blur(4px); }
.js .bc.reveal.in .bc-prod { opacity: 1; transform: none; filter: none; }
.bc-tilt { --tx: 0deg; --ty: 0deg; --s: 1; position: absolute; inset: 0; display: grid; place-items: center; transform: rotateX(var(--tx)) rotateY(var(--ty)) scale(var(--s)); transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.bc-tilt > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .5)) drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.bc-tilt > img.framed { height: auto; max-height: 100%; align-self: center; border-radius: 12px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.bc-tilt > svg { width: 100%; height: 100%; }
.bc-shadow { position: absolute; left: 14%; right: 14%; bottom: -6%; height: 16%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.55), transparent 70%); z-index: -1; transition: transform .6s var(--ease), opacity .6s; }
.bc-cat { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: rgba(5,13,27,.62); border: 1px solid rgba(143,184,255,.22); font-size: .76rem; font-weight: 600; color: #D5E2F5; white-space: nowrap; backdrop-filter: blur(6px); }
.bc-item { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; text-align: center; font-size: .78rem; color: rgba(201, 214, 232, .72); }
.bc-plate { margin: 0 12px 12px; height: 84px; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: inset 0 -1px 0 rgba(8,22,43,.08), 0 8px 20px -12px rgba(0,0,0,.6); padding: 10px 18px; }
.bc-plate img { height: var(--lh, 36px); width: auto; max-width: 100%; object-fit: contain; image-rendering: auto; }
.bc-name { font: 700 1.25rem/1 var(--body); color: #3d4655; }
@media (hover: hover) {
  .bc-btn:hover { transform: translateY(-8px); border-color: rgba(var(--gl), .55); box-shadow: 0 0 0 1px rgba(var(--gl), .22), 0 36px 64px -30px rgba(var(--gl), .55); }
  .bc-btn:hover .bc-stage::before { opacity: 1; transform: scale(1.15); }
  .bc-btn:hover .bc-stage::after { transform: translateX(100%); }
  .bc-btn:hover .bc-tilt { --s: 1.07; }
  .bc-btn:hover .bc-shadow { transform: scale(.88); opacity: .75; }
}
.bc-btn:active { transform: scale(.985); }
.bc.touch-on .bc-stage::before { opacity: 1; }
.bc-disclaimer { margin-top: 28px; max-width: 90ch; }
.bc-svg .pled { animation: blink 1.6s steps(2, jump-none) infinite; }
.bc-svg .pir { animation: blink 1.4s infinite; }
.bc-svg .pring { animation: breatheRing 3.2s ease-in-out infinite; }
@keyframes breatheRing { 50% { opacity: .45; } }
.bc-svg .pgrant { animation: grant 6s infinite; }
@media (max-width: 680px) {
  .bc-plate { height: 62px; margin: 0 8px 8px; padding: 8px 10px; }
  .bc-plate img { height: calc(var(--lh, 36px) * .74); }
  .bc-cat { font-size: .68rem; left: 8px; top: 8px; padding: 3px 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
  .bc-item { display: none; }
  .bc-prod { top: 19%; bottom: 8%; }
}
/* Detail dialog */
.bc-dialog { width: min(940px, 100% - 24px); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 26px; background: #0a1830; color: #fff; box-shadow: 0 50px 100px -30px #000; overflow: auto; }
.bc-dialog::backdrop { background: rgba(3, 9, 20, .76); backdrop-filter: blur(6px); }
.bc-dialog[open] { animation: dlgIn .5s var(--ease); }
.bcd-inner { position: relative; }
.bcd-slot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.bcd-media { --gl: 91, 155, 255; position: relative; display: grid; place-items: center; min-height: 380px; padding: 48px 36px; background: radial-gradient(60% 55% at 50% 55%, rgba(var(--gl), .32), transparent 72%), linear-gradient(180deg, #10233f, #08142a); }
.bcd-media[data-glow="red"] { --gl: 217, 35, 50; }
.bcd-media > img { width: 100%; max-height: 440px; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); animation: bcdIn .8s var(--ease) both; }
.bcd-media.is-framed > img { border-radius: 14px; filter: none; box-shadow: 0 30px 50px -20px #000; }
.bcd-media > svg { width: 100%; max-width: 520px; animation: bcdIn .8s var(--ease) both; }
@keyframes bcdIn { from { opacity: 0; transform: translateY(20px) scale(.94); } }
.bcd-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bcd-logo { align-self: flex-start; height: 44px; width: auto; max-width: 220px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px 14px; box-sizing: content-box; margin-bottom: 18px; }
.bcd-cat { font-size: .88rem; color: var(--blue-hi); font-weight: 600; margin: 0 0 6px; }
.bcd-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.bcd-body > p:not(.bcd-cat):not(.bcd-note) { color: #CCD7E6; font-size: 1.04rem; }
.bcd-body .btn { align-self: flex-start; margin-top: 10px; }
.bcd-note { font-size: .8rem; color: var(--muted); margin: 20px 0 0; }
.bcd-close { top: 14px; right: 14px; }
@media (max-width: 760px) { .bcd-slot { grid-template-columns: minmax(0, 1fr); } .bcd-media { min-height: 240px; padding: 36px 24px 24px; } }
@media (prefers-reduced-motion: reduce) { .js .bc.reveal .bc-prod { filter: none; } }

/* ═════════════════════ WebGL equipment explorer ═════════════════════ */
.ex-stage { background: radial-gradient(70% 62% at 50% 42%, #173a6c 0%, #0b2142 45%, #050f20 80%); }
.ex-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 120%, rgba(0,0,0,.5), transparent 55%); }
.ex-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; z-index: 1; }
.ex-canvas:active { cursor: grabbing; }
.ex-hotspots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ex-pin { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; background: var(--red); color: #fff;
  font: 700 12px/1 var(--body); cursor: pointer; pointer-events: auto; box-shadow: 0 0 0 0 rgba(217,35,50,.55), 0 6px 14px rgba(0,0,0,.45); animation: ping 2.6s infinite; transition: opacity .35s, scale .35s, background-color .3s, color .3s; }
.ex-pin::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; }
.ex-pin.on { background: #fff; color: var(--red); scale: 1.18; }
.ex-pin.away { opacity: 0; scale: .6; pointer-events: none; }
.ex-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: .9rem; z-index: 0; }
.explorer.ready .ex-loading { display: none; }
.ex-fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--muted); }
.ex-fallback img { max-width: 80%; max-height: 70%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(0,0,0,.5)); }
.explorer.no-webgl .ex-canvas, .explorer.no-webgl .ex-ctrl, .explorer.no-webgl .ex-hint { display: none; }
.ex-ctrl, .ex-hint { z-index: 3; }
.ex-ctrl button { backdrop-filter: blur(8px); }
.ex-inspired { font-size: .86rem; color: var(--blue-hi); margin-top: -4px; }
.ex-stage:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ex-pin { animation: none; } }
@media (max-width: 600px) { .ex-hint { display: none; } .ex-stage { height: clamp(320px, 88vw, 420px); } }
.ex-badge { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: rgba(169,181,198,.14); color: #D5DEEA; border: 1px solid rgba(169,181,198,.25); vertical-align: 1px; }
.ex-badge.is-photo { background: rgba(91,155,255,.14); color: #CFE0FF; border-color: rgba(91,155,255,.4); }
.ex-badge.is-official { background: rgba(57,217,138,.14); color: #BDF5D8; border-color: rgba(57,217,138,.45); }

/* ═════════════════════ Founder ═════════════════════ */
.founder-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-photo { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: var(--navy); box-shadow: 0 50px 90px -40px rgba(8,22,43,.65), 0 0 0 1px rgba(8,22,43,.08); }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1086 / 1448; }
.founder-photo figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: rgba(5,13,27,.72); color: #fff; font-size: .8rem; backdrop-filter: blur(6px); }
.founder-name { font: 800 clamp(1.4rem, 2.2vw, 1.8rem)/1.1 var(--display); font-stretch: 108%; margin: 0 0 4px; color: var(--ink); }
.founder-title { color: var(--blue); font-weight: 600; margin-bottom: 20px; }
.founder-copy > p:not(.founder-name):not(.founder-title) { color: var(--slate); font-size: 1.06rem; max-width: 58ch; }
.founder-copy .btn-row { margin-top: 28px; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: minmax(0, 1fr); } .founder-photo { max-width: 460px; } }
.founder-teaser { padding-block: clamp(48px, 6vw, 80px); background: linear-gradient(120deg, #0b1e3b, var(--navy) 60%); }
.ft-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.ft-photo { flex: none; width: clamp(110px, 16vw, 180px); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -24px #000, 0 0 0 1px rgba(143,184,255,.25); }
.ft-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1086 / 1448; }
.ft-copy h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 10px; }
.ft-copy p { color: #C8D3E3; max-width: 56ch; }
@media (max-width: 560px) { .ft-inner { flex-direction: column; align-items: flex-start; } }

/* Gallery + lightbox */
.gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.g-open { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #0a1830; aspect-ratio: 4 / 3; }
.g-open img, .g-open video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-open:hover img, .g-open:hover video { transform: scale(1.06); }
.g-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; text-shadow: 0 2px 10px #000; }
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 8, 18, .94); color: #fff; }
.lightbox::backdrop { background: rgba(3,8,18,.9); }
.lightbox[open] { display: grid; place-items: center; animation: dlgIn .35s var(--ease); }
.lb-fig { margin: 0; max-width: min(1400px, 92vw); max-height: 84svh; }
.lb-fig img, .lb-fig video { max-width: 100%; max-height: 84svh; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 80px -30px #000; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(8,22,43,.7); color: #fff; font-size: 1.8rem; cursor: pointer; }
.lb-prev { left: max(2vw, 10px); } .lb-next { right: max(2vw, 10px); }
.lb-count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; margin: 0; font-size: .9rem; color: #C8D3E3; }
.lb-close { position: absolute; top: 16px; right: 16px; }

/* ═════════════════════ Field photography ═════════════════════ */
.field-photo { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: #0a1830; box-shadow: 0 50px 90px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(143,184,255,.18); }
.field-photo img { display: block; width: 100%; height: auto; }
.field-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(5,13,27,.74); color: #fff; font-size: .8rem; backdrop-filter: blur(6px); max-width: calc(100% - 28px); }
/* subtle scroll fade-in: opacity + gentle lift, image settles from a slight zoom */
.js .fp-reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.js .fp-reveal img { transform: scale(1.05); transition: transform 1.8s var(--ease); }
.js .fp-reveal.in { opacity: 1; transform: none; }
.js .fp-reveal.in img { transform: none; }
.real-expertise { background: radial-gradient(60% 60% at 15% 40%, rgba(10,91,211,.2), transparent 70%), var(--deep); }
.rx-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rx-copy h2 { margin-bottom: 18px; }
.rx-points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; }
.rx-points li { display: flex; gap: 14px; align-items: flex-start; }
.rx-points .ic { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(91,155,255,.14); color: var(--blue-soft); }
.rx-points strong { display: block; color: #fff; }
.rx-points span { color: #C8D3E3; }
.svc-visual.is-photo { padding: 0; background: none; border: 0; overflow: visible; }
.svc-visual.is-photo .field-photo { max-width: 560px; margin-inline: auto; }
@media (max-width: 860px) {
  .rx-grid { grid-template-columns: minmax(0, 1fr); }
  .rx-grid .field-photo, .svc-visual.is-photo .field-photo { max-width: 480px; width: 100%; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .js .fp-reveal, .js .fp-reveal img { opacity: 1 !important; transform: none !important; } }

/* ═════════════════════ Real project media ═════════════════════ */
.pending-tag { position: absolute; left: 10px; top: 10px; z-index: 4; padding: 4px 9px; border-radius: 999px; background: #ffcf4a; color: #2a1d00; font: 700 11px/1.2 var(--body); letter-spacing: .01em; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.story-intro .pending-tag { position: static; display: inline-block; margin-top: 6px; }
/* video card */
.vcard, .ptile { position: relative; margin: 0; }
.vcard-btn, .ptile-btn { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; border-radius: 18px; overflow: hidden; cursor: pointer; background: #07152b; isolation: isolate;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(143,184,255,.14); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.vcard-btn:focus-visible, .ptile-btn:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; }
.vcard-btn img, .ptile-btn img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.vcard-btn img { aspect-ratio: 512 / 910; object-fit: cover; }
.vcard-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.vcard-btn.previewing .vcard-preview { opacity: 1; }
.vcard-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(3,10,22,.65)); pointer-events: none; }
.vcard-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: rgba(217,35,50,.92); color: #fff; box-shadow: 0 10px 30px rgba(217,35,50,.45), 0 0 0 8px rgba(255,255,255,.12); transition: transform .5s var(--ease), background-color .3s; }
.vcard-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(3,10,22,.75); color: #fff; font: 600 12px var(--body); }
.vcard figcaption, .ptile figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.light .vcard figcaption, .light .ptile figcaption { color: var(--slate); }
@media (hover: hover) {
  .vcard-btn:hover, .ptile-btn:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(0,0,0,.85), 0 0 0 1px rgba(143,184,255,.4); }
  .vcard-btn:hover img, .ptile-btn:hover img { transform: scale(1.04); }
  .vcard-btn:hover .vcard-play { transform: scale(1.1); background: var(--red-hi); }
}
.ptile-zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(3,10,22,.7); color: #fff; opacity: .85; }
.ptile-zoom svg { width: 20px; height: 20px; }
/* homepage field section */
.fieldwork { background: radial-gradient(60% 60% at 85% 20%, rgba(10,91,211,.22), transparent 70%), linear-gradient(180deg, var(--navy), var(--deep)); }
.field-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.field-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.field-head p { color: #C8D3E3; font-size: 1.14rem; }
.field-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.field-grid.no-feature { grid-template-columns: minmax(0, 1fr); }
.field-feature .vcard, .field-feature .ptile { height: 100%; }
.field-feature .vcard-btn { height: 100%; }
.field-feature .vcard-btn img { height: 100%; }
.field-feature .vcard-play { width: 84px; height: 84px; }
.field-feature figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 18px 46px; color: #fff; font-weight: 500; pointer-events: none; }
.field-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-grid.no-feature .field-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .field-grid.no-feature .field-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .field-feature .vcard-btn img { height: auto; max-height: 72svh; }
  .field-feature { max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) { .field-cards, .field-grid.no-feature .field-cards { grid-template-columns: minmax(0, 1fr); } }
/* project cards */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.pcard > a { display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line-l); box-shadow: 0 20px 40px -32px rgba(8,22,43,.5); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.fieldwork .pcard > a { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(143,184,255,.16); }
.pcard > a:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(8,22,43,.6); }
.pcard-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #06162e; }
.pcard-cover .cover-img, .phero-bg .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard > a:hover .cover-img, .pcard > a:hover .proj-art { transform: scale(1.05); }
.pcard-video { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font: 600 12px var(--body); }
.pcard-video .ic { width: 14px; height: 14px; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.pcard-body h3 { margin: 10px 0 4px; }
.pcard-fac { font-size: .86rem; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.fieldwork .pcard-fac { color: var(--blue-hi); }
.pcard-body p:not(.pcard-fac) { color: var(--slate); font-size: .95rem; flex: 1; }
.fieldwork .pcard-body p:not(.pcard-fac) { color: #C8D3E3; }
.pcard.is-compact .pcard-body p:not(.pcard-fac) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchip { padding: 3px 9px; border-radius: 999px; background: #E7EEF8; color: #23406B; font-size: .76rem; font-weight: 600; }
.fieldwork .tchip, .phero .tchip { background: rgba(91,155,255,.16); color: #D5E4FF; }
.pcard.hide { display: none; }
.filters button span { opacity: .6; font-weight: 500; margin-left: 4px; }
/* field reel + photo grid */
.reel-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.photo-grid { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 20px; }
.photo-grid > li { break-inside: avoid; margin-bottom: 20px; }
.photo-grid.compact { columns: 3 90px; column-gap: 10px; margin-top: 10px; }
.photo-grid.compact > li { margin-bottom: 10px; }
.photo-grid.compact figcaption { display: none; }
.photo-grid.compact .ptile-btn { border-radius: 10px; }
.photo-grid.compact .ptile-zoom { width: 28px; height: 28px; right: 6px; bottom: 6px; }
.photo-grid.compact .pending-tag { display: none; }
/* project detail hero */
.phero { position: relative; overflow: hidden; background: var(--deep); padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); min-height: 62svh; display: grid; align-items: end; }
.phero-bg { position: absolute; inset: 0; }
.phero-bg .proj-art { position: absolute; inset: 0; } .phero-bg .proj-art .plan { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero-bg .proj-fig { display: none; }
.phero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,27,.95) 0%, rgba(5,13,27,.75) 45%, rgba(5,13,27,.35) 100%), linear-gradient(0deg, rgba(5,13,27,.9), transparent 50%); }
.phero-bg .pending-tag { top: auto; bottom: 14px; left: auto; right: 14px; }
.phero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 5vw, 64px); align-items: end; }
.phero:not(.has-video) .phero-inner { grid-template-columns: minmax(0, 1fr); }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin: 14px 0 14px; max-width: 18ch; }
.phero .lead { color: #D2DCEA; }
@media (max-width: 760px) { .phero-inner { grid-template-columns: minmax(0, 1fr); } .phero-video { max-width: 300px; } }
.pdetail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pd-main p { color: var(--slate); font-size: 1.08rem; max-width: 66ch; }
.pd-main h3 { margin-top: 28px; }
.pd-facts { position: sticky; top: calc(var(--hdr) + 20px); padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line-l); box-shadow: 0 24px 50px -40px rgba(8,22,43,.5); display: grid; gap: 12px; }
.pd-facts dl { margin: 0 0 6px; display: grid; gap: 14px; }
.pd-facts dt { font-size: .78rem; color: #66768e; } .pd-facts dd { margin: 2px 0 0; font-weight: 600; }
.pd-note { font-size: .82rem; color: #66768e; margin: 6px 0 0; }
@media (max-width: 860px) { .pdetail { grid-template-columns: minmax(0, 1fr); } .pd-facts { position: static; } }
.pnav-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.pnav-link { display: grid; gap: 4px; text-decoration: none; font: 700 1.05rem/1.25 var(--display); font-stretch: 105%; max-width: 32ch; }
.pnav-link small { font: 500 .8rem var(--body); color: var(--muted); }
.pnav-link.next { text-align: right; } .pnav-link:hover { color: var(--blue-hi); }
.pnav { padding-block: 40px; }
/* real photo story frame */
.photo-frame { background: #050d1b; }
.photo-frame .scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rack-story .story-frame { aspect-ratio: 3 / 4; width: min(100%, calc((100svh - var(--hdr) - 80px) * .75)); max-height: none; margin-inline: auto; }
.photo-frame .scene picture { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .rack-story .story-frame { aspect-ratio: 3 / 4; width: min(100%, calc(46svh * .75)); max-height: none; } }
/* full-screen viewer */
.mviewer { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2, 7, 16, .96); color: #fff; overflow: hidden; }
.mviewer::backdrop { background: rgba(2,7,16,.9); }
.mviewer[open] { display: grid; grid-template-rows: 1fr auto; animation: dlgIn .4s var(--ease); }
.mv-stage { display: grid; place-items: center; min-height: 0; padding: 64px 72px 8px; }
.mv-fig { margin: 0; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; transition: opacity .3s; }
.mv-fig.fading { opacity: 0; }
.mv-fig img, .mv-fig video { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 10px; box-shadow: 0 40px 90px -30px #000; background: #000; }
.mv-cap { margin: 0; padding: 10px 24px 4px; text-align: center; color: #D2DCEA; font-size: .95rem; }
.mv-count { position: absolute; top: 22px; left: 24px; margin: 0; color: var(--muted); font-size: .9rem; }
.mv-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(8,22,43,.75); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.mv-btn:hover { border-color: #fff; } .mv-btn[hidden] { display: none; }
.mv-prev { left: 14px; top: 50%; translate: 0 -50%; } .mv-next { right: 14px; top: 50%; translate: 0 -50%; }
.mv-close { top: 12px; right: 12px; } .mv-close svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .mv-stage { padding: 60px 10px 6px; } .mv-prev, .mv-next { top: auto; bottom: 14px; translate: none; } .mv-cap { padding-bottom: 76px; } }

/* ═════════════════════ v6: Enterprise navigation ═════════════════════ */
.util-bar { height: 34px; overflow: hidden; background: #030914; border-bottom: 1px solid rgba(143,184,255,.1); font-size: .8rem; color: #93A3BB; transition: height .35s var(--ease), opacity .3s; }
.site-header.scrolled .util-bar { height: 0; opacity: 0; border: 0; }
.util-inner { width: min(1320px, 100% - 2 * max(3vw, 16px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.util-inner p { margin: 0; letter-spacing: .02em; } .util-sep { opacity: .35; margin: 0 8px; }
.util-inner ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.util-inner a { display: inline-flex; align-items: center; gap: 6px; color: #B9C6D8; text-decoration: none; } .util-inner a:hover { color: #fff; }
.util-inner .ic { width: 14px; height: 14px; }
@media (max-width: 1040px) { .util-bar { display: none; } }
@media (min-width: 1041px) { body[data-page="home"] .hero { padding-top: calc(var(--hdr) + 34px + 32px); } }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.has-mega > a { padding-right: 4px !important; }
.has-mega > a::after { right: 4px !important; }
.mega-tog { all: unset; cursor: pointer; display: grid; place-items: center; width: 22px; height: 30px; color: #8FA2BD; border-radius: 6px; transition: color .2s; }
.mega-tog svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.mega-tog:focus-visible { outline: 2px solid var(--blue-hi); }
.has-mega.open .mega-tog { color: #fff; } .has-mega.open .mega-tog svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 60; translate: -50% 0; background: rgba(6, 16, 33, .98); backdrop-filter: blur(18px); border: 1px solid rgba(143,184,255,.16); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(-8px) scale(.985); transition: opacity .28s var(--ease), transform .35s var(--ease); }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega.open .mega { opacity: 1; transform: none; }
.mega[hidden] { display: block; visibility: hidden; pointer-events: none; }
.has-mega.open .mega[hidden] { visibility: visible; pointer-events: auto; }
.hdr { position: relative; }
.has-mega[data-menu="services"] { position: static !important; }
.mega-svc { width: min(940px, 94vw); left: 50%; top: calc(100% - 8px); translate: -50% 0; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.mega-col { padding: 22px; }
.mega-eyebrow { margin: 0 0 12px; font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-grid a, .mega-list a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px !important; border-radius: 12px; color: #fff; text-decoration: none; transition: background-color .2s; }
.mega-grid a::after, .mega-list a::after { display: none; }
.mega-grid a:hover, .mega-grid a:focus-visible, .mega-list a:hover, .mega-list a:focus-visible { background: rgba(91,155,255,.1); }
.mega-grid strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.mega-grid small { display: block; color: #8FA2BD; font-size: .8rem; line-height: 1.4; }
.mega-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(91,155,255,.12); color: var(--blue-hi); }
.mega-ic .ic { width: 19px; height: 19px; }
.mega-ic.sm { width: 28px; height: 28px; border-radius: 8px; } .mega-ic.sm .ic { width: 15px; height: 15px; }
.mega-feature { padding: 26px 24px; border-left: 1px solid rgba(143,184,255,.12); background: radial-gradient(120% 80% at 100% 0%, rgba(10,91,211,.35), transparent 60%), rgba(255,255,255,.02); border-radius: 0 18px 18px 0; display: grid; align-content: start; gap: 10px; }
.mega-feature p { margin: 0; color: #B9C6D8; font-size: .9rem; }
.mega-feature .mega-ft { font: 700 1.25rem/1.2 var(--display); color: #fff; }
.mega-feature .btn { justify-self: start; margin-top: 8px; }
.mega-link { display: inline-flex !important; gap: 6px; align-items: center; padding: 6px 0 !important; color: var(--blue-hi) !important; font-size: .88rem !important; }
.mega-link::after { display: none; } .mega-link .ic { width: 15px; height: 15px; }
.mega-list { min-width: 250px; padding: 10px; }
.mega-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-list a { align-items: center; font-size: .92rem !important; color: #D5DEEA !important; }
.mega-all { border-top: 1px solid rgba(143,184,255,.12); margin-top: 6px; padding-top: 6px; }
.mega-all a { color: var(--blue-hi) !important; } .mega-all .ic { width: 15px; height: 15px; }
#mm-industries ul { grid-template-columns: 1fr 1fr; min-width: 480px; }
#mm-industries .mega-all { grid-column: 1 / -1; }
.mega-feature .btn { display: inline-flex; color: #fff; }
.mega a { font-weight: 500; }
/* mobile accordion */
.mob-row { display: flex; align-items: center; border-bottom: 1px solid var(--line-d); }
.mob-row a { flex: 1; border-bottom: 0 !important; }
.mob-tog { all: unset; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; color: #B9C6D8; }
.mob-tog svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mob-tog[aria-expanded="true"] svg { transform: rotate(180deg); }
.mob-sub { list-style: none; margin: 0; padding: 4px 0 10px 12px; border-bottom: 1px solid var(--line-d); }
.mobile-nav .mob-sub a { font: 500 1rem/1.3 var(--body); padding: 10px 4px; border: 0; color: #C8D3E3; }
.mobile-nav { max-height: calc(100svh - var(--hdr)); overflow-y: auto; }

/* ═════════════════════ v6: Homepage refinements ═════════════════════ */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 .76rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.dark .eyebrow, .deep .eyebrow, .page-hero .eyebrow, .fieldwork .eyebrow { color: var(--blue-hi); }
.hero-title em { background-image: linear-gradient(100deg, #8FB8FF 0%, #fff 45%, #d6e5ff 55%, #8FB8FF 100%); }
/* platform logo slider (v11): transparent logos in official colours directly on navy, no cards */
.logo-strip { position: relative; background: linear-gradient(180deg, #050d1b, #071328 50%, #050d1b); border-top: 1px solid rgba(143,184,255,.08); border-bottom: 1px solid rgba(143,184,255,.08); padding: 34px 0 22px; overflow: hidden; }
.ls-head { display: flex; justify-content: center; margin-bottom: 26px; }
.ls-label { margin: 0; display: inline-flex; align-items: center; gap: 14px; font: 600 .76rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #8FA2BD; }
.ls-label::before, .ls-label::after { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,35,50,.9)); }
.ls-label::after { transform: scaleX(-1); }
.ls-track { --gap: clamp(56px, 6vw, 96px); --dur: 46s; display: flex; width: max-content; -webkit-mask-image: none; mask-image: none; }
.logo-strip::before, .logo-strip::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(40px, 10vw, 160px); z-index: 2; pointer-events: none; }
.logo-strip::before { left: 0; background: linear-gradient(90deg, #050d1b, rgba(5,13,27,0)); }
.logo-strip::after { right: 0; background: linear-gradient(270deg, #050d1b, rgba(5,13,27,0)); }
.ls-set { flex: none; display: flex; align-items: center; gap: var(--gap); list-style: none; margin: 0; padding: 0 calc(var(--gap) / 2); animation: lsMove var(--dur) linear infinite; will-change: transform; }
.ls-track:hover .ls-set, .ls-track:focus-within .ls-set { animation-play-state: paused; }
@keyframes lsMove { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-100%, 0, 0); } }
.ls-set li { flex: none; display: grid; place-items: center; height: 84px; }
.ls-set a { display: grid; place-items: center; height: 100%; padding: 0 4px; border-radius: 10px; outline-offset: 6px; }
.ls-set img { display: block; height: var(--h); width: auto; max-width: none; object-fit: contain; transition: transform .45s var(--ease); }
.ls-set a:hover img, .ls-set a:focus-visible img { transform: scale(1.1); }
.ls-set a:focus-visible { outline: 2px solid var(--blue-hi); }
.ls-note { margin: 18px auto 0; font-size: .72rem; color: #5f7290; text-align: center; }
@media (max-width: 720px) {
  .logo-strip { padding: 26px 0 16px; } .ls-head { margin-bottom: 14px; }
  .ls-label { font-size: .66rem; letter-spacing: .12em; text-align: center; } .ls-label::before, .ls-label::after { display: none; }
  .ls-track { --gap: 44px; --dur: 34s; } .ls-set li { height: 56px; } .ls-set img { height: calc(var(--h) * .62); }
}
@media (prefers-reduced-motion: reduce) {
  .ls-track { width: auto; justify-content: center; } .ls-set { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 18px; padding: 0 20px; }
  .ls-set[aria-hidden] { display: none; } .logo-strip::before, .logo-strip::after { display: none; }
}
/* industries rail */
.ind-rail { position: relative; }
.ind-rail > ul { list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 320px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(5vw, 18px, (100vw - 1240px) / 2);
  padding: 8px max(5vw, 18px, (100vw - 1240px) / 2) 24px; scrollbar-width: none; }
.ind-rail > ul::-webkit-scrollbar { display: none; }
.ind-rail li { scroll-snap-align: start; }
.ind-tile { display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line-l); box-shadow: 0 24px 50px -38px rgba(8,22,43,.55); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ind-tile:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(8,22,43,.6); }
.ind-tile-art { display: block; aspect-ratio: 16 / 10; background: #06162e; overflow: hidden; }
.ind-tile-art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.ind-tile:hover .ind-tile-art svg { transform: scale(1.06); }
.ind-tile-body { position: relative; display: grid; gap: 6px; padding: 30px 22px 22px; flex: 1; align-content: start; }
.ind-tile-ic { position: absolute; top: -22px; left: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(8,22,43,.6); }
.ind-tile-ic .ic { width: 20px; height: 20px; }
.ind-tile strong { font: 700 1.12rem/1.25 var(--display); }
.ind-tile small { color: var(--slate); font-size: .9rem; line-height: 1.5; }
.ind-tile-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--blue); font-weight: 600; font-size: .9rem; }
.ind-tile-go .ic { width: 15px; height: 15px; transition: transform .3s; } .ind-tile:hover .ind-tile-go .ic { transform: translateX(4px); }
.rail-ctrl { display: flex; justify-content: flex-end; gap: 10px; }
.rail-ctrl button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-l); background: #fff; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s; }
.rail-ctrl button:hover { background: var(--navy); color: #fff; }
.rail-ctrl button[data-rail-prev] .ic { transform: rotate(180deg); }
.rail-ctrl .ic { width: 18px; height: 18px; }
.rail-ctrl button:disabled { opacity: .35; cursor: default; }
/* platform category tabs */
.bc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.bc-tabs button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font: 600 .9rem/1 var(--body); color: #C8D3E3; border: 1px solid rgba(143,184,255,.2); background: rgba(255,255,255,.03); transition: background-color .25s, color .25s, border-color .25s; }
.bc-tabs button span { font-weight: 500; opacity: .55; font-size: .8rem; }
.bc-tabs button:hover { border-color: rgba(143,184,255,.5); color: #fff; }
.bc-tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.bc-tabs button:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 2px; }
.light .bc-tabs button { color: var(--navy); border-color: var(--line-l); background: #fff; }
.light .bc-tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.bc-intro { margin: 0 0 26px; color: #9fb0c8; font-size: .98rem; min-height: 1.5em; }
.light .bc-intro { color: var(--slate); }
.bc.bc-leave { opacity: 0 !important; transform: translateY(14px) scale(.97) !important; transition: opacity .24s, transform .24s !important; }
.bc.bc-enter { animation: bcIn .7s var(--ease) both; animation-delay: calc(var(--ei, 0) * 70ms); }
@keyframes bcIn { from { opacity: 0; transform: translateY(28px) rotateX(10deg) scale(.96); } to { opacity: 1; transform: none; } }
.bc[hidden] { display: none !important; }
.bcd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .bc.bc-enter { animation: none; } }
/* explorer v6 */
.ex-nav { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(8,22,43,.8); border: 1px solid var(--line-d); backdrop-filter: blur(8px); }
.ex-nav button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ex-nav button:hover { background: rgba(91,155,255,.18); }
.ex-count { min-width: 58px; text-align: center; font: 600 .82rem var(--body); letter-spacing: .08em; color: #C8D3E3; font-variant-numeric: tabular-nums; }
.ex-ctrl button[data-spin] { font-size: .82rem; }
.ex-canvas { transition: opacity .35s, filter .35s; }
.ex-stage.swapping .ex-canvas { opacity: .15; filter: blur(6px); }
.ex-stage.swapping .ex-hotspots { opacity: 0; }
.ex-hotspots { transition: opacity .3s; }
.ex-tabs { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 48px; scroll-padding-inline: 20px; }
.explorer.no-webgl .ex-nav button { display: none; }
@media (max-width: 600px) { .ex-ctrl button[data-spin] { font-size: .76rem; } }

/* ═════════════════════ v6: Consistent inner-page heroes ═════════════════════ */
.page-hero { padding-bottom: 0; }
.page-hero .ph-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero.has-aside .ph-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.03; letter-spacing: -.02em; }
.page-hero .lead { max-width: 58ch; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #C8D3E3; }
.page-hero .eyebrow { animation: fadeUp .9s var(--ease) both; }
.ph-lines { position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(143,184,255,.07) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, rgba(5,13,27,.0), rgba(5,13,27,.0)); }
.ph-aside { position: relative; animation: phIn 1.1s .2s var(--ease) both; }
@keyframes phIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.ph-photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; max-width: 420px; margin-left: auto; box-shadow: 0 50px 90px -40px #000, 0 0 0 1px rgba(143,184,255,.18); }
.ph-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.ph-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(3,10,22,.75); color: #fff; font-size: .8rem; backdrop-filter: blur(6px); }
.ph-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-svc a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: #fff; font-weight: 600; font-size: .92rem; background: rgba(255,255,255,.04); border: 1px solid rgba(143,184,255,.14); transition: background-color .25s, border-color .25s, transform .35s var(--ease); }
.ph-svc a:hover { background: rgba(91,155,255,.12); border-color: rgba(143,184,255,.4); transform: translateY(-2px); }
.ph-svc .ic { flex: none; width: 22px; height: 22px; color: var(--blue-hi); }
.ph-plan { position: relative; border-radius: 22px; overflow: hidden; background: #06162e; box-shadow: 0 50px 90px -40px #000, 0 0 0 1px rgba(143,184,255,.18); aspect-ratio: 16 / 11; }
.ph-plan svg { width: 100%; height: 100%; }
.ph-plan-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(3,10,22,.8); color: #fff; font-size: .82rem; }
.ph-plan-tag .ic { width: 16px; height: 16px; color: var(--blue-hi); }
.ph-contact { display: grid; gap: 10px; }
.ph-contact a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; text-decoration: none; color: #fff; background: rgba(255,255,255,.04); border: 1px solid rgba(143,184,255,.14); font-weight: 600; transition: background-color .25s, border-color .25s; }
.ph-contact a:hover { background: rgba(91,155,255,.12); border-color: rgba(143,184,255,.4); }
.ph-contact small { display: block; font-weight: 500; font-size: .78rem; color: #8FA2BD; margin-bottom: 2px; }
.ph-contact .ic { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(217,35,50,.14); color: #ff8a94; }
.ph-jump { position: relative; border-top: 1px solid rgba(143,184,255,.12); background: rgba(3,9,20,.55); backdrop-filter: blur(6px); }
.ph-jump .wrap { display: flex; align-items: center; gap: 24px; min-height: 58px; overflow-x: auto; scrollbar-width: none; }
.ph-jump span { flex: none; font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #6f82a0; }
.ph-jump ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ph-jump a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; color: #C8D3E3; text-decoration: none; font-size: .9rem; font-weight: 500; transition: background-color .2s, color .2s; }
.ph-jump a:hover { background: rgba(91,155,255,.14); color: #fff; }
.page-hero:not(:has(.ph-jump)) .ph-inner { padding-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 900px) { .page-hero.has-aside .ph-inner { grid-template-columns: minmax(0, 1fr); } .ph-photo { margin: 0; max-width: 360px; } }
@media (max-width: 520px) { .ph-svc { grid-template-columns: 1fr; } .ph-svc li:nth-child(n+5) { display: none; } }
@media (prefers-reduced-motion: reduce) { .ph-aside { animation: none; } }
/* section-head rhythm: consistent eyebrow + headline spacing everywhere */
.sec-head h2 { letter-spacing: -.015em; }

.ex-body { align-items: start; }
@media (max-width: 640px) { .bc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * max(5vw, 18px)); padding-inline: max(5vw, 18px); } .bc-tabs button { flex: none; } }

/* ═════════════════════ v7: Service showcase ("One Partner. Every Technology Solution.") ═════════════════════ */
.ss-band { background: linear-gradient(180deg, #F4F7FB 0%, #fff 30%, #F4F7FB 100%); }
.ss-intro { max-width: 880px; margin-bottom: clamp(40px, 5vw, 64px); }
.ss-intro h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 18px; }
.ss-intro > p:last-child { font-size: clamp(1.04rem, 1.3vw, 1.18rem); color: var(--slate); line-height: 1.65; max-width: 72ch; margin: 0; }
.ss-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.ss { display: flex; }
.ss-card { display: flex; flex-direction: column; width: 100%; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid #E2E8F1;
  box-shadow: 0 1px 2px rgba(8,22,43,.04), 0 30px 60px -44px rgba(8,22,43,.45); transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .4s; }
.ss-card:hover { transform: translateY(-6px); border-color: #C9D6EA; box-shadow: 0 1px 2px rgba(8,22,43,.04), 0 50px 80px -46px rgba(8,22,43,.55); }
.ss-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #08162b; }
.ss-media picture, .ss-media > picture img { display: block; width: 100%; height: 100%; }
.ss-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ss-card:hover .ss-media img { transform: scale(1.06); }
.ss-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,13,27,0) 45%, rgba(5,13,27,.55) 100%); }
.ss-num { position: absolute; right: 18px; bottom: 12px; font: 800 clamp(2rem, 3.4vw, 2.8rem)/1 var(--display); color: rgba(255,255,255,.85); letter-spacing: -.02em; text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.ss-badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(3,10,22,.72); color: #D5DEEA; font: 600 .72rem/1 var(--body); letter-spacing: .02em; backdrop-filter: blur(6px); }
.ss-badge.real { background: rgba(10,91,211,.85); color: #fff; }
.ss-badge .ic { width: 12px; height: 12px; }
.ss-media .pending-tag { left: auto; right: 14px; top: 14px; }
/* image reveal on scroll (only when JS + motion allowed) */
.js .ss.reveal .ss-media { clip-path: inset(0 0 100% 0 round 0); transition: clip-path 1.1s var(--ease); transition-delay: calc(var(--rd, 0ms) + 120ms); }
.js .ss.reveal .ss-media img { transform: scale(1.14); }
.js .ss.reveal.in .ss-media { clip-path: inset(0 0 0 0 round 0); }
.js .ss.reveal.in .ss-media img { transform: scale(1); }
.js .ss.reveal.in .ss-card:hover .ss-media img { transform: scale(1.06); }
.ss-product { width: 100%; height: 100%; display: grid; place-items: center; padding: 6% 8%; background: radial-gradient(70% 80% at 50% 45%, #1d3a66, #08162b 75%); }
.ss-product img { width: 100%; height: 100%; object-fit: contain !important; border-radius: 12px; box-shadow: 0 30px 60px -30px #000; }
.ss-mosaic { display: grid; grid-template-columns: 1.3fr .9fr; grid-template-rows: 1fr 1fr; gap: 4px; width: 100%; height: 100%; background: #08162b; }
.ss-mosaic > img:first-child { grid-row: 1 / 3; }
.ss-mosaic-prod { display: grid; place-items: center; padding: 8px; background: radial-gradient(80% 90% at 50% 45%, #1d3a66, #08162b 80%); overflow: hidden; }
.ss-mosaic-prod img { object-fit: contain !important; }
.ss-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 34px); }
.ss-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ss-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #EAF1FC; color: var(--blue); transition: background-color .4s, color .4s; }
.ss-card:hover .ss-ic { background: var(--navy); color: #fff; }
.ss-ic .ic { width: 22px; height: 22px; }
.ss-head h3 { margin: 0; font: 700 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.ss-text { margin: 0 0 20px; color: var(--slate); font-size: 1rem; line-height: 1.65; }
.ss-items { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid #E8EDF4; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.ss-items li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.ss-items .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; background: rgba(217,35,50,.1); color: var(--red); stroke-width: 2.4; }
.ss-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ss-work { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: .95rem; text-decoration: none; }
.ss-work .ic, .ss-actions .btn .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ss-work:hover { color: var(--navy); } .ss-work:hover .ic, .ss-actions .btn:hover .ic { transform: translateX(4px); }
/* closing CTA */
.ss-cta { position: relative; overflow: hidden; margin-top: clamp(48px, 6vw, 80px); padding: clamp(36px, 5vw, 64px); border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, #06152c 0%, #0a2550 55%, #0b2c63 100%); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center; box-shadow: 0 50px 90px -50px rgba(8,22,43,.8); }
.ss-cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 70% at 95% 10%, rgba(217,35,50,.35), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(91,155,255,.25), transparent 70%),
  repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px); }
.ss-cta-copy, .ss-cta-btns { position: relative; }
.ss-cta h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.ss-cta p { margin: 0; color: #C8D3E3; font-size: 1.08rem; max-width: 58ch; }
.ss-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1100px) { .ss-items { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .ss-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .ss-items { grid-template-columns: 1fr 1fr; }
  .ss-cta { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .ss-items { grid-template-columns: 1fr; } .ss-media { aspect-ratio: 4 / 3; } .ss-cta-btns .btn { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .js .ss.reveal .ss-media { clip-path: none; transition: none; } .js .ss.reveal .ss-media img, .ss-card:hover .ss-media img { transform: none; } .ss-card:hover { transform: none; } }

/* ═════════════════════ v10: Rack hero with real 3D tilt (no overlays) ═════════════════════ */
.rackx { --ry: 0; --rx: 0; --ty: 0; position: relative; height: auto; display: grid; justify-items: center; gap: 14px; isolation: isolate; }
.rx-ambient { position: absolute; z-index: -1; left: 50%; top: 44%; width: 125%; aspect-ratio: 1; pointer-events: none;
  translate: calc(-50% + var(--ry) * -5px) calc(-50% + var(--rx) * 5px);
  background: radial-gradient(closest-side, rgba(40,110,255,.34), rgba(40,110,255,.09) 55%, transparent 72%); filter: blur(12px); }
.rx-stage3d { position: relative; width: min(100%, 460px); perspective: 1300px; perspective-origin: 50% 45%; }
.rx-body { transform-style: preserve-3d; will-change: transform;
  transform: translate3d(0, calc(var(--ty) * 1px), 0) rotateY(calc(var(--ry) * 1deg)) rotateX(calc(var(--rx) * 1deg)); }
.rx-bezel { position: relative; padding: 10px; border-radius: 26px; transform-style: preserve-3d;
  background: linear-gradient(calc(160deg + var(--ry) * 4deg), #1d2839, #0a101c 48%, #131c2b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(143,184,255,.12),
    calc(var(--ry) * -3px) calc(60px + var(--rx) * 3px) 110px -50px rgba(0,0,0,.95),
    calc(var(--ry) * -2px) 40px 90px -50px rgba(30,100,255,.55); }
/* a thin, dark frame edge so the panel reads as a solid object when tilted (the frame, not the rack, has thickness) */
.rx-bezel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-14px); background: #04070d; box-shadow: 0 0 0 1px rgba(143,184,255,.08); }
.rx-corner { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(143,184,255,.55); pointer-events: none; z-index: 2; transform: translateZ(6px); }
.rx-corner.tl { left: -4px; top: -4px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.rx-corner.tr { right: -4px; top: -4px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.rx-corner.bl { left: -4px; bottom: -4px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.rx-corner.br { right: -4px; bottom: -4px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.rx-frame { position: relative; aspect-ratio: 1122 / 1402; max-height: calc(100svh - var(--hdr) - 170px); margin-inline: auto; border-radius: 18px; overflow: hidden; background: #03070f; cursor: zoom-in; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rackx.zoomed .rx-frame { cursor: zoom-out; }
.rx-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 0 60px rgba(0,0,0,.5); }
.rx-zoom { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.rx-pro, .rx-pro img, .rx-orig, .rx-orig img { display: block; width: 100%; height: 100%; }
.rx-pro img, .rx-orig img { object-fit: cover; -webkit-user-drag: none; }
.rx-orig { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.rackx.original .rx-orig { opacity: 1; }
/* lighting: a moving specular glare and a lit edge on the side turned toward the viewer */
.rx-glare { position: absolute; inset: -30%; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(38% 30% at calc(50% + var(--ry) * 6%) calc(40% - var(--rx) * 6%), rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
  opacity: calc(.35 + (var(--ry) * var(--ry) + var(--rx) * var(--rx)) * .012); }
.rx-edge { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,calc(.02 + max(0, var(--ry)) * .035)), transparent 30%, transparent 70%, rgba(0,0,0,calc(.02 + max(0, -1 * var(--ry)) * .035))); }
.rx-sweep { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.rx-sweep::before { content: ''; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(160,200,255,.12), transparent); animation: rxSweep 10s 3s ease-in-out infinite; }
@keyframes rxSweep { 0%, 72% { left: -40%; } 100% { left: 130%; } }
.rx-shadow { position: absolute; left: 10%; right: 10%; bottom: -34px; height: 36px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); filter: blur(8px);
  transform: translateX(calc(var(--ry) * -2.2px)) scaleX(calc(1 - var(--ty) * .006)); opacity: calc(.85 + var(--ty) * .02); }
.rx-reset { position: absolute; right: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(5,13,27,.82); color: #fff; font: 600 .8rem/1 var(--body); cursor: pointer; backdrop-filter: blur(6px); }
.rx-reset .ic { width: 14px; height: 14px; transform: rotate(180deg); }
.rx-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 30px; }
.rx-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(143,184,255,.25); background: rgba(8,22,43,.7); color: #DCE5F2; font: 600 .84rem/1 var(--body); cursor: pointer; backdrop-filter: blur(8px); }
.rx-toggle:hover { border-color: rgba(143,184,255,.6); }
.rx-toggle:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 2px; }
.rx-sw { position: relative; width: 30px; height: 17px; border-radius: 999px; background: #22324c; transition: background-color .25s; }
.rx-sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.rx-toggle[aria-pressed="true"] .rx-sw { background: var(--blue); } .rx-toggle[aria-pressed="true"] .rx-sw::after { transform: translateX(13px); }
.rx-hint { font-size: .78rem; color: #8FA2BD; } .rx-hint-m { display: none; }
@media (hover: none) { .rx-hint-d { display: none; } .rx-hint-m { display: inline; } }
.rx-note { margin: 0; font-size: .74rem; color: #6f82a0; text-align: center; max-width: 460px; }
@media (max-width: 900px) { .rx-stage3d { width: min(100%, 380px); } .rx-frame { max-height: 64svh; } }
@media (prefers-reduced-motion: reduce) { .rx-sweep::before { animation: none; } .rx-zoom { transition: none; } }
.ls-row + .ls-row { margin-top: 26px; }
.ls-alt .ls-set { animation-duration: calc(var(--dur) * 1.15); }

/* ═════════════════════ v13: Structured Cabling photo carousel (manual) ═════════════════════ */
.ss-car { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ss-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.22,.8,.24,1); will-change: transform; }
.ss-car.dragging .ss-track { transition: none; }
.ss-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.ss-slide picture, .ss-slide img { display: block; width: 100%; height: 100%; }
.ss-slide img { object-fit: cover; object-position: var(--pos, 50% 50%); -webkit-user-drag: none; }
@media (max-width: 900px) { .ss-slide img { object-position: var(--pos-m, var(--pos, 50% 50%)); } }
.ss-media-car .ss-shade, .ss-media-car .ss-badge, .ss-media-car .ss-num { pointer-events: none; }
.ss-arrow { position: absolute; top: 50%; z-index: 3; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(5,13,27,.6); color: #fff; cursor: pointer; backdrop-filter: blur(6px); opacity: .85; transition: opacity .25s, background-color .25s, border-color .25s; }
.ss-arrow svg { width: 18px; height: 18px; }
.ss-arrow.prev { left: 12px; } .ss-arrow.next { right: 12px; }
.ss-arrow:hover { opacity: 1; background: rgba(5,13,27,.85); border-color: #fff; }
.ss-arrow:focus-visible, .ss-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) { .ss-arrow { opacity: 0; } .ss-card:hover .ss-arrow, .ss-arrow:focus-visible { opacity: .9; } }
.ss-dots { position: absolute; left: 50%; top: 14px; z-index: 3; translate: -50% 0; display: flex; gap: 7px; padding: 6px 9px; border-radius: 999px; background: rgba(3,10,22,.5); backdrop-filter: blur(6px); }
.ss-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .35s var(--ease), background-color .25s; }
.ss-dot[aria-current="true"] { width: 20px; background: #fff; }
.ss-dot::before { content: ''; position: absolute; inset: -8px; }
.ss-dot { position: relative; }
@media (max-width: 520px) { .ss-arrow { width: 34px; height: 34px; } .ss-dots { top: 12px; } }
@media (prefers-reduced-motion: reduce) { .ss-track { transition: none; } }

/* v19: Audio & Video — ceiling speaker installation image */
.av-photo { padding-block: clamp(40px, 6vw, 80px); }
.av-photo-inner { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.av-fig { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px #000, 0 0 0 1px rgba(143,184,255,.15); }
.av-fig img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.av-copy h3 { margin: 0 0 12px; font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--display); color: #fff; }
.av-copy p { margin: 0; color: #C8D3E3; font-size: 1.05rem; line-height: 1.65; max-width: 52ch; }
@media (max-width: 900px) { .av-photo-inner { grid-template-columns: minmax(0, 1fr); } .av-fig { max-width: 520px; } }

/* v23: full-bleed navy product photos (Cisco, JBL, HID): the photo's own navy fills the whole image area */
.bc.is-bleed .bc-prod, .bc.is-bleed .bc-tilt { inset: 0; top: 0; bottom: 0; left: 0; right: 0; }
.bc.is-bleed .bc-tilt > img.bleed { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; filter: none; }
.bc.is-bleed .bc-shadow, .bc.is-bleed .bc-stage::before { display: none; }
.bc.is-bleed .bc-btn:hover .bc-tilt { --s: 1.04; }
@media (max-width: 680px) { .bc.is-bleed .bc-prod { top: 0; bottom: 0; } }
.bcd-media > img.bleed { border-radius: 14px; filter: none; }

/* v25: header spacing so the larger logo and the Home link fit without crowding */
.main-nav > ul > li { flex-shrink: 0; }
.main-nav > ul > li > a { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 1041px) {
  .hdr { gap: 16px; }
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a { padding: 10px 8px; font-size: .9rem; }
  .hdr-actions { gap: 10px; }
}
@media (max-width: 1240px) and (min-width: 1041px) { .hdr-phone span { display: none; } .hdr-phone { padding: 8px; } }
@media (max-width: 1120px) and (min-width: 1041px) { .hdr-phone { display: none; } .main-nav > ul > li > a { padding: 10px 6px; } .hdr { gap: 12px; } }

/* v27: Explorer photo mode (real product photo instead of a 3D model; used by the Hikvision camera tab) */
.ex-photo { position: absolute; inset: 0; z-index: 2; display: grid; place-items: start center; padding: 70px 7% 0; perspective: 1400px; cursor: zoom-in; overflow: hidden; }
.ex-photo[hidden] { display: none; }
.ex-stage.photo-mode .ex-canvas, .ex-stage.photo-mode .ex-hotspots, .ex-stage.photo-mode .ex-loading, .ex-stage.photo-mode [data-spin] { display: none !important; }
.ex-stage.photo-mode .ex-hint { visibility: hidden; }
.ex-photo-tilt { width: 100%; max-width: 760px; transition: transform .35s ease-out; transform-style: preserve-3d; }
.ex-photo-zoom { position: relative; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ex-photo-zoom img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 34px rgba(0,0,0,.55)) drop-shadow(0 6px 8px rgba(0,0,0,.35)); user-select: none; -webkit-user-drag: none; }
.ex-photo-pts { position: absolute; inset: 0; }
.ex-photo-pt { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; transform: scale(var(--inv, 1)); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ex-photo-pt span { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px/1 var(--body); box-shadow: 0 0 0 2px #fff, 0 6px 16px rgba(0,0,0,.45); transition: background-color .2s, color .2s; }
.ex-photo-pt::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: rgba(217,35,50,.45); animation: rxPulse 2.6s ease-out infinite; }
.ex-photo-pt[aria-pressed="true"] span { background: #fff; color: var(--red); }
.ex-photo-pt[aria-pressed="true"]::before { animation: none; opacity: 0; }
.ex-photo-pt:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ex-photo-card { position: absolute; left: 14px; right: 14px; bottom: 72px; z-index: 4; max-width: 460px; margin-inline: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 44px 14px 14px; border-radius: 16px; background: rgba(6,16,33,.92); border: 1px solid rgba(143,184,255,.25); backdrop-filter: blur(10px); cursor: default; animation: rxIn .4s var(--ease) both; }
.ex-photo-card[hidden] { display: none; }
.ex-photo-card .n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px var(--body); }
.ex-photo-card strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 3px; }
.ex-photo-card p { margin: 0; color: #C8D3E3; font-size: .9rem; line-height: 1.5; }
.ex-photo-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
@media (max-width: 700px) { .ex-stage.photo-mode { height: 480px; } .ex-photo { padding: 82px 4% 0; } .ex-photo-card { left: 10px; right: 10px; bottom: 66px; padding: 12px 40px 12px 12px; } .ex-photo-pt { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }
@media (prefers-reduced-motion: reduce) { .ex-photo-zoom, .ex-photo-tilt { transition: none; } .ex-photo-pt::before { animation: none; } }

/* v28 camera tab: product photo preview beside the 3D recreation */

/* v30 explorer: service-focused panels, compact hotspot chips, details card inside the stage */
.ex-points { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.ex-points li { position: relative; padding-left: 26px; color: #E3EAF4; font-size: .95rem; line-height: 1.4; }
.ex-points li::before { content: ''; position: absolute; left: 0; top: .12em; width: 17px; height: 17px; border-radius: 50%; background: rgba(91,155,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%238FB8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; border: 1px solid rgba(91,155,255,.4); }
.ex-cta { margin-bottom: 4px; }
.ex-parts { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.ex-parts-h { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8FA3BF; }
.ex-parts .ex-hs { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ex-parts .ex-hs button { width: auto; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border-color: rgba(255,255,255,.08); font-size: .85rem; }
.ex-parts .ex-hs button strong { display: inline; margin: 0; font-weight: 500; color: #DCE5F1; }
.ex-parts .ex-hs .n { width: 22px; height: 22px; font-size: .72rem; }
.ex-panel .ex-inspired { margin: 16px 0 0; font-size: .78rem; color: #8FA3BF; }
.ex-card { position: absolute; top: 14px; right: 14px; z-index: 4; width: min(340px, calc(100% - 210px)); display: flex; gap: 12px; align-items: flex-start; padding: 14px 44px 14px 14px; border-radius: 16px; background: rgba(6,16,33,.92); border: 1px solid rgba(143,184,255,.25); backdrop-filter: blur(10px); animation: rxIn .4s var(--ease) both; }
.ex-card[hidden] { display: none; }
.ex-card .n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px var(--body); }
.ex-card strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 3px; }
.ex-card p { margin: 0; color: #C8D3E3; font-size: .9rem; line-height: 1.5; }
.ex-card-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
@media (max-width: 700px) { .ex-points { grid-template-columns: 1fr; } .ex-card { top: auto; bottom: 64px; left: 10px; right: 10px; width: auto; padding: 12px 40px 12px 12px; } .ex-card p { font-size: .85rem; } }

/* v31 explorer: one illustration note under the viewer, features footnote */
.ex-view { min-width: 0; }
.ex-points-note { margin: -8px 0 20px; font-size: .78rem; color: #8FA3BF; }
/* v32: hotspot details card sits under the 3D view so the whole camera stays visible */
.ex-view .ex-card { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: auto; max-width: none; margin: 12px 0 0; }
@media (max-width: 700px) { .ex-view .ex-card { left: auto; right: auto; bottom: auto; } }
/* v33: one small label inside the viewer (all tabs) */
.ex-label { position: absolute; top: 18px; right: 16px; z-index: 3; pointer-events: none; padding: 4px 10px; border-radius: 999px; background: rgba(8,22,43,.55); border: 1px solid rgba(143,184,255,.16); color: #8FA3BF; font-size: .7rem; letter-spacing: .04em; }
@media (max-width: 600px) { .ex-label { top: 22px; right: 12px; font-size: .66rem; } }
/* v34: all six explorer tabs visible together on desktop; two rows on smaller screens */
.ex-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 0 0 4px; -webkit-mask-image: none; mask-image: none; }
.ex-tabs button { flex: initial; min-width: 0; min-height: 52px; padding: 9px 12px; font-size: .9rem; white-space: nowrap; }
.ex-tabs button, .ex-tabs button small { overflow: hidden; text-overflow: ellipsis; }
.ex-tabs button small { font-size: .72rem; }
@media (max-width: 1040px) { .ex-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ex-tabs { gap: 6px; } .ex-tabs button { min-height: 50px; padding: 8px 9px; font-size: .8rem; white-space: normal; line-height: 1.15; border-radius: 12px; } .ex-tabs button small { font-size: .66rem; white-space: nowrap; } }
@media (min-width: 1041px) and (max-width: 1199px) { .ex-tabs button { white-space: normal; line-height: 1.15; padding: 8px 10px; font-size: .86rem; } .ex-tabs button small { font-size: .68rem; } }
@media (max-width: 600px) { .ex-tabs button small { white-space: normal; } }
