/* =========================================================
   Alejandra & David — Boda
   Estilo: playa elegante · arena / marfil / oro tenue
   ========================================================= */

:root {
  --ivory:        #FBF8F2;
  --ivory-2:      #F4EEE3;
  --sand:         #E7DDCC;
  --sand-deep:    #D9CBB4;
  --taupe:        #6E6152;
  --ink:          #3D362E;
  --gold:         #B08D57;
  --gold-soft:    #C7A876;
  --line:         rgba(61, 54, 46, 0.16);
  --white:        #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
  --script:"Pinyon Script", cursive;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

section { position: relative; }

/* ---------- Tipografía / helpers ---------- */
.serif-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.script {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--taupe);
  line-height: 1.3;
}
.script__cite {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 1rem;
}

em { font-style: italic; color: var(--taupe); }

/* Regla decorativa con rombo central */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 1.8rem auto;
  width: min(320px, 70%);
}
.rule span { flex: 1; height: 1px; background: var(--line); }
.rule i {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 2.4em;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.5s var(--ease);
}
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--gold); color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 5vw, 3.5rem);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow .5s;
}
.nav.scrolled {
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  color: #fff;
  text-decoration: none;
  transition: color 0.5s var(--ease);
}
.nav__brand span { color: var(--gold-soft); }
.nav.scrolled .nav__brand { color: var(--ink); }
.nav.scrolled .nav__brand span { color: var(--gold); }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  opacity: 0.92;
  transition: color 0.5s var(--ease), opacity .3s;
}
.nav__links a:hover { opacity: 1; color: var(--gold-soft); }
.nav.scrolled .nav__links a { color: var(--taupe); opacity: 1; }
.nav.scrolled .nav__links a:hover { color: var(--gold); }

/* ---------- HERO (pantalla completa) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero {
  height: 100svh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ivory-2);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  animation: heroZoom 14s var(--ease) forwards;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(30,24,18,0.40) 0%, rgba(30,24,18,0.12) 45%, rgba(30,24,18,0) 72%),
    linear-gradient(to bottom, rgba(30,24,18,0.42) 0%, rgba(30,24,18,0.18) 30%, rgba(30,24,18,0.20) 60%, rgba(30,24,18,0.55) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  color: #fff;
  padding: 0 1.2rem;
  text-shadow: 0 2px 26px rgba(20,15,10,0.5);
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 0.8rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.3s forwards;
}
.hero__names {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.hero__names span {
  font-size: clamp(3rem, 11vw, 7.5rem);
  opacity: 0;
  animation: fadeUp 1.3s var(--ease) forwards;
}
.hero__names span:nth-child(1){ animation-delay: .5s; }
.hero__names .amp {
  font-family: var(--script);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  color: var(--gold-soft);
  margin: -0.4rem 0;
  animation-delay: .75s;
}
.hero__names span:nth-child(3){ animation-delay: 1s; }
.hero__date {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.25s forwards;
}
.hero__date .dot { color: var(--gold-soft); font-size: 0.55rem; }
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 14px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.6s forwards;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 8px; border-radius: 3px;
  background: #fff; transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0%{opacity:0; top:8px;} 40%{opacity:1;} 80%{opacity:0; top:22px;} 100%{opacity:0;} }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Invitación / countdown ---------- */
.invite {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}
.invite__text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--taupe);
  font-weight: 300;
  line-height: 1.55;
}
.countdown {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 5vw, 3.5rem);
}
.cd { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.cd__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
}
.cd__lbl {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.62rem;
  color: var(--gold);
  margin-top: 0.6rem;
}

/* ---------- Historia ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.4rem, 5vw, 3rem);
}
.story__media { position: relative; }
.story__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 25%;
}
.story__media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.story__text .eyebrow { margin-bottom: 1.2rem; }
.story__text h2 { margin-bottom: 1.6rem; }
.story__text p { margin-bottom: 1.1rem; color: var(--taupe); }

/* ---------- Quote full-bleed ---------- */
.quote {
  height: 62vh;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.quote__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% 85%;
}
.quote__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(30,24,18,0.52) 0%, rgba(30,24,18,0.32) 55%, rgba(30,24,18,0.20) 100%);
}
.quote__text {
  position: relative; z-index: 2;
  color: #fff;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  max-width: 760px;
  padding: 0 1.6rem;
  line-height: 1.4;
  text-shadow: 0 2px 22px rgba(20,15,10,0.55);
}
.quote__text em { color: var(--gold-soft); }
.quote__cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: var(--gold-soft);
  margin-top: 1.4rem;
  text-shadow: none;
}

