/* ==========================================================================
   THE CLIMB — RESPONSIVE PATTERNS
   Shared breakpoint scaffolding. Page-specific CSS (home.css, music.css, etc.)
   should follow this same breakpoint structure so every page behaves
   predictably at the same widths.

   BREAKPOINTS (locked — do not invent new ones per page):
     Desktop   1440px+
     Laptop    1024–1366px
     Tablet    768–1024px   (media query: max-width 980px)
     Mobile    375–430px    (media query: max-width 640px)
   ========================================================================== */

/* ===== Shared hero scaffold — every page hero follows this shape ===== */
.hero{
  min-height:100svh;
  position:relative;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  isolation:isolate;
}
.hero-background{
  position:absolute;
  inset:0;
  z-index:-3;
  background-size:cover;
  background-position:center;
}
.hero-background picture,
.hero-background img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-3;
}
.hero-grade{
  position:absolute;
  inset:0;
  z-index:-2;
}
.hero-inner{
  position:relative;
  z-index:1;
  width:100%;
  padding:84px var(--page-pad) 84px;
}
.hero-copy{
  position:relative;
  max-width:670px;
}
.hero-statement{
  margin:0;
  font-size:clamp(14px,1.12vw,18px);
  line-height:1.95;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:rgba(247,247,243,.92);
}

/* Ghost text sits behind the real heading, larger, bleeding to the edges.
   This is the one approved ghost-text treatment — reuse this exact pattern
   on every page hero rather than inventing a new placement per page.
   Default (tablet/desktop): centered, full-viewport-width bleed.
   Overridden for mobile below to sit behind the h1 instead (see homepage). */
.hero-ghost{
  display:block;
  position:absolute;
  left:calc(-1 * var(--page-pad));
  right:calc(-1 * var(--page-pad));
  top:-3.6em;
  text-align:center;
  letter-spacing:.05em;
  line-height:.9;
  font-size:clamp(64px,8vw,128px);
  color:var(--ghost-color);
  pointer-events:none;
  z-index:0;
  white-space:nowrap;
  overflow:hidden;
  margin:0;
}
.hero-copy{position:relative;z-index:1}

/* ===== Tablet ===== */
@media (max-width: 980px){
  .hero{min-height:960px}
  .hero-ghost{font-size:clamp(48px,10vw,110px);top:-3em}
}

/* ===== Mobile ===== */
@media (max-width: 640px){
  .hero{min-height:auto;padding-top:var(--header-h)}
  .hero-inner{padding:84px var(--page-pad-mobile) 84px}
  .hero-copy h1{font-size:72px}
  .hero-statement{
    max-width:335px;
    font-size:11px;
    line-height:1.72;
    letter-spacing:.12em;
  }
  .hero-statement br{display:none}
  .hero-ghost{
    left:calc(-1 * var(--page-pad-mobile));
    right:calc(-1 * var(--page-pad-mobile));
    top:-0.06em;
    text-align:left;
    white-space:normal;
    overflow:visible;
    font-size:78px;
    color:var(--ghost-color-strong);
  }
}
