/* Jaydee & Andrea — wedding invitation styles */

/* ---------- IMAGES ---------- */
:root {
  --principal-sponsors-img: url('../images/dress-principal-sponsors.webp');
  --guests-img: url('../images/dress-guests.webp');
  --couple-img: url('../images/hero-couple.jpg');
  --savedate-img: url('../images/save-the-date.jpg');
  --entourage-img: url('../images/nuptials.jpg');
  --venue-photo-img: url('../images/venue-watercolor.jpg');
}

:root {
  --burgundy-deep: #4a0e1a;
  --burgundy: #6f1a2b;
  --burgundy-light: #8a2436;
  --midnight: #1c2740;
  --midnight-deep: #121a2e;
  --midnight-light: #2f3f60;
  --gold: #c8a951;
  --gold-light: #e6cf8a;
  --gold-deep: #9a7d34;
  --cream: #f5f0e6;
  --cream-warm: #fdfcfa;
  --ink: #14131a;
  --muted: #6a5f52;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: auto; min-height: 100%; }

body {
  background: radial-gradient(ellipse at center, var(--cream-warm) 0%, #f8f5f0 70%, #f0ebe3 100%);
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---------- HERO SECTION (full-screen photo) ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 100vh;
  text-align: center;
  padding: clamp(44px, 8vh, 95px) 24px;
  background-image: var(--couple-img);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* soft dark overlay so the script reads on the photo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,10,0.58) 0%, rgba(10,15,10,0.4) 45%, rgba(10,15,10,0.6) 100%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* ---------- SLOW PHOTO REVEAL ----------
   a copy of the hero photo sits on top of the original, starts zoomed in + blurred,
   then settles into focus. isolation keeps the z-index:-1 layer inside the hero. */
.hero { isolation: isolate; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
  transform-origin: center 40%;
}
.hero.show::after {
  animation: photoSettle 2.6s cubic-bezier(.22,.61,.36,1) both;
  will-change: transform, filter;
}
@keyframes photoSettle {
  from { transform: scale(1.14); filter: blur(10px) brightness(1.08); }
  to   { transform: scale(1);    filter: blur(0) brightness(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero.show::after { animation: none; }
}

.hero.show { animation: heroFade 1.2s ease both; }
@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* text pieces slide up into place, same feel as the scroll reveal below */
@keyframes heroTextUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text .couple-names,
.hero-text .hero-kicker,
.hero-text .hero-verse,
.hero-rsvp {
  opacity: 0;
  transform: translateY(28px);
}
.hero.show .hero-text .hero-kicker {
  animation: heroTextUp 1s ease 1.0s both;
}
.hero.show .hero-text .couple-names {
  animation: heroTextUp 1s ease 1.2s both;
}
.hero.show .hero-text .hero-verse {
  animation: heroTextUp 1s ease 1.45s both;
}
.hero.show .hero-rsvp {
  animation: heroTextUp 1s ease 1.7s both;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  font-size: clamp(0.78rem, 2.3vw, 0.95rem);
  color: #fdf8ec;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 0.5em;
}

.couple-names {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(3.2rem, 12vw, 5.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 26px rgba(0,0,0,0.4);
}

.hero-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.78rem, 2.5vw, 1.05rem);
  line-height: 1.75;
  color: #f0e6d8;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6);
  max-width: min(94%, 460px);
  margin: 0.9em auto 0;
}
.hero-verse .verse-ref {
  display: block;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  font-size: 0.78em;
  color: var(--gold-light);
  margin-bottom: 0.5em;
}

/* pin the RSVP pill low in the frame, like a floating call-to-action */
.hero-rsvp {
  display: inline-block;
  margin-top: auto;
  background: rgba(74,14,26,0.55);
  color: #f3e6c9;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  padding: 15px 44px;
  font-size: clamp(0.78rem, 2.5vw, 0.95rem);
  text-decoration: none;
  border: 1px solid rgba(212,175,55,0.6);
  border-radius: 999px;
  backdrop-filter: blur(3px);
  transition: background 0.25s ease, transform 0.2s ease;
}
.hero-rsvp:hover, .hero-rsvp:focus-visible {
  background: var(--burgundy-deep);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .hero { background-position: center; }
}

/* cap sizes on wide desktop so vw-based clamps don't blow up */
@media (min-width: 1200px) {
  .hero { background-position: center 58%; padding-top: clamp(90px, 16vh, 160px); }
  .couple-names { font-size: 5.4rem; }
  .hero-kicker { font-size: 0.85rem; }
}

/* ---------- NAMES SECTION (B&W ceremony) ---------- */
/* ---------- SAVE THE DATE ---------- */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
/* breathing via background-size (keeps borders/frames still) */
@keyframes breatheBg {
  0%, 100% { background-size: 100% auto; }
  50% { background-size: 112% auto; }
}
@keyframes breatheBgCover {
  0%, 100% { background-size: 105%; }
  50% { background-size: 118%; }
}

.savedate {
  background: radial-gradient(ellipse at center, var(--cream-warm) 0%, #f8f5f0 70%, #f0ebe3 100%);
  padding: clamp(48px, 9vh, 100px) 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.savedate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 6vh, 60px);
  width: 100%;
  max-width: 980px;
}

/* angled polaroid */
.polaroid {
  background: #fff;
  padding: 14px 14px 20px;
  box-shadow: 0 20px 50px rgba(74,14,26,0.16);
  transform: rotate(-4deg);
  border-radius: 2px;
}
.polaroid-photo {
  width: min(74vw, 300px);
  aspect-ratio: 3 / 4;
  background-image: var(--savedate-img);
  background-size: cover;
  background-position: center 20%;
}

/* calendar */
.savedate-cal {
  text-align: center;
  width: 100%;
  max-width: 420px;
}
.savedate-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  letter-spacing: 0.14em;
  color: var(--burgundy);
  font-weight: 500;
  padding-left: 0.14em;
}
.savedate-month {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 3.4vw, 1.25rem);
  color: var(--burgundy);
  opacity: 0.8;
  margin-top: 0.25em;
  margin-bottom: clamp(20px, 4vh, 32px);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 2px;
  font-family: 'Cormorant Garamond', serif;
}
.cal-dow {
  font-size: clamp(0.62rem, 2vw, 0.78rem);
  text-transform: lowercase;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  opacity: 0.6;
  padding-bottom: 6px;
  font-weight: 600;
}
.cal-day {
  font-size: clamp(0.8rem, 2.6vw, 1rem);
  color: #6a5f52;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-day.marked {
  position: relative;
  color: var(--burgundy);
  font-weight: 700;
}
.cal-day.marked::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1.5px solid var(--burgundy);
  border-radius: 50%;
}
/* little ring/gem above the marked day */
.cal-day.marked::after {
  content: "\25C8";
  position: absolute;
  top: -0.55em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6em;
  color: var(--gold-deep);
}

