/* Section: Hero Photo */
.section--hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
}

.hero__photo {
  position: absolute;
  inset: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.95;
  transition: opacity 1.4s ease-out;
}

.section--hero.is-hero-visible .hero__photo img {
  opacity: 1;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
}

.hero__caption {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  width: 100%;
  padding: var(--space-8) var(--space-6) max(var(--space-10), env(safe-area-inset-bottom, var(--space-10)));
}

.hero__caption-names {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, var(--fs-5xl));
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  animation: curtainReveal 1.4s cubic-bezier(0.33, 1, 0.68, 1) 0.2s both;
}

.hero__caption-names .amp { font-style: italic; color: var(--color-primary-light, #d4ae7a); }

.hero__caption-date {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  opacity: 0.85;
  animation: curtainReveal 1.3s cubic-bezier(0.33, 1, 0.68, 1) 0.7s both;
}

@keyframes curtainReveal {
  0%   { clip-path: inset(0 100% 0 0); transform: translateX(-10px); }
  100% { clip-path: inset(0 0% 0 0);   transform: translateX(0); }
}

/* Section: Quote → Monogram + Verse (cinematic dark) */
.section--quote {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  overflow: hidden;
  background: #0F0E0C;
  display: block !important;
}

.quote__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 1;
  filter: blur(1.2px);
  transform: scale(1.02);
}

.quote__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.20);
}

.quote__inner {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 3rem;
  color: #fff;
  text-align: center;
}

.quote__monogram {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(5rem, 16vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
}

.quote__hashtag {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  margin: 0.5rem 0 0;
}

.quote__verse {
  position: absolute;
  bottom: 2.5rem;
  left: 1.5rem;
  right: 1.5rem;
  text-align: left;
  max-width: 540px;
}

.quote__verse-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
  color: #fff;
}

.quote__verse-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (min-width: 768px) {
  .quote__inner { padding: 5rem 3rem 4rem; }
  .quote__verse { bottom: 3.5rem; left: 3rem; right: 3rem; }
}

/* Section: Profile (Bride + Groom) — cinematic full-bleed */
.section--bride,
.section--groom {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  overflow: hidden;
  background: #0F0E0C;
  display: block !important;
}

.profile {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  max-width: 90%;
  padding: 2rem 1.5rem max(2.5rem, env(safe-area-inset-bottom, 2.5rem));
  color: #fff;
  text-align: left;
}

.profile__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.profile__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

/* Vertical sidebar text */
.profile__overline {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  z-index: 3;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile__overline::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* Ghost name (large semi-transparent behind) */
.profile__ghost {
  position: absolute;
  bottom: 9rem;
  left: 1.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4rem, 14vw, 8rem);
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 1;
}

.profile__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1;
  color: #fff;
  margin: 0 0 0.5rem;
}

.profile__fullname {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.profile__parents-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.2rem;
}

.profile__parents {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.profile__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-decoration: none;
  transition: background 200ms ease;
}

.profile__ig:hover {
  background: rgba(255, 255, 255, 0.18);
}

.profile__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 1rem 0;
}

.section--groom .profile__photo img {
  object-position: 30% 30%;
}

.section--groom .profile__photo::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.80) 100%) !important;
}

/* Groom variant: left aligned */
.section--groom .profile {
  left: 0;
  right: auto;
  text-align: left;
}

.section--groom .profile__overline {
  left: 1.5rem;
  right: auto;
  top: 3rem;
  transform: rotate(90deg);
  transform-origin: left center;
}

.section--groom .profile__ghost {
  left: 1.5rem;
  right: auto;
}

.section--groom .profile__ig {
  margin-left: 0;
}

@media (min-width: 768px) {
  .profile {
    padding: 3rem 3rem max(3.5rem, env(safe-area-inset-bottom, 3.5rem));
    max-width: 520px;
  }
  .profile__overline { left: 2rem; }
  .profile__ghost { left: 3rem; bottom: 11rem; }
  .section--groom .profile__overline { left: 2rem; right: auto; top: 3rem; }
  .section--groom .profile__ghost { left: 3rem; right: auto; }
}

