/* Band — full-bleed image section with overlaid copy.
   Notes: docs/component-band-notes.md
   Stack: image 0, overlay 1, cream fades 2, copy 3. */

.band{position:relative;height:70vh;min-height:420px;overflow:hidden;background:var(--charcoal);--moment-fade:clamp(56px,8vh,96px)}
.band-bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:62% center}
/* Overlay — left pass, gold glow, top scrim, flat pull. */
.band::before{
  content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(10,10,10,.5) 0%,rgba(10,10,10,.1) 70%,rgba(10,10,10,0) 88%),
    radial-gradient(ellipse 70% 60% at 50% 32%,rgba(254,192,39,.07),transparent 62%),
    linear-gradient(180deg,rgba(10,10,10,.45) 0%,rgba(10,10,10,0) 34%),
    linear-gradient(rgba(10,10,10,.5),rgba(10,10,10,.5));
}
/* Cream fades, top and bottom. */
.band::after{
  content:'';position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(180deg,#faf9f6 0%,rgba(250,249,246,0) var(--moment-fade)),
    linear-gradient(0deg,  #faf9f6 0%,rgba(250,249,246,0) var(--moment-fade));
}
.band-inner{position:absolute;inset:0;z-index:3;display:flex;align-items:center;max-width:1196px;margin:0 auto;padding:var(--moment-fade) 3rem}
.band-copy{max-width:50rem}
/* Slide-in. .reveal on .band-copy is the JS hook. */
.band-copy.reveal{
  opacity:0;transform:translateX(-60px);
  transition:opacity 1.3s ease .15s,transform 1.3s cubic-bezier(.22,1,.36,1) .15s;
}
.band-copy.reveal.visible{opacity:1;transform:translateX(0)}
.band-eyebrow{
  font-family:var(--body);font-size:.875rem;font-weight:800;
  letter-spacing:.3em;text-transform:uppercase;
  color:var(--gold-dark);margin-bottom:1.5rem;
  text-shadow:0 0 12px rgba(0,0,0,.9),0 0 24px rgba(230,173,31,.25);
}
.band-title{
  font-family:var(--display);font-size:clamp(2.4rem,6.5vw,6rem);font-weight:500;
  letter-spacing:.05em;text-transform:uppercase;line-height:1.02;color:#fff;
  text-shadow:
    0 0 40px rgba(0,0,0,.95),
    0 0 80px rgba(0,0,0,.8),
    0 2px 4px rgba(0,0,0,.9),
    0 4px 60px rgba(0,0,0,.6);
}
.band-title .gold{color:var(--gold)}

/* Phone. */
@media(max-width:768px){
  .band{height:50vh}
  .band-inner{padding:var(--moment-fade) 1.5rem}
  .band-copy{max-width:none}
}

/* ── Variations ── */

/* --lighter */
.band.band--lighter::before{background:linear-gradient(90deg,rgba(10,10,10,.85) 0%,rgba(10,10,10,.75) 20%,rgba(10,10,10,.25) 33%,rgba(10,10,10,0) 46%);}

/* --board: renders the base recipe; defines no ::before. */

/* --dark */
.band.band--dark::before{
  background:
    linear-gradient(90deg,rgba(10,10,10,.05) 0%,rgba(10,10,10,.01) 70%,rgba(10,10,10,0) 88%),
    linear-gradient(180deg,rgba(10,10,10,.045) 0%,rgba(10,10,10,0) 34%),
    linear-gradient(rgba(10,10,10,.05),rgba(10,10,10,.05));
}
.band--dark .band-bg{object-position:74% center}

/* --dark, narrow viewports. */
@media(max-width:1100px){
  .band.band--dark::before{
      background:
        linear-gradient(90deg,rgba(10,10,10,.6) 0%,rgba(10,10,10,.2) 55%,rgba(10,10,10,0) 80%),
        linear-gradient(180deg,rgba(10,10,10,.2) 0%,rgba(10,10,10,0) 34%);
  }
}

@media(max-width:768px){
  .band--dark .band-bg{object-position:78% center}
  .band.band--dark::before{
      background:
        linear-gradient(90deg,rgba(10,10,10,.7) 0%,rgba(10,10,10,.25) 60%,rgba(10,10,10,0) 85%),
        linear-gradient(180deg,rgba(10,10,10,.25) 0%,rgba(10,10,10,0) 34%);
  }
}

/* --cta: positioning only. */
.band--cta .band-bg{object-position:center 35%}

/* --cream */
.band.band--cream::before{content:none}
.band--cream{background:#faf9f6}
.band--cream .band-bg{object-position:100% center}
.band--cream .band-eyebrow{color:#2A2A2A;text-shadow:none}
.band--cream .band-title{color:var(--charcoal);text-shadow:none}
.band--cream .band-title .gold{color:var(--gold-dark)}
.band--cream .brush--band{width:min(100%,clamp(13rem,35vw,32rem))}
.band--cream .brush--band path{stroke:var(--gold-dark)}

/* --cream, phone. */
@media (max-width:768px){
  .band--cream{height:auto;min-height:0;aspect-ratio:1828/860;--moment-fade:24px}
  .band--cream .band-inner{padding:1rem 1.5rem}
  .band--cream .band-title{font-size:clamp(1.8rem,6.5vw,6rem)}
  .band--cream .brush--band{width:min(100%,10rem);margin-top:.8rem}
}

/* --nav-clear */
@media (max-width:768px){
  .band--nav-clear{margin-top:9.5rem}
}

/* --script: /emcee/ crop. */
.band--dark.band--script .band-bg{object-position:60% 62%}
@media(max-width:768px){
  .band--dark.band--script .band-bg{object-position:66% 62%}
}
