@font-face {
  font-family: 'Aptos Slab';
  src: url('./fonts/Microsoft-Aptos-Fonts-Family/Aptos-Serif.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos Slab';
  src: url('./fonts/Microsoft-Aptos-Fonts-Family/Aptos-Serif-Italic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos Slab';
  src: url('./fonts/Microsoft-Aptos-Fonts-Family/Aptos-Serif-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos Slab';
  src: url('./fonts/Microsoft-Aptos-Fonts-Family/Aptos-Serif-Bold-Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #F3EBDD;
  --cream-dark: #E8DDC7;
  --wine: #5A1A2A;
  --wine-light: #7A2A3D;
  --ink: #1F2A1D;
  --ink-light: #3B4A33;
  --ink-faint: #6A7A5E;
  --gold: #B88A2B;
  --gold-light: #D1A344;
  --white: #FFFDF8;
  --border: rgba(184, 138, 43, 0.24);
  --shadow-sm: 0 1px 3px rgba(31, 42, 29, 0.08);
  --shadow-md: 0 6px 28px rgba(31, 42, 29, 0.16);
}

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

[hidden]{
  display: none !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Aptos Slab', 'Aptos', 'Roboto Slab', Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.m3-nav-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 235, 221, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.m3-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}

.m3-brand span {
  color: var(--gold);
  font-weight: 300;
}

.m3-pill {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  background: rgba(31, 42, 29, 0.96);
  border-radius: 40px;
  padding: 5px;
  box-shadow: 0 10px 34px rgba(31, 42, 29, 0.22), 0 2px 8px rgba(0,0,0,0.1);
}

.m3-pill-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.m3-pill-item svg {
  width: 17px;
  height: 17px;
  stroke: rgba(254, 252, 248, 0.72);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s;
}

.m3-pill-item svg *{
  fill: none;
  stroke: inherit;
  stroke-width: inherit;
}

.m3-pill-item:hover svg,
.m3-pill-item.active svg {
  stroke: var(--white);
}

.m3-pill-item.active {
  background: rgba(254, 252, 248, 0.12);
  box-shadow: inset 0 0 0 1px rgba(254, 252, 248, 0.18);
}

.m3-pill-item:hover {
  background: rgba(254, 252, 248, 0.09);
}

.m3-pill-item .tooltip {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.m3-pill-item .tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--ink);
}

.m3-pill-item:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.m3-pill-dot {
  width: 3px;
  height: 3px;
  background: rgba(254, 252, 248, 0.18);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (min-width: 992px){
  .m3-pill{
    padding: 10px;
    border-radius: 48px;
  }

  .m3-pill-item{
    width: 56px;
    height: 56px;
  }

  .m3-pill-item svg{
    width: 22px;
    height: 22px;
  }

  .m3-pill-item .tooltip{
    font-size: 11px;
    padding: 7px 12px;
    bottom: 64px;
  }
}

/* ══════════════════════════════════════
   DESKTOP NAV
   ══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.5s ease;
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.4s ease;
}

.nav.scrolled .nav-inner {
  height: 60px;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--wine);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.3s;
}

.nav-brand .amp {
  font-style: italic;
  color: var(--gold);
  margin: 0 5px;
  font-weight: 300;
}

.nav-brand:hover { opacity: 0.7; }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s, background 0.3s;
}

.nav-links li a:hover {
  color: var(--wine);
  background: rgba(122, 27, 27, 0.04);
}

.nav-links li a.active {
  color: var(--wine);
  background: rgba(122, 27, 27, 0.06);
}

/* Separator dot between links */
.nav-links li:not(:last-child) a::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  transform: translateY(-50%);
}

/* RSVP special link */
.nav-links a[href="#rsvp"] {
  background: var(--wine);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a[href="#rsvp"]::after { display: none; }

.nav-links a[href="#rsvp"]:hover {
  background: var(--wine-light);
  color: var(--white);
}

.nav-links a[href="#rsvp"].active {
  background: var(--wine);
  color: var(--white);
}

/* ══════════════════════════════════════
   MOBILE FLOATING PILL
   ══════════════════════════════════════ */
.pill {
  position: fixed;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 100;
  display: none;
  align-items: center;
  gap: 2px;
  background: var(--wine);
  border-radius: 40px;
  padding: 5px;
  box-shadow:
    0 12px 40px rgba(122, 27, 27, 0.3),
    0 4px 12px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  animation: pillEntry 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

@keyframes pillEntry {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 56px;
  border-radius: 26px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill-item svg {
  width: 18px;
  height: 18px;
  stroke: rgba(254, 252, 248, 0.45);
  stroke-width: 1.5;
  fill: none;
  transition: all 0.3s;
}

.pill-item svg *{
  fill: none;
  stroke: inherit;
  stroke-width: inherit;
}

.pill-item .pill-label {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(254, 252, 248, 0.35);
  margin-top: 2px;
  transition: color 0.3s;
  line-height: 1.15;
  text-align: center;
  max-width: 56px;
  white-space: normal;
}

.pill-item:hover svg,
.pill-item.active svg {
  stroke: var(--white);
  transform: scale(1.05);
}

.pill-item:hover .pill-label,
.pill-item.active .pill-label {
  color: rgba(254, 252, 248, 0.9);
}

.pill-item.active {
  background: rgba(254, 252, 248, 0.12);
}

.pill-item:hover {
  background: rgba(254, 252, 248, 0.08);
}

/* Active dot indicator */
.pill-item.active::before {
  content: '';
  position: absolute;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotAppear 0.3s ease forwards;
}

@keyframes dotAppear {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

/* Pill separator */
.pill-sep {
  width: 1px;
  height: 20px;
  background: rgba(254, 252, 248, 0.08);
  flex-shrink: 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;

  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184, 138, 43, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-date {
  font-family: inherit;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-date:last-of-type {
  margin-bottom: 28px;
}

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(72px, 11vw, 156px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  text-align: center;
  color: var(--wine);
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.hero-names .ampersand {
  display: block;
  width: 100%;
  text-align: center;
  font-style: italic;
  font-size: 0.5em;
  color: var(--wine);
  margin: 30px 0 20px;
  transform: none;
}

.hero-intro{
  margin: 12px auto 0;
  max-width: 880px;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.85;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 1s ease 0.55s forwards;
}

.hero-location {
  font-size: 14px;
  color: var(--ink-faint);
  margin-top: 32px;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-decor{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-decor-img{
  position: absolute;
  width: 140px;
  height: auto;
  opacity: 0.28;
  filter: saturate(0.95);
}

.hero-decor-img--tomato{
  top: 90px;
  left: 18px;
  transform: rotate(-10deg);
}

.hero-decor-img--garlic{
  bottom: 90px;
  right: 18px;
  transform: rotate(8deg);
}

.hero-decor{ display: none; }

@media (max-width: 720px) {
  .hero-decor-img{
    width: 92px;
    opacity: 0.22;
  }

  .hero-decor-img--tomato{ top: 76px; left: 10px; }
  .hero-decor-img--garlic{ bottom: 76px; right: 10px; }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold);
  margin: 0 auto;
  animation: scrollPulse 2s ease infinite;
}

.hero-access { margin-top: 32px; }

.gate-wrap { margin-top: 18px; }

.gate-card-link{
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-decoration: none;
  border: none;
  cursor: zoom-in;
}

.gate-lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.gate-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 29, 0.86);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.gate-lightbox-dialog{
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-lightbox-img{
  width: 100%;
  height: auto;
  max-height: calc(100vh - 64px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.gate-lightbox-close{
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  background: rgba(31, 42, 29, 0.72);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.gate-lightbox-close:hover{
  border-color: rgba(255, 253, 248, 0.34);
  background: rgba(31, 42, 29, 0.82);
}

.gate-card{
  display: block;
  width: min(1100px, 80%);
  height: auto;
  margin: 0 auto 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 720px) {
  .gate-card{
    width: min(1100px, 94%);
  }
}

.gate-form { max-width: 460px; margin: 0 auto; }

.rsvp-ribbon{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin: 26px auto 0;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-sm);
}

#rsvp{
  padding: 120px 40px;
  text-align: left;
}

#rsvp .section-intro{
  margin: 0 auto;
  text-align: center;
}

#rsvp .rsvp-card{
  max-width: 860px;
  margin: 34px auto 0;
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: left;
}

#rsvp .form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#rsvp .form-group{
  margin-bottom: 28px;
}

#rsvp .form-group label,
#rsvp .label-block{
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 8px;
}

#rsvp .label-optional{
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-faint);
  font-size: 11px;
}

#rsvp .form-group input[type="text"],
#rsvp .form-group input[type="email"],
#rsvp .form-group textarea{
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#rsvp .form-group input[type="text"]:focus,
#rsvp .form-group input[type="email"]:focus,
#rsvp .form-group textarea:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 138, 43, 0.18);
}

#rsvp .form-group input::placeholder,
#rsvp .form-group textarea::placeholder{
  color: var(--ink-faint);
  font-weight: 300;
}

#rsvp .form-group textarea{
  resize: vertical;
  min-height: 80px;
}

#rsvp .radio-group{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#rsvp .radio-card{ cursor: pointer; }
#rsvp .radio-card input{ display: none; }

#rsvp .radio-label{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: all 0.25s ease;
  font-size: 14px;
  color: var(--ink-light);
}

#rsvp .radio-icon{
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream-dark);
  font-size: 13px;
  color: var(--ink-faint);
  transition: all 0.25s;
  flex-shrink: 0;
}

#rsvp .radio-card input:checked + .radio-label{
  border-color: var(--wine);
  background: rgba(184, 138, 43, 0.08);
  color: var(--ink);
}

