/* Prints laid · clear (addon/gallery/011) — INV-05 v2.2 · Luxe W2a.1 (A1800; owner 2026-10-23: in "Moments" the gold
   thread passed over the pictures, and the branch shadow was too strong). ga005 with each print's frame marked
   data-pa010-avoid (pa010 lays its lanes beside the prints and never crosses them) and the leaf shade at .06 instead
   of .22 (CSS and live.js together) with a wider feather (no grey slab behind the prints; eye r1). Below: ga005's header.
/* Prints laid down (addon/gallery/005) — INV-05 v2 Signature, inv05_v2 w2 (D-034; fork of ga004 "Prints in the light";
   D-031, D-032 ruling B). The couple's photos as card-bordered prints that settle onto the table with the scroll, both
   ways, under a still window-light leaf shadow. Each print has a lift shadow (.ga011-print__lift) exactly behind its frame
   (same box, same rest tilt); section.js scrubs it 1 -> 0 as the print lands. Here it rests at 0: the print lies flat on
   the table, so no-JS, reduced motion and lite show the rest state complete. The prints stay real DOM images (ruling B);
   the leaf shadow is a multiply layer at .06 (W2a.1; D-032's photo strength was .22), feathered at its edges so it melts into the
   paper. live.js draws the same shadow with the same numbers (black with alpha .06 x (1 - map) = CSS multiply at .06),
   so its first frame IS this one; then the leaves drift (mover 1).
   Press a print and it flattens onto the table: no tilt, a tighter shadow (both versions).
   Phone: one column, alternating 4% / 14% offsets. Tablet: two columns, the second 12% lower. Desktop: two columns up
   to 900px, three for 5-6 photos (the middle one lower). */
.ga011 {
  --ga011-m: 40px; --ga011-fx: 80px; --ga011-fy: 120px; --ga011-sx: 78%; --ga011-sy: 16%;
  position: relative; overflow: hidden; touch-action: pan-y;
  padding: var(--k-section-pad) var(--k-gutter); background: var(--k-light-ground); color: var(--k-ink); text-align: center;
}
.ga011__inner { max-width: 640px; margin: 0 auto; }
/* the lit area: the prints plus a margin the shadow feathers out in (wider than the phone screen: the section clips it) */
.ga011__light { position: relative; margin: calc(30px - var(--ga011-m)) calc(-1 * var(--ga011-m)) 0; padding: var(--ga011-m); }
.ga011__prints { position: relative; z-index: 1; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.ga011-print { --ga011-r: -1.6deg; position: relative; isolation: isolate; width: 82%; margin-left: 4%; }
.ga011-print:nth-child(even) { --ga011-r: 1.2deg; margin-left: 14%; }
/* the lift: the print's shadow while it is still in the air. The li's box is the frame's box (figure margin 0), so
   inset 0 + the frame's tilt puts it exactly behind the frame; isolation keeps z-index -1 inside the print. Only its
   transform transitions (with the frame's press); its opacity is GSAP's scrub and must not lag */
.ga011-print__lift {
  position: absolute; inset: 0; z-index: -1; transform: rotate(var(--ga011-r));
  box-shadow: 0 18px 36px rgb(74 63 53 / .22); opacity: 0; pointer-events: none;
  transition: transform .25s var(--k-ease);
}
.ga011-print__frame {
  margin: 0; padding: 10px; background: var(--k-card); box-shadow: var(--k-shadow-paper);
  transform: rotate(var(--ga011-r)); transition: transform .25s var(--k-ease), box-shadow .25s var(--k-ease);
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.ga011-print__frame img { display: block; width: 100%; height: auto; }
/* pressed flat onto the table (section.js adds .is-pressed; :active covers the page without scripts) */
.ga011-print.is-pressed .ga011-print__frame, .ga011-print__frame:active {
  transform: rotate(0deg); box-shadow: 0 1px 1px rgb(74 63 53 / .07), 3px 6px 8px rgb(74 63 53 / .12);
}
/* the lift lies flat with it, so a press mid-landing keeps the shadow exactly behind the frame (pressing the frame
   makes its li :active too; without scripts the lift is never visible, .is-pressed covers every scripted press) */
.ga011-print.is-pressed .ga011-print__lift, .ga011-print:active .ga011-print__lift { transform: rotate(0deg); }
.ga011__shade {
  position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none;
  object-fit: cover; object-position: var(--ga011-sx) var(--ga011-sy); mix-blend-mode: multiply; opacity: .06;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 var(--ga011-fx), #000 calc(100% - var(--ga011-fx)), transparent 100%),
    linear-gradient(180deg, transparent 0, #000 var(--ga011-fy), #000 calc(100% - var(--ga011-fy)), transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0, #000 var(--ga011-fx), #000 calc(100% - var(--ga011-fx)), transparent 100%),
    linear-gradient(180deg, transparent 0, #000 var(--ga011-fy), #000 calc(100% - var(--ga011-fy)), transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.ga011__stage { position: absolute; z-index: 3; inset: 0; pointer-events: none; }

/* tablet: two columns, the second laid 12% lower (top: % of the print's own grid row) */
@media (min-width: 768px) {
  .ga011 { --ga011-m: 64px; --ga011-fx: 160px; --ga011-fy: 200px; }
  .ga011__light { margin-top: calc(40px - var(--ga011-m)); }
  .ga011__prints { grid-template-columns: 1fr 1fr; gap: 30px 34px; align-items: start; padding-bottom: 8%; }
  .ga011-print, .ga011-print:nth-child(even) { width: auto; margin-left: 0; }
  .ga011-print:nth-child(4n+1) { --ga011-r: -1.6deg; }
  .ga011-print:nth-child(4n+2) { --ga011-r: 1.2deg; }
  .ga011-print:nth-child(4n+3) { --ga011-r: 1deg; }
  .ga011-print:nth-child(4n+4) { --ga011-r: -1.1deg; }
  .ga011-print:nth-child(even) { position: relative; top: 12%; }
  .ga011-print:only-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 420px); }
}
/* desktop: up to 900px; 5-6 photos take three columns, the middle one lower */
@media (min-width: 1024px) {
  .ga011 { --ga011-m: 110px; --ga011-fx: 220px; --ga011-fy: 220px; } /* W2a.1: a wide feather, no slab edge (eye r1) */
  .ga011__inner { max-width: 900px; }
  .ga011__prints:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); gap: 30px 30px; padding-bottom: 6%; }
  .ga011__prints:has(> :nth-child(5)) > .ga011-print:nth-child(even) { top: 0; }
  .ga011__prints:has(> :nth-child(5)) > .ga011-print:nth-child(3n+2) { position: relative; top: 12%; }
}

/* live (Tier 3): the canvas draws the same shadow from its first frame; the still copy steps aside in that frame */
.ga011.is-live .ga011__shade { opacity: 0; }
