:root {
  --ink: #f7f4ef;
  --ink-soft: rgba(247, 244, 239, 0.78);
  --ink-mute: rgba(247, 244, 239, 0.55);
  --accent: #e4574d;
  --shadow: rgba(6, 6, 6, 0.72);
  --line: rgba(247, 244, 239, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.1rem, 3vw, 2.5rem);
}

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

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050505;
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.stage {
  position: relative;
  width: 100%;
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.stage__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a1816;
}

.bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  will-change: opacity;
}

.bg-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.bg-slide__img {
  position: absolute;
  inset: -6%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.08);
  will-change: transform;
  backface-visibility: hidden;
}

.stage__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 50% 42%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.62) 62%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.28) 30%, rgba(0, 0, 0, 0.4) 58%, rgba(0, 0, 0, 0.82) 100%);
}

.stage__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.stage__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding:
    max(var(--pad), env(safe-area-inset-top))
    max(var(--pad), env(safe-area-inset-right))
    max(var(--pad), env(safe-area-inset-bottom))
    max(var(--pad), env(safe-area-inset-left));
  gap: clamp(0.55rem, 1.4vh, 1rem);
}

.brand-logo {
  width: min(40vw, 280px);
  height: auto;
  aspect-ratio: 1355 / 364;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.deck {
  position: relative;
  width: min(100%, 52rem);
  height: 100%;
  min-height: 0;
  display: grid;
  align-items: center;
  justify-items: center;
}

.panel {
  grid-area: 1 / 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
}

.panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.panel__event {
  width: min(52vw, 260px);
  height: auto;
  margin-bottom: clamp(0.5rem, 1.4vh, 1rem);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.panel__label {
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.panel__title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 9.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 12px 40px var(--shadow);
}

.panel__title-line {
  display: block;
}

.panel__accent {
  margin: 0.25rem 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  color: var(--ink-soft);
}

.accent {
  color: var(--accent);
}

.package-title {
  font-size: clamp(2.8rem, 7.5vw, 5.4rem);
}

.package-list {
  list-style: none;
  margin: clamp(0.7rem, 1.8vh, 1.25rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 36rem;
}

.package-list li {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  line-height: 1.3;
}

.package-price {
  margin: clamp(0.85rem, 2vh, 1.35rem) 0 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 10px 30px var(--shadow);
}

.package-price span {
  font-size: 0.55em;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.package-value {
  margin: 0.3rem 0 0;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.deck-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 1.25rem;
}

.deck-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(247, 244, 239, 0.28);
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-out);
}

.deck-dot.is-active {
  background: var(--ink);
  transform: scale(1.2);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.9rem;
  padding-top: clamp(0.45rem, 1.2vh, 0.85rem);
  border-top: 1px solid var(--line);
  width: min(100%, 36rem);
}

.cta__link {
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 220ms var(--ease-out);
}

.cta__link:hover,
.cta__link:focus-visible {
  opacity: 0.72;
  outline: none;
}

.cta__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--ink);
  opacity: 0.9;
  transition: opacity 220ms var(--ease-out);
}

.cta__social:hover,
.cta__social:focus-visible {
  opacity: 0.65;
  outline: none;
}

.cta__social svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.cta__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-mute);
  opacity: 0.7;
}

.locale {
  margin: 0;
  font-size: clamp(0.68rem, 1.1vw, 0.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (orientation: landscape) and (min-width: 900px) {
  .brand-logo {
    width: min(22vw, 220px);
  }

  .panel__title {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  }

  .package-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  }

  .panel__event {
    width: min(24vw, 200px);
  }

  .panel__accent {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
  }

  .package-list {
    gap: 0.28rem;
    max-width: 42rem;
  }

  .package-list li {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  }

  .package-price {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
  }
}

@media (max-height: 700px) {
  .brand-logo {
    width: min(32vw, 200px);
  }

  .panel__title {
    font-size: clamp(2.4rem, 7vw, 4rem);
  }

  .panel__event {
    width: min(34vw, 150px);
    margin-bottom: 0.25rem;
  }

  .package-list li:nth-child(n + 5) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-slide__img {
    transform: none !important;
  }
}
