@font-face { font-family: Minion; src: url('./assets/web/minion-regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Minion; src: url('./assets/web/minion-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
:root { --paper: #faf9ec; --olive: #5e7059; --ink: #65705c; }
[hidden] { display: none !important; }
.invitation-content {
  width: min(100%, var(--desktop-invitation-width));
  margin: 0 auto;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper) url('./assets/web/papel.webp') top center / 100% auto repeat-y;
  font-family: Minion, Georgia, serif;
  font-size: calc(min(100vw, 430px) / 390);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.page-section { position: relative; height: var(--section-height); }
.invitation-content[data-variant="civil"] #boda { height: calc(var(--section-height) - 36em); }
.art, .placed { position: absolute; display: block; margin: 0; }
.art { height: auto; max-width: none; }
img.art { pointer-events: none; user-select: none; }
.art-control { color: inherit; cursor: pointer; -webkit-tap-highlight-color: #5e705925; }
button.art-control { font: inherit; padding: 0; border: 0; background: none; }
.art-control img { display: block; width: 100%; height: auto; }
.art-control::after { content: ''; position: absolute; inset: -7em -2em; }
.art-control:focus-visible { outline: 2px solid #9d762d; outline-offset: 4px; }
.invitation-video { object-fit: cover; background: #252923; }
.ticket-copy { text-align: center; font-size: 9em; line-height: 1.13; font-weight: 700; }
.guest-count { display: block; font-size: 3em; line-height: 1; padding: .08em 0; }
.ticket-copy small { display: block; margin-top: .6em; font-size: .75em; }
.address-copy { margin: 0; text-align: center; font-size: 12em; line-height: 1.3; }
.hotel-rate-copy { margin: 0; text-align: center; font-size: 12em; line-height: 1.24; }
.countdown { display: flex; align-items: flex-start; justify-content: space-between; gap: 6em; color: #d0cbb5; text-align: center; }
.countdown span { min-width: 34em; }
.countdown b { display: block; font-size: 24em; font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { display: block; font-size: 12em; letter-spacing: .04em; line-height: 1.1; }
.countdown i { font-size: 22em; font-style: normal; line-height: 1; }
html.is-rsvp-open, html.is-rsvp-open body { overflow: hidden; }
.rsvp-modal {
  width: min(calc(100vw - 32px), 358px);
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: Minion, Georgia, serif;
  font-size: calc(min(calc(100vw - 32px), 358px) / 325);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.rsvp-modal::backdrop { background: #27302480; }
.rsvp-close {
  position: sticky;
  top: 8px;
  float: right;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 8px 8px -52px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f8f5f0;
  color: var(--olive);
  font: 28px/1 Georgia, serif;
  cursor: pointer;
}
.rsvp-close:focus-visible { outline: 2px solid #9d762d; outline-offset: -4px; }
.rsvp-card {
  margin: 0;
  min-height: 450em;
  padding: 58em 25em 28em;
  background: url('./assets/web/95fondo.webp') center / 100% 100% no-repeat;
  text-align: center;
}
.rsvp-card h2 { margin: 0 0 14px; font-size: 14em; line-height: 1.25; font-weight: 700; white-space: nowrap; }
.rsvp-count { font-size: 13em; font-weight: 700; line-height: 1.35; margin: 0 0 .9em; }
.rsvp-count strong { font-size: 1.25em; }
.rsvp-card > label, .rsvp-card legend { display: block; font-size: 13em; font-weight: 700; line-height: 1.3; padding: 0; margin: 0 0 .35em; }
.rsvp-card select, .rsvp-card textarea, .attendee-option { font-family: inherit; color: var(--olive); background: #f8f5f0; border: 1px solid var(--olive); border-radius: 0; }
.rsvp-card select { display: block; font-size: max(16px, 13em); line-height: 1.3; padding: .22em 1.3em .22em .6em; margin: 0 auto 1em; max-width: 100%; }
.rsvp-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rsvp-card legend { width: 100%; }
.attendee-option { display: flex; align-items: center; justify-content: center; gap: .45em; width: fit-content; min-width: 75%; max-width: 100%; margin: 0 auto .4em; padding: .32em .45em; font-size: 13em; font-weight: 700; line-height: 1.1; cursor: pointer; }
.attendee-option input { margin: 0; accent-color: var(--olive); width: 1em; height: 1em; flex-shrink: 0; }
.attendee-option span { overflow-wrap: anywhere; }
.ticket-notice { font-size: 10em; line-height: 1.3; margin: .5em -1em .8em; }
.rsvp-card textarea { resize: vertical; display: block; width: 82%; min-height: 4.4em; font-size: max(16px, 12em); line-height: 1.3; padding: .4em; margin: 0 auto .4em; }
.send-rsvp { display: block; font: inherit; background: none; border: 0; padding: 0; width: 113.3em; margin: 6em auto 0; cursor: pointer; }
.send-rsvp img { display: block; width: 100%; height: auto; }
.send-rsvp:disabled { opacity: .65; cursor: wait; }
.rsvp-card :is(select, textarea, input, button):focus-visible { outline: 2px solid #9d762d; outline-offset: 3px; }
#rsvp-status { font-size: 11em; line-height: 1.3; margin: 1em 0; }
.adults-only { font-size: 13em; margin: 1.8em 0 0; text-align: right; }
.link-notice { width: min(88vw, 360px); padding: 26px; color: var(--olive); background: #faf8ee; border: 1px solid var(--olive); font: 18px/1.35 Minion, Georgia, serif; }
.link-notice::backdrop { background: #27302466; }
.link-notice h2 { margin: 0 0 .5em; font-size: 1.3em; }
.link-notice p { margin: 0 0 1em; }
.link-notice button { font: inherit; background: var(--olive); color: #faf8ee; border: 0; padding: .4em 1.1em; cursor: pointer; }