@media (min-width: 768px) {
  .savedate-inner {
    flex-direction: row;
    justify-content: center;
    gap: clamp(40px, 6vw, 80px);
  }
  .polaroid { transform: rotate(-5deg); }
  .polaroid-photo { width: min(38vw, 340px); }
}


/* ---------- VENUE (simple, big photo) ---------- */
.venue-simple {
  position: relative;
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, #400c17 100%);
  padding: clamp(40px, 6vh, 70px) 24px;
  text-align: center;
  overflow: hidden;
}
/* subtle paper texture */
.venue-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 4px);
  pointer-events: none;
}
.venue-simple > * { position: relative; z-index: 1; }
.venue-simple .rule-flourish { color: var(--gold-light); }
.venue-simple .rule-flourish::before,
.venue-simple .rule-flourish::after {
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent);
}
.venue-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 7vw, 3.2rem);
  letter-spacing: 0.16em;
  color: #f5f0e6;
  font-weight: 500;
  margin-bottom: 0.35em;
  padding-left: 0.16em;
}
.venue-place {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 3.8vw, 1.55rem);
  color: #e0d3c2;
  line-height: 1.7;
  margin-bottom: clamp(22px, 4vh, 34px);
}
.venue-big-photo {
  width: 100%;
  max-width: 620px;
  margin: clamp(22px, 4vh, 36px) auto clamp(22px, 4vh, 36px);
  aspect-ratio: 1264 / 1632;
  background-image: var(--venue-photo-img);
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  border: 8px solid #fff;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.55), 0 20px 50px rgba(0,0,0,0.35);
}
@media (min-width: 768px) {
  .venue-big-photo { max-width: 520px; }
}
.venue-simple .view-map {
  background: rgba(255,255,255,0.06);
  color: #f3e6c9;
  border: 1px solid var(--gold-light);
  backdrop-filter: blur(2px);
}
.venue-simple .view-map:hover, .venue-simple .view-map:focus-visible {
  background: var(--gold-deep);
  color: var(--burgundy-deep);
}

