/* At the foot, the couple · Luxe: INV-14 Ink & Gold · Luxe. Full width on the one bright sheet: in the column, the
   flower divider, the closing line in Young Serif, the names in Allison, the date in caps; then the couple again, small,
   standing in front of the whole garland with their feet at 55 % of its height; on wide screens from 5:4 the hero's
   sprays at the bottom corners. Every flower is a pen line that draws with the scroll: the divider from its centre,
   the garland from its centre as the foot comes in, the sprays from their corners (section.js). The section ends 24 px
   x k below the garland, and the engine footer follows on the same sheet. Before-states only under
   html.kjy-fx:not(.kjy-lite). */
.cl021 { --cl021-u: var(--k-ig-u, 1px); --cl021-dh: 1; --cl021-ds: 1;
  --cl021-ch: calc(var(--cl021-u) * 150); --cl021-gw: 100%; --cl021-gwu: 100%;
  position: relative; overflow: hidden; overflow: clip; padding: calc(var(--k-ig-gap, 72px) / 2) 0 calc(var(--cl021-u) * 24); color: var(--k-ink, #38342C); text-align: center; }
.cl021 p { margin: 0; }
.cl021 .cl021__words { position: relative; z-index: 2; width: var(--k-cw, calc(100% - 40px)); margin-inline: auto; }
.cl021 .cl021__div::before, .cl021 .cl021__div::after { transform: scaleX(var(--cl021-dh)); }
.cl021 .cl021__div > i { opacity: var(--cl021-ds); }
.cl021 .cl021__line { max-inline-size: 18em; margin: 0 auto; text-wrap: balance; font: 400 calc(var(--cl021-u) * 22)/1.3 var(--k-font-display, "Young Serif", Georgia, serif); color: var(--k-ink, #38342C); }
.cl021 .cl021__names { margin: calc(var(--cl021-u) * 10) auto 0; max-width: 92%; text-wrap: balance; line-height: 1.04;
  font: 400 clamp(30px, calc(200 * 1vw / (2 * var(--cl021-len, 6) + 3)), 56px)/1.04 var(--k-font-script, "Allison", cursive); color: var(--k-ink, #38342C); }
.cl021 .cl021__date { margin-top: calc(var(--cl021-u) * 10); font: 500 12px/1.5 var(--k-font-caps, "Montserrat", system-ui, sans-serif); font-variant-numeric: lining-nums;
  letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; color: var(--k-ink-soft, #5C564C); }

/* line art (kit sync below sets the masks and the garland's aspect) */
.cl021 .cl021__art { display: block; pointer-events: none; }
.cl021 .cl021__art > i { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.cl021 .cl021__l { background: var(--k-ig-line, #1A1816); }
.cl021 .cl021__f { background: var(--k-ig-fill, linear-gradient(118deg, #8E6C42 0%, #B8935F 22%, #E9CA93 40%, #B8935F 58%, #E9CA93 76%, #8E6C42 100%)); }

/* the foot: the garland in flow, the couple standing in front of it, feet at 55 % of its height; the foot drops by the
   part of the couple that rises above the garland (padding % and margin % resolve against the width) */
.cl021 .cl021__foot { position: relative; z-index: 1; width: var(--cl021-gw);
  margin: calc(var(--cl021-u) * 22 + max(0px, var(--cl021-ch) - var(--cl021-gwu) / var(--cl021-gar-ar, 5.13) * .55)) auto 0; }
.cl021 .cl021__gar { position: relative; width: 100%; }
.cl021 .cl021__cp { position: absolute; z-index: 1; left: 50%; bottom: 45%; height: var(--cl021-ch); aspect-ratio: .6625; transform: translateX(-50%); }
.cl021 .cl021__img { position: absolute; inset: 0; z-index: 1; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; }
.cl021 .cl021__shadow { position: absolute; z-index: 0; left: 15%; right: 15%; bottom: -2.5%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(40 36 30 / .20), rgb(40 36 30 / 0)); }
.cl021 .cl021__spl, .cl021 .cl021__spr { display: none; }

/* wide screens: the garland is the hero's centred 620 px x k cluster, the couple 200 px x k; from 5:4 the sprays take the
   bottom corners (whole: only their stems run off the screen sides) */
@media (min-aspect-ratio: 1/1) {
  .cl021 { --cl021-ch: calc(var(--cl021-u) * 220); --cl021-gw: calc(var(--cl021-u) * 620); --cl021-gwu: calc(var(--cl021-u) * 620); }
}
@media (min-aspect-ratio: 5/4) {
  .cl021 .cl021__colo { height: calc(var(--cl021-u) * 150); }
  .cl021 .cl021__spl, .cl021 .cl021__spr { display: block; position: absolute; z-index: 0; bottom: calc(var(--cl021-u) * 192);
    width: min(calc(var(--cl021-u) * 300), calc((100% - var(--cl021-u) * 620) / 2 - 24px)); }
  .cl021 .cl021__spl { left: -2%; }
  .cl021 .cl021__spr { right: -2%; }
}
/* short laptops (under 760 px tall): the sprays 20 % smaller so the couple and garland stay the centre */
@media (min-aspect-ratio: 5/4) and (max-height: 760px) {
  .cl021 .cl021__spl, .cl021 .cl021__spr { width: min(calc(var(--cl021-u) * 240), calc((100% - var(--cl021-u) * 620) / 2 - 24px)); }
}

/* the stencils, loaded only once the guest opens the invitation */
.cl021 { --cl021-gar-ar: 5.1303; --cl021-gar-top: 0.0; }
.cl021 .cl021__img { background-image: url("/skins/ink_gold/assets/art/couple.webp"); }
.cl021 .cl021__gar { aspect-ratio: 5.1303; }
.cl021 .cl021__gar > .cl021__l { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .cl021 .cl021__gar > .cl021__l, html.kjy-opening .cl021 .cl021__gar > .cl021__l { -webkit-mask-image: url("/skins/ink_gold/assets/art/garland-lines.webp"); mask-image: url("/skins/ink_gold/assets/art/garland-lines.webp"); }
.cl021 .cl021__gar > .cl021__f { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .cl021 .cl021__gar > .cl021__f, html.kjy-opening .cl021 .cl021__gar > .cl021__f { -webkit-mask-image: url("/skins/ink_gold/assets/art/garland-fills.svg"); mask-image: url("/skins/ink_gold/assets/art/garland-fills.svg"); }
.cl021 .cl021__spl { aspect-ratio: 1.0434; }
.cl021 .cl021__spl > .cl021__l { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .cl021 .cl021__spl > .cl021__l, html.kjy-opening .cl021 .cl021__spl > .cl021__l { -webkit-mask-image: url("/skins/ink_gold/assets/art/spray-l-lines.webp"); mask-image: url("/skins/ink_gold/assets/art/spray-l-lines.webp"); }
.cl021 .cl021__spl > .cl021__f { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .cl021 .cl021__spl > .cl021__f, html.kjy-opening .cl021 .cl021__spl > .cl021__f { -webkit-mask-image: url("/skins/ink_gold/assets/art/spray-l-fills.svg"); mask-image: url("/skins/ink_gold/assets/art/spray-l-fills.svg"); }
.cl021 .cl021__spr { aspect-ratio: 1.0434; }
.cl021 .cl021__spr > .cl021__l { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .cl021 .cl021__spr > .cl021__l, html.kjy-opening .cl021 .cl021__spr > .cl021__l { -webkit-mask-image: url("/skins/ink_gold/assets/art/spray-r-lines.webp"); mask-image: url("/skins/ink_gold/assets/art/spray-r-lines.webp"); }
.cl021 .cl021__spr > .cl021__f { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .cl021 .cl021__spr > .cl021__f, html.kjy-opening .cl021 .cl021__spr > .cl021__f { -webkit-mask-image: url("/skins/ink_gold/assets/art/spray-r-fills.svg"); mask-image: url("/skins/ink_gold/assets/art/spray-r-fills.svg"); }
/* the flower divider (the stencil; the pen draws over it) */
.cl021 .cl021__div { position: relative; display: block; margin: 0 auto calc(var(--k-ig-u, 1px) * 36); width: calc(var(--k-ig-u, 1px) * 210); aspect-ratio: 6.5449; }
.cl021 .cl021__div > i { position: absolute; inset: 0; -webkit-mask: linear-gradient(#0000, #0000) center / contain no-repeat; mask: linear-gradient(#0000, #0000) center / contain no-repeat; background: var(--k-ig-line, #1A1816); }
html:not(.js) .cl021 .cl021__div > i, html.kjy-opening .cl021 .cl021__div > i { -webkit-mask-image: url("/skins/ink_gold/assets/art/divider-lines.webp"); mask-image: url("/skins/ink_gold/assets/art/divider-lines.webp"); }
.cl021 .cl021__div > i + i { background: var(--k-ig-foil, linear-gradient(118deg, #8E6C42 0%, #B8935F 22%, #E9CA93 40%, #B8935F 58%, #E9CA93 76%, #8E6C42 100%)); }
html:not(.js) .cl021 .cl021__div > i + i, html.kjy-opening .cl021 .cl021__div > i + i { -webkit-mask-image: url("/skins/ink_gold/assets/art/divider-fills.svg"); mask-image: url("/skins/ink_gold/assets/art/divider-fills.svg"); }
.cl021 .cl021__div::before, .cl021 .cl021__div::after { content: ""; position: absolute; top: calc(50% - .5px); width: calc(var(--k-ig-u, 1px) * 64); height: 1px; }
.cl021 .cl021__div::before { right: calc(100% + var(--k-ig-u, 1px) * 12); background: linear-gradient(90deg, transparent, var(--k-ig-metal, #B8935F)); transform-origin: 100% 50%; }
.cl021 .cl021__div::after { left: calc(100% + var(--k-ig-u, 1px) * 12); background: linear-gradient(270deg, transparent, var(--k-ig-metal, #B8935F)); transform-origin: 0 50%; }
@media (min-aspect-ratio: 1/1) {
  .cl021 .cl021__div { width: calc(var(--k-ig-u, 1px) * 240); }
  .cl021 .cl021__div::before, .cl021 .cl021__div::after { width: calc(var(--k-ig-u, 1px) * 170); }
}

/* the print entrance (section.js) */
html.kjy-fx:not(.kjy-lite) .cl021 { --cl021-dh: 0; --cl021-ds: 0; }
html.kjy-fx:not(.kjy-lite) .cl021 [data-cl021-in],
html.kjy-fx:not(.kjy-lite) .cl021 [data-cl021-foot] { opacity: 0; transform: translateY(6px); }
/* the pen lines (section.js) sit over the stencils they replace; the stencils come back if no pen arrives in 3 s */
.cl021 .cl021__pen { position: absolute; inset: 0; width: 100%; height: 100%; }
html.js:not(.motion-reduce) .cl021 [data-cl021-pen].is-pen-wait:not(.is-pen) > i { opacity: 0; animation: cl021-fb .4s ease 3s both; }
html.js:not(.motion-reduce) .cl021 [data-cl021-pen].is-pen > i { display: none; }
@keyframes cl021-fb { from { opacity: 0; } to { opacity: 1; } }
/* laptops: a wider foot (garland 760 px x k), bigger sprays, a wider divider */
@media (min-aspect-ratio: 5/4) and (min-width: 1100px) {
  .cl021 { --cl021-ch: calc(var(--cl021-u) * 250); --cl021-gw: calc(var(--cl021-u) * 760); --cl021-gwu: calc(var(--cl021-u) * 760); }
  .cl021 .cl021__spl, .cl021 .cl021__spr { width: min(calc(var(--cl021-u) * 340), calc((100% - var(--cl021-u) * 760) / 2 - 24px)); }
  .cl021 .cl021__div { width: calc(var(--k-ig-u, 1px) * 300); }
  .cl021 .cl021__div::before, .cl021 .cl021__div::after { width: calc(var(--k-ig-u, 1px) * 220); }
  .cl021 .cl021__line { font-size: calc(var(--cl021-u) * 26); }
}
/* signed at the foot: the couple's initials write themselves in gold under the garland, ringed by a few stars that
   sparkle on their own beat (resting off screen). Still: written, the stars shown. */
.cl021 .cl021__sign { position: relative; z-index: 2; width: min(calc(var(--cl021-u) * 240), 72%); aspect-ratio: 2.381; margin: calc(var(--cl021-u) * 6) auto 0; display: grid; place-items: center; }
.cl021 .cl021__ini { position: relative; z-index: 1; font: 400 calc(var(--cl021-u) * 34) / 1 var(--k-font-script, "Allison", cursive); white-space: nowrap;
  background: var(--k-ig-foil, linear-gradient(118deg, #8E6C42 0%, #B8935F 22%, #E9CA93 40%, #B8935F 58%, #E9CA93 76%, #8E6C42 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl021 .cl021__ini .k-ink { background: inherit; -webkit-background-clip: text; background-clip: text; }
.cl021 .cl021__n { display: inline-block; font-size: 0; }
.cl021 .cl021__n::first-letter { font-size: calc(var(--cl021-u) * 34); }
.cl021 .cl021__amp { display: inline-block; margin: 0 .22em; font-size: .62em; vertical-align: .08em; }
.cl021 .cl021__tw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cl021 .cl021__tw--wide { display: none; }
.cl021 .cl021-s1 { stop-color: var(--k-ig-foil-lo, #8E6C42); }
.cl021 .cl021-s2 { stop-color: var(--k-ig-metal, #B8935F); }
.cl021 .cl021-s3 { stop-color: var(--k-ig-foil-hi, #E9CA93); }
.cl021 .cl021__s { opacity: .8; transform-box: fill-box; transform-origin: center; }
html.kjy-fx:not(.kjy-lite):not(.motion-reduce) .cl021 .cl021__s { opacity: 0; animation: cl021-tw var(--cl021-p, 3s) ease-in-out var(--cl021-t, 0s) infinite; }
html.kjy-fx .cl021.is-off .cl021__s { animation-play-state: paused; }
@keyframes cl021-tw { 0%, 100% { opacity: 0; transform: scale(.55); } 45% { opacity: 1; transform: scale(1); } 62% { opacity: .85; transform: scale(.92); } }
@media (min-aspect-ratio: 1/1) {
  .cl021 .cl021__sign { width: calc(var(--cl021-u) * 420); max-width: 90%; aspect-ratio: 4.286; }
  .cl021 .cl021__tw--tall { display: none; }
  .cl021 .cl021__tw--wide { display: block; }
}
@media (min-aspect-ratio: 5/4) and (min-width: 1100px) {
  .cl021 .cl021__ini { font-size: calc(var(--cl021-u) * 44); }
  .cl021 .cl021__n::first-letter { font-size: calc(var(--cl021-u) * 44); }
}
/* more air before and after the divider */
.cl021 .cl021__div { margin-top: calc(var(--k-ig-gap, 72px) / 2 * (var(--k-igl-air, 1.6) - 1)); margin-bottom: calc(var(--k-ig-u, 1px) * 36 * var(--k-igl-air, 1.6)); }
/* a hand-drawn gold ring draws round the signed initials once they are written (the pen overruns its start, as a hand does) */
.cl021 .cl021__ring { position: absolute; left: 50%; top: 50%; width: calc(var(--cl021-u) * 128); height: auto; aspect-ratio: 2.4; translate: -50% -50%;
  max-width: none; overflow: visible; pointer-events: none; }
.cl021 .cl021__ring path { fill: none; stroke: url(#cl021-rg); stroke-width: 2.2; stroke-linecap: round; stroke-dashoffset: 0; }
html.kjy-fx:not(.kjy-lite):not(.motion-reduce) .cl021 .cl021__ring path { stroke-dashoffset: 517.6; transition: stroke-dashoffset 1.2s cubic-bezier(.45, .05, .35, 1); }
html.kjy-fx:not(.kjy-lite):not(.motion-reduce) .cl021 .cl021__ini.is-done + .cl021__ring path { stroke-dashoffset: 0; }
@media (min-aspect-ratio: 1/1) { .cl021 .cl021__ring { width: calc(var(--cl021-u) * 166); } }
/* the colophon: the book's last page, a printed note and the gold pen that drew it all, capped and laid down. It draws
   once (section.js arms it); without script, in lite and in reduced motion it shows finished, the pen capped. */
.cl021 .cl021__colo { position: relative; z-index: 2; width: var(--k-cw, calc(100% - 40px)); margin: calc(var(--cl021-u) * 18) auto 0; }
.cl021 .cl021__cr { display: block; width: calc(var(--cl021-u) * 40); height: 1px; margin: 0 auto calc(var(--cl021-u) * 12); background: var(--k-ig-metal, #B8935F); }
.cl021 .cl021__ck, .cl021 .cl021__cv { margin: 0; font: 500 calc(var(--cl021-u) * 9) / 1.6 var(--k-font-caps, "Montserrat", system-ui, sans-serif);
  letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; color: var(--k-ig-foil-lo, #8E6C42); }
.cl021 .cl021__cv { margin-top: calc(var(--cl021-u) * 2); color: rgb(56 52 44 / .6); }
.cl021 .cl021__cf { margin: calc(var(--cl021-u) * 4) 0 0; font: 400 calc(var(--cl021-u) * 14) / 1.4 var(--k-font-display, "Young Serif", Georgia, serif); color: rgb(56 52 44 / .85); }
.cl021 .cl021__cpen { position: relative; width: calc(var(--cl021-u) * 150); margin: calc(var(--cl021-u) * 18) auto 0; rotate: -9deg; }
.cl021 .cl021__pendefs { position: absolute; }
.cl021 .cl021__cpen svg { display: block; width: 100%; height: auto; overflow: visible; }
.cl021 .cl021__pb { display: block; clip-path: inset(-30% 47% -30% -10%); transition: clip-path .5s cubic-bezier(.3, .7, .2, 1); }
.cl021 .cl021__pc { position: absolute; top: 0; left: 51.8%; width: 49.26%; margin-top: -1.36%; transition: translate .5s cubic-bezier(.3, .7, .2, 1); }
.cl021 .cl021__pc svg { transform: scaleX(-1); }
.cl021 .cl021__igl path { fill: none; stroke: url(#cl021-pf); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.cl021 .cl021__pc .cl021__igl path { stroke-width: 20; }
html.js:not(.motion-reduce):not(.kjy-lite) .cl021.is-arm .cl021__colo:not(.is-in) > :is(p, i) { opacity: 0; translate: 0 calc(var(--cl021-u) * 8); }
.cl021.is-arm .cl021__colo.is-in > :is(p, i) { transition: opacity .6s ease-out calc(var(--cl021-i, 0) * 60ms), translate .6s cubic-bezier(.2, .7, .2, 1) calc(var(--cl021-i, 0) * 60ms); }
html.js:not(.motion-reduce):not(.kjy-lite) .cl021.is-arm .cl021__igl path { stroke-dasharray: var(--cl021-l) var(--cl021-l); stroke-dashoffset: var(--cl021-l); }
html.js:not(.motion-reduce):not(.kjy-lite) .cl021.is-arm .cl021__colo.is-in .cl021__pb .cl021__igl path { stroke-dashoffset: 0; transition: stroke-dashoffset calc(var(--cl021-d) * 1100ms) ease-in-out calc(300ms + var(--cl021-a) * 1100ms); }
html.js:not(.motion-reduce):not(.kjy-lite) .cl021.is-arm .cl021__colo.is-in .cl021__pc .cl021__igl path { stroke-dashoffset: 0; transition: stroke-dashoffset calc(var(--cl021-d) * 500ms) ease-in-out calc(1000ms + var(--cl021-a) * 500ms); }
html.js:not(.motion-reduce):not(.kjy-lite) .cl021.is-arm .cl021__colo:not(.is-capped) .cl021__pc { translate: 100% 0; transition: none; }
html.js:not(.motion-reduce):not(.kjy-lite) .cl021.is-arm .cl021__colo:not(.is-capped) .cl021__pb { clip-path: inset(-30% -2% -30% -10%); transition: none; }
.cl021.is-arm .cl021__colo.is-done .cl021__cpen { animation: cl021-settle .3s ease-out both; }
@keyframes cl021-settle { from { transform: rotate(-1.5deg); } to { transform: none; } }
@media (min-aspect-ratio: 1/1) { .cl021 .cl021__cpen { width: calc(var(--cl021-u) * 190); } }
