:root {
  /* ── Black Tie Palette ── */
  --onyx:        #0A0A0A;
  --jet:         #111111;
  --charcoal:    #1C1C1C;
  --graphite:    #2A2A2A;
  --smoke:       #8A8078;
  --ivory:       #F2ECD8;
  --ivory-dim:   #C8C0A8;
  --gold:        #D4AF37;
  --gold-bright: #E8C84A;
  --gold-dim:    #9A7E22;
  --gold-glow:   rgba(212,175,55,0.15);
  --white:       #FFFFFF;

  /* legacy aliases */
  --ink:         #0A0A0A;
  --cream:       #0A0A0A;
  --champagne:   #F2ECD8;
  --parchment:   #C8C0A8;
  --terra:       #D4AF37;
  --terra-light: #E8C84A;
  --terra-pale:  #D4AF37;
  --sage-pale:   #8A8078;
  --sage-mid:    #2A2A2A;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--white);
  font-family: 'Jost', sans-serif;
  overflow-x: hidden;
  color: var(--white);
  min-height: 100vh;
  min-height: 100svh;
  max-width: 100%;
  border-radius: 4px;
}

/* Global word-safety so long names/emails never blow out narrow screens */
h1, h2, h3, p, span, div, a, button, input, select, textarea {
  overflow-wrap: break-word;
  word-break: break-word;
}

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

/* ── SPARKLE CANVAS ── */
#sparkle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#sparkle-canvas.active { opacity: 1; }

/* ══════════════════════════════════════
   VIDEO INTRO SCENE
══════════════════════════════════════ */
  #video-scene {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-image: url('FBS-6089.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease;
  }
  #video-scene.gone {
    opacity: 0;
    pointer-events: none;
  }


  

  #intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-image: url("FBS-6089.jpg");
    border-radius: 0;
    /* keeps the video sharp and prevents browser-side blur upscaling */
    image-rendering: -webkit-optimize-contrast;
    z-index: 2;
  }

  /* Blurred duplicate of the same video fills the background on wide
    screens so there's no empty black bars beside the portrait video */
  #intro-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(40px) brightness(0.4) saturate(1.2);
    transform: scale(1.15);
    z-index: 1;
    display: none;
    pointer-events: none;
  }




  /* Short / landscape phones — the video overlay text can overflow the
    viewport height, so tighten it up */
  @media (max-height: 640px) {
    .video-eyebrow-wrap { margin-bottom: 18px; }
    .video-eyebrow-line { margin-bottom: 10px; }
    .video-eyebrow { font-size: clamp(18px, 5vw, 26px); max-width: 280px; }
    .play-ring { width: 60px; height: 60px; margin-bottom: 18px; }
    .play-ring-core { width: 46px; height: 46px; }
    #video-continue { bottom: 20px; }
  }

  /* overlay shown before video plays */
  #video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background-image:
      radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.82) 100%),
      url('FBS-6089.jpg');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    z-index: 2;
    transition: opacity 0.5s ease;
    cursor: pointer;
  }
  #video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
  }

  .play-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .play-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.35);
  }
  .play-ring::after {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.16);
    animation: ring-expand 2.6s cubic-bezier(0.2,0.7,0.3,1) infinite;
  }
  @keyframes ring-expand {
    0%   { transform: scale(0.82); opacity: 0; }
    35%  { opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
  }
  .play-ring-core {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(150deg, #E8C84A, #C9952A);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(212,175,55,0.35);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  }
  #video-overlay:active .play-ring-core { transform: scale(0.92); }
  .play-ring-core svg { margin-left: 3px; }

  .video-hint-text {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 10.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(242,236,216,0.5);
  }
  .video-eyebrow-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 38px;
    max-width: 100%;
  }
  .video-eyebrow-line {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.7), transparent);
    margin-bottom: 18px;
  }
  .video-eyebrow-tag {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 9px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.65);
    margin-bottom: 14px;
    text-align: center;
  }
  .video-eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(22px, 5.5vw, 34px);
    color: rgba(242,236,216,0.96);
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-align: center;
    max-width: 320px;
    text-wrap: balance;
  }

  /* "continue" button shown after video ends */
  #video-continue {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
  }
  #video-continue.show { display: flex; }
  #video-continue .cont-btn {
    background: rgba(232,184,75,0.15);
    border: 1.5px solid rgba(232,184,75,0.7);
    color: #E8B84B;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 2px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease;
    max-width: 100%;
  }
  #video-continue .cont-btn:hover { background: rgba(232,184,75,0.28); }




