body.theme-pearl-moon {
  --bg: #fbf8ff;
  --bg-soft: rgba(255,255,255,.9);
  --text: #564a73;
  --text-soft: rgba(86,74,115,.74);
  --accent: #bfb3e8;
  --accent-deep: #9788d4;
  --accent-rich: #a8d4e8;
  --shadow-soft: 0 28px 56px rgba(112,96,167,.14);
  --shadow-card: 0 16px 30px rgba(112,96,167,.1);
  background:
    radial-gradient(circle at 20% 10%, rgba(191,179,232,.2), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(168,212,232,.16), transparent 18%),
    linear-gradient(180deg, #fefcff 0%, #f4f0ff 54%, #fbf9ff 100%);
  font-family: "Inter", sans-serif;
}

.theme-pearl-moon h1,
.theme-pearl-moon h2,
.theme-pearl-moon h3 { font-family: "Playfair Display", serif; }

.theme-pearl-moon .section-nav,
.theme-pearl-moon .music-toggle,
.theme-pearl-moon .hero-copy,
.theme-pearl-moon .hero-visual,
.theme-pearl-moon .celebration-card,
.theme-pearl-moon .theme-note,
.theme-pearl-moon .detail-card,
.theme-pearl-moon .guest-note-card,
.theme-pearl-moon .blessing-panel,
.theme-pearl-moon .map-panel,
.theme-pearl-moon .details-image,
.theme-pearl-moon .theme-showcase__photo,
.theme-pearl-moon .rsvp-card,
.theme-pearl-moon .hero-floating,
.theme-pearl-moon .fact-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(191,179,232,.18);
  box-shadow: var(--shadow-card);
  border-radius: 34px;
}

