/* ================================================================
   The Exit Band — shared styles
   Design tokens, header, footer, buttons, typography.
   ================================================================ */

:root {
  --bg: #050505;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --red: #ff1f1f;
  --red-soft: rgba(255, 31, 31, 0.35);
  --line: rgba(255, 255, 255, 0.14);
}

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

html {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Archivo", system-ui, -apple-system, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  width: 100%;
}

a {
  color: inherit;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Bebas Neue", "Archivo", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-decoration: none;
  line-height: 1;
}

.brand span {
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--fg);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.active {
  color: var(--red);
}

.site-nav a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.38);
  border-top: 1px solid var(--line);
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}

footer a:hover {
  color: var(--red);
  border-color: var(--red);
}

footer a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  padding: 9px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.btn.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn.primary:hover {
  background: #e01a1a;
  border-color: #e01a1a;
}

/* ---------- Page head ---------- */
.page-head {
  position: relative;
  text-align: center;
  padding: 64px 24px 40px;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  animation: rise 0.8s ease-out both;
}

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

.page-head .glow {
  position: absolute;
  top: 40%;
  left: 50%;
  width: min(720px, 130vw);
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, var(--red-soft) 0%, rgba(255, 31, 31, 0.1) 40%, transparent 72%);
  filter: blur(34px);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--red);
}

h1 {
  position: relative;
  font-family: "Bebas Neue", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.tagline {
  position: relative;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #050505;
    border-bottom: 1px solid var(--line);
    padding: 8px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 4px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .page-head {
    padding: 40px 18px 28px;
  }

  .eyebrow {
    letter-spacing: 0.3em;
  }

  footer {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-head {
    animation: none;
  }
  .site-nav a,
  .btn,
  footer a {
    transition: none;
  }
}