/* ==========================================================================
   Julia & Franz – Wedding Website
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --color-pink: #e8b4b8;
  --color-pink-light: #f5d5d8;
  --color-pink-pale: #fdf0f2;
  --color-sage: #b5c9a1;
  --color-sage-light: #d4e4c8;
  --color-sage-pale: #eef5e8;
  --color-cream: #fffaf5;
  --color-white: #ffffff;
  --color-text: #3a3a3a;
  --color-text-light: #6b6b6b;
  --color-gold: #c9a96e;

  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Josefin Sans', 'Helvetica Neue', sans-serif;

  --section-padding: 4rem 1.5rem;
  --max-content-width: 800px;
  --nav-height: 52px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-sage);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.3;
}

h2 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-text);
}

h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 0.5rem;
}

h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  position: relative;
  padding: var(--section-padding);
  text-align: center;
}

.section__title {
  margin-bottom: 0.5rem;
}

.section__divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--color-pink), var(--color-sage));
  margin: 0.8rem auto 2.5rem;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-pink);
  color: var(--color-white);
  border: 2px solid var(--color-pink);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-pink);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn--outline:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.btn--sage {
  background-color: var(--color-sage);
  color: var(--color-white);
  border: 2px solid var(--color-sage);
}

.btn--sage:hover {
  background-color: transparent;
  color: var(--color-sage);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 245, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  height: var(--nav-height);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Solid background once user scrolls past the hero */
.main-nav.nav-scrolled {
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(181, 201, 161, 0.2);
}

/* -- Hamburger toggle button (mobile only) -- */
.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 1.8rem;
  transform: translateY(-50%);
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
  left: 0;
}

.nav-toggle__bar:nth-child(1) { top: 0; }
.nav-toggle__bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle__bar:nth-child(3) { bottom: 0; }

/* X shape when open */
.nav-open .nav-toggle__bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle__bar:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* -- Nav link list -- */
.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  list-style: none;
  padding: 0 1rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  white-space: nowrap;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 1.5px;
  background: var(--color-pink);
  transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-text);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* -- Mobile overlay nav (< 768px) -- */
@media (max-width: 767px) {
  /* On mobile, same subtle tint as desktop; scrolled state handled by .nav-scrolled */
  .main-nav {
    background: rgba(255, 250, 245, 0.1);
  }

  .main-nav.nav-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 250, 245, 0.95);
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(255, 250, 245, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 105;
  }

  .nav-open .nav-list {
    opacity: 1;
    visibility: visible;
  }

  .nav-list li {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-open .nav-list li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-open .nav-list li:nth-child(1) { transition-delay: 0.05s; }
  .nav-open .nav-list li:nth-child(2) { transition-delay: 0.1s; }
  .nav-open .nav-list li:nth-child(3) { transition-delay: 0.15s; }
  .nav-open .nav-list li:nth-child(4) { transition-delay: 0.2s; }
  .nav-open .nav-list li:nth-child(5) { transition-delay: 0.25s; }
  .nav-open .nav-list li:nth-child(6) { transition-delay: 0.3s; }

  .nav-list a {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    letter-spacing: 0.2em;
  }

  .nav-list a::after {
    bottom: 8px;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--color-cream);
}

/* Watercolor blob – pink (top left, like flyer) */
.hero::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -10%;
  width: 55vw;
  height: 45vw;
  max-width: 500px;
  max-height: 400px;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(207, 120, 140, 0.7) 0%,
    rgba(219, 143, 158, 0.5) 30%,
    rgba(240, 195, 200, 0.3) 55%,
    transparent 75%
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* Watercolor blob – sage (top right + center, like flyer) */
.hero::after {
  content: '';
  position: absolute;
  top: 5%;
  right: -5%;
  width: 65vw;
  height: 55vw;
  max-width: 600px;
  max-height: 500px;
  background: radial-gradient(
    ellipse at 60% 50%,
    rgba(120, 165, 95, 0.6) 0%,
    rgba(149, 185, 126, 0.45) 30%,
    rgba(190, 215, 170, 0.25) 55%,
    transparent 75%
  );
  border-radius: 40% 60% 30% 70% / 50% 40% 60% 50%;
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
}

/* Extra pink blob – bottom right (like flyer) */
.hero .hero__content::before {
  content: '';
  position: absolute;
  bottom: -80%;
  right: -40%;
  width: 40vw;
  height: 35vw;
  max-width: 350px;
  max-height: 300px;
  background: radial-gradient(
    ellipse at 60% 60%,
    rgba(207, 120, 140, 0.6) 0%,
    rgba(219, 143, 158, 0.4) 40%,
    transparent 70%
  );
  border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

/* Extra sage blob – bottom left */
.hero .hero__content::after {
  content: '';
  position: absolute;
  bottom: -70%;
  left: -35%;
  width: 35vw;
  height: 30vw;
  max-width: 300px;
  max-height: 260px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.5) 0%,
    rgba(149, 185, 126, 0.3) 45%,
    transparent 70%
  );
  border-radius: 70% 30% 50% 50% / 50% 70% 30% 50%;
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
}

