/* ═══════════════════════════════════════════════════════════════════
   Elena & Dmitri Wedding — Luxury Design System
   Palette: Blush Rose · Champagne · Sage · Ivory
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

/* ── Custom Properties ─────────────────────────────────────────────── */
:root {
  --color-bg:         #fdf8f3;
  --color-bg-alt:     #fef5ee;
  --color-rose:       #c8847a;
  --color-rose-deep:  #a85c55;
  --color-rose-light: #f0cdc9;
  --color-gold:       #b89a6a;
  --color-gold-light: #e8d9c0;
  --color-sage:       #8a9e7d;
  --color-sage-light: #cfdcc9;
  --color-text:       #3d2c2c;
  --color-text-soft:  #7a6060;
  --color-text-muted: #a89090;
  --color-white:      #ffffff;

  --glass-bg:         rgba(255, 252, 248, 0.55);
  --glass-border:     rgba(200, 132, 122, 0.18);
  --glass-blur:       18px;
  --glass-shadow:     0 8px 40px rgba(168, 92, 85, 0.10), 0 2px 12px rgba(168, 92, 85, 0.06);

  --font-script:      'Great Vibes', cursive;
  --font-serif:       'Cormorant Infant', serif;
  --font-garamond:    'Cormorant Garamond', serif;

  --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-w:            1160px;
  --section-py:       120px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-serif), serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(240, 205, 201, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(207, 220, 201, 0.14) 0%, transparent 60%);
}

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

/* ── Glass Card ────────────────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

/* ── Navigation ────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(255, 252, 248, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(200, 132, 122, 0.20);
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(168, 92, 85, 0.10);
  padding: 10px 32px;
  transition: var(--transition);
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-family: var(--font-garamond), serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  transition: color 0.25s;
  cursor: pointer;
}

.site-nav a:hover { color: var(--color-rose-deep); }

.nav-lang { font-size: 0.7rem; letter-spacing: 0.1em; opacity: 0.75; }
.nav-lang a { color: var(--color-rose); text-decoration: none; }
.nav-lang a:hover { color: var(--color-rose-deep); text-decoration: underline; }

.nav-monogram span {
  font-family: var(--font-script), cursive;
  font-size: 1.5rem;
  color: var(--color-rose);
  line-height: 1;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 0 24px 80px;
}

.hero-stain {
  position: absolute;
  width: 100%;
  max-width: 1600px;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* ── Decorative florals ────────────────────────────────────────────── */
.hero-deco-top,
.hero-deco-bottom {
  display: flex;
  justify-content: center;
}

.hero-deco-top img,
.hero-deco-bottom img {
  width: 100%;
  max-width: 860px;
  height: auto;
  display: block;
}

.hero-deco-top {
    margin-top: -2rem;
}

.hero-deco-bottom {
  margin-top: -8rem;
}

/* ── Hero content ──────────────────────────────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  width: 100%;
  margin-top: -2rem;
  padding-bottom: 3rem;
}

.hero-eyebrow {
  font-family: var(--font-garamond), serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 16px;
  font-style: italic;
}

.hero-names {
  font-family: var(--font-script), cursive;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 1.05;
  color: var(--color-rose-deep);
  text-shadow:
    0 2px 20px rgba(168, 92, 85, 0.15),
    0 0 60px rgba(200, 132, 122, 0.10);
  margin-bottom: 24px;
  font-weight: normal;
}

.hero-rule {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto 20px;
}

.hero-date {
  font-family: var(--font-garamond), serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.22em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-venue {
  font-family: var(--font-garamond), serif;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  font-style: italic;
  margin-bottom: 48px;
}

/* ── Countdown ─────────────────────────────────────────────────────── */
.countdown-wrap {
  margin-bottom: 48px;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 24px 40px;
  border-radius: 24px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.cd-num {
  font-family: var(--font-garamond), serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-rose-deep);
  letter-spacing: -0.02em;
}

.cd-label {
  font-family: var(--font-garamond), serif;
  font-size: 0.65rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.cd-sep {
  font-family: var(--font-garamond), serif;
  font-size: 1.8rem;
  color: var(--color-rose-light);
  font-weight: 300;
  line-height: 1;
  align-self: flex-start;
  padding-top: 4px;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-rsvp {
  display: inline-block;
  font-family: var(--font-garamond), serif;
  font-size: 0.85rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-deep) 100%);
  border: none;
  border-radius: 50px;
  padding: 14px 40px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(168, 92, 85, 0.30);
}

