/* cl060 Glass slab in the pocket (INV-03 Satin Glass · Luxe closing, stage 1 still; W2 A1994, plan
   docs/plans/plan_inv03_satin_glass_w2.md; W1 A1983 was "Back in the envelope").
   W2: rebuilt to mirror the hero (he060) on the same full screen and geometry at every size (owner 2026-10-27: "use that
   full screen that you have used in the hero"): the glass slab standing in the full-width ivory pocket, "With love" in
   champagne script, the names etched in Gilda caps and the heart rule on it, and the dried sprig tucked into the pocket
   at the slab's left. No envelope, no seal. The closing scrolls, so its slab sees the satin through the skin's
   .k-sgl-mist (fixed to the screen, registered with the satin), not the hero's own mist. The page footer follows below,
   on the satin.
   W3 (A2001, plan docs/plans/plan_inv03_satin_glass_w3.md): "With love" and the names x .8 again (the fit caps too; the
   .8 em a letter fit stays: Lato light caps measure .659 em); the names in Lato light (300).
   W4 (A2014, plan docs/plans/plan_inv03_satin_glass_w4.md): the slab follows the new hero: an arched top with the dried
   flowers pressed inside the glass under the arch, a lit pane (skin W4), the pressed-sprig rule instead of the heart.
   The pocket and the tucked sprig stay: the keepsake goes back into the envelope.
   W5 A2018 (plan docs/plans/plan_inv03_satin_glass_w5.md; D-178): the slab takes the skin's one hero geometry and
   rounded-top shape, and the old glass (.k-sgl-old), like the hero. The envelope stays (owner: "keep the envelope bottom
   but add a little bit more creativity, and sprinkle some accessories"): the copper photo seal where the flaps meet, a
   copper-foil edge on the flaps, the honesty stem tucked in at the right (the sprig's twin) and a rose lying on the
   pocket.
   W5 wave 2 A2024 (D-178; owner: "the closing, but just get rid of that seal"): the seal is gone; the foil edge, the
   honesty and the rose stay. */
.cl060 {
  /* the hero's geometry, value for value (he060), so the two screens are a matched pair */
  --cl060-slab-w: var(--sgl-hero-w, 84vw); --cl060-slab-left: calc((100vw - var(--cl060-slab-w)) / 2);
  --cl060-slab-top: var(--sgl-hero-top, 5svh); --cl060-slab-h: var(--sgl-hero-h, 90svh); --cl060-pocket-h: 33svh;
  --cl060-sprig-w: 40vw; --cl060-sprig-rot: -6deg; --cl060-sprig-x: .12; --cl060-sprig-d: 10.1svh;
  /* W4: the hero's pressed crescent; W5: the hero's shape */
  --cl060-press-w: .9; --cl060-shape: var(--sgl-hero-shape, 16.8vw 16.8vw 8px 8px);
  /* W5: the rose on the pocket, the honesty tucked in at the right */
  --cl060-rose-w: 30vw; --cl060-rose-right: 6vw; --cl060-lun-w: 30vw; --cl060-lun-right: 2vw;
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--k-dark, transparent); color: var(--k-on-dark); text-align: center;
}
@media (min-width: 700px) and (max-aspect-ratio: 1/1) {
  .cl060 { --cl060-pocket-h: 32svh; --cl060-press-w: .74; --cl060-rose-w: 22vw; --cl060-lun-w: 22vw; --cl060-lun-right: 6vw;
    --cl060-sprig-w: 36vw; --cl060-sprig-rot: -7deg; --cl060-sprig-x: .10; --cl060-sprig-d: 10.6svh; }
}
/* desktop and landscape: a wide pane, never a phone column (D-030, the desktop rule) */
@media (min-aspect-ratio: 1/1) {
  .cl060 { --cl060-pocket-h: 36svh; /* W3.1 A2005: 30 -> 36svh (owner: the desktop envelope looked "a bit too thin") */
    --cl060-sprig-w: min(23vw, 370px); --cl060-sprig-rot: -4deg; --cl060-sprig-x: .10; --cl060-sprig-d: 9.4svh; /* sprig-d scales with the pocket (7.8 x 36/30) */
    --cl060-press-w: .32; --cl060-rose-w: min(13vw, 200px); --cl060-rose-right: 18vw;
    --cl060-lun-w: min(12vw, 180px); --cl060-lun-right: calc(var(--cl060-slab-left) + 2vw); }
}

