/* Cut initials (core/opening/220), INV-23 Cut Through · Luxe stage 1 (A2759): a full sheet of cotton card with the couple's
   initials cut out of it, so the hero's own photo shows through them; "and" in the couple's colour across them. The pair is sized
   from its real width (one rule per letter below), so wide letters (M, W) still fit. W1: the tap fades the card (stage 2: it lifts away). */
.op220 { --op220-a: .58; --op220-b: .58;
  --op220-fs: min(calc(84vw / (var(--op220-a) + var(--op220-b) + .1)), 44svh);
  position: fixed; inset: 0; z-index: 100; overflow: hidden; touch-action: none; overscroll-behavior: contain; text-align: center;
  color: var(--k-ink); background: var(--k-paper) var(--k-ct-tile) 0 0 / 300px auto repeat; }
.op220[data-op220-a="A"] { --op220-a: 0.606; } .op220[data-op220-a="B"] { --op220-a: 0.56; } .op220[data-op220-a="C"] { --op220-a: 0.539; } .op220[data-op220-a="D"] { --op220-a: 0.619; } .op220[data-op220-a="E"] { --op220-a: 0.527; } .op220[data-op220-a="F"] { --op220-a: 0.502; } .op220[data-op220-a="G"] { --op220-a: 0.619; } .op220[data-op220-a="H"] { --op220-a: 0.662; } .op220[data-op220-a="I"] { --op220-a: 0.322; } .op220[data-op220-a="J"] { --op220-a: 0.325; } .op220[data-op220-a="K"] { --op220-a: 0.604; } .op220[data-op220-a="L"] { --op220-a: 0.527; } .op220[data-op220-a="M"] { --op220-a: 0.77; } .op220[data-op220-a="N"] { --op220-a: 0.636; } .op220[data-op220-a="O"] { --op220-a: 0.635; } .op220[data-op220-a="P"] { --op220-a: 0.514; } .op220[data-op220-a="Q"] { --op220-a: 0.635; } .op220[data-op220-a="R"] { --op220-a: 0.573; } .op220[data-op220-a="S"] { --op220-a: 0.465; } .op220[data-op220-a="T"] { --op220-a: 0.526; } .op220[data-op220-a="U"] { --op220-a: 0.603; } .op220[data-op220-a="V"] { --op220-a: 0.563; } .op220[data-op220-a="W"] { --op220-a: 0.862; } .op220[data-op220-a="X"] { --op220-a: 0.589; } .op220[data-op220-a="Y"] { --op220-a: 0.557; } .op220[data-op220-a="Z"] { --op220-a: 0.534; }
.op220[data-op220-b="A"] { --op220-b: 0.606; } .op220[data-op220-b="B"] { --op220-b: 0.56; } .op220[data-op220-b="C"] { --op220-b: 0.539; } .op220[data-op220-b="D"] { --op220-b: 0.619; } .op220[data-op220-b="E"] { --op220-b: 0.527; } .op220[data-op220-b="F"] { --op220-b: 0.502; } .op220[data-op220-b="G"] { --op220-b: 0.619; } .op220[data-op220-b="H"] { --op220-b: 0.662; } .op220[data-op220-b="I"] { --op220-b: 0.322; } .op220[data-op220-b="J"] { --op220-b: 0.325; } .op220[data-op220-b="K"] { --op220-b: 0.604; } .op220[data-op220-b="L"] { --op220-b: 0.527; } .op220[data-op220-b="M"] { --op220-b: 0.77; } .op220[data-op220-b="N"] { --op220-b: 0.636; } .op220[data-op220-b="O"] { --op220-b: 0.635; } .op220[data-op220-b="P"] { --op220-b: 0.514; } .op220[data-op220-b="Q"] { --op220-b: 0.635; } .op220[data-op220-b="R"] { --op220-b: 0.573; } .op220[data-op220-b="S"] { --op220-b: 0.465; } .op220[data-op220-b="T"] { --op220-b: 0.526; } .op220[data-op220-b="U"] { --op220-b: 0.603; } .op220[data-op220-b="V"] { --op220-b: 0.563; } .op220[data-op220-b="W"] { --op220-b: 0.862; } .op220[data-op220-b="X"] { --op220-b: 0.589; } .op220[data-op220-b="Y"] { --op220-b: 0.557; } .op220[data-op220-b="Z"] { --op220-b: 0.534; }
.op220 .op220__cut { position: absolute; inset: 0; font-size: var(--op220-fs); }
/* the photo behind the initials leans in towards the couple (its focus), so the letters show them, not the garden (W1.1 board, improvement 4) */
.op220 .op220__cut image { transform-box: fill-box; transform-origin: var(--op220-pos, 50% 50%); scale: 1.45; }
.op220 .op220__inv { position: absolute; left: 0; right: 0; top: max(calc(8svh + env(safe-area-inset-top)), 40px); padding: 0 var(--k-gutter); }
.op220 .op220__and { position: absolute; left: 50%; top: calc(60% - var(--op220-fs) * .33); translate: -50% -50%; rotate: -7deg; font-size: calc(var(--op220-fs) * .27); }
.op220 .op220__mono { position: absolute; left: 0; right: 0; top: 30%; display: flex; justify-content: center; align-items: center; gap: .08em; font-size: calc(var(--op220-fs) * .7); line-height: .9; }
.op220 .op220__and2 { font-size: .4em; }
.op220 .op220__foot { position: absolute; left: 0; right: 0; bottom: max(calc(6svh + env(safe-area-inset-bottom)), 24px); display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.4svh, 24px); }
.op220 .op220__tap { min-height: 48px; padding: 0 30px; }
.op220.is-opening { pointer-events: none; animation: op220-out 450ms ease forwards; }
/* W2, 1 (A2787; the owner's W2 pick): the tap lifts the card off. It rises towards the guest, its shadow spreading on the names card beneath, then
   glides up and away (1.3 s = the gate's opening.ms). Reduce motion keeps the plain fade. */
html:not(.motion-reduce) .op220.is-opening { transform-origin: 50% 100%; animation: op220-lift 1.3s cubic-bezier(.55, 0, .2, 1) forwards; }
@keyframes op220-lift {
  0% { transform: none; box-shadow: 0 0 0 rgb(28 14 8 / 0); }
  28% { transform: translateY(-1.2%) scale(1.03); box-shadow: 0 36px 70px rgb(28 14 8 / .3); }
  100% { transform: translateY(-118%) rotate(-2.5deg) scale(1.03); box-shadow: 0 60px 90px rgb(28 14 8 / .18); } }
@keyframes op220-out { to { opacity: 0; } }
@media (min-width: 1000px) and (orientation: landscape) {
  .op220 { --op220-fs: min(calc(60vw / (var(--op220-a) + var(--op220-b) + .1)), 60svh); }
  .op220 .op220__inv br { display: none; }
}
