/* he060 Pressed flowers in arched glass (INV-03 Satin Glass · Luxe hero, stage 1 still).
   W1 A1983 (plan docs/plans/plan_inv03_satin_glass_w1.md) built the glass slab rising out of an ivory envelope pocket;
   W2 A1994 and W3 A2001 tuned its type and locked its glass to the satin (.k-sgl-mist).
   W4 A2014 (plan docs/plans/plan_inv03_satin_glass_w4.md; owner 2026-10-28: "we have totally copied just the
   reference. It should look different … something very creative"): a new composition of our own. One arched pane of
   glass stands on the satin, no envelope. Dried flowers are pressed flat INSIDE the glass (a crescent under the arch and
   a small spray at the foot: over the mist, under the etch, so the glass texture runs over them). A dried rose and a
   bunny-tail tuft lie on the satin at the pane's foot (the skin's .k-sgl-bloom). New words: the names lead, then the
   announce line in script ("We're getting married!"), a pressed-sprig rule, the date in one line and the time in words.
   The pane is a lit pane (the W3 light bands, skin W4). No venue (D-121).
   No transform, filter or containment on the pane or the section: the mist is fixed to the screen (skin W2 note).
   W5 A2018 (plan docs/plans/plan_inv03_satin_glass_w5.md; D-178): the pane takes the skin's one hero geometry
   (--sgl-hero-*: the opener's card and the closing's slab use the same), with rounded top corners at 40 % of the W4
   arch (owner: "reduce the roundness by like 60 %"); the old glass (.k-sgl-old: clear, the light bands); the date,
   time and follow lines are gone (owner: "we already have dates below"). --he060-bottom-h keeps the lower part for
   the new bottom (wave 2).
   W5 wave 2 A2024 (D-178, the owner's pick C, "careful on the lower end, so it looks natural when going to another
   section"): the pane stands in a soft ivory silk (the skin's --sgl-art-silk) instead of the foot spray. The cloth is
   shown whole down to its own hemmed lower edge, which lies --he060-silk-gap above the hero's bottom with its shadow
   on the satin below, so the hero ends cloth -> satin and the next section starts on the same satin (no straight cut
   line). The pane is --he060-pane-tuck shorter, so its foot always sits under the cloth, between the cloth's top edge
   and its hem. The rose, a pampas plume and the tuft lie on the silk. */
.he060 {
  --he060-pane-w: var(--sgl-hero-w, 84vw); --he060-pane-left: calc((100vw - var(--he060-pane-w)) / 2);
  --he060-pane-top: var(--sgl-hero-top, 5svh); --he060-pane-tuck: 11svh; --he060-pane-h: calc(var(--sgl-hero-h, 90svh) - var(--he060-pane-tuck));
  --he060-shape: var(--sgl-hero-shape, 16.8vw 16.8vw 8px 8px);
  --he060-bottom-h: 33svh; /* the silk's share of the screen; the words sit above it */
  /* the pressed crescent under the arch (fractions of the pane) */
  --he060-press-w: var(--sgl-hero-press, .9); --he060-press-top: .012;
  /* the silk: shown --he060-silk-w wide (wider than the screen, so its cut ends never show), its hem --he060-silk-gap up */
  --he060-silk-w: 190vw; --he060-silk-gap: 3svh; --he060-silk-squash: 1;
  --he060-silk-h: calc(var(--he060-silk-w) / var(--sgl-silk-ratio, 2.1989) * var(--he060-silk-squash));
  /* the flowers on the silk, placed from its hem up (fractions of the cloth's height) */
  --he060-rose-w: 30vw; --he060-rose-left: 5vw; --he060-rose-up: .4; --he060-rose-rot: -10deg;
  --he060-pampas-w: 22vw; --he060-pampas-right: 29vw; --he060-pampas-up: .2; --he060-pampas-rot: -58deg;
  --he060-tuft-w: 18vw; --he060-tuft-right: 8vw; --he060-tuft-up: .4; --he060-tuft-rot: 24deg;
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--k-dark, transparent); color: var(--k-on-dark);
}
@media (min-width: 700px) and (max-aspect-ratio: 1/1) {
  .he060 { --he060-bottom-h: 32svh; --he060-pane-tuck: 10svh; --he060-silk-w: 130vw;
    --he060-rose-w: 22vw; --he060-rose-left: 7vw; --he060-pampas-w: 16vw; --he060-pampas-right: 30vw; --he060-tuft-w: 13vw; --he060-tuft-right: 10vw; }
}
/* desktop and landscape: a wide pane, never a phone column (D-030, the desktop rule); the arch is a low ellipse; the
   silk is the skin's low, wide drape */
