/* station 1: the invitation */
/* hero */
.hero{padding-top:44px}
.window{position:relative;width:min(196px,50%);margin:6px auto 10px;filter:drop-shadow(0 18px 30px rgba(111,143,180,.35))}
.window img{width:100%}
.window .glow{position:absolute;inset:0;pointer-events:none;-webkit-mask:url(/img/garden/invite-window-mask.webp) center/100% 100% no-repeat;mask:url(/img/garden/invite-window-mask.webp) center/100% 100% no-repeat;background:linear-gradient(115deg, transparent 35%, rgba(255,255,255,.75) 48%, transparent 60%) no-repeat;background-size:300% 100%;background-position:120% 0;mix-blend-mode:screen}
.names{display:block;width:100%;height:auto;overflow:visible;margin:6px 0 0}
.names text{font-family:var(--script);fill:url(#foil);stroke:#6E4B14;stroke-width:.35;paint-order:stroke}
.names .amp{fill:var(--dusty);stroke:none}
.request{font-family:var(--caps);letter-spacing:.2em;font-size:15px;line-height:1.9;text-transform:uppercase;max-width:34ch;margin:12px auto 18px;color:var(--ink)}
.date{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;max-width:420px;margin:12px auto}
.date .side{font-family:var(--didone);letter-spacing:.2em;font-size:15px;text-transform:uppercase;padding:9px 0;border-top:1px solid var(--silver);border-bottom:1px solid var(--silver)}
.date .day{font-family:var(--didone);font-size:60px;line-height:1;color:var(--navy);font-weight:500}
.date .day small{display:block;font-family:var(--didone);font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--ink-soft);margin-top:6px}
.venue-line{font-family:var(--caps);letter-spacing:.18em;font-size:15px;line-height:1.9;text-transform:uppercase}
.spray{width:min(380px,100%);margin:14px auto -10px}

/* A compact invitation (10 Nov 2026): the whole card fits one phone screen, so the first thing a guest sees is
   the invitation itself and not a long white page. The window is the tall thing, so it is the one that shrinks. */
.hero{padding-top:38px;padding-bottom:30px}
.hero .window{width:min(96px,27%);margin:8px auto 2px;filter:drop-shadow(0 10px 18px rgba(111,143,180,.35))}
.hero .names{width:min(264px,86%);margin:0 auto}
.hero .request{font-size:13px;line-height:1.7;margin:6px auto 10px}
.hero .date{margin:8px auto;max-width:300px}
.hero .date .day{font-size:50px}
.hero .date .side{font-size:14px;padding:7px 0}
.hero .venue-line{font-size:13px;line-height:1.7;margin:10px 0 0}
.hero .spray{width:min(190px,58%);margin:8px auto -8px}
@media (min-width:640px){
  .hero{padding-top:46px;padding-bottom:36px}
  .hero .window{width:104px}
  .hero .names{width:290px}
  .hero .request,.hero .venue-line{font-size:14px}
  .hero .spray{width:230px}
}

/* ---------- the invitation stands on a stone plinth ---------- */
/* The plinth (img/garden/plinth.webp, 560 x 489) moves below the card and sits behind it: the card's
   lower edge stands on the front edge of the plinth's top slab (20% down the picture). The picture is
   drawn wider than the column (--pw) so the plinth is broad enough to hold the card, and its hydrangeas
   spill off the sides of the screen. */
#st-invitation .st-art{--pw:1.5;order:2;width:calc(100% + 24px);margin:calc(var(--pw) * -17.46%) -12px 0;z-index:0;overflow:hidden;padding-bottom:4px;
  -webkit-mask:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);mask:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent)}
#st-invitation .st-art img{width:calc(var(--pw) * 100%);max-width:none;margin-left:calc((1 - var(--pw)) * 50%);
  -webkit-mask:linear-gradient(#000 84%, transparent 99%);mask:linear-gradient(#000 84%, transparent 99%)}
/* a soft shadow where the card meets the stone */
#st-invitation .st-art::before{content:"";position:absolute;z-index:1;left:12%;right:12%;top:calc(var(--pw) * 16.2%);height:calc(var(--pw) * 3%);pointer-events:none;
  background:radial-gradient(50% 50% at 50% 20%, rgba(27,42,74,.2), rgba(27,42,74,.06) 65%, transparent 100%)}
/* the plinth rises into place as the bottom of the invitation comes into view (invitation.js) */
#st-invitation .st-art.iv-wait img{transform:translateY(54px);opacity:0;transition:transform 1.6s var(--ease-out), opacity 1.2s var(--ease-out)}
#st-invitation .st-art.iv-wait::before{opacity:0;transition:opacity 1.2s .5s}
#st-invitation .st-art.iv-wait.iv-up img.ready{transform:none;opacity:1}
#st-invitation .st-art.iv-wait.iv-up::before{opacity:1}
@media (min-width:640px){#st-invitation .st-art{--pw:1.18;width:100%;margin-left:0;margin-right:0}#st-invitation .st-art::before{left:22%;right:22%}}
@media (min-width:1100px){
  #st-invitation .st-art{grid-column:2;grid-row:2;justify-self:stretch;transform:none;--pw:1.1}
}
@media (prefers-reduced-motion: reduce){#st-invitation .st-art.iv-wait img{transform:none!important;opacity:1}#st-invitation .st-art.iv-wait::before{opacity:1}}
/* the opening label wraps as two even lines on a phone, never one orphan word */
#st-invitation .hero > .caps{text-wrap:balance;max-width:24ch;margin:0 auto}
