@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #070708;
  --ink: #e9e9ea;
  --muted: #9a9ca0;
  --metal: linear-gradient(180deg, #f2f2f2 0%, #cfcfcf 45%, #a4a4a4 100%);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 55% at 50% 30%, #1c1d20 0%, #0e0e10 55%, var(--bg) 100%) fixed,
    var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) 0 1rem;
}

/* 16:9 stage, sized so stage + text fit on one desktop screen */
.stage {
  width: min(100%, 1400px, calc((100svh - 380px) * 16 / 9));
  min-width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

#invo-intro {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.notice {
  max-width: 48rem;
  padding: 0 1.5rem;
  text-align: center;
  margin-top: clamp(-2.5rem, -3vw, -0.5rem);
}

.js .notice {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .notice.is-visible {
  opacity: 1;
  transform: none;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.7;
}

.progress {
  position: relative;
  width: 140px;
  height: 2px;
  margin: 1.8rem auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, #e8e8e8, transparent);
  animation: sweep 2.4s ease-in-out infinite;
}
@keyframes sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

.footer {
  padding: 1.4rem 1.5rem 1.6rem;
  text-align: center;
  font-size: 0.78rem;
  color: #6f7175;
}
.footer p { margin: 0; }

.elp-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.38;
  font-size: 0.72rem;
  margin: 1rem 0 0;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.elp-credit:hover { opacity: 0.72; color: #fff; }
.elp-credit img { height: 18px; width: auto; }

@media (max-width: 640px) {
  .stage { width: 100%; min-width: 0; }
  .notice { margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .notice { opacity: 1; transform: none; transition: none; }
  .progress span { animation: none; }
}