@media (min-aspect-ratio: 1/1) {
  /* the drape is pressed to .85 of its height (soft folds hide it) and 108vw wide, so its top clears the sprig rule */
  .he060 { --he060-bottom-h: 36svh; --he060-pane-tuck: 10svh; --he060-silk-w: 108vw; --he060-silk-squash: .85; --he060-silk-gap: 2svh;
    --he060-press-top: .01;
    --he060-rose-w: min(13vw, 220px); --he060-rose-left: 6vw; --he060-rose-up: .36; --he060-rose-rot: -14deg;
    --he060-pampas-w: min(9vw, 160px); --he060-pampas-right: 30vw; --he060-pampas-up: .18;
    --he060-tuft-w: min(7vw, 130px); --he060-tuft-right: 9vw; --he060-tuft-up: .34; }
}

/* ---- the pane: .k-sgl-mist (the fixed mist, the fill and the rim; skin) cut to its shape, the etch, the words ---- */
.he060 .he060__pane {
  position: absolute; left: var(--he060-pane-left); top: var(--he060-pane-top); width: var(--he060-pane-w); height: var(--he060-pane-h);
  border-radius: var(--he060-shape); overflow: hidden; z-index: 1; isolation: isolate;
  box-shadow: var(--sgl-glass-shadow, 0 30px 60px -20px rgb(30 20 14 / .45));
}
.he060 .he060__pane > .k-sgl-mist { border-radius: var(--he060-shape); clip-path: inset(0 round var(--he060-shape)); }
/* A2123 (the owner on the iPhone: the hero's glass stepped "click, click, click" as the page began to scroll; "remove the
   movement from the cloth in the hero, just keep it static"): the silk seen through this pane is no longer fixed to the
   screen. It is a picture in the glass, placed where the fixed one sits when the page is at its top (the hero's spot), so
   at rest it looks the same and on scroll it travels with the glass: no fixed layer under a clipped, scrolling pane */
.he060 .he060__pane > .k-sgl-mist::before { position: absolute; right: auto; top: calc(-1 * var(--he060-pane-top));
  left: calc(-1 * var(--he060-pane-left)); width: 100vw; height: 100vh; height: 100lvh; }
.he060 .he060__pane::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);
}

/* ---- the flowers pressed inside the glass (z 0: over the mist, under the etch). A soft shadow a few px down: the back
   sheet sits a little behind them ---- */
.he060 .he060__pressed {
  position: absolute; z-index: 0; display: block; pointer-events: none;
  left: calc(50% - var(--he060-pane-w) * var(--he060-press-w) / 2); top: calc(var(--he060-pane-h) * var(--he060-press-top));
  width: calc(var(--he060-pane-w) * var(--he060-press-w)); aspect-ratio: var(--sgl-pressed-ratio, 2);
  opacity: .92;
  filter: drop-shadow(0 3px 2px rgb(20 12 8 / .32));
}
/* A2083 (W7.1 C + E): the art moved to ::after so a lifted shade (::before, a blurred copy whose filter never changes)
   sits under it while the garland presses in, and so the scroll depth (translate) never fights the press (scale) */
.he060 .he060__pressed::before, .he060 .he060__pressed::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--sgl-art-pressed, none) center / contain no-repeat; }
.he060 .he060__pressed::before { z-index: 0; filter: brightness(0) blur(5px); opacity: 0; }
.he060 .he060__pressed::after { z-index: 1; }

/* ---- the words, etched in light, below the arch ---- */
.he060 .he060__words {
  position: relative; z-index: 2; height: calc(100svh - var(--he060-pane-top) - var(--he060-bottom-h));
  padding: calc(var(--he060-pane-w) * var(--he060-press-w) / var(--sgl-pressed-ratio, 1.0818) * .4) 7% 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: var(--k-on-dark); text-shadow: var(--sgl-text-shadow, 0 1px 1px rgb(30 18 10 / .28));
}
/* the names: stacked on phone and tablet with a large script "&" between them; one line on desktop. The longest name
   always fits (name_len, ~.8 em a letter). Padded top and bottom for the skin's text grain (AG-T285) */
.he060 .he060-names { margin: -.2em 0 -.25em; padding: .2em 0 .25em; display: flex; flex-direction: column; align-items: center;
  font: 300 min(clamp(28px, 8.2vw, 48px), calc(var(--he060-pane-w) * .6 / (var(--he060-len, 6) * .8)))/1 var(--k-font-display);
  letter-spacing: .14em; }
/* A2058 (owner's pick): the names are etched into the glass (the skin's frosted-ink cut); the "&" stays champagne with
   only the cut's lit lip */
