/* Cut names (core/hero/220), INV-23 Cut Through · Luxe stage 1 (A2759): the couple's photo open above; below it the page, with
   the names cut out of it. W2.1 (A2792, the owner: "a different pic behind the text, where there are like more red flowers showing"): the names show
   the couple's first gallery photo (the sample's red-rose bouquet) in their own mask, loaded at the tap (A2797; section.js); with no gallery, the hero photo. Names are sized from the longest name.
   Phone and tablet: names stacked. Laptop: names on one line, "and" between them. Never the venue (D-121). */
.he220 { --he220-open: 52%; --he220-mid: 76%;
  --he220-fs: min(calc(92vw / (var(--he220-len, 6) * .58)), 33vw, 15svh);
  position: relative; height: max(100svh, 620px); color: var(--k-ink); text-align: center; background: var(--k-light-ground); }
.he220 .he220__nm { font-size: calc(var(--he220-fs) * var(--he220-fit, 1)); }
/* a little closer on a tall screen, towards the photo's focus, so the open part shows the couple, not the sky */
.he220 .he220__img { transform-box: fill-box; transform-origin: var(--he220-pos, 50% 50%); scale: 1.18; }
.he220 .he220__nm--one, .he220 .he220__open--l, .he220 .he220__nmimg--l { display: none; }
/* the names' photo (W2.1): the middle of the couple's first gallery photo under the names; a laptop's one line sits lower in its box, so its box starts higher */
.he220 .he220__kick { position: absolute; left: 0; right: 0; top: calc(var(--he220-open) + clamp(14px, 2.6svh, 28px)); padding: 0 var(--k-gutter); text-wrap: balance; }
.he220 .he220__and { position: absolute; left: 50%; top: var(--he220-mid); translate: -50% -42%; rotate: -6deg; font-size: calc(var(--he220-fs) * var(--he220-fit, 1) * .5); }
.he220 .he220__rule { position: absolute; left: 0; right: 0; bottom: calc(clamp(18px, 3svh, 36px) + 2.4em); width: 120px; }
.he220 .he220__date { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3svh, 36px); }
/* no photo: the names stand in ink, so nothing is cut out of nothing */
.he220--nophoto { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.he220--nophoto :is(.he220__kick, .he220__rule, .he220__date) { position: static; }
.he220--nophoto .he220-names { font-size: var(--he220-fs); display: flex; flex-direction: column; align-items: center; }
@media (min-width: 1000px) and (orientation: landscape) {
  .he220 { --he220-open: 56%; --he220-mid: 83%;
    --he220-fs: min(calc(84vw / (var(--he220-len, 6) * 1.12 + 1)), 15.5vw, 21svh); }
  .he220 .he220__nm--two, .he220 .he220__open--p, .he220 .he220__nmimg--p { display: none; }
  .he220 .he220__nm--one, .he220 .he220__open--l, .he220 .he220__nmimg--l { display: inline; }
  .he220 .he220__and { translate: -50% -88%; }
  .he220 .he220__img { scale: 1; }
}
/* a short laptop (1280x720): the open photo ends a little higher, so the names can be bigger (W1.1 board, improvement 5) */
@media (min-width: 1000px) and (orientation: landscape) and (max-height: 800px) {
  .he220 { --he220-open: 46%; --he220-fs: min(calc(84vw / (var(--he220-len, 6) * 1.12 + 1)), 15.5vw, 27svh); }
  .he220 .he220__open--l { transform: scaleY(.8214); } /* 56 % to 46 %, from the top */
}
/* W2, 2 + 8 (A2787; the owner's W2 pick): while the card above is lifted off, the names lie under it as blank cuts (the paper lid: only the card's
   shade and edge); 150 ms after the gate ends the pieces drop out and the photo shows through, then "and" writes itself. It plays before any section
   script starts, so it is CSS only. Reduce motion, a returning guest and no script get the still page. Make-ready (A2797): while the script
   brings the names' photo in at the tap (he220--wait), the pieces stay in and "and" waits; both start once the photo is in. */
html.js:not(.motion-reduce):not(.kjy-instant) .he220 .k-ct-lid { display: inline; }
html.kjy-opened:not(.kjy-instant):not(.motion-reduce) .he220:not(.he220--wait) .k-ct-lid { animation: he220-press .9s var(--k-ease) .15s both; }
html.js:not(.motion-reduce):not(.kjy-instant) .he220 .he220__and { -webkit-mask: var(--k-ct-wipe); mask: var(--k-ct-wipe); -webkit-mask-position: 100% 0; mask-position: 100% 0; }
html.kjy-opened:not(.kjy-instant):not(.motion-reduce) .he220:not(.he220--wait) .he220__and { animation: he220-write 1s cubic-bezier(.45, .05, .35, 1) 1s both; }
@keyframes he220-press { from { opacity: 1; } to { opacity: 0; } }
@keyframes he220-write { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

