/* ga061 Glass-mounted prints (INV-03 Satin Glass · Luxe gallery, stage 1 still; W1 A1983, plan docs/plans/plan_inv03_satin_glass_w1.md).
   The couple's photos shown whole (never cropped, never faded) in glass mounts: the pane recipe as a 10–14 px frame,
   each print tilted ±1.5° in turn and every other column dropped. 2 columns on phone, 3 on tablet, 4 on desktop, centred
   (a short last row centres too), under a small glass title pane. Glass = the skin's --sgl-* recipe.
   W2 (A1994, plan docs/plans/plan_inv03_satin_glass_w2.md): the title pane is see-through glass (an .k-sgl-mist first
   child, registered with the satin like the hero). The mounts keep their tilt (owner's choice), and a tilted pane
   can't line up with the fixed satin, so they keep the frosted --sgl-pane-bg as in W1.
   W3 (A2001, plan docs/plans/plan_inv03_satin_glass_w3.md): the title pane -> prints gap is the skin's --sgl-gap-in; the
   prints' tilt, drop and their own grid spacing are unchanged. */
.ga061 {
  --ga061-cols: 2; --ga061-gap: 14px; --ga061-mat: 10px; --ga061-drop: 26px; --ga061-tilt: 1.5deg;
  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) { .ga061 { --ga061-cols: 3; --ga061-gap: 26px; --ga061-mat: 12px; --ga061-drop: 40px; } }
@media (min-width: 1100px) { .ga061 { --ga061-cols: 4; --ga061-gap: 36px; --ga061-mat: 14px; --ga061-drop: 56px; } }

/* ---- the glass (one recipe for the title pane and every mount) ---- */
.ga061 .ga061__pane { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--sgl-glass-radius, 8px);
  background: var(--sgl-pane-bg, rgb(42 30 22 / .55)); box-shadow: var(--sgl-pane-shadow, inset 0 0 0 1px rgb(255 255 255 / .5));
  color: var(--k-on-dark); text-shadow: var(--sgl-text-shadow, none); }
/* the title pane is see-through (the mist child; no transform, filter, contain or container-type on it or above it) */
.ga061 .ga061__head { background: transparent; box-shadow: var(--sgl-glass-shadow, 0 30px 60px -20px rgb(30 20 14 / .45)); }
.ga061 .ga061__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); }
.ga061 .ga061__pane > :where(:not(.k-sgl-mist)) { position: relative; z-index: 1; }

/* ---- the title pane ---- */
.ga061 .ga061__head { width: min(100%, 560px); margin: 0 auto; padding: clamp(24px, 5vw, 40px) 24px clamp(26px, 5vw, 42px); }
.ga061 .ga061__title { margin: 0; }
.ga061 .ga061__orn { width: 170px; margin-top: 6px; }

/* ---- the prints: whole photos in glass mounts, tilted in turn, every other column dropped ---- */
.ga061 .ga061__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--ga061-gap) * 1.2 + var(--ga061-drop) * .6) var(--ga061-gap); /* rows clear a dropped print */
  width: min(100%, 1240px); margin: var(--sgl-gap-in, 20px) auto 0; padding: 0 0 var(--ga061-drop); } /* W3: the skin's inner gap */
.ga061 .ga061-print { --ga061-t: -1; --ga061-y: 0; flex: none; min-width: 0;
  width: calc((100% - (var(--ga061-cols) - 1) * var(--ga061-gap)) / var(--ga061-cols));
  transform: translateY(calc(var(--ga061-y) * var(--ga061-drop))) rotate(calc(var(--ga061-t) * var(--ga061-tilt))); }
.ga061 .ga061-print:nth-child(even) { --ga061-t: 1; --ga061-y: 1; }
/* three columns: the middle column drops (the tilt still alternates) */
@media (min-width: 700px) and (max-width: 1099.98px) {
  .ga061 .ga061-print:nth-child(even) { --ga061-y: 0; }
  .ga061 .ga061-print:nth-child(3n+2) { --ga061-y: 1; }
}
/* W3 (even spacing): the room under the grid is for a dropped print; when the last row is one print that doesn't drop,
   it goes, so the gap to the next section stays the skin's rhythm */
@media (max-width: 699.98px) { .ga061 .ga061__grid:has(> .ga061-print:nth-child(odd):last-child) { padding-bottom: 0; } }
@media (min-width: 700px) and (max-width: 1099.98px) { .ga061 .ga061__grid:has(> .ga061-print:nth-child(3n+1):last-child) { padding-bottom: 0; } }
@media (min-width: 1100px) { .ga061 .ga061__grid:has(> .ga061-print:nth-child(4n+1):last-child) { padding-bottom: 0; } }
.ga061 .ga061-print__mount { margin: 0; padding: var(--ga061-mat); }
.ga061 .ga061-print__img { display: block; width: 100%; height: auto; border-radius: 2px; background: rgb(42 30 22 / .5);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .32), 0 2px 7px rgb(15 9 5 / .38);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* 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 */
.ga061 .ga061__bloom { right: calc(50% - min(100% - 2 * var(--k-gutter), 560px) / 2 - 10px); top: calc(var(--k-section-pad) - 26px); width: clamp(90px, 24vw, 140px); }

/* W2: one small leaf in the margin below the photos, clear of every photo whatever the gallery holds */
.ga061 .ga061__loose { right: 9%; bottom: -16px; width: clamp(56px, 15vw, 84px); }
/* W2.1 (A2238; owner: red roses "near the dried" pieces): one rose beside the dried piece */
.ga061 .ga061__clay { right: calc(9% + clamp(50px, 13vw, 76px)); bottom: -26px; width: clamp(72px, 19vw, 112px); }
.ga061 .ga061__drift { left: 6vw; top: 8px; width: clamp(150px, 42vw, 280px); }