.btn-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168, 92, 85, 0.40);
  background: linear-gradient(135deg, var(--color-rose-deep) 0%, #8a3d38 100%);
}

/* ── Section shared ────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: var(--section-py) 24px;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  display: block;
  font-family: var(--font-garamond), serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-rose);
  text-align: center;
  margin-bottom: 12px;
  font-style: italic;
}

.section-title {
  font-family: var(--font-script), cursive;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--color-rose-deep);
  text-align: center;
  margin-bottom: 16px;
  font-weight: 400;
}

.section-subtitle {
  font-family: var(--font-garamond), serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-soft);
  text-align: center;
  font-style: italic;
  max-width: 520px;
  margin: 0 auto 64px;
}

/* ── Section decorative ────────────────────────────────────────────── */
.section-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}

.deco-story-tl  { top: 40px; left: 0; width: 130px; transform: rotate(20deg); }
.deco-story-br  { bottom: 40px; right: 10px; width: 110px; transform: rotate(-15deg) scaleX(-1); }
.deco-gallery-tr { top: 30px; right: -20px; width: 180px; transform: rotate(-20deg) scaleX(-1); }
.deco-rsvp-tl   { top: 60px; left: -20px; width: 200px; transform: rotate(12deg); opacity: 0.45; }
.deco-rsvp-br   { bottom: 60px; right: -20px; width: 200px; transform: rotate(-10deg) scaleX(-1); opacity: 0.45; }

/* ── Our Story ─────────────────────────────────────────────────────── */
.story { background-color: transparent; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 32px;
  align-items: center;
}

.story-card {
  padding: 36px 32px;
  transition: var(--transition);
  cursor: default;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(168, 92, 85, 0.14);
}

.story-year {
  font-family: var(--font-garamond), serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-rose);
  display: block;
  margin-bottom: 10px;
}

.story-card h3 {
  font-family: var(--font-script), cursive;
  font-size: 1.8rem;
  color: var(--color-rose-deep);
  font-weight: 400;
  margin-bottom: 12px;
}

.story-card p {
  font-family: var(--font-garamond), serif;
  font-size: 1.02rem;
  color: var(--color-text-soft);
  line-height: 1.75;
  font-style: italic;
}

.story-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-flower {
  width: clamp(80px, 12vw, 150px);
  filter: drop-shadow(0 4px 16px rgba(200, 132, 122, 0.20));
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.story-card-wide {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

/* ── Provence ──────────────────────────────────────────────────────── */
.provence {
  background: transparent;
}

.provence-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.provence-card {
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.provence-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(168, 92, 85, 0.14);
}

.pcard-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--color-rose);
}
.pcard-icon svg { width: 52px; height: 52px; }

.provence-card h3 {
  font-family: var(--font-script), cursive;
  font-size: 1.7rem;
  color: var(--color-rose-deep);
  margin-bottom: 12px;
  font-weight: 400;
}

.provence-card p {
  font-family: var(--font-garamond), serif;
  font-size: 1rem;
  color: var(--color-text-soft);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 12px;
}

.provence-card time {
  display: block;
  font-family: var(--font-garamond), serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.pcard-time {
  font-family: var(--font-garamond), serif;
  font-size: 1.5rem;
  color: var(--color-rose);
  font-style: italic;
}

.pcard-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-garamond), serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-rose);
  border-bottom: 1px solid var(--color-rose-light);
  padding-bottom: 2px;
  transition: var(--transition);
  cursor: pointer;
}

.pcard-link:hover {
  color: var(--color-rose-deep);
  border-color: var(--color-rose);
}

.chateau-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 3.5rem;
}

.chateau-illustration-wrap {
  position: relative;
  flex: 1;
  max-width: 640px;
}

.chateau-illustration {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 40px rgba(61, 44, 44, 0.12);
}

.chateau-caption {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  padding: 20px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.chateau-caption blockquote {
  font-family: var(--font-script), cursive;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--color-rose-deep);
  line-height: 1.5;
  font-weight: 400;
}