/* top divider flourish (horizontal rule with center diamond) */
.rule-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(90%, 440px);
  margin: 0 auto clamp(28px, 5vh, 52px);
  color: var(--midnight);
}
.rule-flourish::before, .rule-flourish::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--midnight-light), transparent);
}
.rule-flourish .dot { font-size: 0.9rem; opacity: 0.9; transform: rotate(45deg); }

.view-map {
  display: inline-block;
  background: var(--burgundy-deep);
  color: #f3e6c9;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  padding: 15px 48px 15px calc(48px + 0.28em);
  font-size: clamp(0.82rem, 2.6vw, 0.95rem);
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--gold-deep);
  transition: background 0.25s ease, transform 0.2s ease;
}
.view-map:hover, .view-map:focus-visible {
  background: var(--midnight);
  transform: translateY(-2px);
}

/* ---------- STANDALONE DIVIDER (between sections) ---------- */
.between-divider {
  background: transparent;
  padding: clamp(40px, 8vh, 80px) 24px clamp(6px, 1vh, 12px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.between-divider .fl {
  position: relative;
  width: min(92%, 620px);
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* the horizontal line as a full-width background */
.between-divider .fl::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent 0%, var(--midnight) 20%, var(--midnight) 80%, transparent 100%);
}
/* the center diamond, sitting on top of the line with a cream gap around it */
.between-divider .fl .gem {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1;
  transform: rotate(45deg);
  color: var(--midnight);
  background: #f8f5f0;
  padding: 0 12px;
}
/* on the burgundy Venue section, swap the navy divider for gold so it doesn't disappear */
.venue-simple .between-divider .fl::before {
  background: linear-gradient(90deg, transparent 0%, var(--gold-light) 20%, var(--gold-light) 80%, transparent 100%);
}
.venue-simple .between-divider .fl .gem {
  color: var(--burgundy-deep);
  background: var(--gold-light);
}

/* ---------- ATTIRE SECTION (light, dress code) ---------- */
.attire .rule-flourish {
  width: min(90%, 440px);
  flex: 0 0 auto;
  align-self: center;
  margin-bottom: clamp(20px, 4vh, 36px);
}
.attire .rule-flourish::before,
.attire .rule-flourish::after {
  content: "";
  display: block;
  height: 1px;
  flex: 1 1 auto;
  min-width: 60px;
  background: linear-gradient(90deg, transparent, var(--midnight-light), transparent);
}
.attire {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 6vh, 80px) 24px;
  background: radial-gradient(ellipse at center, var(--cream-warm) 0%, #f8f5f0 70%, #f0ebe3 100%);
  color: var(--ink);
  overflow: hidden;
}

.attire-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: clamp(28px, 5vh, 44px);
}

