* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: #07111d;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  overflow: hidden;
}

button,
a {
  font: inherit;
}

.page {
  --mouse-x: 0px;
  --mouse-y: 0px;
  position: relative;
  width: 100%;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #07111d;
}

.hero-bg,
.hero-shade,
.hero-vignette {
  position: absolute;
  inset: -2.5%;
  pointer-events: none;
}

.hero-bg {
  z-index: -4;
  background:
    url("assets/toy-room-construction.png")
    center center / cover no-repeat;
  transform:
    translate3d(
      calc(var(--mouse-x) * -0.015),
      calc(var(--mouse-y) * -0.015),
      0
    )
    scale(1.055);
  transition: transform 160ms ease-out;
  animation: cinematicBreath 10s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(
      to bottom,
      rgba(2, 8, 16, .45) 0%,
      rgba(2, 8, 16, .03) 25%,
      rgba(2, 8, 16, .12) 64%,
      rgba(2, 8, 16, .72) 100%
    );
}

.hero-vignette {
  z-index: -2;
  box-shadow:
    inset 0 0 160px rgba(0, 0, 0, .38),
    inset 0 0 35px rgba(0, 0, 0, .22);
}

.topbar {
  position: absolute;
  z-index: 20;
  top: 18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-inline: 18px;
}

.contact-pill,
.social-pill {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(53, 215, 255, .82);
  background:
    linear-gradient(180deg, rgba(9, 26, 40, .78), rgba(3, 10, 18, .7));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(0, 216, 255, .08),
    0 0 28px rgba(0, 201, 255, .16),
    inset 0 1px rgba(255, 255, 255, .09);
}

.contact-pill {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: .01em;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.contact-pill:hover {
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 216, 255, .14),
    0 0 40px rgba(0, 201, 255, .32),
    inset 0 1px rgba(255, 255, 255, .16);
}

.mail-icon {
  color: #25d8ff;
  font-size: 21px;
  line-height: 1;
}

.hero {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px 20px 150px;
}

.hero-copy {
  position: relative;
  max-width: 890px;
  text-align: center;
  transform:
    translate3d(
      calc(var(--mouse-x) * 0.012),
      calc(var(--mouse-y) * 0.012),
      0
    );
  transition: transform 130ms ease-out;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 950;
  letter-spacing: -.04em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .8);
}

.eyebrow::first-letter {
  color: #ff8a1f;
}

h1 {
  margin: 0;
  display: grid;
  gap: 1px;
  font-size: clamp(46px, 8vw, 104px);
  line-height: .88;
  font-weight: 1000;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-wrap: balance;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .6));
}

h1 span:first-child {
  color: #f8fbff;
}

h1 span:last-child {
  color: #ff941e;
}

.lead {
  max-width: 650px;
  margin: 22px auto 0;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.55;
  font-weight: 620;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 3px 12px rgba(0, 0, 0, .85);
}

.status {
  width: fit-content;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(6, 13, 23, .48);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.status-dot {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #23e676;
  box-shadow: 0 0 0 0 rgba(35, 230, 118, .7);
  animation: statusPulse 1.8s ease-out infinite;
}

.footer {
  position: absolute;
  z-index: 20;
  bottom: 30px;
  left: 50%;
  width: min(920px, calc(100% - 28px));
  transform: translateX(-50%);
  text-align: center;
}

.footer > p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.9);
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
  border-color: rgba(255, 92, 155, .68);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.95);
  box-shadow:
    0 0 0 1px rgba(255, 92, 155, .1),
    0 0 32px rgba(255, 67, 139, .26);
}

.ig-icon {
  width: 25px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 110%, #ffd668 0 18%, #ff6f5b 37%, #dc278f 61%, #5a49db 88%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
  color: #fff;
  font-size: 16px;
}

.crane-animation {
  position: absolute;
  z-index: 6;
  left: 34.1%;
  top: 10%;
  width: 26px;
  height: 26vh;
  pointer-events: none;
  transform-origin: top center;
  animation: craneSwing 4.8s ease-in-out infinite;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5));
}