.he060 .he060-name { text-transform: uppercase; padding-left: .14em; color: var(--sgl-etched-letter); text-shadow: var(--sgl-etched-letter-cut); }
.he060 .he060-amp { font: 400 1.5em/.62 var(--k-font-script); letter-spacing: 0; color: var(--c-secondary); margin: .02em 0 .06em; text-shadow: var(--sgl-etched-text); }
/* the announce line, champagne script; padded so the grain never cuts a swash (AG-T285) */
.he060 .he060__announce { margin-top: clamp(14px, 2.6svh, 26px); font: 400 clamp(1.62rem, 7.2vw, 2.3rem)/1 var(--k-font-script); color: var(--c-secondary); }
/* the pressed-sprig rule: two hairlines and a tiny etched sprig of baby's breath */
.he060 .he060__orn { width: clamp(120px, 34vw, 170px); height: auto; margin: clamp(12px, 2.4svh, 24px) 0; color: var(--c-secondary); fill: currentColor; }
.he060 .he060__orn path { fill: none; stroke: currentColor; stroke-linecap: round; }
.he060 .he060__orn-line { stroke-width: .9; opacity: .7; }
.he060 .he060__orn-stem { stroke-width: .8; }
/* desktop: the names stay stacked inside the garland (a wide pane, the lockup centred in it); sized to the garland */
@media (min-aspect-ratio: 1/1) {
  /* the names low in the garland's opening, the announce line below its two ends (garland height x .56, then 5svh) */
  .he060 .he060__words { justify-content: flex-start; padding-top: calc(var(--he060-pane-w) * var(--he060-press-w) / var(--sgl-pressed-ratio, 1.0818) * .56); }
  .he060 .he060__announce { margin-top: 5svh; }
  .he060 .he060-names { font-size: min(clamp(34px, 3.2vw, 50px), calc(var(--he060-pane-w) * var(--he060-press-w) * .62 / (var(--he060-len, 6) * .8))); }
}

/* ---- W5 wave 2: the silk the pane stands in (z 2: over the pane's foot). Its shadow falls straight down (12 o'clock
   light): darkest where the hem touches the satin, then fading (three layers, no offset gap) ---- */
.he060 .he060__silk {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: var(--he060-silk-gap); height: var(--he060-silk-h);
  display: block; pointer-events: none;
  background: var(--sgl-art-silk, none) 50% 100% / var(--he060-silk-w) 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgb(20 12 8 / .3)) drop-shadow(0 4px 5px rgb(20 12 8 / .18)) drop-shadow(0 10px 16px rgb(20 12 8 / .12));
}
/* ---- the rose, a pampas plume and the tuft, lying on the silk (the skin's .k-sgl-bloom: art, ratio, shadow) ---- */
.he060 .he060__rose { z-index: 3; width: var(--he060-rose-w); left: var(--he060-rose-left);
  bottom: calc(var(--he060-silk-gap) + var(--he060-silk-h) * var(--he060-rose-up)); transform: rotate(var(--he060-rose-rot)); }
.he060 .he060__pampas { z-index: 3; width: var(--he060-pampas-w); right: var(--he060-pampas-right);
  bottom: calc(var(--he060-silk-gap) + var(--he060-silk-h) * var(--he060-pampas-up)); transform: rotate(var(--he060-pampas-rot)); }
.he060 .he060__tuft { z-index: 3; width: var(--he060-tuft-w); right: var(--he060-tuft-right);
  bottom: calc(var(--he060-silk-gap) + var(--he060-silk-h) * var(--he060-tuft-up)); transform: rotate(var(--he060-tuft-rot)); }

/* ---- A2083 (W7.1, stage 2; the owner picked all 12 effects, plan right-i-wanna-try-cosmic-torvalds W7) ----
   C "garland presses in": as the hero appears (the opener cross-fades at 1300 ms), the pressed flowers start a hair raised
   (scale 1.03, a lifted shade 7 px down) and press flat into the glass. D "silk stirs" is gone (A2123, the owner on the
   iPhone: the slab seemed to grow in three steps as the drape lifted, dipped and settled; "just keep it static … that
   doesn't look very real anyways"): the silk and the flowers on it never move. Returning guests (kjy-instant): at once. E "thick-glass depth": the flowers
   inside the glass drift a little slower than the glass as the hero leaves (the skin names --sgl-glint on the section; a
   pseudo-element takes a named timeline). Reduced motion: none; lite: no depth. The one-off moves fill backwards only, so
   each element drops back to its plain still state (no layer kept) when it ends */
html.kjy-enter:not(.motion-reduce) .he060 .he060__pressed { transform-origin: 50% 35%; animation: he060-press 1100ms cubic-bezier(.2, .7, .25, 1) 1250ms backwards; }
html.kjy-enter:not(.motion-reduce) .he060 .he060__pressed::before { animation: he060-press-shade 1100ms cubic-bezier(.2, .7, .25, 1) 1250ms backwards; }
html.kjy-instant:not(.motion-reduce) .he060 .he060__pressed, html.kjy-instant:not(.motion-reduce) .he060 .he060__pressed::before { animation-delay: 150ms; }
html:not(.motion-reduce):not(.kjy-lite) .he060 .he060__pressed::after { animation: he060-depth linear both; animation-timeline: --sgl-glint; animation-range: exit 0% exit 100%; }
@keyframes he060-press { from { scale: 1.03; } to { scale: 1; } }
@keyframes he060-press-shade { from { opacity: .3; translate: 0 7px; } to { opacity: 0; translate: 0 2px; } }
@keyframes he060-depth { from { translate: 0 0; } to { translate: 0 calc(var(--he060-pane-h) * .06); } }