/* ══════════════════════════════════════
   MUSIC BAR
══════════════════════════════════════ */
#music-bar {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  right: max(22px, env(safe-area-inset-right));
  z-index: 500;
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(10,10,10,0.92);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 40px;
  padding: 8px 16px 8px 10px;
  backdrop-filter: blur(16px);
  transition: opacity 0.4s ease;
  max-width: calc(100vw - 24px);
}
#music-bar.visible { display: flex; }
#music-bar.faded   { opacity: 0.3; }
#music-bar:hover   { opacity: 1 !important; }
 
#music-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.5);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
#music-toggle:hover { background: rgba(212,175,55,0.12); }
#music-toggle svg  { pointer-events: none; }
 
.music-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.music-title {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(242,236,216,0.8);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.music-bars span {
  display: block;
  width: 2px;
  background: var(--gold);
  border-radius: 1px;
  animation: eq-bar 0.8s ease-in-out infinite alternate;
}
.music-bars span:nth-child(1) { height: 4px;  animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 9px;  animation-delay: 0.18s; }
.music-bars span:nth-child(3) { height: 6px;  animation-delay: 0.32s; }
.music-bars span:nth-child(4) { height: 10px; animation-delay: 0.08s; }
.music-bars span:nth-child(5) { height: 5px;  animation-delay: 0.24s; }
@keyframes eq-bar {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}
.music-bars.paused span { animation-play-state: paused; opacity: 0.3; }
 

/* ══════════════════════════════════════
   SCROLL CONTENT
══════════════════════════════════════ */
#scroll-content {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  background: var(--white);
  max-width: 100%;
  overflow-x: hidden;
}
#scroll-content.revealed {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* RSVP state helpers */
.rsvp-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.rsvp-success.show { display: block; }
#rsvp-form.hidden  { display: none; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 16px;
  background-image: url('FBS-6132-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -5%;
  background-image: url('FBS-6132-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px);
  opacity: 0.6;
  transform: scale(1.04);
  animation: subtleShift 14s ease-in-out infinite alternate;
}

/* thin gold hairline across the hero top (decorative gradient line, not an image) */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
  z-index: 3;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(94%, 640px);
  max-width: 100%;
  padding: clamp(28px, 8vw, 64px) clamp(20px, 6vw, 56px);
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(12, 0, 0, 0.86);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: heroReveal 1.2s cubic-bezier(0.22,1,0.36,1) both;
  overflow: hidden;
}
 
/* ── Two photos crossfading behind the card content ──
   Replace the two filenames below with your own shots. Each photo
   shows for ~5s, fades over ~1s, then the other one takes its turn —
   on an endless loop. Adjust the "12s" duration to speed up/slow down
   the whole cycle. */
.hero-card-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* purely decorative — never intercept taps/clicks meant for the
     buttons and text stacked above it */
  pointer-events: none;

}

.hero-card-photo-1::before{
  content: '';
  position: absolute;
  inset: 0;
  background:rgba(9, 9, 9, 0.6);
  backdrop-filter: blur(1px) saturate(1.1);
  z-index: 1;
}

.hero-card-photo-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:rgba(9, 9, 9, 0.6);
  backdrop-filter: blur(1px) saturate(1.1);
  z-index: 1;
}


.hero-card-photo-1 {
  background-image: url('FBS-6056.jpg');
  animation: heroPhotoFadeA 12s ease-in-out infinite;
}
.hero-card-photo-2 {
  background-image: url('FBS-6121.jpg');
  animation: heroPhotoFadeB 12s ease-in-out infinite;
}
@keyframes heroPhotoFadeA {
  0%, 42%  { opacity: 1; }
  50%, 92% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes heroPhotoFadeB {
  0%, 42%  { opacity: 0; }
  50%, 92% { opacity: 1; }
  100%     { opacity: 0; }
}
 
/* dark scrim on top of both photos so text stays legible */
.hero-card::before{
  content:'';
  position:absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius:20px;
  z-index: 1;
  /* purely decorative — never intercept taps/clicks meant for the
     buttons and text stacked above it */
  pointer-events: none;
}
/* keep all real content above the photos + scrim */
.hero-card-content {
  position: relative;
  z-index: 2;
}
 
 
@keyframes heroReveal {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 12px;
  padding: 6px 20px;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 1s 0.4s both;
}
.hero-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(40px, 10vw, 96px);
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 4px;
  animation: fadeUp 1s 0.6s both;
}
.hero-amp {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 2.5vw, 15px);
  color: var(--gold);
  letter-spacing: 0.3em;
  font-style: normal;
  display: block;
  margin: 8px 0;
  text-transform: uppercase;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 3.5vw, 19px);
  font-style: italic;
  color: var(--ivory-dim);
  font-weight: 300;
  margin: 18px 0 30px;
  animation: fadeUp 1s 0.8s both;
}

