:root {
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --steel: #0f1720;
  --steel-soft: rgba(15, 23, 32, 0.66);
  --line: rgba(255, 255, 255, 0.18);
  --amber: #f5b642;
  --amber-deep: #d88817;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--steel);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/construction-progress.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  animation: slow-pan 18s ease-in-out infinite alternate;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 19, 0.96) 0%, rgba(8, 13, 19, 0.78) 35%, rgba(8, 13, 19, 0.2) 75%),
    linear-gradient(180deg, rgba(8, 13, 19, 0.28), rgba(8, 13, 19, 0.54));
}

.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  animation: blueprint-shift 10s linear infinite;
}

.hero-content {
  width: min(720px, 100%);
  animation: rise-in 900ms ease-out both;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.5rem, 10vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  margin: 1.35rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.progress-wrap {
  width: min(430px, 100%);
  margin-top: 2.25rem;
}

.progress-rail {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber), #ffe1a3);
  box-shadow: 0 0 28px rgba(245, 182, 66, 0.34);
  animation: build-progress 2.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.progress-label {
  display: block;
  margin-top: 0.85rem;
  color: rgba(248, 250, 252, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes slow-pan {
  from {
    transform: scale(1.03) translate3d(-0.6%, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(0.9%, -0.8%, 0);
  }
}

@keyframes blueprint-shift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 72px 72px;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes build-progress {
  0% {
    transform: translateX(-102%);
  }

  54% {
    transform: translateX(148%);
  }

  100% {
    transform: translateX(148%);
  }
}

@media (max-width: 720px) {
  .site-shell {
    min-height: 100svh;
    align-items: end;
    padding: 2rem 1.25rem 3rem;
  }

  .site-shell::before {
    background:
      linear-gradient(180deg, rgba(8, 13, 19, 0.2) 0%, rgba(8, 13, 19, 0.9) 52%, rgba(8, 13, 19, 0.98) 100%),
      linear-gradient(90deg, rgba(8, 13, 19, 0.52), rgba(8, 13, 19, 0.18));
  }

  .site-shell::after {
    mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
  }

  h1 {
    max-width: 9ch;
  }
}

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