/* Bride variant: right aligned */
.section--bride .profile {
  left: auto;
  right: 0;
  text-align: right;
}

.section--bride .profile__overline {
  left: auto;
  right: 1.5rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
}

.section--bride .profile__overline::after {
  order: -1;
}

.section--bride .profile__ghost {
  left: auto;
  right: 1.5rem;
}

.section--bride .profile__ig {
  margin-left: auto;
}

/* Section: Event */
.events {
  display: grid;
  gap: var(--space-5);
}

.event__title {
  font-family: var(--font-script);
  color: var(--color-primary);
  font-size: var(--fs-3xl);
  text-align: center;
  margin-bottom: var(--space-2);
}

.event__date,
.event__time,
.event__venue,
.event__address {
  text-align: center;
  margin-bottom: var(--space-2);
}

.event .btn { margin-top: var(--space-4); display: block; max-width: 200px; margin-inline: auto; }

@media (min-width: 768px) {
  .events { grid-template-columns: 1fr 1fr; }
}

/* Section: Dresscode */
.dresscode {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.dresscode__swatch {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .dresscode__swatch { width: 80px; height: 80px; }
}

/* Section: Countdown */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  background: var(--color-glass);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(61,47,31,0.10), 0 1px 0 var(--color-glass-inset) inset;
  margin: var(--space-4) auto var(--space-2);
}

.countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 56px; }

.countdown__num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}

.countdown__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: var(--space-2);
}

.countdown__sep { color: var(--color-divider); font-size: var(--fs-xl); }

@media (max-width: 480px) {
  .countdown { padding: var(--space-3); gap: var(--space-2); }
  .countdown__unit { min-width: 44px; }
  .countdown__num { font-size: var(--fs-2xl); }
}

/* Section: RSVP */
.rsvp-form {
  max-width: 560px;
  margin: var(--space-6) auto 0;
}

.form-success {
  display: none;
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(184, 149, 106, 0.1);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  text-align: center;
}

.form-success.is-visible { display: block; }

/* Section: Story */
.timeline {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  position: relative;
  max-width: 600px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-divider);
}

.timeline__item {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-8);
}

.timeline__item:last-child { margin-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border: 3px solid var(--color-bg-alt);
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline__heading {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-1);
}

.timeline__year {
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

/* Section: Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.gallery__item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img { transform: scale(1.05); }

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .gallery__item--tall { grid-row: span 2; aspect-ratio: 1 / 2; }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
}

/* Section: Closing */
.closing__gift {
  display: inline-block;
  margin-top: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.closing__gift-item p { margin-bottom: var(--space-1); }

.closing__couple {
  font-family: var(--font-script);
  color: var(--color-primary);
  font-size: clamp(2.5rem, 7vw, 4rem);
  margin-bottom: 0;
}

/* ================================================================
   PHASES C-G: Cinematic dark sections
   ================================================================ */

/* Shared: full-bleed dark bg photo */
.story__bg,
.cdown__bg,
.ev__bg,
.wframe__bg,
.rsvp__bg,
.wishes__bg,
.gift__bg,
.closing__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.story__bg img,
.cdown__bg img,
.ev__bg img,
.wframe__bg img,
.rsvp__bg img,
.wishes__bg img,
.gift__bg img,
.closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------------
   Phase C: Love Story
   ---------------------------------------------------------------- */
.section--story {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #2A1F18;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
  scroll-snap-stop: normal;
}
.section--story .story__bg img {
  filter: grayscale(0.6) brightness(0.35);
  object-position: bottom center;
}
.story__content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem;
  color: #fff;
}
.story__header {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 2.5rem;
}
.story__photo {
  flex: 0 0 42%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.story__heading {
  flex: 1;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 6.5vw, 2.8rem);
  line-height: 1.15;
  color: #fff;
  margin: 0;
  padding-top: 0.5rem;
  align-self: center;
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.story__chapters {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.story__chapter-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 5vw, 2rem);
  color: #fff;
  margin: 0 0 0.5rem;
}
.story__chapter-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.story__scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------
   Phase D: Countdown
   ---------------------------------------------------------------- */
.section--countdown {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0F0E0C;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
}
.section--countdown .cdown__bg img {
  filter: grayscale(0.5) brightness(0.4);
}
.cdown__date-col {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  line-height: 1;
  color: rgba(255,255,255,0.5);
  gap: 0.25rem;
}
.cdown__date-col::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1.25rem;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.cdown__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 4rem 5rem;
  color: #fff;
  text-align: center;
}
.cdown__tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}
.cdown__units {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.cdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.cdown__unit .countdown__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
}
.cdown__unit-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.cdown__save-btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms, border-color 200ms;
}
.cdown__save-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

