/* ============================================================
   CHELSEA & DEREK — WEDDING SITE
   style.css
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --sage:     #b8d4a8;
  --sky:      #a8d4e8;
  --yellow:   #ffd84a;
  --peach:    #f4a54a;
  --coral:    #e85c6a;
  --lilac:    #d4a8d4;
  --navy:     #1c2e5e;
  --cream:    #fdf6ee;

  /* gradient stops that match the sunset palette */
  --g-top:    #a8d4e8;   /* sky blue */
  --g-mid1:   #ffd84a;   /* yellow */
  --g-mid2:   #f4a54a;   /* peach/orange */
  --g-mid3:   #e85c6a;   /* coral */
  --g-bot:    #d4a8d4;   /* lilac */

  --font-display: 'Cormorant Garamond', serif;
  --font-italic:  'Cormorant Infant', serif;
  --font-sans:    'Jost', sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; background-color: #c9a8d4; }
body {
  font-family: var(--font-sans);
  background-color: #c9a8d4;
  color: var(--navy);
  overflow-x: hidden;
  animation: pageFadeIn 0.45s ease both;
}
body.rsvp-body {
  overflow: hidden;
  height: 100vh;
}
::-webkit-scrollbar { display: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   NAV
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(253, 246, 238, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(253, 246, 238, 0.95);
  box-shadow: 0 2px 20px rgba(28,46,94,0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.nav-logo .amp { color: var(--coral); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-item { position: relative; }

/* Invisible bridge so the mouse doesn't leave .has-dropdown when traveling to the dropdown */
.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.5rem 1rem;
  display: block;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--coral); }

/* RSVP pill in nav */
.nav-rsvp {
  background: var(--yellow);
  border-radius: 999px;
  padding: 0.6rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--navy) !important;
  box-shadow: 0 2px 12px rgba(255, 216, 74, 0.5);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-rsvp:hover {
  background: var(--peach);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 216, 74, 0.4);
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(253,246,238,0.97);
  border: 1px solid rgba(28,46,94,0.1);
  border-radius: 12px;
  min-width: 210px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 32px rgba(28,46,94,0.12);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.dropdown li a:hover {
  color: var(--coral);
  background: rgba(232,92,106,0.06);
}

.nav-soon {
  font-size: 0.75rem;
  font-style: normal;
  margin-left: 0.3rem;
  text-transform: none;
  letter-spacing: 0;
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(253,246,238,0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  padding: 1.5rem 2rem 2rem;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(28,46,94,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(28,46,94,0.07);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-rsvp {
  margin-top: 0.75rem;
  background: var(--yellow);
  border-radius: 999px;
  padding: 0.8rem 2rem !important;
  text-align: center;
  font-weight: 400 !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 5rem;
  overflow: hidden;
  background-color: #c8e8f0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('CD1.JPG');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,46,94,0.18) 0%,
    rgba(28,46,94,0.08) 40%,
    rgba(28,46,94,0.08) 80%,
    #c8e8f0 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  margin-top: 1.5rem;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

.hero-names {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.9;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  text-shadow: 0 4px 40px rgba(28,46,94,0.25);
  animation: fadeUp 1.2s ease both;
}
.name-chelsea, .name-derek {
  display: block;
}
.hero-amp {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.55em;
  color: var(--yellow);
  line-height: 1;
  animation: fadeUp 1.2s 0.15s ease both;
}

.hero-meta {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  animation: fadeUp 1.2s 0.3s ease both;
}
.hero-date, .hero-location {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9);
}
.hero-date { text-transform: uppercase; }
.hero-location { text-transform: none; }
.hero-dot { color: #ffd84a; font-size: 1rem; margin: 0 0.4rem; }

/* COUNTDOWN BAR */
.countdown-bar {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 1.2s 0.5s ease both;
}
.countdown-inner {
  display: flex;
  align-items: center;
  background: rgba(253,246,238,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.9rem 2.5rem;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.4rem;
}
.countdown-num {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 200;
  color: #fff;
  line-height: 1;
  min-width: 2.5ch;
  text-align: center;
  letter-spacing: 0.04em;
}
.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.65);
  margin-top: 0.35rem;
}
.countdown-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.25);
}

/* SCROLL INDICATOR */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: transparent;
  animation: scrollPulse 2s infinite;
}

/* ============================================================
   GRADIENT SECTIONS — one seamless flow
   ============================================================ */

/* The whole post-hero body flows as one gradient river.
   We use a shared background on a wrapper so there are zero seams. */
.gradient-river {
  background: linear-gradient(180deg,
    #c8e8f0  0%,
    #b8c0e0 25%,
    #d4a8c0 50%,
    #c8a0cc 75%,
    #b898c8 100%
  );
}

.gradient-section {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  background: transparent;
}

.section-party {
  background: transparent;
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.chapter-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(28,46,94,0.6);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 2.5rem;
}

.section-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(28,46,94,0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* pill button — no dot */
.pill-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1.5px solid rgba(28,46,94,0.4);
  border-radius: 999px;
  padding: 0.75rem 2rem;
  transition: border-color 0.2s, background 0.2s;
}
.pill-btn:hover {
  border-color: var(--navy);
  background: rgba(28,46,94,0.06);
}
.coming-soon-btn {
  cursor: default;
}
.coming-soon-btn:hover {
  border-color: rgba(28,46,94,0.4);
  background: transparent;
}

/* wedding party icons */
.party-icons {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem 0;
}
.party-person {
  width: 48px;
  height: 72px;
  background: rgba(28,46,94,0.18);
  border-radius: 999px 999px 40% 40%;
  position: relative;
}
.party-person::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background: rgba(28,46,94,0.18);
  border-radius: 50%;
}
.party-person:nth-child(odd) { height: 64px; }
.party-person:nth-child(3) { height: 80px; }

/* ============================================================
   CLOSING CTA / FOOTER
   ============================================================ */
.closing-cta {
  background: transparent;
  padding: 8rem 2rem 0;
  text-align: center;
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 6rem;
}

.closing-ornament {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(28,46,94,0.45);
  letter-spacing: 0.3em;
  margin-bottom: 2.5rem;
}

.closing-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.closing-amp { color: var(--coral); }

.closing-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(28,46,94,0.6);
  margin-bottom: 3rem;
}
.closing-dot {
  color: #e85c6a;
  font-size: 1rem;
  margin: 0 0.4rem;
}