/* ---- the slab: the skin's see-through glass (mist, veil, milk, sheen and rim ride on .k-sgl-mist), the etch, the words.
   No transform, filter or containment on the slab or the section (skin W2 note); since A2123 its mist is a picture in
   the glass, not fixed to the screen (see the rule after this one) ---- */
.cl060 .cl060__slab {
  position: absolute; left: var(--cl060-slab-left); top: var(--cl060-slab-top); width: var(--cl060-slab-w); height: var(--cl060-slab-h);
  border-radius: var(--cl060-shape); overflow: hidden; isolation: isolate; z-index: 1;
  background: transparent; box-shadow: var(--sgl-glass-shadow, 0 30px 60px -20px rgb(30 20 14 / .45));
}
.cl060 .cl060__slab > .k-sgl-mist { border-radius: var(--cl060-shape); clip-path: inset(0 round var(--cl060-shape)); }
/* A2123 (the owner on the iPhone, after the hero's: "same is the bottom closing … just keep it static"): the silk seen
   through the slab is a picture in the glass, not fixed to the screen, placed as the fixed one sits when the closing's
   top meets the screen's. It travels with the glass: no fixed layer under a clipped, scrolling slab */
.cl060 .cl060__slab > .k-sgl-mist::before { position: absolute; right: auto; top: calc(-1 * var(--cl060-slab-top));
  left: calc(-1 * var(--cl060-slab-left)); width: 100vw; height: 100vh; height: 100lvh; }
/* W4: the flowers pressed inside the glass under the arch (over the mist, under the etch), as on the hero */
.cl060 .cl060__slab > .cl060__pressed { position: absolute; z-index: 0; display: block; pointer-events: none;
  left: calc(50% - var(--cl060-slab-w) * var(--cl060-press-w) / 2); top: calc(var(--cl060-slab-h) * .012);
  width: calc(var(--cl060-slab-w) * var(--cl060-press-w)); aspect-ratio: var(--sgl-pressed-ratio, 2);
  background: var(--sgl-art-pressed, none) center / contain no-repeat; opacity: .92; filter: drop-shadow(0 3px 2px rgb(20 12 8 / .32)); }
.cl060 .cl060__slab::before {
  content: ""; position: absolute; inset: 0; z-index: 1; 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);
}
.cl060 .cl060__slab > :not(.k-sgl-mist, .k-sgl-glint, .cl060__pressed) { position: relative; z-index: 2; } /* W4: over the etch (z 1), which is over the pressed flowers (z 0) */

/* ---- the words, etched in light, centred in the part of the slab above the pocket ---- */
.cl060 .cl060__words {
  height: calc(100svh - var(--cl060-pocket-h) - var(--cl060-slab-top)); padding: calc(var(--cl060-slab-w) * var(--cl060-press-w) / var(--sgl-pressed-ratio, 1.0818) * .4) 6% 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--k-on-dark); text-shadow: var(--sgl-text-shadow, 0 1px 1px rgb(30 18 10 / .28));
}
/* the script line: padded so the skin's text grain (a mask, cut at the border box) never clips a swash (AG-T285) */
.cl060 .cl060__with { padding: .3em .8em .5em; margin: -.3em -.8em -.38em;
  font: 400 clamp(1.536rem, 7.04vw, 2.304rem)/1 var(--k-font-script); color: var(--c-secondary); } /* W2: x .8; W3: x .8 */
/* the names: stacked on phone and tablet, one line on desktop; the longest name always fits the slab (he060's fit,
   name_len, ~.8 em a letter). Padded top and bottom for the grain, like the script line */
.cl060 .cl060-names { margin: -.2em 0 -.25em; padding: .2em 0 .25em; display: flex; flex-direction: column; align-items: center;
  font: 300 min(clamp(25.6px, 7.44vw, 44.8px), calc(var(--cl060-slab-w) * .552 / (var(--cl060-len, 6) * .8)))/1.04 var(--k-font-display);
  letter-spacing: .1em; } /* W2: x .8; W3: x .8 */
