/* sticky-clearance.css: Site Stylist MOCKUP layer (NOT live). Load AFTER refined.20261205.css and hero-answer.css.
   Fixes the first-screen overlap of the mobile guide-link strip (.vf-strip) and the details summary
   with the permanent sticky referral bar. CSS only. No @font-face, no new font-family, no JS.
   Does not restyle the sticky bar, its label, href, or the gold button colour (#1A1205). */

:root{
  /* Measured Dec 5, 2026 on atshore home at 360x640-1440x900: the bar box is 69px tall
     (1px top border + .625rem pad + 3rem button + .625rem pad) and does not wrap at 360.
     The gold ::after glow is box-shadow 0 0 56px 10px, and the button sits .625rem below
     the bar's top, so ~56px of glow hangs above the bar box. */
  --sticky-bar-height: 4.3125rem;          /* 69px */
  --sticky-glow-overhang: 3.5rem;          /* 56px */
  --sticky-clearance: calc(var(--sticky-bar-height) + var(--sticky-glow-overhang) + env(safe-area-inset-bottom, 0px));
  /* Measured: details band ~58px + .vf-strip ~64px + a 16px gap. Used to reserve
     room under the hero on phones so both sit above --sticky-clearance (glow included). */
  --under-hero-stack: 8.75rem;
}

/* Replace the earlier 5.75rem body pad (92px): that cleared the 69px bar box by 23px
   but was 32px short of the glow, and it only helps at the document end anyway.
   scroll-margin covers in-page jumps to the strip, details band, footer nav, and CTAs. */
html{scroll-padding-bottom: var(--sticky-clearance)}
body.vf{padding-bottom: var(--sticky-clearance)}
.hero,.hero-actions,.hero-more-band,.hero-more summary,.vf-strip,.vf-cta,.pr-cta-short,.vf-cta-panel,.cb-how,.vf-footnav{
  scroll-margin-bottom: var(--sticky-clearance);
}

/* ---------- Cause (so the next pass does not fight the same rule) ----------
   hero-mobile-fit.20261201.css (Sergio, Dec 1: keep .vf-strip fully visible above the
   sticky bar on an iPhone, no scroll) sets:
     html body .hero.hero.hero { min-height: min(80svh, calc(100svh - 11rem)) }
   Specificity (0,3,2) beats html body.vf-home .hero (0,2,2). The 11rem budget was
   sized for the strip + bar only. The answer-first details band (~58px) was added
   under the hero and ate that budget, so the pills landed in the bar.
   Override with the same triple-.hero selector, and size the reservation from the
   clearance variable plus the details+strip stack. */

/* Phones / narrow tablets (strip is visible below 960px; hero-mobile-fit applies below 800px). */
@media (max-width: 959px){
  html body.vf-home .hero.hero.hero{
    min-height: calc(100svh - var(--sticky-clearance) - var(--under-hero-stack));
    padding-bottom: 0.5rem;
    padding-top: 4rem;
  }
}
@media (max-width: 720px) and (max-height: 700px){
  /* Short phones: the same stack has less leftover hero air, so reserve a little more. */
  html body.vf-home .hero.hero.hero{
    padding-top: 3.25rem;
    min-height: calc(100svh - var(--sticky-clearance) - var(--under-hero-stack) - 2.25rem);
  }
}

/* Desktop: vf-strip is hidden from 960px. Drop the 76svh min-height (hero-answer.css)
   that pushed the details band into the bar on 1280x720, and trim top/bottom padding
   so the summary clears the glow. */
@media (min-width: 721px){
  html body.vf-home .hero{
    min-height: 0;
    padding-top: 3.75rem;
    padding-bottom: 0.5rem;
  }
}

@media print{
  html{scroll-padding-bottom: 0}
  body.vf{padding-bottom: 0}
}
