:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --ink: #f6f3ed;
  --photo-dim: rgba(5, 5, 4, 0.16);
  --headline-top: clamp(112px, 12.890625vh, 132px);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #060605;
}

body { color: var(--ink); }

.parking {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overflow: clip;
  background: #060605;
}

.parking__background,
.photo-dim,
.top-gradient,
.bottom-vignette {
  position: absolute;
  inset: 0;
}

.parking__background {
  display: block;
  z-index: -1;
  overflow: hidden;
}

.parking__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-dim {
  z-index: 0;
  background: var(--photo-dim);
}

.top-gradient {
  z-index: 1;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(6, 6, 5, 0.99) 0%,
    rgba(6, 6, 5, 0.96) 56%,
    rgba(6, 6, 5, 0) 100%
  );
}

.bottom-vignette {
  z-index: 1;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 4, 0) 0%,
    rgba(5, 5, 4, 0.55) 100%
  );
}

.brand,
.headline,
.soon {
  position: absolute;
  z-index: 2;
  left: 50%;
  margin: 0;
  text-align: center;
  transform: translateX(-50%);
}

.brand {
  top: max(36px, calc(env(safe-area-inset-top, 0px) + 12px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 36px;
  color: rgba(246, 243, 237, 0.9);
  font-size: 18px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 5.04px;
  white-space: nowrap;
}

.headline {
  top: var(--headline-top);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.18em;
  width: min(1040px, calc(100% - 48px));
  height: 104px;
  color: #dbc9ad;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  font-size: clamp(48px, min(5.2778vw, 7.42vh), 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-stretch: expanded;
  font-variation-settings: "wdth" 132;
  white-space: nowrap;
  transform: translateX(-50%) scaleX(1.34);
}

.headline span { display: block; }

.soon {
  top: calc(var(--headline-top) + 128px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 30px;
  color: rgba(246, 243, 237, 0.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 4.8px;
  white-space: nowrap;
}

@media (min-width: 601px) and (max-width: 1023px) {
  .parking {
    --photo-dim: rgba(5, 5, 4, 0.2);
    --headline-top: clamp(112px, 12.3047vh, 126px);
  }

  .brand {
    width: 300px;
    font-size: 16px;
    line-height: 17px;
    letter-spacing: 4.48px;
  }

  .headline {
    width: min(680px, calc(100% - 32px));
    height: 86px;
    flex-direction: column;
    gap: 0;
    font-size: clamp(42px, 7.03125vw, 54px);
    line-height: 1.05;
    letter-spacing: -1.35px;
    white-space: normal;
    transform: translateX(-50%);
  }

  .headline span {
    transform: scaleX(1.3);
    transform-origin: center;
  }

  .headline span:first-child { transform: scaleX(1.38); }

  .soon {
    top: calc(var(--headline-top) + 110px);
    width: min(300px, calc(100% - 48px));
    font-size: 14px;
    line-height: 15px;
    letter-spacing: 4.2px;
  }
}

@media (max-width: 600px) {
  .parking {
    --photo-dim: rgba(5, 5, 4, 0.2);
    --headline-top: clamp(112px, 13.27vh, 124px);
  }

  .top-gradient { height: 54%; }

  .brand {
    top: max(28px, calc(env(safe-area-inset-top, 0px) + 12px));
    width: calc(100% - 48px);
    font-size: 14px;
    line-height: 15px;
    letter-spacing: 3.92px;
  }

  .headline {
    width: calc(100% - 32px);
    height: 74px;
    flex-direction: column;
    gap: 0;
    font-size: clamp(32px, 9.6vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.9px;
    white-space: normal;
    transform: translateX(-50%);
  }

  .headline span {
    transform: scaleX(1.3);
    transform-origin: center;
  }

  .headline span:first-child { transform: scaleX(1.38); }

  .soon {
    top: calc(var(--headline-top) + 92px);
    width: calc(100% - 48px);
    height: 30px;
    font-size: 12px;
    line-height: 13px;
    letter-spacing: 3.6px;
  }
}
