/* Scoped to the fact strips on the three landing pages. */
.metrics .metrics-grid > div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:22px 20px}
.metrics .metrics-grid > div:first-child{padding-left:0}
.metrics .metrics-grid strong{font-size:clamp(32px,calc(2.55vw / var(--porscha-scale,1)),43px);line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}
.metrics .metrics-grid .metric-label{max-width:230px;font-size:14px;line-height:1.3}
@media(max-width:700px){.metrics .metrics-grid > div,.metrics .metrics-grid > div:first-child{padding:0}.metrics .metrics-grid strong{font-size:clamp(20px,calc(6.5vw / var(--porscha-scale,1)),36px)}.metrics .metrics-grid .metric-label{font-size:13px}}
@media(max-width:360px){.metrics .metrics-grid{gap:18px 12px}}

.metrics .metrics-grid strong [data-metric-join]{font:inherit;line-height:inherit;color:inherit;max-width:none}
.metrics .metrics-grid .metric-detail{display:block;margin-top:3px;color:var(--muted);font-size:12px;line-height:1.35}

html[data-theme="light"] .metrics .metrics-grid strong{color:var(--red)}
html[data-theme="light"] .metrics .metrics-grid>div{border-inline-start-color:#bcc2c9}

@media /*fhd*/ (max-width:1100px) and (max-width: 1279px), (max-width:1100px) and (hover: none), (max-width:1100px) and (pointer: coarse) {
  html[data-theme="light"] .metrics .metrics-grid>div:nth-child(even){
    border-inline-start:1px solid #bcc2c9;
    padding-inline-start:clamp(10px,calc(3vw / var(--porscha-scale,1)),20px);
  }
}

html[data-theme="light"] .metrics .metric-label > span{color:inherit}

@media /*fhd*/ (min-width:1101px), (hover: hover) and (pointer: fine) and (min-width: 1280px) and (max-width: 1919px) {
  html[data-theme="light"] .metrics .metrics-grid{align-items:stretch;padding-block:6px}
}

/* 12.11.2026 (owner): when a number has counted up it flashes with BRIGHT light while it is enlarged, as on FlippingStroy
   ("flash white + scale on finish"). Scale: mtPop (responsive.css, 1.14 at 0.27 s). Light: mtFlash, a white-hot core in the
   number's own hue with a soft bloom around the digits, brightest 0.22-0.36 s, then fading out over ~0.55 s.
   Only color and text-shadow change (no layout). Dark theme: gold turns warm white in a gold halo; light theme: hot red in a
   red-gold halo. The class mt-pop comes from reveal.js (removed after mtFlash ends); reduced motion: none. */
.metrics .metrics-grid strong{--mt-core:#fffaf0;--mt-glow1:rgba(255,246,220,.95);--mt-glow2:rgba(240,205,130,.8);--mt-glow3:rgba(194,161,100,.55)}
html[data-theme="light"] .metrics .metrics-grid strong{--mt-core:#ff3b2f;--mt-glow1:rgba(255,70,50,.85);--mt-glow2:rgba(255,60,40,.55);--mt-glow3:rgba(255,160,60,.45)}
.metrics .metrics-grid strong.mt-pop{animation:mtPop .6s cubic-bezier(.16,1,.3,1),mtFlash .9s cubic-bezier(.22,.61,.36,1)}
@keyframes mtFlash{25%,40%{color:var(--mt-core);text-shadow:0 0 2px var(--mt-glow1),0 0 9px var(--mt-glow1),0 0 22px var(--mt-glow2),0 0 44px var(--mt-glow3)}}
@media print,(prefers-reduced-motion:reduce){.metrics .metrics-grid strong.mt-pop{animation:none}}

/* 13.11.2026 (owner): the numbers roll like an odometer. reveal.js puts one drum (.metric-digit) on every digit: a window
   one line high (1.1em = the number's line) with a column of cells 9..0 that rolls down while the number counts up. Width
   of a drum = its digit (tabular figures), so the number keeps its size before, during and after. Hidden copy for screen
   readers: .metric-sr. Print and reduced motion: no drums (the number is plain text). */
/* style.css and responsive.css set ".metrics span" (size, colour, max-width): the drum parts take the number's own size and colour */
.metrics .metrics-grid .metric-digit{display:inline-block;vertical-align:top;height:1.1em;line-height:1.1em;overflow:hidden;text-align:center;font-variant-numeric:tabular-nums;font-size:inherit;color:inherit;max-width:none}
.metrics .metrics-grid .metric-reel{display:block;will-change:transform;font-size:inherit;line-height:inherit;color:inherit;max-width:none}
.metrics .metrics-grid .metric-reel>span{display:block;height:1.1em;line-height:1.1em;font-size:inherit;color:inherit;max-width:none}
.metrics .metrics-grid .metric-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
