/* ═══════════════════════════════════════════
   JEI & ANGIE — WEDDING WEBSITE
   Bridgerton-Inspired Romantic Garden Aesthetic
   ═══════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --blush:       #F7B5C1;
  --blush-light: #FDE8EC;
  --peach:       #FFDAB9;
  --lilac:       #C9A6C9;
  --lilac-dark:  #9B72A3;
  --sage:        #9DC183;
  --sage-dark:   #6B8F4E;
  --cream:       #FFFDD0;
  --ivory:       #F5EEE6;
  --warm-white:  #FBF7F4;
  --text-dark:   #3A2E2A;
  --text-mid:    #6B5B52;
  --text-light:  #A0877C;
  --gold:        #C9A96E;
  --gold-light:  #E8D5B0;

  --font-head:   'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-display:'Blacksword', cursive;
  --font-body:   'Montserrat', 'Helvetica Neue', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   32px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 12px rgba(58,46,42,0.08);
  --shadow-md:   0 8px 32px rgba(58,46,42,0.12);
  --shadow-lg:   0 20px 60px rgba(58,46,42,0.18);

  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--warm-white);
  overflow-x: hidden;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

@font-face {
  font-family: 'Blacksword';
  src: url('../fonts/Blacksword.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



/* ─── FLOATING MUSIC PLAYER ─── */
.music-player {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 9997;
  width: 210px;
  background: rgba(22,14,10,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201,169,110,0.32);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.music-player.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92) translateY(6px);
}
.music-player__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.music-player__title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-style: italic;
  color: #fff;
  line-height: 1.2;
}
.music-player__artist {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
}
.music-player__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
.music-player__close:hover { color: #fff; }
.music-player__controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid rgba(201,169,110,0.18);
  padding-top: 0.85rem;
}
.music-player__btn {
  background: rgba(201,169,110,0.10);
  border: 1px solid rgba(201,169,110,0.28);
  border-radius: 50%;
  color: var(--gold-light);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.music-player__btn:hover,
.music-player__btn:focus-visible {
  background: rgba(201,169,110,0.24);
  border-color: var(--gold);
  outline: none;
}
.music-player__btn svg { width: 1rem; height: 1rem; }
.icon-pause { display: none; }
.icon-muted { display: none; }
#musicPlayBtn.is-playing .icon-play  { display: none; }
#musicPlayBtn.is-playing .icon-pause { display: block; }
#musicMuteBtn.is-muted .icon-speaker { display: none; }
#musicMuteBtn.is-muted .icon-muted   { display: block; }

/* ─── FLOATING MUSIC BUTTON ─── */
.music-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.45);
  background: rgba(22,14,10,0.72);
  color: var(--gold-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.music-btn[hidden] { display: none; }
.music-btn:hover,
.music-btn:focus-visible {
  background: rgba(201,169,110,0.18);
  border-color: var(--gold);
  outline: none;
}
.music-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* ─── SPLASH / LANDING PAGE ─── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.splash__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(22,14,10,0.62) 0%, rgba(22,14,10,0.52) 100%);
}
.splash__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
}
.splash__label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.splash__names {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
  margin-bottom: 0;
}
.splash__names span {
  font-family: var(--font-head);
  font-size: 0.55em;
  color: var(--gold-light);
  vertical-align: middle;
  font-style: normal;
}
.splash__line {
  width: 72px;
  height: 1px;
  background: var(--gold);
  margin: 1.75rem auto;
  opacity: 0.65;
}
.splash__dear {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}
.splash__guest {
  font-family: var(--font-script);
  font-size: clamp(2rem, 7vw, 3.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}
.splash__btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  padding: 0.95rem 2.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.splash__btn:hover,
.splash__btn:focus-visible {
  background: rgba(201,169,110,0.18);
  border-color: var(--gold);
  outline: none;
}

/* ─── UTILITIES ─── */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blush), var(--lilac));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--lilac), var(--blush));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--lilac-dark);
  border-color: var(--lilac);
  font-size: 0.7rem;
  padding: 0.6rem 1.6rem;
}
.btn--ghost:hover {
  background: var(--lilac);
  color: #fff;
}

