:root {
  color-scheme: dark;
  --ink: #180814;
  --ink-soft: #2c0e25;
  --cream: #fff4d6;
  --butter: #ffc83d;
  --pink: #ff6d9e;
  --whatsapp: #25d366;
  --whatsapp-ink: #092f18;
  --line: rgba(255, 244, 214, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 18%, rgba(89, 17, 64, 0.8), transparent 38rem),
    var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-loading,
body.intro-active {
  overflow: hidden;
}

a {
  color: inherit;
}

.ambient,
.popcorn-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: 4;
  overflow: hidden;
}

.popcorn-rain {
  background-color: var(--cream);
  background-image: url("/popcorn.png"), url("/popcorn.png"), url("/popcorn.png");
  background-repeat: repeat;
  background-size: 70px 70px, 84px 84px, 96px 96px;
  background-position: 0 0, 30px 24px, -22px 48px;
}

.popcorn-rain.is-falling {
  background: transparent;
}

.popcorn-rain.is-finished {
  display: none;
}

.popcorn-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.glow {
  position: absolute;
  width: 20rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(5rem);
  opacity: 0.2;
  animation: drift 9s ease-in-out infinite alternate;
}

.glow--one {
  top: 4%;
  right: -10rem;
  background: var(--pink);
}

.glow--two {
  bottom: -12rem;
  left: -12rem;
  background: var(--butter);
  animation-delay: -4s;
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.5rem, 4vh, 2.5rem) 1.1rem clamp(3.2rem, 12vw, 5.5rem);
  isolation: isolate;
  overflow: hidden;
}

.eyebrow {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 0 1.1rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 244, 214, 0.65);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.title-wrap {
  position: relative;
  perspective: 800px;
  transform-style: preserve-3d;
  transition: transform 0.28s ease-out;
}

h1 {
  margin: 0;
  font: 600 clamp(4.05rem, 20.5vw, 7rem)/0.79 "Avenir Next", Avenir, sans-serif;
  letter-spacing: -0.092em;
  text-wrap: balance;
  transform: translateZ(24px);
  text-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
}

.pop-word {
  position: relative;
  display: inline-block;
  color: var(--butter);
  letter-spacing: -0.105em;
  white-space: nowrap;
}

.pop-o {
  position: relative;
  display: inline-block;
  color: transparent;
  width: 0.72em;
  height: 0.72em;
  line-height: 0.72;
  vertical-align: -0.055em;
}

.pop-o img {
  position: absolute;
  width: 1.03em;
  height: 1.03em;
  object-fit: contain;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-13deg);
  filter: drop-shadow(0 0.18em 0.18em rgba(0, 0, 0, 0.32));
  animation: hero-pop 3.7s var(--ease) infinite;
}

.hero__bottom {
  margin-top: 1.65rem;
}

.intro {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 244, 214, 0.76);
  font-size: clamp(0.97rem, 3.8vw, 1.13rem);
  line-height: 1.55;
}

.intro em {
  color: var(--cream);
  font-family: Georgia, serif;
  font-weight: 400;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding: 0.38rem 0.42rem 0.38rem 1.05rem;
  overflow: hidden;
  border-radius: 1rem;
  color: var(--whatsapp-ink);
  background: var(--whatsapp);
  box-shadow: 0 1rem 2.5rem rgba(37, 211, 102, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cta::before {
  content: "";
  position: absolute;
  top: -70%;
  left: -40%;
  width: 22%;
  height: 240%;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, 0.5);
  filter: blur(0.7rem);
  transition: left 0.7s var(--ease);
}

.cta:hover::before {
  left: 120%;
}

.cta:active {
  transform: scale(0.98);
}

.cta__icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.72rem;
  color: var(--whatsapp-ink);
  background: rgba(255, 255, 255, 0.38);
  font-size: 1.25rem;
  transition: transform 0.35s var(--ease);
}

.cta:hover .cta__icon {
  transform: translateX(0.18rem);
}

.scroll-cue {
  display: none;
}

.experience {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(2.8rem, 8vw, 5.5rem);
  padding: 3.2rem 1.1rem max(1.25rem, env(safe-area-inset-bottom));
  color: var(--ink);
  background: var(--cream);
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
}

.experience__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.experience__intro {
  position: relative;
  z-index: 1;
  max-width: 59rem;
}

.experience h2 {
  margin: 0 0 1.35rem;
  font: 600 clamp(2.8rem, 13vw, 7rem)/0.91 "Avenir Next", Avenir, sans-serif;
  letter-spacing: -0.077em;
}

.experience h2 span {
  color: #d44778;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.experience__lead {
  max-width: 34rem;
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.65;
}

.events-panel {
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(24, 8, 20, 0.18);
  background: transparent;
}

