@font-face {
  font-family: "Orbitron";
  src: url("assets/fonts/Orbitron/Orbitron%20Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("assets/fonts/Orbitron/Orbitron%20Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("assets/fonts/Orbitron/Orbitron%20Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("assets/fonts/Orbitron/Orbitron%20Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/Overpass/Overpass%20Variable%20Regular.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/Overpass/Overpass%20Variable%20Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --paper: #f3f0e8;
  --yellow: #ffe500;
  --muted: rgba(243, 240, 232, 0.58);
  --hairline: rgba(243, 240, 232, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Overpass", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 226, 0, 0.07), transparent 42%),
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.035), transparent 55%);
}

.page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

/* ---------- Top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--hairline);
  font-family: "Orbitron", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--paper);
}

.status-dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 226, 0, 0.35);
  }
  50% {
    box-shadow: 0 0 0 0.3rem rgba(255, 226, 0, 0);
  }
}

/* ---------- Center stage ---------- */

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.2vw, 2.25rem);
  padding: clamp(3rem, 9vh, 6rem) 0;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--yellow);
  font-family: "Orbitron", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  margin: 0;
  width: clamp(17rem, 54vw, 41rem);
  animation: rise 0.9s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-family: "Orbitron", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.copyright {
  white-space: nowrap;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-inline: -0.6875rem;
}

.social-link {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--muted);
  transition: color 400ms ease-in-out;
}

.social-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--yellow);
}

.social-link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 0.125rem;
  border-radius: 0.125rem;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .logo {
    width: min(86vw, 22rem);
  }

  .stage {
    padding: 3.5rem 0 4rem;
  }
}

@media (max-height: 820px) and (min-width: 561px) {
  .page {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .topbar {
    padding-bottom: 1rem;
  }

  .footer {
    padding-top: 1rem;
  }

  .stage {
    gap: 1.1rem;
    padding: 1.5rem 0;
  }

  .logo {
    width: min(50vw, 32rem, 68vh);
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .stage {
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .logo {
    width: min(42vw, 20rem);
  }

  .eyebrow {
    display: none;
  }

  .topbar {
    padding-bottom: 0.75rem;
  }

  .footer {
    padding-top: 0.75rem;
  }
}

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