:root {
  --bg-cream: #fffaf6;
  --bg-rose: #f7e8ea;
  --bg-champagne: #f6efe2;
  --text-main: #3f2f35;
  --text-soft: #6a4b56;
  --accent-wine: #8d3b53;
  --accent-gold: #c9a56b;
  --glass: rgba(255, 255, 255, 0.52);
  --glass-border: rgba(255, 255, 255, 0.62);
  --shadow-soft: 0 12px 40px rgba(102, 45, 66, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 15% 10%, #fffdfb 0%, var(--bg-cream) 40%, #f4e4e8 100%);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.12;
}

p {
  line-height: 1.72;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  background: linear-gradient(160deg, #fff8f2, #f4e1e7);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-heart {
  font-size: 2.2rem;
  color: var(--accent-wine);
  animation: pulse 1.4s ease-in-out infinite;
}

.loader p {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--text-soft);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  z-index: -2;
}

.bg-orb-1 {
  width: 350px;
  height: 350px;
  left: -90px;
  top: -100px;
  background: rgba(255, 192, 203, 0.35);
}

.bg-orb-2 {
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: 10%;
  background: rgba(201, 165, 107, 0.24);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem clamp(1rem, 3.2vw, 3rem) 2.2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.7), transparent 42%),
    radial-gradient(circle at 80% 30%, rgba(255, 224, 233, 0.58), transparent 45%),
    linear-gradient(150deg, rgba(255, 245, 247, 0.86), rgba(243, 220, 224, 0.78));
  z-index: -3;
}

.hero-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-layer-back {
  background: radial-gradient(circle at 70% 20%, rgba(141, 59, 83, 0.08), transparent 40%);
  transform: translateY(0);
}

.hero-layer-front {
  background: radial-gradient(circle at 20% 80%, rgba(201, 165, 107, 0.15), transparent 35%);
  transform: translateY(0);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2vw, 2rem);
  letter-spacing: 0.04em;
}

.nav-link {
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.8);
}

.hero-content {
  max-width: 780px;
  margin: 5vh auto 0;
  text-align: center;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 10;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

.hero-subheadline {
  font-size: clamp(1.03rem, 2.3vw, 1.25rem);
  margin-top: 1rem;
  color: var(--text-soft);
}

.hero-message {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.cta-btn {
  display: inline-block;
  margin-top: 1.7rem;
  padding: 0.88rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-wine), #b44f6b);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(141, 59, 83, 0.34);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 28px rgba(141, 59, 83, 0.42);
}

.scroll-indicator {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-bottom: 0.3rem;
  z-index: 10;
}

.scroll-dot {
  width: 2px;
  height: 36px;
  background: linear-gradient(var(--accent-wine), transparent);
  animation: drop 1.6s ease-in-out infinite;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.heart {
  position: absolute;
  bottom: -30px;
  color: rgba(141, 59, 83, 0.42);
  animation-name: floatHeart;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  filter: drop-shadow(0 0 8px rgba(255, 182, 193, 0.5));
}

.section {
  padding: clamp(3.6rem, 8vw, 6.4rem) 1rem;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: center;
}

.text-block h2 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-bottom: 1.1rem;
}

.text-block p + p {
  margin-top: 0.9rem;
}

.section-love {
  position: relative;
}

.section-love::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: 5%;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 220, 0.5), transparent 65%);
  pointer-events: none;
}

.photo-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  overflow: hidden;
  min-height: 300px;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(130deg, rgba(255, 245, 248, 0.9), rgba(244, 230, 234, 0.86));
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--text-soft);
}

.photo-card.is-empty .photo-placeholder {
  display: grid;
}

.photo-placeholder p {
  font-weight: 600;
}

.photo-placeholder small {
  margin-top: 0.4rem;
}

.section-voucher {
  background:
    linear-gradient(165deg, rgba(250, 242, 236, 0.96), rgba(246, 232, 236, 0.93));
}

.voucher-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2rem;
}

.voucher-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.voucher-head p {
  margin-top: 0.8rem;
  color: var(--text-soft);
}

.voucher-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.63);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-radius: 26px;
  padding: clamp(1.35rem, 3.7vw, 2.5rem);
  box-shadow: 0 18px 50px rgba(126, 76, 92, 0.2);
  position: relative;
  overflow: hidden;
}

.voucher-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 165, 107, 0.45);
  margin: 12px;
  border-radius: 18px;
  pointer-events: none;
}

.voucher-ribbon {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(120deg, #9a425f, #b75373);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.voucher-card h3 {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  margin-bottom: 0.9rem;
}

.voucher-card p + p {
  margin-top: 0.8rem;
}

.voucher-signature {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.7rem;
  font-family: 'Cormorant Garamond', serif;
}

.voucher-signature span {
  color: var(--text-soft);
  font-size: 1.1rem;
}

.voucher-signature strong {
  font-size: 1.45rem;
}

.section-memory {
  position: relative;
}

.section-memory::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(to top, rgba(255, 234, 237, 0.9), transparent);
  pointer-events: none;
}

.closing {
  margin-top: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
}

.closing span {
  font-size: 1.32rem;
}

.footer {
  text-align: center;
  padding: 1.6rem 1rem 2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

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

@keyframes floatHeart {
  0% {
    transform: translateY(0) translateX(0) scale(0.85) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  100% {
    transform: translateY(-115vh) translateX(34px) scale(1.15) rotate(14deg);
    opacity: 0;
  }
}

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

@keyframes drop {
  0% {
    opacity: 0.25;
    transform: translateY(-4px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.25;
    transform: translateY(8px);
  }
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 1.4rem;
  }

  .hero-content {
    margin-top: 2.8rem;
  }

  .voucher-signature {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .top-nav {
    gap: 0.8rem;
  }

  .nav-link {
    font-size: 0.82rem;
    padding: 0.45rem 0.8rem;
  }

  .scroll-indicator span:first-child {
    font-size: 0.76rem;
  }
}

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