/* ssi | STUDIO — static landing
   ----------------------------------------------------------
   Single-page coming-soon with a centered countdown.
   No external resources beyond Google Fonts (locked by CSP).
*/

*, *::before, *::after { box-sizing: border-box; }

/* ---------- font swap ----------
   Active number font: Instrument Serif.
   Alternates: replace `--num-font` value with one of:
     'Italiana', serif          ← very thin, tall display
     'DM Serif Display', serif  ← bold, high-contrast modern serif
*/
:root {
  --num-font: 'Instrument Serif', 'Times New Roman', serif;
  --ui-font:  'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #0d0c09;
  color: #f4ecd8;
  font-family: var(--ui-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* ---------- background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    url('background.jpg') center/cover no-repeat,
    radial-gradient(ellipse at 30% 40%, rgba(180, 140, 30, 0.55), transparent 60%) center/cover no-repeat,
    radial-gradient(ellipse at 70% 70%, rgba(40, 90, 70, 0.45), transparent 60%) center/cover no-repeat,
    linear-gradient(180deg, #1a1812 0%, #0a0907 100%) #0d0c09;
}

.bg-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* ---------- stage ---------- */

.stage {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 64px);
}

.rule {
  width: min(1200px, 92%);
  height: 1px;
  background: rgba(244, 236, 216, 0.22);
}

.rule-top { margin-bottom: clamp(28px, 4vh, 56px); }
.rule-bot { margin-top: clamp(28px, 4vh, 56px); }

/* ---------- counter ---------- */

.counter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 80px);
  width: min(1200px, 92%);
  text-align: center;
}

.cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vh, 26px);
}

.num {
  font-family: var(--num-font);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 184px);
  line-height: 0.95;
  color: rgba(246, 239, 220, 0.62);
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.35);
}

.lbl {
  font-family: var(--ui-font);
  font-weight: 500;
  font-size: clamp(10px, 0.9vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #c9b063;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- a11y ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .counter {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
  .num { font-size: clamp(64px, 18vw, 120px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