/* A2058 (owner's pick): etched into the glass like the hero's names (the skin's frosted-ink cut) */
.cl060 .cl060-name { text-transform: uppercase; padding-left: .1em; color: var(--sgl-etched-letter); text-shadow: var(--sgl-etched-letter-cut); }
/* the script "&" is a small glyph, so it sits larger than the hero's "and" to weigh the same; A2058: the cut's lit lip */
.cl060 .cl060-amp { font: 400 1.15em/.58 var(--k-font-script); letter-spacing: 0; color: var(--c-secondary); margin: .04em 0 .06em; text-shadow: var(--sgl-etched-text); }
/* W4: the hero's pressed-sprig rule */
.cl060 .cl060__orn { width: clamp(120px, 34vw, 170px); height: auto; margin: clamp(12px, 2.4svh, 26px) 0 0; color: var(--c-secondary); fill: currentColor; }
.cl060 .cl060__orn path { fill: none; stroke: currentColor; stroke-linecap: round; }
.cl060 .cl060__orn-line { stroke-width: .9; opacity: .7; }
.cl060 .cl060__orn-stem { stroke-width: .8; }
/* W4: desktop keeps the names stacked inside the garland, as on the hero, low in its opening */
@media (min-aspect-ratio: 1/1) {
  .cl060 .cl060__words { justify-content: flex-start; padding-top: calc(var(--cl060-slab-w) * var(--cl060-press-w) / var(--sgl-pressed-ratio, 1.0818) * .52); }
  .cl060 .cl060-names { flex-direction: column; align-items: center; gap: 0;
    font-size: min(clamp(32px, 3vw, 46px), calc(var(--cl060-slab-w) * var(--cl060-press-w) * .62 / (var(--cl060-len, 6) * .8))); } /* W4: sized to the garland */
  .cl060 .cl060-amp { font-size: 1.15em; margin: .04em 0 .06em; }
}

/* ---- the dried sprig, tucked into the pocket (z 4: over the glass, under the pocket) ---- */
.cl060 .cl060__sprig { position: absolute; z-index: 4; display: block; pointer-events: none;
  width: var(--cl060-sprig-w); aspect-ratio: 1 / var(--sgl-sprig-ratio, 1.3875);
  left: calc(var(--cl060-slab-left) + var(--cl060-slab-w) * var(--cl060-sprig-x) - var(--cl060-sprig-w) * .5);
  bottom: calc(var(--cl060-pocket-h) - var(--cl060-sprig-d) - var(--cl060-sprig-w) * var(--sgl-sprig-ratio, 1.3875) * .25);
  background: var(--sgl-art-sprig, none) center / contain no-repeat;
  transform: rotate(var(--cl060-sprig-rot)); transform-origin: 50% 100%; filter: drop-shadow(0 4px 6px rgb(20 10 5 / .35)); }

/* ---- the ivory pocket the slab stands in, full width (z 5) ---- */
.cl060 .cl060__pocket { position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; height: var(--cl060-pocket-h); z-index: 5;
  filter: drop-shadow(0 -5px 10px rgb(25 15 8 / .32)); }
.cl060 .cl060__bottom-flap { filter: drop-shadow(0 -3px 5px rgb(60 40 20 / .22)); }
/* ---- W5: the envelope's extras: a copper-foil edge on the flaps, the honesty tucked in at the right (under the
   pocket, like the sprig) and a rose on the pocket (wave 2: no seal) ---- */
.cl060 .cl060__edge { stroke: #C68A5A; stroke-opacity: .95; stroke-width: 1.4; }
.cl060 .cl060__lun { z-index: 4; width: var(--cl060-lun-w); right: var(--cl060-lun-right);
  bottom: calc(var(--cl060-pocket-h) - var(--cl060-lun-w) / var(--sgl-lunaria-ratio, .72) * .55); transform: rotate(12deg); transform-origin: 50% 100%; }
.cl060 .cl060__rose { z-index: 6; width: var(--cl060-rose-w); right: var(--cl060-rose-right); bottom: calc(var(--cl060-pocket-h) * .16); transform: rotate(-10deg); }

/* A2083 (W7.1 E, "thick-glass depth") is off here since A2123: the pressed flowers lagging the glass as the closing came
   in was a scrub running at the page's end, where the iPhone bounces (AG-T333: the INV-04 closing jumped the same way);
   the owner asked for a still closing. The hero keeps its depth on the way out */
