:root {
  color-scheme: light;
  --ink: #27221f;
  --muted: #6f6259;
  --paper: #fffaf4;
  --petal: #e34a5f;
  --rose: #9f1f3c;
  --leaf: #2f8065;
  --leaf-dark: #1e5c4a;
  --gold: #f0bc5e;
  --sky: #b9dce5;
  --lavender: #c84559;
  --line: rgba(39, 34, 31, 0.15);
  --shadow: 0 24px 80px rgba(92, 66, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 188, 94, 0.35), transparent 28rem),
    linear-gradient(180deg, #f8efe4 0%, #fefaf3 44%, #e9f4ed 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
a {
  font: inherit;
}

.page-shell {
  overflow: hidden;
  position: relative;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 48px clamp(20px, 5vw, 72px) 48px;
}

.garden-stage {
  position: relative;
  min-height: min(64vw, 620px);
  order: 2;
  display: grid;
  place-items: center;
}

.garden-stage::before,
.sun {
  content: "";
  position: absolute;
  pointer-events: none;
}

.garden-stage::before {
  right: 8%;
  bottom: 3%;
  z-index: 1;
  width: clamp(280px, 42vw, 560px);
  height: clamp(300px, 45vw, 580px);
  border-radius: 48% 52% 28% 34% / 26% 30% 28% 34%;
  background:
    linear-gradient(138deg, rgba(255, 250, 244, 0.58) 0 42%, transparent 43%),
    linear-gradient(222deg, rgba(247, 228, 205, 0.72) 0 52%, rgba(236, 206, 176, 0.54) 53% 100%);
  box-shadow: -16px 28px 70px rgba(92, 66, 48, 0.16);
  transform: rotate(2deg);
}

.sun {
  position: absolute;
  top: 10%;
  right: 10%;
  width: clamp(98px, 14vw, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe1a0 0 42%, rgba(255, 225, 160, 0.1) 70%);
  animation: breathe 5s ease-in-out infinite;
}

.bouquet-image {
  position: relative;
  z-index: 3;
  display: block;
  width: min(100%, clamp(350px, 52vw, 680px));
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(77, 50, 35, 0.24));
  transform: translate(2%, 1%) rotate(-1.5deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 9.8rem);
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.intro,
.ask-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.sender-reveal {
  display: inline-flex;
  margin: 4px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fffaf4;
  background: var(--leaf-dark);
  font-weight: 820;
}

.primary-link,
.bloom-button,
.answer,
.idea {
  border: 0;
  cursor: pointer;
}

.primary-link,
.bloom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fffaf4;
  background: var(--leaf-dark);
  box-shadow: 0 14px 30px rgba(30, 92, 74, 0.22);
  font-weight: 760;
  text-decoration: none;
}

.video-band,
.ask-band {
  padding: 72px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(260px, 560px) minmax(240px, 320px);
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 0;
  width: 100%;
  max-width: 560px;
  border: 1px solid rgba(39, 34, 31, 0.12);
  border-radius: 8px;
  background: #15110f;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.watch-note {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 36px);
  border-left: 4px solid var(--petal);
  background: rgba(255, 255, 255, 0.5);
}

.note-number {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.8;
}

.watch-note p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.bloom-button span {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--gold) 0 23%, transparent 25%),
    conic-gradient(#ff9aa3, var(--rose), #a3c7a4, #ff9aa3);
}

.ask-band {
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(47, 128, 101, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.7), rgba(218, 238, 225, 0.7));
}

.petal-lock {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.petal-lock span {
  position: absolute;
  width: 18vw;
  max-width: 220px;
  min-width: 110px;
  aspect-ratio: 0.75;
  border-radius: 70% 70% 45% 45%;
  background: rgba(227, 74, 95, 0.52);
  filter: blur(0.2px);
  transform-origin: 50% 90%;
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 600ms ease;
}

.petal-lock span:nth-child(1) {
  top: 10%;
  left: 18%;
  transform: rotate(-30deg);
}

.petal-lock span:nth-child(2) {
  top: 8%;
  right: 18%;
  transform: rotate(34deg);
}

.petal-lock span:nth-child(3) {
  bottom: 11%;
  left: 16%;
  transform: rotate(-135deg);
}

.petal-lock span:nth-child(4) {
  bottom: 10%;
  right: 16%;
  transform: rotate(135deg);
}

.petal-lock span:nth-child(5) {
  top: 36%;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
}

.ask-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform: translateY(10px);
  opacity: 0.52;
  transition: opacity 500ms ease, transform 500ms ease;
}

