/* vn060 Glass-mounted venues (INV-03 Satin Glass · Luxe, stage 1 still; W1 A1983, plan docs/plans/plan_inv03_satin_glass_w1.md).
   A glass plaque with the title, then one glass card per venue (up to 3): the venue's photos shown whole in a 14 px
   glass mount with four copper pins at its corners, then the name in display caps, the address, the events held there and
   a Map button. The extra venues share one glass line below. Phone: one card a row; tablet: two; desktop: three, in a
   wide centred band (never a phone column). Tap a photo: the viewer (section.js). Glass = the skin's --sgl-* pane recipe.
   W2 (A1994, plan docs/plans/plan_inv03_satin_glass_w2.md): the plaque, every card and the extra-venue line are
   see-through glass (an .k-sgl-mist first child, registered with the satin like the hero); names in Gilda 400; the small
   words in spans carry the skin's text grain too. The viewer is a modal in the top layer, outside every pane.
   W3 (A2001, plan docs/plans/plan_inv03_satin_glass_w3.md): Lato; the venue names and the dates light (300), every other
   word 400 (no size here reaches 22 px); the plaque -> cards, card -> card and cards -> extra-venue line gaps are the
   skin's --sgl-gap-in; the small caps are at least 11 px; the address and the extra line wrap pretty (no lonely word). */
.vn060 {
  --vn060-gap: var(--sgl-gap-in, 20px); /* W3: the skin's inner gap */ --vn060-per: 1; --vn060-mount: 14px;
  position: relative; padding: var(--k-section-pad) var(--k-gutter);
  background: var(--k-dark, transparent); color: var(--k-on-dark); text-align: center;
}
@media (min-width: 700px) { .vn060 { --vn060-per: 2; } }
/* desktop and landscape: three across, wide and centred (D-030, the desktop rule) */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) { .vn060 { --vn060-per: 3; } }

/* ---- the glass (the pane recipe: the plaque, every card, the extra-venue line) ---- */
/* see-through: the mist child shows the satin; no transform, filter, contain or container-type on a pane or above it */
.vn060 .vn060__pane {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--sgl-glass-radius, 8px);
  background: transparent; box-shadow: var(--sgl-glass-shadow, 0 30px 60px -20px rgb(30 20 14 / .45));
  color: var(--k-on-dark); text-shadow: var(--sgl-text-shadow, none);
}
.vn060 .vn060__pane::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: var(--sgl-glass-etch, none); -webkit-mask-image: var(--sgl-glass-etch-mask, none); mask-image: var(--sgl-glass-etch-mask, none);
  opacity: var(--sgl-glass-etch-o, .85);
}
.vn060 .vn060__pane > :where(:not(.k-sgl-mist)) { position: relative; z-index: 1; }

/* ---- the plaque ---- */
.vn060 .vn060__head { width: min(100%, 560px); margin: 0 auto; padding: clamp(24px, 6vw, 34px) clamp(20px, 6vw, 48px) clamp(22px, 5.4vw, 30px); }
.vn060 .vn060__kicker { padding-left: .26em; }
.vn060 .vn060__title { margin: 2px 0 0; padding: 0 .1em; }
.vn060 .vn060__rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin: clamp(10px, 2.6vw, 16px) 0 0; }
.vn060 .vn060__rule span { width: clamp(54px, 17vw, 110px); height: 1px; background: linear-gradient(90deg, rgb(244 231 207 / 0), var(--c-secondary)); opacity: .85; }
.vn060 .vn060__rule span:last-child { transform: scaleX(-1); }
.vn060 .vn060__rule svg { width: 12px; height: 11px; fill: var(--c-secondary); }
.vn060 .vn060__count { margin-top: clamp(12px, 3vw, 16px); font: 400 clamp(11px, 2.75vw, 12px)/1.6 var(--k-font-body); letter-spacing: .24em; /* W3: the 11 px floor */ padding-left: .24em;
  text-transform: uppercase; color: var(--k-on-dark-soft); }

