/* ev060 Glass days (INV-03 Satin Glass · Luxe, stage 1 still; W1 A1983, W2 A1994, plan docs/plans/plan_inv03_satin_glass_w2.md).
   The title on its own glass pane ("Six celebrations", "The celebrations" in champagne script, the skin's heart rule),
   then one glass pane per day, one under the other at every size (the owner: "one day at a time ... after each other"):
   "Day one" in champagne script over "Saturday · 12 December" in Gilda caps, then the day's events on INV-14's ink line,
   still (no motion): a 1.2 px champagne line with a 5 px dot at each end and a 7 px ring knot per event, level with the
   event's time. Left of the line, right-aligned: the weekday, the day and month in small caps, the time in Gilda.
   Right of it: the name in Gilda caps, the venue, the dress code, the note, Map and Add to calendar.
   W2 (A1994): every pane is see-through glass (the skin's .k-sgl-mist as its first child, so the satin's folds run on under
   it); the line layout replaces W1's centred rows and copper hairlines; no side-by-side days on desktop; script x .8;
   Gilda 400 for the display words. section.js groups the rows by day (function only); without it (Reduce motion, no
   JavaScript) the plain list is one pane with the same line. Phone: the line at 34 %; tablet and desktop: in the centre,
   the desktop pane wide (about 90 %), its rows at most 900 px, never a phone column (D-030).
   W3 A2001 (plan docs/plans/plan_inv03_satin_glass_w3.md): Lato (the skin); the scripts and the time and name size x .8
   again; Lato 300 for the big words (the day's date, the times, the event and venue names), 400 for the rest; the title
   pane to the first day and each day to the next are the skin's --sgl-gap-in apart (20 / 24 / 28 px); the space between
   events inside a day stays 64 / 80 / 96 px (the owner). */
.ev060 {
  --ev060-w: 560px; --ev060-gap: var(--sgl-gap-in, 20px); /* W3: the skin's inner gap */
  --ev060-px: clamp(16px, 4.6vw, 40px); --ev060-py: clamp(36px, 9vw, 48px);
  --ev060-l: 34%; --ev060-cg: 28px; --ev060-eg: 64px; /* left column, gap round the line, space between events */
  --ev060-tf: 14.4px; --ev060-dl: 16px; /* the time and name size (W3: x .8); one line of the small-caps date */
  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) and (max-aspect-ratio: 1/1) {
  .ev060 { --ev060-w: 76vw; --ev060-px: clamp(32px, 6vw, 56px); --ev060-py: 56px;
    --ev060-cg: 48px; --ev060-l: calc(50% - var(--ev060-cg) / 2); --ev060-eg: 80px; --ev060-tf: 16px; --ev060-dl: 18px; } /* W3: tf x .8 */
}
@media (min-aspect-ratio: 1/1) {
  .ev060 { --ev060-w: min(90vw, 1240px); --ev060-px: clamp(28px, 3.4vw, 52px); --ev060-py: 64px;
    --ev060-cg: 64px; --ev060-l: calc(50% - var(--ev060-cg) / 2); --ev060-eg: 96px; --ev060-tf: 17.6px; --ev060-dl: 19px; } /* W3: tf x .8 */
}
.ev060 .ev060__in { width: min(100%, var(--ev060-w)); margin: 0 auto; }

/* ---- the glass panes, see-through (the skin's .k-sgl-mist under the etch): the title, each day, the plain list ---- */
.ev060 .ev060__head, .ev060 .ev060-day, .ev060:not(.is-grouped) .ev060__list {
  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); }
.ev060 .ev060__head::before, .ev060 .ev060-day::before, .ev060:not(.is-grouped) .ev060__list::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); }
.ev060 .ev060__head > :not(.k-sgl-mist, .ev060__line), .ev060 .ev060-day > :not(.k-sgl-mist, .ev060__line),
.ev060:not(.is-grouped) .ev060__list > :not(.k-sgl-mist, .ev060__line) { position: relative; z-index: 1; }

/* ---- the title pane ---- */
.ev060 .ev060__head { padding: clamp(34px, 9vw, 48px) clamp(18px, 5vw, 40px) clamp(32px, 8.4vw, 44px); }
.ev060 .ev060__kicker { margin: 0; padding-left: .26em; font-size: clamp(11px, 2.8vw, 12.5px); letter-spacing: .26em; } /* W3: floor 11px */
.ev060 .ev060__title { margin: clamp(2px, 1vw, 6px) 0 0; font-size: clamp(29.44px, 8.32vw, 40.96px); } /* W2: x .8; W3: x .8 */
.ev060 .ev060__orn { width: clamp(150px, 42vw, 200px); height: auto; margin: clamp(8px, 2.4vw, 12px) auto 0; color: var(--c-secondary); opacity: .9; }