/* dates */
.hero-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 5vw, 44px);
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeUp 1s 1s both;
}
.date-item { text-align: center; }
.date-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.date-label {
  font-size: clamp(7px, 1.5vw, 9px);
  letter-spacing: 0.22em;
  color: var(--ivory-dim);
  text-transform: uppercase;
  margin-top: 6px;
  white-space: nowrap;
}
.date-sep {
  width: 1px;
  height: 48px;
  background: rgba(212,175,55,0.25);
  flex-shrink: 0;
}

/* countdown */
.countdown {
  display: flex;
  gap: clamp(5px, 2vw, 8px);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeUp 1s 1.1s both;
}
.cd-box {
  min-width: 50px;
  flex: 0 1 56px;
  padding: 10px 8px;
  background: rgba(28,28,28,0.8);
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.14);
}
.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 5vw, 30px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.cd-label {
  font-size: 7px;
  letter-spacing: 0.2em;
  color: var(--smoke);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 1.2s both;
}
.btn {
  padding: 12px 28px;
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--gold);
  color: var(--onyx);
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory-dim);
  border: 1px solid rgba(212,175,55,0.28);
}
.btn-ghost:hover {
  border-color: rgba(212,175,55,0.55);
  color: var(--ivory);
  transform: translateY(-2px);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--smoke);
  font-size: 7px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: bounce 3s ease-in-out infinite, fadeUp 1s 1.4s both;
}
.scroll-cue svg { animation: arrowDrop 2s ease-in-out infinite; }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section {
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(52px, 10vw, 80px) 24px;
  background: var(--white);
}
.section-overline {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 14px;
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7vw, 50px);
  color: var(--onyx);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 16px;
}
.section-heading em { color: var(--gold); font-style: italic; }
.section-body {
  font-size: 15px;
  color: var(--smoke);
  line-height: 1.9;
  font-weight: 300;
}

/* ceremony cards */
.ceremony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
  margin-top: 36px;
}
.cc {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(212,175,55,0.14);
}
.cc:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.25);
}
.cc-trad { background: var(--graphite); }
.cc-wed  { background: var(--graphite); }
.cc-body { padding: 28px 22px 16px; position: relative; min-height: 148px; }
.cc-badge {
  display: inline-block;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 5.5vw, 32px);
  color: var(--ivory);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 5px;
}
.cc-sub {
  font-size: 10px;
  color: var(--smoke);
  letter-spacing: 0.06em;
}
.cc-ghost-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 14vw, 84px);
  font-weight: 300;
  color: rgba(212,175,55,0.05);
  position: absolute;
  bottom: -10px; right: 14px;
  line-height: 1;
  pointer-events: none;
}
.cc-footer {
  padding: 12px 22px;
  border-top: 1px solid rgba(212,175,55,0.1);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-align: right;
  text-transform: uppercase;
}

/* ornament divider */
.ornament-divider {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 660px;
  margin: 0 auto;
  background: var(--white);
}
.ornament-divider::before, .ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
}
.ornament-divider .gem {
  width: 8px; height: 8px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
  flex-shrink: 0;
}

/* page sections */
.page-section { background: var(--white); max-width: 100%; overflow-x: hidden; }
.page-inner {
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 60px) 24px;
}

.pill {
  display: inline-block;
  border-radius: 12px;
  padding: 5px 16px;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  background: rgba(212,175,55,0.07);
}
.pill-sage  { background: rgba(212,175,55,0.07); color: var(--gold); }
.pill-terra { background: rgba(212,175,55,0.07); color: var(--gold); }

.ceremony-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 9vw, 72px);
  color: var(--terra-light);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  margin-bottom: 14px;
}
.ceremony-desc {
  font-size: 15px;
  color: var(--smoke);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 32px;
}

