/* Venue prints · Luxe paper (core/venue/004) — fork of core/venue/003 for INV-01 Luxe (finish w1): each
   card is Luxe paper (ivory cotton + a gold edge, GLPAPER block), with room inside the gold edge so the lead print sits
   matted within it; the small prints have warm ivory mats. From core/venue/003 — inv01_v2 w2: a card per venue (up to 3), each with its real photos
   as prints — a 4:3 lead print and one or two small matted prints tilted over its lower edge — then the venue, the
   address, the events held there and Get directions. A venue with no photos shows the skin's medallion, never an empty
   frame. Venues past the third are short lines with a Directions button. A light part over the skin's light ground.
   Still states: the base CSS is the still look (lead image 100% tall, nothing moved). The window parallax switches on
   only when the script adds .is-par, and the lite look switches it straight back off. The viewer (a <dialog>) is made
   by the script on the first tap; without the script the photo link opens the photo itself. */
/*GLPAPER-CSS>*/
.vn019 { --vn019-ivory: #FFFFFF; }
.vn019-paper { position: relative; isolation: isolate; border: 0; border-radius: 3px;
  background: radial-gradient(120% 90% at 18% 0%, rgb(255 255 255 / .55), transparent 60%), linear-gradient(160deg, transparent 55%, rgb(96 86 128 / .03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .36  0 0 0 0 .26  .14 0 0 0 -.055'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='l' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  -.14 0 0 0 .085'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23l)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .4  0 0 0 0 .3  .07 0 0 0 -.02'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23m)'/%3E%3C/svg%3E"),
    var(--vn019-ivory);
  box-shadow: 0 0 0 .5px rgb(52 46 74 / .07), 0 1px 1px rgb(52 46 74 / .08), 0 3px 2px -1px rgb(52 46 74 / .05), 0 22px 44px -18px rgb(68 58 98 / .22); }
.vn019-paper__deboss, .vn019-paper__foil { position: absolute; z-index: 0; pointer-events: none; }
.vn019-paper__deboss { inset: 12px; border-radius: 2px; box-shadow: inset 1px 1px 0 rgb(90 80 120 / .16), inset -1px -1px 0 rgb(255 255 255 / .9), 1px 1px 0 rgb(255 255 255 / .9), -1px -1px 0 rgb(90 80 120 / .12); }
.vn019-paper__foil { inset: 18px; border-radius: 1px; border: 1.5px solid rgb(150 144 172 / .7); }
@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
  .vn019-paper__foil { border: 0; padding: 1.5px; background: linear-gradient(118deg, #726C8C, #ADA8C2 22%, #E6E3EF 42%, #ADA8C2 60%, #726C8C 80%, #ADA8C2) 100% 0 / 260% 100% border-box;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
  .vn019-paper.is-lit .vn019-paper__foil { animation: vn019-glint 1.4s cubic-bezier(.45, 0, .25, 1) 1 both; }
}
@keyframes vn019-glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
html.motion-reduce .vn019-paper.is-lit .vn019-paper__foil { animation: none; }
@media (prefers-reduced-motion: reduce) { .vn019-paper.is-lit .vn019-paper__foil { animation: none; } }
/*<GLPAPER-CSS*/
.vn019 { background: var(--k-light-ground); color: var(--k-ink); }
.vn019__inner {
  position: relative; z-index: 1;
  max-width: calc(1040px + 2 * var(--k-gutter)); margin: 0 auto;
  padding: var(--k-section-pad) var(--k-gutter) 0; text-align: center;
}
.vn019 .k-kicker + .k-title { margin-top: var(--k-s-2); }

/* The cards */
.vn019__list { display: grid; gap: var(--k-s-8); max-width: 640px; margin: var(--k-s-7) auto 0; }
.vn019__card { padding: 28px; } /* the gold edge sits 18 px in: the lead print clears it by 10 px */
@media (min-width: 768px) { .vn019__card { padding: 32px; } }

/* The prints */
.vn019__prints { position: relative; }
.vn019__lead {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px;
  background: rgb(var(--c-secondary-rgb) / .14);
}
.vn019__lead-img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--vn019-pos, 50% 50%);
}
/* window parallax: the image is taller than its frame and slides inside it (the script tweens yPercent -6 -> 6) */
.vn019.is-par .vn019__lead-img { top: -8%; height: 116%; }
.vn019__rest {
  position: relative; z-index: 1; display: flex; justify-content: space-between; gap: var(--k-s-3);
  margin-top: -28px; padding: 0 6%;
}
.vn019__rest--one { justify-content: flex-end; }
.vn019__small { display: block; width: 42%; }
.vn019__rest--one .vn019__small { width: 46%; }
.vn019__small-img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 6px; background: #FFFFFF; border-radius: 2px;
  object-fit: cover; object-position: var(--vn019-pos, 50% 50%);
  box-shadow: 0 12px 24px -14px rgb(var(--c-primary-rgb) / .6), 0 1px 2px rgb(52 46 74 / .08);
  transform: rotate(-2deg);
}
.vn019__small + .vn019__small .vn019__small-img { transform: rotate(2.5deg); }
.vn019__lead:focus-visible, .vn019__small:focus-visible { outline-offset: 4px; }
html.kjy-lite .vn019.is-par .vn019__lead-img { top: 0; height: 100%; transform: none !important; }
html.kjy-lite .vn019 .vn019__small { transform: none !important; }
.vn019__orn { width: 72px; height: 72px; margin: var(--k-s-5) auto 0; color: var(--c-secondary); }

