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

:root {
  --cream:   #faf7f2;   /* used inside cards, inputs, hero gradient base */
  --page-bg: #ece4d1;   /* page background — warmer, makes white cards pop */
  --blush:   #e8cfc7;
  --sage:    #b4bfaa;
  --dusty:   #9eabbf;
  --gold:    #c9a96e;
  --charcoal:#3a3632;
  --text:    #4a4440;
}

html {
  scroll-behavior: smooth;
  background: var(--page-bg);   /* prevents iOS overscroll showing a different colour */
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Form-heavy pages (RSVP) get the deeper warm background so white cards lift. */
body.bg-deep { background: #d8ceb4; }

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(180,191,170,.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(158,171,191,.30) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(232,207,199,.25) 0%, transparent 70%),
    var(--cream);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  opacity: 0.18;
  animation: slowSpin linear infinite;
}
.ring-1 { width: 500px; height: 500px; top: -120px; left: -120px; border-color: var(--sage);    animation-duration: 80s; }
.ring-2 { width: 360px; height: 360px; bottom: -60px; right: -60px; border-color: var(--blush); animation-duration: 60s; animation-direction: reverse; }
.ring-3 { width: 240px; height: 240px; top: 50%; right: 10%; border-color: var(--dusty);       animation-duration: 100s; }

@keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.petal {
  position: absolute;
  border-radius: 50% 0;
  opacity: 0.12;
  animation: float ease-in-out infinite alternate;
}
.p1 { width:14px; height:14px; background:var(--blush); top:18%; left:15%; animation-duration:6s; }
.p2 { width:10px; height:10px; background:var(--sage);  top:70%; left:8%;  animation-duration:8s; animation-delay:1s; }
.p3 { width:18px; height:18px; background:var(--dusty); top:35%; right:12%; animation-duration:7s; animation-delay:2s; }
.p4 { width:8px;  height:8px;  background:var(--gold);  bottom:25%; right:20%; animation-duration:9s; animation-delay:.5s; }
@keyframes float { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-18px) rotate(20deg); } }

.hero-content { position: relative; z-index: 2; max-width: 640px; }

.families {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp .9s ease forwards .2s;
}

.names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--charcoal);
  opacity: 0;
  animation: fadeUp 1s ease forwards .45s;
}
.names em { font-style: italic; color: var(--gold); }

.ampersand {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--blush);
  margin: -.15em 0;
  font-style: italic;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text);
  opacity: .75;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards .7s;
}

.divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 1.8rem auto;
  opacity: 0;
  animation: fadeUp .8s ease forwards .9s;
}

.date-venue {
  font-weight: 200;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 2;
  opacity: 0;
  animation: fadeUp .8s ease forwards 1.1s;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .6;
  animation: fadeUp .8s ease forwards 1.6s, bobDown 2s ease-in-out infinite 2s;
}
.scroll-hint span { width: 1px; height: 36px; background: var(--gold); display: block; }
@keyframes bobDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

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

/* ── SECTIONS SHARED ─────────────────────── */
section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--blush), transparent);
  max-width: 200px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 2.5rem;
}

/* ── SCHEDULE ────────────────────────────── */
.schedule { background: transparent; }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blush) 10%, var(--blush) 90%, transparent);
}

.tl-item {
  display: grid;
  grid-template-columns: 90px 24px 1fr;
  align-items: start;
  gap: 0 1.2rem;
  padding: 1.4rem 0;
}

.tl-time {
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--charcoal);
  padding-top: .1rem;
}
.tl-time small { display: block; font-size: .6rem; letter-spacing: .12em; color: var(--gold); font-family: 'Jost', sans-serif; font-weight: 200; }

.tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  margin-top: .45rem;
  justify-self: center;
}

.tl-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
}
.tl-body p {
  font-size: .8rem;
  color: var(--text);
  opacity: .7;
  margin-top: .2rem;
  line-height: 1.6;
}

/* ── VENUE ───────────────────────────────── */
.venue-section { border-top: 1px solid rgba(180,191,170,.3); }