#rsvp .radio-card input:checked + .radio-label .radio-icon{
  background: var(--wine);
  color: var(--white);
}

#rsvp .radio-card:hover .radio-label{ border-color: var(--border); }

#rsvp .stepper{
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--cream);
  border-radius: 10px;
  overflow: hidden;
}

#rsvp .stepper-btn{
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--ink-light);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

#rsvp .stepper-btn:hover{
  background: var(--cream-dark);
  color: var(--wine);
}

#rsvp .stepper input[type="number"]{
  width: 56px;
  text-align: center;
  border: none;
  background: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--wine);
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

#rsvp .stepper input::-webkit-outer-spin-button,
#rsvp .stepper input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

#rsvp .checkbox-group{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

#rsvp .checkbox-card{ cursor: pointer; }
#rsvp .checkbox-card input{ display: none; }

#rsvp .checkbox-label{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: all 0.25s ease;
}

#rsvp .checkbox-day{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
}

#rsvp .checkbox-desc{
  font-size: 12px;
  color: var(--ink-faint);
}

#rsvp .checkbox-card input:checked + .checkbox-label{
  border-color: var(--wine);
  background: rgba(184, 138, 43, 0.08);
}

#rsvp .checkbox-card input:checked + .checkbox-label .checkbox-day{
  color: var(--wine);
}

