:root {
  --bg: #0b0b18;
  --surface: #1c1b33;
  --surface-alt: #24233a;
  --primary: #f5031e;
  --primary-dim: #a9001f;
  --accent: #21b8e9;
  --text: #ffffff;
  --text-muted: #b9b7c8;
  --border: rgb(255 255 255 / 0.12);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --radius: 0.75rem;
  --max: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 450;
  letter-spacing: 0.01em;
  background: var(--bg);
  line-height: 1.55;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgb(245 3 30 / 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgb(33 184 233 / 0.1), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgb(245 3 30 / 0.06), transparent 45%), var(--bg);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page,
.footer {
  position: relative;
  z-index: 1;
}

.page {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.brand {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.brand-mark {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  display: block;
}

.hero {
  text-align: center;
}

.headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.headline-accent {
  color: var(--primary);
}

.lede,
.support {
  margin: 0 auto 0.9rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.support {
  margin-bottom: 1.75rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--text);
  box-shadow: 0 10px 28px rgb(245 3 30 / 0.28);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, white);
}

.btn-secondary {
  color: var(--accent);
  border-color: rgb(33 184 233 / 0.65);
  background: rgb(33 184 233 / 0.08);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgb(33 184 233 / 0.14);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgb(255 255 255 / 0.03);
}

.btn-ghost:hover {
  border-color: rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.06);
}

.venue {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}

.facade {
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 12rem;
}

.facade-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.facade-placeholder {
  min-height: 12rem;
  background:
    linear-gradient(135deg, rgb(245 3 30 / 0.18), transparent 42%),
    linear-gradient(320deg, rgb(33 184 233 / 0.16), transparent 40%),
    linear-gradient(180deg, var(--surface-alt), var(--surface));
  position: relative;
}

.venue-copy {
  display: grid;
  gap: 0.65rem;
}

.venue-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.venue-body {
  margin: 0;
  color: var(--text-muted);
}

.address {
  margin-top: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgb(33 184 233 / 0.28);
  border-radius: var(--radius);
  background: rgb(33 184 233 / 0.06);
}

.address-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.address-line {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

a.address-line {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgb(33 184 233 / 0.45);
  text-underline-offset: 0.18em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

a.address-line:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

a.address-line:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

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

@media (min-width: 840px) {
  :root {
    --max: 56rem;
  }

  .page {
    padding-top: 3.75rem;
  }

  .brand-mark {
    width: 6.5rem;
    height: 6.5rem;
  }

  .venue {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 1.75rem;
  }

  .facade {
    min-height: 16rem;
  }

  .facade-placeholder {
    min-height: 16rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Transform-only: never start from opacity 0 (avoids blank first paint when JS enables motion). */
  html.motion-ok .reveal {
    animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  html.motion-ok .brand {
    animation-delay: 40ms;
  }

  html.motion-ok .hero {
    animation-delay: 120ms;
  }

  html.motion-ok .venue {
    animation-delay: 220ms;
  }

  html.motion-ok .footer {
    animation-delay: 300ms;
  }

  html.motion-ok .atmosphere {
    animation: drift 18s ease-in-out infinite alternate;
  }

  html.motion-ok .btn:hover {
    transform: translateY(-1px);
  }
}

@keyframes rise {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -1.5%, 0) scale(1.03);
  }
}