/* two illustrated groups: Principal Sponsors + Guests */
/* side by side on every screen size */
.attire-groups {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(14px, 5vw, 80px);
}
.attire-group {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}
.attire-illos {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.attire-illos .illo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
}
.illo.principal-sponsors {
  height: clamp(190px, 52vw, 300px);
  aspect-ratio: 607 / 900;
  background-image: var(--principal-sponsors-img);
}
.illo.guests {
  height: clamp(190px, 52vw, 300px);
  aspect-ratio: 619 / 900;
  background-image: var(--guests-img);
}
.attire-group-title {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 0.1em;
  font-size: clamp(0.9rem, 3.6vw, 1.35rem);
  font-weight: 500;
  color: var(--burgundy);
  margin: 0.7em 0 0.45em;
}
.attire-group-caption {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.72rem, 2.6vw, 0.92rem);
  color: var(--muted);
  line-height: 1.7;
}


/* ---------- FADE-UP ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- WEDDING DAY TIMELINE ---------- */
.timeline {
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, #400c17 100%);
  color: #f5f0e6;
  padding: clamp(48px, 9vh, 90px) clamp(10px, 3vw, 24px) clamp(52px, 9vh, 96px);
  text-align: center;
}
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 5.5vw, 2.4rem);
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  text-transform: uppercase;
  color: #f5f0e6;
  font-weight: 500;
}
.timeline-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.95rem, 3vw, 1.2rem);
  color: var(--gold-light);
  margin-top: 0.3em;
  margin-bottom: clamp(32px, 6vh, 56px);
  opacity: 0.9;
}

.timeline-track {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(2px, 1vw, 8px);
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  padding-top: 14px;
}
/* connecting line across the icons */
.timeline-track::before {
  content: "";
  position: absolute;
  top: calc(14px + clamp(22px, 6vw, 32px));
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
  z-index: 0;
}
.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex: 1 1 0;
  gap: clamp(6px, 1.5vw, 12px);
  position: relative;
  z-index: 1;
  min-width: 0;
}
.tl-icon {
  width: clamp(44px, 12vw, 64px);
  height: clamp(44px, 12vw, 64px);
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, #400c17 100%);
  flex-shrink: 0;
}
.tl-icon svg { width: clamp(24px, 6.5vw, 34px); height: clamp(24px, 6.5vw, 34px); }
.tl-time {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.72rem, 2.9vw, 1.2rem);
  letter-spacing: 0.04em;
  color: #f5f0e6;
  font-weight: 600;
  white-space: nowrap;
}
.tl-label {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.52rem, 2.1vw, 0.85rem);
  color: #e4d3ae;
  margin-top: 2px;
  line-height: 1.3;
}

/* wider spacing on desktop */
@media (min-width: 900px) {
  .timeline-track { gap: 8px; padding-top: 20px; }
  .timeline-track::before { top: calc(20px + 32px); left: 8%; right: 8%; }
  .tl-label { letter-spacing: 0.16em; }
}

/* ---------- FEATURE PHOTO (full-bleed color) ---------- */
.feature-photo {
  width: 100%;
  min-height: 78vh;
  background-image: var(--feature-img);
  background-size: cover;
  background-position: center 62%;
  background-color: #ece4d5;
}
@media (min-width: 768px) {
  .feature-photo {
    min-height: 92vh;
    background-position: center 66%;
  }
}

/* ---------- ENTOURAGE / NUPTIALS ---------- */
.entourage {
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, #400c17 100%);
  padding-bottom: clamp(56px, 9vh, 100px);
}
.ent-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 60vh;
  background-image: var(--entourage-img);
  background-size: cover;
  background-position: center 30%;
}
.ent-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 64px) 24px 0;
  text-align: center;
}
.ent-names {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2.6rem, 8vw, 4rem);
  letter-spacing: 0.02em;
  color: #f5f0e6;
  font-weight: 400;
  line-height: 1.1;
}
.ent-sub {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  font-size: clamp(0.85rem, 2.8vw, 1.1rem);
  color: var(--gold-light);
  margin-top: 0.4em;
  margin-bottom: clamp(30px, 5vh, 50px);
}

.ent-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(70%, 320px);
  margin: clamp(30px, 5vh, 46px) auto clamp(6px, 1.5vh, 14px);
  color: var(--gold-light);
}
.ent-divider::before, .ent-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent);
}
.ent-divider span { font-size: 0.85rem; transform: rotate(45deg); }