/* The details */
.vn019__info { padding: var(--k-s-5) var(--k-s-2) var(--k-s-3); }
.vn019__name {
  font: 600 clamp(1.375rem, 5.6vw, 1.75rem)/1.25 var(--k-font-display); color: var(--c-primary-deep);
  overflow-wrap: anywhere; text-wrap: balance;
}
.vn019__addr {
  max-width: 34ch; margin: var(--k-s-2) auto 0;
  font: 500 1rem/1.5 var(--k-font-body); color: var(--k-ink-soft); text-wrap: balance;
}
/* each event on two lines (name, then day and time), so a long line never leaves "pm" on its own */
.vn019__events { display: grid; gap: var(--k-s-3); margin-top: var(--k-s-4); font: 500 1rem/1.45 var(--k-font-body); color: var(--k-ink); }
.vn019__ev, .vn019__when { display: block; }
.vn019__ev { font-weight: 600; }
.vn019__when { color: var(--k-ink-soft); }
.vn019__dot {
  display: inline-block; width: 6px; height: 6px; margin: 0 var(--k-s-2) 2px 0;
  border-radius: 50%; background: var(--c-secondary); vertical-align: middle;
}
.vn019__go { margin-top: var(--k-s-5); }
.vn019__btn { gap: 10px; }
.vn019__ico { width: 18px; height: 18px; flex: none; }

/* Venues past the third */
.vn019__more {
  max-width: 640px; margin: var(--k-s-7) auto 0; border-top: 1px solid var(--k-line);
}
.vn019__more-item { padding: var(--k-s-5) 0; border-bottom: 1px solid var(--k-line); }
.vn019__more-name { font: 600 1.25rem/1.3 var(--k-font-display); color: var(--c-primary-deep); overflow-wrap: anywhere; }
.vn019__more-ev { margin-top: var(--k-s-1); font: 500 1rem/1.45 var(--k-font-body); color: var(--k-ink-soft); text-wrap: balance; }
.vn019__more-btn { margin-top: var(--k-s-3); gap: 10px; }

