:root {
  --ink: #3e2528;
  --wine: #7d2632;
  --wine-dark: #561a22;
  --gold: #b58a48;
  --cream: #f6efe7;
  --blush: #ead7cc;
  --paper: #fffaf5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(86, 26, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,0.92), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(181,138,72,0.1), transparent 30%),
    linear-gradient(180deg, #f7f0e9 0%, #f2e5dc 48%, #efe1d7 100%);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(120deg, rgba(125, 38, 50, 0.05) 1px, transparent 1px),
    linear-gradient(30deg, rgba(181, 138, 72, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  z-index: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,0.9), transparent 35%),
    linear-gradient(150deg, #f7ede5 0%, #ead6c9 48%, #dcc0b0 100%);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

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

.intro-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(70px);
  background: rgba(181, 138, 72, 0.17);
  animation: pulseGlow 4s ease-in-out infinite;
}

.intro-card {
  position: relative;
  width: min(92vw, 460px);
  padding: 52px 30px 42px;
  text-align: center;
  border: 1px solid rgba(181, 138, 72, 0.52);
  border-radius: 34px;
  background: rgba(255, 250, 245, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.intro-card::before,
.intro-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(181, 138, 72, 0.34);
  border-radius: 50%;
}

.intro-card::before {
  top: -95px;
  left: -70px;
}

.intro-card::after {
  right: -70px;
  bottom: -95px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.monogram,
.footer-monogram {
  font-family: "Cormorant Garamond", serif;
  color: var(--wine);
  font-size: 4.8rem;
  line-height: 1;
}

.monogram span,
.footer-monogram span {
  color: var(--gold);
  font-size: 0.56em;
  vertical-align: middle;
}

.intro-card h1 {
  margin: 16px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 600;
  line-height: 0.98;
}

.intro-card h1 em {
  display: block;
  margin: 7px 0;
  color: var(--gold);
  font-style: normal;
}

.intro-card p {
  margin: 0 0 26px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-card small {
  display: block;
  margin-top: 12px;
  color: rgba(62, 37, 40, 0.62);
  font-size: 0.7rem;
}

.primary-btn,
.outline-btn,
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  box-shadow: 0 14px 30px rgba(86, 26, 34, 0.24);
}

.primary-btn:hover,
.outline-btn:hover,
.whatsapp-btn:hover {
  transform: translateY(-2px);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  margin: 0 auto;
  background: rgba(255, 250, 245, 0.74);
  box-shadow: 0 0 80px rgba(86, 26, 34, 0.08);
}

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

.hero {
  background:
    radial-gradient(circle at 50% 22%, rgba(181, 138, 72, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(246,239,231,0.25));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(181, 138, 72, 0.24);
  border-radius: 50%;
}

.hero::before {
  left: -190px;
  top: -85px;
}

.hero::after {
  right: -190px;
  bottom: -85px;
}

.host {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--wine);
}

.request-line,
.hero-copy {
  max-width: 460px;
  line-height: 1.9;
  font-size: 0.88rem;
  color: rgba(62, 37, 40, 0.78);
}

.couple-name {
  margin: 6px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 12vw, 5.4rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--wine-dark);
}

.ampersand {
  margin: 4px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.6rem;
  color: var(--gold);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  width: 26px;
  height: 46px;
  border: 1px solid rgba(125, 38, 50, 0.35);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--gold);
  animation: scrollDrop 1.7s ease-in-out infinite;
}

.section-card,
.whatsapp-card {
  width: min(100%, 500px);
  padding: 46px 28px;
  border: 1px solid rgba(181, 138, 72, 0.34);
  border-radius: 32px;
  background: rgba(255, 250, 245, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.section-card h3,
.venue-section h3,
.whatsapp-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 9vw, 4rem);
  font-weight: 600;
  color: var(--wine-dark);
}

.date-section {
  background:
    linear-gradient(rgba(246,239,231,0.8), rgba(246,239,231,0.8)),
    radial-gradient(circle at 18% 20%, rgba(125,38,50,0.12), transparent 23%),
    radial-gradient(circle at 82% 76%, rgba(181,138,72,0.14), transparent 24%);
}

.date-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "day month"
    "day year";
  align-items: center;
  justify-content: center;
  gap: 0 18px;
  margin-top: 26px;
}

.date-day {
  grid-area: day;
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  line-height: 0.75;
  color: var(--wine);
}

.date-month {
  grid-area: month;
  align-self: end;
  text-align: left;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--gold);
}

.date-year {
  grid-area: year;
  align-self: start;
  text-align: left;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
}

.countdown-section {
  background: linear-gradient(180deg, #6f202c, #4f1820);
  color: var(--white);
}

.countdown-section .eyebrow {
  color: #e6c98d;
}

.countdown {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.countdown div {
  padding: 24px 8px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.countdown strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 8vw, 3.3rem);
  font-weight: 500;
}

.countdown span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.visual-section {
  padding-inline: 18px;
}

.portrait-frame {
  width: min(100%, 470px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-0.6deg);
}

.portrait-frame svg {
  display: block;
  width: 100%;
  height: auto;
}

.visual-caption {
  margin: 26px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  color: var(--wine);
}

.details-section {
  background: linear-gradient(180deg, rgba(234,215,204,0.56), rgba(246,239,231,0.95));
}

.details-card h3 {
  font-size: clamp(2rem, 8vw, 3.4rem);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.detail-grid div {
  padding: 24px 12px;
  border-radius: 20px;
  background: rgba(125,38,50,0.06);
}

.detail-grid span,
.detail-grid strong {
  display: block;
}

.detail-grid span {
  margin-bottom: 7px;
  color: rgba(62,37,40,0.64);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-grid strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--wine-dark);
}

.venue-section p:not(.eyebrow) {
  max-width: 390px;
  margin: 16px auto 28px;
  line-height: 1.8;
}

.outline-btn {
  border: 1px solid var(--wine);
  color: var(--wine);
  background: transparent;
}

.whatsapp-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(181,138,72,0.18), transparent 28%),
    linear-gradient(180deg, #f6efe7, #ebd9ce);
}

.whatsapp-card h3 {
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.05;
}

.whatsapp-btn {
  margin-top: 30px;
  color: var(--white);
  background: #246b4a;
  box-shadow: 0 14px 30px rgba(36,107,74,0.2);
}

.footer {
  min-height: 65svh;
  background: #4c1820;
  color: var(--white);
}

.footer .footer-monogram {
  color: #f2dfd1;
}

.footer p {
  max-width: 320px;
  margin-top: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.music-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(181,138,72,0.45);
  border-radius: 999px;
  color: var(--wine-dark);
  background: rgba(255,250,245,0.9);
  box-shadow: 0 12px 30px rgba(86,26,34,0.14);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.music-toggle.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.music-toggle.is-muted .music-icon {
  text-decoration: line-through;
}

.music-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.92); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes scrollDrop {
  0% { transform: translate(-50%, 0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, 16px); opacity: 0; }
}

@media (max-width: 520px) {
  .section {
    padding: 76px 18px;
  }

  .countdown {
    gap: 7px;
  }

  .countdown div {
    padding: 20px 4px 16px;
    border-radius: 18px;
  }

  .date-day {
    font-size: 5.8rem;
  }

  .date-month {
    font-size: 1.8rem;
  }
}

@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;
  }
}
