/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 01 2026 | 09:00:55 */
:root {
  --pink: #cc3363;
  --cream: #fff7e8;
  --cream-dark: #ffd78d;
  --blush: #f2d0dd;
  --olive: #bfb743;
  --red: #d12a31;
  --orange: #dd4912;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.hero__stage {
  margin-left: auto;
  margin-right: auto;
  width: min(92vw, 920px);
  display: grid;
  place-items: center;
  padding: 3vh 0 8vh;
  row-gap: 24px;
  position: relative;
}

.scroll-hint {
  position: static;
  display: grid;
  place-items: center;
  margin-bottom: -8px;
  pointer-events: none;
}

.scroll-hint span {
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.6);
}

/* brand wordmark under envelope */
.hero__wordmark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__wordmark img {
  display: block;
  width: min(60vw, 260px);
  height: auto;
}

/* ---------- Envelope (pure CSS) ---------- */
.envelope {
  position: relative;
  width: min(92vw, 680px);
  aspect-ratio: unset;
  min-height: min(42vw, 480px);
  transform: translateZ(0);
  overflow: hidden;
}

@media (max-width: 600px) {
  .envelope {
    aspect-ratio: unset;
    min-height: 340px;
  }

  .hero.is-open .envelope {
    min-height: 520px;
  }
}

.envelope__body {
  position: absolute;
  inset: 0;
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
}

/* ---------- Open Me Annotation ---------- */
.open-me-annotation {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-80%);
  width: 300px;
  height: auto;
  pointer-events: none;
}

/* Hide on tablet and mobile */
@media (max-width: 1024px) {
  .open-me-annotation {
    display: none;
  }
}

/* bottom folds */
.envelope__body::before,
.envelope__body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
}

.envelope__body::before {
  clip-path: polygon(0 100%, 50% 58%, 100% 100%, 100% 100%, 0 100%);
  background: rgba(0, 0, 0, 0.06);
  mix-blend-mode: multiply;
}

.envelope__body::after {
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 58%, 50% 100%, 0 58%);
  background: rgba(0, 0, 0, 0.035);
  mix-blend-mode: multiply;
}

.envelope__flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58%;
  background: var(--blush);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0%;
  transform: rotateX(0deg);
  transition: transform 900ms cubic-bezier(0.2, 0.85, 0.2, 1);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  will-change: transform;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08) inset;
}

/* ---------- Seal Button ---------- */
.envelope__seal-btn {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  padding: 0;
  border: none;
  background: transparent !important;
  cursor: pointer;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.envelope__seal-btn img {
  display: block;
  width: 96px;
  height: 96px;
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  transition: opacity 350ms ease;
}

.envelope__seal-btn:hover,
.envelope__seal-btn:active,
.envelope__seal-btn:focus,
.envelope__seal-btn:focus-visible,
.envelope__seal-btn:focus-within {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent;
}

.envelope__seal-btn:hover img,
.envelope__seal-btn:active img,
.envelope__seal-btn:focus img {
  opacity: 1;
  transform: none;
  filter: none;
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.22);
}

.hero.is-open .envelope__seal-btn img {
  opacity: 0;
  pointer-events: none;
}

.envelope__letter {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  width: auto;
  height: auto;
  min-height: 0;
  background: var(--cream);
  border-radius: 16px;
  z-index: 2;

  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 950ms cubic-bezier(0.18, 0.82, 0.18, 1),
    opacity 700ms ease;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  display: grid;
  align-content: start;
  padding: 10px 40px 40px;
  box-sizing: border-box;
}

.letter__headline {
  margin: 0;
  font-family: "Baloo", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: left;
}

.letter__prompt {
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: black;
  letter-spacing: 0.02em;
  text-align: left;
}

/* Open state */
.hero.is-open .envelope__flap {
  transform: rotateX(168deg);
}

.hero.is-open .envelope__letter {
  transform: translateY(0%);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .envelope__flap,
  .envelope__letter {
    transition: none;
  }
}

@media (max-width: 600px) {
  .envelope__letter {
    left: 12px;
    right: 12px;
    padding: 28px 24px 28px;
  }

  .letter__headline {
    font-size: clamp(18px, 5vw, 26px);
  }

  .letter__prompt {
    font-size: 13px;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .envelope {
    overflow: hidden;
  }

  .envelope__letter {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 24px 20px;
  }

  .hero.is-open .envelope__letter {
    transform: translateY(0%);
    opacity: 1;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .envelope {
    aspect-ratio: unset;
    width: min(88vw, 680px);
    min-height: 420px;
    height: auto;
  }

  .hero.is-open .envelope {
    min-height: 600px;
  }

  .envelope__letter {
    left: 16px;
    right: 16px;
    bottom: 12px;
    padding: 36px 40px 32px;
    box-sizing: border-box;
  }

  .letter__headline {
    font-size: clamp(20px, 3vw, 28px);
  }

  .letter__prompt {
    font-size: 15px;
    margin-top: 10px;
  }
}
