/* Ballerz Factory — coming soon
   Palette: #000, #fff, plus two grays. See CLAUDE.md for brand rules. */

:root {
  --black: #000;
  --white: #fff;
  --gray-light: #b3b3b3; /* secondary text: 9.6:1 on black */
  --gray-dark: #1a1a1a;  /* hairlines */
  --font-display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Thin, low-opacity vertical stripes — a nod to classic black-and-white kits */
.stripes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.045) 0 1px,
    transparent 1px 48px
  );
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

@media (min-width: 768px) {
  .stripes {
    background-image: repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 80px
    );
  }
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px var(--gutter);
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.005em;
  font-size: clamp(4rem, 21vw, 13rem);
}

.wordmark span { display: block; }

@media (min-width: 900px) {
  .wordmark { font-size: clamp(6rem, 12.5vw, 14rem); }
  .wordmark span { display: inline; }
  .wordmark span + span::before { content: " "; }
}

.coming {
  margin: clamp(20px, 4vw, 36px) 0 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(1.1rem, 3.4vw, 1.75rem);
  /* Offset the trailing letter-spacing so the text looks centered */
  padding-left: 0.18em;
}

.dots span {
  display: inline-block;
  animation: blink 1.4s infinite both;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

.tagline {
  margin: 12px 0 0;
  max-width: 40ch;
  text-wrap: balance;
  color: var(--gray-light);
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
}

/* Netlify Forms signup */
.notify {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin: clamp(32px, 6vw, 48px) 0 0;
}

@media (min-width: 520px) {
  .notify { flex-direction: row; gap: 0; }
  .notify input { flex: 1; }
}

.notify input,
.notify button {
  font: inherit;
  font-size: 1rem;
  height: 48px;
  border: 1px solid var(--white);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  -webkit-appearance: none;
          appearance: none;
}

.notify input {
  min-width: 0;
  padding: 0 16px;
}

.notify input::placeholder { color: var(--gray-light); opacity: 1; }

.notify button {
  padding: 0 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

@media (min-width: 520px) {
  .notify button { border-left: 0; }
}

.notify button:hover {
  background: var(--white);
  color: var(--black);
}

.notify input:focus-visible,
.notify button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.footer {
  position: relative;
  padding: 20px var(--gutter) 28px;
  text-align: center;
  color: var(--gray-light);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer p { margin: 0; }

.footer a { color: var(--white); }

.hp { position: absolute; left: -9999px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .dots span { animation: none; opacity: 1; }
  .notify button { transition: none; }
}