#rsvp .checkbox-card:hover .checkbox-label{ border-color: var(--border); }

#rsvp .guest-names-label{
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

#rsvp .guest-name-row{
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(8px);
  animation: guestFadeIn 0.3s ease forwards;
}

@keyframes guestFadeIn{
  to{ opacity: 1; transform: translateY(0); }
}

#rsvp .guest-number{
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(184, 138, 43, 0.12);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--wine);
  flex-shrink: 0;
}

#rsvp .guest-name-row input{
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#rsvp .guest-name-row input:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 138, 43, 0.18);
}

#rsvp .guest-name-row input::placeholder{ color: var(--ink-faint); }

#rsvp .btn-submit{
  display: block;
  width: 100%;
  padding: 18px;
  margin-top: 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--wine);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#rsvp .btn-submit:hover{ background: var(--wine-light); }
#rsvp .btn-submit:active{ transform: scale(0.99); }

#rsvp .btn-loader{ display: inline-flex; gap: 6px; }

#rsvp .btn-loader .dot{
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: dotPulse 1s ease infinite;
}

#rsvp .btn-loader .dot:nth-child(2){ animation-delay: 0.15s; }
#rsvp .btn-loader .dot:nth-child(3){ animation-delay: 0.3s; }

@keyframes dotPulse{
  0%, 100%{ opacity: 0.3; transform: scale(0.8); }
  50%{ opacity: 1; transform: scale(1); }
}

#rsvp .success-icon{
  font-size: 40px;
  color: var(--wine);
  margin-bottom: 16px;
}

#rsvp .success-title{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 56px);
  margin-bottom: 16px;
}

