:root {
  color-scheme: dark;
  --black: #050505;
  --white: #f7f3ea;
  --muted: rgba(247, 243, 234, 0.68);
  --poster: url("assets/images/hero-poster.jpeg");
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.site-shell {
  min-height: 100svh;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(88px, 16vh) 1fr auto minmax(48px, 8vh);
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 3vw, 42px);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--poster) center / cover;
  filter: grayscale(1);
  opacity: 0.58;
  transform: scale(1.025);
  animation: slow-breathe 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    radial-gradient(circle at 50% 20%, rgba(247, 243, 234, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.08) 44%, rgba(5, 5, 5, 0.7)),
    rgba(5, 5, 5, 0.22);
}

.header-container {
  grid-row: 1;
  grid-column: 1 / -1;
  width: 100%;
  align-self: start;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.brand-mark {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tagline {
  position: relative;
  z-index: 1;
  color: rgba(247, 243, 234, 0.92);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  max-width: 65%;
  line-height: 1.4;
}

.tagline-divider {
  color: rgba(247, 243, 234, 0.35);
  margin: 0 clamp(6px, 1vw, 12px);
  font-weight: 300;
}

.tagline-status {
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 520px) {
  .tagline-divider {
    display: none;
  }
  .tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    max-width: 70%;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 900ms ease, transform 900ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-breathe {
  from {
    transform: scale(1.025);
  }

  to {
    transform: scale(1.055);
  }
}

@media (max-width: 680px) {
  .hero {
    grid-template-rows: minmax(78px, 14vh) 1fr auto minmax(42px, 7vh);
    padding: 18px;
  }

  .hero-media {
    object-position: 58% center;
    opacity: 0.5;
  }
}

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