:root {
  --black: #050505;
  --charcoal: #151515;
  --warm-white: #f5efe7;
  --muted: rgba(245, 239, 231, 0.7);
  --burnt-orange: #ff6b00;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--black);
  color: var(--warm-white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow: hidden;
}

.coming-soon {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 4vw, 48px);
}

.background,
.shade,
.grain {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.background {
  background-image: url("assets/utv-sunset-bg.jpg");
  background-position: calc(50% + var(--parallax-x, 0px))
    calc(50% + var(--parallax-y, 0px));
  background-size: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.7);
  transform: scale(1.06);
  animation: slow-drift 18s ease-in-out infinite alternate;
  transition: background-position 650ms ease-out;
}

.shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 107, 0, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.5) 50%, rgba(5, 5, 5, 0.86)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.2) 42%, rgba(5, 5, 5, 0.9));
}

.grain {
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: soft-light;
}

.site-header,
.site-footer {
  position: absolute;
  left: clamp(22px, 4vw, 48px);
  right: clamp(22px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(245, 239, 231, 0.62);
  font-size: clamp(0.64rem, 0.7vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1.4;
  text-transform: uppercase;
  animation: fade-in 1100ms ease 240ms both;
}

.site-header {
  top: clamp(22px, 4vw, 48px);
}

.site-header::before,
.site-header::after {
  content: "";
  width: clamp(28px, 5vw, 72px);
  height: 1px;
  background: rgba(255, 107, 0, 0.65);
}

.site-footer {
  bottom: clamp(24px, 4vw, 48px);
  justify-content: center;
}

.site-footer span {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, transparent, var(--burnt-orange), transparent);
  opacity: 0.8;
}

.hero {
  width: min(100%, 980px);
  text-align: center;
  text-transform: uppercase;
  animation: hero-in 1300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.kicker,
.microcopy {
  margin: 0;
  font-weight: 600;
  letter-spacing: clamp(0.24em, 0.7vw, 0.56em);
}

.kicker {
  color: var(--burnt-orange);
  font-size: clamp(0.72rem, 1.4vw, 0.92rem);
}

h1 {
  margin: clamp(18px, 3vw, 30px) auto;
  width: min(100%, 980px);
  color: var(--warm-white);
  font-size: clamp(3.1rem, 10vw, 8.8rem);
  font-weight: 700;
  letter-spacing: clamp(0.08em, 0.7vw, 0.16em);
  line-height: 0.9;
  text-wrap: balance;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.62);
}

h1 span {
  display: block;
  font-size: 1em;
  font-weight: inherit;
}

.microcopy {
  color: var(--muted);
  font-size: clamp(0.72rem, 1.2vw, 0.95rem);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }

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

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slow-drift {
  from {
    transform: scale(1.06) translate3d(-0.4%, -0.4%, 0);
  }

  to {
    transform: scale(1.1) translate3d(0.7%, 0.5%, 0);
  }
}

@media (max-width: 900px) {
  h1 {
    width: 100%;
    max-width: 100%;
    font-size: 1.55rem;
    letter-spacing: 0;
    line-height: 1;
  }
}

@media (max-width: 720px) {
  body {
    overflow: hidden;
  }

  .coming-soon {
    min-height: 100vh;
    min-height: 100svh;
    align-items: end;
    padding: 96px 20px 104px;
  }

  .background {
    background-position: 58% 50%;
    filter: saturate(0.86) contrast(1.1) brightness(0.62);
    transform: scale(1.2);
    animation-duration: 24s;
  }

  .shade {
    background:
      radial-gradient(circle at 64% 36%, rgba(255, 107, 0, 0.18), transparent 27%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.28) 32%, rgba(5, 5, 5, 0.9) 78%, rgba(5, 5, 5, 0.98)),
      linear-gradient(90deg, rgba(5, 5, 5, 0.66), rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.72));
  }

  .grain {
    opacity: 0.12;
    background-size: 34px 34px;
  }

  .site-header {
    left: 20px;
    right: 20px;
    gap: 18px;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    justify-content: center;
  }

  .site-header::before,
  .site-header::after {
    flex: 1;
  }

  .hero {
    align-self: end;
    width: 100%;
    padding-bottom: 6px;
  }

  .kicker,
  .microcopy {
    letter-spacing: 0.22em;
  }

  .kicker {
    font-size: 0.68rem;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: 1.55rem;
    letter-spacing: 0;
    line-height: 1;
    margin-block: 16px 18px;
  }

  .microcopy {
    max-width: none;
    margin-inline: auto;
    font-size: 0.7rem;
    line-height: 1.85;
    white-space: nowrap;
  }

  .site-footer {
    bottom: 20px;
  }

  .site-footer span {
    height: 34px;
  }
}

@media (max-width: 390px) {
  .coming-soon {
    padding-inline: 16px;
  }

  .site-header {
    left: 16px;
    right: 16px;
    gap: 12px;
    letter-spacing: 0.22em;
  }

  h1 {
    font-size: 1.45rem;
  }

  .kicker,
  .microcopy {
    letter-spacing: 0.14em;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 1.32rem;
  }

  .microcopy {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

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