#rsvp .success-text{
  color: var(--ink-light);
  font-size: 15px;
  line-height: 1.7;
}

#rsvp #rsvp-success{
  text-align: left;
  padding: 40px 0;
}

@media (max-width: 768px) {
  #rsvp{ padding: 64px 24px 90px; }
  #rsvp .rsvp-card{ padding: 32px 24px; }
  #rsvp .form-row{ grid-template-columns: 1fr; gap: 0; }
  #rsvp .radio-group{ grid-template-columns: 1fr; }
  #rsvp .checkbox-group{ grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  #rsvp .guest-name-row{ grid-template-columns: auto 1fr; }
  #rsvp .guest-name-row input:last-child{ grid-column: 2; }
}

.site-footer{
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 84px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner{
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-title{
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 2px;
}

.footer-contacts{
  display:flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--ink);
  opacity: 0.95;
}

.site-footer a{
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover{
  text-decoration: underline;
}

.footer-sep{
  width: 60px;
  height: 1px;
  background: var(--border);
  opacity: 0.9;
}

.footer-credit{
  font-size: 14px;
  color: var(--ink-faint);
  opacity: 0.9;
}

.footer-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 34px;
  border-radius: 999px;
  border: 1px solid rgba(196, 162, 101, 0.55);
  background: rgba(196, 162, 101, 0.10);
  color: rgba(196, 162, 101, 0.95);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
}

.footer-button:hover{
  text-decoration: none;
}

@media (max-width: 768px){
  .site-footer{ padding: 36px 24px 56px; }
  .footer-contacts{ flex-direction: column; gap: 12px; }
  .footer-sep{ display:none; }
}

.gate-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gate-input {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.78);
  padding: 0 14px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  outline: none;
}

.gate-input:focus {
  border-color: rgba(184, 138, 43, 0.55);
  box-shadow: 0 0 0 4px rgba(184, 138, 43, 0.14);
}

.gate-button {
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(184, 138, 43, 0.12);
  color: var(--wine);
  font-weight: 500;
  cursor: pointer;
}

.gate-button:hover { background: rgba(184, 138, 43, 0.18); }

.gate-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.gate-error {
  min-height: 1.2em;
  font-size: 12px;
  color: var(--wine);
  font-weight: 500;
}

.gate-reset {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: none;
}

.gate-reset:hover { text-decoration: underline; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 40px;
  position: relative;
}

footer.site-footer,
footer#contact{
  position: relative;
}

.section-decor{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

section > *:not(.section-decor){
  position: relative;
  z-index: 1;
}

footer#contact > *:not(.section-decor){
  position: relative;
  z-index: 1;
}

.section-decor-img{
  position: absolute;
  width: 110px;
  height: auto;
  opacity: 0.14;
  filter: saturate(0.95);
}

.section-decor{ display: none; }

.section-decor--tr .section-decor-img--tomato{ top: 22px; right: 22px; transform: rotate(10deg); }
.section-decor--tr .section-decor-img--garlic{ top: 98px; right: 46px; transform: rotate(-8deg); }

.section-decor--tl .section-decor-img--tomato{ top: 22px; left: 22px; transform: rotate(-10deg); }
.section-decor--tl .section-decor-img--garlic{ top: 98px; left: 46px; transform: rotate(8deg); }

.section-decor--bl .section-decor-img--garlic{ bottom: 28px; left: 22px; transform: rotate(8deg); }
.section-decor--bl .section-decor-img--tomato{ bottom: 104px; left: 46px; transform: rotate(-10deg); }

.section-decor--br .section-decor-img--garlic{ bottom: 28px; right: 22px; transform: rotate(-8deg); }
.section-decor--br .section-decor-img--tomato{ bottom: 104px; right: 46px; transform: rotate(10deg); }

.section-decor--center .section-decor-img--tomato{ top: 18px; left: 50%; transform: translateX(-110%) rotate(-8deg); }
.section-decor--center .section-decor-img--garlic{ top: 18px; left: 50%; transform: translateX(10%) rotate(8deg); }

@media (max-width: 720px) {
  .section-decor-img{
    width: 80px;
    opacity: 0.11;
  }
}

.section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(48px, 6.4vw, 72px);
  color: var(--wine);
  text-align: center;
  margin-bottom: 16px;
}

