/* core/venue/080 Tipped-in plate (INV-14B Ink & Bloom, A2199), lead colour leaf: each venue's photo is a plate tipped into the book,
   with a gold plate mark, a vellum tissue guard turned back at its head (printed with the venue's name, as real ones are) and a
   painted sprig. Two venues get a plate (owner, W1c); any more get a line, so no guest loses one. The engine hands over three cards,
   so the third is hidden here and printed again as the first line. Laptop: plate left, address right. The tissue
   rests turned back, so the photo is never hidden; a full sheet lifts to it with the finger (end of this file). */
.vn080 { text-align: center; }
.vn080__sp { margin-top: calc(var(--k-ig-u) * 24); }
.vn080-card + .vn080-card { margin-top: calc(var(--k-ig-u) * 40); }
.vn080-card:nth-of-type(n+3) { display: none; }
.vn080__more-c:nth-child(-n+2) { display: none; }
.vn080__more:not(:has(> :nth-child(3))) { display: none; }
.vn080__more-e + .vn080__more-e::before { content: "; "; }
.vn080__plate { position: relative; padding: calc(var(--k-ig-u) * 15); }
.vn080__lead { position: relative; display: block; }
.vn080__print { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.vn080__lead-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--vn080-pos, 50% 50%); }
.vn080__tissue { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: grid; place-items: center; height: 15%; background: rgb(253 251 245 / .86); box-shadow: 0 1px 2px rgb(43 40 36 / .12), 0 5px 9px -5px rgb(43 40 36 / .2); pointer-events: none; }
.vn080__tn { max-width: 88%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: italic 500 calc(var(--k-ig-u) * 14)/1.2 var(--k-font-book); color: var(--k-ink-soft); }
.vn080__sprig { position: absolute; z-index: 3; right: calc(var(--k-ig-u) * -14); bottom: calc(var(--k-ig-u) * -22); width: calc(var(--k-ig-u) * 62); aspect-ratio: 300 / 417; rotate: 12deg; background: center / contain no-repeat; pointer-events: none; }
html:not(.js) .vn080__sprig, html.kjy-opening .vn080__sprig { background-image: url("/skins/ink_bloom_luxe/assets/art/part-leaf.webp"); }
.vn080__rest { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--k-ig-u) * 8); margin-top: calc(var(--k-ig-u) * 8); }
.vn080__rest--one { grid-template-columns: 1fr; }
.vn080__small { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.vn080__rest--one .vn080__small { aspect-ratio: 3 / 1; }
.vn080__small-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--vn080-pos, 50% 50%); }
/* a venue with no photo: a painted flower on the plate */
.vn080__plate--none { display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; }
.vn080__plate--none i { position: absolute; }
.vn080__plate--none .k-ib-daub { width: 62%; left: 19%; top: 2%; opacity: .5; }
.vn080__none { width: 44%; aspect-ratio: 460 / 480; background: center / contain no-repeat; }
html:not(.js) .vn080__none, html.kjy-opening .vn080__none { background-image: url("/skins/ink_bloom_luxe/assets/art/part-fern.webp"); }
/* two plain venues don't repeat: each gets its own flower and colour */
html:not(.js) .vn080-card:nth-of-type(2) .vn080__none, html.kjy-opening .vn080-card:nth-of-type(2) .vn080__none { background-image: url("/skins/ink_bloom_luxe/assets/art/part-lily.webp"); }
.vn080-card:nth-of-type(2) .k-ib-daub { background: var(--kb-coral); }
.vn080__info { margin-top: calc(var(--k-ig-u) * 22); }
.vn080__name { font: 400 calc(var(--k-ig-u) * 25)/1.2 var(--k-font-display); color: var(--k-ink-body); text-wrap: balance; }
.vn080__addr { margin-top: calc(var(--k-ig-u) * 4); font: italic 500 calc(var(--k-ig-u) * 19)/1.3 var(--k-font-book); color: var(--k-ink-soft); text-wrap: balance; }
.vn080__evs { margin-top: calc(var(--k-ig-u) * 12); font: 500 calc(var(--k-ig-u) * 17)/1.4 var(--k-font-book); color: var(--k-ink-soft); }
.vn080__evs b { font: 500 calc(var(--k-ig-u) * 10)/1.4 var(--k-font-caps); letter-spacing: .14em; text-transform: uppercase; color: var(--kb-lead); }
.vn080__go { margin-top: calc(var(--k-ig-u) * 16); }
.vn080 .vn080__btn { background: var(--kb-lead); border-color: var(--kb-lead); }
.vn080 .vn080__btn:active { background: var(--kb-lead); filter: brightness(.88); }
.vn080__ico { width: 18px; height: 18px; flex: none; }
.vn080__more { margin-top: calc(var(--k-ig-u) * 26); font: italic 500 calc(var(--k-ig-u) * 17)/1.4 var(--k-font-book); color: var(--k-ink-soft); }
.vn080__more a { color: var(--kb-lead); text-underline-offset: .2em; }
@media (min-width: 1024px) and (min-aspect-ratio: 1/1) {
  .vn080__sp { row-gap: calc(var(--k-ig-u) * 34); min-height: 0; }
  .vn080-card { display: contents; }
  .vn080__plate { justify-self: end; width: min(100%, calc(var(--k-ig-u) * 500)); }
  .vn080__info { margin-top: 0; }
  .vn080__name { font-size: calc(var(--k-ig-u) * 36); }
  .vn080__addr { font-size: calc(var(--k-ig-u) * 23); }
  .vn080__evs { font-size: calc(var(--k-ig-u) * 19); }
  .vn080__evs b { font-size: calc(var(--k-ig-u) * 11); }
  .vn080__more { grid-column: 1 / -1; margin-top: 0; }
}

/* The viewer (vn005's, forked via vn009): a modal <dialog> made on the first tap, the photo on a paper mat over ink */
.vn080__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;
}
.vn080__view::backdrop { background: rgb(43 40 36 / .92); }
.vn080__view[open] { animation: vn080-in .22s ease-out; }
@keyframes vn080-in { from { opacity: 0; } }
.vn080__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));
}
.vn080__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;
}
.vn080__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);
}
.vn080__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;
}
.vn080__view-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 2px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vn080__view-btn[hidden] { display: none; }
.vn080__view-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.vn080__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;
}
.vn080__view-prev, .vn080__view-next { background: #FCF9F3; color: #2B2824; border: 1px solid #5C564C; }
.vn080__view-prev { grid-area: prev; justify-self: end; }
.vn080__view-next { grid-area: next; justify-self: start; }
.vn080__view-close:focus-visible, .vn080__view-prev:focus-visible, .vn080__view-next:focus-visible { outline: 2px solid #8E6C42; outline-offset: 3px; }
/* stage 2: the sheet lifts with the finger and leaves behind the turned-back band; .vn080__print clips it */
.vn080__veil { display: none; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgb(253 251 245 / .9); transform: translateY(calc(var(--vn080-tp, 0) * -100%)); }
html.kjy-fx:not(.kjy-lite) .vn080__print:not(.is-lifted) .vn080__veil { display: block; }
