[hidden] { display: none !important; }
body.invitation-page { background: #e8e9e1; color: #123c32; }
.invitation-page::before { display: none; }
.card-toolbar, .card-gallery, .card-page-footer { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.card-toolbar { padding-block: 35px 30px; }
.card-back-link { font-size: 12px; text-decoration: none; color: #52665c; }
.card-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-top: 40px; }
.card-overline { font-size: 10px; letter-spacing: 2px; font-weight: 700; color: #7b6338; margin-bottom: 16px; }
.card-heading h1 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.02; letter-spacing: -2px; color: #133d32; }
.card-format { font-size: 12px; line-height: 1.6; white-space: nowrap; text-align: right; color: #607266; }
.card-intro { margin-top: 22px; color: #52665c; max-width: 650px; font-size: 14px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.print-help { margin-top: 18px; max-width: 800px; font-size: 12px; color: #52665c; line-height: 1.7; }
.print-help summary { cursor: pointer; width: fit-content; text-decoration: underline; text-underline-offset: 3px; }
.print-help p { margin-top: 10px; }
#cardStatus { font-size: 11px; color: #52665c; margin-top: 12px; min-height: 18px; }
.card-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding: 20px 0 58px; }
.card-side { min-width: 0; }
.face-label { display: flex; justify-content: space-between; gap: 12px; color: #5b6d60; font-size: 10px; padding-bottom: 13px; }
.face-label > span:first-child { font-weight: 700; letter-spacing: 1.8px; }
.invitation-card { width: 100%; aspect-ratio: 9 / 5; position: relative; container-type: inline-size; box-shadow: 0 18px 28px -12px #142e3240, 0 2px 3px #1d3e2820; }
.card-face { position: absolute; inset: 0; overflow: hidden; font-family: Arial, Helvetica, sans-serif; }
/* Destination: a bold wordmark composition with a vector road toward sunrise. */
.invitation-front .card-face { background: #123e34; color: #f8f1df; }
.destination-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.front-logo { position: absolute; width: 30%; height: auto; left: 7%; top: 9%; }
.front-title { position: absolute; top: 43%; left: 6.5%; margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 8.7cqw; line-height: .98; letter-spacing: -.5cqw; font-weight: 800; color: #f8f1df; }
.front-title em { color: #e5b663; font-style: normal; font-weight: 800; }
.front-message { position: absolute; top: 79%; left: 7%; margin: 0; font-size: 2.25cqw; line-height: 1.3; color: #f0ead9; }
.front-footer { position: absolute; left: 7%; width: 52%; bottom: 6%; display: flex; justify-content: space-between; align-items: center; gap: 4%; font-size: 1.7cqw; letter-spacing: .11cqw; }
.front-footer strong { font-weight: 600; color: #e5b663; }
.front-footer > span { font-size: 1.45cqw; letter-spacing: .08cqw; color: #c9d8c9; }
.invitation-back .card-face { background: #f8f1df; color: #123e34; }
.back-eyebrow { position: absolute; top: 9%; left: 7%; margin: 0; font-size: 1.95cqw; font-weight: 700; letter-spacing: .15cqw; color: #123e34; }
.back-copy { position: absolute; top: 20%; left: 7%; width: 54%; }
.back-copy h2 { font-family: Arial, Helvetica, sans-serif; font-size: 5.6cqw; font-weight: 800; letter-spacing: -.25cqw; line-height: 1.02; color: #123e34; margin: 0; }
.back-copy h2 em { font-weight: 800; font-style: normal; color: #123e34; }
.back-copy p { font-size: 2.45cqw; color: #3f5347; line-height: 1.4; margin: 5% 0 0; }
.back-benefits { list-style: none; padding: 0; margin: 6% 0 0; display: grid; gap: 1.25cqw; }
.back-benefits li { display: flex; gap: 1.5cqw; align-items: baseline; font-size: 2.35cqw; line-height: 1.25; color: #123e34; }
.back-benefits b { color: #816025; font-weight: 700; font-size: 1.9cqw; letter-spacing: .05cqw; }
.back-qr { position: absolute; width: 29%; right: 7%; top: 14%; text-align: center; color: #123e34; }
.qr-kicker { display: block; font-size: 1.95cqw; line-height: 1.3; letter-spacing: .1cqw; color: #123e34; font-weight: 700; margin-bottom: 8%; }
.qr-outline { background: white; box-shadow: 0 0 0 .8cqw #e5b663; }
.affiliation-qr { display: block; width: 100%; height: auto; background: white; }
.back-qr strong { display: block; font-size: 2.05cqw; line-height: 1.3; font-weight: 400; margin-top: 8%; color: #3f5347; }
.invitation-url { position: absolute; bottom: 5.5%; left: 7%; right: 7%; border-top: .12cqw solid #c6c4ad; padding-top: 2%; font-size: 2.15cqw; color: #123e34; text-decoration: none; letter-spacing: .03cqw; text-align: left; }
.card-page-footer { border-top: 1px solid #c7cec1; display: flex; justify-content: space-between; gap: 20px; padding-block: 22px 35px; color: #6a796c; font-size: 11px; }
@media (max-width: 850px) {
  .card-gallery { grid-template-columns: minmax(0, 1fr); max-width: 650px; gap: 38px; }
}
@media (max-width: 480px) {
  .card-toolbar, .card-gallery, .card-page-footer { width: calc(100% - 32px); }
  .card-format { display: none; }
  .card-heading { margin-top: 28px; }
  .card-heading h1 { font-size: 34px; }
  .card-actions .button { width: 100%; font-size: 12px; }
  .face-label { font-size: 9px; }
  .face-label > span:last-child { letter-spacing: 0; }
  .card-page-footer { font-size: 10px; }
}
@page card-single { size: 90mm 50mm; margin: 0; }
@page card-a4 { size: A4; margin: 12mm 13.5mm; }
@media screen { .invitation-card[data-copy] { display: none; } }
@media print {
  html, body.invitation-page { margin: 0; padding: 0; background: white !important; min-height: 0; }
  .card-toolbar, .face-label, .card-page-footer { display: none !important; }
  .card-gallery { display: block; width: auto; max-width: none; margin: 0; padding: 0; }
  .card-side { page: card-single; margin: 0; padding: 0; break-after: page; }
  .card-side:last-child { break-after: auto; }
  .print-sheet .card-side { page: card-a4; }
  .print-page { display: grid; grid-template-columns: 90mm; gap: 0; }
  .print-sheet .print-page { grid-template-columns: repeat(2, 90mm); gap: 3mm; }
  .invitation-card { width: 90mm; height: 50mm; aspect-ratio: auto; box-shadow: none; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .print-sheet .card-face { border: .1mm solid #b7bbae; }
}
