:root {
  color-scheme: light;
  --cream: #fdf6f1;
  --cream-2: #fbeee6;
  --blush: #f3c9d4;
  --rose: #e08c9b;
  --rose-deep: #c96479;
  --sage: #8fa07e;
  --sage-deep: #6b7d5b;
  --gold: #e8b04b;
  --ink: #4a3529;
  --ink-soft: #7a6155;
  --shadow: 0 24px 60px rgba(190, 110, 120, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 18px;
  color: var(--rose-deep);
}

p {
  margin: 0 0 16px;
}

/* ---------- falling petals ---------- */

.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -40px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--rose), var(--blush));
  border-radius: 50% 0 50% 50%;
  opacity: 0.75;
  animation: fall linear infinite, sway ease-in-out infinite;
}

@keyframes fall {
  from {
    transform: translateY(-5vh) rotate(0deg);
  }
  to {
    transform: translateY(105vh) rotate(360deg);
  }
}

@keyframes sway {
  0%,
  100% {
    margin-left: -20px;
  }
  50% {
    margin-left: 20px;
  }
}

/* ---------- nav dots ---------- */

.dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 20;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(201, 100, 121, 0.3);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.dots span:hover,
.dots span.active {
  background: var(--rose-deep);
  transform: scale(1.3);
}

@media (max-width: 700px) {
  .dots {
    display: none;
  }
}

/* ---------- sections ---------- */

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

.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 14px;
}

.lede,
.body-text {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  max-width: 780px;
  line-height: 1.15;
}

.story h2,
.reasons h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 700px;
}

/* ---------- decorative flowers ---------- */

.flower-corner {
  position: absolute;
  width: 110px;
  height: 110px;
  opacity: 0.5;
  color: var(--blush);
  pointer-events: none;
}

.flower-corner svg {
  width: 100%;
  height: 100%;
}

.top-left {
  top: 30px;
  left: 30px;
  transform: rotate(-15deg);
  color: var(--rose);
}

.bottom-right {
  bottom: 30px;
  right: 30px;
  transform: rotate(20deg);
  color: var(--sage);
}

@media (max-width: 700px) {
  .flower-corner {
    width: 70px;
    height: 70px;
    opacity: 0.35;
  }
}

.divider {
  margin-bottom: 8px;
}

.divider-flower {
  width: 46px;
  height: 46px;
  color: var(--rose);
}

/* ---------- scroll cue ---------- */

.scroll-cue {
  margin-top: 46px;
  background: none;
  border: none;
  color: var(--rose-deep);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ---------- reasons grid ---------- */

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 22px;
  max-width: 720px;
  margin-top: 14px;
}

.reason-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(224, 140, 155, 0.25);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.reason-icon {
  width: 34px;
  height: 34px;
  color: var(--rose);
  margin-bottom: 12px;
}

.reason-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--rose-deep);
}

.reason-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .reason-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- question section ---------- */

.ask {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.dodge-zone {
  position: relative;
  width: min(90vw, 460px);
  height: 130px;
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: white;
  box-shadow: 0 14px 30px rgba(201, 100, 121, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  border: 1px solid rgba(201, 100, 121, 0.25);
  transition: left 260ms ease, top 260ms ease, transform 180ms ease;
}

.response-box {
  margin-top: 26px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--rose-deep);
  min-height: 30px;
}

.response-box.hidden {
  display: none;
}

/* ---------- reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- celebration overlay ---------- */

.celebration {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: radial-gradient(circle at center, rgba(255, 245, 240, 0.97), rgba(243, 201, 212, 0.97));
  overflow: hidden;
}

.celebration.hidden {
  display: none;
}

.celebration-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.celebration-content h2 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 12px;
}

.celebration-content p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.celebration-close {
  margin-top: 20px;
  border: none;
  background: none;
  color: var(--rose-deep);
  text-decoration: underline;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

.confetti-piece {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50% 0 50% 50%;
  animation: burst 1600ms ease-out forwards;
  z-index: 1;
}

@keyframes burst {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
    opacity: 0;
  }
}