.section-kicker,
.flavours > span,
.closing__copy > p {
  margin: 0;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.events-panel h3 {
  margin: 0.45rem 0 1.2rem;
  font-size: clamp(1.8rem, 7.2vw, 3.7rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.events-panel h3 em {
  color: #d44778;
  font-family: Georgia, serif;
  font-weight: 400;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(24, 8, 20, 0.18);
  border-bottom: 1px solid rgba(24, 8, 20, 0.18);
  list-style: none;
}

.event-list li {
  display: flex;
  min-height: 3.9rem;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.7rem;
  font-size: clamp(0.86rem, 3.4vw, 1.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.event-list li:nth-child(odd) {
  border-right: 1px solid rgba(24, 8, 20, 0.18);
}

.event-list li:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(24, 8, 20, 0.18);
}

.event-list span {
  min-width: 1.5rem;
  color: #d44778;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.flavours {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.5rem, 6vw, 3.5rem);
  border-radius: 1.65rem;
  color: var(--cream);
  background: var(--ink-soft);
  box-shadow: 0 1.5rem 3rem rgba(24, 8, 20, 0.12);
}

.flavours strong {
  font-size: clamp(2.15rem, 10vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.flavours i {
  color: #d44778;
  font-family: Georgia, serif;
  font-weight: 400;
}

.flavours p {
  max-width: 34rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 244, 214, 0.72);
  font-size: 0.93rem;
  line-height: 1.6;
}

.closing {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding: clamp(1.05rem, 3.8vw, 2rem);
  border-radius: 1.65rem;
  color: var(--whatsapp-ink);
  background: var(--whatsapp);
  box-shadow: 0 1.5rem 3rem rgba(37, 211, 102, 0.18);
}

.closing__copy {
  display: grid;
  gap: 0.35rem;
}

.closing__copy h3 {
  margin: 0;
  font-size: clamp(1.05rem, 5.2vw, 2.3rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.closing__copy > p {
  color: var(--whatsapp-ink);
}

.closing .cta {
  width: 100%;
  color: var(--cream);
  background: var(--whatsapp-ink);
  box-shadow: 0 1rem 2.5rem rgba(9, 47, 24, 0.22);
}

.closing .cta__icon {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.16);
}

@media (min-width: 740px) {
  .hero,
  .experience {
    padding-left: clamp(2rem, 5vw, 5rem);
    padding-right: clamp(2rem, 5vw, 5rem);
  }

  .hero {
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: clamp(4rem, 9vh, 7rem);
    padding-bottom: 3rem;
  }

  .eyebrow {
    max-width: 32rem;
    margin-bottom: 1.8rem;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(5.5rem, 11.5vw, 10.6rem);
  }

  .hero__bottom {
    max-width: 32rem;
    margin-top: 2.6rem;
  }

  .scroll-cue {
    position: absolute;
    right: clamp(2rem, 5vw, 5rem);
    bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.59rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: rotate(90deg) translateX(-100%);
    transform-origin: top right;
  }

  .scroll-cue i {
    display: block;
    width: 2.2rem;
    height: 1px;
    background: currentColor;
    animation: scroll-line 1.6s ease-in-out infinite;
  }

  .experience {
    padding-top: 6rem;
    padding-bottom: 3rem;
    border-radius: 3rem 3rem 0 0;
  }

  .experience__intro,
  .events-panel,
  .flavours {
    margin-left: auto;
    width: 84%;
  }

  .experience__lead {
    margin-left: auto;
  }

  .event-list li {
    min-height: 4.3rem;
    padding: 0.9rem 1rem;
  }

}

@media (min-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.58fr);
    grid-template-rows: 1fr 1fr;
    column-gap: clamp(4rem, 7vw, 9rem);
    align-items: stretch;
    min-height: 100vh;
    padding-top: clamp(5rem, 8vh, 8rem);
    padding-bottom: clamp(4rem, 7vh, 6rem);
  }

  .title-wrap {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(6.5rem, 9vw, 10.5rem);
  }

  .eyebrow {
    position: static;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    width: 100%;
    max-width: none;
    margin: 0 0 2rem;
  }

  .hero__bottom {
    position: static;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    width: 100%;
    margin: 0;
  }

  .intro {
    max-width: 29rem;
    font-size: 1.08rem;
  }

  .experience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 3vw, 3.5rem);
    row-gap: clamp(3rem, 5vw, 5rem);
    padding-top: clamp(5rem, 8vw, 8rem);
    padding-bottom: 3rem;
  }

  .experience__intro,
  .events-panel,
  .flavours {
    width: auto;
    margin: 0;
  }

  .experience__intro {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
    column-gap: clamp(3rem, 6vw, 8rem);
    align-items: end;
    max-width: none;
  }

  .experience__label {
    grid-column: 1 / -1;
    margin-bottom: 1.3rem;
  }

  .experience h2 {
    grid-column: 1;
    margin: 0;
    font-size: clamp(5rem, 7vw, 7rem);
  }

  .experience__lead {
    grid-column: 2;
    align-self: end;
    max-width: 29rem;
    margin: 0 0 0.5rem;
    font-size: 1.08rem;
  }

  .events-panel {
    grid-column: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid rgba(24, 8, 20, 0.15);
    border-radius: 1.65rem;
  }

  .events-panel h3 {
    font-size: clamp(2.8rem, 4vw, 4rem);
  }

  .event-list {
    margin-top: auto;
  }

  .event-list li {
    min-height: 4.5rem;
  }

  .flavours {
    grid-column: 2;
    align-self: stretch;
    justify-content: center;
    padding: clamp(2.25rem, 4vw, 4rem);
  }

  .flavours strong {
    font-size: clamp(2.65rem, 3.5vw, 4.2rem);
    white-space: nowrap;
  }

  .closing {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 32rem);
    align-items: center;
    padding: 2rem 2.25rem;
  }

  .closing__copy h3 {
    font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  }
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 4rem rgba(9, 47, 24, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .popcorn-rain {
    display: none;
  }
}

@keyframes hero-pop {
  0%, 70%, 100% { transform: translate(-50%, -50%) rotate(-13deg) scale(1); }
  78% { transform: translate(-50%, -50%) rotate(4deg) scale(1.08); }
  84% { transform: translate(-50%, -50%) rotate(-18deg) scale(0.96); }
}

@keyframes drift {
  to { transform: translate3d(3rem, -2rem, 0) scale(1.15); }
}

@keyframes scroll-line {
  0%, 100% { transform: scaleX(0.25); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
}
