/* Venue in gold · Luxe (core/venue/014). Printed on the sheet under a small gilded arch: "The venue", the venue in script
   (it rises through the arch in gold leaf), the ornament, the address, the couple's photo as a print in a double gold frame
   (outer foil 1.2 px at 6 px, inner gold ink .6 px at 10 px) that slides out with the scroll (a clip scrubbed in
   section.js; without JS it shows), a spray over the frame's top-left corner, or a small spray when there is no photo,
   and Get directions. One venue (venue_main). cqw resolves against the column. */
@property --vn014-arch-a { syntax: "<angle>"; inherits: true; initial-value: 180deg; }
.vn014 { --vn014-ry: clamp(60px, 21vw, 170px); --vn014-spray: calc(var(--k-ga-k, 1) * 120px); padding: calc(var(--k-ga-gap) / 2) 0; color: var(--k-ink); text-align: center; }
.vn014 .vn014__in { position: relative; }
.vn014 .vn014__kicker { margin: 0 0 clamp(6px, 2cqw, 12px); }
.vn014 .vn014__name { margin: 0; text-wrap: balance; font: 400 clamp(30px, 9cqw, 48px)/1.15 var(--k-font-script); font-variant-numeric: lining-nums; color: var(--k-gold-ink); }
.vn014 .vn014-rule { display: block; width: clamp(110px, 34cqw, 190px); height: auto; margin: clamp(8px, 2.4cqw, 14px) auto clamp(12px, 3.4cqw, 18px);
  color: var(--k-line); overflow: visible; transform-origin: 50% 50%; }
.vn014 .vn014__addr { max-inline-size: 24em; margin: 0 auto; text-wrap: balance; font: 600 clamp(10.5px, 2.9cqw, 14px)/1.65 var(--k-font-display); font-variant-numeric: lining-nums;
  letter-spacing: .14em; text-transform: uppercase; color: var(--k-ink-soft); }

/* the print: the shadow sits on the link so it follows the clip; both gold lines are inside the clip */
.vn014 .vn014__frame { position: relative; width: 84cqw; margin: calc(var(--vn014-spray) * .42 + 12px) auto 0; }
.vn014 .vn014__lead { display: block;
  filter: drop-shadow(0 1px 1px rgb(66 46 18 / .18)) drop-shadow(0 8px 12px rgb(66 46 18 / .18)); }
.vn014 .vn014__print { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  clip-path: inset(0 0 0 0 round 50% 50% 0 0 / var(--vn014-ry) var(--vn014-ry) 0 0); }
/* the print comes out of its arch with the scroll only while the motion runs: lite or a missing kjy-fx shows it whole */
html.kjy-fx:not(.kjy-lite) .vn014 .vn014__print { clip-path: inset(var(--vn014-cut, 0%) 0 0 0 round 50% 50% 0 0 / var(--vn014-ry) var(--vn014-ry) 0 0); }
/* the arched mount: two gold rules whose tops are one arch, the keystone at the apex; traced from the keystone down both
   sides once the print is out (section.js arms it) */
