:root {
  color-scheme: dark;
  --bg: #050507;
  --ink: #f8f4e8;
  --muted: #b8b4aa;
  --line: rgba(248, 244, 232, 0.18);
  --gold: #d8a646;
  --amber: #ffcf70;
  --cyan: #68d8ff;
  --green: #48e2a4;
  --red: #d94b55;
  --panel: rgba(12, 14, 18, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.9), rgba(5, 5, 7, 0.16) 33%, rgba(5, 5, 7, 0.2) 65%, rgba(5, 5, 7, 0.82)),
    linear-gradient(180deg, rgba(5, 5, 7, 0.16), rgba(5, 5, 7, 0.78));
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #050507;
}

.cinema-frame {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  box-shadow:
    inset 0 72px 0 rgba(0, 0, 0, 0.82),
    inset 0 -72px 0 rgba(0, 0, 0, 0.82),
    inset 0 0 180px rgba(0, 0, 0, 0.88);
}

.grain {
  position: fixed;
  inset: -80px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.11;
  background-image:
    repeating-radial-gradient(circle at 19% 23%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 2px),
    repeating-radial-gradient(circle at 71% 44%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 3px);
  animation: grain-shift 0.9s steps(3) infinite;
}

.page-shell {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(216, 166, 70, 0.7);
  border-radius: 8px;
  color: var(--amber);
  background: rgba(216, 166, 70, 0.08);
  box-shadow: 0 0 34px rgba(216, 166, 70, 0.18);
  font-size: 12px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(104, 216, 255, 0.34);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(9, 20, 26, 0.48);
  font-size: 13px;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(72, 226, 164, 0.95);
  animation: signal-pulse 1.8s ease-in-out infinite;
}

.hero {
  width: min(1280px, calc(100% - 48px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  padding: 56px 0 32px;
}

.hero-copy {
  max-width: 980px;
  padding-bottom: 38px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.reveal-title {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 72px;
  line-height: 0.96;
  font-weight: 900;
  white-space: nowrap;
  text-shadow:
    0 0 22px rgba(255, 207, 112, 0.18),
    0 12px 60px rgba(0, 0, 0, 0.72);
}

.reveal-title span {
  display: inline-block;
  transform: translateY(18px);
  opacity: 0;
  animation: title-rise 0.72s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: calc(var(--index) * 34ms);
}

.hero-deck {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.domain-ribbon {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon-roll 22s linear infinite;
}

.ribbon-track span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 244, 232, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.ribbon-track span:nth-child(3n + 1) {
  color: var(--amber);
}

.ribbon-track span:nth-child(3n + 2) {
  color: var(--cyan);
}

.ribbon-track span:nth-child(3n) {
  color: var(--green);
}

.stage-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stage-readout article {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.stage-readout span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stage-readout strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.lower-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 44px;
  color: rgba(248, 244, 232, 0.72);
  font-size: 14px;
}

.lower-band p {
  margin: 0;
}

@keyframes title-rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes signal-pulse {
  50% {
    transform: scale(1.45);
    opacity: 0.56;
  }
}

@keyframes grain-shift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  33% {
    transform: translate3d(28px, -18px, 0);
  }
  66% {
    transform: translate3d(-16px, 24px, 0);
  }
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .lower-band {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
  }

  .hero {
    min-height: calc(100vh - 122px);
    padding-top: 24px;
  }

  .reveal-title {
    font-size: 42px;
    line-height: 1;
  }

  .hero-deck {
    font-size: 18px;
  }

  .stage-readout,
  .lower-band {
    grid-template-columns: 1fr;
  }

  .stage-readout article {
    min-height: 78px;
  }
}

@media (max-width: 480px) {
  .cinema-frame {
    box-shadow:
      inset 0 42px 0 rgba(0, 0, 0, 0.82),
      inset 0 -42px 0 rgba(0, 0, 0, 0.82),
      inset 0 0 110px rgba(0, 0, 0, 0.88);
  }

  .brand-lockup {
    font-size: 14px;
  }

  .status-line {
    font-size: 12px;
  }

  .reveal-title {
    font-size: 31px;
  }

  .hero-deck {
    font-size: 16px;
  }

  .ribbon-track span {
    min-height: 42px;
    padding: 0 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal-title span {
    transform: none;
    opacity: 1;
  }
}
