/* preflight-equivalent reset (replaces Tailwind base) */
h1, p, figure, blockquote { margin: 0; }
img, video { max-width: 100%; }
.service-card p + p { margin-top: 1em; }


:root {
  color-scheme: dark;
  --cyan: #20b9ff;
  --cyan-bright: #66d8ff;
  --deep-blue: #031321;
  --panel: rgba(1, 12, 23, 0.94);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #00050a;
  color: #eef9ff;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(0, 91, 153, 0.2), transparent 58%),
    #00050a;
}

.hero-stage {
  position: relative;
  width: min(100vw, 150vh);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 70px rgba(0, 153, 255, 0.2);
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.service-hotspot,
.bottom-action {
  position: absolute;
  z-index: 4;
  display: block;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-hotspot:hover,
.service-hotspot:focus-visible {
  border-color: rgba(62, 198, 255, 0.78);
  background: rgba(0, 120, 205, 0.12);
  box-shadow: inset 0 0 24px rgba(0, 161, 255, 0.18), 0 0 18px rgba(0, 161, 255, 0.25);
  outline: none;
}

.bottom-action:hover,
.bottom-action:focus-visible {
  border-color: rgba(79, 210, 255, 0.86);
  background: rgba(0, 119, 202, 0.14);
  box-shadow: 0 0 22px rgba(0, 180, 255, 0.42);
  outline: none;
}

.bottom-action:active {
  transform: translateY(1px);
}

.control-label {
  position: absolute;
  right: -5%;
  bottom: 0;
  left: -5%;
  display: grid;
  /* Tall enough to fully mask the label text baked into the background
     artwork, so only the five required labels are visible. */
  min-height: 46%;
  place-items: center;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(1, 10, 18, 0.985), rgba(3, 24, 40, 0.995), rgba(1, 10, 18, 0.985));
  color: #dff8ff;
  font-size: clamp(8px, 0.83vw, 15px);
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.9);
  text-transform: uppercase;
}

.video-console {
  position: absolute;
  z-index: 10;
  top: 16.5%;
  left: 35.8%;
  width: 28.2%;
  height: 33.5%;
  overflow: hidden;
  border: 1px solid rgba(74, 207, 255, 0.92);
  border-radius: 16px;
  background: rgba(0, 5, 12, 0.98);
  box-shadow:
    0 0 18px rgba(0, 183, 255, 0.9),
    0 0 52px rgba(0, 98, 255, 0.42),
    inset 0 0 30px rgba(0, 92, 155, 0.2);
  animation: console-in 280ms ease-out both;
}

.center-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: cover;
}

.video-tools {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 6px;
}

.video-tools button {
  border: 1px solid rgba(85, 210, 255, 0.78);
  border-radius: 999px;
  background: rgba(0, 10, 20, 0.78);
  color: #eafaff;
  cursor: pointer;
  font-size: clamp(7px, 0.65vw, 11px);
  padding: 0.42em 0.72em;
}

.video-tools button:hover,
.video-tools button:focus-visible {
  background: rgba(0, 103, 170, 0.92);
  outline: 2px solid rgba(115, 222, 255, 0.55);
}

.missing-video {
  display: grid;
  height: 100%;
  place-content: center;
  padding: 12%;
  text-align: center;
}

.missing-video strong {
  color: var(--cyan-bright);
  font-size: clamp(12px, 1.35vw, 23px);
  text-transform: uppercase;
}

.missing-video span {
  margin-top: 0.45em;
  color: #b7d6e5;
  font-size: clamp(8px, 0.83vw, 14px);
}

.missing-video code {
  margin-top: 0.9em;
  color: white;
  font-size: clamp(7px, 0.7vw, 12px);
  overflow-wrap: anywhere;
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 32px;
  background:
    linear-gradient(rgba(0, 8, 16, 0.72), rgba(0, 8, 16, 0.94)),
    url("/assets/halo-website-main.png") center / cover fixed;
}

.service-card {
  width: min(720px, 100%);
  border: 1px solid rgba(72, 198, 255, 0.64);
  border-radius: 20px;
  padding: clamp(26px, 6vw, 58px);
  background: rgba(1, 13, 25, 0.93);
  box-shadow: 0 0 50px rgba(0, 145, 255, 0.24);
}

.service-card .eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.service-card h1 {
  margin: 12px 0;
  color: white;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
}

.service-card p {
  color: #bdd7e5;
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-card a {
  display: inline-flex;
  margin-top: 20px;
  border: 1px solid #33c5ff;
  border-radius: 999px;
  padding: 12px 18px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 174, 255, 0.28);
}

@keyframes console-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-aspect-ratio: 3 / 2) {
  .hero-stage {
    width: 100vw;
  }
}

@media (min-aspect-ratio: 3 / 2) {
  .hero-stage {
    height: 100vh;
    width: 150vh;
  }
}

@media (max-width: 700px) {
  .service-hotspot,
  .bottom-action {
    border-radius: 4px;
  }

  .video-console {
    border-radius: 8px;
  }

  .video-tools {
    right: 3px;
    bottom: 3px;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