/* Green & pink speckle dots (like flyer's paint splatter) */
.hero__speckles {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero__speckles--green {
  top: 5%;
  right: 5%;
  width: 55vw;
  height: 55vw;
  max-width: 450px;
  max-height: 450px;
}

.hero__speckles--pink {
  bottom: 8%;
  left: 2%;
  width: 35vw;
  height: 35vw;
  max-width: 280px;
  max-height: 280px;
}

.hero .hero__content {
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__pretext {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.hero__names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.hero__names .amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.65em;
  color: var(--color-gold);
}

.hero__date {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.hero__venue {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* Countdown */
.hero__countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.countdown__number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--color-text);
}

.countdown__label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-top: 0.3rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.7rem 2rem;
  border: 1.5px solid var(--color-text);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.hero__cta:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

/* ==========================================================================
   INTRO / WILLKOMMEN
   ========================================================================== */
.section--intro {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Sage wash behind intro */
.section--intro::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  max-width: 450px;
  max-height: 450px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.45) 0%,
    rgba(149, 185, 126, 0.28) 40%,
    transparent 70%
  );
  border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%;
  filter: blur(40px);
  pointer-events: none;
}

/* Pink accent on intro left */
.section--intro::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -12%;
  width: 35vw;
  height: 35vw;
  max-width: 300px;
  max-height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 120, 140, 0.4) 0%,
    rgba(219, 143, 158, 0.2) 45%,
    transparent 70%
  );
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  filter: blur(35px);
  pointer-events: none;
}

.intro__text {
  max-width: 65ch;
  margin: 0 auto 1.2rem;
  text-align: center;
}

/* ==========================================================================
   DETAILS
   ========================================================================== */
.section--details {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Pink blob on details */
.section--details::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -10%;
  width: 45vw;
  height: 40vw;
  max-width: 380px;
  max-height: 340px;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 120, 140, 0.45) 0%,
    rgba(219, 143, 158, 0.28) 40%,
    transparent 70%
  );
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  filter: blur(35px);
  pointer-events: none;
}

/* Sage blob on details */
.section--details::after {
  content: '';
  position: absolute;
  bottom: -5%;
  right: -12%;
  width: 45vw;
  height: 45vw;
  max-width: 380px;
  max-height: 380px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.4) 0%,
    rgba(149, 185, 126, 0.22) 45%,
    transparent 70%
  );
  border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%;
  filter: blur(40px);
  pointer-events: none;
}

.details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.details__card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(181, 201, 161, 0.2);
  text-align: center;
  position: relative;
  z-index: 1;
}

.details__icon {
  color: var(--color-sage);
  margin-bottom: 1rem;
}

.details__card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 0.6rem;
}

.details__highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--color-text);
}

.details__card p:last-child:not(.details__highlight) {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.3rem;
}

/* ==========================================================================
   LOCATION
   ========================================================================== */
.section--location {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Sage wash behind location */
.section--location::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -10%;
  width: 50vw;
  height: 45vw;
  max-width: 420px;
  max-height: 380px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.4) 0%,
    rgba(149, 185, 126, 0.22) 45%,
    transparent 70%
  );
  border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%;
  filter: blur(40px);
  pointer-events: none;
}

/* Pink accent on location */
.section--location::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -8%;
  width: 35vw;
  height: 30vw;
  max-width: 280px;
  max-height: 240px;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 120, 140, 0.38) 0%,
    rgba(219, 143, 158, 0.18) 45%,
    transparent 70%
  );
  border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
  filter: blur(35px);
  pointer-events: none;
}

.section--location .container {
  max-width: 1000px;
}

.location__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: left;
  margin-top: 1rem;
}

.location__info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.location__info p {
  margin-bottom: 0.8rem;
}

.location__info .btn {
  margin-top: 1rem;
}

.location__map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   SCHEDULE / TIMELINE
   ========================================================================== */
.section--schedule {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Pink wash along schedule left side */
.section--schedule::before {
  content: '';
  position: absolute;
  top: 5%;
  left: -12%;
  width: 40vw;
  height: 65vw;
  max-width: 340px;
  max-height: 550px;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 120, 140, 0.4) 0%,
    rgba(219, 143, 158, 0.22) 40%,
    transparent 70%
  );
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  filter: blur(40px);
  pointer-events: none;
}

/* Sage accent on schedule right */
.section--schedule::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 340px;
  max-height: 340px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.38) 0%,
    rgba(149, 185, 126, 0.18) 45%,
    transparent 70%
  );
  border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%;
  filter: blur(40px);
  pointer-events: none;
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 1rem auto 0;
  padding-left: 40px;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-pink), var(--color-sage));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  text-align: left;
}

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

.timeline__dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-pink);
  background: var(--color-cream);
  z-index: 1;
}

