:root {
  --navy: #020730;
  --navy-deep: #010421;
  --blue: #2282ff;
  --blue-soft: #4d9aff;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(6, 14, 60, 0.42);
  --display: "Bricolage Grotesque", "Lato", system-ui, sans-serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: dark; background: var(--navy); }

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

ul { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 999px;
}

/* Blurred lobby photo with a navy wash for legibility */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--navy);
}
.backdrop::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: url("img/lobby.webp") center / cover no-repeat;
  filter: blur(4px) saturate(1.2);
  transform: scale(1.06);
  animation: drift 40s ease-in-out infinite alternate;
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% 48%, rgba(2, 7, 48, 0.62), rgba(2, 7, 48, 0.28) 75%),
    linear-gradient(to bottom, rgba(2, 7, 48, 0.35), rgba(2, 7, 48, 0.15) 40%, rgba(1, 4, 33, 0.85));
}

@keyframes drift {
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 4vh, 2.5rem) 1.25rem 1.25rem;
}

.top { display: flex; justify-content: center; }
.logo { width: clamp(10rem, 20vw, 13.5rem); }

/* Hero */
.hero {
  flex: 1;
  width: 100%;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2.5vh, 2rem) 0;
}

.headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 0.25rem 2rem rgba(0, 0, 0, 0.45);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lead {
  margin-top: 1.1rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  text-wrap: balance;
  color: var(--muted);
  animation: rise 0.9s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Countdown dial: 10 arc segments, one per day */
.dial {
  position: relative;
  width: clamp(12.5rem, 31vh, 16.5rem);
  aspect-ratio: 1;
  margin: clamp(1.25rem, 3vh, 2rem) 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 130, 255, 0.22), var(--glass) 62%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 5rem -1rem rgba(34, 130, 255, 0.55), inset 0 0 0 1px var(--line);
  animation: rise 0.9s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.seg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 7;
  stroke-linecap: round;
}
.seg.on {
  stroke: var(--blue);
  filter: drop-shadow(0 0 4px rgba(34, 130, 255, 0.95));
  animation: seg-in 0.45s ease-out both;
  animation-delay: calc(var(--i) * 90ms + 600ms);
}
.seg.today {
  stroke: var(--blue-soft);
  animation: seg-in 0.45s ease-out both, blink 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms + 600ms), calc(var(--i) * 90ms + 1200ms);
}
.seg.launch:not(.on) {
  stroke: rgba(255, 255, 255, 0.55);
  animation: glow 2.4s ease-in-out infinite;
}

.dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.count-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.5rem, 12vh, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.count-num.word { font-size: clamp(3rem, 8vh, 4.25rem); letter-spacing: -0.03em; }

.count-label {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vh, 1.2rem);
  color: var(--blue-soft);
}

/* Contact */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: rise 0.9s 0.36s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(10, 22, 90, 0.6); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }
.btn svg.stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-solid {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0.75rem 2rem -0.5rem rgba(34, 130, 255, 0.75);
}
.btn-solid:hover { background: var(--blue-soft); border-color: var(--blue-soft); }

/* Experience center hint */
.lab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  padding: 0.7rem 1.4rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.95rem;
  color: var(--muted);
}
.lab img { height: 1.7rem; width: auto; }

/* Brand marquee */
.brands { width: 100%; max-width: 72rem; }

.marquee {
  overflow: hidden;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.brand-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 45s linear infinite;
}
.marquee:hover .brand-track { animation-play-state: paused; }

.brand-track li { flex: none; padding: 0 clamp(1.5rem, 3vw, 2.5rem); }
.brand-track img { height: 1.6rem; width: auto; max-width: 9rem; object-fit: contain; opacity: 0.85; }

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* Footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}
.foot address { font-style: normal; }

.social {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.social:hover { background: var(--blue); border-color: var(--blue); }
.social svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes seg-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes blink {
  50% { opacity: 0.35; }
}
@keyframes glow {
  50% { stroke: rgba(255, 255, 255, 0.95); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)); }
}

@media (max-width: 36rem) {
  .headline br { display: none; }
  .actions { flex-direction: column; width: 100%; max-width: 22rem; }
  .actions li, .btn { width: 100%; }
  .btn { justify-content: center; }
  .foot { flex-direction: column; }
  .lab { border-radius: 1rem; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .brand-track { width: auto; flex-wrap: wrap; justify-content: center; gap: 1rem 0; }
  .brand-track li[aria-hidden="true"] { display: none; }
}