/* tablets and laptops: the venue spans the screen less a thin margin (92 % / 90 %) */
@media (min-width: 768px) {
  .vn019 { --vn019-frame: 92vw; }
  .vn019__inner { max-width: none; width: var(--vn019-frame); padding-inline: 0; }
  .vn019__list, .vn019__more { max-width: none; }
}
/* Laptops: photos | details, alternating sides */
@media (min-width: 1100px) {
  .vn019 { --vn019-frame: min(90vw, 1728px); }
  .vn019__list { gap: var(--k-s-9); }
  .vn019__card { padding: 20px; }
  .vn019__card:not(.vn019__card--plain) { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--k-s-7); align-items: center; }
  .vn019__card:not(.vn019__card--plain):nth-child(even) { grid-template-columns: 1fr 1.2fr; }
  .vn019__card:not(.vn019__card--plain):nth-child(even) .vn019__prints { order: 2; }
  /* the roses part away from the words: each spray is cut at the photo column's inner edge, never crossing the details */
  .vn019__card:not(.vn019__card--plain) .vn019__prints { clip-path: inset(-120px 0 -120px -120px); }
  .vn019__card:not(.vn019__card--plain):nth-child(even) .vn019__prints { clip-path: inset(-120px -120px -120px 0); }
  .vn019__card--plain { width: 100%; max-width: min(100%, 880px); justify-self: center; }
  .vn019__card:not(.vn019__card--plain) .vn019__info { padding: var(--k-s-4) var(--k-s-4) var(--k-s-6); }
  .vn019__rest { margin-top: -40px; }
}

/* The viewer: the paper covers the whole page (no dark overlay); the photo sits on a white mat */
.vn019__view {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--k-paper, #F7F4FB); color: var(--k-ink);
  overflow: hidden; overscroll-behavior: contain; touch-action: pinch-zoom;
}
.vn019__view::backdrop { background: var(--k-paper, #F7F4FB); }
.vn019__view[open] { animation: vn019-in .22s ease-out; }
@keyframes vn019-in { from { opacity: 0; } }
.vn019__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: var(--k-s-4);
  padding: calc(76px + env(safe-area-inset-top)) var(--k-s-4) calc(var(--k-s-5) + env(safe-area-inset-bottom));
}
.vn019__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;
}
.vn019__view-img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: min(78vh, calc(100vh - 240px)); max-height: min(78svh, calc(100svh - 240px));
  object-fit: contain; padding: var(--k-s-2); background: #fff; border-radius: 2px; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 18px 40px -24px rgb(var(--c-primary-rgb) / .55), 0 1px 2px rgb(52 46 74 / .08);
}
.vn019__view-cap {
  max-width: 60ch; margin-top: var(--k-s-3); text-align: center;
  font: italic 500 1rem/1.45 var(--k-font-body); color: var(--k-ink-soft);
}
.vn019__view-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vn019__view-btn[hidden] { display: none; }
.vn019__view-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vn019__view-close {
  position: absolute; z-index: 2; top: calc(var(--k-s-4) + env(safe-area-inset-top)); right: calc(var(--k-s-4) + env(safe-area-inset-right));
  background: var(--c-primary); color: #fff; border: 1px solid var(--c-primary);
  box-shadow: 0 8px 20px -10px rgb(var(--c-primary-rgb) / .7);
}
.vn019__view-close:active { background: var(--c-primary-dark); }
.vn019__view-prev, .vn019__view-next {
  background: var(--k-card); color: var(--c-primary); border: 1px solid rgb(var(--c-primary-rgb) / .3);
  box-shadow: 0 8px 20px -12px rgb(var(--c-primary-rgb) / .5);
}
.vn019__view-prev { grid-area: prev; justify-self: end; }
.vn019__view-next { grid-area: next; justify-self: start; }
@media (min-width: 768px) {
  .vn019__view-in {
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "prev fig next"; gap: var(--k-s-5);
    padding: calc(76px + env(safe-area-inset-top)) var(--k-s-5) var(--k-s-5);
  }
  .vn019__view-prev, .vn019__view-next { justify-self: center; }
  .vn019__view-img { padding: var(--k-s-3); max-height: min(78vh, calc(100vh - 180px)); max-height: min(78svh, calc(100svh - 180px)); }
}
@media (min-width: 1200px) {
  .vn019__view-in { padding: var(--k-s-5); }
  .vn019__view-img { max-height: min(84vh, calc(100vh - 130px)); max-height: min(84svh, calc(100svh - 130px)); }
}