.ent-heading {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: #f5f0e6;
  margin-bottom: clamp(20px, 4vh, 34px);
}

.ent-block {
  display: grid;
  gap: clamp(24px, 5vw, 48px);
  margin-bottom: clamp(28px, 5vh, 44px);
  text-align: center;
}
.ent-two { grid-template-columns: 1fr 1fr; }
.ent-three { grid-template-columns: 1fr 1fr 1fr; }

.ent-role {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.72rem, 2.4vw, 0.9rem);
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.7em;
}
.ent-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.85rem, 2.6vw, 1.05rem);
  color: #e0d3c2;
  line-height: 1.9;
}
.ent-name.ent-tba {
  font-style: italic;
  opacity: 0.6;
}

@media (max-width: 480px) {
  .ent-three { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- OUR LITTLE REMINDERS ---------- */
.reminders {
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, #400c17 100%);
  color: #f0e6d8;
  padding: clamp(52px, 9vh, 96px) 24px clamp(56px, 10vh, 104px);
  text-align: center;
}
.rem-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 5.5vw, 2.4rem);
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  text-transform: uppercase;
  color: #f5f0e6;
  font-weight: 500;
}
.rem-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.95rem, 3vw, 1.2rem);
  color: var(--gold-light);
  margin-top: 0.3em;
  opacity: 0.9;
}
.rem-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(70%, 340px);
  margin: clamp(16px, 3vh, 26px) auto clamp(34px, 6vh, 56px);
  color: var(--gold-light);
}
.rem-flourish::before, .rem-flourish::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent);
}
.rem-flourish span { font-size: 0.85rem; transform: rotate(45deg); opacity: 0.9; }

.rem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 52px) clamp(28px, 6vw, 64px);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.rem-head {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.82rem, 2.6vw, 1rem);
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.8em;
}
.rem-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2.6vw, 1.05rem);
  color: #e0d3c2;
  line-height: 1.7;
}

@media (max-width: 540px) {
  .rem-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- FAQ ---------- */
.faq {
  background: radial-gradient(ellipse at center, var(--cream-warm) 0%, #f8f5f0 70%, #f0ebe3 100%);
  padding: clamp(56px, 9vh, 100px) 24px;
  text-align: center;
}
.faq-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.7em;
}
.faq-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  color: var(--burgundy);
  font-weight: 400;
  margin-bottom: clamp(30px, 5vh, 48px);
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(111,26,43,0.15);
}
.faq-item:first-child {
  border-top: 1px solid rgba(111,26,43,0.15);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: clamp(18px, 3.2vh, 26px) 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 500;
  color: var(--burgundy);
}
.faq-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold-deep);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-a {
  opacity: 1;
}
.faq-a p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  line-height: 1.75;
  color: var(--muted);
  padding: 0 4px clamp(18px, 3.2vh, 26px);
}

/* ---------- RSVP ---------- */
.rsvp {
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, #400c17 100%);
  padding: clamp(56px, 10vh, 110px) 24px;
  text-align: center;
}
.rsvp-icon {
  width: clamp(70px, 18vw, 100px);
  margin: 0 auto clamp(18px, 3vh, 30px);
  color: var(--gold-light);
}
.rsvp-icon svg { width: 100%; height: auto; display: block; }
.rsvp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  text-transform: uppercase;
  color: #f5f0e6;
  font-weight: 500;
  margin-bottom: 0.5em;
}
.rsvp-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #e0d3c2;
  line-height: 1.8;
  max-width: 34ch;
  margin: 0 auto clamp(24px, 4vh, 36px);
}
.rsvp-prompt {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  color: #f5f0e6;
  line-height: 1.6;
  margin-bottom: clamp(28px, 5vh, 42px);
}
.rsvp-btn {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: #f3e6c9;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 18px 44px 18px calc(44px + 0.2em);
  font-size: clamp(0.8rem, 2.6vw, 0.98rem);
  text-decoration: none;
  border: 1px solid var(--gold-light);
  backdrop-filter: blur(2px);
  transition: background 0.25s ease, transform 0.2s ease;
}
.rsvp-btn:hover, .rsvp-btn:focus-visible {
  background: var(--gold-deep);
  color: var(--burgundy-deep);
  transform: translateY(-2px);
}