/* ---- the cards ---- */
.vn060 .vn060__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--vn060-gap); width: min(100%, 520px); margin: var(--vn060-gap) auto 0; }
@media (min-width: 700px) { .vn060 .vn060__cards { width: min(100%, 780px); } }
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) { .vn060 .vn060__cards { width: min(90vw, 1240px); } }
/* A2047 (owner: on the desktop "expand the width of the venue's cards so it matches the overall width of other cards"):
   with one or two venues the cards fill the band (two a row, or one across it) instead of two thirds-wide cards in the
   middle; each is a wide card, the photos on the left (never wider than 420 px: the srcset's 380 px still serves them)
   and the words centred beside them, so a card stays about as tall as the photos. Three venues keep the three columns */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) {
  .vn060 .vn060__cards:not(:has(> .vn060-card:nth-child(3))) { --vn060-per: 2; }
  .vn060 .vn060__cards:has(> .vn060-card:only-child) { --vn060-per: 1; }
  .vn060 .vn060__cards:not(:has(> .vn060-card:nth-child(3))) > .vn060-card:not(.vn060-card--plain) {
    flex-direction: row; align-items: center; gap: clamp(20px, 2.2vw, 36px); padding: var(--vn060-mount) clamp(20px, 2.2vw, 36px) var(--vn060-mount) var(--vn060-mount); }
  .vn060 .vn060__cards:not(:has(> .vn060-card:nth-child(3))) > .vn060-card:not(.vn060-card--plain) .vn060__prints { flex: 0 0 min(54%, 420px); }
  .vn060 .vn060__cards:not(:has(> .vn060-card:nth-child(3))) > .vn060-card:not(.vn060-card--plain) .vn060__info { flex: 1 1 0; min-width: 0; justify-content: center; padding: 24px 0; }
  .vn060 .vn060__cards:not(:has(> .vn060-card:nth-child(3))) > .vn060-card:not(.vn060-card--plain) .vn060__go { margin-top: 0; padding-top: 22px; }
}
.vn060 .vn060-card { flex: 0 0 calc((100% - (var(--vn060-per) - 1) * var(--vn060-gap)) / var(--vn060-per)); min-width: 0;
  display: flex; flex-direction: column; padding: var(--vn060-mount) var(--vn060-mount) clamp(24px, 6vw, 30px); }
.vn060 .vn060-card--plain { justify-content: center; padding-top: clamp(26px, 6vw, 32px); }
/* no photos: the medallion, the words and the button stay together, centred in the card (no hole above the button) */
.vn060 .vn060-card--plain .vn060__info { flex: 0 0 auto; }
.vn060 .vn060-card--plain .vn060__go { margin-top: 0; padding-top: 22px; }

/* the mount: the photos whole, a hairline edge and a soft shadow, four copper pins in the glass band at its corners */
.vn060 .vn060__prints { position: relative; }
.vn060 .vn060__pins { position: absolute; z-index: 2; inset: calc(var(--vn060-mount) / -2 - 5px); pointer-events: none;
  --vn060-pin: radial-gradient(circle at 38% 34%, var(--sgl-champ, #F4E7CF) 0, var(--sgl-copper-light, #D99A6C) 24%, var(--sgl-copper, #A85E36) 50%, var(--sgl-copper-deep, #6E3A1F) 72%, rgb(30 18 10 / .45) 80%, rgb(30 18 10 / 0) 96%);
  background: var(--vn060-pin) 0 0 / 10px 10px no-repeat, var(--vn060-pin) 100% 0 / 10px 10px no-repeat,
    var(--vn060-pin) 0 100% / 10px 10px no-repeat, var(--vn060-pin) 100% 100% / 10px 10px no-repeat; }
.vn060 .vn060__lead, .vn060 .vn060__small { display: block; border-radius: 1px; -webkit-tap-highlight-color: transparent; }
.vn060 .vn060__lead-img, .vn060 .vn060__small-img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 1px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .42), 0 3px 9px rgb(20 12 8 / .38); -webkit-user-select: none; user-select: none; }
.vn060 .vn060__rest { display: flex; align-items: flex-start; gap: var(--vn060-mount); margin-top: var(--vn060-mount); }
.vn060 .vn060__small { flex: 1 1 0; min-width: 0; }
.vn060 .vn060__rest--one { justify-content: center; }
.vn060 .vn060__rest--one .vn060__small { flex: 0 1 calc(50% - var(--vn060-mount) / 2); }
.vn060 .vn060__lead:focus-visible, .vn060 .vn060__small:focus-visible { outline-offset: 3px; }
.vn060 .vn060__medal { display: block; width: 72px; height: 72px; margin: 0 auto; color: var(--c-secondary); }

/* the words */
.vn060 .vn060__info { flex: 1; display: flex; flex-direction: column; align-items: center; padding: clamp(20px, 5vw, 26px) clamp(6px, 2vw, 12px) 0; }
.vn060 .vn060__name { margin: 0; font: 300 clamp(15px, 4.1vw, 18px)/1.35 var(--k-font-display); letter-spacing: .1em; padding-left: .1em;
  text-transform: uppercase; color: var(--k-on-dark); overflow-wrap: anywhere; text-wrap: balance; }