/* Lilac hour (INV-01 v2 · Luxe): two climbing-rose sprays lie over the lead print's edges and part as you scroll
   (forwards only), while a soft lilac glow settles on the photo. These are the still values (reduced motion,
   no script, lite): the sprays parted and the glow full. section.js starts them closed and opens them with the scroll. */
.vn019__card { overflow: clip; }
.vn019__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 78% 18%, rgb(214 190 255 / .38), rgb(190 160 245 / .14) 55%, rgb(180 150 240 / 0) 80%); }
.vn019-spray { position: absolute; z-index: 2; width: 60%; aspect-ratio: 1; pointer-events: none; opacity: .85; }
/* vertical margins in % follow the width: the lead print is 75 % as tall as it is wide, the sprays 60 % */
.vn019-spray--l { left: -4%; top: 0; margin-top: -6%; transform: translateX(-72%); }
.vn019-spray--r { right: -4%; top: 0; margin-top: calc(75% - 60% * .84); transform: translateX(72%); }
.vn019-ink { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.vn019-ink--leaf { background: var(--c-secondary-dark); }
.vn019-ink--leafdeep { background: color-mix(in oklab, var(--c-secondary-dark) 60%, var(--c-secondary-deep)); }
.vn019-spray--l .vn019-ink--leaf { -webkit-mask-image: var(--glk-card-tl-leaf); mask-image: var(--glk-card-tl-leaf); }
.vn019-spray--l .vn019-ink--leafdeep { -webkit-mask-image: var(--glk-card-tl-leafdeep); mask-image: var(--glk-card-tl-leafdeep); }
.vn019-spray--r .vn019-ink--leaf { -webkit-mask-image: var(--glk-card-br-leaf); mask-image: var(--glk-card-br-leaf); }
.vn019-spray--r .vn019-ink--leafdeep { -webkit-mask-image: var(--glk-card-br-leafdeep); mask-image: var(--glk-card-br-leafdeep); }
.vn019-rose { position: absolute; left: var(--vn019-x); top: var(--vn019-y); width: var(--vn019-w); aspect-ratio: 1; translate: -50% -50%; }
.vn019-ink--body { background: var(--k-card, #FFFFFF); }
.vn019-rose--a .vn019-ink--petal { background: var(--c-primary); }
.vn019-rose--a .vn019-ink--deep { background: color-mix(in oklab, var(--c-primary) 65%, var(--c-primary-deep)); }
.vn019-rose--b .vn019-ink--petal { background: #5B4F80; }
.vn019-rose--b .vn019-ink--deep { background: #3D3460; }
.vn019-ink--rleaf { background: var(--c-secondary-dark); }
.vn019-ink--centre { background: #8F8045; }
.vn019-rose--a .vn019-ink--body { -webkit-mask-image: var(--glk-rose-a-3-body); mask-image: var(--glk-rose-a-3-body); }
.vn019-rose--a .vn019-ink--petal { -webkit-mask-image: var(--glk-rose-a-3-petal); mask-image: var(--glk-rose-a-3-petal); }
.vn019-rose--a .vn019-ink--deep { -webkit-mask-image: var(--glk-rose-a-3-deep); mask-image: var(--glk-rose-a-3-deep); }
.vn019-rose--b .vn019-ink--body { -webkit-mask-image: var(--glk-rose-b-3-body); mask-image: var(--glk-rose-b-3-body); }
.vn019-rose--b .vn019-ink--petal { -webkit-mask-image: var(--glk-rose-b-3-petal); mask-image: var(--glk-rose-b-3-petal); }
.vn019-rose--b .vn019-ink--deep { -webkit-mask-image: var(--glk-rose-b-3-deep); mask-image: var(--glk-rose-b-3-deep); }
.vn019-rose--b .vn019-ink--rleaf { -webkit-mask-image: var(--glk-rose-b-3-leaf); mask-image: var(--glk-rose-b-3-leaf); }
.vn019-rose--b .vn019-ink--centre { -webkit-mask-image: var(--glk-rose-b-3-centre); mask-image: var(--glk-rose-b-3-centre); }