/* BIG RSVP BUTTON */
.rsvp-big-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--navy);
  border-radius: 999px;
  padding: 1.4rem 4.5rem;
  box-shadow: 0 8px 40px rgba(28,46,94,0.25);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.rsvp-big-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 50px rgba(28,46,94,0.3);
  background: #0f1e42;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(28,46,94,0.15);
  padding: 2rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(28,46,94,0.45);
  gap: 0.5rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ============================================================
   RSVP PAGE
   ============================================================ */
.rsvp-page {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #e0d8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 1.5rem 0;
}

.rsvp-page::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(160deg,
    #b8ccd8 0%,
    #dfd0a0 30%,
    #d4b898 55%,
    #c8a0a0 75%,
    #c0b0c8 100%
  );
  filter: blur(80px);
  z-index: 0;
}

.rsvp-card {
  background: rgba(253,246,238,0.82);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 2rem 3rem;
  max-width: 860px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(28,46,94,0.12);
  animation: fadeUp 1s ease both;
}

.rsvp-card-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(28,46,94,0.6);
  text-align: center;
  margin-bottom: 0.55rem;
}

.rsvp-card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--navy);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 0.75rem;
}
.rsvp-card-title .rsvp-amp,
.rsvp-success .rsvp-amp { color: var(--coral); }

.rsvp-venue {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(28,46,94,0.55);
  text-align: center;
  display: block;
  margin-bottom: 0.15rem;
}

.rsvp-date-line {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(28,46,94,0.55);
  text-align: center;
  display: block;
  margin-bottom: 0;
}

.rsvp-deadline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(28,46,94,0.55);
  text-align: center !important;
  display: block;
  margin-bottom: 0.2rem;
}
.rsvp-deadline strong {
  color: #e85c6a;
  font-weight: 400;
}

.rsvp-respond-by {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-align: center !important;
  display: block;
  text-decoration: none;
  width: 100%;
  margin-top: 0.45rem;
  margin-bottom: 0.5rem;
}
.rsvp-respond-by strong {
  color: #e85c6a;
  font-weight: 600;
  text-decoration: none;
}

.required-star {
  color: #e85c6a;
  margin-left: 0.15rem;
}