.venue-card {
  background: white;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 8px 40px rgba(58,54,50,.06);
}

.venue-info { padding: 2.5rem; }
.venue-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: .5rem;
}
.venue-info .address {
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.venue-info p {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text);
  opacity: .8;
}
.venue-map-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.venue-map-link:hover { color: var(--gold); }

.venue-visual {
  background: linear-gradient(135deg, rgba(180,191,170,.4) 0%, rgba(158,171,191,.3) 50%, rgba(232,207,199,.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  min-height: 240px;
}
.venue-visual.venue-visual-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
}
.venue-visual .icon { font-size: 3rem; opacity: .35; }
.venue-visual p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal);
  opacity: .6;
  text-align: center;
  line-height: 1.8;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.venue-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .35rem;
  margin-top: 1rem;
}
.venue-strip figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(201,169,110,.1);
}
.venue-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.venue-strip figure:hover img { transform: scale(1.05); }

.venue-credit {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  opacity: .55;
  margin-top: .8rem;
  text-align: right;
}
.venue-credit a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
}

/* ── DRESS CODE ──────────────────────────── */
.dress-section { border-top: 1px solid rgba(180,191,170,.3); }

.palette { display: flex; gap: .6rem; margin: 1.5rem 0 1rem; flex-wrap: wrap; }
.swatch {
  width: 52px; height: 52px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: relative;
}
.swatch::after {
  content: attr(data-name);
  position: absolute;
  bottom: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .55rem;
  letter-spacing: .08em;
  color: var(--text);
  white-space: nowrap;
  opacity: .7;
}

.dress-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.5rem; }
.dress-card {
  background: white;
  border: 1px solid rgba(201,169,110,.15);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(58,54,50,.04);
}
.dress-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: .6rem;
}
.dress-card p { font-size: .85rem; line-height: 1.8; opacity: .8; }

/* ── ACCOMMODATION ───────────────────────── */
.accomm-section { border-top: 1px solid rgba(180,191,170,.3); }

.accomm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .5rem; }
.accomm-card {
  background: white;
  border: 1px solid rgba(201,169,110,.15);
  border-radius: 4px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(58,54,50,.04);
  transition: transform .2s, box-shadow .2s;
}
.accomm-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(58,54,50,.08); }
.accomm-icon { font-size: 1.8rem; margin-bottom: .8rem; opacity: .6; }
.accomm-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .3rem;
}
.accomm-label { font-size: .75rem; letter-spacing: .1em; color: var(--charcoal); text-transform: uppercase; font-weight: 200; }
.accomm-note  { font-size: .75rem; color: var(--text); opacity: .6; margin-top: .4rem; line-height: 1.5; }

.accomm-cta { margin-top: 1.8rem; font-size: .9rem; line-height: 1.8; opacity: .8; }

/* ── RSVP CTA on main page ───────────────── */
.rsvp-section {
  border-top: 1px solid rgba(180,191,170,.3);
  text-align: center;
  padding-bottom: 8rem;
}
.rsvp-section .section-label { justify-content: center; }
.rsvp-section .section-label::after { display: none; }
.rsvp-section .section-title { text-align: center; }

.rsvp-deadline {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.rsvp-cta-btn {
  display: inline-block;
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.1rem 3rem;
  border-radius: 3px;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  text-decoration: none;
  border: 1px solid var(--charcoal);
  transition: background .2s, color .2s;
}
.rsvp-cta-btn:hover { background: var(--gold); border-color: var(--gold); }

.rsvp-note { font-size: .85rem; opacity: .6; line-height: 1.8; margin-top: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── 3D TOUR BUTTON ─────────────────────── */
.tour-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.2rem;
  padding: .65rem 1.4rem;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  transition: background .2s, color .2s;
}
.tour-btn:hover { background: var(--gold); color: white; }
.tour-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.accomm-view-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.4rem;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s;
}
.accomm-view-link:hover { color: var(--gold); }

