body.theme-candy-carousel {
  --bg: #fff8f1;
  --text: #294064;
  --text-soft: rgba(41,64,100,.74);
  --accent: #ff9fb2;
  --accent-deep: #ff7f96;
  --accent-rich: #6eced2;
  --shadow-card: 0 16px 30px rgba(41,64,100,.1);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,159,178,.18), transparent 16%),
    radial-gradient(circle at 84% 12%, rgba(110,206,210,.18), transparent 16%),
    linear-gradient(180deg, #fffdf8 0%, #fff4e8 54%, #fffaf3 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.theme-candy-carousel h1,
.theme-candy-carousel h2,
.theme-candy-carousel h3,
.theme-candy-carousel .button,
.theme-candy-carousel .section-nav a { font-family: "Fredoka", sans-serif; }

.theme-candy-carousel .section-nav,
.theme-candy-carousel .music-toggle,
.theme-candy-carousel .hero-copy,
.theme-candy-carousel .celebration-card,
.theme-candy-carousel .theme-note,
.theme-candy-carousel .detail-card,
.theme-candy-carousel .guest-note-card,
.theme-candy-carousel .blessing-panel,
.theme-candy-carousel .map-panel,
.theme-candy-carousel .details-image,
.theme-candy-carousel .theme-showcase__photo,
.theme-candy-carousel .rsvp-card,
.theme-candy-carousel .hero-floating,
.theme-candy-carousel .fact-card,
.theme-candy-carousel .hero-frame {
  background: rgba(255,255,255,.84);
  border: 2px solid rgba(41,64,100,.08);
  box-shadow: var(--shadow-card);
  border-radius: 30px;
}

.theme-candy-carousel .section-nav a.is-active,
.theme-candy-carousel .button-primary {
  background: linear-gradient(135deg, #ff9fb2, #ff7f96);
  color: #243756;
}

.theme-candy-carousel .hero { min-height: auto; padding-top: clamp(2.75rem, 6vw, 4rem); display: flex; align-items: flex-start; }
.theme-candy-carousel .hero .reveal { opacity: 1; transform: none; filter: none; }
.theme-candy-carousel .hero__grid { grid-template-columns: minmax(0, .94fr) minmax(20rem, 1.06fr); gap: 1.5rem; align-items: center; }
.theme-candy-carousel .hero-copy { text-align:left; max-width:none; margin:0; }
.theme-candy-carousel .hero-copy__actions,
.theme-candy-carousel .hero-copy__facts { justify-content:flex-start; }
.theme-candy-carousel .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-candy-carousel .hero-frame { grid-column: auto; width:100%; margin-left:0; }
.theme-candy-carousel .hero-floating-left { grid-column: auto; justify-self:start; transform: rotate(-5deg); margin-left:-1.25rem; }
.theme-candy-carousel .hero-floating-right { grid-column: auto; justify-self:end; transform: rotate(5deg); margin-right:-1rem; margin-top:-0.35rem; }
.theme-candy-carousel .hero-frame__peek { min-height:auto; display:grid; gap:.9rem; }
.theme-candy-carousel .hero-frame__peek img { width:100%; margin:0; }
.theme-candy-carousel .hero-frame__badge,
.theme-candy-carousel .hero-floating { position:relative; inset:auto; width:min(100%, 14rem); max-width:14rem; margin:0; }
.theme-candy-carousel .hero-frame__badge { right:auto; bottom:auto; }
.theme-candy-carousel .celebration-grid,
.theme-candy-carousel .details-grid,
.theme-candy-carousel .guest-notes-grid { grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.theme-candy-carousel .celebration-card:nth-child(1) { grid-column: 1 / span 5; transform: rotate(-2deg); }
.theme-candy-carousel .celebration-card:nth-child(2) { grid-column: 6 / span 7; transform: rotate(2deg); }
.theme-candy-carousel .celebration-card--wide { grid-column: 3 / span 8; }
.theme-candy-carousel .detail-card:nth-child(1) { grid-column: 1 / span 4; }
.theme-candy-carousel .detail-card:nth-child(2) { grid-column: 5 / span 8; }
.theme-candy-carousel .detail-card:nth-child(3) { grid-column: 3 / span 7; }
.theme-candy-carousel .guest-note-card:nth-child(1) { grid-column: 1 / span 7; }
.theme-candy-carousel .guest-note-card:nth-child(2) { grid-column: 8 / span 5; }
.theme-candy-carousel .guest-note-card:nth-child(3) { grid-column: 4 / span 6; }
.theme-candy-carousel .hero-copy h1 { font-size: clamp(3.3rem, 7vw, 5.9rem); line-height: .92; }
.theme-candy-carousel .hero-copy em,
.theme-candy-carousel .eyebrow,
.theme-candy-carousel .card-kicker { color: #ff7f96; font-style: normal; }

@media (max-width: 960px) {
  .theme-candy-carousel .hero-visual,
  .theme-candy-carousel .celebration-grid,
  .theme-candy-carousel .details-grid,
  .theme-candy-carousel .guest-notes-grid { grid-template-columns: 1fr; }
  .theme-candy-carousel .hero-frame,
  .theme-candy-carousel .hero-floating-left,
  .theme-candy-carousel .hero-floating-right,
  .theme-candy-carousel .celebration-card,
  .theme-candy-carousel .detail-card,
  .theme-candy-carousel .guest-note-card { grid-column:auto; transform:none; }
}

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

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

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

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

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

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

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

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

.theme-candy-carousel .theme-showcase__cards,
.theme-candy-carousel .blessing-side {
  gap: 0.95rem;
}

.theme-candy-carousel .blessing-points {
  gap: 0.9rem;
}

.theme-candy-carousel .form-grid {
  gap: 0.95rem 1rem;
}

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

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

  .theme-candy-carousel .hero-copy {
    max-width: 35rem;
  }

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

  .theme-candy-carousel .hero-visual {
    justify-self: end;
  }

  .theme-candy-carousel .theme-showcase__grid {
    grid-template-columns: minmax(18rem, 0.96fr) minmax(0, 1.04fr);
  }

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

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

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

  .theme-candy-carousel .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-candy-carousel .details-image {
    margin-top: 0.15rem;
  }
}

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

  .theme-candy-carousel .hero {
    padding-top: 2.5rem;
    display: block;
  }

  .theme-candy-carousel .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    justify-items: center;
  }

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

  .theme-candy-carousel .hero-copy__actions,
  .theme-candy-carousel .hero-copy__facts {
    justify-content: center;
  }

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

  .theme-candy-carousel .hero-visual {
    width: min(100%, 32rem);
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin: 0 auto;
  }

  .theme-candy-carousel .hero-frame,
  .theme-candy-carousel .hero-floating-left,
  .theme-candy-carousel .hero-floating-right {
    grid-column: auto;
    transform: none;
    margin-left: 0;
    margin-right: 0;
  }
}
