/* ---------- Portada ---------- */
.sheet > .hero { padding: 0 0 2em; }
.hero__head { position: relative; width: 100%; max-width: none; margin: 0 auto calc(-35cqw + .45em); aspect-ratio: 791.25 / 1118.25; overflow: visible; }
.flora--arch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: .98; filter: drop-shadow(0 8px 14px rgba(41, 75, 57, .12)); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.22) 48%, transparent 53%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.22) 48%, transparent 53%, transparent 100%); }
.hero__title { position: absolute; left: 14%; right: 14%; top: 50%; z-index: 1; font-size: 15cqw; color: var(--ink); line-height: .88; text-align: center; animation: rise 1.1s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero__crown { width: 36%; margin: .25em auto 0; }
.hero__name { font-size: 15cqw; margin: .1em 0 .3em; }
.arch { width: 60%; margin: 1em auto 2.6em; aspect-ratio: 3 / 4; border: 2px solid var(--gold); border-radius: 999px 999px 4px 4px; padding: .5em; background: var(--paper); }
.arch img { height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
.quote { max-width: 27em; margin: 0 auto; padding: 0 var(--gutter); font-size: .78em; }

/* ---------- Reproductor ---------- */
.player__label { letter-spacing: .32em; font-size: .85em; }
.player__ui { width: 80%; margin: 1.2em auto 0; }
#seek { width: 100%; height: 14px; appearance: none; background: transparent; cursor: pointer; }
#seek::-webkit-slider-runnable-track { height: 2px; background: var(--gold); opacity: .6; }
#seek::-moz-range-track { height: 2px; background: var(--gold); opacity: .6; }
#seek::-webkit-slider-thumb { appearance: none; width: 9px; height: 9px; margin-top: -3.5px; border-radius: 50%; background: var(--gold); }
#seek::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--gold); }
.player__controls { display: flex; justify-content: space-between; align-items: center; margin-top: .6em; }
.player__controls button { background: none; border: 0; color: var(--gold); cursor: pointer; padding: .3em; opacity: .85; }
.player__controls button.is-on { opacity: 1; color: var(--ink); }
.player__controls .play { width: 3.2em; height: 3.2em; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; opacity: 1; }
.play .i-pause, .play.is-playing .i-play { display: none; }
.play.is-playing .i-pause { display: block; }

/* ---------- Familia ---------- */
.family .names { font-family: var(--font-script); font-weight: 400; font-size: 2.6em; line-height: 1.05; margin: .3em 0 1em; }
.family__label { margin-top: 1.4em; }
.family__big { font-size: 2.2em; letter-spacing: .12em; color: var(--ink); }

/* ---------- Fecha ---------- */
.date { padding-bottom: 1em !important; }
.date__month { font-size: 3.2em; color: var(--ink); }
.datebar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1em; margin-top: .2em; }
.datebar > .caps { border-block: 1px solid var(--gold); padding: .3em 0; }
.datebar__day { font-size: 6.5em; line-height: .8; }

/* ---------- Cuenta regresiva ---------- */
.countdown__title { font-size: 2.6em; }
.countdown__grid { display: flex; justify-content: center; align-items: flex-start; }
.countdown__grid div { display: flex; flex-direction: column; align-items: center; min-width: 4.2em; }
.countdown__grid div + div b::before { content: ":"; margin-right: .2em; color: var(--ink); }
.countdown b { font-size: 3.6em; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .7em; color: var(--muted); letter-spacing: .06em; }

/* ---------- Calendario ---------- */
.month__title { font-size: 2.8em; }
.month__name { font-size: 2em; color: var(--ink); margin-bottom: .6em; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5em 0; max-width: 24em; margin: 0 auto; font-size: .85em; }
.cal span { display: grid; place-items: center; height: 2.4em; position: relative; }
.cal .dow { font-size: .8em; letter-spacing: .06em; color: var(--ink); }
.cal .is-day { color: var(--gold); font-weight: 700; }
.cal .is-day svg { position: absolute; inset: -.2em; margin: auto; width: 2.8em; height: 2.8em; fill: none; stroke: var(--gold); stroke-width: 1.4; }

/* ---------- Eventos ---------- */
.events__list { display: grid; gap: 3.4em; }
.event .ico { margin-bottom: .2em; }
.event__title { font-family: var(--font-script); font-weight: 400; color: var(--gold); font-size: 2.6em; line-height: 1.1; }
.event__time { font-size: 1.05em; margin-top: .6em; }
.event__place { text-transform: uppercase; letter-spacing: .05em; margin-top: .3em; }
.event__addr { font-style: italic; font-size: .8em; text-transform: uppercase; }

/* ---------- Fotos y transiciones suaves ---------- */
.torn, .photo { position: relative; isolation: isolate; overflow: hidden; margin: 0; }
.torn img, .photo img { position: relative; z-index: 0; }
.torn img { aspect-ratio: 4 / 5; object-fit: cover; }
.photo img { aspect-ratio: 4 / 4.4; object-fit: cover; }
.torn::before, .photo::before,
.torn::after, .photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  height: clamp(34px, 9cqw, 78px);
  pointer-events: none;
}
.torn::before, .photo::before { top: 0; background: linear-gradient(to bottom, var(--paper) 0%, rgba(250,247,242,.72) 30%, rgba(250,247,242,0) 100%); }
.torn::after, .photo::after { bottom: 0; background: linear-gradient(to top, var(--paper) 0%, rgba(250,247,242,.72) 30%, rgba(250,247,242,0) 100%); }
.torn--end { margin-top: -1px; }

/* ---------- Itinerario ---------- */
.timeline { list-style: none; padding: 0; margin-top: 2em; position: relative; display: grid; gap: 2.4em; }
.timeline::before { content: ""; position: absolute; left: 50%; top: .8em; bottom: .8em; width: 2px; background: var(--ink); transform: translateX(-50%); }
.tl { display: grid; grid-template-columns: 1fr 1.6em 1fr; align-items: center; text-align: left; }
.tl__dot { width: .8em; height: .8em; border-radius: 50%; background: var(--ink); justify-self: center; position: relative; z-index: 1; }
.tl__text { font-size: .8em; line-height: 1.3; padding: 0 .9em; text-transform: uppercase; letter-spacing: .05em; }
.tl__text b { display: block; font-size: 1.05em; }
.tl__icon { padding: 0 .9em; justify-self: end; }
.tl.is-flip .tl__text { text-align: right; }
.tl.is-flip .tl__icon { justify-self: start; }

/* ---------- Vestimenta / regalos / RSVP / cierre ---------- */
.dress__sub { font-size: 1.1em; margin-bottom: .6em; }
.dress__icons { display: flex; justify-content: center; gap: .6em; margin-bottom: 1em; }
.ico--fill svg { fill: currentColor; stroke: none; }
.gifts .small, .rsvp .small { margin-top: .5em; }
.rsvp__note { margin-top: 2.4em; }
.closing__title { font-size: 3.4em; margin-bottom: .5em; }
.frame { width: 50%; margin: 0 auto; aspect-ratio: 1 / 1.08; border: 2px solid var(--gold); border-radius: 1.1em; padding: .4em; overflow: hidden; }
.frame img { height: 100%; object-fit: cover; border-radius: .7em; }


