:root {
  color-scheme: dark;
  background: #020606;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #020606;
}

body {
  min-height: 100svh;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 40%, rgba(14, 88, 83, .15), transparent 44%),
    #020606;
}

.artboard {
  position: relative;
  width: min(100vw, 177.778svh);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020606;
  box-shadow: 0 0 90px rgba(0, 0, 0, .92);
}

.art,
.hotspots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.art {
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  border: 1px solid transparent;
  border-radius: clamp(4px, .55vw, 8px);
  color: transparent;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hotspot:hover,
.hotspot:focus-visible {
  outline: none;
  border-color: rgba(89, 222, 203, .82);
  background: rgba(31, 175, 158, .065);
  box-shadow: 0 0 18px rgba(79, 224, 205, .34), inset 0 0 22px rgba(79, 224, 205, .08);
  transform: translateY(-1px);
}

.contact-button { left: 40.15%; top: 91.30%; width: 19.75%; height: 7.10%; }

.route-note {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(560px, calc(100vw - 28px));
  padding: 14px 58px 14px 18px;
  transform: translateX(-50%);
  border: 1px solid #4f9e95;
  border-radius: 10px;
  color: #d9e8e5;
  background: rgba(2, 10, 11, .96);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .8), 0 0 25px rgba(50, 170, 157, .18);
  font: 13px/1.45 ui-sans-serif, system-ui, sans-serif;
}

.route-note strong,
.route-note span {
  display: block;
}

.route-note strong {
  margin-bottom: 3px;
  color: #8ed9d0;
  letter-spacing: .035em;
}

.route-note button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  color: #a9d9d3;
  background: transparent;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

@media (max-width: 720px), (orientation: portrait) {
  .page {
    overflow: auto;
    align-content: center;
  }

  .artboard {
    width: 100vw;
    min-width: 720px;
  }

  .page::after {
    content: "Swipe horizontally to view the complete 606 Project screen";
    position: fixed;
    left: 50%;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 5;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 24px);
    padding: 7px 10px;
    border: 1px solid rgba(92, 177, 166, .45);
    border-radius: 999px;
    color: #bdd9d5;
    background: rgba(2, 8, 9, .86);
    font: 10px/1.2 ui-sans-serif, system-ui, sans-serif;
    letter-spacing: .04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot {
    transition: none;
  }
}
