/* With love, on a card · Luxe (core/closing/016): INV-12 Burgundy Blossom v2 · Luxe W3 (A1732; plan docs/plans/plan_inv12_v2_luxe_w3.md
   D), a fork of cl015. The card is gilt on its top and sides; the skin's footer carries the sides and the bottom, so card and
   foot read as one gilt-edged card. "With love" writes on in ink, the names and date rise from their lines, and a blind-
   embossed blossom (the hero's crest) closes the page, still. Lite, reduced motion, no JS: the still card. */
.cl150 { --cl150-w: min(34vw, 160px);
  position: relative; z-index: 1; padding: clamp(40px, 7svh, 72px) 0 0; color: var(--k-ink); text-align: center; }
.cl150 .cl150__card { position: relative; box-sizing: border-box; width: var(--k-end-w, min(calc(100vw - 32px), 480px)); margin: 0 auto;
  padding: clamp(28px, 7vw, 44px) clamp(20px, 6vw, 40px) clamp(18px, 4vw, 28px);
  background-color: var(--k-paper, #FCFCFD);
  background-image: var(--k-cotton, none), radial-gradient(130% 70% at 90% 0%, rgb(255 255 255 / .6), rgb(255 255 255 / 0) 60%);
  box-shadow: inset 1.5px 0 0 var(--k-gilt-hi, #F3D3C7), inset 3px 0 0 var(--k-gilt-lit, #DDA592), inset -1.5px 0 0 var(--k-gilt, #C08470),
    inset -3px 0 0 var(--k-gilt-lo, #8E5A4B), inset 0 1.5px 0 var(--k-gilt-hi, #F3D3C7), inset 0 3px 0 var(--k-gilt-lit, #DDA592),
    -6px 0 8px 8px rgb(50 40 48 / .11);
  clip-path: inset(-40px -30px 0 -30px); }
@media (max-width: 699px) {
  .cl150 .cl150__card { background-image: var(--k-cotton-fine, none), radial-gradient(130% 70% at 90% 0%, rgb(255 255 255 / .6), rgb(255 255 255 / 0) 60%);
    background-size: 300px, 238px, 140px, auto; }
}
/* the sprig's box is tall (aspect .499); turned -100deg it lies wide, so its holder takes the turned height */
.cl150 .cl150__art { position: relative; height: calc(var(--cl150-w) * 1.33); margin: 0 auto clamp(10px, 2.4svh, 22px); }
.cl150 .cl150__sprig { left: 50%; top: 50%; width: var(--cl150-w); translate: -50% -50%; rotate: -100deg; }
/* W4 (A1744, D-110): the breeze (the skin's k-breeze) */
html:not(.motion-reduce):not(.kjy-lite).kjy-opened .cl150 .cl150__sprig { animation: k-breeze 8.4s ease-in-out .45s infinite; }
.cl150 .cl150__line, .cl150 .cl150__names, .cl150 .cl150__date { margin: 0 auto; max-inline-size: 22em; }
.cl150 .cl150__line { font: 400 clamp(30px, 9vw, 46px)/1.2 var(--k-font-script); color: var(--k-wine); text-wrap: balance; }
.cl150 .cl150__names { margin-top: clamp(10px, 2.6vw, 18px); font: 600 clamp(20px, 6vw, 32px)/1.2 var(--k-font-display); letter-spacing: .06em;
  text-transform: uppercase; color: var(--k-wine); text-wrap: balance; }
/* Luxe W1 Part 0 (A1693; plan_inv12_v2_luxe_master.md #4): when the longer name is over 8 characters, "&" takes its own line
   between the two names (hina: "HINA FATIMA SIDDIQUI / & / MUHAMMAD FAISAL KHAN"); shorter names stay on one line. The
   basis is clamped to 0-100 % (unclamped, 20 characters would give a 1200 % box). */
.cl150 .cl150__names { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .32em; }
.cl150 .cl150-n { max-inline-size: 100%; text-wrap: balance; }
.cl150 .cl150-amp { flex: 0 0 clamp(0%, calc((var(--cl150-len) - 8) * 100%), 100%); min-width: max-content; text-align: center; }
.cl150 .cl150__date { margin-top: clamp(10px, 2.4vw, 16px); padding-left: .24em; font: 400 clamp(10.8px, 3.02vw, 14px)/1.5 var(--k-font-caps);
  letter-spacing: .24em; text-transform: uppercase; color: var(--k-ink); }
/* L31 (W1.1): the bookend, a blind-embossed blossom pressed into the paper (the skin's .k-emboss, the hero's crest) */
.cl150 .cl150__mark { width: clamp(30px, 8.7vw, 36px); margin: 16px auto 0; } /* eye r1: ~34 px, a 16 px gap */
/* the names, "&" and the date rise from behind their own lines (cd011's label window: the middle third of a 300 % mask) */
html.kjy-fx .cl150.is-armed:not(.is-done) :is(.cl150-n, .cl150-amp, .cl150__date) {
  -webkit-mask: linear-gradient(#0000 33.333%, #000 33.333% 66.667%, #0000 66.667%) 0 50% / 100% 300% no-repeat;
  mask: linear-gradient(#0000 33.333%, #000 33.333% 66.667%, #0000 66.667%) 0 50% / 100% 300% no-repeat; }
html.kjy-fx .cl150.is-armed:not(.is-in) :is(.cl150-n, .cl150-amp, .cl150__date) { translate: 0 100%; -webkit-mask-position: 0 100%; mask-position: 0 100%; }
html.kjy-fx .cl150.is-armed.is-in:not(.is-done) :is(.cl150-n, .cl150-amp, .cl150__date) {
  transition: translate 800ms var(--k-ease, cubic-bezier(.22, 1, .36, 1)) var(--cl150-d, 0ms), -webkit-mask-position 800ms var(--k-ease, cubic-bezier(.22, 1, .36, 1)) var(--cl150-d, 0ms),
    mask-position 800ms var(--k-ease, cubic-bezier(.22, 1, .36, 1)) var(--cl150-d, 0ms); }
