/* Fold 7 cover is very tall; the inner screen is almost square.
   Hero copy used to inherit the dark body color, so it disappeared on the purple hero. */
.hero,
.hero h1,
.hero-stats,
.hstat,
.hstat strong,
.hstat span { color: #fff; }

/* Samsung Fold reports 100svh as 0. That height wins over 100vh, the hero
   collapses, overflow:clip hides the copy, and only the purple body remains. */
.hero { min-height: 100vh !important; }
.hero-bg { height: 100vh !important; margin-bottom: -100vh !important; }
.hero-content { min-height: calc(100vh - 110px) !important; }
html.acm-vh .hero { min-height: var(--app-h); }
html.acm-vh .hero-bg {
  height: var(--app-h);
  margin-bottom: calc(var(--app-h) * -1);
}

/* Fold GPU drops the whole page when a fixed bar uses backdrop-filter.
   Cover is narrow; the open inner screen is almost square and can be wider than 1180. */
@media (max-width: 1180px), (hover: none) {
  .header-bar,
  .header.solid .header-bar,
  .hchip,
  .ticker,
  .btn-ghost {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .header-bar,
  .header.solid .header-bar { background: rgba(14, 10, 21, .92); }
}

/* Applied only when the intro never reveals the hero. */
html.acm-fold-shown .loader { display: none !important; }
html.acm-fold-shown [data-hero-in],
html.acm-fold-shown .hchip,
html.acm-fold-shown .hero h1 .w > span,
html.acm-fold-shown .header {
  opacity: 1 !important;
  transform: none !important;
}