/* ─── SCROLL FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center;
  padding-bottom: 3rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lilac-dark);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--blush-light); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
}
.section-title--light { color: #fff; }



/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(251,247,244,0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: #fff;
  transition: color var(--transition);
}
.nav.scrolled .nav__logo { color: var(--text-dark); }

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.nav.scrolled .nav__links a { color: var(--text-mid); }
.nav__links a:hover { color: var(--lilac-dark); }

.nav__cta {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  transition: background var(--transition), color var(--transition), border-color var(--transition) !important;
}
.nav.scrolled .nav__cta {
  background: var(--blush) !important;
  color: #fff !important;
  border-color: var(--blush) !important;
}
.nav__cta:hover { opacity: 0.85; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--text-dark); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--warm-white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  line-height: 1;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--lilac-dark); }


/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 8rem 5vw 6rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58,46,42,0.55) 0%,
    rgba(90,60,80,0.40) 50%,
    rgba(58,46,42,0.50) 100%
  );
  z-index: 1;
}


.hero__content {
  position: relative;
  z-index: 4;
  color: #fff;
  padding-right: 2rem;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero__names {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
}
.hero__names span,
.nav__logo span,
.footer__names span {
  font-family: var(--font-head);
  font-size: 0.55em;
  color: var(--gold-light);
  vertical-align: middle;
  font-style: normal;
}

.hero__invite {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
}

.hero__countdown {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.hero__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5rem;
}
.hero__countdown-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.hero__countdown-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.3rem;
}
.hero__countdown-sep {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
  opacity: 0.7;
  align-self: flex-start;
  margin-top: 0.1em;
}

/* Hero couple photo */
.hero__couple-photo {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
}

.hero__frame-wrap {
  position: relative;
  width: min(420px, 45vw);
}

.hero__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 124%;
  height: auto;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.hero__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.hero__scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg) translateY(-4px);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(-4px); opacity: 0.6; }
  50%       { transform: rotate(45deg) translateY(4px);  opacity: 1;   }
}


/* ════════════════════════════════════════════
   SAVE THE DATE
════════════════════════════════════════════ */
.save-date {
  position: relative;
  padding: 7rem 5vw;
  text-align: center;
  overflow: hidden;
}

.save-date__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.save-date__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,181,193,0.75),
    rgba(201,166,201,0.75)
  );
}

.save-date__content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.save-date__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
}

.save-date__heading {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.save-date__location {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
}


/* ════════════════════════════════════════════
   OUR STORY
════════════════════════════════════════════ */
.story {
  position: relative;
  padding: 8rem 0;
  background: var(--warm-white);
  overflow: hidden;
}

.story__chapters {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.story__chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.story__chapter--reverse {
  direction: rtl;
}
.story__chapter--reverse > * { direction: ltr; }

.story__chapter-photo {
  position: relative;
}

.story__chapter-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.story__chapter-photo::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius-lg) + 4px) var(--radius-sm) calc(var(--radius-lg) + 4px) var(--radius-sm);
  border: 1.5px solid var(--blush);
  opacity: 0.5;
  z-index: -1;
}

.story__chapter--reverse .story__chapter-photo img,
.story__chapter--reverse .story__chapter-photo::before {
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
}

.story__chapter-text {
  padding: 1rem 0;
}

.story__chapter-num {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 300;
  color: var(--blush);
  opacity: 0.5;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.story__chapter-text h3 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.story__chapter-text p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.story__chapter-text p:last-child { margin-bottom: 0; }

em { font-style: italic; color: var(--lilac-dark); }


/* ════════════════════════════════════════════
   QUOTE
════════════════════════════════════════════ */
.quote-section {
  display: grid;
  width: 100%;
}

.quote-section__photo {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
}

.quote-section__text {
  grid-area: 1 / 1;
  align-self: start;
  justify-self: center;
  padding-top: 28%;
  text-align: center;
  width: 80%;
  max-width: 560px;
  z-index: 1;
  line-height: 1.5;
}

.quote-section__text p {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.quote-section__text cite {
  font-family: var(--font-script);
  font-size: clamp(0.9rem, 2.2vw, 1.4rem);
  color: var(--text-dark);
  font-style: normal;
  display: block;
}


/* ════════════════════════════════════════════
   WEDDING DETAILS
════════════════════════════════════════════ */
.details {
  position: relative;
  padding: 8rem 0;
  background: var(--ivory);
  overflow: hidden;
}

/* Date badge — vertical center column between cards */
.details__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(201,169,110,0.30);
  border-radius: var(--radius-md);
  background: rgba(201,169,110,0.04);
  min-width: 120px;
}
.details__date-line {
  width: 1px;
  height: 36px;
  background: var(--gold);
  opacity: 0.35;
  flex-shrink: 0;
}
.details__date-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 0.15rem;
}
.details__date-month {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.details__date-num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--text-dark);
}
.details__date-year {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--text-mid);
}

.details__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 0;
}