/* ── FOOTER ──────────────────────────────── */
footer.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(180,191,170,.3);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal);
  opacity: .5;
}
.site-footer-admin {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .4;
}
.site-footer-admin a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
}
.site-footer-admin a:hover { color: var(--gold); }

/* ── RSVP FORM PAGE ──────────────────────── */
.rsvp-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}
.rsvp-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: .5rem;
}
.rsvp-page .lead {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: .9rem;
  opacity: .8;
  line-height: 1.8;
}
.rsvp-page .deadline {
  text-align: center;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.rsvp-card {
  background: white;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 4px;
  padding: 2rem 2rem;
  box-shadow: 0 8px 40px rgba(58,54,50,.06);
  margin-bottom: 1.5rem;
}
.rsvp-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: .25rem;
}
.rsvp-card .sub {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.guest-row {
  border-top: 1px solid rgba(201,169,110,.15);
  padding: 1.4rem 0;
}
.guest-row:first-of-type { border-top: 0; padding-top: .5rem; }
.guest-row h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: .8rem;
}

.choice-toggle {
  display: flex;
  gap: .8rem;
  margin: .3rem 0 1.2rem;
  flex-wrap: wrap;
}
.choice-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-toggle label {
  flex: 1;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 1.3rem;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  background: white;
  color: var(--charcoal);
  border: 2px solid rgba(201,169,110,.45);
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(58,54,50,.08);
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .15s;
  user-select: none;
}
.choice-toggle label::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: white;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.choice-toggle label:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(58,54,50,.12);
  transform: translateY(-1px);
}
.choice-toggle input[type="radio"]:focus-visible + label {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.choice-toggle input[value="attending"]:checked + label {
  background: #87a06b;
  border-color: #6d8755;
  color: white;
  box-shadow: 0 6px 18px rgba(105,131,85,.35);
}
.choice-toggle input[value="attending"]:checked + label::before {
  background: white;
  border-color: white;
  box-shadow: inset 0 0 0 4px #87a06b;
}

.choice-toggle input[value="declined"]:checked + label {
  background: #b8786d;
  border-color: #9d6157;
  color: white;
  box-shadow: 0 6px 18px rgba(155,90,80,.32);
}
.choice-toggle input[value="declined"]:checked + label::before {
  background: white;
  border-color: white;
  box-shadow: inset 0 0 0 4px #b8786d;
}

.field {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  opacity: 1;
  margin: .8rem 0 .4rem;
}
.field-input,
.field-textarea {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  padding: .65rem .85rem;
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 3px;
  background: var(--cream);
  color: var(--text);
}
.field-input:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: white;
}
.field-textarea { resize: vertical; min-height: 90px; }

.checkbox-row { display: flex; align-items: center; gap: .55rem; margin: .9rem 0; }
.checkbox-row input { width: 16px; height: 16px; accent-color: var(--gold); }
.checkbox-row label { font-size: .85rem; color: var(--charcoal); }

.party-extras {
  background: var(--cream);
  border: 1px solid rgba(201,169,110,.18);
  border-radius: 3px;
  padding: 1.2rem 1.3rem 1.4rem;
  margin-top: 1.5rem;
}

.submit-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  padding: 1rem 3rem;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); }

.thanks-card {
  text-align: center;
  background: white;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 4px;
  padding: 3.5rem 2rem;
  box-shadow: 0 8px 40px rgba(58,54,50,.06);
}
.thanks-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.thanks-card p { font-size: .95rem; line-height: 1.9; opacity: .8; max-width: 460px; margin: 0 auto; }
.thanks-card .signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 1.8rem;
}