.section-intro {
  color: var(--ink-light);
  font-size: 17px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  margin-bottom: 78px;
}

section p,
section li,
.card-body > p,
.transport-method > p,
.activity-card p,
.lodging-item span,
.region-intro,
.lodging-intro,
#rsvp .success-text{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.festivites-illus{
  display:flex;
  justify-content:center;
  margin: -32px 0 58px;
}

.festivites-illus img{
  width: min(720px, 100%);
  height: auto;
  opacity: 0.95;
}

#transport .section-intro{
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 92px;
}

#transport .section-intro.transport-lead{
  max-width: none;
  text-align: left;
}

.divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.event-card {
  background: transparent;
  border-radius: 12px;
  padding: 54px;
  margin-bottom: 40px;
  border: none;
  box-shadow: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.event-card:hover {
  box-shadow: none;
  transform: none;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.card-day {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px);
  color: var(--wine);
}

.card-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 138, 43, 0.10);
  padding: 4px 12px;
  border-radius: 20px;
}

.card-body p {
  color: var(--ink-light);
  margin-bottom: 22px;
}

.card-body strong {
  color: var(--ink);
  font-weight: 500;
}

.card-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--wine);
  margin: 38px 0 18px;
  text-align: center;
}

.ceremony-head{
  position: relative;
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-right: 170px;
  min-height: 150px;
  margin-bottom: 16px;
}

.ceremony-head .card-subtitle{
  margin-top: 0;
  margin-bottom: 0;
  width: auto;
  text-align: center;
}

.ceremony-illus{
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 0;
}

.ceremony-illus img{
  width: 150px;
  height: auto;
  opacity: 0.96;
  filter: saturate(0.95);
}

.ceremony-illus--large img{
  width: 360px;
}

.ceremony-illus--center{
  position: static;
  display:flex;
  justify-content:center;
  margin: 18px 0 22px;
}

.event-card--jeudi .ceremony-illus--jeudi{
  position: static;
  float: right;
  width: 150px;
  margin: 6px 0 12px 18px;
  display: block;
}

.event-card--samedi .ceremony-head{
  display: block;
  min-height: 0;
  padding-right: 0;
  margin-bottom: 0;
}

.event-card--samedi .ceremony-illus--samedi{
  position: static;
  float: right;
  width: 150px;
  margin: 6px 0 12px 18px;
  display: block;
}

.event-card--samedi .ceremony-illus--samedi img{
  width: 100%;
  height: auto;
}

.event-card--jeudi .ceremony-illus--jeudi img{
  width: 100%;
  height: auto;
}

.card-subtitle:first-child { margin-top: 0; }

.info-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 28px;
  margin: 18px 0;
}

.info-label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 2px;
}

.info-value{
  color: var(--ink);
  font-weight: 400;
}

.info-value a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-value a:hover { text-decoration: underline; }

.transport-block { margin-bottom: 56px; }

.transport-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(38px, 4.8vw, 62px);
  color: var(--wine);
  text-align: left;
  margin-bottom: 24px;
}

.transport-method { margin-bottom: 24px; }

.transport-head{
  position: relative;
  display:flex;
  align-items:flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding-right: 170px;
}

.transport-illus{
  position: absolute;
  top: 0;
  right: 0;
}

.transport-illus img{
  width: 150px;
  max-width: none;
  height: auto;
  opacity: 0.96;
  filter: saturate(0.95);
}

.transport-method h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  text-align: center;
  justify-content: center;
}

.transport-head h4{
  display:block;
  margin-bottom: 0;
}

.transport-method h4 .inline-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-left: auto;
}

.transport-method h4 .inline-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
}

.transport-method h4::before {
  content: none;
}

.transport-head h4::before{
  content: none;
}

.transport-method h4:has(.inline-icon)::before{
  content: none;
}

.transport-method p {
  color: var(--ink);
  margin-bottom: 18px;
  padding-left: 0;
  font-size: 17px;
  line-height: 1.9;
}

.transport-em{
  text-decoration: none;
  font-weight: 700;
  color: var(--wine);
}

.transport-em::before{
  content: none;
}

.lodging-intro{
  text-align: left;
}

.lodging-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 720px) {
  .lodging-grid {
    grid-template-columns: 1fr;
  }
}