.chateau-caption cite {
  font-family: var(--font-garamond), serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ── Gallery ───────────────────────────────────────────────────────── */
.gallery-section { background-color: transparent; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }

.gallery-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-rose-light);
}

.gallery-thumb:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(168, 92, 85, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s;
  border-radius: 16px;
}

.gallery-overlay svg { opacity: 0; transition: opacity 0.35s; }

.gallery-thumb:hover .gallery-overlay {
  background: rgba(168, 92, 85, 0.28);
}
.gallery-thumb:hover .gallery-overlay svg { opacity: 1; }

/* ── Lightbox ──────────────────────────────────────────────────────── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(61, 44, 44, 0.60);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 88vw;
  max-height: 88vh;
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-inner img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,252,248,0.80);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text);
}

.lightbox-close:hover {
  background: var(--color-rose-light);
  color: var(--color-rose-deep);
}

.lightbox-close:focus { outline: none; }

/* ── RSVP Form ─────────────────────────────────────────────────────── */
.rsvp-section { background: transparent; }

.rsvp-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 56px 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-row-full { grid-template-columns: 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-garamond), serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.required-star {
  color: #c0392b;
  font-style: normal;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-garamond), serif;
  font-size: 1.02rem;
  color: var(--color-text);
  background: rgba(255, 252, 248, 0.65);
  border: 1px solid rgba(200, 132, 122, 0.22);
  border-radius: 12px;
  padding: 12px 18px;
  outline: none;
  transition: var(--transition);
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-rose);
  background: rgba(255, 252, 248, 0.90);
  box-shadow: 0 0 0 3px rgba(200, 132, 122, 0.14);
}

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

/* ── Guest Picker (Airbnb-style) ─────────────────────────────────── */
.guest-picker {
  position: relative;
}

.guest-picker__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-garamond), serif;
  font-size: 1.02rem;
  color: var(--color-text);
  background: rgba(255, 252, 248, 0.65);
  border: 1px solid rgba(200, 132, 122, 0.22);
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  text-align: left;
}

.guest-picker__trigger:focus,
.guest-picker__trigger[aria-expanded="true"] {
  border-color: var(--color-rose);
  background: rgba(255, 252, 248, 0.90);
  box-shadow: 0 0 0 3px rgba(200, 132, 122, 0.14);
}

.guest-picker__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.guest-picker__trigger[aria-expanded="true"] .guest-picker__chevron {
  transform: rotate(180deg);
}

.guest-picker__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-bg-alt, #fffcf8);
  border: 1px solid rgba(200, 132, 122, 0.22);
  border-radius: 16px;
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(168, 92, 85, 0.14);
  z-index: 100;
  animation: picker-in 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.guest-picker__dropdown[hidden] { display: none; }

@keyframes picker-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.guest-row + .guest-row {
  border-top: 1px solid rgba(200, 132, 122, 0.12);
}

.guest-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guest-row__type {
  font-family: var(--font-garamond), serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.guest-row__sub {
  font-family: var(--font-garamond), serif;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.guest-row__stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 132, 122, 0.40);
  background: transparent;
  color: var(--color-rose);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  outline: none;
}

.stepper-btn:hover:not(:disabled) {
  border-color: var(--color-rose);
  background: rgba(200, 132, 122, 0.08);
}

.stepper-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(200, 132, 122, 0.25);
}

.stepper-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.stepper-count {
  font-family: var(--font-garamond), serif;
  font-size: 1.05rem;
  color: var(--color-text);
  min-width: 20px;
  text-align: center;
}

/* RSVP radios */
.rsvp-choice-label {
  font-family: var(--font-garamond), serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  display: block;
  margin-bottom: 12px;
}

.rsvp-radios {
  display: flex;
  gap: 28px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-garamond), serif;
  font-size: 1.02rem;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: color 0.25s;
}

.radio-label:hover { color: var(--color-rose); }

.radio-label input[type="radio"] { display: none; }

.radio-custom {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(200, 132, 122, 0.40);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}

.radio-custom::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--color-rose);
  opacity: 0;
  transition: opacity 0.2s;
}

.radio-label input:checked + .radio-custom {
  border-color: var(--color-rose);
}

.radio-label input:checked + .radio-custom::after {
  opacity: 1;
}

