@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Mono:wght@300;400;500&family=Syne:wght@500;600;700;800&display=swap");

:root {
  --plum: #2a071f;
  --road: #0c0c0f;
  --signal: #d8ff37;
  --blush: #ff8dad;
  --paper: #fff8ef;
  --grid: rgba(255, 248, 239, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--road);
  color: var(--paper);
  font-family: "Syne", sans-serif;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  background: var(--signal);
  color: var(--road);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.concept-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  max-width: 230px;
  border: 1px solid rgba(216, 255, 55, 0.38);
  background: rgba(12, 12, 15, 0.78);
  color: var(--signal);
  padding: 0.65rem 0.75rem;
  font: 500 0.58rem/1.4 "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 102px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 3vw;
}

.brand {
  display: grid;
  grid-template-columns: 46px auto;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.brand svg {
  grid-row: span 2;
  width: 34px;
  fill: none;
  stroke: var(--signal);
  stroke-width: 4;
}

.brand span {
  font: 800 1.1rem "Syne", sans-serif;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--blush);
  font: 500 0.48rem "DM Mono", monospace;
  letter-spacing: 0.12em;
}

.nav-grid,
.nav-call {
  font: 500 0.66rem "DM Mono", monospace;
  letter-spacing: 0.11em;
}

.nav-grid span {
  color: var(--blush);
  margin: 0 0.5rem;
}

.nav-call {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-call i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 18px var(--signal);
  animation: blink 1.8s var(--ease) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
    transform: scale(0.65);
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 72% 38%, #57153f, var(--plum) 42%, var(--road) 80%);
  background-size:
    68px 68px,
    68px 68px,
    auto;
}

.hero-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.75) contrast(1.2) hue-rotate(300deg);
}

.film-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 12, 15, 0.92) 0%, rgba(42, 7, 31, 0.45) 50%, rgba(12, 12, 15, 0.56)),
    linear-gradient(0deg, rgba(12, 12, 15, 0.8), transparent 38%);
}

#dispatchMap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 8rem 3vw 4rem;
}

.dispatch-tag,
.section-label,
.atlas-index,
.map-label,
.window-data,
.window-copy > span {
  font: 500 0.63rem "DM Mono", monospace;
  letter-spacing: 0.13em;
}

.dispatch-tag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--signal);
}

.dispatch-tag span {
  width: 38px;
  height: 2px;
  background: var(--signal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1200px;
  margin: 3rem 0;
  font: 800 clamp(4.6rem, 10.5vw, 11.5rem) / 0.75 "Syne", sans-serif;
  letter-spacing: -0.085em;
}

h1 em {
  color: var(--blush);
  font-style: normal;
  -webkit-text-stroke: 0;
}

.hero-action {
  display: flex;
  align-items: flex-end;
  gap: 4rem;
}

.hero-action > p {
  margin-bottom: 0;
  color: rgba(255, 248, 239, 0.6);
  font: 400 0.68rem/1.6 "DM Mono", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-action > a {
  display: grid;
  grid-template-columns: auto auto;
  min-width: min(500px, 55vw);
  border: 1px solid var(--signal);
  background: rgba(12, 12, 15, 0.64);
  color: var(--signal);
  padding: 1.1rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease);
}

.hero-action > a span {
  font: 500 0.58rem "DM Mono", monospace;
  letter-spacing: 0.13em;
}

.hero-action > a b {
  grid-column: 1;
  margin-top: 0.4rem;
  font: 700 clamp(1.2rem, 2.1vw, 2rem) "Syne", sans-serif;
}

.hero-action > a i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  font-size: 2rem;
}

.hero-action > a:hover,
.hero-action > a:focus-visible {
  background: var(--signal);
  color: var(--road);
  transform: translateY(-4px);
}

.atlas-index {
  position: absolute;
  z-index: 6;
  right: 3vw;
  bottom: 2.5rem;
  display: flex;
  gap: 2rem;
  writing-mode: vertical-rl;
}

