/* Heart line (core/hero/190, fork of core/hero/180), INV-20 One Line · Luxe (A2715; W1.2 A2735, D-415: the bias cut): the couple's photo in black and white
   above one straight slant of 8° (rising to the right); the ink line runs along the slant and ties one heart at its middle, a paper heart cut into the photo
   (the skin's .k-ol-hl, shared with the opener). Below, in ink on paper: the invitation line, OLIVIA / and / THOMAS, the date and the time. Never the venue
   (D-121). A laptop is a spread: the words on the left paper half, the photo on the right past a seam that leans 8° with the heart on it. */
.he190 { position: relative; height: var(--k-ol-frame-h); color: var(--k-ol-ink); background: var(--k-ol-paper); overflow: hidden; overflow: clip; }
/* the photo reaches the slant's low end; the cut's paper covers what lies below the slant */
.he190 .he190__ph { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--k-ol-cut-y) + var(--k-ol-half) + 2px); }
.he190 .he190__ph img { object-position: var(--he190-pos, 50% 50%); }
@media (min-width: 1000px) and (orientation: landscape) {
  .he190 .he190__ph { left: calc(50% - var(--k-ol-ext-f)); height: 100%; background: none; }
  .he190 .he190__ph img { background: #E6E3DD; clip-path: polygon(calc(var(--k-ol-frame-h) * .14054 + 2px) 0, 100% 0, 100% 100%, 2px 100%); }
}

/* The join: the opener holds this same line in this same place, so the hero's copy stays hidden until the gate goes, then swaps in one frame (AG-T439). Only
   the line hides: the cut's paper and the heart's hole stay, so the photo the opener uncovers is already cut. On a phone or tablet the words rise a beat after
   the tap, as the paper clears; on a laptop the opener already showed them in place, so they simply stay. */
html.kjy-locked:not(.motion-reduce) .he190 .he190__hl .k-ol-cut__line { visibility: hidden; }
@media (max-width: 999px), (orientation: portrait) {
  html.js:not(.motion-reduce):not(.kjy-enter) .he190 :is(.he190__kick, .he190-names, .he190__date, .he190__at) { opacity: 0; transform: translateY(10px); }
  html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he190 { --he190-at: var(--kjy-reveal-at, 250ms); }
  html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he190 :is(.he190__kick, .he190-names, .he190__date, .he190__at) { transition: opacity .9s ease calc(var(--he190-at) + var(--he190-d, 0ms)), transform .9s var(--k-ease) calc(var(--he190-at) + var(--he190-d, 0ms)); }
  .he190 .he190__kick { --he190-d: 100ms; } .he190 .he190-names { --he190-d: 220ms; } .he190 .he190__date { --he190-d: 380ms; } .he190 .he190__at { --he190-d: 440ms; }
}

/* the names, the same formula in the hero and the opener so the hand-over is exact */
.he190 .k-ol-hw__names { font-size: min(calc(84vw / (var(--he190-len, 6) * .95)), calc(clamp(38px, 11vw, 66px) * var(--k-ol-z))); }
@media (min-width: 1000px) and (orientation: landscape) { .he190 .k-ol-hw__names { font-size: min(calc(40vw / (var(--he190-len, 6) * .95)), clamp(44px, 4.4vw, 84px)); } }

/* W2 (A2765, D-428 pick 9, names settle): on a phone or tablet a couple's names arrive a little wider and close up as they rise (on a laptop the opener
   already shows them in place). The hero plays before the motion layer starts, so this lives here, on the same classes as the words' own rise. */
@media (max-width: 999px), (orientation: portrait) {
  html.js:not(.motion-reduce):not(.kjy-enter) .he190 .he190-names:has(> .k-ol-and) > span:not(.k-ol-and) { letter-spacing: calc(.34em + .6em / var(--he190-len, 6)); white-space: nowrap; }
  html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he190 .he190-names:has(> .k-ol-and) > span:not(.k-ol-and) { white-space: nowrap; transition: letter-spacing 1.6s var(--k-ease) calc(var(--he190-at) + 220ms); }
}