.form-submit {
  text-align: center;
  margin-top: 8px;
}

.btn-submit {
  display: inline-block;
  font-family: var(--font-garamond), serif;
  font-size: 0.85rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-deep) 100%);
  border: none;
  border-radius: 50px;
  padding: 16px 52px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(168, 92, 85, 0.30);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168, 92, 85, 0.42);
  background: linear-gradient(135deg, var(--color-rose-deep) 0%, #8a3d38 100%);
}

.form-success {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-garamond), serif;
  font-size: 1.1rem;
  color: var(--color-rose);
  min-height: 40px;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: transparent;
  padding: 0 24px 60px;
  text-align: center;
  overflow: hidden;
}

.footer-inner { position: relative; z-index: 1; }

.footer-names {
  font-family: var(--font-script), cursive;
  font-size: 3rem;
  color: var(--color-rose-deep);
  margin-bottom: 8px;
}

.footer-date {
  font-family: var(--font-garamond), serif;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.footer-venue {
  font-family: var(--font-garamond), serif;
  font-size: 0.92rem;
  color: var(--color-text-soft);
  font-style: italic;
  margin-bottom: 32px;
}

.footer-copy {
  font-family: var(--font-garamond), serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Reveal animations ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal:nth-child(2)  { transition-delay: 0.08s; }
.reveal:nth-child(3)  { transition-delay: 0.16s; }
.reveal:nth-child(4)  { transition-delay: 0.24s; }
.reveal:nth-child(5)  { transition-delay: 0.32s; }
.reveal:nth-child(6)  { transition-delay: 0.40s; }
.reveal:nth-child(7)  { transition-delay: 0.48s; }

/* ── Prefers-reduced-motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Dress Code ────────────────────────────────────────────────────── */
.dresscode-section {
  position: relative;
  overflow: hidden;
}

.deco-dresscode-br {
  bottom: -10px;
  right: -20px;
  width: 180px;
  opacity: 0.14;
  transform: rotate(230deg) scaleX(-1);
}

.dresscode-palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 52px auto 44px;
  max-width: 680px;
}

.palette-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.swatch-circle {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--swatch-color);
  box-shadow: 0 4px 18px rgba(0,0,0,0.10), 0 0 0 4px rgba(255,255,255,0.55);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.palette-swatch:hover .swatch-circle {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 28px rgba(0,0,0,0.14), 0 0 0 4px rgba(255,255,255,0.7);
}

.swatch-name {
  font-family: var(--font-garamond), serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  text-align: center;
}

.dresscode-note {
  font-family: var(--font-garamond), serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text-soft);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-image { display: none; }
  .story-card-wide { grid-column: 1; }
  .provence-cards { grid-template-columns: 1fr; gap: 20px; }
  .chateau-visual { flex-direction: column; padding-bottom: 4rem; }
  .chateau-branch { display: none; }
  .chateau-illustration-wrap { max-width: 100%; }
  .chateau-caption { width: calc(100% - 24px); }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; }

  .site-nav { padding: 8px 18px; top: 12px; }
  .site-nav ul { gap: 16px; }
  .site-nav a { font-size: 0.75rem; letter-spacing: 0.08em; }
  .nav-monogram span { font-size: 1.2rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }

  .rsvp-form { padding: 36px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }

  .countdown { padding: 18px 24px; gap: 4px; }
  .countdown-unit { min-width: 52px; }
  .cd-num { font-size: 1.5rem; }
  .cd-label { font-size: 0.6rem; }
  .cd-sep { font-size: 1.4rem; }

  /* Scale corner clusters down on mobile */
}

/* ── Section separator — line + heart ─────────────────────────────── */
.section-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.5rem 0;
  pointer-events: none;
}

