/* ---------- Tokens ---------- */
:root {
  --navy-900: #0e1f3d;
  --navy-800: #142a52;
  --navy-700: #1a3a6e;
  --navy-accent: #1e478c;
  --ink: #17223a;
  --paper: #fbfaf7;
  --paper-dim: #eef0f3;
  --hairline: #d9dce2;
  --footer-bg: #0e1f3d;

  --font-display: 'Georgia', 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
}

/* ---------- Background photo ---------- */
.bg {
  position: fixed;
  inset: 0;
  background-image: url('lobby.png');
  background-size: cover;
  background-position: center 40%;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.35) 0%, rgba(14, 31, 61, 0.55) 100%);
  z-index: -1;
}

/* ---------- Layout ---------- */
.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 96px;
}

.card {
  width: 100%;
  max-width: 620px;
  background: rgba(251, 250, 247, 0.97);
  border-radius: 2px;
  box-shadow: 0 30px 70px rgba(8, 16, 34, 0.45);
  padding: 56px 64px 48px;
  text-align: center;
}

/* ---------- Transition Title & Logos ---------- */
.transition-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin: 0 0 28px;
}

.transition-pair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.transition-word {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--navy-800);
}

.title-logo {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

.title-logo-kwwm {
  height: 34px;
  width: auto;
}

.title-logo-kwp {
  height: 38px;
  width: auto;
}

.rule {
  height: 1px;
  background: var(--hairline);
  margin: 24px auto;
  width: 100%;
}

.lede {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 20px;
}

.lede strong {
  color: var(--navy-800);
}

.body-text {
  font-size: 15px;
  line-height: 1.75;
  color: #3c465c;
  max-width: 460px;
  margin: 0 auto;
}

.redirect-note {
  font-size: 15px;
  color: #3c465c;
  margin: 0 0 8px;
}

.redirect-note strong {
  color: var(--navy-800);
}

.countdown {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #6b7386;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* ---------- CTA ---------- */
.cta {
  display: inline-block;
  background: var(--navy-800);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 32px;
  border-radius: 3px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  background: var(--navy-accent);
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 3px solid #7ea3e0;
  outline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--footer-bg);
  color: #cfd7e6;
  font-size: 13px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #cfd7e6;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.footer-right {
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .card {
    padding: 40px 28px 36px;
  }

  .transition-title {
    font-size: 22px;
    gap: 8px 12px;
    margin-bottom: 22px;
  }

  .transition-word {
    font-size: 22px;
  }

  .title-logo-kwwm {
    height: 26px;
  }

  .title-logo-kwp {
    height: 30px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 14px 20px 18px;
  }

  .mobile-break {
    display: block;
  }

  .stage {
    padding-bottom: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