.vn060 .vn060__addr { max-width: 32ch; margin-top: 8px; font: 400 clamp(12.5px, 3.4vw, 13.5px)/1.6 var(--k-font-body); color: var(--k-on-dark-soft); text-wrap: pretty; }
.vn060 .vn060__events { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.vn060 .vn060__ev, .vn060 .vn060__when { display: block; -webkit-mask: var(--sgl-text-tex); mask: var(--sgl-text-tex); } /* text in spans: the grain by hand */
.vn060 .vn060__ev { font: 400 11px/1.6 var(--k-font-body); /* W3: the 11 px floor */ letter-spacing: .22em; padding-left: .22em; text-transform: uppercase; color: var(--k-on-dark-soft); }
.vn060 .vn060__when { font: 400 clamp(14px, 3.7vw, 15px)/1.45 var(--k-font-display); color: var(--k-on-dark); } /* 400: small text (W3 plan); 300 read faint on a bright fold */
.vn060 .vn060__go { margin-top: auto; padding-top: 20px; }
.vn060 .vn060__btn { text-shadow: var(--sgl-etched-text, none); } /* A2044: the skin's etched lip (was none: the card's own text shadow) */

/* ---- the extra venues, one glass line ---- */
.vn060 .vn060__more { width: fit-content; max-width: min(100%, 760px); margin: var(--vn060-gap) auto 0;
  padding: clamp(18px, 4.6vw, 24px) clamp(20px, 6vw, 40px); }
.vn060 .vn060__more-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vn060 .vn060__more li { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; }
.vn060 .vn060__more-name { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font: 300 clamp(13px, 3.5vw, 15px)/1.35 var(--k-font-display);
  letter-spacing: .1em; text-transform: uppercase; color: var(--k-on-dark); text-decoration: underline; text-decoration-color: var(--c-secondary);
  text-decoration-thickness: 1px; text-underline-offset: 4px; }
.vn060 .vn060__more-ico { width: 16px; height: 16px; color: var(--c-secondary); }
.vn060 .vn060__more-ev { font: 400 clamp(12.5px, 3.4vw, 13.5px)/1.5 var(--k-font-body); color: var(--k-on-dark-soft); text-wrap: pretty;
  -webkit-mask: var(--sgl-text-tex); mask: var(--sgl-text-tex); }

/* ---- the photo viewer (section.js; a modal <dialog> made on the first tap) ---- */
.vn060 .vn060__view {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--k-ink, #2E211A); color: var(--k-on-dark);
  overflow: hidden; overscroll-behavior: contain; touch-action: pinch-zoom;
}
.vn060 .vn060__view::backdrop { background: var(--k-ink, #2E211A); }
.vn060 .vn060__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));
}
.vn060 .vn060__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; }
.vn060 .vn060__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; border-radius: 1px; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .4), 0 18px 40px -20px rgb(0 0 0 / .7);
}
.vn060 .vn060__view-cap { max-width: 60ch; margin-top: var(--k-s-3); text-align: center; font: 400 .95rem/1.5 var(--k-font-body); color: var(--k-on-dark-soft); }
.vn060 .vn060__view-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vn060 .vn060__view-btn[hidden] { display: none; }
.vn060 .vn060__view-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vn060 .vn060__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: #FFFFFF; border: 1px solid rgb(255 255 255 / .35);
}
.vn060 .vn060__view-close:active { background: var(--c-primary-dark); }
.vn060 .vn060__view-prev, .vn060 .vn060__view-next { background: rgb(255 255 255 / .06); color: #FFFFFF; border: 1px solid rgb(255 255 255 / .6); }
.vn060 .vn060__view-prev { grid-area: prev; justify-self: end; }
.vn060 .vn060__view-next { grid-area: next; justify-self: start; }
@media (min-width: 768px) {
  .vn060 .vn060__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); }
  .vn060 .vn060__view-prev, .vn060 .vn060__view-next { justify-self: center; }
  .vn060 .vn060__view-img { max-height: min(78vh, calc(100vh - 180px)); max-height: min(78svh, calc(100svh - 180px)); }
}
@media (min-width: 1200px) {
  .vn060 .vn060__view-in { padding: var(--k-s-5); }
  .vn060 .vn060__view-img { max-height: min(84vh, calc(100vh - 130px)); max-height: min(84svh, calc(100svh - 130px)); }
}
/* W4 (A2014, owner: "sprinkle around more accessories, like similar/related flowers"): dried flowers on the satin at the
   pane's edge (the skin's .k-sgl-bloom gives the art, ratio and shadow). Measured from the edge of the centred pane
   column; a negative offset sits out past the pane */
.vn060 .vn060__bloom { left: calc(50% - min(100% - 2 * var(--k-gutter), 520px) / 2 - 18px); bottom: calc(var(--k-section-pad) - 30px); width: clamp(84px, 22vw, 130px); transform: rotate(-30deg); }
@media (min-width: 700px) { .vn060 .vn060__bloom { left: calc(50% - min(100% - 2 * var(--k-gutter), 780px) / 2 - 18px); } } /* the cards row's width */
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) { .vn060 .vn060__bloom { left: calc(50% - min(100% - 2 * var(--k-gutter), 1240px, 90vw) / 2 - 18px); } }