.section-sep__line {
  flex: 1;
  max-width: 280px;
  height: 1px;
  background: linear-gradient(
    to var(--sep-dir, right),
    transparent,
    var(--color-rose-light) 40%,
    var(--color-rose-light)
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: none;
}

.section-sep__line:first-child {
  --sep-dir: right;
  transform-origin: right;
}

.section-sep__line:last-child {
  --sep-dir: left;
  transform-origin: left;
}

.section-sep.sep-animated .section-sep__line {
  transform: scaleX(1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.85s;
}

.section-sep__heart {
  width: 26px;
  height: 24px;
  flex-shrink: 0;
  margin: 0 10px;
  opacity: 0.8;
}

.section-sep__heart path {
  --heart-len: 120;
  stroke-dasharray: var(--heart-len);
  stroke-dashoffset: var(--heart-len);
  transition: none;
}

.section-sep.sep-animated .section-sep__heart path {
  animation: sepHeartDraw 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes sepHeartDraw {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-wide { grid-column: span 1; }
  .site-nav { display: none; }
}

/* ── Wedding Weekend Schedule ──────────────────────────────────────── */
.schedule-section {
  background: transparent;
}

.schedule-timeline {
  position: relative;
  max-width: 860px;
  padding: 0 1rem;
}

/* Vertical gradient line — desktop: center; mobile: left */
.schedule-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-rose-light) 8%,
    var(--color-rose-light) 92%,
    transparent 100%
  );
  pointer-events: none;
}

/* Day headings */
.schedule-day {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--font-garamond), serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin: 2.8rem 0 1.8rem;
  padding: 0.3rem 1.2rem;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-rose-light);
  border-radius: 2rem;
}

/* Each timeline row */
.schedule-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: start;
  gap: 0 1.2rem;
  margin-bottom: 2.4rem;
}

/* Time — large script */
.schedule-time {
  font-family: var(--font-script), cursive;
  font-size: 2.4rem;
  color: var(--color-rose);
  line-height: 1;
  text-align: right;
  padding-top: 0.25rem;
  white-space: nowrap;
}

/* Dot on the line */
.schedule-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-rose);
  background: var(--color-bg-alt);
  margin: 0.55rem auto 0;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Text body */
.schedule-body {
  padding-top: 0.1rem;
}

.schedule-title {
  font-family: var(--font-garamond), serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 0.3rem;
}

.schedule-location {
  font-family: var(--font-garamond), serif;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin: 0 0 0.1rem;
}


.schedule-note {
  font-family: var(--font-garamond), serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Stagger each row */
.schedule-entry:nth-child(1)  { transition-delay: 0s; }
.schedule-entry:nth-child(2)  { transition-delay: 0.12s; }
.schedule-entry:nth-child(3)  { transition-delay: 0.24s; }
.schedule-entry:nth-child(4)  { transition-delay: 0.36s; }
.schedule-entry:nth-child(5)  { transition-delay: 0.48s; }
.schedule-entry:nth-child(6)  { transition-delay: 0.60s; }
.schedule-entry:nth-child(7)  { transition-delay: 0.72s; }
.schedule-entry:nth-child(8)  { transition-delay: 0.84s; }

/* ── Mobile: line aligns with the dot column ── */
@media (max-width: 700px) {
  .schedule-timeline::before {
    /* padding(1rem) + time col(72px) + gap(1.2rem) + half dot col(14px) */
    left: calc(1rem + 72px + 1.2rem + 7px);
    transform: translateX(-50%);
  }

  .schedule-day {
    margin-left: auto;
    margin-right: auto;
  }

  .schedule-entry {
    grid-template-columns: 72px 28px 1fr;
    direction: ltr !important;
  }

  .schedule-time {
    font-size: 1.4rem;
    text-align: right;
  }

  .schedule-dot {
    margin: 0.55rem 0 0;
  }
}

/* ── Gifts Section ─────────────────────────────────────────────── */
.gifts-section {
  text-align: center;
}

.gifts-text {
  max-width: 680px;
  margin: 2.5rem auto 0;
  padding: 2.5rem 3rem;
  font-family: var(--font-garamond), serif;
  font-size: 1.02rem;
  line-height: 1.75;
}

.gifts-text p {
  margin: 0 0 1.4em;
}

.gifts-text p:last-child {
  margin-bottom: 0;
}

.gifts-note {
  font-style: italic;
  opacity: 0.75;
}

.gifts-link {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.7em 2em;
  border: 1.5px solid #c8847a;
  border-radius: 2em;
  color: #c8847a;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.gifts-link:hover {
  background: #c8847a;
  color: #fff;
}

@media (max-width: 600px) {
  .gifts-text {
    padding: 2rem 1.5rem;
    font-size: 0.92rem;
  }
}
