/* On the card (core/invitation/120), INV-16 Little Us stage 1: the couple sit on the top edge of the invitation card, legs dangling
   over it. The ledge in the drawing sits 62.1 % down its frame; the card's top edge sits on that line. Hosts, the line, names: no date. */
.iv121 .iv121__draw .k-lu-acc { -webkit-mask-image: url("assets/ledge-strip-acc.webp"); mask-image: url("assets/ledge-strip-acc.webp"); }
.iv121 { --iv121-w: calc(min(66vw, 330px) * 1.0426); --iv121-h: calc(var(--iv121-w) * 1.093); position: relative; padding: var(--k-section-pad) var(--k-gutter); text-align: center; color: var(--k-ink); background: var(--k-light-ground); }
.iv121 .iv121__wrap { position: relative; width: min(100%, 560px); margin: 0 auto; }
/* the card's sketched edge is 15 px deep and its paper starts below that, so the drawing reaches 15 px further down to keep the ledge on the paper's top line.
   This has to be on the drawing: a negative margin-top on the card would collapse into this one and move nothing */
.iv121 .iv121__draw { width: var(--iv121-w); z-index: 1; margin: 0 auto calc(var(--iv121-h) * -.3787 - 15px); }
.iv121 .iv121__card { position: relative; padding: calc(var(--iv121-h) * .3787 + 22px) clamp(6px, 3vw, 28px) 20px; background: var(--k-card); background-clip: padding-box; border: 15px solid transparent; }
/* the couple let the paper show through, so the top line would cut across them. It stops at her dress and starts again past his hand, in the drawing's own widths, and the drawn ledge carries the gap */
.iv121 .iv121__card::before {
  content: ""; position: absolute; inset: -15px; pointer-events: none;
  border: 15px solid transparent; border-image: var(--k-lu-frame) 15 / 15px / 0 stretch;
  --iv121-gap: linear-gradient(90deg, #000 calc(50% - var(--iv121-w) * .288), transparent 0 calc(50% + var(--iv121-w) * .376), #000 0);
  -webkit-mask-image: var(--iv121-gap), linear-gradient(#000 0 0); mask-image: var(--iv121-gap), linear-gradient(#000 0 0);
  -webkit-mask-size: 100% 17px, 100% calc(100% - 17px); mask-size: 100% 17px, 100% calc(100% - 17px);
  -webkit-mask-position: 0 0, 0 17px; mask-position: 0 0, 0 17px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.iv121-blessing { font: italic 400 1.0625rem/1.4 var(--k-font-body); margin-bottom: 12px; }
.iv121 .iv121__fam { margin-bottom: 12px; }
.iv121-hosts { display: grid; gap: 8px; }
.iv121-host { display: grid; font-size: 1.0625rem; line-height: 1.3; }
.iv121-host__rel { font-size: .9375rem; font-style: italic; color: var(--k-ink-soft); }
.iv121-line { margin: 16px auto 0; max-width: 24em; text-wrap: balance; }
.iv121-names { margin-top: 14px; font-size: calc(var(--k-lu-z) * clamp(24px, 6.9vw, 36px)); line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
/* their legs swing, slower than a walk, 200 ms a frame */
.iv121 .iv121__draw.is-in .k-lu-strip__s { animation: iv121-swing 1200ms step-end; }
@keyframes iv121-swing {
  0%, 33.33%, 66.66% { transform: translateX(-50%); }
  16.66%, 50%, 83.33%, 100% { transform: translateX(0); }
}