/* Detail cards */
.detail-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.detail-card__photo {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.detail-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.detail-card:hover .detail-card__photo img { transform: scale(1.05); }

.detail-card__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,46,42,0.35), transparent);
}

.detail-card__body {
  padding: 2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--lilac-dark);
}
.detail-card__icon svg { width: 100%; height: 100%; }

.detail-card__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lilac-dark);
  margin-bottom: 0.5rem;
}

.detail-card__title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.detail-card__time {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--lilac-dark);
  margin-bottom: 0.25rem;
}

.detail-card__venue {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.detail-card__address {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  flex: 1;
}




/* ════════════════════════════════════════════
   SOLO PORTRAITS
════════════════════════════════════════════ */
.portraits {
  position: relative;
  padding: 8rem 0;
  background: var(--warm-white);
  overflow: hidden;
}

.portraits__bg {
  position: absolute;
  inset: 0;
  background-size: 400px;
  background-repeat: repeat;
  opacity: 0.04;
}

.portraits__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}

.portrait-feature {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  min-width: 0;
}

.portrait-feature__photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
  align-items: start;
  width: 100%;
}

.portrait-feature__photos--solo {
  grid-template-columns: 1fr;
}

.portrait-feature--bride .portrait-feature__photos {
  grid-template-columns: 1fr 2fr;
}

.portrait-feature--bride .portrait-feature__photos--solo {
  grid-template-columns: 1fr;
}

.portrait-feature__main img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.portrait-feature--bride .portrait-feature__main img {
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
}

.portrait-feature__secondary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portrait-feature__secondary img {
  width: 100%;
  aspect-ratio: 1/1.2;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.portrait-feature__text {
  padding: 0 0.5rem;
}

.portrait-feature__role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lilac-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.portrait-feature__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.portrait-feature__degree {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lilac-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem !important;
}

.portrait-feature__text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* Portraits divider */
.portraits__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 4rem;
}

.portraits__divider img {
  width: 60px;
  opacity: 0.6;
}

.portraits__divider span {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--lilac-dark);
  opacity: 0.7;
}


/* ════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════ */
.gallery {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.gallery__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(0.7);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(58,46,42,0.55),
    rgba(90,60,80,0.60),
    rgba(58,46,42,0.55)
  );
}

.gallery__carousel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  overflow: hidden;
}

.gallery__carousel::before,
.gallery__carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}
.gallery__carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(40,30,28,0.7), transparent);
}
.gallery__carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(40,30,28,0.7), transparent);
}

.gallery__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: galleryScrollFwd 45s linear infinite;
}

.gallery__track--rev {
  animation-name: galleryScrollRev;
}

.gallery__carousel:hover .gallery__track {
  animation-play-state: paused;
}

@keyframes galleryScrollFwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes galleryScrollRev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.gallery__item {
  flex-shrink: 0;
  width: 260px;
  height: 340px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,166,201,0.0);
  transition: background var(--transition);
}
.gallery__item:hover::after {
  background: rgba(201,166,201,0.22);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.06); }


/* ════════════════════════════════════════════
   RSVP
════════════════════════════════════════════ */
.rsvp {
  position: relative;
  padding: 8rem 0;
  background: var(--warm-white);
  overflow: hidden;
}

.rsvp__intro {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-mid);
  max-width: 560px;
  margin: 1.5rem auto 0;
  line-height: 1.8;
}

.rsvp__form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid rgba(247,181,193,0.25);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.form__field:last-child { margin-bottom: 0; }

.form__row .form__field { margin-bottom: 0; }

label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}
label span { color: var(--blush); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--warm-white);
  border: 1.5px solid rgba(201,166,201,0.35);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}

input[readonly] {
  background: rgba(201,166,201,0.08);
  cursor: default;
  color: var(--text-mid);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(201,166,201,0.2);
  background: #fff;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A6C9' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 90px; }

.form__error {
  font-size: 0.72rem;
  color: #e07070;
  display: none;
}
.form__field.error .form__error { display: block; }
.form__field.error input,
.form__field.error select {
  border-color: #e07070;
}

.form__submit {
  text-align: center;
  margin-top: 2rem;
}

/* RSVP success */
.rsvp__success {
  text-align: center;
  padding: 3rem 1rem;
}
.rsvp__success[hidden] { display: none; }

.rsvp__success-inner img {
  width: 80px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(201,166,201,0.5));
}

.rsvp__success h3 {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.rsvp__success p {
  font-size: 0.95rem;
  color: var(--text-mid);
  max-width: 400px;
  margin: 0 auto 0.5rem;
}

.rsvp__success-names {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--lilac-dark);
}


