:root {
  color-scheme: dark;
  --bg: #0a0f19;
  --surface: #101a29;
  --ink: #f4f7fb;
  --muted: #adbace;
  --line: #26364a;
  --accent: #ffbf52;
  --light: #ffda90;
  --rgb: 255 181 55;
  --display: Manrope, "DM Sans", sans-serif;
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img, video { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.05em; }
h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.32rem; line-height: 1.2; }
p { color: var(--muted); line-height: 1.65; }
em { color: var(--accent); font-style: normal; }
.wrap { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.theme-web { --accent: #ffbf52; --light: #ffe3a7; --rgb: 255 181 55; }
.theme-diagnostics { --accent: #64eed0; --light: #b6f9eb; --rgb: 65 236 197; }
.theme-network { --accent: #a0c4ff; --light: #e4eeff; --rgb: 92 150 255; }

.skip-link { position: fixed; z-index: 10; top: 10px; left: 14px; padding: 12px 16px; transform: translateY(-150%); background: var(--accent); color: #060a12; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid #ffffff17; background: #0b111b; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; perspective: 200px; }
.brand-emblem {
  position: relative;
  flex: none;
  width: 32px;
  animation: brand-emblem-hop 10s cubic-bezier(.32, .25, .28, 1) infinite;
}

.brand-emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(113deg, transparent 36%, #ffc34842 42%, #fff5b8 50%, #ffbe4240 58%, transparent 64%) 100% 0 / 250% 100% no-repeat;
  -webkit-mask: url('/assets/resolve-emblem.webp') center / 100% 100% no-repeat;
  mask: url('/assets/resolve-emblem.webp') center / 100% 100% no-repeat;
  animation: brand-emblem-glint 10s linear infinite;
}

.brand-wordmark { position: relative; width: 144px; }
.brand-emblem img, .brand-wordmark img { width: 100%; height: auto; }

.brand-check {
  position: absolute;
  top: 0;
  left: 52.03%;
  width: 20.93%;
  height: auto;
  fill: #ffbf52;
}

.brand-check path { animation: brand-check-loop 4.8s ease-out infinite; }

.intro-splash[open] ~ .site-header .brand-emblem,
.intro-splash[open] ~ .site-header .brand-emblem::after,
.intro-splash[open] ~ .site-header .brand-check path {
  animation-play-state: paused;
}


@keyframes brand-check-loop {
  0%, 4% { opacity: 1; clip-path: inset(0 100% 0 0) fill-box; }
  9% { clip-path: inset(0 61% 0 0) fill-box; }
  17%, 94% { opacity: 1; clip-path: inset(0 0% 0 0) fill-box; }
  100% { opacity: 0; clip-path: inset(0 0% 0 0) fill-box; }
}

@keyframes brand-emblem-hop {
  0%, 24% { transform: translateY(0) rotateY(0deg) scale(1); }
  27% { transform: translateY(2px) rotateY(0deg) scale(1.08, .92); }
  32% { transform: translateY(-7px) rotateY(190deg) scale(1.07); }
  37% { transform: translateY(1px) rotateY(360deg) scale(1.07, .94); }
  40%, 100% { transform: translateY(0) rotateY(360deg) scale(1); }
}

@keyframes brand-emblem-glint {
  0%, 34% { opacity: 0; background-position: 100% 0; }
  37% { opacity: .78; }
  41%, 100% { opacity: 0; background-position: 0 0; }
}
.footer-wordmark { width: 105px; height: auto; margin-bottom: 3px; }
.header-links { display: flex; align-items: center; gap: 22px; font-size: .93rem; white-space: nowrap; }
.header-links a:hover, .footer-inner a:hover { color: var(--accent); }
.header-contact { padding: 10px 16px; border: 1px solid #344356; border-radius: 7px; }
.site-footer { background: #090f18; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 28px; }
.footer-inner div { display: grid; gap: 4px; }
.footer-inner span, .footer-inner nav { font-size: .875rem; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 23px; }

.gateway { position: relative; isolation: isolate; padding: 35px 0 56px; overflow: hidden; }
.gateway::before, .service-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(#9cbbe00e 1px, transparent 1px), linear-gradient(90deg, #9cbbe00e 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(#000, transparent 87%);
}
.gateway-light { position: absolute; z-index: -1; inset: -18% -11% 0; pointer-events: none; }
.gateway-light::before, .gateway-light::after {
  content: ""; position: absolute; inset: 0;
}
.gateway-light::before {
  background: radial-gradient(ellipse at 47% 7%, #8b622930, transparent 46%), radial-gradient(ellipse at 79% 58%, #23498840, transparent 47%), radial-gradient(ellipse at 21% 65%, #7b4d2d32, transparent 45%);
  animation: ambient-drift 13s ease-in-out infinite alternate;
}
.gateway-light::after {
  opacity: 0;
  background: radial-gradient(ellipse at var(--ambient-x, 50%) 57%, rgb(var(--rgb) / .15), transparent 40%);
  transition: opacity .4s;
}
.gateway:has(.gateway-card:hover, .gateway-card:focus-visible) .gateway-light::after { opacity: 1; }
.gateway[data-active="web"] { --ambient-x: 21%; }
.gateway[data-active="diagnostics"] { --ambient-x: 50%; --rgb: 65 236 197; }
.gateway[data-active="network"] { --ambient-x: 79%; --rgb: 92 150 255; }

.gateway-intro { display: grid; justify-items: center; text-align: center; gap: 12px; padding-bottom: 35px; }
.gateway-intro h1 { font-size: clamp(2.75rem, 6.2vw, 5.85rem); text-wrap: balance; }
.gateway-intro > p:last-child { font-size: clamp(1rem, 1.7vw, 1.18rem); }
.gateway-emblem { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 5px; }
.gateway-emblem img { width: 56px; height: auto; filter: drop-shadow(0 0 17px #ffb53750); animation: emblem-arrival .85s cubic-bezier(.2,.8,.2,1) both; }
.gateway-emblem span { position: absolute; inset: 0; border: 1px solid #ffbf5247; border-radius: 50%; animation: orbit 12s linear infinite; }
.gateway-emblem span:nth-child(2) { inset: 7px; border-color: #ffbf5226; animation-duration: 9s; animation-direction: reverse; }
.gateway-emblem span::before { content: ""; position: absolute; width: 6px; height: 6px; left: calc(50% - 3px); top: -3px; border-radius: 50%; background: #ffd487; box-shadow: 0 0 13px #ffb537; }

.gateway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; perspective: 1100px; }
.gateway-card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  display: flex; min-width: 0; flex-direction: column; position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgb(var(--rgb) / .33); border-radius: 14px; background: #101926;
  box-shadow: 0 15px 30px #02060c66;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .2s ease-out, border-color .25s, box-shadow .3s;
}
.gateway-card:hover, .gateway-card:focus-visible { --lift: -5px; border-color: var(--accent); box-shadow: 0 12px 38px rgb(var(--rgb) / .17); }
.gateway-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 19px 20px 21px; border-top: 1px solid rgb(var(--rgb) / .14); }
.gateway-card h2 { font-size: clamp(1.2rem, 2.15vw, 1.8rem); }
.gateway-card p { font-size: .98rem; line-height: 1.45; margin-bottom: 3px; }
.card-action {
  margin-top: auto; padding: 8px 12px; border: 1px solid rgb(var(--rgb) / .37); border-radius: 6px;
  color: var(--light); font-size: .875rem; line-height: 1.3; font-weight: 700; transition: color .25s, background .25s;
}
.gateway-card:hover .card-action, .gateway-card:focus-visible .card-action { color: #090f19; background: var(--accent); }

.service-visual {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.8; container-type: inline-size;
  background: radial-gradient(ellipse at 51% 58%, rgb(var(--rgb) / .21), transparent 74%), #0b1320;
}
.service-visual::before {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .48;
  background: linear-gradient(rgb(var(--rgb) / .17) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--rgb) / .17) 1px, transparent 1px);
  background-size: 24px 24px; mask-image: radial-gradient(ellipse, #000, transparent 76%);
}
.service-visual::after { content: ""; pointer-events: none; position: absolute; inset: 0; box-shadow: inset 0 -12px 32px #03071345; }
.art-browser { position: absolute; overflow: hidden; border: 1px solid rgb(var(--rgb) / .46); border-radius: 6px; box-shadow: 0 12px 30px #02060baf; background: #111725; }
.browser-bar { display: flex; align-items: center; gap: 4px; height: 14px; padding-inline: 8px; background: #1e2b3c; }
.browser-bar i { width: 4px; height: 4px; border-radius: 50%; background: #8194ad; }
.art-browser img { width: 100%; height: auto; }
.art-browser-back { width: 48%; top: 10%; right: 11%; --angle: 8deg; animation: float-browser 6s ease-in-out -2s infinite; }
.art-browser-front { width: 59%; left: 12%; top: 22%; --angle: -7deg; animation: float-browser 6s ease-in-out infinite; }
.art-glass { position: absolute; left: 7%; right: 7%; bottom: 7%; height: 1px; background: linear-gradient(90deg, transparent, rgb(var(--rgb) / .52), transparent); }

.diagnostic-scantool {
  position: absolute;
  inset: 0;
  width: min(96%, 40rem);
  height: 94%;
  margin: auto;
  overflow: visible;
}

.scantool-device {
  transform: rotate(-7deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 8px 9px #000a);
  animation: scantool-float 4.6s ease-in-out infinite;
}

.scantool-scan { opacity: 0; animation: scantool-scan 2.4s ease-in-out infinite; }
.scantool-status { animation: node-glow 2.4s ease-in-out infinite; }

@keyframes scantool-float {
  50% { transform: translateY(-4px) rotate(-4deg); }
}

@keyframes scantool-scan {
  0%, 18% { opacity: 0; transform: translateY(0); }
  30%, 67% { opacity: .85; }
  82%, 100% { opacity: 0; transform: translateY(36px); }
}

.network-grid { position: absolute; inset: 0; opacity: .63; background: radial-gradient(circle, #9cc4ff74 1px, transparent 1.5px); background-size: 18px 18px; mask-image: radial-gradient(ellipse, #000, transparent 75%); }
.network-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); display: grid; gap: 3px; width: 32%; padding: 3%; border: 1px solid #a0c4ffad; border-radius: 8px; background: linear-gradient(145deg, #344e75, #182945); box-shadow: 0 0 35px #588fff55, 0 14px 24px #030613aa; }
.network-hub span { display: flex; align-items: center; gap: 6px; height: 6cqw; padding-left: 10%; border: 1px solid #7da9df7c; border-radius: 4px; background: #111f35; }
.network-hub i { width: 4px; height: 4px; border-radius: 50%; background: #9bc4ff; box-shadow: 0 0 7px #9bc4ff; }
.network-wire { position: absolute; height: 1px; width: 28%; background: #719fff8a; transform-origin: right center; }
.network-wire::after { content: ""; position: absolute; top: -1.5px; width: 5px; height: 4px; border-radius: 50%; background: #c2d9ff; box-shadow: 0 0 9px 2px #6aa4ff; animation: packet 2.2s ease-in-out infinite; }
.wire-left { left: 22%; top: 50%; transform: rotate(22deg); }
.wire-top { left: 22%; top: 50%; transform: rotate(51deg); }
.wire-right { left: 22%; top: 50%; transform: rotate(195deg); }
.wire-bottom { left: 22%; top: 50%; transform: rotate(153deg); }
.wire-top::after, .wire-bottom::after { animation-delay: -1.1s; }
.network-node { position: absolute; width: 8%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #9bc2ff; border-radius: 5px; background: #213a5c; box-shadow: 0 0 16px #6da3ff60; }
.network-node::after { content: ""; position: absolute; inset: 33%; border-radius: 2px; background: #c3dbff; box-shadow: 0 0 9px #6da3ff; animation: node-glow 3s ease-in-out infinite; }
.node-left { left: 23%; top: 30%; }
.node-top { left: 32%; top: 11%; }
.node-right { left: 77%; top: 63%; }
.node-bottom { left: 75%; top: 27%; }

.service-hero { isolation: isolate; position: relative; padding-block: 76px; background: radial-gradient(ellipse at 77% 37%, rgb(var(--rgb) / .11), transparent 57%); border-bottom: 1px solid var(--line); }
.service-hero-grid, .contact-grid, .media-grid, .faq-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px, 6vw, 96px); }
.service-hero .eyebrow, .contact-section .eyebrow { margin-bottom: 15px; }
.service-hero h1 { font-size: clamp(2.8rem, 5.2vw, 5.35rem); text-wrap: balance; }
.hero-intro { font-size: clamp(1rem, 2vw, 1.17rem); max-width: 36rem; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; text-align: center; }
.button-primary { color: #080e16; background: var(--accent); cursor: pointer; }
.button-primary:hover { background: var(--light); }
.button-outline { color: var(--light); border-color: rgb(var(--rgb) / .43); }
.button-outline:hover { background: rgb(var(--rgb) / .12); }
.hero-visual { overflow: hidden; border: 1px solid rgb(var(--rgb) / .4); border-radius: 14px; box-shadow: 0 18px 45px #0005; background: var(--surface); }
.offer { padding: 16px 21px 19px; border-top: 1px solid rgb(var(--rgb) / .24); }
.offer .eyebrow { margin-bottom: 3px; }
.offer-price { color: var(--ink); font: 800 clamp(2.1rem, 4vw, 3.6rem)/1.12 var(--display); letter-spacing: -.07em; }
.offer-price span { margin-right: 3px; font: 600 1rem/1 var(--display); letter-spacing: 0; }
.offer > p:last-child { margin-top: 6px; }

.content-section { padding-block: 59px; border-bottom: 1px solid var(--line); }
.work-groups, .work-wide .work-cards, .solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; margin-top: 31px; }
.work-wide { grid-column: 1 / -1; }
.work-group { min-width: 0; border-top: 1px solid var(--line); padding-top: 13px; }
.work-group h3 { margin-bottom: 12px; color: var(--accent); font: 700 1rem/1.25 "DM Sans", sans-serif; letter-spacing: 0; }
.work-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.work-card:hover, .work-card:focus-visible { border-color: var(--accent); }
.work-card img { width: 100%; height: auto; }
.work-card > div:last-child { display: grid; gap: 4px; padding: 12px 14px 14px; }
.work-card span { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.solutions { background: #0c1420; }
.solutions-grid { margin-top: 29px; }
.solutions article { min-width: 0; padding: 20px 20px 21px; border: 1px solid var(--line); border-top-color: rgb(var(--rgb) / .52); border-radius: 8px; background: var(--surface); }
.solutions article p, .media-grid h2 + p, .contact-section h2 + p, .privacy-copy h2 + p { margin-top: 12px; }
.media-grid video { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: #0b111a; }
.faq-grid { grid-template-columns: .7fr 1.3fr; align-items: start; }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
details:first-child { border-top: 1px solid var(--line); }
summary { color: var(--ink); cursor: pointer; font-weight: 700; }
summary::marker { color: var(--accent); }
details p { padding: 9px 0 2px; }
.contact-section { background: radial-gradient(ellipse at 90% 75%, rgb(var(--rgb) / .08), transparent 65%); }
.contact-grid { align-items: start; }
.phone-link { display: block; margin-top: 16px; font-weight: 700; }
.direct-link, .privacy-copy a { display: inline-block; color: var(--light); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.direct-link { margin-top: 12px; }
.enquiry { display: grid; min-width: 0; gap: 13px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.enquiry label { display: grid; align-content: start; gap: 7px; font-size: .92rem; }
.enquiry input, .enquiry textarea, .enquiry select { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid #3c4e66; border-radius: 6px; background: #0d1827; color: var(--ink); }
.enquiry textarea { resize: vertical; }
.direct-contact-links { display: grid; justify-items: start; }
.direct-contact-links a { overflow-wrap: anywhere; }
.enquiry-details { min-inline-size: 0; margin: 0; padding: 12px; border: 1px solid #3c4e66; border-radius: 6px; }
.enquiry-details legend { padding-inline: 6px; color: var(--light); font-size: .875rem; }
.enquiry-details > div { display: grid; gap: 12px; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.enquiry-actions .button-outline { background: transparent; cursor: pointer; }
.enquiry-actions .button-outline:hover { background: rgb(var(--rgb) / .12); }
.enquiry .optional { color: var(--muted); font-size: .85rem; }
.enquiry .form-note { font-size: .875rem; }
.privacy-copy p { max-width: 68ch; margin-block: 10px; }

@keyframes ambient-drift { to { transform: scale(1.12) translateX(3%); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes emblem-arrival { from { opacity: .3; transform: perspective(300px) rotateY(-55deg) scale(.78); } }
@keyframes float-browser { 0%, 100% { transform: translateY(1%) rotate(var(--angle)); } 50% { transform: translateY(-3%) rotate(var(--angle)); } }
@keyframes packet { 0% { left: 0; opacity: 0; } 20%, 75% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes node-glow { 50% { opacity: .5; } }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .gateway-grid { gap: 13px; }
  .gateway-card-body { padding-inline: 15px; }
}
@media (721px <= width <= 1000px) {
  .work-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; }
  .header-links { gap: 12px; font-size: .88rem; }
  .header-contact { padding: 8px 10px; }
  .brand { gap: 6px; }
  .brand-emblem { width: 26px; }
  .brand-wordmark { width: clamp(86px, 28vw, 126px); }
  .gateway { padding: 28px 0 36px; }
  .gateway-intro { padding-bottom: 27px; gap: 9px; }
  .gateway-emblem { width: 68px; height: 68px; }
  .gateway-emblem img { width: 40px; }
  .gateway-grid { grid-template-columns: 1fr; gap: 10px; }
  .gateway-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .gateway-card .service-visual { grid-column: 2; grid-row: 1; aspect-ratio: auto; min-height: 118px; }
  .gateway-card .diagnostic-scantool { inset-inline: -15%; width: 130%; }
  .gateway-card-body { grid-column: 1; grid-row: 1; padding: 12px 12px 13px; gap: 6px; border: 0; }
  .gateway-card h2 { font-size: clamp(1.08rem, 4.5vw, 1.38rem); }
  .gateway-card p { font-size: .875rem; }
  .card-action { padding: 5px 8px; }
  .service-hero { padding-block: 41px; }
  .service-hero-grid, .contact-grid, .media-grid, .faq-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-hero h1 { text-wrap: initial; }
  .hero-intro, .hero-actions { margin-top: 16px; }
  .content-section { padding-block: 38px; }
  .work-groups, .work-wide .work-cards, .solutions-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-groups { row-gap: 21px; margin-top: 22px; }
  .solutions-grid { margin-top: 18px; }
}
@media (max-width: 370px) {
  .gateway-card { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .header-links { gap: 8px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .art-browser { transform: rotate(var(--angle)); }
  .gateway-card { transform: none; }
}

@media (max-width: 560px) {
  body:not(.theme-gateway) .service-visual:not(.visual-diagnostics) *, body:not(.theme-gateway) .service-visual:not(.visual-diagnostics) *::before, body:not(.theme-gateway) .service-visual:not(.visual-diagnostics) *::after { animation: none; }
  body:not(.theme-gateway) .art-browser { transform: rotate(var(--angle)); }
  .theme-diagnostics .scantool-device { animation-iteration-count: 1; }
  .theme-diagnostics :is(.scantool-scan, .scantool-status) { animation-iteration-count: 2; }
}

.intro-splash[open] {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0b111b;
  animation: splash-release 3.3s ease-in-out both;
}

.intro-splash::backdrop {
  background: transparent;
  backdrop-filter: none;
}

html:has(.intro-splash[open]) {
  overflow: hidden;
}

.splash-composition {
  display: grid;
  justify-items: center;
  width: min(88vw, 33rem, 73svh);
  transform: translateY(calc(-1 * clamp(12px, 4.5svh, 36px)));
}

.splash-welcome {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: min(80%, 16rem);
  min-height: clamp(38px, 10vw, 54px);
  margin-bottom: -3%;
  background: radial-gradient(ellipse at var(--welcome-x, 50%) 50%, #ffbf5224, transparent 67%);
  border-block: 1px solid #ffbf522b;
}

.splash-welcome::before,
.splash-welcome::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 11px;
  border-style: solid;
  border-color: #ffbf52b3;
  animation: welcome-bracket .85s ease-out both;
}

.splash-welcome::before { inset: 0 auto auto 0; border-width: 1px 0 0 1px; }
.splash-welcome::after { inset: auto 0 0 auto; border-width: 0 1px 1px 0; }

.splash-welcome-title {
  color: var(--accent);
  font-size: clamp(.875rem, 3.4vw, 1.125rem);
  animation: welcome-lock .52s steps(7, end) .24s both;
}

.splash-welcome-scan,
.splash-welcome-pulse {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 35%, #ffbf5226 48%, #ffdf865c 50%, transparent 58%);
}

.splash-welcome-scan {
  animation: welcome-scan .93s cubic-bezier(.25, .6, .25, 1) .1s both;
}

.splash-welcome-pulse { opacity: 0; }

.splash-logo {
  position: relative;
  width: 92%;
  perspective: 950px;
}

.splash-logo::before {
  content: "";
  position: absolute;
  inset: 2% 10% 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #ffc76535, #f3aa1911 48%, transparent 72%);
  animation: splash-halo 1.8s ease-out .48s both;
}

.splash-logo img { width: 100%; height: auto; }

.splash-emblem {
  position: relative;
  transform-origin: 50% 43%;
  animation: splash-emblem-turn 1.22s cubic-bezier(.2, .72, .24, 1) .2s both;
}

.splash-emblem img { clip-path: inset(0 0 19% 0); }

.splash-sheen {
  position: absolute;
  inset: 0;
  clip-path: polygon(49.5% 7.4%, 78.8% 25.7%, 78.8% 62.2%, 49.1% 80.3%, 19.8% 62.2%, 19.8% 25.7%);
}

.splash-sheen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 39%, #fff4c600 43%, #fff9e766 49%, #fff9e718 57%, transparent 62%);
  animation: splash-sweep .88s ease-in-out 1.12s both;
}

.splash-circuits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff0aa;
  stroke-width: 13;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px #ffd052);
}

.splash-edge {
  stroke-width: 5;
  transform-box: fill-box;
  transform-origin: center;
  animation: splash-edge-pulse .9s cubic-bezier(.16, .65, .28, 1) 1.36s both;
}

.splash-circuits path {
  stroke-dasharray: .17 1.1;
  animation: splash-signal .79s linear var(--signal-delay, .92s) both;
}

.splash-circuits path:nth-child(2) { --signal-delay: 1.03s; }
.splash-circuits path:nth-child(3) { --signal-delay: 1.13s; }
.splash-circuits path:nth-child(4) { --signal-delay: 1.27s; }
.splash-circuits path:nth-child(5) { --signal-delay: 1.37s; }

.splash-type {
  position: absolute;
  inset: 0;
  animation: splash-type-in .58s ease-out 1.13s both;
}

.splash-type img { clip-path: inset(80% 0 0); }

.splash-tick {
  position: absolute;
  top: 81.61%;
  left: 50.315%;
  width: 12.78%;
  height: auto;
  fill: #ffbd45;
}

.splash-tick-fill {
  clip-path: inset(0 100% 0 0) fill-box;
  animation: splash-check .62s ease-out 1.93s both;
}

@keyframes welcome-bracket {
  0% { opacity: 0; transform: scale(1.55); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes welcome-lock {
  from { opacity: .48; clip-path: inset(0 50%); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes welcome-scan {
  0% { transform: translateX(-75%); opacity: 0; }
  20%, 70% { opacity: 1; }
  100% { transform: translateX(75%); opacity: 0; }
}

@keyframes splash-emblem-turn {
  0% { opacity: 0; transform: translateY(7%) rotateY(-58deg) rotateZ(-9deg) scale(.72); }
  27% { opacity: 1; }
  71% { transform: translateY(-1%) rotateY(11deg) rotateZ(2deg) scale(1.035); }
  100% { opacity: 1; transform: none; }
}

@keyframes splash-halo {
  0% { opacity: 0; transform: scale(.68); }
  40% { opacity: 1; }
  100% { opacity: .3; transform: scale(1.13); }
}

@keyframes splash-sweep {
  from { transform: translateX(-90%); }
  to { transform: translateX(90%); }
}

@keyframes splash-edge-pulse {
  0% { opacity: 0; transform: scale(1); }
  19% { opacity: .72; }
  100% { opacity: 0; transform: scale(1.24); }
}

@keyframes splash-signal {
  0% { opacity: 0; stroke-dashoffset: .2; }
  16%, 76% { opacity: 1; }
  100% { opacity: 0; stroke-dashoffset: -.94; }
}

@keyframes splash-type-in {
  from { opacity: 0; transform: translateY(1.2%); }
}

@keyframes splash-check {
  0% { clip-path: inset(0 100% 0 0) fill-box; }
  36% { clip-path: inset(0 61% 0 0) fill-box; }
  100% { clip-path: inset(0 0% 0 0) fill-box; }
}

@keyframes splash-release {
  0%, 86% { opacity: 1; }
  100% { opacity: 0; }
}

.design-videos { background: #0c1420; }

.design-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 27px;
}

.design-video {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.design-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #080d15;
}

/* Match the promotion artwork after excluding its 8px top and bottom borders. */
.design-video .promotion-video {
  aspect-ratio: 1280 / 1072;
  object-fit: cover;
}

.design-video > div { padding: 17px 19px 19px; }
.design-video p { margin-top: 7px; }

@media (max-width: 720px) {
  .design-video-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 18px; }
}

/* The Web & Design hero uses a hinged door to reveal the project previews. */
.front-door {
  position: relative;
  border-bottom: 1px solid rgb(var(--rgb) / .2);
  background: #0a111c;
}

.door-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.63;
  background: radial-gradient(ellipse at 41% 52%, #50402e 0%, #17202c 42%, #0a111c 80%);
}

.door-scene::before {
  content: "";
  position: absolute;
  inset: 0 0 11%;
  background: linear-gradient(#ecb45716 1px, transparent 1px), linear-gradient(90deg, #ecb45716 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse, black, transparent 76%);
}

.door-floor {
  position: absolute;
  inset: 87% 0 0;
  border-top: 1px solid #d5a55945;
  background: linear-gradient(175deg, #201c19, #090f18 73%);
}

.door-floor::after {
  content: "";
  position: absolute;
  inset: 0 9% 0 9%;
  background: linear-gradient(180deg, #ffc16569, #ffb95200 94%);
  clip-path: polygon(24% 0, 60% 0, 92% 100%, 3% 100%);
  transition: opacity .55s ease;
}

.door-frame {
  position: absolute;
  inset: 11% 40% 13% 30%;
  border: 2px solid #bd934f;
  border-bottom: 2px solid #ebbf75;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 0 4px #6e541f46, 0 0 0 8px #171d27, 0 7px 31px #01040ab0;
  perspective: 740px;
  perspective-origin: 55% 44%;
}

.door-interior {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f8b95910 0 47%, #ffcd871c 48% 51%, #f8b95910 52%),
    linear-gradient(160deg, #b87330, #80532c 45%, #362318 82%);
  box-shadow: inset 0 0 15px #231408ac;
}

.door-leaf {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateY(-112deg);
  transition: transform .9s cubic-bezier(.28, .62, .25, 1);
}

.door-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border: 1px solid #c39b5e;
  border-left: 3px solid #7b5b36;
  background: linear-gradient(112deg, #2b3b50 0%, #1a2a3e 48%, #111e2e 100%);
  box-shadow: inset 0 0 0 3px #131e2b, inset 0 0 0 4px #405064, 5px 6px 16px #0509139e;
}

.door-face::before,
.door-face::after {
  content: "";
  position: absolute;
  inset: 10% 14% 39%;
  border: 1px solid #ad8b5885;
  border-radius: 1px;
  background: linear-gradient(125deg, #33455b, #1b2839 60%, #111c2c);
  box-shadow: inset 2px 2px 7px #040b15a8, 0 1px 0 #63748d70;
}

.door-face::after {
  inset: 71% 14% 10%;
}

.door-face-front img {
  position: absolute;
  z-index: 1;
  top: 22%;
  left: 50%;
  width: 22%;
  height: auto;
  transform: translateX(-50%);
}

.door-handle {
  position: absolute;
  top: 63%;
  right: 13%;
  width: 15%;
  height: 2%;
  border-radius: 2px;
  background: linear-gradient(#ffe0a0, #aa7839);
  box-shadow: 0 2px 3px #04070f;
}

.door-handle::after {
  content: "";
  position: absolute;
  inset: -65% 0 -65% auto;
  width: 27%;
  border-radius: 50%;
  background: #d6a962;
}

.door-face-back {
  transform: rotateY(180deg);
  background: linear-gradient(100deg, #1b293a, #101c2d);
}

.door-preview {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  transform: translateX(0) scale(1);
  transform-origin: 47% 54%;
  transition: opacity .38s ease .29s, transform .65s cubic-bezier(.25, .7, .25, 1) .16s;
}

.door-preview .service-visual {
  height: 100%;
  aspect-ratio: auto;
  background: transparent;
}

.door-preview .service-visual::before,
.door-preview .service-visual::after,
.door-preview .art-glass {
  display: none;
}

.door-preview .art-browser {
  animation: none;
  transform: rotate(var(--angle));
}

.door-preview .art-browser-back { width: 38%; right: 8%; top: 16%; --angle: 8deg; }
.door-preview .art-browser-front { width: 50%; left: 41%; top: 37%; --angle: -6deg; }

.front-door[data-open="false"] .door-leaf { transform: rotateY(0); }
.front-door[data-open="false"] .door-floor::after { opacity: 0; }
.front-door[data-open="false"] .door-preview {
  opacity: 0;
  transform: translateX(-12%) scale(.69);
  transition: opacity .22s ease, transform .54s ease;
}

.front-door[data-open] .door-frame { cursor: pointer; }

.door-control {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 9px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid #b88c4e;
  border-radius: 6px;
  color: var(--light);
  background: #0d1724;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.door-control:hover { background: #263141; }
.door-control:focus-visible { outline-offset: 2px; }


@media (max-width: 420px) {
  .door-scene { aspect-ratio: 1.54; }
  .door-control { font-size: .8rem; }
}

.solution-with-icon {
  display: grid;
  align-content: start;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title title" "copy icon";
  gap: 13px 16px;
}

.solution-with-icon:nth-child(even) {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "title title" "icon copy";
}

.solution-with-icon h3 { grid-area: title; }
.solution-with-icon p { grid-area: copy; margin: 0; }

.solution-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  align-self: center;
  width: clamp(62px, 8vw, 84px);
  aspect-ratio: 1;
  border: 1px solid rgb(var(--rgb) / .27);
  border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, #87a7cd12 0 1px, transparent 1px 7px),
    radial-gradient(ellipse at 75% 25%, rgb(var(--rgb) / .12), transparent 75%),
    #0d1928;
  box-shadow: inset 0 1px 0 #ffd17a20, 0 4px 12px #050a1270;
}

.solution-icon svg { width: 90%; height: 90%; }

@media (721px <= width <= 980px) {
  :is(.theme-web, .theme-diagnostics, .theme-network) .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .solution-with-icon { column-gap: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .solution-icon {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: border-color .24s ease, box-shadow .24s ease;
  }

  .solution-with-icon { --icon-lean: 4deg; }
  .solution-with-icon:nth-child(even) { --icon-lean: -4deg; }
  .solution-with-icon:nth-child(3n + 2) { --icon-stagger: .11s; --glint-stagger: 1.15s; }
  .solution-with-icon:nth-child(3n) { --icon-stagger: .22s; --glint-stagger: 2.3s; }

  .solution-icon[data-icon-seen] {
    animation: service-icon-arrive .62s cubic-bezier(.19, .72, .25, 1) var(--icon-stagger, 0s) both;
  }

  .solution-icon[data-icon-in-view] svg {
    animation: service-icon-float 5.8s ease-in-out var(--icon-stagger, 0s) infinite;
  }

  .solution-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(112deg, transparent 31%, rgb(var(--rgb) / .15) 46%, rgb(var(--rgb) / .55) 51%, transparent 63%);
  }

  .solution-icon[data-icon-in-view]::after {
    animation: service-icon-glint 7s ease-in-out var(--glint-stagger, 0s) infinite;
  }


  @media (hover: hover) {
    .solution-with-icon:hover .solution-icon {
      border-color: rgb(var(--rgb) / .56);
      box-shadow: inset 0 1px 0 #ffd17a38, 0 0 19px rgb(var(--rgb) / .22);
    }
  }
}

@keyframes service-icon-arrive {
  0% { opacity: .55; transform: translateY(9px) scale(.86) rotate(var(--icon-lean)); }
  100% { opacity: 1; transform: none; }
}

@keyframes service-icon-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-4px) rotate(var(--icon-lean)); }
  67% { transform: translateY(1px) rotate(0); }
}

@keyframes service-icon-glint {
  0%, 19% { opacity: 0; transform: translateX(-86%); }
  25%, 31% { opacity: 1; }
  38%, 100% { opacity: 0; transform: translateX(86%); }
}

.equipment-showcase {
  background: linear-gradient(180deg, #0c1521, #0b121c 78%);
}

.equipment-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.equipment-copy h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.equipment-copy p { max-width: 38ch; margin: 16px 0 22px; }

.equipment-lineup {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  aspect-ratio: 1.8;
  background: radial-gradient(ellipse at 55% 49%, rgb(var(--rgb) / .15), transparent 70%);
}

.equipment-lineup::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 0 0;
  background:
    linear-gradient(rgb(var(--rgb) / .13) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--rgb) / .13) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: radial-gradient(ellipse, #000 24%, transparent 70%);
}

.equipment-lineup img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 12px #0009);
}

.equipment-brands {
  display: grid;
  gap: 12px;
  margin-block: clamp(24px, 4vw, 44px);
  padding-block: 16px;
  border-block: 1px solid var(--line);
}

.equipment-brands h3 {
  font: 700 .875rem/1.4 var(--display);
  letter-spacing: 0;
  color: var(--muted);
}

.equipment-brands ul, .equipment-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-brands ul {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}

.equipment-brands li {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #e9eff5;
}

.equipment-brands img {
  width: 100%;
  max-width: 112px;
  height: 24px;
  object-fit: contain;
}

.equipment-applications {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 30px);
}

.equipment-application {
  min-width: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 64% 39% at 50% 39%, rgb(var(--rgb) / .13), transparent 83%);
}

.equipment-application:nth-child(5) {
  background: radial-gradient(ellipse 64% 39% at 50% 39%, #ffae4a22, transparent 83%);
}

.equipment-application img { width: 100%; height: auto; }
.equipment-application h3 { margin-top: 4px; }
.equipment-application p { margin-top: 7px; }

.equipment-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 26px;
}

.equipment-features li { padding-left: 12px; border-left: 2px solid rgb(var(--rgb) / .5); }
.equipment-features strong { color: var(--light); }
.equipment-features p { margin-top: 4px; font-size: .9rem; }
.equipment-note { margin-top: 22px; font-size: .875rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .equipment-lineup img, .equipment-application img { transition: transform .35s ease; }
  .equipment-lineup:hover img, .equipment-application:hover img { transform: translateY(-5px); }
}

@media (max-width: 720px) {
  .equipment-showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .equipment-showcase-grid { gap: 14px; }
  .equipment-lineup { aspect-ratio: auto; }
  .equipment-applications, .equipment-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 440px) {
  .equipment-applications { grid-template-columns: minmax(0, 1fr); }
  .equipment-application img { max-height: 220px; object-fit: contain; }
}

@media (max-width: 860px) {
  .equipment-brands ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.it-showcase .equipment-applications {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.it-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 24px;
  padding: 0 0 15px;
  list-style: none;
  border-bottom: 1px solid var(--line);
  color: var(--light);
  font-weight: 700;
}

.it-remote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid rgb(var(--rgb) / .28);
  border-radius: 12px;
  background: rgb(var(--rgb) / .07);
}

.it-remote p { max-width: 65ch; margin-top: 7px; }
.it-remote .button { flex-shrink: 0; }

@media (max-width: 1000px) {
  .it-showcase .equipment-applications { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .it-remote { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 440px) {
  .it-showcase .equipment-applications { grid-template-columns: minmax(0, 1fr); }
}