.timeline__item:nth-child(even) .timeline__dot {
  border-color: var(--color-sage);
}

.timeline__time {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.1rem;
}

.timeline__content h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.timeline__content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.section--faq {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Sage blob on FAQ right */
.section--faq::after {
  content: '';
  position: absolute;
  bottom: 5%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  max-width: 400px;
  max-height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.45) 0%,
    rgba(149, 185, 126, 0.25) 40%,
    transparent 70%
  );
  border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%;
  filter: blur(35px);
  pointer-events: none;
}

/* Pink blob on FAQ left */
.section--faq::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -12%;
  width: 40vw;
  height: 35vw;
  max-width: 340px;
  max-height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 120, 140, 0.4) 0%,
    rgba(219, 143, 158, 0.2) 45%,
    transparent 70%
  );
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  filter: blur(35px);
  pointer-events: none;
}

.section--faq .container {
  max-width: 900px;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
  margin-top: 0.5rem;
  align-items: start;
}

.faq__item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(181, 201, 161, 0.2);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.faq__question {
  padding: 1.2rem 1.5rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

/* Remove default marker */
.faq__question::-webkit-details-marker {
  display: none;
}

/* Custom expand/collapse indicator */
.faq__question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--color-sage);
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Smooth expand/collapse animation */
.faq__item {
  transition: grid-template-rows 0.3s ease;
}

.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}


.faq__body-inner {
  overflow: hidden;
}

/* ==========================================================================
   RSVP
   ========================================================================== */
.section--rsvp {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Pink blob left on RSVP */
.section--rsvp::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -12%;
  width: 45vw;
  height: 45vw;
  max-width: 380px;
  max-height: 380px;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 120, 140, 0.5) 0%,
    rgba(219, 143, 158, 0.28) 40%,
    transparent 70%
  );
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  filter: blur(35px);
  pointer-events: none;
}

/* Sage blob right on RSVP */
.section--rsvp::after {
  content: '';
  position: absolute;
  bottom: 5%;
  right: -8%;
  width: 45vw;
  height: 40vw;
  max-width: 380px;
  max-height: 340px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.45) 0%,
    rgba(149, 185, 126, 0.25) 40%,
    transparent 70%
  );
  border-radius: 40% 60% 60% 40% / 60% 40% 40% 60%;
  filter: blur(35px);
  pointer-events: none;
}

.rsvp__text {
  max-width: 55ch;
  margin: 0 auto 2rem;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.rsvp__text strong {
  font-weight: 600;
  color: var(--color-text);
}

.rsvp__actions {
  position: relative;
  z-index: 1;
}

.rsvp__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.rsvp__or {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 0.8rem 0;
}

.rsvp__note {
  max-width: 50ch;
  margin: 2rem auto 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--color-cream), rgba(232, 180, 184, 0.15));
  position: relative;
}

/* Sage accent top-right in footer */
.footer::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 35vw;
  height: 35vw;
  max-width: 280px;
  max-height: 280px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 165, 95, 0.35) 0%,
    transparent 70%
  );
  border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%;
  filter: blur(30px);
  pointer-events: none;
}

.footer__names {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.footer__date {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.footer__message {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.footer__heart {
  font-size: 1.5rem;
  color: var(--color-pink);
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE – Tablet (600px+)
   ========================================================================== */
@media (min-width: 600px) {
  :root {
    --section-padding: 6rem 2rem;
  }

  .details__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .faq__grid {
    grid-template-columns: 1fr 1fr;
  }

  .location__map iframe {
    height: 350px;
  }

  .hero__countdown {
    gap: 2rem;
  }
}

/* At 768px the overlay nav disappears and inline nav shows */
@media (min-width: 768px) {
  .main-nav a {
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   RESPONSIVE – Laptop (900px+)
   ========================================================================== */
@media (min-width: 900px) {
  :root {
    --section-padding: 7rem 3rem;
    --nav-height: 56px;
  }

  .main-nav a {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
  }

  .location__content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .location__map iframe {
    height: 100%;
    min-height: 400px;
  }

  /* Desktop timeline – centered with alternating sides */
  .timeline {
    padding-left: 0;
    max-width: 700px;
  }

  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline__item {
    width: 50%;
    padding-right: 2.5rem;
    text-align: right;
  }

  .timeline__dot {
    left: auto;
    right: -8px;
  }

  .timeline__item:nth-child(even) {
    margin-left: 50%;
    text-align: left;
    padding-right: 0;
    padding-left: 2.5rem;
  }

  .timeline__item:nth-child(even) .timeline__dot {
    left: -8px;
    right: auto;
  }
}

/* ==========================================================================
   RESPONSIVE – Desktop (1200px+)
   ========================================================================== */
@media (min-width: 1200px) {
  :root {
    --section-padding: 8rem 4rem;
  }

  .container {
    padding: 0;
  }

  .hero__countdown {
    gap: 3rem;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