/* ----------------------------------------------------------------
   Phase D: Event
   ---------------------------------------------------------------- */
.section--event {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0F0E0C;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
}
.section--event .ev__bg img {
  filter: brightness(0.55);
  object-position: center 30%;
}
.ev__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3rem 1.5rem;
  gap: 0;
  color: #fff;
  text-align: center;
}
.ev__card {
  width: 100%;
  max-width: 400px;
  padding: 1.5rem 0;
}
.ev__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  color: #fff;
}
.ev__line {
  width: 80%;
  max-width: 320px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0.75rem auto;
}
.ev__date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}
.ev__day,
.ev__time {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  flex: 1;
}
.ev__day { text-align: right; }
.ev__time { text-align: left; }
.ev__date-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
  line-height: 1;
}
.ev__month,
.ev__year {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  display: block;
  line-height: 1;
}
.ev__date-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 10vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  margin: 0;
  display: block;
  text-align: center;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.ev__venue {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0.75rem 0 0.25rem;
}
.ev__addr {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1rem;
}
.ev__maps-btn {
  display: inline-block;
  padding: 0.6rem 2rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  text-transform: uppercase;
  transition: background 200ms;
}
.ev__maps-btn:hover { background: rgba(255,255,255,0.08); }
.ev__separator {
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   Dresscode (dark)
   ---------------------------------------------------------------- */
.section--dresscode {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #1A1715;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.dc__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dc__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.4);
}
.dc__body {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  color: #fff;
}
.dc__overline {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 0.75rem;
}
.dc__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: #fff;
  margin: 0 0 1rem;
}
.dc__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  max-width: 400px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.dc__swatches {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}
.dc__swatch {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* ----------------------------------------------------------------
   Phase E: Gallery
   ---------------------------------------------------------------- */
.section--gallery {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0F0E0C;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
  scroll-snap-stop: normal;
}
.gal__body {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 2rem;
  color: #fff;
}
.gal__overline {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 0.5rem;
  text-align: center;
}
.gal__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: #fff;
  margin: 0 0 1.5rem;
  text-align: center;
}
.gal__grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  grid-template-rows: 1.8fr 1.8fr 1.5fr 1.5fr;
  height: calc(100svh - 160px);
  gap: 6px;
}
.gal__item {
  display: block;
  overflow: hidden;
  background: #1a1715;
  min-height: 0;
}
.gal__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gal__item:nth-child(3) { grid-column: 3; grid-row: 2 / 4; }
.gal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.85);
  transition: filter 300ms;
}
.gal__item:hover img { filter: grayscale(0.3) brightness(1); }

/* Gallery Lightbox Modal */
.gal-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.gal-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gal-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gal-modal__frame {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 600px);
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.33, 1, 0.68, 1), opacity 380ms ease;
}

