:root {
  --cream: #eee8dd;
  --cream-2: #e7dfd1;
  --ivory: #f7f3eb;
  --paper: #fbf8f2;
  --ink: #3d342d;
  --muted: #665b51;
  --champ: #b7a48d;
  --champ-d: #8a735d;
  --champ-l: #dcc9ad;
  --brown: #6f5846;
  --brown-d: #5d4a3b;
  --espresso: #47382c;
  --line: rgba(138, 115, 93, .32);
  --line-l: rgba(247, 243, 235, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Italiana", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --script-k: .98;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --r-shell: 14px;
  --r-core: 9px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .24  0 0 0 0 .2  0 0 0 0 .16  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--brown); color: var(--ivory); }

/* Grano de papel fijo sobre toda la página (no repinta al hacer scroll) */
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; background-image: var(--grain); background-size: 240px; opacity: .07; mix-blend-mode: multiply; }

.wrap { width: min(760px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.center { text-align: center; }
.script { font-family: var(--script); font-weight: 400; line-height: 1; }
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--champ-d); }
.eyebrow--light { color: var(--champ-l); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1.04; margin: 16px 0 18px; }
.h2--left { text-align: left; }
.h2, .lede, p, .step__title { text-wrap: pretty; }
.lede { color: var(--muted); font-style: italic; font-size: 21px; }
.sec-head { width: min(860px, 100% - 2 * var(--gutter)); margin: 0 auto 64px; }

/* ---------- PILLS (botón con ícono anidado) ---------- */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .24em; text-transform: uppercase; padding: 19px 36px; border-radius: 999px; transition: transform .6s var(--ease), background .5s var(--ease), color .5s var(--ease), box-shadow .6s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(.98); }
.pill--dark { background: var(--ink); color: var(--ivory); box-shadow: 0 14px 30px -14px rgba(61, 52, 45, .55); }
.pill--dark:hover { background: #2f2823; }
.pill--cream { background: var(--ivory); color: var(--ink); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .35); }
.pill--ghost { border: 1px solid var(--champ-d); padding: 18px 30px; }
.pill--line { border: 1px solid rgba(247, 243, 235, .45); color: var(--ivory); padding: 18px 30px; }
.pill--line:hover { background: rgba(247, 243, 235, .08); }
.pill--icon { padding: 7px 7px 7px 30px; gap: 20px; }
.pill__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(247, 243, 235, .14); transition: transform .6s var(--ease); }
.pill--cream .pill__ico { background: rgba(61, 52, 45, .08); }
.pill__ico svg { width: 16px; height: 16px; }
.pill--icon:hover .pill__ico { transform: translate(3px, -2px) scale(1.06); }

/* ---------- DOBLE BISEL ---------- */
.shell { padding: 7px; border-radius: var(--r-shell); background: rgba(61, 52, 45, .045); box-shadow: inset 0 0 0 1px rgba(61, 52, 45, .07); }
.core { border-radius: var(--r-core); background: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 40px 80px -48px rgba(61, 52, 45, .45); overflow: hidden; }

