/* Countdown strip, embedded at 4:1 in infrared.city/p/smart-city-expo-2026.
   Sizes use vw, so the strip keeps its proportions at any iframe width. */

html, body { height: 100%; margin: 0; overflow: hidden; background: var(--bg); }
body::before, body::after { display: none; }

.logo-corner, .progress, .nav { display: none !important; }

.deck { height: 100%; cursor: default; }

.slide.cd {
  position: absolute;
  inset: 0;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5vw;
  text-align: center;
  opacity: 1;
  transform: none;
  font-family: 'Inter', system-ui, sans-serif;
}

[hidden] { display: none !important; }

.cd-eyebrow {
  margin: 0;
  font-size: clamp(10px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.cd-units { display: flex; align-items: flex-start; gap: 1.6vw; }

.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 11vw; }

.cd-num, .cd-sep {
  font-size: clamp(28px, 8.6vw, 112px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.cd-num { color: var(--text); }

.cd-sep { color: var(--teal); opacity: 0.5; font-weight: 300; }

.cd-lbl {
  margin-top: 0.7vw;
  font-size: clamp(8px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-meta {
  margin: 0;
  font-size: clamp(10px, 1.45vw, 18px);
  font-weight: 500;
  color: var(--text);
  opacity: 0.75;
}

.cd-live {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.4vw;
  font-size: clamp(18px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.cd-dot {
  width: clamp(8px, 1.3vw, 16px);
  height: clamp(8px, 1.3vw, 16px);
  border-radius: 50%;
  background: var(--teal);
  animation: cd-pulse 1.6s ease-in-out infinite;
}

@keyframes cd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.8); }
}

@media (max-width: 480px) {
  .slide.cd { gap: 4px; }
  .cd-meta { white-space: nowrap; }
  .cd-units { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .cd-dot { animation: none; }
}
