@font-face {
  font-family: Roboto;
  src: url("Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #111318;
  --ink: #f1f3f7;
  --muted: #adb5c6;
  --accent: #829bff;
  background: var(--page);
  color: var(--ink);
  font-family: Roboto, system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, p, figure {
  margin: 0;
}

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-block-size: 100vh;
  min-block-size: 100svh;
  padding: 40px max(6.5vw, 32px);
  overflow: clip;
}

.intro {
  position: relative;
  z-index: 1;
  max-inline-size: min(34rem, 45vw);
}

h1 {
  font-size: clamp(2.5rem, 4.65vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.intro p {
  margin-block-start: 22px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.43vw, 1.3125rem);
  line-height: 1.52;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(24px, 3.35vw, 48px);
  margin-block-start: clamp(24px, 3.2vw, 46px);
}

.stores figure {
  inline-size: clamp(108px, 9.2vw, 132px);
  text-align: center;
}

.stores img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 1;
  image-rendering: pixelated;
}

.stores figcaption {
  margin-block-start: 9px;
  color: var(--accent);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.garage {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0;
  inline-size: min(62vw, 116vh);
  inline-size: min(62vw, 116svh);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.garage-art {
  display: block;
  inline-size: 100%;
  block-size: 100%;
}

.garage::after,
.garage-dimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.garage::after {
  content: "";
  background: linear-gradient(90deg, var(--page), transparent 30%);
}

.garage-dimmer {
  background: #080a10;
  opacity: 0;
  animation: garage-lights 830ms ease-out both;
}

.garage-light {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
}

.lamp {
  inset-block-start: var(--lamp-y);
  inset-inline-start: var(--lamp-x);
  inline-size: 23%;
  block-size: 5%;
  translate: -50% -50%;
  rotate: -6deg;
  background: radial-gradient(ellipse, #eaf4ff90, transparent 69%);
  opacity: .2;
  animation: lamp-on 420ms var(--lamp-delay) ease-out both;
}

.lamp-left {
  --lamp-x: 44.5%;
  --lamp-y: 11.9%;
  --lamp-delay: 45ms;
}

.lamp-right {
  --lamp-x: 74.7%;
  --lamp-y: 8.6%;
  --lamp-delay: 135ms;
}

.headlamp {
  inset-block-start: 28%;
  inset-inline-start: 50.6%;
  inline-size: 11%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, #e7fbffe0, #4eafff60 34%, transparent 68%);
  opacity: .18;
  animation: headlamp-on 455ms 235ms ease-out both;
}

.bodywork {
  position: absolute;
  inset: 26% 0 19% 73%;
  clip-path: polygon(22% 30%, 100% 1%, 100% 100%, 19% 87%, 26% 69%, 42% 51%);
  pointer-events: none;
}

.reflection {
  inset: 0;
  background: linear-gradient(114deg, transparent 31%, #a8d7ff55 49%, transparent 60%);
  opacity: 0;
  animation: bodywork-reflection 450ms 365ms ease-in-out both;
}

@keyframes garage-lights {
  from { opacity: .58; }
  26% { opacity: .44; }
  to { opacity: 0; }
}

@keyframes lamp-on {
  from { opacity: 0; }
  57% { opacity: .64; }
  to { opacity: .2; }
}

@keyframes headlamp-on {
  from { opacity: 0; }
  51% { opacity: .82; }
  to { opacity: .18; }
}

@keyframes bodywork-reflection {
  from { opacity: 0; transform: translateX(-45%); }
  43% { opacity: .74; }
  to { opacity: 0; transform: translateX(60%); }
}

@media (max-width: 767px) {
  .landing {
    align-content: start;
    padding: 0;
  }

  .intro {
    max-inline-size: 37rem;
    padding: 44px clamp(22px, 6.15vw, 36px) 0;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .intro p {
    margin-block-start: 16px;
    font-size: 1.0625rem;
  }

  .stores {
    margin-block-start: 22px;
  }

  .garage {
    position: relative;
    inset: auto;
    inline-size: min(100%, 38rem);
    justify-self: center;
    transform: none;
  }

  .garage::after {
    background: linear-gradient(180deg, var(--page), transparent 25%, transparent 86%, var(--page));
  }
}

@media (prefers-reduced-motion: reduce) {
  .garage-dimmer,
  .garage-light {
    animation: none;
  }
}