.is-open .ask-inner {
  transform: translateY(0);
  opacity: 1;
}

.is-open .petal-lock span {
  opacity: 0.08;
}

.is-open .petal-lock span:nth-child(1) {
  transform: translate(-26vw, -12vh) rotate(-64deg);
}

.is-open .petal-lock span:nth-child(2) {
  transform: translate(28vw, -14vh) rotate(66deg);
}

.is-open .petal-lock span:nth-child(3) {
  transform: translate(-24vw, 18vh) rotate(-170deg);
}

.is-open .petal-lock span:nth-child(4) {
  transform: translate(24vw, 18vh) rotate(170deg);
}

.is-open .petal-lock span:nth-child(5) {
  transform: translate(-50%, -28vh) rotate(14deg);
}

.choice-step {
  margin-top: 24px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-label span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf4;
  background: var(--rose);
  letter-spacing: 0;
}

.step-label p {
  margin: 0;
}

.date-ideas,
.answer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.idea {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 720;
}

.idea.is-selected {
  color: #fffaf4;
  background: var(--rose);
}

.date-preview {
  max-width: 760px;
  margin-top: 12px;
  padding: 14px 16px;
  border-left: 4px solid var(--rose);
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  line-height: 1.55;
}

.date-preview p {
  margin: 0;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answer {
  min-height: 62px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 820;
  box-shadow: inset 0 0 0 1px var(--line);
}

.answer.yes {
  color: #fffaf4;
  background: var(--leaf-dark);
}

.answer.no {
  background: #f4ece6;
}

.response-panel {
  min-height: 86px;
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--leaf);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  line-height: 1.55;
}

.response-panel p {
  margin: 0;
}

.response-panel.is-envelope {
  overflow: hidden;
  position: relative;
  min-height: 174px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-left-color: var(--rose);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 239, 237, 0.72));
}

.envelope {
  position: relative;
  width: 132px;
  height: 92px;
  perspective: 600px;
}

.envelope-back,
.envelope-letter,
.envelope-flap {
  position: absolute;
  display: block;
}

.envelope-back {
  inset: 24px 0 0;
  border-radius: 6px;
  background:
    linear-gradient(145deg, transparent 49%, rgba(159, 31, 60, 0.18) 50%),
    linear-gradient(215deg, transparent 49%, rgba(159, 31, 60, 0.16) 50%),
    #fffaf4;
  box-shadow: inset 0 0 0 1px rgba(159, 31, 60, 0.22), 0 14px 28px rgba(136, 31, 53, 0.16);
}

.envelope-letter {
  left: 15px;
  right: 15px;
  bottom: 20px;
  height: 58px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(159, 31, 60, 0.16), transparent 2px) 16px 18px / 70px 10px no-repeat,
    linear-gradient(180deg, rgba(47, 128, 101, 0.18), transparent 2px) 16px 36px / 92px 10px no-repeat,
    #ffffff;
  box-shadow: 0 8px 18px rgba(136, 31, 53, 0.12);
  transform: translateY(36px);
  animation: letterRise 1100ms 420ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.envelope-flap {
  left: 0;
  right: 0;
  top: 24px;
  height: 58px;
  clip-path: polygon(0 0, 50% 66%, 100% 0);
  border-radius: 6px 6px 0 0;
  background: #f1c7c9;
  transform-origin: top;
  animation: flapOpen 900ms 160ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.envelope-message {
  opacity: 0;
  transform: translateY(10px);
  animation: noteReveal 650ms 1250ms ease forwards;
}

@keyframes flapOpen {
  to {
    transform: rotateX(172deg);
  }
}

@keyframes letterRise {
  to {
    transform: translateY(-18px);
  }
}

@keyframes noteReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 860px) {
  .hero-section,
  .video-layout {
    grid-template-columns: 1fr;
  }

  .garden-stage {
    order: -1;
    min-height: 420px;
  }

  .hero-section {
    min-height: auto;
  }

  h1 {
    max-width: 8ch;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-section {
    padding-top: 28px;
  }

  .garden-stage {
    min-height: 350px;
  }

  .video-frame iframe {
    min-height: 0;
  }

  .response-panel.is-envelope {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .envelope-letter,
  .envelope-flap,
  .envelope-message {
    animation-delay: 0ms !important;
  }
}
