:root {
  --background: #000000;
  --foreground: #f5f5f3;
  --muted: #747474;
  --line: rgba(255, 255, 255, 0.11);
  --fine-line: rgba(255, 255, 255, 0.035);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--fine-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--fine-line) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

a {
  color: inherit;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1440px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.domain,
.status,
.site-footer,
.eyebrow,
.copy-footer {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.domain {
  text-decoration: none;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #9a9a9a;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--foreground);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
  animation: breathe 2.8s ease-in-out infinite;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
  min-height: 650px;
  padding: clamp(42px, 6vh, 76px) 0;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 47%;
  width: 1px;
  background: linear-gradient(transparent, var(--line) 20%, var(--line) 80%, transparent);
  content: "";
}

.logo-panel {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.logo-panel::before {
  position: absolute;
  z-index: 0;
  width: min(100%, 560px);
  aspect-ratio: 1;
  background: url("assets/sfsports-logo.png") center / contain no-repeat;
  content: "";
  filter: blur(20px);
  mix-blend-mode: screen;
  opacity: 0.18;
  transform: scale(0.98);
  animation: logo-glow 3.8s ease-in-out infinite;
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
}

.launch-copy {
  position: relative;
  z-index: 1;
  padding-left: clamp(0px, 2vw, 28px);
}

.eyebrow {
  margin: 0 0 clamp(25px, 4vh, 48px);
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(4.3rem, 8.5vw, 8.6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-transform: uppercase;
}

.copy-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 420px);
  margin-top: clamp(40px, 7vh, 82px);
  color: var(--muted);
}

.copy-footer p {
  flex: none;
  margin: 0;
}

.copy-line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.site-footer {
  min-height: 72px;
  border-top: 1px solid var(--line);
  color: #616161;
}

.site-footer p {
  margin: 0;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes logo-glow {
  0%,
  100% {
    filter: blur(18px);
    opacity: 0.16;
    transform: scale(0.98);
  }

  50% {
    filter: blur(27px);
    opacity: 0.62;
    transform: scale(1.025);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding: 22px 0 64px;
  }

  .hero::before {
    display: none;
  }

  .logo-panel {
    min-height: min(57vh, 520px);
  }

  .brand-logo,
  .logo-panel::before {
    width: min(78vw, 470px);
  }

  .launch-copy {
    padding: 0;
  }

  h1 {
    font-size: clamp(4.5rem, 16vw, 8rem);
  }
}

@media (max-width: 560px) {
  body::before {
    background-size: 64px 64px;
  }

  .page {
    padding: 0 20px;
  }

  .site-header {
    min-height: 74px;
  }

  .domain,
  .status,
  .site-footer,
  .eyebrow,
  .copy-footer {
    font-size: 0.59rem;
  }

  .status {
    gap: 8px;
  }

  .logo-panel {
    min-height: 48vh;
  }

  .brand-logo,
  .logo-panel::before {
    width: min(98vw, 420px);
  }

  h1 {
    font-size: clamp(3.8rem, 19vw, 6.2rem);
  }

  .copy-footer {
    margin-top: 38px;
  }

  .site-footer {
    min-height: 62px;
  }
}

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

  .logo-panel::before {
    filter: blur(22px);
    opacity: 0.35;
    transform: scale(1);
  }
}
