:root {
  color-scheme: dark;
  background: #191a1c;
  color: #dddcd7;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.background-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: -1;
}

.tower-art {
  position: absolute;
  top: 49%;
  left: 66%;
  height: min(110svh, 1160px);
  width: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.landing-skyline {
  --composition-scale: 1.25;
  position: absolute;
  bottom: 10%;
  left: 58%;
  width: min(92vw, 1180px);
  height: min(calc(102svh - 84px), 80svh);
  transform: translateX(-50%) scale(var(--composition-scale));
  transform-origin: center bottom;
  pointer-events: none;
}

.landing-skyline img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.brand-lockup {
  --corner-top: 36px;
  --corner-left: 40px;
  --horizontal-inset: calc(max(var(--corner-left), env(safe-area-inset-left)) * 0.85 + 7.5vw);

  position: absolute;
  /* Relative offsets keep the composition consistent across viewport sizes. */
  top: calc(max(var(--corner-top), env(safe-area-inset-top)) * 0.85 + 7.5svh);
  left: calc(var(--horizontal-inset) * 0.85);
  right: max(24px, env(safe-area-inset-right));
  color: #f5c991;
}

.wordmark {
  margin: 0;
  font-size: 23.4px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.tagline {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .landing-skyline { left: 51%; width: 98vw; }
  .tower-art {
    top: 55%;
    left: 55%;
    height: 99svh;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .landing--skyline .brand-lockup { top: 24px; }
}

@media (max-width: 600px) {
  .landing-skyline { left: 50%; width: 100vw; height: min(calc(89svh - 96px), calc(90svh - 184px)); }
  .background-art {
    object-position: 64% 50%;
  }

  .brand-lockup {
    --corner-top: 28px;
    --corner-left: 24px;
  }

  .wordmark { font-size: 21.6px; }
  .tagline { font-size: 14px; }

  .tower-art {
    top: 56%;
    left: 54%;
    height: 92svh;
  }
}

@media (min-width: 601px) and (max-height: 550px) {
  .landing-skyline { left: 60%; height: 70svh; }
  .tower-art {
    top: 61%;
    left: 66%;
    height: 80svh;
  }
}

@media (max-width: 360px) {
  .tower-art { top: 60%; height: 87svh; }
}
