/* Gift opening */
.gift-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.78), transparent 35%),
    linear-gradient(145deg, #e9ddd0 0%, #f8f4ed 48%, #e8d7c5 100%);
  opacity: 1;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.gift-intro::before,
.gift-intro::after {
  position: absolute;
  border: 1px solid rgba(166, 106, 53, 0.17);
  border-radius: 50%;
  content: "";
}

.gift-intro::before {
  width: min(72vw, 720px);
  aspect-ratio: 1;
}

.gift-intro::after {
  width: min(88vw, 900px);
  aspect-ratio: 1;
}

.gift-intro.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.gift-intro__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.45;
}

.gift-intro__glow--one {
  top: -160px;
  left: -100px;
  background: #e7cda9;
}

.gift-intro__glow--two {
  right: -140px;
  bottom: -180px;
  background: #cdd9c5;
}

.gift-intro__skip {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 28px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
}

.gift-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  text-align: center;
}

.gift-stage h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.gift-stage__lead {
  max-width: 520px;
  margin: 22px auto 26px;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
}

.gift-stage__brand {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 28px;
  color: var(--ink);
}

.gift-stage__brand strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.gift-stage__brand strong span,
.gift-stage__brand small {
  color: var(--bronze);
}

.gift-stage__brand small {
  margin-top: 7px;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.27em;
}

.gift-pot {
  position: relative;
  display: grid;
  width: min(290px, 78vw);
  justify-items: center;
  margin: 10px auto 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gift-pot svg {
  width: 100%;
  overflow: visible;
}

.gift-pot__lid {
  transform-box: fill-box;
  transform-origin: 84% 85%;
  transition: transform 900ms cubic-bezier(.2, .75, .25, 1);
}

.gift-pot__glow {
  opacity: 0;
  transform: scale(.8);
  transform-origin: center;
  transition: opacity 700ms ease, transform 900ms ease;
}

.gift-pot.is-opening .gift-pot__lid {
  transform: translate(20px, -38px) rotate(18deg);
}

.gift-pot.is-opening .gift-pot__glow {
  opacity: 1;
  transform: scale(1);
}

.gift-pot__label {
  min-height: 42px;
  margin-top: -5px;
  border-radius: 999px;
  background: var(--green);
  padding: 13px 22px;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
