/* Home first paint (v3, replaces fold-strip-reserve v1/v2). Safari paints the home
   page while the HTML is still arriving. The hero used to grow to fill the screen
   and centre its content, so whenever the category strip (.cstrip) was missing or
   only half-built, the hero was taller and the headline/search/chips sat lower, then
   snapped up when the strip finished. Now:
   1) the hero's height is fixed to its final value (screen minus the strip) and it
      no longer grows into the strip's space, so the strip can arrive late without
      moving anything; the block behind it is navy so the waiting space matches;
   2) until the strip has started, the hero's contents stay invisible, so a
      half-arrived hero never paints in a temporary position.
   Final look unchanged: hero + strip end up exactly the sizes they were before. */
.fold{background:var(--navy,#12132E)}
.fold:not(:has(>.cstrip))>.hero>.hero-grid{visibility:hidden}
/* Desktop (fine pointer, >=1280px): fold = 100svh - 69px header; strip = 128.4375px. */
@media (min-width:1367px),(min-width:1280px) and (hover:hover),(min-width:1280px) and (pointer:fine){
 .fold>.hero{flex-grow:0;min-height:calc(100vh - var(--hh) - 128.4375px);min-height:calc(100svh - var(--hh) - 128.4375px)}
}
/* Phones (<=767px): fold = 100svh - header - 16px; strip = 3 rows x 40px = 120px. */
@media (max-width:767px){
 .fold>.hero{flex-grow:0;min-height:calc(100svh - var(--hh) - 16px - 120px)}
}
@media (max-width:767px) and (max-height:700px){
 .fold>.hero{min-height:0}
}
