:root {
  --bg: #05070c;
  --bg-2: #080c14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f6fb;
  --text-2: #c4ccd9;
  --muted: #8691a3;
  --ice: #9fd8ff;
  --accent: #5cbcff;
  --violet: #9b8cff;
  --brand: #e2231a;
  --radius: 22px;
  --wrap: 1280px;
  --head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -2;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(70, 140, 255, 0.13), transparent 62%),
    radial-gradient(900px 700px at -10% 35%, rgba(130, 110, 255, 0.07), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(60, 170, 255, 0.06), transparent 60%),
    var(--bg);
}
body::after {
  content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(92, 188, 255, 0.35); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.04; margin: 0 0 0.45em; letter-spacing: -0.035em; font-weight: 500; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.3vw, 3.8rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em, .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  background: linear-gradient(100deg, #ffffff 0%, var(--ice) 55%, #b9b2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.06em;
}
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 620px; line-height: 1.65; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 26px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px);
  font: 500 0.78rem/1 var(--body); letter-spacing: 0.02em; color: var(--text-2);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(92, 188, 255, 0.18), 0 0 12px var(--accent); }
.kicker { font: 500 0.75rem var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

section { position: relative; padding: 140px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 700px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ------------------------------------------------------------------ buttons */
.btn, .btn-ghost {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font: 500 0.95rem/1 var(--body); cursor: pointer; border: 0; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn { color: #05070c; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 30px -10px rgba(140, 200, 255, 0.55); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 44px -12px rgba(140, 200, 255, 0.75); }
.btn svg, .btn-ghost svg { transition: transform 0.35s var(--ease); }
.btn:hover svg, .btn-ghost:hover svg { transform: translateX(3px); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }
.btn.sm, .btn-ghost.sm { padding: 10px 16px; font-size: 0.85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; font-size: 0.92rem; }
.link-arrow svg { transition: transform 0.35s var(--ease); color: var(--accent); }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ surfaces */
.glass, .card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.glass::before, .card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; z-index: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 190, 255, 0.1), transparent 45%);
}
.glass:hover::before, .card:hover::before { opacity: 1; }
.glass > *, .card > * { position: relative; z-index: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: 0.08s !important; } .d2 { transition-delay: 0.16s !important; } .d3 { transition-delay: 0.24s !important; }

/* ------------------------------------------------------------------ header */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 20px; pointer-events: none; }
.nav-shell {
  pointer-events: auto; max-width: 1240px; margin: 0 auto; height: 62px; display: flex; align-items: center; gap: 18px;
  padding: 0 8px 0 10px; border-radius: 999px; border: 1px solid transparent; transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.scrolled .nav-shell, body.nav-open .nav-shell {
  background: rgba(10, 14, 22, 0.66); border-color: var(--line); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}
.wm { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 8px 24px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.wm:hover { transform: translateY(-1px); }
.wm img { height: 40px; width: auto; }
.wm-tile { font: 700 17px/1 var(--head); letter-spacing: -0.03em; color: #fff; background: linear-gradient(180deg, #f0352c, #c9150d); padding: 7px 10px 8px; border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(226, 35, 26, 0.7), inset 0 1px 0 rgba(255,255,255,.25); }
.wm-txt { display: flex; flex-direction: column; line-height: 1.05; font: 500 14px var(--head); letter-spacing: -0.01em; color: var(--text); }
.wm-txt small { font: 500 9.5px var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; gap: 2px; margin: 0 auto; }
.main-nav > a, .has-mega > a { display: inline-block; padding: 9px 15px; border-radius: 999px; font-size: 0.9rem; color: var(--text-2); transition: color 0.25s, background 0.25s; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(10px); opacity: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 30px; padding: 28px 32px; width: max-content;
  background: rgba(9, 13, 21, 0.94); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(24px);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8); transition: opacity 0.3s, transform 0.3s var(--ease);
}
.has-mega::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.mega-col { display: flex; flex-direction: column; gap: 1px; }
.mega-col a { padding: 6px 0; font-size: 0.88rem; color: var(--muted); transition: color .2s, transform .25s var(--ease); }
.mega-col a:hover { color: #fff; transform: translateX(3px); }
.mega-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff !important; font-weight: 500; margin-bottom: 8px; padding-bottom: 12px !important; border-bottom: 1px solid var(--line); }
.header-cta { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--text-2); border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: all .25s; }
.icon-btn:hover { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.07); }
.burger { display: none; background: none; border: 1px solid var(--line); width: 42px; height: 42px; border-radius: 50%; color: #fff; cursor: pointer; place-items: center; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; padding: 110px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0,0,0,.4)); overflow: hidden; }
.footer-statement { font: 500 clamp(2.4rem, 6vw, 5.4rem)/1 var(--head); letter-spacing: -0.045em; margin-bottom: 70px; max-width: 900px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-grid h4 { font: 500 0.75rem var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-grid a { display: block; color: var(--text-2); padding: 5px 0; font-size: 0.93rem; transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-logo { height: 54px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 20px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.socials a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; }
.socials a:hover { border-color: var(--line-2); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.footer-glow { position: absolute; left: 50%; bottom: -380px; width: 1100px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(92,188,255,.16), transparent); pointer-events: none; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 13px; border-radius: 999px; color: #fff; font-weight: 500; font-size: 0.88rem;
  background: rgba(10, 16, 14, 0.75); border: 1px solid rgba(37, 211, 102, 0.35); backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -12px rgba(37, 211, 102, 0.5); transition: transform 0.3s var(--ease), background .3s;
}
.wa-float svg { color: #25d366; }
.wa-float:hover { transform: translateY(-3px); background: rgba(16, 30, 24, 0.9); }

/* ------------------------------------------------------------------ hero */
.hero { min-height: 100svh; padding: 0; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero canvas.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 260px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 110px; padding-bottom: 180px; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero-copy { max-width: 640px; }
.hero h1 { margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-space { display: none; }
.hero-meta { position: absolute; z-index: 3; right: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.chip-float {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; min-width: 190px;
  background: rgba(10, 16, 26, 0.55); border: 1px solid var(--line); backdrop-filter: blur(14px); font-size: 0.82rem;
  transition: opacity .5s, transform .6s var(--ease);
}
.chip-float small { display: block; color: var(--muted); font-size: 0.7rem; letter-spacing: .08em; text-transform: uppercase; }
.chip-float b { font-weight: 500; }
.chip-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.hero-meta.swap .chip-float { opacity: 0; transform: translateX(14px); }
.switcher {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px;
}
.switcher .wrap { display: flex; gap: 6px; align-items: stretch; }
.sw-item {
  flex: 1; text-align: left; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 14px 4px 0; position: relative;
  border-top: 1px solid var(--line-2); transition: color .3s;
}
.sw-item b { display: block; font: 500 0.92rem var(--head); letter-spacing: -0.01em; color: var(--text-2); transition: color .3s; }
.sw-item small { font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; }
.sw-item .bar { position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: #fff; box-shadow: 0 0 10px rgba(160,220,255,.9); }
.sw-item.on b, .sw-item:hover b { color: #fff; }
.scroll-cue { display: none; position: absolute; left: 50%; bottom: 120px; z-index: 3; transform: translateX(-50%); width: 22px; height: 34px; border: 1px solid var(--line-2); border-radius: 12px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 7px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* trusted strip */
.trusted { padding: 30px 0 10px; }
.trusted p { text-align: center; color: var(--muted); font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client { flex: none; width: 190px; height: 92px; display: grid; place-items: center; background: rgba(255,255,255,.92); border-radius: 18px; padding: 14px 22px; opacity: .78; filter: saturate(.85); transition: opacity .3s, filter .3s, transform .4s var(--ease); }
.client:hover { opacity: 1; filter: none; transform: translateY(-3px); }
.client img { max-height: 62px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* statement + stats */
.statement { font: 400 clamp(1.7rem, 3.4vw, 3rem)/1.18 var(--head); letter-spacing: -0.03em; color: var(--text); max-width: 1080px; }
.statement .dim { color: #5a6578; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.stat { padding: 34px 26px 0 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 400 clamp(2.6rem, 5vw, 4.2rem)/1 var(--head); letter-spacing: -0.05em; }
.stat b .suffix { color: var(--ice); }
.stat small { display: block; margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

/* modality cards */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.cat-card:hover { transform: translateY(-8px); border-color: var(--line-2); }
.cat-card .view { aspect-ratio: 1 / 0.92; }
.cat-card .body { padding: 6px 28px 28px; }
.cat-card .count { font: 500 0.75rem var(--body); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.cat-card h3 { font-size: 1.7rem; margin: 10px 0 10px; }
.cat-card p { color: var(--muted); font-size: 0.94rem; }

/* live 3D view area shared by cards */
.view { position: relative; overflow: hidden; }
.view::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 188, 255, 0.16), transparent); pointer-events: none; }
.view-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.badge3d { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; font: 500 .7rem var(--body); letter-spacing: .12em; padding: 6px 10px; border-radius: 999px; color: var(--text-2); background: rgba(6, 10, 18, .6); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.badge3d::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #45f0a0; box-shadow: 0 0 8px #45f0a0; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* scroll story */
.story { padding-top: 60px; }
.story-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: start; }
.story-stage { position: sticky; top: 12vh; height: 76vh; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.story-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.story-hud { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 4; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); }
.story-dots { display: flex; gap: 6px; }
.story-dots i { width: 18px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); transition: all .4s var(--ease); }
.story-dots i.on { width: 34px; background: #fff; }
.story-steps { padding: 10vh 0 20vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s var(--ease); }
.step.active { opacity: 1; }
.step .n { font: 400 1.05rem var(--serif); font-style: italic; color: var(--ice); margin-bottom: 14px; }
.step h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 14px; }
.step p { color: var(--text-2); font-size: 1.02rem; max-width: 440px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 30px 26px; min-height: 250px; display: flex; flex-direction: column; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ice); background: rgba(92,188,255,.1); border: 1px solid rgba(92,188,255,.2); margin-bottom: auto; }
.feature h3 { margin: 28px 0 8px; font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }

.cta-band { padding: 90px 40px; text-align: center; border-radius: 32px; }
.cta-band::after { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(92,188,255,.2), transparent); pointer-events: none; z-index: 0; }
.cta-band h2 { max-width: 820px; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ------------------------------------------------------------------ page hero */
.page-hero { padding: 190px 0 70px; }
.page-hero h1 { max-width: 1000px; }

/* ------------------------------------------------------------------ products */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 40px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); width: fit-content; max-width: 100%; }
.chip { padding: 10px 18px; border-radius: 999px; border: 0; background: none; color: var(--text-2); cursor: pointer; font: 500 0.9rem var(--body); transition: all .25s; }
.chip:hover { color: #fff; }
.chip.on { background: #fff; color: #05070c; }
.chip .n { opacity: .55; margin-left: 6px; font-size: .8rem; }
.search-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 40px; }
.search-row .filters { margin: 0; }
.search { min-width: 280px; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); font: 0.92rem var(--body); outline: none; transition: border-color .2s; }
.search:focus { border-color: var(--line-2); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.p-card:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 40px 80px -40px rgba(92, 188, 255, 0.35); }
.p-card .view { aspect-ratio: 1 / 0.95; }
.p-card .body { padding: 4px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card .tier { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.p-card h3 { margin: 0; font-size: 1.55rem; }
.p-card .go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: #fff; transition: all .35s var(--ease); }
.p-card:hover .go { background: #fff; color: #05070c; transform: rotate(-45deg); }
.p-card p { color: var(--muted); font-size: .88rem; margin: 4px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.specs-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.specs-mini span { font-size: .75rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text-2); }
.empty { padding: 60px; text-align: center; color: var(--muted); }

/* ------------------------------------------------------------------ product detail */
.pd { padding: 112px 0 40px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: .4; }
.pd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; }
.stage { position: relative; height: min(78vh, 780px); min-height: 500px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #03060c; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage .photo { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #fff; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.stage .photo img { max-height: 100%; object-fit: contain; }
.stage.show-photo .photo { opacity: 1; pointer-events: auto; }
.stage-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; z-index: 6; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: rgba(6, 10, 18, .7); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.seg button { border: 0; background: none; color: var(--text-2); padding: 8px 14px; border-radius: 999px; cursor: pointer; font: 500 .82rem var(--body); transition: all .25s; }
.seg button:hover { color: #fff; }
.seg button.on { background: #fff; color: #05070c; }
.stage-tag { position: absolute; top: 18px; left: 18px; z-index: 6; }
.stage-hint { position: absolute; top: 18px; right: 18px; z-index: 6; font-size: .78rem; color: var(--muted); padding: 7px 12px; border-radius: 999px; background: rgba(6,10,18,.55); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: opacity .3s; }
.stage.engaged .stage-hint { opacity: 0; }
.pins { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.pin { position: absolute; left: 0; top: 0; pointer-events: auto; border: 0; background: none; padding: 0; cursor: pointer; color: #fff; }
.pin-dot { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 .72rem var(--body);
  color: #05070c; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.14), 0 6px 20px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.pin:hover .pin-dot, .pin.open .pin-dot { transform: translate(-50%, -50%) scale(1.15); }
.pin-dot::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); animation: ping 2.2s infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pin-card { position: absolute; left: 24px; top: -16px; width: 250px; padding: 14px 16px; text-align: left; border-radius: 14px; background: rgba(8, 12, 20, .9); border: 1px solid var(--line-2);
  opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease); pointer-events: none; backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.pin.left .pin-card { left: auto; right: 24px; transform: translateX(8px); }
.pin-card b { display: block; font: 500 .92rem var(--head); margin-bottom: 4px; }
.pin-card small { color: var(--muted); font-size: .8rem; line-height: 1.5; display: block; }
.pin:hover .pin-card, .pin.open .pin-card { opacity: 1; transform: none; }
.pd-info { padding: 36px 34px; display: flex; flex-direction: column; }
.pd-info h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin: 14px 0 8px; }
.pd-info .tagline { font: 400 1.35rem/1.3 var(--serif); font-style: italic; color: var(--ice); margin-bottom: 18px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 28px; border-top: 1px solid var(--line); }
.spec-grid div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-grid div:nth-child(odd) { padding-right: 14px; }
.spec-grid div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.spec-grid small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.spec-grid b { font-size: .98rem; font-weight: 500; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.note { font-size: .78rem; color: var(--muted); margin: 18px 0 0; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hl { padding: 30px 26px; }
.hl .idx { font: 400 1.1rem var(--serif); font-style: italic; color: var(--ice); }
.hl h3 { margin: 20px 0 10px; font-size: 1.18rem; }
.hl p { color: var(--muted); font-size: .9rem; margin: 0; }
.doc-list { display: grid; gap: 12px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; transition: border-color .3s, transform .4s var(--ease); }
.doc:hover { border-color: var(--line-2); transform: translateX(4px); }
.doc .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 600 .68rem var(--body); letter-spacing: .06em; color: #fff; background: linear-gradient(160deg, #ff5b4f, #b8140c); box-shadow: 0 8px 20px -8px rgba(226,35,26,.7); }
.doc .meta { flex: 1; min-width: 0; }
.doc .meta b { display: block; font-weight: 500; font-size: .95rem; }
.doc .meta small { color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rel .view { aspect-ratio: 1 / 0.9; }
.rel .body { padding: 2px 20px 20px; }
.rel h3 { font-size: 1.25rem; }
.rel .go { width: 34px; height: 34px; }

/* ------------------------------------------------------------------ downloads */
.dl-group { margin-bottom: 60px; }
.dl-group h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; font-size: 1.6rem; }
.dl-group h3 span { font: 400 .85rem var(--body); color: var(--muted); letter-spacing: 0; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* ------------------------------------------------------------------ about / career / contact */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.about-grid p { color: var(--text-2); font-size: 1.05rem; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--ice), transparent); }
.tl { position: relative; padding: 0 0 32px; }
.tl::before { content: ''; position: absolute; left: -29px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ice); box-shadow: 0 0 12px rgba(159,216,255,.6); }
.tl b { font: 500 1.5rem var(--head); letter-spacing: -0.03em; }
.tl p { color: var(--muted); margin: 4px 0 0; font-size: .95rem; }
.policy, .perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.policy .glass, .perks .glass { padding: 30px 28px; }
.policy h3, .perks h3 { font-size: 1.12rem; }
.policy p, .perks p { color: var(--muted); font-size: .92rem; margin: 0; }
.job { padding: 44px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.job-meta span { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; color: var(--text-2); }
.job ul { color: var(--text-2); padding-left: 20px; }
.job ul li { margin-bottom: 7px; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 10px; }
form.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 8px; font-size: .82rem; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  color: var(--text); font: .95rem var(--body); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: rgba(159,216,255,.5); background: rgba(255,255,255,.05); box-shadow: 0 0 0 4px rgba(92,188,255,.1); }
.form select option { background: #0b1220; }
.form-msg { grid-column: 1 / -1; color: var(--ice); font-size: .9rem; min-height: 1.2em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; }
.contact-cards { display: grid; gap: 12px; }
.contact-cards .glass { padding: 26px; }
.contact-cards h4 { font: 500 .72rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.contact-cards a { display: block; color: var(--text); padding: 2px 0; }
.contact-cards a:hover { color: var(--ice); }
.map { height: 420px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); margin-top: 20px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.5) brightness(.85) contrast(1.05); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .burger { display: grid; }
  .header-cta .icon-btn { display: none; }
  body.nav-open .main-nav { display: flex; flex-direction: column; position: fixed; top: 86px; left: 20px; right: 20px; padding: 14px; gap: 4px; background: rgba(9,13,21,.97); border: 1px solid var(--line); border-radius: 22px; }
  body.nav-open .main-nav > a, body.nav-open .has-mega > a { display: block; padding: 14px 16px; font-size: 1.05rem; }
  body.nav-open .mega { display: none; }
  .grid, .cats { grid-template-columns: repeat(2, 1fr); }
  .features, .hl-grid, .related { grid-template-columns: repeat(2, 1fr); }
  .pd-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .policy, .perks { grid-template-columns: 1fr 1fr; }
  .hero-meta { display: none; }
}
@media (max-width: 760px) {
  section { padding: 90px 0; }
  .wrap { padding: 0 16px; }
  .site-header { inset: 10px 0 auto; padding: 0 10px; }
  .header-cta .btn { display: none; }
  .wm img { height: 34px; }
  .grid, .cats, .features, .hl-grid, .related, .policy, .perks, .dl-grid, .job-cols, form.form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { display: block; min-height: 0; }
  .hero-content { padding-top: 110px; padding-bottom: 0; }
  .hero-space { display: block; height: 62svh; }
  .switcher { bottom: 18px; }
  .switcher .wrap { overflow-x: auto; scrollbar-width: none; }
  .sw-item { min-width: 120px; }
  .scroll-cue { display: none; }
  /* Phones: the model is a normal box and the steps become a row of swipe cards under it. */
  .story-grid { grid-template-columns: 1fr; gap: 14px; }
  .story-stage { position: relative; top: auto; height: 92vw; max-height: 440px; border-radius: 22px; }
  .story-steps { position: relative; min-width: 0; display: flex; gap: 12px; padding: 0 0 6px; margin: 0 -16px; padding-inline: 16px; scroll-padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .story-steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 86%; min-height: 0; justify-content: flex-start; padding: 20px 20px 22px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); opacity: .55; cursor: pointer; }
  .step.active { opacity: 1; border-color: rgba(255,255,255,.22); }
  .step .n { margin-bottom: 8px; }
  .step h3 { font-size: 1.35rem; margin-bottom: 8px; }
  .step p { font-size: .95rem; }
  .step .link-arrow { margin-top: 12px; }
  .story-dots i { cursor: pointer; }
  .story-stage .pin-card { display: none; }
  /* Phones: "Why Transmed" is one panel with icon rows instead of four tall cards popping in one by one. */
  .features { gap: 0; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.03); overflow: hidden; }
  .features .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; min-height: 0; padding: 18px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; opacity: 1; transform: none; filter: none; transition: none; }
  .features .feature + .feature { border-top: 1px solid var(--line); }
  .features .feature .ico { grid-row: span 2; margin: 0; }
  .features .feature h3 { margin: 2px 0 4px; font-size: 1.02rem; }
  .features .feature p { font-size: .88rem; line-height: 1.5; }
  .search { min-width: 0; width: 100%; }
  .filters { border-radius: 20px; }
  .cta-band { padding: 56px 22px; }
  .stage { height: 64vh; min-height: 420px; border-radius: 22px; }
  .stage-hint { display: none; }
  .pd-info, .job { padding: 26px 22px; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
  .pin-card { width: 190px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid div:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track { animation: none; }
}
