/* ---------------------------------------------------------------------------
   Inner page heroes, one system (2026-10-26). Spec in HERO-SYSTEM.md beside
   the clones; short form here.

   .mbh .mbh--photo   one grained photo, scrim from the foot, words lower left
   .mbh .mbh--plain   flat cream, ink words, no grain
   .mbh--brand        with --plain, the brand gradient (contact), grained

   Never full screen: the next section shows in the first view on a 390x844
   phone and a 1440x900 laptop. No scroll driven motion of any kind. Load this
   sheet after the page's own sheets and before grain.css. Every rule starts
   with `html body` so it outranks the older per page hero rules without
   !important; the few !important lines below beat older !important ones.
   --------------------------------------------------------------------------- */
:root{
  --mbh-nav-clear:96px;            /* floating nav bottom plus breathing room */
  --mbh-photo-min:min(68svh,600px);
  --mbh-pad-end:36px;
  --mbh-scrim:14,10,16;
  --mbh-gutter:var(--mb-gutter,clamp(20px,4vw,56px));
}
@media (min-width:768px){
  :root{--mbh-nav-clear:112px;--mbh-photo-min:min(64svh,640px);--mbh-pad-end:48px}
}
@media (min-width:1200px){
  :root{--mbh-nav-clear:120px;--mbh-photo-min:clamp(480px,70svh,700px);--mbh-pad-end:64px}
}

/* ---- frame ---------------------------------------------------------------- */
html body .mbh.mbh{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  height:auto;
  min-height:0;
  padding:0;
  margin:0;
  overflow:hidden;
  isolation:isolate;
}
html body .mbh.mbh.mbh--photo{
  min-height:var(--mbh-photo-min);
  background:var(--ink);
  color:var(--cream);
}
html body .mbh.mbh.mbh--plain{
  justify-content:flex-start;
  background:var(--cream);
  color:var(--ink);
}
html body .mbh.mbh.mbh--plain.mbh--brand{
  background:var(--ink) url(../assets/img/brand/hero-gradient-base.jpg) center/cover no-repeat;
  color:var(--cream);
}

/* sticky pins, scroll cues and the old floor shade are retired */
html body .mbh{position:relative !important;top:auto}
html body .mbh :is(.hero-cue,.scroll-cue){display:none !important}
html body .mbh.mbh--photo::after{inset:0;height:auto}

/* ---- photo and scrim -------------------------------------------------------- */
html body .mbh .mbh-media{
  position:absolute;inset:0;overflow:hidden;z-index:0;
  transform:none;filter:none;
}
html body .mbh .mbh-media img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;
  animation:none;transform:none;filter:none;will-change:auto;
}
/* Strengths come from the --mb-scrim-* tokens in css/photo-legibility.css
   (fallbacks here). Phone: the words cover most of the photo, so the shade
   rises from the foot to the label. Laptop and up: the shade comes from the
   text side, held across the words' column (which starts at --mbh-text-x)
   and gone before the right of the photo; a light foot band under the links. */
html body .mbh{--mbh-text-x:max(var(--mbh-gutter), (100% - var(--mb-container,1360px)) / 2)}
html body .mbh .mbh-scrim{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(180deg, rgba(var(--mbh-scrim),var(--mb-scrim-nav,.38)) 0, rgba(var(--mbh-scrim),0) 120px),
    linear-gradient(0deg, rgba(var(--mbh-scrim),var(--mb-scrim-deep,.86)) 0%, rgba(var(--mbh-scrim),var(--mb-scrim-mid,.7)) 48%, rgba(var(--mbh-scrim),var(--mb-scrim-soft,.46)) 80%, rgba(var(--mbh-scrim),.24) 100%) !important;
}
@media (min-width:1024px){
  html body .mbh .mbh-scrim{
    background:
      linear-gradient(180deg, rgba(var(--mbh-scrim),var(--mb-scrim-nav,.38)) 0, rgba(var(--mbh-scrim),0) 120px),
      linear-gradient(90deg,
        rgba(var(--mbh-scrim),var(--mb-scrim-deep,.86)) 0,
        rgba(var(--mbh-scrim),var(--mb-scrim-mid,.7)) calc(var(--mbh-text-x) + 480px),
        rgba(var(--mbh-scrim),var(--mb-scrim-soft,.4)) calc(var(--mbh-text-x) + 880px),
        rgba(var(--mbh-scrim),0) calc(var(--mbh-text-x) + 1240px)),
      linear-gradient(0deg, rgba(var(--mbh-scrim),.66) 0%, rgba(var(--mbh-scrim),.3) 40%, rgba(var(--mbh-scrim),0) 64%) !important;
  }
}
/* the brand gradient (contact): the same shade from the text side, lighter,
   so the gold word holds on the orange without dulling the gradient */
