/* Venue in ink · Luxe: INV-14 Ink & Gold · Luxe. On the one bright sheet: the flower divider (a pen line drawn by the
   scroll), "The venue", the venue in Allison, the address in caps, the couple's photo as a print that slides out with
   the scroll (a clip scrubbed in section.js; without JS it shows) while its 1.2 px ink frame draws itself round it, top,
   right, bottom, left (inside it a .6 px foil line), a fine spray in pen lines growing over the frame's top-left corner,
   or the whole bouquet when there is no photo, and Get directions. One venue (venue_main). Laptops: the photo beside the
   words. The art waits for the tap. */
.vn018 { --vn018-u: var(--k-ig-u, 1px); --vn018-dh: 1; --vn018-ds: 1; --vn018-sw: calc(var(--vn018-u) * 100);
  --vn018-sh: calc(var(--vn018-sw) / 1.0434); --vn018-fp: 1;
  padding: calc(var(--k-ig-gap, 72px) / 2) 0; color: var(--k-ink, #38342C); text-align: center; }
.vn018 .vn018__div::before, .vn018 .vn018__div::after { transform: scaleX(var(--vn018-dh)); }
.vn018 .vn018__div > i { opacity: var(--vn018-ds); }
.vn018 .vn018__in { position: relative; }
.vn018 .vn018__kicker { margin: 0 0 calc(var(--vn018-u) * 6); }
.vn018 .vn018__name { margin: 0; text-wrap: balance; font: 400 calc(var(--vn018-u) * 44)/1.05 var(--k-font-script, "Allison", cursive); color: var(--k-ink, #38342C); }
.vn018 .vn018__addr { max-inline-size: 26em; margin: calc(var(--vn018-u) * 8) auto 0; text-wrap: balance; font: 500 calc(var(--vn018-u) * 10.5)/1.7 var(--k-font-caps, "Montserrat", system-ui, sans-serif);
  letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; color: var(--k-ink-soft, #5C564C); }

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

/* the print: the shadow sits on the link so it follows the clip; the foil line is inside the clip, the ink frame is four
   edges outside it that draw in turn (--vn018-fp). The spray stands over the frame's top-left corner, whole; the frame
   drops by its upper part so it never reaches the address */
.vn018 .vn018__frame { position: relative; width: 84cqw; margin: calc(var(--vn018-sh) * .7 + 12px) auto 0; }
.vn018 .vn018__lead { display: block; filter: drop-shadow(0 1px 1px rgb(40 36 30 / .14)) drop-shadow(0 8px 12px rgb(40 36 30 / .14)); }
.vn018 .vn018__print { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; clip-path: inset(var(--vn018-cut, 0%) 0 0 0); }
.vn018 .vn018__e { position: absolute; z-index: 1; background: var(--k-ig-line, #1A1816); pointer-events: none; }
.vn018 .vn018__e--t { left: 6px; right: 6px; top: 6px; height: 1.2px; transform-origin: 0 50%; transform: scaleX(clamp(0, calc(var(--vn018-fp) * 4), 1)); }
.vn018 .vn018__e--r { top: 6px; bottom: 6px; right: 6px; width: 1.2px; transform-origin: 50% 0; transform: scaleY(clamp(0, calc(var(--vn018-fp) * 4 - 1), 1)); }
.vn018 .vn018__e--b { left: 6px; right: 6px; bottom: 6px; height: 1.2px; transform-origin: 100% 50%; transform: scaleX(clamp(0, calc(var(--vn018-fp) * 4 - 2), 1)); }
.vn018 .vn018__e--l { top: 6px; bottom: 6px; left: 6px; width: 1.2px; transform-origin: 50% 100%; transform: scaleY(clamp(0, calc(var(--vn018-fp) * 4 - 3), 1)); }
.vn018 .vn018__print::after { content: ""; position: absolute; z-index: 1; inset: 10px; border: .6px solid #B8935F;
  border-image: var(--k-ig-foil, linear-gradient(118deg, #8E6C42 0%, #B8935F 22%, #E9CA93 40%, #B8935F 58%, #E9CA93 76%, #8E6C42 100%)) 1; pointer-events: none; }
.vn018 .vn018__lead-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--vn018-pos, 50% 50%); }
/* never past the column's edge: the frame sits 8cqw inside the column */
.vn018 .vn018__sprig { position: absolute; z-index: 2; left: max(calc(var(--vn018-sw) * -.3), calc(4px - 8cqw)); top: calc(var(--vn018-sh) * -.7); width: var(--vn018-sw); }
.vn018 .vn018__nophoto { position: relative; width: calc(var(--vn018-u) * 140); margin: calc(var(--vn018-u) * 22) auto 0; }
.vn018 .vn018__go { margin: calc(var(--vn018-u) * 28) 0 0; }
.vn018 .vn018__btn { display: inline-flex; align-items: center; gap: .6em; }
.vn018 .vn018__ico { width: 1.1em; height: 1.1em; }
/* on computers the column is the measure, so the print keeps a desktop size */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) and (hover: hover) and (pointer: fine) { .vn018 .vn018__frame { width: min(84cqw, 720px); } }

/* the stencils, loaded only once the guest opens the invitation (the spray is the pen's fallback) */
.vn018 .vn018__sprig { aspect-ratio: 1.0434; }
.vn018 .vn018__sprig > .vn018__l { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .vn018 .vn018__sprig > .vn018__l, html.kjy-opening .vn018 .vn018__sprig > .vn018__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"); }
.vn018 .vn018__sprig > .vn018__f { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .vn018 .vn018__sprig > .vn018__f, html.kjy-opening .vn018 .vn018__sprig > .vn018__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"); }
.vn018 .vn018__nophoto { aspect-ratio: 0.6725; }
.vn018 .vn018__nophoto > .vn018__l { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .vn018 .vn018__nophoto > .vn018__l, html.kjy-opening .vn018 .vn018__nophoto > .vn018__l { -webkit-mask-image: url("/skins/ink_gold/assets/art/part-01-lines.webp"); mask-image: url("/skins/ink_gold/assets/art/part-01-lines.webp"); }
.vn018 .vn018__nophoto > .vn018__f { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
html:not(.js) .vn018 .vn018__nophoto > .vn018__f, html.kjy-opening .vn018 .vn018__nophoto > .vn018__f { -webkit-mask-image: url("/skins/ink_gold/assets/art/part-01-fills.svg"); mask-image: url("/skins/ink_gold/assets/art/part-01-fills.svg"); }
/* the flower divider (the stencil; the pen draws over it) */
.vn018 .vn018__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; }
.vn018 .vn018__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) .vn018 .vn018__div > i, html.kjy-opening .vn018 .vn018__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"); }
.vn018 .vn018__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) .vn018 .vn018__div > i + i, html.kjy-opening .vn018 .vn018__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"); }
.vn018 .vn018__div::before, .vn018 .vn018__div::after { content: ""; position: absolute; top: calc(50% - .5px); width: calc(var(--k-ig-u, 1px) * 64); height: 1px; }
.vn018 .vn018__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%; }
.vn018 .vn018__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) {
  .vn018 .vn018__div { width: calc(var(--k-ig-u, 1px) * 240); }
  .vn018 .vn018__div::before, .vn018 .vn018__div::after { width: calc(var(--k-ig-u, 1px) * 170); }
}

/* the print entrance (section.js) */
html.kjy-fx:not(.kjy-lite) .vn018 { --vn018-dh: 0; --vn018-ds: 0; --vn018-fp: 0; }
html.kjy-fx:not(.kjy-lite) .vn018 [data-vn018-in] { opacity: 0; transform: translateY(6px); }

/* The viewer (vn005's, forked via vn009): a modal <dialog> made on the first tap, the photo on a paper mat over ink */
.vn018__view {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgb(43 40 36 / .92); color: #FCF9F3;
  overflow: hidden; overscroll-behavior: contain; touch-action: pinch-zoom;
}
.vn018__view::backdrop { background: rgb(43 40 36 / .92); }
.vn018__view[open] { animation: vn018-in .22s ease-out; }
@keyframes vn018-in { from { opacity: 0; } }
.vn018__view-in {
  height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "fig fig" "prev next"; align-items: center; gap: 16px;
  padding: calc(76px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
}
.vn018__view-fig {
  grid-area: fig; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 0; min-height: 0; height: 100%; margin: 0;
}
.vn018__view-img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: min(80vh, calc(100vh - 220px)); max-height: min(80svh, calc(100svh - 220px));
  object-fit: contain; border: 8px solid var(--k-paper, #FCF9F3); user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / .5);
}
.vn018__view-cap {
  max-width: 60ch; margin-top: 12px; text-align: center; text-wrap: balance;
  font: 500 clamp(10px, 2.8vw, 13px)/1.6 var(--k-font-caps, "Montserrat", system-ui, sans-serif); font-variant-numeric: lining-nums; letter-spacing: .14em; text-transform: uppercase; color: #FCF9F3;
}
.vn018__view-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 2px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vn018__view-btn[hidden] { display: none; }
.vn018__view-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.vn018__view-close {
  position: absolute; z-index: 2; top: calc(16px + env(safe-area-inset-top)); right: calc(16px + env(safe-area-inset-right));
  background: #FCF9F3; color: #2B2824; border: 1px solid #5C564C;
}
.vn018__view-prev, .vn018__view-next { background: #FCF9F3; color: #2B2824; border: 1px solid #5C564C; }
.vn018__view-prev { grid-area: prev; justify-self: end; }
.vn018__view-next { grid-area: next; justify-self: start; }
.vn018__view-close:focus-visible, .vn018__view-prev:focus-visible, .vn018__view-next:focus-visible { outline: 2px solid #8E6C42; outline-offset: 3px; }
/* the pen lines (section.js) sit over the stencils they replace; the stencils come back if no pen arrives in 3 s */
.vn018 .vn018__pen { position: absolute; inset: 0; width: 100%; height: 100%; }
html.js:not(.motion-reduce) .vn018 [data-vn018-pen].is-pen-wait:not(.is-pen) > i { opacity: 0; animation: vn018-fb .4s ease 3s both; }
html.js:not(.motion-reduce) .vn018 [data-vn018-pen].is-pen > i { display: none; }
@keyframes vn018-fb { from { opacity: 0; } to { opacity: 1; } }
/* laptops: a wider card, the photo (a print 1.2 : 1 of the width) beside the words, a bigger name */
@media (min-aspect-ratio: 5/4) and (min-width: 1100px) {
  html .vn018 { width: min(var(--k-igl-frame, 90vw), 1240px); }
  .vn018 .vn018__in:has(.vn018__frame) { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: clamp(48px, 5vw, 96px);
    grid-template-areas: "ph ." "ph k" "ph n" "ph a" "ph g" "ph ."; grid-template-rows: 1fr auto auto auto auto 1fr; }
  .vn018 .vn018__in:has(.vn018__frame) > .vn018__frame { grid-area: ph; width: 100%; margin: calc(var(--vn018-sh) * .7 + 12px) 0 0; }
  .vn018 .vn018__in:has(.vn018__frame) > .vn018__kicker { grid-area: k; }
  .vn018 .vn018__in:has(.vn018__frame) > .vn018__name { grid-area: n; }
  .vn018 .vn018__in:has(.vn018__frame) > .vn018__addr { grid-area: a; }
  .vn018 .vn018__in:has(.vn018__frame) > .vn018__go { grid-area: g; }
  .vn018 .vn018__name { font-size: calc(var(--vn018-u) * 56); }
  .vn018 .vn018__addr { font-size: max(11.5px, calc(var(--vn018-u) * 11.5)); }
  .vn018 { --vn018-sw: calc(var(--vn018-u) * 130); }
  .vn018 .vn018__div { width: calc(var(--k-ig-u, 1px) * 300); }
  .vn018 .vn018__div::before, .vn018 .vn018__div::after { width: calc(var(--k-ig-u, 1px) * 220); }
}
/* the spray, lighter and behind the photo: a thinner line, less detail, peeking out from behind the top-left corner
   (the spray under the print, the ink frame over it) */
.vn018 .vn018__sprig { z-index: 0; left: max(calc(var(--vn018-sw) * -.42), calc(4px - 8cqw)); top: calc(var(--vn018-sh) * -.48); }
.vn018 .vn018__lead { position: relative; z-index: 1; }
.vn018 .vn018__e { z-index: 2; }
/* the photo shifts gently in its window with the scroll (it is 8 % taller than the window; translate only) */
.vn018 .vn018__lead-img, .vn018 .vn018__sepia { position: absolute; left: 0; top: -4%; width: 100%; height: 108%; object-fit: cover; object-position: var(--vn018-pos, 50% 50%);
  transform: translateY(var(--vn018-sy, 0%)); }
/* the photo develops from a warm sepia print to full colour as it slides out (a still sepia copy fades away) */
.vn018 .vn018__sepia { display: none; filter: sepia(.8) saturate(.6) contrast(.82) brightness(1.1); pointer-events: none; }
html.kjy-fx:not(.kjy-lite) .vn018.is-dev .vn018__sepia { display: block; opacity: calc(1 - clamp(0, (var(--vn018-fp, 1) - .3) * 1.6, 1)); }
/* the address arrives phrase by phrase (plain inline spans, so the lines break as the still's do) */
html.kjy-fx:not(.kjy-lite) .vn018 .vn018__addr.is-ph:not(.is-in) .vn018-ph { opacity: 0; }
html.kjy-fx:not(.kjy-lite) .vn018 .vn018__addr.is-ph.is-in .vn018-ph { transition: opacity 600ms ease calc(250ms + var(--vn018-p, 0) * 120ms); }
/* more air before and after the divider */
.vn018 .vn018__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)); }
/* gold photo corners slide in and hold the print, like a photo mounted in an album, as it finishes sliding out (they
   follow the slide's own value and stay; the still versions show them) */
.vn018 .vn018__pc { --vn018-pq: clamp(0, (var(--vn018-fp) - .82) * 5.6, 1); position: absolute; z-index: 3; width: calc(var(--vn018-u) * 26); aspect-ratio: 1;
  pointer-events: none; opacity: var(--vn018-pq); clip-path: polygon(0 0, 100% 0, 0 100%);
  background: linear-gradient(135deg, transparent 47%, rgb(60 44 20 / .5) 48.5% 50%, transparent 51.5%),
    var(--k-ig-foil, linear-gradient(118deg, #8E6C42 0%, #B8935F 22%, #E9CA93 40%, #B8935F 58%, #E9CA93 76%, #8E6C42 100%)); }
.vn018 .vn018__pc--tl { left: -3px; top: -3px; translate: calc((1 - var(--vn018-pq)) * -10px) calc((1 - var(--vn018-pq)) * -10px); }
.vn018 .vn018__pc--tr { right: -3px; top: -3px; transform: scaleX(-1); translate: calc((1 - var(--vn018-pq)) * 10px) calc((1 - var(--vn018-pq)) * -10px); }
.vn018 .vn018__pc--br { right: -3px; bottom: -3px; transform: scale(-1, -1); translate: calc((1 - var(--vn018-pq)) * 10px) calc((1 - var(--vn018-pq)) * 10px); }
.vn018 .vn018__pc--bl { left: -3px; bottom: -3px; transform: scaleY(-1); translate: calc((1 - var(--vn018-pq)) * -10px) calc((1 - var(--vn018-pq)) * 10px); }
@media (min-aspect-ratio: 1/1) { .vn018 .vn018__pc { width: calc(var(--vn018-u) * 30); } }
/* the ink drop at the heading: a dot lands above it, a short gold swash draws under it (KJY_IGDROP) */
.vn018 .vn018__idot { display: block; width: calc(var(--vn018-u) * 24); height: calc(var(--vn018-u) * 18); margin: 0 auto calc(var(--vn018-u) * 4); }
.vn018 .vn018__idot svg { display: block; width: 100%; height: 100%; overflow: visible; fill: var(--k-ink, #38342C); }
.vn018 .vn018__iswash { display: block; width: calc(var(--vn018-u) * 96); margin: calc(var(--vn018-u) * 8) auto 0; line-height: 0; }
.vn018 .vn018__iswash svg { display: block; width: 100%; height: auto; overflow: visible; }
.vn018 .vn018__iswash path { fill: none; stroke: var(--k-ig-metal, #B8935F); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-aspect-ratio: 1/1) { .vn018 .vn018__iswash { width: calc(var(--vn018-u) * 120); } }
/* a vellum tissue over the photo (in the frame, outside the print's shadow), like a plate in a fine book: it lifts away
   with the scroll, once, and the print develops beneath it (section.js). Without script, in lite and in reduced motion there is no tissue. */
.vn018 .vn018__tissue { display: none; position: absolute; inset: 0; z-index: 2; align-items: center; justify-content: center; pointer-events: none;
  background-color: rgb(250 247 240 / .96); background-image: linear-gradient(180deg, rgb(40 36 30 / .10), rgb(40 36 30 / 0) 6%), var(--k-grain, none);
  box-shadow: inset 0 0 0 1px rgb(40 36 30 / .07), 0 1px 3px rgb(40 36 30 / .08); }
html.kjy-fx:not(.kjy-lite):not(.motion-reduce) .vn018.is-dev .vn018__tissue:not(.is-lifted) { display: flex;
  translate: 0 calc(var(--vn018-tp, 0) * -14%); opacity: calc(1 - var(--vn018-tp, 0)); }
.vn018 .vn018__tn { max-width: 80%; text-align: center; font: 500 calc(var(--vn018-u) * 9) / 1.5 var(--k-font-caps, "Montserrat", sans-serif);
  letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: rgb(56 52 44 / .55); }