/* ---------- SITE FOOTER ---------- */
.site-footer {
  background: linear-gradient(180deg, #3a0b14 0%, #2a080f 100%);
  color: #f5f0e6;
  text-align: center;
  padding: clamp(56px, 9vh, 95px) 24px;
  border-top: 1px solid rgba(212,175,55,0.32);
}
.foot-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(66%, 300px);
  margin: 0 auto clamp(22px, 4vh, 36px);
  color: var(--gold-light);
}
.foot-flourish::before, .foot-flourish::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), transparent);
}
.foot-gem {
  font-size: 0.9rem;
  transform: rotate(45deg);
  color: var(--gold-light);
}

.foot-names {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2.8rem, 10vw, 4.6rem);
  color: var(--gold-light);
  font-weight: 400;
  line-height: 1.1;
}
.foot-date {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  font-size: clamp(0.75rem, 2.4vw, 0.95rem);
  color: #f0e6d8;
  margin-top: 1em;
}
.foot-loc {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  font-size: clamp(0.68rem, 2.2vw, 0.85rem);
  color: #e0d3c2;
  opacity: 0.9;
  margin-top: 0.5em;
}


/* ---------- SECTION TITLES: match the FAQ script title ---------- */
.savedate-title, .venue-title, .attire-eyebrow {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0;
  padding-left: 0;
  text-transform: none;
  line-height: 1.2;
  color: var(--burgundy);
}
.venue-title { color: #f5f0e6; }

/* ---------- KEEP SHORT PHRASES ON ONE LINE ---------- */
.couple-names { white-space: nowrap; font-size: clamp(2.6rem, 13vw, 5.6rem); }
@media (min-width: 1200px) { .couple-names { font-size: 5.4rem; } }
.rsvp-text { max-width: none; white-space: nowrap; font-size: clamp(0.88rem, 4.1vw, 1.2rem); }
.venue-place { white-space: nowrap; font-size: clamp(0.95rem, 4.6vw, 1.55rem); }
.ent-role { white-space: nowrap; }
.rsvp-btn { white-space: nowrap; }
@media (max-width: 400px) {
  .ent-role { letter-spacing: 0.08em; font-size: min(0.68rem, 3.05vw); }
  .rsvp-btn { letter-spacing: 0.14em; padding: 16px 26px 16px calc(26px + 0.14em); }
  .attire { padding-left: 14px; padding-right: 14px; }
}
/* dress code: text sizes follow the column width so every line fits */
.attire-groups { width: 100%; max-width: 700px; }
.attire-group { container-type: inline-size; }
.attire-group-title {
  white-space: nowrap;
  letter-spacing: 0.08em;
  padding-left: 0.08em;
  font-size: min(1.35rem, 8cqi);
}
.attire-group-caption {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  font-size: min(1.02rem, 7.3cqi);
}
.attire-group-caption .cap-line { display: block; white-space: nowrap; }
@media (min-width: 700px) { .attire-group-caption .cap-line.join { display: inline; } }

/* ---------- FOOTER: white background, maroon text ---------- */
.site-footer {
  background: #ffffff;
  color: var(--burgundy);
  border-top: 1px solid rgba(212,175,55,0.45);
}
.site-footer .foot-names,
.site-footer .foot-date,
.site-footer .foot-loc { color: var(--burgundy); }
.site-footer .foot-loc { opacity: 1; }
.foot-flourish, .foot-gem { color: var(--gold-deep); }
.foot-flourish::before, .foot-flourish::after {
  background: linear-gradient(90deg, transparent, rgba(176,141,60,0.7), transparent);
}


/* ---------- ENTOURAGE: one-line names, auto-fit to column ---------- */
.ent-two { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.ent-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ent-block .ent-col { container-type: inline-size; min-width: 0; }
.ent-name { white-space: nowrap; font-size: min(1.05rem, 7.4cqi); }
.ent-principal .ent-name { font-size: min(1.02rem, 6.4cqi); line-height: 1.85; }
.ent-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  white-space: nowrap;
  font-size: min(1rem, 6.8cqi);
  color: #cdbba5;
  opacity: 0.9;
  margin: -0.35em 0 0.55em;
}
.ent-block .ent-role { font-size: min(clamp(0.72rem, 2.4vw, 0.9rem), 6.9cqi); }
@media (max-width: 480px) {
  .ent-three, .ent-stack { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .ent-body { padding-left: 16px; padding-right: 16px; }
  .ent-two { gap: 14px; }
  .ent-block .ent-role { letter-spacing: 0.1em; }
  .ent-name { font-size: min(0.85rem, 7.4cqi); }
  .ent-principal .ent-name { font-size: min(0.85rem, 6.4cqi); }
}


/* ---------- SECONDARY SPONSORS + BEARERS: 2 + 1 layout ---------- */
.ent-block.ent-feature { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: clamp(28px, 5vh, 44px); }
.ent-block.ent-feature .ent-col:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: min(100%, 50%); }
@media (max-width: 480px) {
  .ent-block.ent-feature { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .ent-block.ent-feature .ent-col:nth-child(3) { width: 100%; }
}


/* ---------- Sep 25 tweaks ---------- */
/* bigger, more readable verse; each of its 2 lines stays whole */
.hero-verse {
  font-size: clamp(1rem, 5vw, 1.35rem);
  line-height: 1.6;
  white-space: nowrap;
  max-width: none;
}
/* venue address on two tight lines */
.venue-place .vp-line { display: block; }
.venue-place { line-height: 1.3; }
/* dress code: less space above and below */
.attire {
  min-height: 0;
  padding-top: clamp(72px, 11vh, 120px);
  padding-bottom: clamp(72px, 11vh, 120px);
}
.attire-eyebrow { margin-bottom: clamp(18px, 3vh, 30px); }




/* gold accent closing the Dress Code (same as above "Venue") */
.attire .rule-flourish.attire-end {
  color: var(--gold-deep);
  margin: clamp(40px, 7vh, 64px) auto 0;
}
.attire .rule-flourish.attire-end::before,
.attire .rule-flourish.attire-end::after {
  background: linear-gradient(90deg, transparent, rgba(176,141,60,0.7), transparent);
}


/* nuptials photo (portrait): near-full on phones, tall crop on desktop */
.ent-photo { aspect-ratio: 3 / 4; max-height: none; background-position: center 60%; }
@media (min-width: 700px) {
  /* show the whole portrait photo, centered on the maroon background */
  .entourage { padding-top: clamp(48px, 8vh, 80px); }
  .ent-photo { width: min(100%, 600px); margin: 0 auto; background-position: center; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
}



/* ---------- MUSIC BUTTON ---------- */
.music-btn {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  background: rgba(74, 14, 26, 0.88);
  color: #f3e6c9;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, background 0.25s ease;
}
.music-btn:hover { transform: scale(1.06); }
.music-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.music-btn svg { width: 22px; height: 22px; display: block; }
.music-btn .ic-bars { display: none; }
.music-btn.playing .ic-note { display: none; }
.music-btn.playing .ic-bars { display: block; }
/* soft pulse ring until the guest first taps it */
.music-btn.hint::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  animation: musicPulse 2.2s ease-out infinite;
}
@keyframes musicPulse {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(1.7); opacity: 0; }
}
.ic-bars rect { transform-origin: center bottom; transform-box: fill-box; animation: eq 1s ease-in-out infinite; }
.ic-bars rect:nth-child(2) { animation-delay: -0.3s; }
.ic-bars rect:nth-child(3) { animation-delay: -0.6s; }
.ic-bars rect:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%,100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .music-btn.hint::after, .ic-bars rect { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-photo, .ent-photo, .polaroid-photo,
  .venue-photo-card .vp, .cd-cell { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
