/* The Brand Build Up, site A: lock-in geometry (package F, 24 Nov 2026). Pairs with ha-lock.js, which writes on each
   target (main > section from the second one, .site-footer) only these custom properties:
     --ha-lk-y   how far the face's top runs behind the section's top (px, includes the dip on the lock)
     --ha-lk-in  the face's inset from both sides (px)      --ha-lk-r  its top corner radius (px)
     --ha-lk-sh  its hard shadow (px)                        --ha-lk-g  footer only: the slab's hover gap (px)
   The faces are painted elsewhere (sections: ha-shell.css + the page; footer: .ha-ft-field, ha-footer.css). This file sets
   position and corners only: no background, no text. No JS or reduced motion: html has no .ha-lk-on, faces cover. */

html.ha-lk-on main > section.ha-lk::before,
html.ha-lk-on .site-footer.ha-lk > .ha-ft-field{
  inset:var(--ha-lk-y,0px) var(--ha-lk-in,0px) 0 var(--ha-lk-in,0px);
  border-start-start-radius:var(--ha-lk-r,0px);border-start-end-radius:var(--ha-lk-r,0px)}

/* the footer face: lit top edge and the hard shadow it throws on the field it rises from */
html.ha-lk-on .site-footer.ha-lk > .ha-ft-field{
  box-shadow:var(--ha-lk-sh,0px) var(--ha-lk-sh,0px) 0 0 var(--ha-ft-hard,#0E0F12)}

/* the footer slab rides the face's top edge; while it hovers it keeps the face's inset */
html.ha-lk-on .site-footer.ha-lk::before{
  left:var(--ha-lk-in,0px);right:var(--ha-lk-in,0px);top:calc(var(--ha-lk-y,0px) - var(--ha-lk-g,0px));
  border-radius:calc(var(--ha-lk-r,0px) * .35)}