.atlas-index span {
  color: var(--blush);
}

.map-label {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  opacity: 0.76;
  animation: labelDrift 5s var(--ease) infinite alternate;
}

.map-label span {
  color: var(--blush);
  font-size: 0.5rem;
}

.label-a {
  right: 19%;
  top: 24%;
}

.label-b {
  right: 31%;
  bottom: 25%;
  animation-delay: -2s;
}

.label-c {
  right: 8%;
  top: 53%;
  animation-delay: -3.4s;
}

@keyframes labelDrift {
  to {
    transform: translate(14px, -9px);
  }
}

.route-story {
  position: relative;
  min-height: 1400px;
  overflow: hidden;
  background:
    linear-gradient(rgba(42, 7, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 7, 31, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  color: var(--road);
  padding: 8rem 3vw;
}

.tow-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tow-line path {
  fill: none;
  stroke: var(--plum);
  stroke-width: 14;
  stroke-dasharray: 20 12;
  vector-effect: non-scaling-stroke;
}

.story-head {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.section-label {
  color: #875073;
}

.story-head h2,
.window-copy h2,
.call-zone h2 {
  margin: 2rem 0 0;
  font: 800 clamp(4rem, 9vw, 9rem) / 0.78 "Syne", sans-serif;
  letter-spacing: -0.08em;
}

.signal-card {
  position: absolute;
  z-index: 3;
  width: min(440px, 40vw);
  border: 2px solid var(--road);
  background: var(--paper);
  padding: 1.6rem;
  opacity: 0;
  transform: translateY(36px) rotate(1deg);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease);
}

.signal-card.visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.signal-card > span,
.signal-card > p {
  font: 500 0.62rem "DM Mono", monospace;
  letter-spacing: 0.1em;
}

.signal-card > span {
  color: #875073;
}

.signal-card > p {
  margin-bottom: 0;
}

.signal-card h3 {
  margin: 3rem 0;
  font: 800 clamp(2.8rem, 5.5vw, 5.8rem) / 0.82 "Syne", sans-serif;
  letter-spacing: -0.075em;
}

.card-pin {
  position: absolute;
  display: grid;
  place-items: center;
  right: -18px;
  top: -18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--signal);
  font: 700 0.65rem "DM Mono", monospace;
  box-shadow: 0 0 0 8px rgba(216, 255, 55, 0.3);
}

.card-service {
  left: 16%;
  top: 34%;
}

.card-city {
  right: 9%;
  top: 55%;
  background: var(--blush);
}

.card-rating {
  left: 29%;
  bottom: 7%;
  background: var(--road);
  color: var(--paper);
}

.score {
  display: flex;
  align-items: end;
  gap: 1rem;
  margin-top: 3rem;
}

.score strong {
  color: var(--signal);
  font: 800 clamp(5rem, 10vw, 9rem) / 0.7 "Syne", sans-serif;
  letter-spacing: -0.09em;
}

.score b,
.score p {
  font: 500 0.63rem/1.4 "DM Mono", monospace;
  letter-spacing: 0.1em;
}

.night-window {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  min-height: 760px;
  background: var(--plum);
}

.window-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4vw;
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

.window-copy.visible {
  opacity: 1;
  transform: translateX(0);
}

.window-copy > span {
  color: var(--signal);
}

.window-copy h2 {
  margin-bottom: 2.5rem;
}

.window-copy p {
  max-width: 480px;
  color: rgba(255, 248, 239, 0.65);
  font: 400 0.8rem/1.7 "DM Mono", monospace;
}

.window-film {
  position: relative;
  min-width: 0;
  min-height: 600px;
  overflow: hidden;
  background:
    linear-gradient(120deg, transparent 38%, rgba(216, 255, 55, 0.12) 39% 40%, transparent 41%),
    #141216;
}

.window-film video {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.22) hue-rotate(302deg);
}

.road-markings {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 48%, rgba(216, 255, 55, 0.8) 49% 49.4%, transparent 50%);
  opacity: 0.72;
}

