:root {
  color-scheme: dark;
  --blue: #08aef2;
  --cyan: #01ece5;
  --red: #ff3455;
  --yellow: #ffd11a;
  --ink: #00111f;
  --panel: #00182b;
  --muted: #a9c1df;
  --main-page-width: min(100vw, calc(100vh * 1.5), 1536px);
  background: var(--ink);
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 8%, rgba(0,174,239,.13), transparent 35%),
    linear-gradient(180deg, #001426 0, #00111f 48%, #000c16 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(8,174,242,.18);
  background: rgba(0,17,31,.94);
  box-shadow: 0 12px 40px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}
.site-header-inner {
  width: var(--main-page-width);
  min-height: calc(var(--main-page-width) * .0807);
  margin: 0 auto;
  padding-inline: 3.05%;
  display: flex;
  align-items: center;
  gap: calc(var(--main-page-width) * .0078);
}
.brand { flex: 0 0 calc(var(--main-page-width) * .149); display: block; line-height: 0; border-radius: 12px; }
.brand img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 12px rgba(0,174,239,.18)); }
.experience {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: calc(var(--main-page-width) * .162);
  margin-right: auto;
  padding: calc(var(--main-page-width) * .0085) calc(var(--main-page-width) * .0117);
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: #d9e9fb;
  font-size: clamp(.7rem, calc(var(--main-page-width) * .01), .96rem);
  white-space: nowrap;
}
.experience::before { content: ""; width: clamp(7px, calc(var(--main-page-width) * .0059), 9px); height: clamp(7px, calc(var(--main-page-width) * .0059), 9px); border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px rgba(8,174,242,.8); }
.site-nav { display: flex; align-items: center; gap: calc(var(--main-page-width) * .0221); }
.site-nav a { position: relative; padding: 10px 0; color: #f7fbff; font-size: clamp(.7rem, calc(var(--main-page-width) * .0099), .95rem); font-weight: 600; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 2px; height: 2px; border-radius: 99px; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: #55caff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--main-page-width) * .1784);
  min-height: calc(var(--main-page-width) * .0391);
  padding: 0 calc(var(--main-page-width) * .0156);
  border-radius: 999px;
  color: #fff;
  background: #079ff0;
  font-size: clamp(.72rem, calc(var(--main-page-width) * .0104), 1rem);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(8,174,242,.15);
}
.phone:hover, .phone:focus-visible { box-shadow: 0 0 28px rgba(8,174,242,.38); }
.detail-bar {
  width: var(--main-page-width);
  min-height: calc(var(--main-page-width) * .0404);
  margin: 0 auto;
  padding-inline: 3.05%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.back-link { display: inline-flex; align-items: center; gap: 9px; color: #cde4fb; font-size: .9rem; font-weight: 650; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { color: var(--blue); }
.detail-label { color: #6f91af; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.artboard-scroll { width: var(--main-page-width); margin: 0 auto; overflow: hidden; }
.service-stage {
  position: relative;
  width: 100%;
  max-width: calc(var(--art-width) * 1px);
  aspect-ratio: var(--art-width) / var(--art-height);
  margin: 0 auto;
  overflow: hidden;
  background: #00111f;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.service-art { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.hotspot { position: absolute; z-index: 2; display: block; border: 0; border-radius: 12px; padding: 0; color: transparent; background: transparent; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.hotspot:hover { background: rgba(0,174,239,.055); }
.hotspot:focus-visible, .brand:focus-visible, .site-nav a:focus-visible, .phone:focus-visible, .back-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px rgba(0,174,239,.5); }
.mobile-overview { display: none; }
.mobile-hint { display: none; }
.page-footer { width: var(--main-page-width); margin: 0 auto; padding: 25px 3.05% 32px; display: flex; justify-content: space-between; gap: 20px; color: #6f91af; font-size: .8rem; }
.page-footer a { color: #bcd8f2; }
.video-modal[hidden] { display: none; }
.video-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgba(0,5,10,.92); backdrop-filter: blur(10px); }
.video-dialog { width: min(1040px,100%); overflow: hidden; border: 1px solid rgba(20,179,250,.82); border-radius: 16px; background: #000; box-shadow: 0 30px 100px #000; }
.video-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #001526; color: #fff; }
.video-close { width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.13); font-size: 1.7rem; cursor: pointer; }
.video-close:focus-visible { outline: 3px solid #27c2ff; outline-offset: 2px; }
.video-dialog video { display: block; width: 100%; max-height: 78vh; background: #000; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.video-open { overflow: hidden; }

/* Desktop header uses the exact geometry of the main-page artwork. */
@media (min-width: 901px) {
  .detail-bar { display: none; }
  .site-header-inner {
    position: relative;
    container-type: inline-size;
    padding: 0;
    display: block;
  }
  .site-header-inner::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 43.7%;
    top: 11.9%;
    width: 34.8%;
    height: 61.5%;
    pointer-events: none;
    background: linear-gradient(90deg, #001426 0%, #001a32 50%, #001426 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 76%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, #000 0%, #000 76%, transparent 100%);
  }
  .brand {
    position: absolute;
    z-index: 2;
    left: 3.05%;
    top: 9.5%;
    width: 14.9%;
    height: 86%;
    padding: .35% .45%;
    background: #00111f;
  }
  .experience {
    position: absolute;
    z-index: 2;
    left: 18.45%;
    top: 22.7%;
    width: 16.2%;
    height: 39.1%;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: .7cqw;
    font-size: 1.05cqw;
    font-weight: 500;
    box-shadow: 0 0 0 .65cqw #00111f;
  }
  .experience::before { width: .72cqw; height: .72cqw; }
  .site-nav {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    pointer-events: none;
  }
  .site-nav a {
    position: absolute;
    top: 23.1%;
    height: 49.6%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    font-size: 1.15cqw;
    font-weight: 600;
  }
  .site-nav a:nth-child(1) { left: 46.7%; width: 6.7%; }
  .site-nav a:nth-child(2) { left: 53.5%; width: 8.3%; }
  .site-nav a:nth-child(3) { left: 62.2%; width: 5.4%; }
  .site-nav a:nth-child(4) { left: 69.5%; width: 6.4%; }
  .site-nav a::after { left: 20%; right: 20%; bottom: .28cqw; height: .2cqw; }
  .phone {
    position: absolute;
    z-index: 2;
    left: 78.2%;
    top: 20.7%;
    width: 17.5%;
    min-height: 0;
    height: 48.8%;
    padding: 0;
    font-size: 1.02cqw;
    font-weight: 600;
  }
}

@media (max-width: 900px) {
  .experience { display: none; }
  .site-header-inner { gap: 22px; }
  .brand { margin-right: auto; }
  .site-nav { gap: 24px; }
  .phone { width: 220px; }
}

@media (max-width: 900px) {
  .site-header-inner { gap: 16px; }
  .brand { flex-basis: 205px; }
  .site-nav { gap: 18px; }
  .phone { width: auto; min-height: 50px; padding: 0 20px; font-size: .88rem; }
}

@media (max-width: 760px) {
  .site-header-inner { width: calc(100% - 28px); min-height: 122px; padding-inline: 0; gap: 12px; }
  .brand { flex-basis: min(54vw, 215px); }
  .site-nav { position: absolute; top: 122px; left: 0; right: 0; min-height: 84px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 2px 28px; padding: 7px 44px; border-bottom: 1px solid rgba(8,174,242,.16); background: #001426; }
  .site-nav a { padding: 7px 0; font-size: .79rem; text-align: center; }
  .phone { width: auto; min-height: 46px; padding: 0 12px; font-size: .72rem; }
  .detail-bar { width: calc(100% - 28px); min-height: 60px; margin-top: 84px; padding-inline: 0; display: flex; }
  .detail-label { display: none; }
  .mobile-overview { display: block; width: calc(100% - 28px); margin: 0 auto 18px; padding: 22px 20px; border: 1px solid rgba(8,174,242,.34); border-radius: 18px; background: linear-gradient(145deg, rgba(0,37,65,.96), rgba(0,17,31,.96)); box-shadow: 0 18px 48px rgba(0,0,0,.25); }
  .mobile-overview .eyebrow { margin: 0 0 8px; color: var(--accent, var(--blue)); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
  .mobile-overview h1 { margin: 0; font-size: clamp(1.75rem, 8vw, 2.45rem); line-height: 1.02; letter-spacing: -.045em; }
  .mobile-overview p { margin: 14px 0 18px; color: #b6cbe7; font-size: .93rem; line-height: 1.46; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mobile-actions a, .mobile-actions button { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid var(--accent, var(--blue)); border-radius: 12px; color: #fff; background: transparent; font: inherit; font-size: .84rem; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
  .mobile-actions .primary { border-color: transparent; background: var(--accent, var(--blue)); color: #00111f; }
  .mobile-actions .wide { grid-column: 1 / -1; }
  .mobile-hint { display: block; width: calc(100% - 28px); margin: 0 auto 9px; color: #7999b7; font-size: .76rem; text-align: center; }
  .artboard-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--blue) #00111f; }
  .service-stage { width: 980px; margin: 0; box-shadow: none; }
  .page-footer { width: calc(100% - 28px); padding: 20px 0 28px; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
  .video-modal { padding: 0; }
  .video-dialog { width: 100%; border-radius: 0; }
}

@media (max-width: 410px) {
  .site-nav { gap: 2px 18px; padding-inline: 30px; }
  .site-nav a { font-size: .74rem; }
  .phone { padding: 0 11px; font-size: .77rem; }
  .mobile-overview { padding: 20px 17px; }
}