.lodging-item {
  padding: 26px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.lodging-item:hover { box-shadow: var(--shadow-md); }

.lodging-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--ink);
  margin-bottom: 14px;
}

.lodging-item span {
  font-size: 15px;
  color: var(--ink-faint);
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 0;
}

.activity-card {
  padding: 40px;
  background: transparent;
  border-radius: 10px;
  border: none;
  transition: all 0.3s;
}

.activity-head{
  position: relative;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  gap: 12px;
  padding-right: 120px;
  margin-bottom: 30px;
}

.activity-illus{
  position: absolute;
  top: 0;
  right: 0;
  margin-bottom: 20px;
}

.activity-illus img{
  width: 100px;
  height: auto;
  opacity: 0.96;
  filter: saturate(0.95);
  padding-bottom: 20px;
}

.activity-card--ventoux .activity-illus img{
  width: 160px;
}

.activity-card:hover {
  box-shadow: none;
  transform: none;
}

.activity-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px);
  color: var(--wine);
  margin-bottom: 14px;
  text-align: center;
}

.region-intro{
  text-align: center;
}

.activity-head h4{
  margin-bottom: 0;
}

.activity-card p {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 18px;
}

.activity-card ul{
  margin: 14px 0 0;
  padding-left: 36px;
  text-align: left;
}

.activity-card li{
  margin: 8px 0;
  color: var(--ink);
  line-height: 1.7;
}

.activity-card li::marker{
  color: var(--wine);
}

.activity-card a{
  color: var(--ink-light);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.activity-card a:hover{
  color: var(--wine);
  border-color: var(--wine);
}

.activity-card li strong{
  font-weight: 700;
  color: var(--wine);
}

.tip-box {
  margin-top: 32px;
  padding: 24px 28px;
  background: rgba(184, 138, 43, 0.08);
  border-left: 2px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.tip-box p {
  color: var(--ink-light);
  font-size: 14px;
}

.tip-box a{
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s, border-color 0.3s;
}

.tip-box a:hover{
  border-color: var(--wine);
}

footer:not(.site-footer) {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  text-align: center;
}

footer:not(.site-footer) .footer-heading{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px) !important;
  color: var(--ink) !important;
  margin-bottom: 16px;
}

footer:not(.site-footer) .footer-contacts{
  display:flex;
  justify-content:center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

footer:not(.site-footer) .footer-break{
  flex-basis: 100%;
  width: 100%;
  height: 0;
}

footer:not(.site-footer) .footer-contacts a{
  color: var(--wine);
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  position: relative;
  transition: color 0.3s;
}

footer:not(.site-footer) .footer-contacts a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--wine);
  opacity: 0.25;
  transition: opacity 0.3s;
}

footer:not(.site-footer) .footer-contacts a:hover {
  color: var(--wine-light);
}

footer:not(.site-footer) .footer-contacts a:hover::after {
  opacity: 0.6;
}

footer:not(.site-footer) .footer-credit{
  margin-bottom: 12px;
}

footer:not(.site-footer) .footer-credit a {
  color: var(--ink-faint);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s, border-color 0.3s;
}

footer:not(.site-footer) .footer-credit a:hover {
  color: var(--wine);
  border-color: var(--wine);
}

footer:not(.site-footer) .footer-gift{
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 24px;
  transition: background 0.3s, color 0.3s;
}

footer:not(.site-footer) .footer-gift:hover{
  background: var(--gold);
  color: var(--white);
}

footer:not(.site-footer) .footer-switch{
  margin-top: 22px;
  padding-bottom: 40px;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.02em;
}

footer:not(.site-footer) .footer-switch a{
  display: inline;
  background: none;
  border: none;
  padding: 0;
  height: auto;
  border-radius: 0;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.22;
  transition: opacity 0.3s, color 0.3s;
}