.vn014 .vn014__frm { position: absolute; z-index: 1; inset: 2px 6px 6px; pointer-events: none;
  -webkit-mask: conic-gradient(#000 var(--vn014-arch-a), transparent 0 calc(360deg - var(--vn014-arch-a)), #000 0);
  mask: conic-gradient(#000 var(--vn014-arch-a), transparent 0 calc(360deg - var(--vn014-arch-a)), #000 0); }
.vn014 .vn014__frm::before, .vn014 .vn014__frm::after { content: ""; position: absolute; inset: 4px 0 0; border: 1.1px solid #A3834A;
  border-radius: 50% 50% 0 0 / calc(var(--vn014-ry) - 6px) calc(var(--vn014-ry) - 6px) 0 0; }
.vn014 .vn014__frm::after { inset: 8px 4px 4px; border: .6px solid #B89A62; border-radius: 50% 50% 0 0 / calc(var(--vn014-ry) - 10px) calc(var(--vn014-ry) - 10px) 0 0; }
.vn014 .vn014__frm b { position: absolute; left: 50%; top: .5px; width: 7px; height: 7px; margin-left: -3.5px; background: #A3834A; rotate: 45deg; }
html.kjy-fx:not(.kjy-lite):not(.motion-reduce) .vn014__print.k-wait .vn014__frm { --vn014-arch-a: 0deg; }
html.kjy-fx:not(.kjy-lite):not(.motion-reduce) .vn014__print.k-wait .vn014__frm b { opacity: 0; translate: 0 -4px; }
.vn014__print.k-in .vn014__frm { --vn014-arch-a: 180deg; transition: --vn014-arch-a 1500ms var(--k-gild-ease) 250ms; }
.vn014__print.k-in .vn014__frm b { transition: opacity 300ms ease, translate 400ms var(--k-print-ease); }
/* the photo rises into the mount as it slides out, then drifts a little with the scroll (far); 6 % spare above and below */
.vn014 .vn014__lead-img { position: absolute; left: 0; top: -6%; display: block; width: 100%; height: 112%; object-fit: cover; object-position: var(--vn014-pos, 50% 50%);
  translate: 0 calc((1 - var(--vn014-q, 1)) * 24px + (var(--vn014-dz, .5) - .5) * 24px); }
.vn014 .vn014__spray, .vn014 .vn014__small { display: block; pointer-events: none; background: center / contain no-repeat; }
.vn014 .vn014__spray { position: absolute; z-index: 2; left: calc(var(--vn014-spray) * -.34); top: calc(var(--vn014-ry) * .35 - var(--vn014-spray) * .5);
  width: var(--vn014-spray); aspect-ratio: var(--k-ga-ar-spray-tl, .9816); background-image: var(--k-ga-art-spray-tl);
  translate: 0 calc(var(--vn014-dz, 0) * -36px); filter: drop-shadow(0 8px 12px rgb(66 46 18 / .2)); }
.vn014 .vn014__small { position: relative; width: calc(var(--k-ga-k, 1) * 140px); aspect-ratio: var(--k-ga-ar-spray-br, 1.0063);
  margin: clamp(16px, 5cqw, 28px) auto 0; background-image: var(--k-ga-art-spray-br); }
.vn014 .vn014__go { margin: clamp(22px, 6.4cqw, 34px) 0 0; }
.vn014 .vn014__btn { display: inline-flex; align-items: center; gap: .6em; }
.vn014 .vn014__ico { width: 1.1em; height: 1.1em; }

/* the gilded arch above (the skin draws it; a width of its own for other skins); the words are the skin's Luxe entrance,
   the address phrase by phrase (inline, so it breaks as the still does) */
.vn014 .k-aj { width: var(--k-aj-w, min(210px, 58%)); }

/* The viewer (vn005's, forked via vn009): a modal <dialog> made on the first tap, the photo on a paper mat over ink */
.vn014__view {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgb(47 42 34 / .92); color: #FBF8F1;
  overflow: hidden; overscroll-behavior: contain; touch-action: pinch-zoom;
}
.vn014__view::backdrop { background: rgb(47 42 34 / .92); }
.vn014__view[open] { animation: vn014-in .22s ease-out; }
@keyframes vn014-in { from { opacity: 0; } }
.vn014__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));
}
.vn014__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;
}
.vn014__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, #FBF8F1); user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / .5);
}
.vn014__view-cap {
  max-width: 60ch; margin-top: 12px; text-align: center; text-wrap: balance;
  font: 600 clamp(10px, 2.8vw, 13px)/1.6 var(--k-font-display); font-variant-numeric: lining-nums; letter-spacing: .14em; text-transform: uppercase; color: #FBF8F1;
}
.vn014__view-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 2px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vn014__view-btn[hidden] { display: none; }
.vn014__view-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.vn014__view-close {
  position: absolute; z-index: 2; top: calc(16px + env(safe-area-inset-top)); right: calc(16px + env(safe-area-inset-right));
  background: #FBF8F1; color: #2F2A22; border: 1px solid #B89A62;
}
.vn014__view-prev, .vn014__view-next { background: #FBF8F1; color: #2F2A22; border: 1px solid #B89A62; }
.vn014__view-prev { grid-area: prev; justify-self: end; }
.vn014__view-next { grid-area: next; justify-self: start; }
.vn014__view-close:focus-visible, .vn014__view-prev:focus-visible, .vn014__view-next:focus-visible { outline: 2px solid #C6A866; outline-offset: 3px; }

/* on computers the sheet's column is about 90 % wide (skin), so the print keeps a desktop size (84cqw would make a
   1090 x 818 px print at 1440 px) */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) and (hover: hover) and (pointer: fine) { .vn014 .vn014__frame { width: min(84cqw, 720px); } }
