/* The names slide off the cover (core/opening/210, fork of core/opening/190), INV-22 Crisp · Luxe (A2737, D-417; opener B, A2789, D-442): white paper with
   the hero's own photo in the hero's own place (the skin's .k-cr-hf: off the top-right on a phone, the right half on a laptop) and the couple's names set
   giant across its edge, ink on the paper and white on the photo. Below: the invitation line and, at the foot where the thumb rests, a black pull tab
   (OPEN THE ISSUE) that nudges up now and then. No date on the opener (owner). The tap slides both copies of the names off to the left together, and
   from .35 s the paper, its words and its tab slide up and out from under the photo, which never moves: at the gate's end the page behind is the same
   photo in the same place with the hero's own words rising (AG-T439). The tab is the one visible open link; the whole screen opens too. */
.op210 { position: fixed; inset: 0; z-index: 100; overflow: hidden; touch-action: none; overscroll-behavior: contain; color: var(--k-cr-ink);
  --op210-fs: min(25vw, calc(88vw / (var(--op210-len, 6) * .78))); --op210-tab: 58px; --op210-sa: env(safe-area-inset-bottom, 0px); }
/* the paper: one sheet under the photo, carrying the words and the tab */
.op210 .op210__sheet { position: absolute; inset: 0; z-index: 0; background: var(--k-cr-paper); }
.op210 .op210__tap { position: absolute; inset: 0; }
.op210 .op210__f { pointer-events: none; }
.op210 .op210__ph img { object-position: var(--op210-pos, 50% 30%); }
/* the names: one block of three lines, its second name crossing the photo's foot and its first inside the photo's lower band, both crossing its left edge */
.op210 .op210__nm { left: calc(5vw - var(--k-cr-hf-l)); top: calc(100% - 1.5em); display: flex; flex-direction: column; align-items: flex-start; font-size: var(--op210-fs); }
.op210 .op210__l { display: block; }
.op210 .op210__nm .op210__and { display: block; font-size: .46em; line-height: 1; margin: -.36em 0 -.5em 1.7em; vertical-align: 0; }
/* the invitation line: centred in the paper between the names' foot and the tab, so neither gap reads as empty */
.op210 .op210__words { position: absolute; left: 5vw; right: 5vw; top: calc(var(--k-cr-hf-t) + var(--k-cr-hf-h) + var(--op210-fs) * .3 + 20px);
  bottom: calc(var(--op210-tab) + var(--op210-sa) + 24px); display: flex; align-items: center; }
.op210 .op210__inv { margin: 0; max-width: 24em; }
/* the pull tab */
.op210 .op210__tab { position: absolute; z-index: 1; left: 50%; bottom: 0; translate: -50% 0; flex-direction: column; gap: 7px;
  min-height: calc(var(--op210-tab) + var(--op210-sa)); padding: 2px 28px var(--op210-sa); border: 0; border-radius: 16px 16px 0 0;
  background: var(--k-cr-ink); color: #FFFFFF; font: 400 11px/1 var(--k-font-body); letter-spacing: .3em; white-space: nowrap;
  animation: op210-nudge 3s ease-in-out infinite; }
.op210 .op210__go { margin-right: -.3em; }
.op210 .op210__up { width: 18px; height: 10px; fill: none; stroke: #FFFFFF; stroke-width: 1.4; }
.op210 .op210__tab:active { background: #000000; }
.op210 .op210__tab:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -6px; }
@keyframes op210-nudge { 0%, 70%, 100% { transform: none; } 82% { transform: translateY(-5px); } 92% { transform: translateY(1px); } }
html.motion-reduce .op210 .op210__tab { animation: none; }
@media (min-width: 1000px) and (orientation: landscape) {
  /* the names end the same distance past the seam, whatever their length; the words and the tab stand on the paper half */
  .op210 { --op210-tab: 62px; }
  .op210 .op210__nm { left: auto; right: calc(100% - 1.15em); top: calc(50% - 1.05em); align-items: flex-end; font-size: min(calc(36vw / (var(--op210-len, 6) * .78)), clamp(84px, 8.4vw, 150px)); }
  .op210 .op210__nm .op210__and { margin: -.32em 2.3em -.42em 0; }
  .op210 .op210__words { right: 50%; left: clamp(48px, 6vw, 120px); top: clamp(48px, 9vh, 96px); bottom: auto; padding-right: clamp(40px, 4vw, 80px); align-items: flex-start; }
  .op210 .op210__tab { left: 25%; padding: 2px 34px var(--op210-sa); font-size: 12px; }
}

/* The tap: the names leave to the left, both copies together; from .35 s the paper slides up and away from under the still photo. */
.op210.is-opening { pointer-events: none; }
.op210.is-opening .op210__nm { transform: translateX(-115vw); transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.op210.is-opening .op210__sheet { transform: translateY(-100%); transition: transform .95s cubic-bezier(.7, 0, .2, 1) .35s; box-shadow: 0 30px 60px rgb(0 0 0 / .16); }
.op210.is-opening .op210__tab { animation: none; }
html.motion-reduce .op210.is-opening { opacity: 0; transition: opacity .4s ease; }
html.motion-reduce .op210.is-opening :is(.op210__nm, .op210__sheet) { transform: none; transition: none; }
