@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/montserrat-600.woff2') format('woff2');
}
@font-face {
  font-family: Oswald;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/oswald-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bebas-neue-400.woff2') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-700.woff2') format('woff2');
}

html, body { margin: 0; height: 100%; }
body { min-height: 100vh; }
.count-stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3vh;
  padding: 7vh 8vw;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.logo {
  max-width: min(52vw, 720px);
  max-height: 18vh;
  object-fit: contain;
}
.count-stage.logo-bottom .logo {
  order: 1;
  margin-top: 4vh;
}
.count-stage.is-inline.logo-bottom .logo { margin-top: 2.5vh; }
.message {
  margin: 0;
  max-width: 84vw;
  font-size: clamp(1.5rem, 4.2vw, 3.6rem);
  line-height: 1.2;
  white-space: pre-line;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.clock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.2rem, 3.5vw, 3.4rem);
}
.unit { min-width: 2.2ch; }
.num {
  display: block;
  font-size: clamp(4.2rem, 13vw, 11.5rem);
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.unit-label {
  display: block;
  margin-top: 0.55rem;
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: clamp(0.72rem, 1.5vw, 1.15rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.82;
}
.count-stage.is-inline {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  padding: 4vh 5vw;
  gap: 2vh;
}