/* detail blocks */
.detail-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.dblock {
  background: var(--graphite);
  border-radius: 12px;
  padding: 20px;
  border-top: 2px solid var(--gold);
  border-left: 1px solid rgba(212,175,55,0.1);
  border-right: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
  min-width: 0;
}
.dblock.full { grid-column: 1 / -1; }
.dblock-label {
  font-size: 7px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 8px;
  opacity: 0.65;
}
.dblock-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 4.5vw, 24px);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.2;
}
.dblock-sub {
  font-size: 12px;
  color: var(--smoke);
  margin-top: 5px;
  font-weight: 300;
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 10px;
  background: var(--charcoal);
  color: var(--ivory-dim);
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.07);
}
.chip-green {
  background: rgba(212,175,55,0.08);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.22);
}

/* quote banner */
.quote-banner {
  background: var(--jet);
  border-left: 2px solid var(--gold);
  border-radius: 12px;
  padding: 18px 24px;
  margin: 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 3.5vw, 17px);
  font-style: italic;
  color: var(--ivory-dim);
  font-weight: 300;
  line-height: 1.65;
}

/* nav row */
.nav-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.nav-btn {
  padding: 11px 24px;
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.nav-sage  { background: var(--charcoal); color: var(--ivory-dim); border: 1px solid rgba(255,255,255,0.1); }
.nav-sage:hover  { background: var(--graphite); color: var(--ivory); }
.nav-dark  { background: var(--charcoal); color: var(--ivory-dim); border: 1px solid rgba(255,255,255,0.1); }
.nav-dark:hover  { background: var(--graphite); color: var(--ivory); }
.nav-terra { background: var(--gold); color: var(--onyx); font-weight: 500; }
.nav-terra:hover { background: var(--gold-bright); }

/* ══════════════════════════════════════
   RSVP SECTION
══════════════════════════════════════ */
.rsvp-section {
  padding: clamp(56px, 10vw, 80px) 16px;
  background-image: url('FBS-6121.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.rsvp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.63);
}
.rsvp-card {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 48px);
  background: rgba(17,17,17,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: 12px;
  /* top gold accent line */
  box-shadow: inset 0 1px 0 rgba(212,175,55,0.35), 0 32px 64px rgba(0,0,0,0.5);
}
.rsvp-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(48px, 11vw, 80px);
  color: var(--gold);
  text-align: center;
  line-height: 1;
  margin-bottom: 4px;
}
.rsvp-deadline {
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.28em;
  color: var(--smoke);
  text-transform: uppercase;
  margin-bottom: 36px;
}
 
/* thin gold rule under RSVP title */
.rsvp-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
  opacity: 0.5;
}
 
.form-field { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.26em;
  color: rgba(212,175,55,0.65);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 3px;
  padding: 12px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(138,128,120,0.45); }
.form-input:focus {
  border-color: rgba(212,175,55,0.5);
  background: rgba(255,255,255,0.05);
}
.form-input option { background: #111; color: var(--ivory); }
textarea.form-input { resize: vertical; min-height: 84px; }
 
/* ── Modern dropdowns ── */
select.form-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  border-radius: 8px;
  padding-right: 42px;
  background-color: rgba(255,255,255,0.03);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23D4AF37' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px 7px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
select.form-input:hover {
  border-color: rgba(212,175,55,0.4);
  background-color: rgba(255,255,255,0.05);
}
select.form-input:focus {
  border-color: rgba(212,175,55,0.55);
  background-color: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
/* dim the placeholder-like first option ("Select…") without affecting real choices */
select.form-input:invalid,
select.form-input option[value=""] {
  color: rgba(242,236,216,0.45);
}
select.form-input option {
  background: #141414;
  color: var(--ivory);
  padding: 10px;
}
 
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 14px;
}
 
/* side pick */
.side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.side-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 4px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 0;
}
.side-card:hover {
  background: rgba(212,175,55,0.07);
  border-color: rgba(212,175,55,0.4);
}
.side-card.chosen {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(212,175,55,0.3);
}
.side-ring {
  width: 34px; height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-ring svg { width: 15px; height: 15px; }
.side-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 3px;
}
.side-sub {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0.65;
}
 
/* capacity notice */
.capacity-notice {
  font-size: 10px;
  color: var(--smoke);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
 
/* side-full message */
.side-full-msg {
  display: none;
  background: rgba(17,17,17,0.9);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 4px;
  padding: 18px 20px;
  margin-top: 12px;
  text-align: center;
}
.side-full-msg.show { display: block; }
.side-full-msg p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 3.5vw, 16px);
  color: var(--gold);
  font-style: italic;
  line-height: 1.65;
}
.side-full-msg .contact-line {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--smoke);
  margin-top: 8px;
  letter-spacing: 0.04em;
}
 
.submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--onyx);
  border: none;
  border-radius: 2px;
  padding: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 12px;
}
.submit-btn:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.28);
}
.submit-btn:active  { transform: translateY(0); }
.submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
 
/* success */
.rsvp-success {
  text-align: center;
  padding: 40px 0;
}
.rsvp-success.show {
  animation: fadeUp 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}
.success-emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 20px;
  animation: pop 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}
.success-headline {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(38px, 9vw, 58px);
  color: var(--gold);
  margin-bottom: 14px;
}
.success-msg {
  font-size: 14px;
  color: var(--smoke);
  line-height: 1.85;
  font-weight: 300;
}
.success-sig {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(24px, 5.5vw, 34px);
  color: rgba(212,175,55,0.65);
  margin-top: 24px;
}
 
/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--jet);
  border-top: 1px solid rgba(212,175,55,0.14);
  padding: 48px 24px;
  text-align: center;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(28px, 6vw, 42px);
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-date {
  font-size: 8px;
  letter-spacing: 0.28em;
  color: var(--smoke);
  text-transform: uppercase;
}
 
.footer-credit {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(138,128,120,0.55);
  text-transform: uppercase;
  margin-top: 18px;
}
 
/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes subtleShift {
  from { transform: scale(1.04) translate(-0.5%, -0.5%); }
  to   { transform: scale(1.08) translate(0.5%, 0.5%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.85; }
}
@keyframes arrowDrop {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
 
/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
 
/* Ultra-small phones (older iPhone SE, small Android) */
@media (max-width: 340px) {
  .hero-card    { padding: 22px 14px; }
  .hero-names   { font-size: clamp(38px, 15vw, 52px); }
  .cd-box       { min-width: 40px; flex-basis: 44px; padding: 6px 4px; }
  .cd-num       { font-size: 17px; }
  .btn          { padding: 11px 18px; font-size: 8px; }
  .rsvp-card    { padding: 16px 12px; }
  .side-grid    { grid-template-columns: 1fr; }
}
 
@media (max-width: 480px) {
  .hero-dates    { flex-direction: column; gap: 12px; }
  .date-sep      { width: 32px; height: 1px; }
  .hero-ctas     { flex-direction: column; align-items: stretch; }
  .btn           { width: 100%; text-align: center; }
  .ceremony-grid { grid-template-columns: 1fr; }
  .detail-row    { grid-template-columns: 1fr; }
  .dblock.full   { grid-column: auto; }
  .form-grid     { grid-template-columns: 1fr; }
  .nav-row       { flex-direction: column; }
  .nav-btn       { width: 100%; text-align: center; }
  .scroll-cue    { bottom: 6px; }
}
 
@media (max-width: 360px) {
  .side-grid  { grid-template-columns: 1fr; }
  .cd-box     { min-width: 42px; padding: 7px 5px; }
  .rsvp-card  { padding: 18px 14px; }
}
 
/* Short viewports / landscape phones — hero content can exceed the
   visible height, so trim vertical rhythm instead of letting it clip */
@media (max-height: 700px) and (orientation: landscape) {
  .hero            { padding: 16px; min-height: 100vh; }
  .hero-card       { padding: 18px 24px; }
  .hero-badge      { margin-bottom: 12px; }
  .hero-names      { font-size: clamp(30px, 8vw, 48px); margin-bottom: 2px; }
  .hero-tagline    { margin: 8px 0 14px; }
  .hero-dates      { margin-bottom: 14px; }
  .countdown       { margin-bottom: 16px; }
  .scroll-cue      { display: none; }
}
 
/* Tablets — give grids and text a touch more breathing room */
@media (min-width: 600px) {
  .nav-row { flex-wrap: nowrap; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .section, .page-inner { max-width: 680px; }
  .ceremony-grid { gap: 20px; }
}
 
/* Large desktop / wide monitors */
@media (min-width: 1200px) {
  .section, .page-inner, .ornament-divider { max-width: 720px; }
  .rsvp-card { max-width: 560px; }
}
@media (min-width: 1600px) {
  html { font-size: 17px; }
  .section, .page-inner, .ornament-divider { max-width: 780px; }
  .hero-card { max-width: 700px; }
  .rsvp-card { max-width: 600px; }
}
 
/* Foldables / very tall narrow phones — hero card shouldn't feel lost */
@media (min-width: 380px) and (max-width: 480px) and (min-height: 800px) {
  .hero-card { padding: 44px 28px; }
}
 
@supports (-webkit-touch-callout: none) {
  .form-input { font-size: 16px; }
}