/* ════════════════════════════════════════════
   MESSAGES & WISHES
════════════════════════════════════════════ */
.wishes {
  padding: 8rem 0;
  background: var(--warm-white);
  overflow: hidden;
}

.wishes__track-wrap {
  padding: 1rem 5vw 0;
}

.wishes__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-height: 520px;
  overflow-y: auto;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,169,110,0.4) transparent;
}
.wishes__track::-webkit-scrollbar { width: 5px; }
.wishes__track::-webkit-scrollbar-track { background: transparent; }
.wishes__track::-webkit-scrollbar-thumb { background: rgba(201,169,110,0.4); border-radius: 10px; }

.wish-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  min-height: 120px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,169,110,0.18);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.wish-card__name {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--lilac-dark);
  line-height: 1.2;
}

.wish-card__message {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Wish card — clickable */
.wish-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wish-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Wish modal */
.wish-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.wish-modal[hidden] { display: none; }

.wish-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 18, 14, 0.65);
  backdrop-filter: blur(6px);
}

.wish-modal__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  border: 1px solid rgba(201,169,110,0.22);
  text-align: center;
  animation: wishModalIn 0.25s ease;
}

@keyframes wishModalIn {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.wish-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}
.wish-modal__close:hover { color: var(--text-dark); }

.wish-modal__name {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--lilac-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.wish-modal__divider {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.25rem;
  opacity: 0.5;
}

.wish-modal__message {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.9;
}

.wishes__loading,
.wishes__empty {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  padding: 2rem 5vw;
  text-align: center;
  width: 100vw;
}

@media (max-width: 900px) {
  .wishes { padding: 5rem 0; }
}
@media (max-width: 600px) {
  .wishes { padding: 3.5rem 0; }
  .wishes__track { grid-template-columns: 1fr 1fr; max-height: 480px; }
  .wish-card { padding: 1.25rem 1.25rem; }
}


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  position: relative;
  padding: 5rem 5vw;
  text-align: center;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  inset: 0;
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.06;
}

.footer__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blush-light), var(--ivory));
}

.footer__content {
  position: relative;
  z-index: 2;
}