html body .mbh.mbh.mbh--plain.mbh--brand{
  background:
    linear-gradient(90deg,
      rgba(var(--mbh-scrim),.5) 0,
      rgba(var(--mbh-scrim),.4) calc(var(--mbh-text-x) + 380px),
      rgba(var(--mbh-scrim),.16) calc(var(--mbh-text-x) + 720px),
      rgba(var(--mbh-scrim),0) calc(var(--mbh-text-x) + 1000px)),
    var(--ink) url(../assets/img/brand/hero-gradient-base.jpg) center/cover no-repeat;
}

/* ---- words ------------------------------------------------------------------ */
html body .mbh .mbh-content{
  position:relative;z-index:2;
  width:100%;
  /* the site's one content width (--mb-container, --mb-gutter in site.css),
     so hero words line up with the nav bar edges; photos run full bleed */
  max-width:calc(var(--mb-container,1360px) + (var(--mbh-gutter) * 2));
  margin:0 auto;
  padding:var(--mbh-nav-clear) var(--mbh-gutter) var(--mbh-pad-end);
  display:block;
  text-align:left;
  transform:none;opacity:1;filter:none;
}
html body .mbh.mbh--plain .mbh-content{padding-bottom:calc(var(--mbh-pad-end) + 4px)}
html body .mbh .mbh-content > *{text-shadow:none}
html body .mbh.mbh--photo .mbh-content > :is(h1,p){text-shadow:0 1px 18px rgba(var(--mbh-scrim),.35)}

html body .mbh .mbh-content .eyebrow{
  display:block;
  margin:0 0 14px;
  font-family:var(--label);
  font-weight:700;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,250,240,.85);
}
html body .mbh.mbh--plain:not(.mbh--brand) .mbh-content .eyebrow{color:rgba(36,42,47,.65)}

html body .mbh .mbh-content h1{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2.5rem, 1.6rem + 3.6vw, 4.85rem);
  line-height:1.02;
  letter-spacing:-.015em;
  max-width:14em;
  margin:0;
  color:#FFFAF0;
  text-wrap:balance;
}
html body .mbh.mbh--plain:not(.mbh--brand) .mbh-content h1{color:var(--ink)}
html body .mbh .mbh-content h1 em{font-style:italic;color:var(--yellow)}
html body .mbh.mbh--plain:not(.mbh--brand) .mbh-content h1 em{color:var(--burgundy)}
/* the venue headline is split into word masks by venue.js; keep them inert */
html body .mbh .mbh-content h1 .w,
html body .mbh .mbh-content h1 .w > span{display:inline;overflow:visible;transform:none;opacity:1;will-change:auto;animation:none}

html body .mbh .mbh-content .mbh-lede{
  font-family:var(--serif);
  font-size:clamp(1.125rem, 1rem + .5vw, 1.375rem);
  line-height:1.4;
  max-width:40ch;
  margin:16px 0 0;
  color:rgba(255,250,240,.92);
}
html body .mbh.mbh--plain:not(.mbh--brand) .mbh-content .mbh-lede{color:rgba(36,42,47,.8)}
@media (min-width:768px){
  html body .mbh .mbh-content .mbh-lede{margin-top:20px}
}

/* ---- quick links and the one primary --------------------------------------- */
html body .mbh .mbh-links{
  display:flex;flex-wrap:wrap;gap:8px;
  margin:22px 0 0;padding:0;list-style:none;
}
/* One button system (2026-10-26, coordinator: "unify the two button
   styles"). Hero actions use the site's .btn, production's Book Your Event:
   8px radius, Swiss721 Cn 700, 11.5px capitals tracked .22em, 44px tall,
   gold for the one primary, an outline for the quick links. Hover lifts the
   primary like .btn-gold and tints an outline like .btn-ghost; focus is the
   site ring. */
html body .mbh .mbh-links a,
html body .mbh .mbh-links a.mbh-primary,
html body .mbh .mbh-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;min-height:44px;padding:0 22px;border-radius:8px;
  font-family:var(--label);font-weight:700;font-size:11.5px;line-height:1;letter-spacing:.22em;text-transform:uppercase;
  white-space:nowrap;text-decoration:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  transition:transform .25s ease,box-shadow .25s ease,background-color .2s ease,color .2s ease;
}
html body .mbh .mbh-links a{
  color:var(--cream);background:transparent;border:0;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55);
}
html body .mbh .mbh-links a:hover{background:rgba(255,255,255,.1)}
html body .mbh.mbh--plain:not(.mbh--brand) .mbh-links a{color:var(--ink);background:transparent;box-shadow:inset 0 0 0 1.5px rgba(36,42,47,.4)}
html body .mbh.mbh--plain:not(.mbh--brand) .mbh-links a:hover{background:rgba(36,42,47,.06)}

