@font-face {
  font-family: "Gantry-Bold";
  src: url("assets/fonts/Gantry-Bold.woff2") format("woff2"),
       url("assets/fonts/Gantry-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --brand-yellow: #ffdc00;
  --page-blue: #000000;
  --font-main: "Gantry-Bold", "Arial Black", Arial, Helvetica, sans-serif;
  --ease-architectural: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--page-blue);
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

/* Entrance Keyframes */
@keyframes photoReveal {
  0% {
    opacity: 0;
    transform: scale(1.08);
    filter: brightness(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes brandReveal {
  0% {
    opacity: 0;
    transform: translateX(28px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes copyRise {
  0% {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(24px, 4.5vw, 56px) clamp(20px, 5.35vw, 80px);
}

/* Full-bleed background image with slow cinematic zoom-out */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: -1;
  will-change: transform, opacity;
  animation: photoReveal 1.6s var(--ease-architectural) both;
}

.brand {
  position: absolute;
  top: clamp(20px, 4.5vh, 52px);
  right: clamp(20px, 3vw, 48px);
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1vw, 18px);
  z-index: 2;
  opacity: 0;
  animation: brandReveal 0.9s var(--ease-architectural) 0.25s forwards;
}

.brand__logo {
  width: clamp(80px, 7.63vw, 140px);
  height: auto;
  object-fit: contain;
}

.brand__tagline {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: clamp(13px, 1.25vw, 22px);
  line-height: 0.5;
  letter-spacing: 0.025em;
}

.brand__accent {
  color: var(--brand-yellow);
}

/* Positioned in the upper dark sky above the building */
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: min(72%, 1100px);
  margin-top: clamp(12px, 5vh, 56px);
}

.hero__copy h1,
.hero__copy p {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.18;
  opacity: 0;
  will-change: transform, opacity;
}

/* Staggered headline and sub-lines */
.hero__copy h1 {
  font-size: clamp(26px, 3vw, 52px);
  margin-bottom: clamp();
  animation: copyRise 0.85s var(--ease-architectural) 0.45s forwards;
}

.hero__footprint {
  font-size: clamp(21px, 2.5vw, 42px);
  margin-bottom: clamp(8px, 0.7vw, 14px);
  animation: copyRise 0.85s var(--ease-architectural) 0.65s forwards;
}

.hero__savings {
  font-size: clamp(19px, 2.25vw, 38px);
  animation: copyRise 0.85s var(--ease-architectural) 0.85s forwards;
}

/* Mobile & small tablet adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: 24px;
  }

  .brand {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-end;
    margin-bottom: clamp(24px, 5vh, 48px);
  }

  .hero__copy {
    max-width: 100%;
    margin-top: 0;
  }
}

/* Accessibility: disable movement for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__photo,
  .brand,
  .hero__copy h1,
  .hero__footprint,
  .hero__savings {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