.footer__names {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.footer__date {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}


.footer__quote {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.footer__credit {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
}


/* ════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 10, 0.94);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox:not([hidden]) {
  display: flex;
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img-wrap {
  max-width: min(800px, 90vw);
  max-height: 90svh;
  position: relative;
}

.lightbox__img-wrap img {
  max-width: 100%;
  max-height: 90svh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox__close {
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__prev { left: 2vw; }
.lightbox__next { right: 2vw; }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.22);
}


/* ════════════════════════════════════════════
   QR ENTRANCE PASS SECTION
════════════════════════════════════════════ */
.qr-section {
  padding: var(--section-pad, 5rem) 0;
  background: var(--warm-white);
}

.qr-section__sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.qr-card {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.qr-card__inner {
  background: #FDF6EE;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem 1.75rem;
  text-align: center;
  max-width: 300px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.qr-card__couple {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0;
  line-height: 1;
}

.qr-card__couple span {
  font-family: var(--font-head);
  font-size: 0.55em;
  vertical-align: middle;
  color: var(--gold-light);
}

.qr-card__sep {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1rem auto;
  opacity: 0.4;
}

.qr-card__code {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}

.qr-card__code canvas,
.qr-card__code img { border-radius: 6px; }

.qr-card__name {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 0.6rem 0 0.2rem;
}

.qr-card__date {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.qr-card__save {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.25rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.qr-card__save:hover {
  background: var(--gold);
  color: #fff;
}

.qr-card__inner .gift-btn {
  margin-top: 1rem;
}

/* ─── RSVP SUCCESS QR CARD ─── */
.rsvp-qr-card {
  margin: 1.75rem auto 0;
  background: #FDF6EE;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem 1.25rem;
  text-align: center;
  max-width: 260px;
}

.rsvp-qr-card__label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.rsvp-qr-card__code {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.rsvp-qr-card__code canvas,
.rsvp-qr-card__code img { border-radius: 6px; }

.rsvp-qr-card__save {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.rsvp-qr-card__save:hover {
  background: var(--gold);
  color: #fff;
}

/* ─── GIFT BUTTON ─── */
.gift-btn {
  display: inline-block;
  margin-top: 1.75rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 99px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.gift-btn:hover {
  background: var(--gold);
  color: #fff;
}

/* ─── GIFT / QRIS MODAL ─── */
.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-modal[hidden] { display: none; }

.gift-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 10, 0.72);
  backdrop-filter: blur(4px);
}

.gift-modal__card {
  position: relative;
  z-index: 1;
  background: #FDF6EE;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2rem 2rem 1.75rem;
  max-width: 320px;
  width: 90%;
  text-align: center;
  animation: wishModalIn 0.3s ease;
}

.gift-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  transition: color 0.2s;
}

.gift-modal__close:hover { color: var(--text-dark); }

.gift-modal__title {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.gift-modal__sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.gift-modal__qris {
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  display: block;
  margin: 0 auto 1rem;
}

.gift-modal__name {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.gift-modal__name span {
  font-family: var(--font-head);
  font-size: 0.55em;
  vertical-align: middle;
  color: var(--gold-light);
}

.gift-modal__apps {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  line-height: 1.9;
}

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
════════════════════════════════════════════ */
@media (max-width: 900px) {

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero — stack vertically */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 7rem 5vw 5rem;
  }

  .hero__content { padding-right: 0; order: 2; }

  .hero__couple-photo {
    order: 1;
    margin-bottom: 1.5rem;
  }

  .hero__frame-wrap {
    width: min(300px, 60vw);
  }

  .hero__countdown { gap: 0.35rem; justify-content: center; }

  /* Story */
  .story__chapter,
  .story__chapter--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }

  .story__chapter-photo { max-width: 420px; margin: 0 auto; }

  /* Reduce all section paddings on tablet/mobile */
  .story, .details, .portraits, .gallery, .rsvp { padding: 5rem 0; }
  .save-date { padding: 3.5rem 5vw; }
  .quote-section__text { padding-top: 22%; width: 80%; }

  /* Details */
  .details__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .detail-card__photo { height: 180px; }
  .detail-card__body { padding: 1.5rem; }

  /* Date badge — revert to horizontal on mobile */
  .details__date {
    flex-direction: row;
    min-width: unset;
    padding: 1rem 0;
    border: none;
    border-radius: 0;
    background: none;
    gap: 1.5rem;
  }
  .details__date-line {
    width: unset;
    flex: 1;
    height: 1px;
  }

  /* Portraits */
  .portraits__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .portrait-feature { max-width: 480px; margin: 0 auto; }
  .portraits__divider { flex-direction: row; padding-top: 0; justify-content: center; }

  /* Gallery */
  .gallery__item { width: 220px; height: 290px; }

  /* Portraits */
  .portrait-feature__text { text-align: center; }
  .portrait-feature__role { display: block; margin-bottom: 0.4rem; }

  /* Gallery */
  .gallery__grid { gap: 0.5rem; }

  /* RSVP form */
  .rsvp__form { padding: 2rem 1.25rem; }
  .form__row { grid-template-columns: 1fr; }

  /* Section headers */
  .section-header { padding-bottom: 2rem; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
════════════════════════════════════════════ */
@media (max-width: 600px) {

  /* Tighter section padding on phones */
  .story, .details, .portraits, .gallery, .rsvp { padding: 3.5rem 0; }
  .save-date { padding: 2.5rem 5vw; }
  .quote-section__text { padding-top: 18%; width: 85%; }

  /* Hero tweaks */
  .hero { padding: 6rem 5vw 4rem; }
  .hero__frame-wrap { width: min(260px, 72vw); }
  .hero__names { font-size: clamp(3rem, 12vw, 5rem); }
  .hero__subtitle { font-size: 0.65rem; }
  .hero__invite { font-size: 0.85rem; }

  /* Save the date */
  .save-date__heading { font-size: clamp(2rem, 9vw, 3rem); }

  /* Gallery */
  .gallery__item { width: 180px; height: 240px; }
  .gallery__carousel { gap: 0.5rem; }

  /* Portrait adjustments */
  .portrait-feature__photos { grid-template-columns: 1fr; }
  .portrait-feature--bride .portrait-feature__photos { grid-template-columns: 1fr; }
  .portrait-feature__secondary { flex-direction: row; }
  .portrait-feature__secondary img { aspect-ratio: 1/1; }
  .portrait-feature__name { font-size: clamp(1.8rem, 8vw, 2.5rem); }

  /* Details card */
  .detail-card__photo { height: 150px; }
  .detail-card__body { padding: 1.25rem; }
  .details__date-num { font-size: clamp(2.2rem, 10vw, 3.5rem); }

  /* RSVP */
  .rsvp__form { padding: 1.5rem 1rem; }

  /* Lightbox */
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }

  /* Music button — avoid overlap with scroll content */
  .music-btn { bottom: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; }
}