.lookup-card {
  background: white;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(58,54,50,.06);
  text-align: center;
}
.lookup-card .field-input { text-align: center; letter-spacing: .35em; text-transform: uppercase; max-width: 280px; margin: 0 auto; }
.error-msg {
  background: rgba(232,207,199,.4);
  border: 1px solid rgba(201,169,110,.3);
  color: var(--charcoal);
  padding: .8rem 1rem;
  border-radius: 3px;
  font-size: .85rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ── GUEST LIST (single-code RSVP) ─────────────── */
.saved-banner {
  background: rgba(180,191,170,.25);
  border: 1px solid rgba(180,191,170,.55);
  color: var(--charcoal);
  padding: .9rem 1.1rem;
  border-radius: 3px;
  font-size: .85rem;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
}
.guest-list-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.4rem 0 1.6rem;
}
.guest-list-stats .pill {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(201,169,110,.25);
  color: var(--text);
}
.guest-list-stats .pill-attending { color: #4f6a3e; border-color: rgba(180,191,170,.55); }
.guest-list-stats .pill-declined  { color: #8a4a40; border-color: rgba(232,207,199,.7); }
.guest-list-stats .pill-pending   { color: var(--gold-deep); border-color: rgba(201,169,110,.35); }

.guest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.guest-row a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: white;
  border: 1px solid rgba(201,169,110,.2);
  border-left: 3px solid rgba(201,169,110,.35);
  border-radius: 3px;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 10px rgba(58,54,50,.03);
}
.guest-row a:hover,
.guest-row a:focus-visible {
  transform: translateX(2px);
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(58,54,50,.08);
}
.guest-row-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: .01em;
}
.guest-row-tag {
  margin-left: .35rem;
  font-size: .65em;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.guest-row-status {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .75;
}
.guest-row--attending a { border-left-color: rgba(120,150,90,.7); }
.guest-row--attending .guest-row-status { color: #4f6a3e; opacity: 1; }
.guest-row--declined  a { border-left-color: rgba(180,90,80,.55); }
.guest-row--declined  .guest-row-status { color: #8a4a40; opacity: 1; }
.guest-row--pending   a { border-left-color: rgba(201,169,110,.45); }

@media (max-width: 520px) {
  .guest-row a { padding: .85rem 1rem; }
  .guest-row-name { font-size: 1rem; }
  .guest-row-status { font-size: .6rem; letter-spacing: .15em; }
}

/* ── GALLERY ─────────────────────────────── */
.gallery-section { margin-bottom: 4rem; }
.gallery-section .section-title { margin-top: .25rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .65rem;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  background: rgba(201,169,110,.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-credit {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .35rem .55rem;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(transparent, rgba(58,54,50,.75));
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover .gallery-credit { opacity: 1; }

/* ── UPLOAD PAGE (QR target) ─────────────── */
.upload-page {
  max-width: 580px;
  margin: 0 auto;
  padding: 4rem 1.2rem 6rem;
}
.upload-hero { text-align: center; margin-bottom: 2.5rem; }
.upload-eyebrow {
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.upload-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 300;
  color: var(--charcoal);
}
.upload-h1 em { font-style: italic; color: var(--gold); }

.upload-form { background: white; padding: 1.6rem 1.4rem; border-radius: 4px; border: 1px solid rgba(201,169,110,.25); box-shadow: 0 8px 30px rgba(58,54,50,.08); }

.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 2.4rem 1.2rem;
  border: 2px dashed rgba(201,169,110,.55);
  border-radius: 6px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: center;
}
.upload-dropzone:hover, .upload-dropzone:focus-within {
  border-color: var(--gold);
  background: white;
}
.upload-dropzone input[type="file"] {
  position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px;
}
.upload-icon { font-size: 2.6rem; opacity: .65; }
.upload-cta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--charcoal);
}
.upload-sub {
  font-size: .8rem;
  color: var(--text);
  opacity: .65;
}
.picked-files {
  margin-top: 1rem;
  padding: .6rem .9rem;
  background: rgba(180,191,170,.25);
  border: 1px solid rgba(120,148,100,.35);
  border-radius: 3px;
  font-size: .85rem;
  color: var(--charcoal);
  text-align: center;
}

.upload-progress {
  margin-top: 1.6rem;
  padding: 1.2rem 1rem;
  background: var(--cream);
  border: 1px solid rgba(201,169,110,.35);
  border-radius: 4px;
  text-align: center;
}
.upload-progress-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: .9rem;
}
.upload-progress-bar {
  width: 100%;
  height: 14px;
  background: white;
  border: 1px solid rgba(201,169,110,.4);
  border-radius: 7px;
  overflow: hidden;
}
.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c4d4ad 0%, #87a06b 100%);
  transition: width .15s ease-out;
}
.upload-progress-sub {
  font-size: .8rem;
  color: var(--text);
  opacity: .8;
  margin-top: .8rem;
  font-variant-numeric: tabular-nums;
}

/* ── MENU PICKER (RSVP form) ─────────────── */
.menu-picker { margin-top: .25rem; }
.menu-hint {
  font-size: .8rem;
  opacity: .7;
  margin: -.25rem 0 1rem;
  font-style: italic;
}
.required-tag {
  display: inline-block;
  margin-left: .4rem;
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8a4a40;
  background: rgba(232,207,199,.5);
  border: 1px solid rgba(180,90,80,.35);
  border-radius: 999px;
  padding: .12rem .55rem;
  font-style: normal;
  vertical-align: middle;
}
.menu-course {
  border: 2px solid transparent;
  margin: .5rem 0 1rem;
  padding: 0;
  border-radius: 4px;
  transition: border-color .2s ease, background .2s ease;
}
.menu-course.is-missing {
  border-color: rgba(180,90,80,.55);
  background: rgba(232,207,199,.18);
  padding: .6rem .8rem;
}
.menu-course.is-missing legend {
  color: #8a4a40;
}

.plus-one-card {
  margin-top: 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(255,253,248,.5);
}
.plus-one-card h2 {
  font-size: 1.05rem;
}
.plus-one-details[hidden] { display: none; }
.menu-course legend {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0;
  margin-bottom: .5rem;
}
.menu-option {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .8rem 1rem;
  border: 1px solid rgba(201,169,110,.25);
  border-radius: 4px;
  margin-bottom: .55rem;
  cursor: pointer;
  background: var(--cream);
  transition: border-color .15s, background .15s;
}
.menu-option:hover { border-color: var(--gold); }
.menu-option input[type="radio"] {
  margin-top: .15rem;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.menu-option.is-checked,
.menu-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201,169,110,.08);
}
.menu-option-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; flex: 1; }
.menu-option-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--charcoal);
}
.menu-option-desc { font-size: .8rem; opacity: .7; line-height: 1.5; }
.menu-option-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.menu-option-tags .pill {
  background: white;
  border: 1px solid rgba(201,169,110,.4);
  color: var(--charcoal);
  padding: .12rem .5rem;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 3rem 1rem; min-height: 92vh; }
  .scroll-hint { display: none; }
  section { padding: 3rem 1.1rem; }
  .venue-card { grid-template-columns: 1fr; }
  .venue-visual.venue-visual-photo { display: block; min-height: 220px; order: -1; }
  .venue-visual:not(.venue-visual-photo) { display: none; }
  .venue-info { padding: 1.6rem 1.4rem; }
  .venue-strip { grid-template-columns: repeat(3, 1fr); }
  .dress-cards { grid-template-columns: 1fr; }
  .accomm-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 70px; }
  .tl-item { grid-template-columns: 70px 20px 1fr; }
  .rsvp-page { padding: 3rem 1rem 4rem; }
  .rsvp-card { padding: 1.4rem 1.2rem; }
  .choice-toggle label { min-width: 0; padding: .9rem 1rem; font-size: .72rem; }
  .field-input, .field-textarea { font-size: 16px; }   /* prevent iOS zoom-on-focus */
  .menu-option { padding: .8rem .85rem; }
  .rsvp-box, .rsvp-cta-btn { padding: 1rem 1.6rem; }
  .palette { gap: .8rem .55rem; }
}

@media (max-width: 380px) {
  .names { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .rsvp-card h2 { font-size: 1.1rem; }
}
