/* Last polaroid (core/closing/070) — INV-04 Keepsake Table · Luxe W1 (A1987; plan docs/plans/plan_inv04_keepsake_table_master.md).
   Stage 1, still. The last things on the table: the couple's polaroid ("Until then" in ink on its foot), a deckled
   thank-you note lying across its lower corner ("Thank you" in the couple's script, then the couple's closing line as the
   sign-off and their names), the two gold rings by the photo's upper corner and white flowers at the table's edge. The section fills
   the screen at every size, with the composition sized to it (owner: no phone-shaped card on a ground). The engine's
   logo footer follows. Phone: polaroid above, note overlapping its foot; tablets and computers: side by side across
   about 90 %. Shadows: the skin's --k-sh-* tokens only. The rings are platinum (W1.3). W1.4 (A2034): a soft window
   light falls across the photo side (the skin's .k-window).
   W2.5 (A2125, D-197): phones draw the page at 88 % (the skin's --k-pz), so the section's height is one screen ÷ that. */
.cl070 { position: relative; z-index: 1; display: grid; place-items: center; min-height: calc(100svh / var(--k-pz, 1)); background: var(--k-light-ground); color: var(--k-ink);
  padding: var(--k-section-pad) 0 var(--k-s-6); }
.cl070__lay { position: relative; display: grid; width: min(88vw, 460px); }
.cl070__fl { position: absolute; z-index: 2; width: clamp(180px, 50vw, 380px); left: -32%; top: -22%; }
.cl070__pol { position: relative; z-index: 1; width: 84%; margin: 0; rotate: 3deg; justify-self: start; }
.cl070__pol > img { aspect-ratio: 1 / 1.08; object-position: var(--cl070-pos, 50% 35%); }
.cl070__cap { display: grid; place-items: center; height: clamp(44px, 13vw, 76px); font: 400 clamp(1.3rem, 6vw, 1.9rem)/1 var(--k-font-script); color: var(--k-ink-soft); }
.cl070__rings { position: absolute; z-index: 3; width: clamp(78px, 22vw, 124px); right: -3%; top: -10%; }
.cl070__rings::before { rotate: -24deg; }
.cl070__notew { position: relative; z-index: 2; width: 82%; margin-top: -18%; justify-self: end; rotate: -3deg; filter: var(--k-sh-cut); }
.cl070--nophoto .cl070__notew { width: 100%; margin-top: 0; justify-self: center; }
.cl070__note { display: grid; justify-items: center; gap: 6px; padding: clamp(36px, 7svh, 56px) clamp(20px, 6vw, 36px) clamp(34px, 6svh, 52px); text-align: center; }
.cl070__thanks { font: 400 clamp(2.6rem, 12vw, 3.6rem)/1.05 var(--k-font-script); color: var(--k-script-ink); }
/* the couple's closing line is the sign-off above their names (Emma & James: "With love") */
.cl070__line { max-width: 22em; margin-top: var(--k-s-2); font: italic 500 clamp(1.05rem, 4.4vw, 1.25rem)/1.45 var(--k-font-body); color: var(--k-ink-soft); text-wrap: balance; }
.cl070__names { font: 400 clamp(1.7rem, 7.4vw, 2.3rem)/1.15 var(--k-font-script); color: var(--k-script-ink); }
/* W1.4 (A2034, the owner's pick): the window light falls across the photo side, over everything; it only lightens */
.cl070__sun { z-index: 6; width: 110%; left: -20%; top: 0; }
/* W2.2 (A2057, the owner: "very little artifacts just above our logo … sprinkle a little bit more … so it looks rich
   just like the rest"): the last keepsakes along the table's lower edge, above the logo: a fern and a sprig of baby's
   breath at the left, three loose petals, and a sprinkle of petals at the right (mirrored, so its light stays on top,
   AG-T284). W2.4 (A2094, D-193, AG-T334): where they reach the photo or the note (computers), they lie on top (z 3),
   never under; none lies over a word or the photo. The layer pa070 lays them down and
   gives them depth like every keepsake. The ink bottle is gone (D-187, A2089; the owner saw a "broken bottle"). */
.cl070__fern, .cl070__gyp, .cl070__pt, .cl070__spr { position: absolute; z-index: 3; }
.cl070__fern { width: clamp(120px, 34vw, 200px); left: -7%; bottom: 2%; }
.cl070__fern::before { rotate: 12deg; }
.cl070__gyp { width: clamp(100px, 28vw, 170px); left: 12%; bottom: -1%; }
.cl070__gyp::before { rotate: -14deg; }
.cl070__pt { width: 28px; }
.cl070__pt--a { left: 34%; bottom: 9%; }
.cl070__pt--a::before { rotate: 14deg; }
.cl070__pt--b { left: 60%; bottom: 2%; width: 24px; }
.cl070__pt--b::before { scale: -1 1; rotate: -9deg; }
.cl070__pt--c { right: 30%; bottom: 10%; width: 32px; }
.cl070__pt--c::before { rotate: 22deg; }
.cl070__spr { width: clamp(150px, 44vw, 260px); right: -9%; bottom: -3%; }
.cl070__spr::before { scale: -1 1; }

@media (min-width: 760px) {
  .cl070__lay { width: min(88vw, 1000px); grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; }
  .cl070--nophoto .cl070__lay { width: min(80vw, 560px); grid-template-columns: 1fr; }
  .cl070__pol { width: 100%; }
  .cl070__notew { width: auto; margin: 18% 0 0 -12%; justify-self: stretch; }
  .cl070__rings { right: auto; left: calc(52.6% - 40px); top: -19%; }
  .cl070__fl { left: -20%; top: -26%; width: clamp(240px, 26vw, 420px); }
  .cl070__sun { width: min(60vw, 900px); left: 4vw; top: -4svh; }
  .cl070__fern { width: clamp(200px, 22vw, 340px); left: 1vw; bottom: 1svh; }
  .cl070__gyp { width: clamp(160px, 16vw, 260px); left: 20vw; bottom: -1svh; }
  .cl070__pt { width: 40px; }
  .cl070__pt--a { left: 36vw; bottom: 8svh; }
  .cl070__pt--b { left: 56vw; bottom: 2svh; width: 34px; }
  .cl070__pt--c { right: 26vw; bottom: 9svh; width: 44px; }
  .cl070__spr { width: clamp(240px, 24vw, 380px); right: -2vw; bottom: -2svh; }
}
@media (min-width: 1100px) {
  /* the polaroid (about 1.25 × its width tall) must fit the screen's height with room round it */
  .cl070__lay { width: min(80vw, 1160px, calc((100svh - 220px) / 1.25 * 1.9)); }
  .cl070__thanks { font-size: 4.2rem; }
}