.window-data {
  position: absolute;
  inset: auto 1.4rem 1.2rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: 0.8rem;
}

.call-zone {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background: var(--signal);
  color: var(--road);
  padding: 8rem 3vw;
}

.call-zone .section-label {
  color: var(--plum);
}

.call-zone h2 {
  position: relative;
  z-index: 2;
}

.call-orbit {
  position: absolute;
  right: -7vw;
  top: -9vw;
  width: 48vw;
  aspect-ratio: 1;
  border: 1px solid rgba(12, 12, 15, 0.35);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}

.call-orbit::before,
.call-orbit::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(12, 12, 15, 0.22);
  border-radius: inherit;
  content: "";
}

.call-orbit::after {
  inset: 28%;
}

.call-orbit span {
  position: absolute;
  left: 7%;
  top: 12%;
  font: 500 0.65rem "DM Mono", monospace;
  letter-spacing: 0.12em;
}

@keyframes orbit {
  to {
    transform: rotate(1turn);
  }
}

.phone-lockup {
  position: absolute;
  z-index: 3;
  left: 3vw;
  right: 3vw;
  bottom: 4rem;
  display: grid;
  grid-template-columns: 0.28fr 1fr auto;
  align-items: end;
  border-top: 2px solid var(--road);
  color: var(--road);
  padding-top: 1rem;
  text-decoration: none;
}

.phone-lockup > span {
  font: 500 0.68rem "DM Mono", monospace;
  letter-spacing: 0.14em;
}

.phone-lockup strong {
  font: 800 clamp(3.8rem, 10vw, 10.5rem) / 0.72 "Syne", sans-serif;
  letter-spacing: -0.09em;
}

.phone-lockup i {
  font-size: clamp(2rem, 5vw, 5rem);
  font-style: normal;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 3vw 5rem;
  font: 400 0.6rem "DM Mono", monospace;
  letter-spacing: 0.1em;
}

@media (max-width: 850px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-grid {
    display: none;
  }

  .hero-action {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-action > a {
    min-width: 0;
    width: 100%;
  }

  .signal-card {
    width: min(420px, 58vw);
  }

  .night-window {
    grid-template-columns: 1fr;
  }

  .window-film {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .concept-note {
    right: 0.6rem;
    bottom: 0.6rem;
    max-width: 200px;
  }

  .nav {
    min-height: 78px;
    padding: 0 1rem;
  }

  .brand {
    grid-template-columns: 34px auto;
  }

  .brand small {
    display: none;
  }

  .nav-call {
    font-size: 0.57rem;
  }

  .hero-copy {
    padding: 8rem 1rem 5rem;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 5.3rem);
  }

  .atlas-index,
  .map-label {
    display: none;
  }

  .route-story {
    min-height: auto;
    display: grid;
    gap: 1rem;
    padding: 5rem 1rem;
  }

  .tow-line {
    opacity: 0.22;
  }

  .story-head {
    margin-bottom: 3rem;
  }

  .story-head h2,
  .window-copy h2,
  .call-zone h2 {
    font-size: clamp(3.8rem, 18vw, 5rem);
  }

  .signal-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    min-height: 350px;
  }

  .window-copy {
    padding: 5rem 1rem;
  }

  .window-film {
    min-height: 480px;
  }

  .window-data {
    flex-direction: column;
    gap: 0.4rem;
  }

  .call-zone {
    min-height: 760px;
    padding: 5rem 1rem;
  }

  .call-orbit {
    width: 90vw;
  }

  .phone-lockup {
    left: 1rem;
    right: 1rem;
    grid-template-columns: 1fr auto;
  }

  .phone-lockup > span {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }

  .phone-lockup strong {
    font-size: clamp(3.3rem, 19vw, 5.5rem);
  }

  footer {
    flex-direction: column;
    padding-left: 1rem;
  }
}

@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;
  }

  video {
    display: none;
  }
}