/* ---------- Evento ---------- */
.event {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  background: var(--ivory-2);
}
.event__head { max-width: 640px; margin: 0 auto 3.5rem; }
.event__head h2 { margin: 0.4rem 0 1.4rem; }
.event__place {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.event__note { color: var(--taupe); margin-bottom: 2rem; }

/* Cronograma */
.timeline {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.tl {
  display: grid;
  grid-template-columns: 96px 24px 1fr;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.tl:last-child { border-bottom: 0; }
.tl__time {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold);
}
.tl__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sand-deep);
  justify-self: center;
  position: relative;
}
.tl__dot::after {
  content: ""; position: absolute; inset: -5px;
  border: 1px solid var(--sand-deep); border-radius: 50%; opacity: .5;
}
.tl__title {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.86rem;
  color: var(--ink);
}

/* ---------- Dress code ---------- */
.dress {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.4rem, 5vw, 3rem);
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.dress__head { max-width: 620px; margin: 0 auto 3rem; }
.dress__head h2 { margin: 0.4rem 0 1.1rem; }
.dress__intro { color: var(--taupe); }
.dress__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  max-width: 860px;
  margin: 0 auto;
  align-items: start;
}
.dcard__note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--taupe);
  text-align: center;
}
.dcard__note strong { color: var(--ink); font-weight: 500; font-style: normal; }
.dcard__img {
  width: 100%;
  height: 440px;
  object-fit: contain;
  background: var(--ivory-2);
  margin-top: 1.6rem;
  cursor: pointer;
  transition: opacity 0.4s var(--ease);
}
.dcard__img:hover { opacity: 0.92; }
.palette__img {
  display: block;
  width: min(460px, 100%);
  height: auto;
  margin: 1.6rem auto 0;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 0.4s var(--ease);
}
.palette__img:hover { opacity: 0.92; }
.dcard {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 2.4rem 2rem;
  text-align: left;
}
.dcard h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.dcard__main {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.dcard__list { list-style: none; }
.dcard__list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--taupe);
  font-size: 0.95rem;
}
.dcard__list li::before {
  position: absolute; left: 0; top: -1px;
  font-size: 1rem;
}
.dcard__list li.ok::before { content: "✓"; color: #86937a; }
.dcard__list li.no::before { content: "✕"; color: #c08a86; }

.dress__palette { margin-top: 3rem; }
.dress__palette span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.swatches { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.swatches i {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.dress__reserve { margin-top: 2rem; color: var(--taupe); font-style: italic; }
.dress__reserve strong { color: var(--ink); font-weight: 500; }

/* Moodboard */
.moodboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  max-width: 980px;
  margin: 3.2rem auto 0;
}
.mood {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 12px 0;
  box-shadow: 0 14px 40px -26px rgba(61,54,46,0.5);
}
.mood img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: var(--ivory-2);
  cursor: pointer;
  transition: opacity 0.4s var(--ease);
}
.mood img:hover { opacity: 0.92; }
.mood figcaption {
  padding: 1rem 0.4rem 1.1rem;
  text-align: center;
}
.mood figcaption span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.64rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.mood figcaption {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}
.moodboard__hint {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--taupe);
  opacity: 0.8;
}

/* ---------- RSVP ---------- */
.rsvp {
  text-align: center;
  padding: clamp(4.5rem, 11vw, 8rem) 1.5rem;
  background: var(--ink);
  color: var(--ivory);
}
.rsvp .eyebrow { color: var(--gold-soft); }
.rsvp .serif-title { color: #fff; }
.rsvp__inner { max-width: 680px; margin: 0 auto; }
.rsvp__text { color: rgba(251,248,242,0.78); margin: 1.4rem 0 2.4rem; }
.rsvp__text strong { color: #fff; font-weight: 400; }
.rsvp__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.rsvp .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.rsvp .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.rsvp__meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.rsvp__meta > div { display: flex; flex-direction: column; gap: 0.4rem; }
.meta__k { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.64rem; color: var(--gold-soft); }
.meta__v { font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.rsvp__soon { margin-top: 2rem; font-size: 0.82rem; letter-spacing: .1em; color: rgba(251,248,242,0.5); }

/* ---------- Hospedaje ---------- */
.stay, .gifts {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}
.stay h2, .gifts h2 { margin: 0.4rem 0 1.3rem; }
.stay__text, .gifts__text { color: var(--taupe); margin-bottom: 2rem; }
.gifts { border-top: 1px solid var(--line); }
.gifts__account {
  margin-top: 2rem;
  border: 1px solid var(--line);
  padding: 1.6rem 2rem;
  display: inline-block;
  text-align: left;
}
.gifts__account[hidden] { display: none; }
.gifts__account p { color: var(--taupe); margin: 0.45rem 0; }
.gifts__account span {
  display: inline-block;
  width: 72px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  color: var(--gold);
}
.gifts__account-title {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  color: var(--gold) !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.gifts__account-title span { width: auto; }
.gifts__account strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.gifts__copy {
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7em 1.5em;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.gifts__copy:hover { background: var(--gold); color: #fff; }

/* ---------- Galería ---------- */
.gallery { padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 3rem); background: var(--ivory-2); }
.gallery__head { text-align: center; margin-bottom: 3rem; }
.gallery__head h2 { margin-top: 0.4rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}
.gallery__grid img {
  width: 100%; height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  cursor: pointer;
  filter: saturate(0.96);
  transition: transform 0.7s var(--ease), filter 0.6s;
}
.gallery__grid img:hover { transform: scale(1.03); filter: saturate(1.05); }
.gallery__grid .tall { grid-row: span 2; aspect-ratio: 3/5; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem 3rem;
  background: var(--ivory);
}
.footer__names {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ink);
}
.footer__names span { font-family: var(--script); color: var(--gold); }
.footer__hash {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--gold);
  margin: 1.2rem 0 0.6rem;
}
.footer__date { color: var(--taupe); font-size: 0.9rem; letter-spacing: 0.1em; }
.footer__credit { margin-top: 1.6rem; font-family: var(--serif); font-style: italic; color: var(--taupe); font-size: 1.1rem; }

/* ---------- Modal RSVP ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 1.2rem;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(30,24,18,0.55);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.4s var(--ease);
}
.modal__card {
  position: relative; z-index: 2;
  background: var(--ivory);
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(30,24,18,0.6);
  animation: modalIn 0.5s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 0.8rem; right: 1.1rem;
  background: none; border: none;
  font-size: 1.9rem; line-height: 1;
  color: var(--taupe); cursor: pointer;
  transition: color 0.3s;
}
.modal__close:hover { color: var(--ink); }
.modal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ink);
  margin: 0.4rem 0 0.8rem;
}
.modal__text { color: var(--taupe); margin-bottom: 1.8rem; }
.modal__hint { color: var(--taupe); font-size: 0.82rem; margin-top: 1.3rem; opacity: 0.85; }

.form { display: flex; flex-direction: column; gap: 1.1rem; text-align: left; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field > span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
  color: var(--gold);
}
.field input, .field select {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85em 0.9em;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s;
}
.field input::placeholder { color: #b3a996; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field input[readonly] { background: var(--ivory-2); color: var(--taupe); }
.radio-row { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.radio {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--taupe); font-size: 0.92rem; cursor: pointer;
}
.radio input { accent-color: var(--gold); }
.form__submit { margin-top: 0.7rem; width: 100%; }
.form__error { color: #b5675f; font-size: 0.82rem; margin: -0.3rem 0 0; }
.form__error[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(30,25,20,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 3vw;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 720px); max-height: 90vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 1.4rem; right: 1.8rem;
  background: none; border: none; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .85;
}
.lightbox__close:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .quote { height: 46svh; min-height: 360px; }
  .quote__img { object-position: 42% 94%; }
  .quote__text { font-size: clamp(1.3rem, 5.4vw, 1.8rem); }
  .story { grid-template-columns: 1fr; }
  .story__media { max-width: 460px; margin: 0 auto; }
  .story__media::after { inset: 10px -10px -10px 10px; }
  .dress__cards { grid-template-columns: 1fr; max-width: 460px; }
  .moodboard { grid-template-columns: 1fr; max-width: 420px; }
  .mood img { height: auto; max-height: 460px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid .tall { grid-row: span 1; aspect-ratio: 3/4; }
  .countdown { gap: 1.4rem; }
  .rsvp__meta { gap: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
