/* station 2: counting down */
/* countdown (sized to fit four units across a phone card, never clipped) */
.count{display:flex;justify-content:center;align-items:flex-start;gap:4px;margin:8px 0 6px}
.unit{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;flex:0 1 auto;padding:0 3px}
.num{font-family:var(--didone);font-size:44px;line-height:1;font-weight:500;color:var(--navy);font-variant-numeric:lining-nums tabular-nums}
.unit small{font-family:var(--caps);letter-spacing:.18em;font-size:12px;color:var(--ink-soft)}
.sep{width:5px;height:5px;border-radius:50%;background:var(--silver);margin-top:21px;flex:none}
#st-countdown .num{font-size:clamp(28px, 9.4vw, 44px)}
#st-countdown .unit{min-width:0}
#st-countdown .unit small{letter-spacing:.12em;font-size:11px}
#st-countdown .sep{margin-top:calc(clamp(28px, 9.4vw, 44px) / 2 - 2px)}
@media (min-width:420px){#st-countdown .unit{min-width:58px}#st-countdown .unit small{letter-spacing:.18em;font-size:12px}}

/* ---------- the sundial: hour marks and the gnomon's shadow drawn on its blank face ---------- */
/* .sa-over sits exactly over the picture and makes the same small "comes into focus" move */
#st-countdown .st-art{width:min(270px,70%)}
@media (min-width:1100px){#st-countdown .st-art{width:min(300px,92%)}}
#st-countdown .sa-over{position:absolute;inset:0;pointer-events:none;opacity:0;
  transform:translateY(14px) scale(.96);transition:transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out)}
/* the brass gnomon is cut out of the overlay, so the shadow passes behind it */
#st-countdown .sa-over{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 376 560' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H376V560H0Z M179 95 L249 1 L253 4 L235 89 Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 376 560' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H376V560H0Z M179 95 L249 1 L253 4 L235 89 Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
#st-countdown.has-art.is-near .sa-over{opacity:1}
#st-countdown.is-here .sa-over{transform:none}
/* the face: a square drawing (200 x 200 units = the dial's inner ring, centred at 197,90 of 376 x 560)
   squashed to the ellipse the painter drew (38 / 100) */
#st-countdown .sd-face{position:absolute;left:25.8%;top:-1.79%;width:53.19%;aspect-ratio:1;transform:scaleY(.38)}
#st-countdown .sd-dial, #st-countdown .sd-shade, #st-countdown .sd-shade img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
/* (the dial's own images are not the garden picture: no focus move, fade or shadow from stations.css) */
#st-countdown .st-art .sd-face img{opacity:1;transform:none;transition:none;filter:none}
#st-countdown .sd-shade{will-change:transform;transform-origin:50% 50%}

@media (prefers-reduced-motion: reduce){#st-countdown .sa-over{transform:none!important;transition:opacity .4s!important}}
