/* Cover page (core/hero/090), INV-02 Love Letters · Luxe stage 1: the couple's photo above, torn off by the page; the
   invitation's words and the big names below. Names are sized from the longest name, so any couple fits with no script.
   Phone and tablet: one photo, names stacked. Laptop: three photos under one torn edge, names on one line, words centred.
   Never the venue (D-121). */
.he090 { position: relative; height: max(100svh, 620px); display: flex; flex-direction: column; text-align: center;
  padding-bottom: clamp(20px, 3.4svh, 40px); color: var(--k-ink); background: var(--k-light-ground); }
.he090 .he090__ph { flex: 0 0 var(--k-ll-hero-ph); min-height: 0; }
.he090 .he090__img { position: absolute; inset: 0; object-position: var(--he090-pos, 45% 30%); scale: 1.32; transform-origin: var(--he090-pos, 45% 30%); }
.he090 .he090__x { display: none; }
.he090 .he090__kick { max-width: 19em; margin: clamp(10px, 2svh, 22px) auto 0; padding: 0 var(--k-gutter); text-wrap: balance; }
.he090-names { --he090-fs: calc(min(calc(86vw / (var(--he090-len) * .62)), 14.5svh) * var(--k-ll-z)); position: relative; display: flex; flex-direction: column; margin-top: clamp(10px, 1.6svh, 20px); font-size: var(--he090-fs); font-weight: 300; }
.he090-names .he090-name { overflow-wrap: anywhere; }
.he090-names .he090-and { position: absolute; left: 50%; top: 50%; translate: -50% -52%; rotate: -5deg; font-size: .56em; }
.he090 .he090__rule { margin-top: clamp(14px, 2.4svh, 24px); }
.he090 .he090__date { margin-top: clamp(12px, 2svh, 20px); }
.he090--nophoto { height: auto; min-height: 100svh; justify-content: center; }
@media (min-width: 980px) {
  .he090 .he090__x { display: block; position: absolute; top: 0; bottom: 0; width: 31%; height: 100%; }
  .he090 .he090__x--a { left: 0; }
  .he090 .he090__x--b { right: 0; }
  .he090 .he090__img { left: 31%; width: 38%; scale: 1; }
  .he090 .he090__ph:not(:has(.he090__x--b)) .he090__img { left: 0; width: 100%; }
  .he090 .he090__rule { margin-top: 26px; }
  .he090-names { --he090-fs: calc(min(calc(86vw / (var(--he090-len) * 1.1 + 1.3)), 19svh, 11vw) * var(--k-ll-z)); flex-direction: row; justify-content: center; gap: .1em; }
  .he090-names .he090-and { position: static; flex: none; align-self: center; translate: 0 .12em; margin-inline: .1em; }
}

/* Stage 2 (A2324): the words arrive with the reveal, on CSS from kjy-enter, so they never wait for a script, and a return visit
   (kjy-instant) or Reduce Motion simply shows them. The script "and" writes itself; the rule draws out from its centre. */
html.js:not(.motion-reduce):not(.kjy-enter) .he090 :is(.he090__kick, .he090-name, .he090__date) { opacity: 0; transform: translateY(14px); }
html.js:not(.motion-reduce):not(.kjy-enter) .he090-and { clip-path: inset(-30% 108% -30% -8%); }
html.js:not(.motion-reduce):not(.kjy-enter) .he090__rule { transform: scaleX(0); }
html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he090 { --he090-at: var(--kjy-reveal-at, 800ms); }
html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he090 :is(.he090__kick, .he090-name, .he090__date) { transition: opacity .9s ease var(--he090-d, var(--he090-at)), transform 1.1s var(--k-ease) var(--he090-d, var(--he090-at)); }
html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he090-name { --he090-d: calc(var(--he090-at) + 60ms); }
html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he090-name + .he090-and + .he090-name { --he090-d: calc(var(--he090-at) + 120ms); }
html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he090-and { clip-path: inset(-30% -8% -30% -8%); transition: clip-path 1.4s cubic-bezier(.45, 0, .3, 1) calc(var(--he090-at) + 360ms); }
html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he090__rule { transition: transform 1.2s var(--k-ease) calc(var(--he090-at) + 320ms); }
html.kjy-enter:not(.kjy-instant):not(.motion-reduce) .he090__date { --he090-d: calc(var(--he090-at) + 620ms); }