.rsvp-divider {
  width: 48px;
  height: 1px;
  background: rgba(28,46,94,0.2);
  margin: 0 auto 0.5rem;
}

/* Form */
.rsvp-form { display: flex; flex-direction: column; gap: 0.75rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28,46,94,0.65);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--navy);
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(28,46,94,0.15);
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  background: rgba(255,255,255,0.92);
}
.form-group textarea { resize: none; min-height: 72px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* attendance radio */
.radio-group {
  display: flex;
  gap: 1rem;
}
.radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(28,46,94,0.15);
  border-radius: 10px;
  padding: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--navy);
}
.radio-option input[type="radio"] { display: none; }

/* custom checkbox box — always visible on the left */
.radio-option::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #fff;
  border: 1.5px solid rgba(28,46,94,0.25);
  border-radius: 3px;
  flex-shrink: 0;
  line-height: 12px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1c2e5e;
  transition: border-color 0.2s;
}

/* selected state */
.radio-option:has(input:checked) {
  border-color: #e85c6a;
  background: rgba(232,92,106,0.08);
}
.radio-option:has(input:checked)::before {
  border-color: #e85c6a;
  color: #e85c6a;
}

/* ✓ for Going, ✗ for Not Going */
.radio-option:has(input[value="yes"]:checked)::before { content: '✓'; }
.radio-option:has(input[value="no"]:checked)::before  { content: '✗'; }

/* field-error validation state */
.field-error label { color: #e85c6a !important; }
.field-error input,
.field-error textarea { border-color: #e85c6a !important; }
.field-error .radio-group {
  border: 1.5px solid #e85c6a;
  border-radius: 10px;
  padding: 0.5rem;
}

/* Submit */
.rsvp-submit {
  margin-top: 0.25rem;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--navy);
  border: none;
  border-radius: 999px;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 28px rgba(28,46,94,0.2);
}
.rsvp-submit:hover {
  background: #0f1e42;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(28,46,94,0.28);
}

.rsvp-note {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(28,46,94,0.45);
  margin-top: 1rem;
}

/* success state */
.rsvp-success {
  text-align: center;
  padding: 2rem 0;
  display: none;
}
.rsvp-success.visible { display: block; }
.rsvp-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.rsvp-success h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.rsvp-success p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(28,46,94,0.7);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {

  /* ---- NAV ---- */
  .navbar { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* ---- HERO ---- */
  .hero-names { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero-meta { flex-direction: column; gap: 0.3rem; }
  .hero-dot { display: none; }

  /* Countdown — shrink to fit 375px without overflowing */
  .countdown-bar { bottom: 56px; }
  .countdown-inner { padding: 0.6rem 0.9rem; }
  .countdown-unit { padding: 0 0.55rem; }
  .countdown-num { font-size: 1.25rem; min-width: 1.8ch; }
  .countdown-label { font-size: 0.42rem; margin-top: 0.2rem; }
  .countdown-divider { height: 24px; }

  /* ---- GRADIENT SECTIONS ---- */
  .gradient-section { padding: 4rem 1.5rem; }
  .section-title { margin-bottom: 1.5rem; }

  /* ---- CLOSING CTA ---- */
  .closing-cta { padding: 4rem 1.5rem 0; }
  .closing-inner { padding-bottom: 4rem; }
  .closing-headline { font-size: clamp(1.8rem, 7vw, 3rem); }
  .rsvp-big-btn {
    display: block;
    width: 100%;
    padding: 1.2rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
  }

  /* ---- FOOTER ---- */
  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 0.25rem;
  }

  /* ---- RSVP PAGE ---- */
  /* Allow scrolling — the card is taller than the viewport on phones */
  body.rsvp-body { overflow-y: auto; height: auto; }
  .rsvp-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    justify-content: flex-start;
    padding: 80px 1rem 2rem;
  }
  /* Keep the blurred gradient fixed so it covers the viewport as you scroll */
  .rsvp-page::before { position: fixed; inset: 0; filter: blur(80px); }

  .rsvp-card { padding: 1rem 1.25rem 1.25rem; border-radius: 16px; }
  /* Allow the title to wrap on very small screens */
  .rsvp-card-title { white-space: normal; }
  .form-row { grid-template-columns: 1fr; }
  /* 16px minimum prevents iOS from auto-zooming on input focus */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; }
}

.grecaptcha-badge {
  visibility: hidden !important;
}