@font-face {
  font-family: InvitationDisplay;
  src: url('/assets/invitacion/playfair.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: InvitationText;
  src: url('/assets/invitacion/minion.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: InvitationButton;
  src: url('/assets/invitacion/montserrat.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #36392f;
  --olive: #535b4c;
  --button: #78826f;
  --rule: #b9beaf;
  background: #eeede8;
  color: var(--ink);
  font-family: InvitationText, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: .2em; }
a, button { -webkit-tap-highlight-color: #78826f33; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px; z-index: 5; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.invitation { width: min(100%, 760px); margin-inline: auto; background: var(--paper); text-align: center; overflow: clip; }
.cover { position: relative; }
.cover-art { width: 100%; }
.cover-address { position: absolute; top: 66.7%; left: 25.5%; width: 51%; height: 10%; }
.section-title { font: 400 clamp(27px, 5.7vw, 40px)/1.25 InvitationDisplay, Georgia, serif; letter-spacing: .035em; text-transform: uppercase; color: var(--olive); margin: 0; text-wrap: balance; }
p { font-size: clamp(20px, 3.9vw, 26px); line-height: 1.48; margin: 0; }
.directions { padding: 25px clamp(24px, 6.5vw, 65px) 0; }
.directions .section-title { margin-bottom: 34px; }
.map-link { display: block; }
.map { width: 100%; }
.map-action { padding-block: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 62px; width: 240px; max-width: 100%; padding: 16px 12px; background: var(--button); color: var(--paper); text-decoration: none; font: 400 12px/1.5 InvitationButton, Arial, sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.button:hover { background: #68725f; }
.button:active { background: #5b6552; }
.party { position: relative; isolation: isolate; min-height: 480px; padding: 76px 35px 170px; display: flex; align-items: flex-start; }
.party-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; opacity: .64; z-index: -1; mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 84%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 84%, transparent); }
.party-card { display: grid; grid-template-columns: 46px 1fr; align-items: start; gap: 22px; text-align: left; width: 100%; padding: 28px 26px; background: #f8f7f3ed; border: 1px solid #bec4b5; outline: 8px solid #f8f7f3ed; }
.party-copy .section-title { font-size: clamp(23px, 4.8vw, 35px); letter-spacing: .025em; margin-bottom: 14px; text-wrap: balance; }
.party-copy p { font-size: clamp(18px, 3.6vw, 23px); line-height: 1.5; }
.glasses { width: 46px; margin-top: 5px; }
.party-copy .dress-code { font-size: clamp(17px, 3.2vw, 20px); color: var(--olive); margin-top: 18px; }
.playlist-section { padding: 36px 28px 48px; }
.playlist-title { font: 400 clamp(27px, 4.6vw, 34px)/1.3 InvitationDisplay, Georgia, serif; color: var(--olive); margin: 0 0 22px; }
.playlist-title span { font-size: .8em; margin-left: .12em; }
.playlist-section p { font-size: clamp(20px, 3.6vw, 24px); }
.playlist-section p + p { margin-top: 6px; }
.text-link { display: inline-block; padding: 7px 2px; font-family: Georgia, serif; font-size: .95em; font-style: italic; white-space: nowrap; }
.external-icon { width: .65em; height: .65em; margin-left: .1em; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ruled-section { margin-inline: clamp(24px, 6.5vw, 55px); border-top: 1px solid var(--rule); }
.confirmation { padding: 48px 0 54px; }
.confirmation .section-title { margin-bottom: 28px; }
.confirmation p { margin-bottom: 28px; }
.gifts { padding: 45px 0 12px; }
.gift-message { margin-top: 38px; }
.gift-details { margin-top: 30px; }
.alias-label { font-size: 19px; color: var(--olive); margin-bottom: 5px; }
.alias-row { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; }
.alias { font-size: 23px; font-weight: 400; user-select: all; -webkit-user-select: all; }
.copy-alias { display: inline-grid; place-items: center; min-height: 44px; padding: 6px; border: 0; background: transparent; color: var(--olive); font-family: Georgia, serif; font-size: 13px; cursor: pointer; }
.copy-default { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; }
.copy-alias:hover .copy-default { text-decoration: underline; text-underline-offset: 3px; }
.copy-icon, .copy-check { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.copy-check { grid-area: 1 / 1; width: 20px; height: 20px; visibility: hidden; }
.copy-alias[data-copied] .copy-default { visibility: hidden; }
.copy-alias[data-copied] .copy-check { visibility: visible; }
.copy-status:not(.sr-only) { margin-top: 6px; font-size: 16px; line-height: 1.4; color: var(--olive); }
.signature { font: italic 400 29px/1.4 Georgia, 'Times New Roman', serif; color: var(--olive); margin-top: 26px; }
.footer { padding-top: 22px; }
.footer-art { position: relative; height: clamp(100px, 18vw, 154px); margin-top: 10px; background: url('/assets/invitacion/hojas.webp') center bottom / 100% auto no-repeat; }
.emita { position: absolute; left: 16%; bottom: 17%; width: clamp(36px, 7vw, 53px); opacity: .5; transform: rotate(-5deg); }
[hidden] { display: none !important; }
@media (max-width: 480px) {
  .directions { padding-top: 20px; }
  .directions .section-title { margin-bottom: 25px; }
  .map-action { padding-block: 28px; }
  .button { width: 212px; min-height: 57px; font-size: 11px; }
  .party { min-height: 370px; padding: 62px 25px 112px; }
  .party-card { grid-template-columns: 29px 1fr; gap: 12px; padding: 20px 14px; outline-width: 6px; }
  .glasses { width: 29px; }
  .party-copy .section-title { font-size: 22px; }
  .party-copy p { font-size: 18px; }
  .party-copy .dress-code { font-size: 17px; margin-top: 13px; }
  .playlist-section { padding: 28px 24px 38px; }
  .desktop-break { display: none; }
  .confirmation { padding-block: 38px 44px; }
  .gifts { padding-top: 36px; }
  .gift-message { margin-top: 28px; }
  .gift-details { margin-top: 25px; }
  .alias { font-size: 21px; }
  .signature { font-size: 27px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media print {
  :root { background: var(--paper); }
  .invitation { width: 100%; }
  .copy-alias, .copy-status, .skip-link { display: none; }
  .party, .confirmation, .gifts { break-inside: avoid; }
}