.gal-modal.is-open .gal-modal__frame {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.gal-modal__img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.gal-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ----------------------------------------------------------------
   Phase E: Wedding Frame
   ---------------------------------------------------------------- */
.section--frame {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0F0E0C;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
}
.section--frame .wframe__bg img {
  filter: grayscale(0.6) brightness(0.3);
}
.wframe__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3rem 2rem;
  color: #fff;
  text-align: center;
}
.wframe__mockup {
  margin-bottom: 2rem;
}
.wframe__card {
  position: relative;
  width: 180px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.wframe__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.7);
}
.wframe__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.75rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
}
.wframe__title-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #fff;
  margin: 0;
}
.wframe__couple-text,
.wframe__date-text,
.wframe__tag-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.wframe__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}
.wframe__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.wframe__open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  text-transform: uppercase;
  transition: background 200ms;
}
.wframe__open-btn:hover { background: rgba(255,255,255,0.08); }

/* ----------------------------------------------------------------
   Phase F: RSVP
   ---------------------------------------------------------------- */
.section--rsvp {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0F0E0C;
  padding: 0 !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section--rsvp .rsvp__bg img {
  filter: grayscale(0.8) brightness(0.25);
}
.rsvp__body {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem;
  color: #fff;
  max-width: 480px;
}
.rsvp__header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.rsvp__tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  flex-shrink: 0;
}
.rsvp__tag-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.rsvp__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 8vw, 3rem);
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.1;
}
.rsvp__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0 0 2rem;
}
.rsvp__field {
  margin-bottom: 1.25rem;
}
.rsvp__label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.rsvp__input,
.rsvp__textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 200ms;
  box-sizing: border-box;
}
.rsvp__input::placeholder,
.rsvp__textarea::placeholder { color: rgba(255,255,255,0.25); }
.rsvp__input:focus,
.rsvp__textarea:focus { border-color: rgba(255,255,255,0.5); }
.rsvp__textarea {
  min-height: 100px;
  resize: vertical;
}
.rsvp__toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.rsvp__toggle {
  cursor: pointer;
  display: block;
}
.rsvp__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.rsvp__toggle span {
  display: block;
  padding: 0.75rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  transition: background 200ms, color 200ms;
}
.rsvp__toggle:first-child span { border-right: 1px solid rgba(255,255,255,0.15); }
.rsvp__toggle input:checked + span {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.rsvp__submit {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms;
  margin-top: 0.5rem;
}
.rsvp__submit:hover { background: rgba(255,255,255,0.18); }

/* ----------------------------------------------------------------
   Phase F: Wishes Wall
   ---------------------------------------------------------------- */
.section--wishes {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0906;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
}
.section--wishes .wishes__bg img {
  filter: grayscale(1) brightness(0.15);
}
.wishes__body {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem 4rem;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.wishes__empty {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: auto;
  font-style: italic;
}
.wishes__track {
  display: block;
  will-change: transform;
}
.wishes__track.is-scrolling {
  animation: wishesLoop var(--wishes-loop-duration, 30s) linear infinite;
}
@keyframes wishesLoop {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.wish-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.wish-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.wish-item.is-revealing {
  opacity: 0;
  transform: translateY(12px);
  animation: wishReveal 900ms cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes wishReveal {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wish-item.is-revealing { opacity: 1; transform: none; animation: none; }
  .wishes__track.is-scrolling { animation: none; }
}
.wish-item__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.25rem;
}
.wish-item__msg {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 0.35rem;
  line-height: 1.6;
}
.wish-item__time {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ----------------------------------------------------------------
   Phase G: Wedding Gift
   ---------------------------------------------------------------- */
.section--gift {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0F0E0C;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
}
.section--gift .gift__bg img {
  filter: grayscale(0.5) brightness(0.35);
  object-position: 35% center;
}
.gift__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3rem 1.5rem 3rem 2rem;
  color: #fff;
}
.gift__top {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.gift__photo {
  flex: 0 0 130px;
  height: 165px;
  overflow: hidden;
}
.gift__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.gift__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 1.75rem;
  text-align: center;
  align-self: center;
}
.gift__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin: 0 0 2rem;
  max-width: 400px;
}
.gift__btn {
  display: inline-block;
  padding: 0.85rem 3rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms;
}
.gift__btn:hover { background: rgba(255,255,255,0.08); }
.gift__note {
  margin-top: 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* Gift Modal */
.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.gift-modal[hidden] { display: none; }
.gift-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  cursor: pointer;
}
.gift-modal__content {
  position: relative;
  background: #1A1715;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 360px;
  color: #fff;
}
.gift-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.gift-modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  margin: 0 0 1.25rem;
  color: #fff;
}
.gift-modal__item {
  padding: 0.5rem 0;
}
.gift-modal__bank {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}
.gift-modal__account {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 0.2rem;
  letter-spacing: 0.05em;
}
.gift-modal__name {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.gift-modal__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 1rem 0;
}

/* ----------------------------------------------------------------
   Phase G: Closing
   ---------------------------------------------------------------- */
.section--closing {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0906;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
}
.section--closing .closing__bg img {
  filter: none;
  object-position: center 30%;
}
.closing__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 4rem 2rem 2rem;
  text-align: center;
  color: #fff;
}
.closing__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 9vw, 5rem);
  letter-spacing: 0.2em;
  color: #fff;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6);
}
.closing__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.95);
  max-width: 380px;
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.closing__couple {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.closing__footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 2rem max(2rem, env(safe-area-inset-bottom, 2rem));
  border-top: 1px solid rgba(255,255,255,0.1);
}
.closing__credit {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 0.25rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.closing__copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  margin: 0;
}