.theme-pearl-moon .section-nav a.is-active,
.theme-pearl-moon .button-primary {
  background: linear-gradient(135deg, #bfb3e8, #9788d4);
  color: #fff;
}

.theme-pearl-moon .hero { min-height: auto; padding-top: clamp(2.75rem, 6vw, 4rem); display: flex; align-items: flex-start; }
.theme-pearl-moon .hero .reveal { opacity: 1; transform: none; filter: none; }
.theme-pearl-moon .hero__grid { grid-template-columns: minmax(0, .94fr) minmax(20rem, 1.06fr); gap: 1.6rem; align-items: center; }
.theme-pearl-moon .hero-copy { max-width: none; margin: 0; text-align: left; }
.theme-pearl-moon .hero-copy__lead { margin-left: 0; margin-right: 0; }
.theme-pearl-moon .hero-visual { display:grid; grid-template-columns: 1fr; gap:1rem; align-items:center; justify-items:center; width:min(100%, 28rem); margin-left:auto; padding:.5rem 0 0; }
.theme-pearl-moon .hero-frame { grid-column: auto; width:100%; margin-left:0; }
.theme-pearl-moon .hero-floating-left { grid-column: auto; justify-self:start; margin-left:-1rem; }
.theme-pearl-moon .hero-floating-right { grid-column: auto; justify-self:end; margin-right:-0.85rem; margin-top:-0.25rem; }
.theme-pearl-moon .hero-copy__actions,
.theme-pearl-moon .hero-copy__facts { justify-content:flex-start; }
.theme-pearl-moon .hero-copy h1 { font-size: clamp(3.3rem, 7vw, 5.8rem); line-height: .92; }
.theme-pearl-moon .hero-copy em,
.theme-pearl-moon .eyebrow,
.theme-pearl-moon .card-kicker { color: #9788d4; font-style: normal; }
.theme-pearl-moon .hero-frame__peek { min-height:auto; display:grid; gap:.9rem; }
.theme-pearl-moon .hero-frame__peek img { width:100%; margin:0; }
.theme-pearl-moon .hero-frame__badge,
.theme-pearl-moon .hero-floating { position:relative; inset:auto; width:min(100%, 14rem); max-width:14rem; margin:0; }
.theme-pearl-moon .hero-frame__badge { right:auto; bottom:auto; }
.theme-pearl-moon .theme-showcase__grid,
.theme-pearl-moon .blessing-panel__inner,
.theme-pearl-moon .rsvp-card { grid-template-columns: 1fr 1fr; gap:1rem; }
.theme-pearl-moon .celebration-grid,
.theme-pearl-moon .guest-notes-grid { grid-template-columns: 1fr 1fr; gap:1rem; }
.theme-pearl-moon .celebration-card--wide,
.theme-pearl-moon .guest-note-card-small { grid-column: 1 / -1; }

@media (min-width: 961px) {
  .theme-pearl-moon .hero__grid {
    grid-template-columns: minmax(0, .94fr) minmax(20rem, 1.06fr);
    gap: 1.75rem;
    max-width: 64rem;
  }

  .theme-pearl-moon .hero-copy {
    max-width: 35rem;
  }

  .theme-pearl-moon .hero-copy h1 {
    max-width: 8ch;
    margin-left: 0;
    margin-right: 0;
  }

  .theme-pearl-moon .hero-visual {
    justify-self: end;
  }
}

@media (max-width: 960px) {
  .theme-pearl-moon .hero {
    padding-top: 2.5rem;
    display: block;
  }

  .theme-pearl-moon .hero__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .theme-pearl-moon .hero-copy,
  .theme-pearl-moon .hero-copy__lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .theme-pearl-moon .hero-copy__actions,
  .theme-pearl-moon .hero-copy__facts {
    justify-content: center;
  }

  .theme-pearl-moon .hero-visual,
  .theme-pearl-moon .theme-showcase__grid,
  .theme-pearl-moon .blessing-panel__inner,
  .theme-pearl-moon .rsvp-card,
  .theme-pearl-moon .celebration-grid,
  .theme-pearl-moon .guest-notes-grid { grid-template-columns: 1fr; }

  .theme-pearl-moon .hero-visual {
    width: min(100%, 32rem);
    gap: 0.9rem;
    margin: 0 auto;
  }

  .theme-pearl-moon .hero-frame,
  .theme-pearl-moon .hero-floating-left,
  .theme-pearl-moon .hero-floating-right { grid-column: auto; margin-left: 0; margin-right: 0; }
}

/* Layout polish: normalize grid rhythm, margins, and card padding. */
.theme-pearl-moon {
  --template-grid-gap: clamp(1.35rem, 2.4vw, 2rem);
  --template-card-pad: clamp(1.25rem, 2vw, 1.7rem);
}

.theme-pearl-moon .section-heading,
.theme-pearl-moon .location .section-heading,
.theme-pearl-moon .details .section-heading {
  margin-bottom: clamp(1.15rem, 2.1vw, 1.65rem);
}

.theme-pearl-moon .celebration-card,
.theme-pearl-moon .theme-note,
.theme-pearl-moon .detail-card,
.theme-pearl-moon .guest-note-card {
  padding: var(--template-card-pad);
}

.theme-pearl-moon .blessing-panel {
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
}

.theme-pearl-moon .blessing-point {
  padding: clamp(1.05rem, 1.8vw, 1.35rem);
}

.theme-pearl-moon .rsvp-card {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.theme-pearl-moon .hero__grid,
.theme-pearl-moon .theme-showcase__grid,
.theme-pearl-moon .blessing-panel__inner,
.theme-pearl-moon .rsvp-card {
  gap: var(--template-grid-gap);
}

.theme-pearl-moon .celebration-grid,
.theme-pearl-moon .details-grid,
.theme-pearl-moon .guest-notes-grid {
  gap: clamp(1rem, 2vw, 1.3rem);
}

.theme-pearl-moon .theme-showcase__cards,
.theme-pearl-moon .blessing-side {
  gap: 0.95rem;
}

.theme-pearl-moon .blessing-points {
  gap: 0.9rem;
}

.theme-pearl-moon .form-grid {
  gap: 0.95rem 1rem;
}

.theme-pearl-moon .theme-note:nth-child(2),
.theme-pearl-moon .theme-note:nth-child(3) {
  transform: none;
}

@media (min-width: 961px) {
  .theme-pearl-moon .theme-showcase__grid {
    grid-template-columns: minmax(18rem, 0.96fr) minmax(0, 1.04fr);
  }

  .theme-pearl-moon .blessing-panel__inner {
    grid-template-columns: minmax(0, 0.94fr) minmax(20rem, 1.06fr);
  }

  .theme-pearl-moon .rsvp-card {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }

  .theme-pearl-moon .location {
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
    column-gap: clamp(1.75rem, 3vw, 2.6rem);
  }

  .theme-pearl-moon .details {
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
    gap: 1.35rem clamp(1.8rem, 3vw, 2.6rem);
    align-items: start;
  }

  .theme-pearl-moon .details-image {
    margin-top: 0.15rem;
  }
}

@media (max-width: 960px) {
  .theme-pearl-moon .section-heading,
  .theme-pearl-moon .location .section-heading,
  .theme-pearl-moon .details .section-heading {
    margin-bottom: 1rem;
  }

  .theme-pearl-moon .theme-showcase__cards,
  .theme-pearl-moon .blessing-side,
  .theme-pearl-moon .guest-notes-grid,
  .theme-pearl-moon .form-grid {
    gap: 0.9rem;
  }
}