/* ---------- MOVIMIENTO ---------- */
.reveal { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split .wi { display: inline-block; transform: translateY(112%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * 65ms); }
.split.is-in .wi { transform: none; }
.intro { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .intro { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .intro, .split .wi { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- FONDOS (prueba A / B) ---------- */
.tex { position: relative; isolation: isolate; }
.tex::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* A · Paper: luz cálida difusa y bordes que se oscurecen apenas */
/* B · Lace: el encaje de la invitación, casi invisible, con los mismos degradados */
.tex::before { background: radial-gradient(70% 60% at 50% 40%, rgba(238, 232, 221, .55), rgba(238, 232, 221, .92) 75%), url(assets/img/lacetex.jpg) center / 1100px auto repeat; opacity: .38; }
.details::before, .stay::before { background: radial-gradient(70% 60% at 50% 40%, rgba(247, 243, 235, .6), rgba(247, 243, 235, .93) 75%), url(assets/img/lacetex.jpg) center / 1100px auto repeat; }


/* ---------- NAV ---------- */
.nav { position: fixed; top: 22px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(-16px); transition: opacity 1s var(--ease) 1.4s, transform 1s var(--ease) 1.4s; }
.is-loaded .nav { opacity: 1; transform: none; }
.nav__pill { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; background: rgba(247, 243, 235, .92); border-radius: 999px; box-shadow: 0 12px 34px -12px rgba(61, 52, 45, .28), inset 0 0 0 1px rgba(255, 255, 255, .6); backdrop-filter: blur(10px); }
.nav__pill a { font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; padding: 12px 13px; border-radius: 999px; transition: color .4s var(--ease); }
.nav__pill a:hover { color: var(--champ-d); }
.nav__pill a.nav__rsvp { background: var(--ink); color: var(--ivory); padding: 12px 24px; margin-left: 4px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(100svh, 700px); margin: 16px 16px 0; border-radius: 6px; overflow: hidden; display: grid; place-items: center; color: var(--ivory); text-align: center; }
.hero__photo { position: absolute; inset: -6% 0; background: url(assets/img/hero.jpg) center 22% / cover no-repeat; transform: scale(1.12); transition: transform 2.8s var(--ease); will-change: transform; }
.is-loaded .hero__photo { transform: translate3d(0, var(--py, 0px), 0) scale(1.02); }
.hero__veil { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 45%, rgba(38, 28, 20, .3), rgba(38, 28, 20, .6)), linear-gradient(180deg, rgba(38, 28, 20, .25), rgba(38, 28, 20, .45)); }
.hero__frame { position: absolute; inset: 22px; border: 1px solid rgba(247, 243, 235, .35); pointer-events: none; clip-path: inset(0 50% 100% 50%); transition: clip-path 2s var(--ease) .6s; }
.is-loaded .hero__frame { clip-path: inset(0 0 0 0); }
.hero__seal { position: absolute; top: 46px; left: 52px; width: 54px; transition-delay: 1.6s; }
.hero__bsd { position: absolute; top: 50px; right: 56px; font-family: "Frank Ruhl Libre", serif; font-size: 16px; transition-delay: 1.6s; }
.hero__content { position: relative; padding: 178px 24px 120px; display: flex; flex-direction: column; align-items: center; }
.hero__script { font-size: calc(clamp(54px, 7.4vw, 104px) * var(--script-k, 1)); clip-path: inset(-20% 100% -30% 0); transition: clip-path 2.2s var(--ease) .5s; }
.is-loaded .hero__script { clip-path: inset(-20% -5% -30% 0); }
/* Versículo en hebreo (Jeremías 33:11): Frank Ruhl Libre con nikud; se revela de derecha a izquierda */
.hero__script--he { font-family: "Frank Ruhl Libre", serif; font-weight: 400; line-height: 1.55; letter-spacing: 0; font-size: clamp(27px, 3.4vw, 50px); text-align: center; text-wrap: balance; max-width: 22em; margin-bottom: 6px; clip-path: inset(-20% 0 -30% 100%); }
.is-loaded .hero__script--he { clip-path: inset(-20% 0 -30% -5%); }
.hero__names { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(42px, 6vw, 84px); letter-spacing: .14em; line-height: 1.05; margin-top: 4px; }
.hero__names .amp { margin: 0 .12em; } /* el & hereda la misma fuente (Italiana) y el mismo espaciado que Gabriella y Shuey */
.hero__names .wi { transition-delay: calc(.9s + var(--i, 0) * 110ms); }
.hero__rule { width: 120px; height: 1px; background: rgba(247, 243, 235, .6); margin: 62px 0 22px; transform: scaleX(0); transition: transform 1.6s var(--ease) 1.4s; }
.is-loaded .hero__rule { transform: none; }
.hero__date { font-weight: 600; font-size: 14px; letter-spacing: .4em; text-transform: uppercase; transition-delay: 1.55s; }
.hero__venue { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; margin: 10px 0 40px; line-height: 1.8; transition-delay: 1.7s; }
.is-loaded .hero__venue { opacity: .88; }
.hero .pill { transition: opacity 1.2s var(--ease) 1.85s, transform 1.2s var(--ease) 1.85s; }
.hero__cue { position: absolute; bottom: 44px; left: 50%; width: 1px; height: 54px; background: rgba(247, 243, 235, .35); overflow: hidden; }
.hero__cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory); animation: cue 2.4s var(--ease-soft) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- INVITE + COUNTDOWN ---------- */
.invite { padding: 150px 0 130px; text-align: center; }
/* Texto de las familias (redacción que mandaron los padres) */
.families { display: flex; flex-direction: column; align-items: center; margin-bottom: 96px; }
.families__bh { font-family: "Frank Ruhl Libre", serif; font-size: 20px; color: var(--champ-d); display: block; margin-bottom: 18px; }
.families__joy { font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--champ-d); text-wrap: balance; }
.families__parents { margin-top: 52px; }
.families__parent { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; letter-spacing: .04em; text-wrap: balance; }
.families__with { font-style: italic; font-size: 20px; color: var(--muted); margin: 14px 0; }
.families__text { margin-top: 46px; font-size: clamp(21px, 2.1vw, 26px); line-height: 1.45; text-wrap: balance; }
.families__couple { margin-top: 44px; }
.families__name { font-family: var(--script); font-size: calc(clamp(64px, 8.4vw, 104px) * var(--script-k, 1)); line-height: 1.12; }
.families__he { font-family: "Frank Ruhl Libre", serif; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; color: var(--champ-d); margin-top: 2px; }
.families__and { font-style: italic; font-size: 24px; color: var(--muted); margin: 22px 0 14px; }
.invite__dear { font-family: "Pinyon Script", cursive; font-style: normal; font-weight: 400; font-size: clamp(46px, 6vw, 84px); line-height: 1.2; letter-spacing: 0; margin: 20px calc(50% - min(560px, 50vw - var(--gutter))) 28px; text-wrap: balance; }
.invite__dear .amp { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .74em; margin: 0 .04em; }
.invite__dear-word { color: var(--champ-d); }
.invite__intro { font-size: clamp(21px, 2.1vw, 26px); line-height: 1.45; color: var(--ink); text-wrap: balance; margin: 0 calc(50% - min(480px, 50vw - var(--gutter))); }
.countdown { width: min(820px, 100% - 2 * var(--gutter)); margin: 90px auto 0; }
.countdown__title { font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); margin-bottom: 26px; }
.countdown__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.countdown__row > div { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 4px 0; }
.countdown__row > div + div { border-left: 1px solid var(--line); }
.countdown__num { font-family: var(--display); font-size: clamp(48px, 5.4vw, 76px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__unit { font-weight: 600; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---------- THE DAY (negativo) ---------- */
.day { position: relative; color: var(--ivory); background: radial-gradient(90% 70% at 50% 0%, #7d6553 0%, #604c3d 45%, var(--espresso) 100%); }
.day::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 30% at 15% 85%, rgba(220, 201, 173, .1), transparent 70%), radial-gradient(35% 30% at 90% 30%, rgba(220, 201, 173, .08), transparent 70%); }
.journey { position: relative; height: 300vh; }
.journey__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.2vh, 34px); padding: 76px 0 12px; overflow: hidden; }
.journey__head { width: min(900px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.journey__head .h2 { font-size: clamp(36px, min(4.6vw, 6.4vh), 64px); margin: 12px 0 10px; }
.day .lede { color: rgba(247, 243, 235, .78); }
.journey__viewport { width: min(1140px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.journey__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transition: transform .9s var(--ease); }
.moment { background: rgba(247, 243, 235, .05); border: 1px solid var(--line-l); border-radius: 8px; padding: 12px 12px 26px; cursor: pointer; transition: background .8s var(--ease), border-color .8s var(--ease), color .8s var(--ease), transform .9s var(--ease), box-shadow .9s var(--ease); }
.moment__art { aspect-ratio: 16 / 9; border-radius: 4px; background: radial-gradient(ellipse at 50% 55%, rgba(247, 243, 235, .92) 0%, rgba(247, 243, 235, .55) 55%, rgba(247, 243, 235, .15) 100%), url(assets/img/lacetex.jpg) center / cover; display: grid; place-items: center; overflow: hidden; }
.moment__art img { width: 44%; height: auto; filter: drop-shadow(0 10px 16px rgba(93, 74, 59, .18)); transition: transform 1.2s var(--ease); }
.moment.is-active .moment__art img { transform: scale(1.06); }
.moment__time { margin: 22px 10px 8px; font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--champ-l); transition: color .8s var(--ease); }
.moment__title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.1; margin: 0 10px 10px; }
.moment__desc { color: rgba(247, 243, 235, .8); font-size: 18px; line-height: 1.5; margin: 0 10px; transition: color .8s var(--ease); }
.moment.is-active { background: var(--paper); border-color: var(--paper); color: var(--ink); transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); }
.moment.is-active .moment__time { color: var(--champ-d); }
.moment.is-active .moment__desc { color: var(--muted); }
.rail { position: relative; width: min(1140px, 100% - 2 * var(--gutter)); margin: 0 auto; height: 84px; flex: none; }
.rail::before, .rail__fill { content: ""; position: absolute; top: 30px; left: 0; height: 1px; }
.rail::before { right: 0; background: var(--line-l); }
.rail__fill { width: 0; background: var(--ivory); transition: width .3s var(--ease-soft); }
.rail__stop { position: absolute; top: 30px; width: 60px; height: 60px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.rail__stop::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(247, 243, 235, .55); transition: all .7s var(--ease); }
.rail__stop::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid var(--ivory); transform: scale(.3); opacity: 0; transition: all .8s var(--ease); }
.rail__stop.is-active::before { width: 13px; height: 13px; background: var(--ivory); }
.rail__stop.is-active::after { transform: none; opacity: 1; }
.rail__stop span { position: absolute; top: 58px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 243, 235, .6); transition: color .7s var(--ease); }
.rail__stop.is-active span { color: var(--ivory); }
@media (max-height: 820px) and (min-width: 1001px) {
  .journey__pin { padding-top: 72px; gap: 16px; }
  .moment { padding: 10px 10px 18px; }
  .moment__art { aspect-ratio: 16 / 7; }
  .moment__time { margin-top: 16px; }
  .moment__desc { font-size: 17px; }
  .rail { height: 72px; }
}