html body .mbh .mbh-links a.mbh-primary,
html body .mbh .mbh-primary{
  padding:0 30px;color:var(--ink);background:var(--yellow);border:0;box-shadow:none;
}
html body .mbh .mbh-links a.mbh-primary:hover,
html body .mbh .mbh-primary:hover{transform:translateY(-2px);background:var(--yellow);box-shadow:0 14px 28px rgba(255,183,27,.35);color:var(--ink)}
html body .mbh .mbh-content > .mbh-primary{margin-top:24px}
@media (min-width:1024px){
  html body .mbh .mbh-links{margin-top:28px}
}

/* ---- facts (optional, at most four) ------------------------------------------ */
html body .mbh .mbh-facts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;
  margin:24px 0 0;padding:16px 0 0;list-style:none;
  border-top:1px solid rgba(255,250,240,.28);
  max-width:40rem;
}
@media (min-width:768px){
  html body .mbh .mbh-facts{grid-template-columns:repeat(4,auto);justify-content:start;gap:12px 40px}
}
html body .mbh .mbh-facts li{margin:0;font-family:var(--label);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,250,240,.8)}
html body .mbh .mbh-facts b{display:block;margin-bottom:4px;font-family:var(--serif);font-weight:400;font-size:22px;letter-spacing:0;text-transform:none;color:#FFFAF0}
html body .mbh.mbh--plain:not(.mbh--brand) .mbh-facts{border-top-color:rgba(36,42,47,.16)}
html body .mbh.mbh--plain:not(.mbh--brand) :is(.mbh-facts li,.mbh-facts b){color:var(--ink)}

/* ---- grain: photos and the brand gradient only ------------------------------- */
html body .mbh.mbh--plain:not(.mbh--brand)::after,
html body .mbh.mbh--plain:not(.mbh--brand)::before{content:none}
html body .mbh::after{z-index:1}

/* ---------------------------------------------------------------------------
   Production 1.0's heroes, back after Wayne's review (2026-10-27): "the
   treatment of the headings ... the way the main images display at full
   size on desktop". Headlines take production's hero sizes and widths (95 px
   at 1440, 86 on the four event pages, 92 on Spotlights) and the photo heroes
   fill the screen above 900 px with the words centred, as on magicboxla.com.
   Phones keep the right sized heroes from the hero system. The ride over the
   hero (js/site.js, initHeroRide) is in site.css section 24.
   --------------------------------------------------------------------------- */
html body .mbh .mbh-content h1{font-size:clamp(44px,8vw,95px);line-height:1;letter-spacing:-.015em;max-width:850px}
html body .mbh.cs-hero .mbh-content h1{font-size:clamp(38px,6.6vw,86.4px);line-height:1.02;max-width:800px}
html body .mbh.spot-hero .mbh-content h1{font-size:clamp(40px,7.2vw,92.2px);line-height:1.02;max-width:720px}
html body .mbh.cg-hero .mbh-content h1{max-width:680px}
html body .mbh.v-hero .mbh-content h1{max-width:760px}
html body .mbh.contact-hero .mbh-content h1{max-width:none}
@media (max-width:480px){
  html body .mbh:is(.cs-hero,.spot-hero) .mbh-content h1{font-size:40px}
}
html body .mbh .mbh-content .mbh-lede{font-size:21px;line-height:1.5;max-width:600px}
@media (max-width:767px){
  html body .mbh .mbh-content .mbh-lede{font-size:18px}
}
@media (min-width:901px){
  html body .mbh.mbh.mbh--photo:is(.svc-hero,.cs-hero,.spot-hero,.cg-hero--full,.v-hero){
    height:100svh;min-height:600px;justify-content:center;
  }
  html body .mbh.mbh--photo:is(.svc-hero,.cs-hero,.spot-hero,.cg-hero--full,.v-hero) .mbh-content{height:auto;padding-bottom:110px}
  /* About: production's tall (not full screen) photo hero */
  html body .mbh.mbh.mbh--photo.cg-hero--dtla:not(.cg-hero--full,.kt-hero){min-height:clamp(600px,79svh,760px);justify-content:center}
  html body .mbh.mbh--photo.cg-hero--dtla:not(.cg-hero--full,.kt-hero) .mbh-content{height:auto}
}
/* production's gold hero labels (SERVICES, SPOTLIGHT · ADOBE MAX) */
html body .mbh.mbh.mbh--photo .mbh-content .eyebrow{color:var(--yellow)}
/* the four event pages: the photo runs to the edges unframed on a laptop,
   as on production (the deck style inset frame stays on phones and tablets) */
@media (min-width:901px){
  html body .mbh--case.mbh--case::before{content:none}
  html body .mbh--case.mbh--case .mbh-content{
    max-width:calc(var(--mb-container,1360px) + (var(--mbh-gutter) * 2));
    padding-inline:var(--mbh-gutter);
  }
}
