:root {
  --black: #080706;
  --gold: #d9ad55;
  --bright-gold: #f2d58a;
  --cream: #f5e9cf;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  font-family: "Cinzel", Georgia, serif;
  isolation: isolate;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: -2.5%;
  content: "";
  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: background-zoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 44%, rgba(8, 7, 6, 0.06) 0%, rgba(8, 7, 6, 0.28) 58%, rgba(8, 7, 6, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.28) 0%, rgba(8, 7, 6, 0.08) 42%, rgba(8, 7, 6, 0.88) 100%);
}

.hero {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1rem, 3vh, 2rem) 1.25rem clamp(7.25rem, 17vh, 9rem);
  place-items: center;
  text-align: center;
}

.hero__content {
  display: flex;
  align-items: center;
  flex-direction: column;
  transform: translateY(-1vh);
}

.hero__logo {
  display: block;
  width: min(36vw, 49vh, 31.25rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 1.3rem rgba(242, 213, 138, 0.16)) drop-shadow(0 1rem 1.8rem rgba(0, 0, 0, 0.48));
  opacity: 0;
  animation: logo-reveal 1.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__message {
  margin-top: clamp(-1.15rem, -2vh, -0.35rem);
  opacity: 0;
  animation: message-reveal 1.2s 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.eyebrow {
  margin: 0;
  color: var(--bright-gold);
  font-size: clamp(1.25rem, 2.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: clamp(0.3rem, 0.75vw, 0.68rem);
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 1rem rgba(217, 173, 85, 0.62), 0 0 2.5rem rgba(217, 173, 85, 0.24);
}

h1 {
  margin: 0.75rem 0 0;
  color: var(--cream);
  font-size: clamp(0.8rem, 1.25vw, 1.05rem);
  font-weight: 400;
  letter-spacing: clamp(0.08rem, 0.25vw, 0.2rem);
  line-height: 1.5;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(7rem, 12vw, 10rem);
  margin: 1.15rem auto 0;
}

.divider::before,
.divider::after {
  width: 50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold));
}

.divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.divider span {
  width: 0.42rem;
  height: 0.42rem;
  margin: 0 0.5rem;
  flex: 0 0 auto;
  border: 1px solid var(--bright-gold);
  box-shadow: 0 0 0.75rem rgba(242, 213, 138, 0.8);
  transform: rotate(45deg);
}

.site-footer {
  position: fixed;
  z-index: 2;
  right: 1.25rem;
  bottom: clamp(1.25rem, 3.5vh, 2.25rem);
  left: 1.25rem;
  text-align: center;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: rgba(245, 233, 207, 0.72);
  font-size: clamp(0.56rem, 0.7vw, 0.68rem);
  letter-spacing: clamp(0.12rem, 0.25vw, 0.22rem);
  line-height: 1.65;
}

.site-footer .site-footer__name {
  color: var(--gold);
  font-size: clamp(0.66rem, 0.85vw, 0.8rem);
  font-weight: 600;
}

.site-footer .site-footer__note {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: clamp(0.5rem, 0.6vw, 0.58rem);
  letter-spacing: 0.1rem;
  text-transform: none;
}

.particles {
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particles span {
  position: absolute;
  bottom: -1rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bright-gold);
  box-shadow: 0 0 0.7rem rgba(242, 213, 138, 0.9);
  opacity: 0;
  animation: particle-rise 12s linear infinite;
}

.particles span:nth-child(1) { left: 8%; animation-delay: 0s; animation-duration: 14s; }
.particles span:nth-child(2) { left: 21%; animation-delay: 4s; animation-duration: 17s; }
.particles span:nth-child(3) { left: 34%; animation-delay: 8s; animation-duration: 13s; }
.particles span:nth-child(4) { left: 46%; animation-delay: 2s; animation-duration: 18s; }
.particles span:nth-child(5) { left: 59%; animation-delay: 7s; animation-duration: 15s; }
.particles span:nth-child(6) { left: 71%; animation-delay: 11s; animation-duration: 19s; }
.particles span:nth-child(7) { left: 83%; animation-delay: 5s; animation-duration: 14s; }
.particles span:nth-child(8) { left: 93%; animation-delay: 9s; animation-duration: 16s; }

@keyframes logo-reveal {
  from { opacity: 0; transform: translateY(0.8rem) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes message-reveal {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes background-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.055); }
}

@keyframes particle-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  15% { opacity: 0.55; }
  80% { opacity: 0.2; }
  100% { opacity: 0; transform: translate3d(1.5rem, -105vh, 0); }
}

@media (max-width: 768px) {
  body::before {
    background-position: 57% center;
  }

  .hero {
    padding-right: 1rem;
    padding-bottom: 8rem;
    padding-left: 1rem;
  }

  .hero__content {
    transform: translateY(-2vh);
  }

  .hero__logo {
    width: min(82vw, 45vh, 23rem);
  }

  .hero__message {
    margin-top: -0.35rem;
  }

  .eyebrow {
    letter-spacing: 0.32rem;
  }
}

@media (max-height: 720px) {
  .hero {
    padding-bottom: 6.5rem;
  }

  .hero__logo {
    width: min(34vw, 43vh, 22rem);
  }

  .divider {
    margin-top: 0.75rem;
  }

  .site-footer {
    bottom: 0.85rem;
  }

  .site-footer .site-footer__note {
    margin-top: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero__logo,
  .hero__message,
  .particles span {
    animation: none;
  }

  .hero__logo,
  .hero__message {
    opacity: 1;
  }
}
