/* ===========================================================================
 * SITE HEADER + HERO SLOT
 *
 * Owns: the page-top <header class="site-header"> region, the inner
 * .header-hero slot (full-viewport at page load, collapsed to rest-height
 * by the JS intro), and all text elements inside the hero content.
 *
 * Does NOT own: the brickbreaker canvas positioning (that's in
 * css/hero-game-host.css — split so the game's embed styling is isolated
 * from the hero text layout).
 * ===========================================================================
 */

/* Header is a normal flow element at the top of the document. Hero sits
   inside it and starts at 100vh (set by JS during intro); it shrinks to
   a collapsed height as the intro animation plays. After intro the hero
   just sits above the accordion strips in natural block flow. */
.site-header {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.header-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  /* Default height for no-JS fallback; JS overrides this. */
  height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Text is decorative — mouse events pass through to the game canvas. */
  pointer-events: none;
}

.site-header:not(.active) .header-hero {
  pointer-events: none;
}

.header-hero h1 {
  font-size: 2rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(240, 240, 240, 0.5);
  margin-bottom: 1.5rem;
}

.hero-bio {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.55);
  max-width: 440px;
}

/* --- Tablet (768+) --- */
@media (min-width: 768px) {
  .header-hero {
    padding: 3rem 2rem;
  }
  .header-hero h1 {
    font-size: 3rem;
  }
  .hero-tagline {
    font-size: 1rem;
  }
  .hero-bio {
    font-size: 0.85rem;
    max-width: 480px;
  }
}

/* --- Desktop (1024+) --- */
@media (min-width: 1024px) {
  .header-hero {
    padding: 4rem;
  }
  .header-hero h1 {
    font-size: 4rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
  }
  .hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }
  .hero-bio {
    font-size: 0.9rem;
    max-width: 520px;
  }
}