/* ---------- ATTIRE ---------- */
.attire { padding: 150px 0 140px; }
.attire__grid { width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(48px, 9vw, 130px); align-items: center; }
.attire__copy .h2 { margin-bottom: 30px; }
.attire__label { font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--champ-d); margin-bottom: 8px; }
.attire__text { color: var(--muted); max-width: 380px; margin-bottom: 36px; font-size: 21px; }
.attire__list { list-style: none; }
.attire__item { display: grid; grid-template-columns: 64px 1fr; padding: 38px 0 40px; border-top: 1px solid var(--line); transition: border-color .9s var(--ease), opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease); }
.attire__item:last-child { border-bottom: 1px solid var(--line); }
.attire__item.is-active { border-top-color: var(--champ-d); }
.attire__n, .attire__item > div { opacity: .36; transition: opacity .9s var(--ease); }
.attire__item.is-active .attire__n, .attire__item.is-active > div { opacity: 1; }
.attire__n { font-size: 17px; letter-spacing: .14em; color: var(--champ-d); padding-top: 14px; font-variant-numeric: tabular-nums; }
.attire__item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.7vw, 54px); line-height: 1.04; }
.attire__item p { color: var(--muted); font-size: 21px; margin-top: 12px; max-width: 440px; }

/* ---------- DETAILS ---------- */
.details { background: var(--ivory); padding: 150px 0 140px; }
.venue { width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.venue__core { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 600px; }
.venue__map { position: relative; overflow: hidden; background: var(--cream-2); }
.venue__map iframe { position: absolute; inset: -180px; width: calc(100% + 360px); height: calc(100% + 360px); border: 0; pointer-events: none; filter: grayscale(1) sepia(.32) saturate(.85) contrast(.92) brightness(1.03); transform: scale(1.06); transition: transform 2.4s var(--ease); }
.venue.is-in .venue__map iframe { transform: scale(1); }
.venue__map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 70% at 50% 50%, transparent 55%, rgba(61, 52, 45, .22)), linear-gradient(90deg, transparent 80%, rgba(71, 56, 44, .25)); }
.venue__map-link { position: absolute; inset: 0; z-index: 2; cursor: zoom-in; }
.venue__chip { position: absolute; z-index: 3; left: 22px; bottom: 22px; padding: 10px 16px; border-radius: 999px; background: rgba(247, 243, 235, .92); font-weight: 700; font-size: 11px; letter-spacing: .2em; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(61, 52, 45, .4); pointer-events: none; }
.venue__info { position: relative; padding: 64px 60px 56px; color: var(--ivory); background: radial-gradient(90% 70% at 100% 0%, #7d6553, var(--brown-d) 55%, var(--espresso)); display: flex; flex-direction: column; }
.venue__name { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 3.6vw, 52px); line-height: 1.04; margin: 16px 0 14px; }
.venue__addr { font-style: normal; font-size: 22px; line-height: 1.45; color: var(--ivory); }
.venue__desc { margin-top: 18px; font-size: 19px; color: rgba(247, 243, 235, .82); }
.rows { margin-top: 26px; }
.rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.rows dt { font-style: italic; font-size: 18px; color: var(--champ-d); }
.rows dd { font-family: var(--display); font-size: 22px; text-align: right; }
.rows--light div { border-top-color: var(--line-l); }
.rows--light dt { color: var(--champ-l); }
.venue__note { margin-top: 14px; font-style: italic; font-size: 17px; color: rgba(247, 243, 235, .7); }
.venue__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 34px; }
.facts { width: min(1180px, 100% - 2 * var(--gutter)); margin: 22px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact .core { height: 100%; padding: 28px 30px 30px; }
.fact__title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.08; margin: 0 0 10px; }
.fact p { font-size: 18px; line-height: 1.5; color: var(--muted); }
.facts .fact:nth-child(2) { transition-delay: .12s; }
.facts .fact:nth-child(3) { transition-delay: .24s; }