/* ----------------------------------------------------------------
   Epilogue: Behind The Scene
   ---------------------------------------------------------------- */
.epilogue-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #080705;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 450ms ease, visibility 450ms ease;
}
.epilogue-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.epilogue__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
}
.epilogue__close:hover { background: rgba(255,255,255,0.15); }
.epilogue__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.epilogue__body {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem 3rem;
  color: #fff;
  text-align: center;
  width: 100%;
  max-width: 480px;
}
.epilogue__overline {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 0.75rem;
}
.epilogue__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.epilogue__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.epilogue__video-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1.25rem;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.1);
  cursor: pointer;
}
.epilogue__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.epilogue__hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
@media (min-width: 768px) {
  .epilogue__video-wrap { max-width: 340px; }
}

/* ----------------------------------------------------------------
   Vinyl Music Player
---------------------------------------------------------------- */
.vinyl-player {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 300;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform 150ms ease;
  --vinyl-glow: 0.55;
  isolation: isolate;
}
.vinyl-player::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.9) 0%, rgba(201,168,76,0.4) 38%, transparent 72%);
  filter: blur(7px);
  opacity: var(--vinyl-glow, 0.55);
  pointer-events: none;
  z-index: -1;
  transition: opacity 90ms ease-out;
  will-change: opacity;
}
.vinyl-player.is-paused::before {
  opacity: 0;
}
.vinyl-player:hover {
  transform: scale(1.1);
}
.vinyl-disc {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transform-box: fill-box;
  transform-origin: center;
  animation: vinylSpin 4s linear infinite;
  position: relative;
  z-index: 1;
}
.vinyl-player.is-paused .vinyl-disc {
  animation-play-state: paused;
}
@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Desktop (>=1024px) overrides — centering & width constraints */
@media (min-width: 1024px) {
  .story__content {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .story__chapter-title,
  .story__chapter-text {
    text-align: center;
  }
  .story__scroll-hint {
    justify-content: center;
  }

  .rsvp__body {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .rsvp__header-row {
    justify-content: center;
  }
  .rsvp__heading,
  .rsvp__desc {
    text-align: center;
  }
  .rsvp__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .gift__body {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .gift__desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .gift__btn {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}