.crane-wire {
  width: 2px;
  height: calc(100% - 22px);
  margin: 0 auto;
  background: linear-gradient(#26292c, #111);
}

.crane-hook {
  width: 16px;
  height: 18px;
  margin: -2px auto 0;
  border: 3px solid #1b1b1b;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.moving-vehicle {
  position: absolute;
  z-index: 7;
  left: -120px;
  bottom: 101px;
  width: 92px;
  height: 52px;
  opacity: .78;
  filter: drop-shadow(0 6px 5px rgba(0,0,0,.4));
  animation: vehicleDrive 16s linear infinite;
  pointer-events: none;
}

.vehicle-body {
  position: relative;
  width: 88px;
  height: 34px;
  margin-top: 8px;
  border-radius: 8px 12px 5px 5px;
  background: linear-gradient(180deg, #ffad32, #db6710);
  box-shadow: inset 0 -5px rgba(0,0,0,.12);
}

.vehicle-cabin {
  position: absolute;
  right: 7px;
  top: -10px;
  width: 31px;
  height: 22px;
  border-radius: 8px 9px 2px 2px;
  background: linear-gradient(135deg, #0c1e2a 0 45%, #4bbce7 46% 100%);
  border: 2px solid #151515;
}

.vehicle-light {
  position: absolute;
  right: -3px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #eaffff;
  box-shadow: 0 0 16px 5px rgba(183, 243, 255, .9);
  animation: headlightBlink 1.8s ease-in-out infinite;
}

.vehicle-wheel {
  position: absolute;
  bottom: -9px;
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #121212;
  border: 4px solid #292929;
  box-shadow: inset 0 0 0 3px #6f7376;
  animation: wheelSpin .45s linear infinite;
}

.wheel-a { left: 12px; }
.wheel-b { right: 10px; }

.glow {
  position: absolute;
  z-index: -1;
  width: 30vw;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: .15;
  filter: blur(55px);
  animation: glowFloat 8s ease-in-out infinite alternate;
}

.glow-one {
  top: 17%;
  right: -8vw;
  background: #1cb9ff;
}

.glow-two {
  bottom: -15vw;
  left: -10vw;
  background: #ff8f21;
  animation-delay: -3s;
}

.scroll-cue {
  position: absolute;
  z-index: 20;
  bottom: 10px;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(7, 17, 29, .36);
  color: #fff;
  cursor: default;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  animation: cueBounce 1.4s ease-in-out infinite;
}

@keyframes cinematicBreath {
  from { filter: saturate(.98) contrast(1.01) brightness(.98); }
  to   { filter: saturate(1.06) contrast(1.04) brightness(1.025); }
}

@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(35,230,118,.68); }
  70%  { box-shadow: 0 0 0 9px rgba(35,230,118,0); }
  100% { box-shadow: 0 0 0 0 rgba(35,230,118,0); }
}

@keyframes craneSwing {
  0%, 100% { transform: rotate(-2.3deg) translateY(0); }
  50%      { transform: rotate(2.3deg) translateY(8px); }
}

@keyframes vehicleDrive {
  0%   { left: -120px; transform: translateY(1px) scale(.88); }
  48%  { transform: translateY(-2px) scale(.96); }
  100% { left: calc(100% + 130px); transform: translateY(1px) scale(.88); }
}

@keyframes wheelSpin {
  to { transform: rotate(360deg); }
}

@keyframes headlightBlink {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

@keyframes glowFloat {
  from { transform: translate3d(-2%, -1%, 0) scale(.92); }
  to   { transform: translate3d(5%, 4%, 0) scale(1.06); }
}

@keyframes cueBounce {
  0%, 100% { transform: translate(-50%, 0) rotate(45deg); opacity: .55; }
  50%      { transform: translate(-50%, 7px) rotate(45deg); opacity: 1; }
}

@media (max-width: 820px) {
  .hero-bg {
    background-position: 51% center;
    transform:
      translate3d(
        calc(var(--mouse-x) * -0.009),
        calc(var(--mouse-y) * -0.009),
        0
      )
      scale(1.08);
  }

  .hero {
    padding-top: 92px;
    padding-bottom: 165px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 76px);
  }

  .eyebrow {
    font-size: clamp(20px, 7vw, 30px);
  }

  .lead {
    max-width: 520px;
    font-size: 15px;
  }

  .crane-animation {
    left: 22%;
    opacity: .45;
  }

  .moving-vehicle {
    bottom: 123px;
    transform: scale(.78);
  }
}

@media (max-width: 560px) {
  .topbar {
    top: 12px;
  }

  .contact-pill {
    min-height: 46px;
    padding-inline: 17px;
    font-size: 13px;
  }

  .hero {
    align-items: center;
    padding: 92px 14px 172px;
  }

  .hero-copy {
    margin-top: -22px;
  }

  h1 {
    letter-spacing: -.065em;
  }

  .lead {
    margin-top: 16px;
  }

  .status {
    font-size: 10px;
  }

  .footer {
    bottom: 26px;
  }

  .footer > p {
    font-size: 12px;
  }

  .socials {
    gap: 7px;
  }

  .social-pill {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .ig-icon {
    width: 22px;
    font-size: 14px;
  }

  .crane-animation {
    display: none;
  }

  .moving-vehicle {
    bottom: 124px;
    opacity: .55;
  }

  .scroll-cue {
    display: none;
  }
}

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

  .hero-bg,
  .hero-copy {
    transform: none !important;
  }
}