/* ---------- STAY ---------- */
.stay { padding: 40px 0 140px; }
.stack__stage { width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.stack__card { display: flex; flex-direction: column; opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.stack__card > .stay__core { flex: 1; }
.stack__card.is-in { opacity: 1; transform: none; }
.stay__text .pill.is-soon { color: var(--champ-d); cursor: default; text-align: center; white-space: nowrap; }
.stay__text .pill.is-soon:hover { transform: none; }
.stay__core { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; padding: 18px; }
.stay__text { display: flex; flex-direction: column; padding: 46px 48px 40px 40px; }
.stay__kicker { font-weight: 700; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--champ-d); }
.stay__name { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4vw, 58px); line-height: 1.02; margin: 16px 0 18px; }
.stay__desc { font-size: 20px; color: var(--muted); max-width: 420px; }
.stay__text .rows { margin: 30px 0 38px; }
.stay__text .rows div:last-child { border-bottom: 1px solid var(--line); }
.stay__text .pill { align-self: flex-start; margin-top: auto; }
.stay__img { margin: 0; position: relative; border-radius: 6px; overflow: hidden; min-height: 560px; background: var(--cream-2); }
.stay__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.6s var(--ease); }
.stay__card.is-in .stay__img img { transform: scale(1); }

/* ---------- RSVP ---------- */
.rsvp { padding: 140px 0; }
.rsvp__card { width: min(1140px, 100% - 2 * var(--gutter)); margin: 60px auto 0; display: grid; grid-template-columns: 1fr 1.15fr; background: var(--paper); border-radius: 12px; overflow: hidden; min-height: 640px; box-shadow: 0 50px 100px -60px rgba(61, 52, 45, .55); }
.rsvp__art { position: relative; overflow: hidden; background: var(--espresso); }
.rsvp__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transform: scale(1.08); transition: transform 2.6s var(--ease); }
.rsvp__card.is-in .rsvp__art img { transform: scale(1); }
.rsvp__art::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(247, 243, 235, .45); border-radius: 4px; pointer-events: none; }
.rsvp__form { padding: 36px 56px 48px; display: flex; flex-direction: column; }
.rsvp__head { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--champ-d); }
.rsvp__bar { height: 1px; background: var(--line); margin: 16px 0 38px; }
.rsvp__bar i { display: block; height: 1px; width: 33.3%; background: var(--ink); transition: width .8s var(--ease); }
/* Los pasos comparten la misma celda: la tarjeta tiene siempre el alto del paso más largo y no salta al continuar */
.steps { display: grid; flex: 1; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; grid-area: 1 / 1; display: flex; flex-direction: column; visibility: hidden; opacity: 0; pointer-events: none; }
.step.is-active { visibility: visible; opacity: 1; pointer-events: auto; animation: stepIn .8s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); filter: blur(4px); } }
.step__title { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.08; }
.step__lede { color: var(--muted); margin: 12px 0 30px; }
.step__fine { font-style: italic; color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.step__nav { margin-top: auto; padding-top: 34px; display: flex; justify-content: space-between; gap: 12px; }
.step--done { align-items: flex-start; }
.step--done [hidden] { display: none; }
.recap { list-style: none; width: 100%; margin: 0 0 26px; }
.recap li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.recap li:last-child { border-bottom: 1px solid var(--line); }
.recap__name { font-family: var(--display); font-size: 26px; line-height: 1.15; }
.recap__ans { font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--champ-d); text-align: right; }
.recap__ans.none { font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 17px; color: var(--muted); }
.people { display: grid; }
.person { display: flex; flex-direction: column; gap: 16px; padding: 26px 0 28px; border-top: 1px solid var(--line); }
.person:last-child { border-bottom: 1px solid var(--line); }
.person__name { font-family: var(--display); font-size: 32px; line-height: 1.1; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.seg label { cursor: pointer; display: block; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 16px; text-align: center; border: 1px solid rgba(138, 115, 93, .55); border-radius: var(--r-core); font-weight: 700; font-size: 12px; line-height: 1.35; letter-spacing: .18em; text-transform: uppercase; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.seg span::before { content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1px solid currentColor; transition: background .4s var(--ease); }
.seg label:hover span { border-color: var(--ink); }
.seg label:active span { transform: scale(.985); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.seg input:checked + span::before { background: radial-gradient(circle, currentColor 0 38%, transparent 44%); }
.seg input:focus-visible + span { outline: 2px solid var(--champ-d); outline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips span { display: block; padding: 9px 18px; border: 1px solid var(--champ-d); border-radius: 999px; font-style: italic; transition: background .4s var(--ease), color .4s var(--ease); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.field { width: 100%; margin-top: 18px; font: inherit; font-style: italic; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; resize: vertical; transition: border-color .4s var(--ease); }
.field:focus { outline: none; border-color: var(--champ-d); }
/* Acompañantes (+1) del Shabbat: solo un número, sin nombres */
.plus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 18px; padding: 20px 0; margin-bottom: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plus[hidden] { display: none; }
.plus__txt { display: flex; flex-direction: column; gap: 4px; }
.plus__label { font-family: var(--display); font-size: 26px; line-height: 1.15; }
.plus__hint { font-style: italic; color: var(--muted); font-size: 16px; }
.stepper { display: flex; align-items: center; gap: 6px; flex: none; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(138, 115, 93, .55); background: transparent; color: var(--ink); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; transition: border-color .4s var(--ease), background .4s var(--ease), color .4s var(--ease); }
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:active:not(:disabled) { background: var(--ink); color: var(--ivory); }
.stepper button:focus-visible { outline: 2px solid var(--champ-d); outline-offset: 3px; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 44px; text-align: center; font-family: var(--display); font-size: 34px; line-height: 1; }
.is-error { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- REGISTRY ---------- */
.registry { padding: 0 var(--gutter) 140px; }
.registry__panel { position: relative; max-width: 1200px; margin: 0 auto; background: radial-gradient(80% 90% at 50% 0%, #7d6553, var(--brown-d) 60%, var(--espresso)); color: var(--ivory); border-radius: 6px; text-align: center; padding: 90px 40px 96px; }
.registry__frame { position: absolute; inset: 16px; border: 1px solid rgba(247, 243, 235, .25); pointer-events: none; }
.registry__title { font-size: clamp(96px, 11vw, 150px); line-height: 1.15; margin: 34px 0 10px; }
.registry__panel p:not(.eyebrow) { max-width: 560px; margin: 0 auto 40px; opacity: .9; }
.registry__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.registry__btns .pill { min-width: 260px; }

/* ---------- FOOTER ---------- */
.foot { background: radial-gradient(70% 90% at 50% 0%, #4a3f36, var(--ink) 70%); color: var(--ivory); text-align: center; padding: 90px 24px 70px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.foot__seal { width: 60px; }
.foot__sign { font-size: clamp(52px, 6vw, 76px); }
.foot__line { font-style: italic; opacity: .85; }

/* Hoteles fijos: el bloque completo (título + tarjeta) queda centrado en la pantalla y la segunda tarjeta sube y tapa a la primera */
@media (min-width: 1001px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  .stay { padding: 0 0 60px; }
  .stack { position: relative; height: 250vh; }
  .stack__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; overflow: clip; }
  .stack__head { margin: 0 auto clamp(20px, 3.4vh, 32px); }
  .stack__head .eyebrow { font-size: 12px; }
  .stack__head .h2 { font-size: clamp(34px, 5.4vh, 54px); margin: 8px 0 6px; }
  .stack__head .lede { font-size: 19px; }
  .stack__stage { display: grid; }
  .stack__card { grid-area: 1 / 1; transition: none; will-change: transform, opacity; }
  .stack__card:nth-child(1) { transform: translate3d(0, calc(var(--t, 0) * -14px), 0) scale(calc(1 - var(--t, 0) * .05)); opacity: calc(1 - var(--t, 0) * .55); }
  .stack__card:nth-child(2) { transform: translate3d(0, calc((1 - var(--t, 0)) * 100vh), 0); opacity: 1; }
  .stack .stay__text { padding: clamp(24px, 4vh, 36px) 44px clamp(22px, 3.6vh, 32px) 38px; }
  .stack .stay__name { font-size: clamp(30px, 4.6vh, 46px); margin: 10px 0 12px; }
  .stack .stay__desc { font-size: 18px; }
  .stack .stay__text .rows { margin: clamp(14px, 2.2vh, 20px) 0 clamp(16px, 2.8vh, 26px); }
  .stack .rows div { padding: clamp(8px, 1.2vh, 11px) 0; }
  .stack .rows dd { font-size: 19px; }
  .stack .stay__img { min-height: 0; }
  @media (max-height: 860px) { .stack__head .lede { display: none; } .stack__head { margin-bottom: 22px; } }
}

/* Invitados también a Shabbat Sheva Brachot (18 y 19 dic): bloque extra bajo la introducción */
.sheva { max-width: 640px; margin: 52px auto 0; padding: 34px 20px 32px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sheva__title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; margin: 12px 0 10px; }
.sheva__when { font-style: italic; font-size: 22px; color: var(--ink); }
.sheva__note { margin-top: 8px; font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--champ-d); }
.lede--sheva { max-width: 560px; margin: 16px auto 0; }

/* Sin enlace personal: se esconde todo lo que necesita un invitado (saludo, RSVP y sus botones) */
.is-neutral [data-needs-guest] { display: none !important; }
.is-neutral .invite__intro { margin-top: 26px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .is-neutral .nav { display: none; }
  .nav__pill a:not(.nav__rsvp) { display: none; }
  .nav__pill { padding: 4px; }
  .nav__pill a.nav__rsvp { margin-left: 0; }
  .journey { height: 320vh; }
  .journey__viewport { overflow: visible; }
  .journey__track { display: flex; gap: 14px; }
  .moment { flex: 0 0 min(78vw, 420px); }
  .attire { padding: 96px 0 90px; }
  .attire__grid { grid-template-columns: 1fr; gap: 44px; }
  .attire__copy { text-align: center; }
  .attire__copy .h2 { text-align: center; }
  .attire__text { margin: 0 auto 30px; font-size: 19px; }
  .attire__item { grid-template-columns: 44px 1fr; padding: 28px 0 30px; }
  .venue__core { grid-template-columns: 1fr; min-height: 0; }
  .venue__map { min-height: 340px; }
  .facts { grid-template-columns: 1fr; }
  .stay__core { grid-template-columns: 1fr; }
  .stay__img { order: -1; min-height: 300px; }
  .rsvp__card { grid-template-columns: 1fr; }
  .rsvp__art { min-height: 460px; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .nav { top: 14px; }
  .hero { margin: 10px 10px 0; }
  .hero__frame { inset: 12px; }
  .hero__seal { top: 30px; left: 30px; width: 40px; }
  .hero__bsd { top: 32px; right: 30px; font-size: 14px; }
  .hero__script { font-size: calc(46px * var(--script-k, 1)); }
  .hero__script--he { font-size: 25px; line-height: 1.6; }
  .hero__names { letter-spacing: .1em; }
  .hero__names .amp { display: block; margin: 6px 0; }
  .hero__date { letter-spacing: .3em; }
  .invite__dear { font-size: 46px; }
  .families__joy { font-size: 11px; letter-spacing: .22em; }
  .families__parents { margin-top: 40px; }
  .families__text { margin-top: 36px; }
    .families__parent { font-size: 20px; }
  .families__with { font-size: 18px; margin: 10px 0; }
  .families__text { font-size: 18px; }
  .families__couple { margin-top: 34px; }
  .families__name { font-size: 64px; }
  .families__he { font-size: 24px; }
  .families__and { font-size: 19px; margin: 14px 0 8px; }
  .br-d { display: none; }
  .invite, .details, .rsvp { padding: 96px 0; }
  .stay { padding: 20px 0 96px; }
  .sec-head { margin-bottom: 40px; }
  .sheva { margin-top: 40px; padding: 28px 12px 26px; }
  .sheva__when { font-size: 19px; }
  .lede { font-size: 19px; }
  .countdown__num { font-size: 42px; }
  .countdown__unit { font-size: 10px; letter-spacing: .16em; }
  .countdown__title { font-size: 11px; letter-spacing: .22em; }
  .journey__pin { gap: 22px; padding-top: 70px; }
  .moment { padding: 10px 10px 22px; }
  .moment__title { font-size: 27px; }
  .moment__desc { font-size: 17px; }
  .rail__stop span { font-size: 10px; letter-spacing: .14em; }
  .venue__info { padding: 40px 26px 34px; }
  .venue__addr { font-size: 20px; }
  .rows dd { font-size: 19px; }
  .fact .core { padding: 24px 24px 26px; }
  .stay__core { padding: 10px; }
  .stay__text { padding: 30px 18px 22px; }
  .stay__img { min-height: 240px; }
  .attire__item h3 { font-size: 32px; }
  .stay__text .pill.is-soon { padding: 17px 20px; letter-spacing: .14em; font-size: 12px; align-self: stretch; }
  .attire__item p { font-size: 18px; }
  .rsvp__art { min-height: 420px; }
  .rsvp__art::after { inset: 12px; }
  .rsvp__form { padding: 34px 22px 30px; }
  .person__name { font-size: 28px; }
  .seg { gap: 10px; }
  .seg span { flex-direction: column; gap: 8px; min-height: 76px; padding: 12px 8px; font-size: 10px; letter-spacing: .14em; }
  .step__nav .pill { padding: 17px 22px; }
  .registry { padding-bottom: 96px; }
  .registry__panel { padding: 70px 22px 76px; }
  .registry__btns .pill { min-width: 0; width: 100%; }
  .pill { padding: 17px 26px; letter-spacing: .2em; }
  .pill--icon { padding: 6px 6px 6px 24px; }
  .rows div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .rows dd { text-align: left; }
}

/* ---------- SHABBAT WEEKEND (página /weekend y aviso en el sitio de la boda) ---------- */
.hero--short { min-height: max(82svh, 640px); }
.hero--short .hero__content { padding: 150px 24px 110px; }
.weekend-page .invite { padding: 110px 0 100px; }
.weekend-page .invite__intro { margin-top: 6px; }
.sched { background: var(--ivory); padding: 40px 0 130px; }
.wk-days { width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.wk-day__core { height: 100%; padding: 40px 44px 38px; display: flex; flex-direction: column; }
.wk-day__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4vw, 56px); line-height: 1.04; margin: 10px 0 8px; }
.wk-day .rows { margin: 18px 0 0; }
.wk-day .rows div:last-child { border-bottom: 1px solid var(--line); }
.wk-day__place { margin-top: auto; padding-top: 22px; font-style: italic; font-size: 17px; line-height: 1.55; color: var(--muted); }
.weekend-page .details { padding: 0 0 130px; }
.weekend-page .venue__ctas .pill { white-space: nowrap; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--champ-d); color: var(--ink); transition: color .4s var(--ease); }
.link:hover { color: var(--champ-d); }
.week__back { margin-top: 34px; font-style: italic; font-size: 18px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.done__actions [hidden] { display: none; }
.step__fine .link { font-style: normal; }
.sheva .pill { margin-top: 26px; }
.sheva__sub { margin-top: 8px; font-style: italic; color: var(--muted); font-size: 18px; }
@media (max-width: 1000px) {
  .wk-days { grid-template-columns: 1fr; }
  .weekend-page .details { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .hero--short { min-height: max(86svh, 600px); }
  .hero--short .hero__content { padding: 120px 20px 90px; }
  .weekend-page .invite { padding: 80px 0 72px; }
  .sched { padding: 20px 0 96px; }
  .wk-day__core { padding: 28px 22px 26px; }
  .wk-day__place { font-size: 16px; }
  .weekend-page .venue__ctas .pill { width: 100%; }
}

/* ---- Shabbat Weekend: segunda tanda de ajustes ---- */
/* Hero propio: calas junto a la ventana al atardecer (la boda usa la escalera de mármol) */
.hero__photo--weekend { background: url(assets/img/stay.jpg) 68% 42% / cover no-repeat; }
.hero--short .hero__veil { background: radial-gradient(80% 60% at 50% 45%, rgba(48, 34, 22, .42), rgba(48, 34, 22, .68)), linear-gradient(180deg, rgba(48, 34, 22, .3), rgba(48, 34, 22, .5)); }
/* Panel del RSVP: encaje con sello, distinto al de la boda */
.rsvp__art--weekend { background: linear-gradient(180deg, rgba(71, 56, 44, .9), rgba(71, 56, 44, .96)), url(assets/img/calla-lace.jpg) center / 760px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--ivory); padding: 40px 24px; gap: 6px; }
.rsvp__art--weekend .rsvp__seal { position: static; width: 92px; height: auto; margin-bottom: 26px; object-fit: contain; transform: none; opacity: .95; }
.rsvp__card.is-in .rsvp__art--weekend .rsvp__seal { transform: none; }
.rsvp__cap { font-family: var(--display); font-size: clamp(34px, 3.2vw, 46px); line-height: 1.05; }
.rsvp__cap-date { font-weight: 600; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--champ-l); margin-top: 14px; }
.rsvp__cap-place { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
/* Fecha de cada día con más peso */
.wk-day__date { font-weight: 700; font-size: 19px; letter-spacing: .3em; text-transform: uppercase; color: var(--brown); display: flex; align-items: center; gap: 16px; }
.wk-day__date::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wk-day__title { font-size: clamp(52px, 5.2vw, 76px); margin: 14px 0 10px; }
/* Casas con 3 o más personas: botones más chicos, 4 en fila, y una fila "Everyone" para marcar a todos de una vez */
.people--many .person { gap: 10px; padding: 16px 0 18px; }
.people--many .person__name { font-size: 25px; }
.people--many .seg { grid-template-columns: 1fr 1fr; gap: 8px; }
.people--many .seg span { min-height: 48px; padding: 8px 10px; font-size: 11px; letter-spacing: .14em; }
.people--many .seg span::before { width: 11px; height: 11px; }
.person--all { background: rgba(138, 115, 93, .08); border-top: 0; padding: 16px 14px 18px; border-radius: var(--r-core); margin-bottom: 10px; }
.person--all:last-child { border-bottom: 0; }
.seg--all { grid-template-columns: 1fr 1fr; gap: 8px; }
.seg--all button { min-height: 44px; padding: 8px 10px; text-align: center; border: 1px solid rgba(138, 115, 93, .55); border-radius: var(--r-core); font-weight: 700; font-size: 11px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; background: var(--paper); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.seg--all button:hover { border-color: var(--ink); }
.seg--all button.is-on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
@media (max-width: 600px) {
  .hero__photo--weekend { background-position: 16% 42%; }
  .rsvp__art--weekend { min-height: 300px; }
  .rsvp__art--weekend .rsvp__seal { width: 70px; margin-bottom: 18px; }
  .wk-day__date { font-size: 16px; }
  .wk-day__title { font-size: 48px; }
  .people--many .seg span { flex-direction: row; gap: 8px; min-height: 44px; font-size: 10px; letter-spacing: .12em; }
  .seg--all button { min-height: 40px; }
}
