/* Invitation styles mirror the existing Dino component in dino.css, scoped to home. */
.hero-guest-invitation{--dino-paper:#edf4dd;--forest:#245e43}
.hero-guest-invitation .d-invitation{position:relative;isolation:isolate;background:var(--invitation-paper,var(--dino-paper)) var(--invitation-background,url('assets/dino-paper.webp')) center/100% 100%;padding:68px 24px 32px;overflow:hidden;border-radius:16px;max-width:390px;margin-inline:auto;text-align:center;color:var(--ink)}
.hero-guest-invitation .d-invite-heading{position:relative;z-index:1;max-width:255px;margin-inline:auto;padding-top:25px}
.hero-guest-invitation .d-invite-intro{font-size:14px;font-weight:700;line-height:1.5}
.hero-guest-invitation .d-invite-name{font-size:34px;letter-spacing:-.04em;line-height:1.15;margin-top:9px;color:var(--invite-accent);overflow-wrap:anywhere;font-weight:800}
.hero-guest-invitation .d-invite-age{font-size:16px;margin-top:8px;font-weight:700}
.hero-guest-invitation .d-invite-frame{position:relative;width:167px;aspect-ratio:4/5;margin:18px auto}
.hero-guest-invitation .d-frame-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:2;pointer-events:none}
.hero-guest-invitation .d-photo-window{position:absolute;left:19%;top:16%;width:63%;height:68%;border-radius:18%;overflow:hidden;background:var(--invitation-photo-paper,#e5f0d2);display:grid;place-items:center}
.hero-guest-invitation .d-photo-window>img{width:100%;height:100%;object-fit:cover;object-position:50% var(--photo-y,50%);transform:scale(var(--photo-scale,1));transform-origin:center}
.hero-guest-invitation .d-photo-window>img.d-placeholder-dino{object-fit:contain;object-position:center;transform:none;width:91%;height:91%}
.hero-guest-invitation .d-invite-egg,.hero-guest-invitation .d-invite-footprint{position:absolute;object-fit:contain;z-index:0;pointer-events:none}
.hero-guest-invitation .d-invite-egg{width:54px;left:8px;top:205px;transform:rotate(-12deg)}
.hero-guest-invitation .d-invite-footprint{width:40px;right:12px;top:245px;transform:rotate(15deg)}
.hero-guest-invitation .d-invite-message{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 22px;position:relative;z-index:1}
.hero-guest-invitation .d-invite-details{padding:19px 0 0;border-top:1px solid #245e4333;position:relative;z-index:1}
.hero-guest-invitation .d-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-guest-invitation .d-invite-details .d-icon{color:var(--invite-accent);margin-bottom:6px}
.hero-guest-invitation .d-invite-when{font-size:16px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}
.hero-guest-invitation .d-invite-time{font-size:14px;margin-top:2px}
.hero-guest-invitation .d-invite-location{margin-top:17px}
.hero-guest-invitation .d-invite-venue{font-size:16px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}
.hero-guest-invitation .d-invite-address{font-size:14px;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}
.hero-guest-invitation .d-invite-map{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:14px;font-weight:700;text-decoration:underline;color:var(--invite-accent);padding-inline:5px}
.hero-guest-invitation .d-invite-rsvp{width:100%;min-height:46px;border:0;border-radius:9px;padding:12px;background:var(--invite-accent);color:white;font-size:15px;font-weight:800;margin-top:14px}
.hero-guest-invitation .d-invite-rsvp:hover{filter:brightness(.94)}
.hero-guest-invitation .d-invite-status{font-size:14px;margin-top:10px;color:var(--muted);line-height:1.6}
.hero-guest-invitation .d-invite-signature{font-size:14px;margin-top:20px;color:var(--invite-accent);font-weight:700;letter-spacing:-.02em}


@media(max-width:360px){.hero-guest-invitation .d-invitation{padding-inline:18px;padding-top:66px}.hero-guest-invitation .d-invite-heading{padding-top:24px;max-width:230px}.hero-guest-invitation .d-invite-name{font-size:31px}.hero-guest-invitation .d-invite-frame{width:155px}.hero-guest-invitation .d-invite-egg{width:43px;left:4px}.hero-guest-invitation .d-invite-footprint{right:5px;width:33px}}