footer:not(.site-footer) .footer-switch a:hover{
  opacity: 0.35;
  color: var(--ink-faint);
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-ornament span {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.footer-ornament .diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

footer:not(.site-footer) p {
  font-size: 15px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.95s ease, transform 0.95s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .pill { display: flex; }

  .nav-inner {
    padding: 0 5vw;
    height: 56px;
    justify-content: center;
  }

  .nav.scrolled .nav-inner { height: 50px; }

  section { padding: 92px 5vw; }
  .divider { padding: 0 5vw; }

  .event-card { padding: 36px; }
  .info-grid { grid-template-columns: 1fr; gap: 6px; justify-items: start; }
  .info-label,
  .info-value{ text-align: left; }
  .card-subtitle{ text-align: center; }
  #transport .transport-block > h3{ text-align: center; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card{ padding: 32px 22px; }
  .lodging-grid { grid-template-columns: 1fr 1fr; }

  #region .activity-grid.reveal{ opacity: 1; transform: none; }

  .hero { padding: 24px; }

  section,
  .event-card,
  .activity-card{
    text-align: left;
  }

  :root{ --mobile-text-width: 100%; }

  body,
  section,
  .hero-date,
  .hero-intro,
  .info-label,
  .info-value,
  .activity-card,
  .activity-head,
  .transport-method p,
  .tip-box,
  footer:not(.site-footer){
    text-align: left !important;
  }

  footer#contact:not(.site-footer){
    text-align: center !important;
  }

  footer#contact:not(.site-footer) .footer-contacts{
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  footer#contact:not(.site-footer) p{
    text-align: center !important;
    text-justify: auto;
    hyphens: none;
  }

  section p,
  section li,
  .card-body > p,
  .activity-card p,
  .activity-card li,
  .transport-method > p,
  .lodging-item span,
  .section-intro,
  .region-intro,
  .lodging-intro,
  #rsvp .success-text,
  .tip-box p,
  footer:not(.site-footer) p{
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
  }

  section h1,
  section h2,
  section h3,
  section h4,
  .section-label,
  .section-title,
  .hero-names,
  .card-day,
  .card-badge,
  .card-subtitle,
  .transport-block > h3,
  .transport-method h4{
    text-align: center !important;
  }

  .hero-date{ text-align: center !important; }
  .hero-intro{ text-align: center !important; }
  .region-intro{ text-align: center !important; }

  section p,
  section ul,
  section ol,
  .card-body > p,
  .transport-method > p,
  .activity-card p,
  .activity-card ul,
  .lodging-item span,
  .section-intro,
  .region-intro,
  .lodging-intro,
  #rsvp-success .success-text{
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .section-intro{
    margin-left: 0;
    margin-right: 0;
  }

  .card-header{ align-items: center; }
  .card-day,
  .card-badge{ text-align: center; }
  .card-body p{ text-align: justify !important; }

  .event-card--jeudi .ceremony-illus--jeudi{
    float: none;
    width: 120px;
    margin: 12px auto 18px;
    display: flex;
    justify-content: center;
  }

  .event-card--samedi .ceremony-illus--samedi{
    float: right;
    width: 120px;
    margin: 0 0 10px 14px;
    display: block;
  }

  .event-card--samedi .ceremony-illus--samedi img{
    width: 100%;
    margin: 0;
  }

  .event-card--samedi .card-body > p:first-of-type{ margin-top: 0; }

  .ceremony-head{ flex-direction: column; gap: 10px; padding-right: 0; }
  .ceremony-head .card-subtitle{ text-align: center; width: 100%; }
  .ceremony-illus{ position: static; margin-top: 0; width: 100%; display: flex; justify-content: center; }
  .ceremony-illus img{
    width: 150px;
    display:block;
    margin: 12px auto 16px;
  }
  .ceremony-illus--large img{ width: min(420px, 100%); }

  .event-card--samedi .ceremony-illus--samedi{
    float: right !important;
    width: 120px !important;
    display: block !important;
    justify-content: flex-start !important;
    margin: 0 0 10px 14px !important;
  }

  .event-card--samedi .ceremony-illus--samedi img{
    width: 100% !important;
    margin: 0 !important;
  }

  .transport-head,
  .activity-head{
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
    align-items: center;
    justify-content: center;
  }

  .transport-illus,
  .activity-illus{
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .transport-illus{ margin-bottom: 20px; }

  .transport-illus img,
  .activity-illus img{
    display:block;
    margin: 12px auto 0;
  }

  .activity-card--ventoux .activity-illus img{
    width: 220px;
  }

  .transport-method h4{
    justify-content: flex-start;
  }

  .transport-method p{
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .lodging-grid { grid-template-columns: 1fr; }
  .card-header { flex-direction: column; gap: 8px; }
}
