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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 300;
  color: #f5f0eb;
  background: #0a0a0a;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2.8s cubic-bezier(0.45, 0.05, 0.2, 1);
  will-change: opacity;
}

.hero__slide.is-visible {
  opacity: 1;
}

.hero__slide.is-active {
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.88) 14%,
    rgba(0, 0, 0, 0.62) 32%,
    rgba(0, 0, 0, 0.22) 48%,
    transparent 62%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  padding:
    0
    2rem
    calc(env(safe-area-inset-bottom, 0px) + 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__logo {
  width: min(260px, 68vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
}

.hero__headline-wrap {
  overflow: hidden;
  width: 100%;
  min-height: clamp(4.5rem, 14vw, 7.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__headline {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2.25rem, 7.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  max-width: 16ch;
}

.hero__headline.is-exiting {
  animation: headlineExit 1.4s cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
}

.hero__headline.is-entering {
  animation: headlineEnter 1.4s cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
}

@keyframes headlineExit {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translate3d(0, -1.25rem, 0);
    filter: blur(6px);
  }
}

@keyframes headlineEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0);
    filter: blur(8px);
  }

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

.hero__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  letter-spacing: 0.06em;
  color: rgba(245, 240, 235, 0.8);
}

.hero__meta-divider {
  color: rgba(245, 240, 235, 0.35);
  font-weight: 300;
}

.hero__location {
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.75);
}

.hero__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(245, 240, 235, 0.85);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hero__instagram:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hero__instagram-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.hero__instagram-handle {
  font-weight: 400;
}

@media (max-width: 480px) {
  .hero__logo {
    width: min(220px, 74vw);
  }

  .hero__content {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2.75rem);
    gap: 0.85rem;
  }

  .hero__meta {
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }

  .hero__headline.is-exiting,
  .hero__headline.is-entering {
    animation: none;
  }
}