/* ---- the days: one pane each, stacked (the plain list, before grouping, is one pane holding every event) ---- */
.ev060 .ev060__list { display: grid; gap: var(--ev060-gap); margin-top: var(--ev060-gap); }
.ev060:not(.is-grouped) .ev060__list { gap: var(--ev060-eg); padding: var(--ev060-py) var(--ev060-px); }
.ev060 .ev060-day { padding: clamp(30px, 8vw, 42px) var(--ev060-px) var(--ev060-py); }
.ev060 .ev060-day__k { margin: 0 0 4px; font: 400 clamp(25.6px, 7.04vw, 34.56px)/.95 var(--k-font-script); color: var(--c-secondary); } /* W2: x .8; W3: x .8 */
.ev060 .ev060-day__d { margin: 0; padding-left: .12em; font: 300 clamp(15px, 4.2vw, 19px)/1.4 var(--k-font-display); letter-spacing: .12em; text-transform: uppercase; }
.ev060 .ev060-day__head::after { content: ""; display: block; width: 64px; height: 1px; margin: clamp(14px, 3.6vw, 18px) auto 0; background: var(--c-secondary); opacity: .6; }
.ev060 .ev060-day__rows { position: relative; display: grid; row-gap: var(--ev060-eg); margin-top: clamp(32px, 8vw, 44px); }

/* ---- the ink line (INV-14 ev020's geometry, still): 1.2 px, a 5 px dot at each end, in the gap after the left column ---- */
.ev060 .ev060__line { position: absolute; z-index: 1; top: 0; bottom: 0; left: calc(var(--ev060-l) + var(--ev060-cg) / 2 - .6px); width: 1.2px;
  background: var(--c-secondary); opacity: .75; pointer-events: none; }
.ev060 .ev060__line::before, .ev060 .ev060__line::after { content: ""; position: absolute; left: -1.9px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-secondary); }
.ev060 .ev060__line::before { top: -2.5px; }
.ev060 .ev060__line::after { bottom: -2.5px; }
/* the plain list is the pane itself: the line keeps to its padding (the left column = 34 % of the rows, inside it) */
.ev060:not(.is-grouped) .ev060__list > .ev060__line { top: var(--ev060-py); bottom: var(--ev060-py);
  left: calc(var(--ev060-px) + (100% - 2 * var(--ev060-px)) * .34 + var(--ev060-cg) / 2 - .6px); }

/* ---- an event: the when (left of the line, right-aligned) and the what (right of it, left-aligned) ---- */
.ev060 .ev060-card { display: grid; grid-template-columns: var(--ev060-l) 1fr; column-gap: var(--ev060-cg); align-items: start; text-align: left; }
.ev060 .ev060-card__when { grid-column: 1; grid-row: 1; text-align: right; }
.ev060 .ev060-card__what { grid-column: 2; grid-row: 1; min-width: 0; padding-top: calc(var(--ev060-dl) * 2 + 8px); } /* the name level with the time */
.ev060 .ev060-card__date { margin: 0 -.14em 0 0; font: 400 11px/var(--ev060-dl) var(--k-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--k-on-dark-soft); }
.ev060 .ev060-card__wd, .ev060 .ev060-card__dm { display: block; white-space: nowrap; }
.ev060 .ev060-card__t { position: relative; margin-top: 8px; }
.ev060 .ev060-card__time { margin: 0; font: 300 var(--ev060-tf)/1.25 var(--k-font-display); color: var(--k-on-dark); text-wrap: pretty; }
/* the knot: a 7 px ring on the line, level with the time's first line */
.ev060 .ev060-card__knot { position: absolute; z-index: 2; right: calc(var(--ev060-cg) / -2 - 3.5px); top: calc(var(--ev060-tf) * .625 - 3.5px);
  width: 7px; height: 7px; border-radius: 50%; background: rgb(42 30 22 / .6); box-shadow: inset 0 0 0 1.2px var(--c-secondary); }
.ev060 .ev060-card__name { margin: 0; font: 300 var(--ev060-tf)/1.25 var(--k-font-display); letter-spacing: .1em; text-transform: uppercase; text-wrap: balance; }
.ev060 .ev060-card__venue { display: grid; gap: 2px; margin-top: 10px; }
.ev060 .ev060-card__vname { font: 400 clamp(12.8px, 3.44vw, 14.4px)/1.45 var(--k-font-display); } /* W3: x .8, so the event name leads */
.ev060 .ev060-card__vaddr { font: 400 clamp(11px, 2.9vw, 12.5px)/1.55 var(--k-font-body); letter-spacing: .04em; color: var(--k-on-dark-soft); }
.ev060 .ev060-card__fact { margin-top: 10px; font: 400 clamp(11px, 2.7vw, 11.5px)/1.6 var(--k-font-body); letter-spacing: .22em; /* W3: floor 11px */
  text-transform: uppercase; color: var(--k-on-dark-soft); }
