/* cd061 Glass countdown (INV-03 Satin Glass · Luxe, stage 1 still; W1 A1983, plan docs/plans/plan_inv03_satin_glass_w1.md).
   One glass pane on the satin: "The countdown", the engine's "Counting down to …" line in champagne script, then the
   days, hours, minutes and seconds. No blur anywhere: the digits change every second. Glass = the skin's pane recipe.
   Desktop: a wide pane, never a phone column (D-030).
   W2 (A1994, plan docs/plans/plan_inv03_satin_glass_w2.md): the pane is see-through glass (an .k-sgl-mist first child,
   registered with the satin like the hero); the four tile boxes are gone (owner: no boxes): the numbers and their
   labels sit on the one pane as plain text in one row of four equal columns, no dividers; numbers in Gilda 400 (W2); the
   script line and the numbers x .8. The folder keeps its old name (glass_tiles), so the link holds.
   W3 A2001 (plan docs/plans/plan_inv03_satin_glass_w3.md): Lato (the skin); the script line and the numbers x .8 again,
   the numbers in Lato 300; the pane's top and bottom padding equal; an empty script line (the engine empties it when
   the day has come) and the hidden numbers or done line take no space. */
.cd061 {
  --cd061-w: 560px;
  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) and (max-aspect-ratio: 1/1) { .cd061 { --cd061-w: 76vw; } }
@media (min-aspect-ratio: 1/1) { .cd061 { --cd061-w: min(90vw, 1240px); } }

/* ---- the glass pane (the skin's recipe; see-through: no transform, filter, contain or container-type on it or above it) ---- */
.cd061 .cd061__pane { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--sgl-glass-radius, 8px);
  background: transparent; box-shadow: var(--sgl-glass-shadow, 0 30px 60px -20px rgb(30 20 14 / .45));
  color: var(--k-on-dark); text-shadow: var(--sgl-text-shadow, none); }
.cd061 .cd061__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); }
.cd061 .cd061__pane > :where(:not(.k-sgl-mist, .k-sgl-glint)) { position: relative; z-index: 1; }
.cd061 .cd061__pane { width: min(100%, var(--cd061-w)); margin: 0 auto; padding: clamp(40px, 11vw, 56px) clamp(14px, 4vw, 40px); } /* W3: top = bottom */

/* ---- the words ---- */
.cd061 .cd061__kicker { margin: 0; padding-left: .26em; font-size: clamp(11px, 2.8vw, 12.5px); letter-spacing: .26em; } /* W3: floor 11px */
/* the script line: padded so the text grain (a mask, it ends at the box) never cuts a swash; the margins give the room back */
.cd061 .kjy-countdown__label { margin: calc(clamp(4px, 1.4vw, 10px) - .25em) auto -.4em; padding: .25em .4em .4em; max-width: 16em;
  font: 400 clamp(21.76px, 6.016vw, 32px)/1.05 var(--k-font-script); /* W2: x .8; W3: x .8 */
  color: var(--c-secondary); text-wrap: balance; }
/* W3: nothing empty or hidden keeps its space (a section's display rule would beat the hidden attribute) */
.cd061 .kjy-countdown__label:empty, .cd061 .kjy-countdown__done:empty, .cd061 .kjy-countdown [hidden] { display: none; }
/* four numbers, one row at every width (360 px up): plain text on the pane, four equal columns */
.cd061 .kjy-countdown__units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2.4vw, 14px);
  width: min(100%, 560px); margin: clamp(22px, 6vw, 32px) auto 0; }
.cd061 .kjy-unit { display: block; min-width: 0; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.cd061 .kjy-unit__n { display: block; font: 300 clamp(19.2px, 5.504vw, 29.44px)/1 var(--k-font-display); letter-spacing: .02em; /* W2: x .8; W3: x .8, 300 */
  font-variant-numeric: lining-nums tabular-nums; }
.cd061 .kjy-unit__l { display: block; margin-top: clamp(8px, 2.2vw, 12px); padding-left: .2em; font: 400 11px/1.2 var(--k-font-body); /* W3: floor 11px */
  letter-spacing: .2em; text-transform: uppercase; color: var(--k-on-dark-soft); }
/* below 390 px a column is too narrow for tracked caps: "SECONDS" fits with less tracking */
@media (max-width: 389px) { .cd061 .kjy-unit__l { letter-spacing: .08em; padding-left: .08em; } }
.cd061 .kjy-countdown__done { margin-top: clamp(14px, 4vw, 20px); font: 400 clamp(17px, 4.6vw, 21px)/1.6 var(--k-font-display); color: var(--k-on-dark-soft); }

/* tablet and desktop: bigger numbers */
@media (min-width: 700px) {
  .cd061 .cd061__pane { padding: 64px 7%; } /* W3: top = bottom */
  .cd061 .kjy-countdown__units { width: min(100%, 620px); gap: 16px; }
  .cd061 .kjy-unit__n { font-size: 35.84px; } /* W2: x .8; W3: x .8 */
  .cd061 .kjy-unit__l { font-size: 11.5px; }
}
@media (min-aspect-ratio: 1/1) {
  .cd061 .cd061__pane { padding: clamp(56px, 5.6vw, 76px) 8%; } /* W3: top = bottom */
  .cd061 .kjy-countdown__label { font-size: clamp(29.44px, 2.56vw, 38.4px); max-width: none; } /* W2: x .8; W3: x .8 */
  .cd061 .kjy-countdown__units { width: min(100%, 860px); gap: clamp(16px, 1.8vw, 26px); }
  .cd061 .kjy-unit__n { font-size: clamp(35.84px, 3.2vw, 48.64px); } /* W2: x .8; W3: x .8 */
}
/* 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 */
.cd061 .cd061__bloom { left: calc(50% - min(100% - 2 * var(--k-gutter), var(--cd061-w)) / 2 - 14px); bottom: calc(var(--k-section-pad) - 104px); width: clamp(78px, 21vw, 116px); }
/* W2.1 (A2238; owner: red roses "near the dried" pieces): one rose beside the dried piece */
.cd061 .cd061__clay { left: calc(50% - min(100% - 2 * var(--k-gutter), var(--cd061-w)) / 2 + clamp(70px, 19vw, 106px)); bottom: calc(var(--k-section-pad) - 96px); width: clamp(72px, 19vw, 112px); }
.cd061 .cd061__drift { right: 5vw; top: -8px; width: clamp(100px, 27vw, 180px); }
