.santa-invite {
  width: min(37rem, calc(100vw - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  box-sizing: border-box;
  color: #233b35;
  background: #fff8e9;
  border: 1px solid #d5b781;
  border-radius: 1.1rem;
  box-shadow: 0 1.5rem 5rem #00141480;
  text-align: center;
}
.santa-invite::backdrop {
  background: rgb(5 21 24 / 68%);
  backdrop-filter: blur(3px);
}
.santa-invite[open] { animation: santa-arrive .3s ease-out; }
.santa-invite-art {
  display: block; width: 100%; height: clamp(9rem, 27vh, 13rem);
  object-fit: cover; object-position: 76% center;
}
.santa-invite-close {
  position: absolute; top: .65rem; right: .65rem;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  font: 1.65rem/1 system-ui; padding: 0; cursor: pointer;
  background: #12332fed; color: white; border: 1px solid #f6e1ba; border-radius: 50%;
}
.santa-invite-copy {
  position: relative; isolation: isolate;
  padding: clamp(1.6rem, 4vw, 2.15rem) clamp(1.5rem, 5vw, 3rem);
  border-top: 2px solid #c7a361;
  background: radial-gradient(ellipse at 50% 0, #fffdf6 15%, #fcf3df 90%);
}
.santa-invite-copy::before {
  content: ""; pointer-events: none; position: absolute; z-index: -1;
  inset: .5rem; border: 1px solid #c2a26c; border-radius: .25rem .25rem .68rem .68rem;
}
.santa-invite-brand {
  display: inline-flex; gap: .75rem; align-items: center; color: #77502b;
  font: italic 600 1.1rem/1.2 Georgia, serif;
}
.santa-invite-brand::before, .santa-invite-brand::after {
  content: ""; height: 1px; width: 2.1rem; background: #bda06a;
}
.santa-invite-copy h2 {
  margin: .55rem 0 .7rem; color: #163d32;
  font: 500 clamp(1.9rem, 6vw, 2.75rem)/1.07 Georgia, serif; text-wrap: balance;
}
.santa-invite-copy p {
  margin: 0 auto 1.2rem; max-width: 40ch; color: #46463a;
  font-size: 1rem; line-height: 1.5; text-wrap: pretty;
}
.santa-invite-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  max-width: 100%; box-sizing: border-box; padding: .83rem 1.4rem; border-radius: .55rem;
  background: #822d33; color: white; border: 1px solid #72272d;
  box-shadow: inset 0 0 0 2px #822d33, inset 0 0 0 3px #be8580;
  font-weight: 700; line-height: 1.3; text-decoration: none;
}
.santa-invite-link:hover { background: #6a2328; color: white; }
.santa-invite-link:focus-visible { outline: 3px solid #205946; outline-offset: 3px; }
.santa-invite-close:focus-visible { outline: 3px solid white; outline-offset: 2px; }
@keyframes santa-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .santa-invite[open] { animation: none; } }
