:root {
  --bg-deep: #06161d;
  --bg-mid: #0b2a36;
  --teal: #1a7b94;
  --aqua: #5bbde4;
  --leaf: #8fa63f;
  --text: #f4fbfd;
  --muted: #b9d3dc;
}

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

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, #0f4a5c 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: drift 18s ease-in-out infinite alternate;
}
.glow-a { width: 55vmax; height: 55vmax; left: -15vmax; top: -10vmax; background: var(--teal); }
.glow-b { width: 45vmax; height: 45vmax; right: -12vmax; bottom: -12vmax; background: var(--aqua); opacity: .22; animation-duration: 24s; }

.ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40vmin;
  height: 40vmin;
  margin: -20vmin 0 0 -20vmin;
  border: 1px solid rgba(91, 189, 228, .35);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 9s ease-out infinite;
}
.r2 { animation-delay: 3s; }
.r3 { animation-delay: 6s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vmax, 4vmax, 0) scale(1.15); }
}
@keyframes ripple {
  0%   { transform: scale(.4); opacity: 0; }
  15%  { opacity: .6; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- Layout ---------- */
.stage {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px 16px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  width: 220px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 24px rgba(91, 189, 228, .25));
}

/* ---------- Headline ---------- */
.headline {
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 11vw, 5.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}
.headline .line { display: block; }
.headline em {
  font-style: normal;
  color: var(--aqua);
  text-shadow: 0 0 18px rgba(91, 189, 228, .85), 0 0 48px rgba(91, 189, 228, .5);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  50% { text-shadow: 0 0 10px rgba(91, 189, 228, .6), 0 0 28px rgba(91, 189, 228, .3); }
}

.tagline {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 4.5vw, 2rem);
}

.rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 20px auto;
  background: var(--leaf);
  border-radius: 2px;
}

.sub {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  color: var(--muted);
}

/* ---------- Countdown ---------- */
.countdown { margin-top: 36px; }
.countdown-label {
  margin: 0 0 12px;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--leaf);
}
.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.cd-cell {
  padding: 14px 4px 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(91, 189, 228, .25);
  border-radius: 10px;
  backdrop-filter: blur(4px);
}
.cd-num {
  display: block;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cd-unit {
  display: block;
  margin-top: 4px;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd-done {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--aqua);
}
[hidden] { display: none !important; }

/* ---------- Contact / footer ---------- */
.contact { margin-top: 36px; }
.contact-label { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.contact-line { margin: 0; font-size: 1.1rem; }
.contact a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--aqua); }
.contact a:hover, .contact a:focus-visible { color: var(--aqua); }
.sep { margin: 0 10px; color: var(--muted); }

.foot {
  position: relative;
  z-index: 1;
  padding: 16px;
  text-align: center;
  font-size: .75rem;
  color: var(--muted);
  opacity: .8;
}

a:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

@media (min-width: 601px) {
  .logo { width: 300px; }
  .cd-grid { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .glow, .ripple, .headline em { animation: none; }
  .ripple { display: none; }
}