.ev060 .ev060-card__note { max-width: 24em; margin-top: 6px; font: 400 clamp(12.5px, 3.2vw, 13.2px)/1.6 var(--k-font-display); color: var(--k-on-dark-soft); text-wrap: pretty; } /* W3: x .8 */
/* phone and tablet: Map over Add to calendar, one width (the wider); desktop: side by side */
.ev060 .ev060-card__links { display: grid; grid-template-columns: minmax(0, max-content); justify-content: start; gap: 10px; margin-top: 16px; text-shadow: none; }
.ev060 .ev060-card__links .kjy-cal__toggle { width: 100%; }
.ev060 .ev060-card__btn, .ev060 .kjy-cal__toggle { min-height: 44px; padding: 0 18px; font-size: 11px; letter-spacing: .2em; white-space: nowrap; } /* W3: floor 11px (was .66rem) */
.ev060 .ev060-card__map { min-width: 96px; }
.ev060 .kjy-cal { max-width: 100%; }
.ev060 .kjy-cal__toggle { list-style: none; }
.ev060 .kjy-cal__toggle::-webkit-details-marker { display: none; }
.ev060 .kjy-cal[open] { flex-basis: 100%; }
.ev060 .kjy-cal[open] .kjy-cal__toggle { width: min(100%, 260px); }
/* A2044 (owner: "everything should look and feel like it's inscribed into a glass"): the menu is a patch etched into the
   pane like its button (the skin's --sgl-etched-*), the rows parted by engraved grooves (was a mocha .4 box, white rim) */
.ev060 .kjy-cal__menu { display: grid; width: min(100%, 260px); margin: 8px 0 0; border-radius: var(--sgl-etched-radius, 4px);
  background: var(--sgl-etched-fill, rgb(255 255 255 / .3)); box-shadow: var(--sgl-etched-cut, inset 0 0 0 1px rgb(58 42 32 / .25)); }
.ev060 .kjy-cal__opt { padding: 13px 16px; font: 400 .95rem/1.3 var(--k-font-body); color: var(--k-on-dark); text-decoration: none; text-shadow: var(--sgl-etched-text, none); }
.ev060 .kjy-cal__opt + .kjy-cal__opt { border-top: 0; box-shadow: inset 0 1px 0 var(--sgl-hair, rgb(58 42 32 / .25)), inset 0 2px 0 rgb(255 255 255 / .6); }

/* tablet and desktop: the line in the centre of the rows */
@media (min-width: 700px), (min-aspect-ratio: 1/1) {
  .ev060 .ev060__head { padding: 52px 7% 48px; }
  .ev060 .ev060-day { padding-top: 46px; }
  .ev060:not(.is-grouped) .ev060__list > .ev060__line { left: calc(50% - .6px); }
  .ev060 .ev060-card__date { margin-right: -.2em; font-size: 12px; letter-spacing: .2em; }
}
/* desktop: the wide pane; its rows at most 900 px, centred, so the line stays in the pane's centre */
@media (min-aspect-ratio: 1/1) {
  .ev060 .ev060__head { padding: clamp(40px, 4vw, 56px) 8% clamp(36px, 3.6vw, 50px); }
  .ev060 .ev060__title { font-size: clamp(38.4px, 3.2vw, 48.64px); } /* W2: x .8; W3: x .8 */
  .ev060 .ev060-day { padding-top: clamp(40px, 3.6vw, 52px); }
  .ev060 .ev060-day__rows { width: min(100%, 900px); margin-inline: auto; }
  .ev060:not(.is-grouped) .ev060-card { justify-self: center; width: min(100%, 900px); }
  .ev060 .ev060-card__links { display: flex; flex-wrap: wrap; }
  .ev060 .ev060-card__links .kjy-cal__toggle { width: auto; }
  .ev060 .ev060-card__date { margin-right: -.22em; font-size: 12.5px; letter-spacing: .22em; }
}
/* 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 */
.ev060 .ev060__bloom { right: calc(50% - min(100% - 2 * var(--k-gutter), var(--ev060-w)) / 2 - 28px); top: calc(var(--k-section-pad) - 70px); width: clamp(76px, 20vw, 120px); transform: rotate(20deg); }
.ev060 .ev060__bloom--end { left: calc(50% - min(100% - 2 * var(--k-gutter), var(--ev060-w)) / 2 - 12px); top: auto; bottom: calc(var(--k-section-pad) - 30px); width: clamp(64px, 17vw, 100px); transform: rotate(-28deg); }
/* ---- W5 (A2018, plan docs/plans/plan_inv03_satin_glass_w5.md; D-178; owner: "Make the Events for 1 DAY ONLY FOR NOW. Get
   rid of day 2 and also 'The celebrations' and the day slab should be 1 combined slab"): the title plaque is gone (its
   h2 stays for screen readers), so the day pane is the slab and its "Saturday · 12 December" heads it; a one-day page
   drops each row's repeated date ({{#events_multi_day}}) and shows times only. Several days still get a pane each ---- */
.ev060 .ev060__sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ev060 .ev060__list { margin-top: 0; }
