/*
 * Round 19 (card 10472085809, Nathan's Loom 2026-11-10), the footer (layout.blade.php):
 * While a reason is open (.is-choosing, set by the layout's script) the Contact Us column grows to the LEFT with an
 * eased 0.5s animation, over the Find Us column, which fades out under it; Site Map and Resident Services stay where
 * they are (round 18 squeezed all three left columns in one jump). The open form takes Find Us's whole column and the
 * gap before it, so it starts one gap after Resident Services. 1200px and wider only, as round 18; below that the form
 * keeps its column (1101-1199) or a full row (tablet, phone). Reduced motion: the same layout, no animation.
 * .sb-foot-instant (the script, for one measurement) switches the animation off so the opened form can be measured at
 * its final width before the scroll starts.
 * Also: the SMS consent's lead ("I prefer texts." since sms-2026-11-14b, a <strong> from App\Support\SmsConsent) is bold, the rest not.
 * Theme-wide (every Sunburst property); nothing here is property-specific.
 */
/* Fix (verifier, 2026-11-10): no scroll anchoring in the footer. When a reason opened, Chrome anchored on the copyright
   bar under the form and jumped the window down in one frame; the layout's script eases the scroll itself instead. */
footer{overflow-anchor:none}
@media (min-width:1200px){
  /* Round 18's narrowed columns are replaced by the overlay: every column keeps its usual width and gap. */
  footer .foot-top.sb-foot.is-choosing{grid-template-columns:1fr 1fr 1.25fr 2fr;column-gap:44px}
  footer .foot-top.sb-foot > .sb-foot-form{position:relative;z-index:1;margin-left:0}
  /* Fix (verifier, 2026-11-10): the open form takes ALL of Find Us's room, up to the gap after Resident Services (the
     earlier -45% left an empty gutter). A grid item's % margin is of its own column: Find Us is 1.25fr against the
     form's 2fr = 62.5% of it, plus the 44px gap between them. */
  footer .foot-top.sb-foot.is-choosing > .sb-foot-form{margin-left:calc(-62.5% - 44px)}
  footer .foot-top.sb-foot > .sb-foot-find{opacity:1;visibility:visible}
  footer .foot-top.sb-foot.is-choosing > .sb-foot-find{opacity:0;visibility:hidden}
}
@media (min-width:1200px) and (prefers-reduced-motion:no-preference){
  footer .foot-top.sb-foot > .sb-foot-form{transition:margin-left .5s cubic-bezier(.4,0,.2,1)}
  /* Closing: Find Us comes back once the column has mostly shrunk away from it. */
  footer .foot-top.sb-foot > .sb-foot-find{transition:opacity .3s ease .2s,visibility 0s linear .2s}
  /* Opening: Find Us fades as the column grows over it, and is out of the tab order once hidden. */
  footer .foot-top.sb-foot.is-choosing > .sb-foot-find{transition:opacity .3s ease,visibility 0s linear .3s}
  footer .foot-top.sb-foot.sb-foot-instant > .sb-foot-form,footer .foot-top.sb-foot.sb-foot-instant > .sb-foot-find{transition:none}
}

/* SMS consent: only the lead is bold (the label itself is regular weight, sms.css). */
body .field.sms-field > label.sms-consent strong{font-weight:700}
/* Fix (verifier, 2026-11-10): the "SMS privacy" link never breaks across two lines. */
body .field.sms-field > label.sms-consent a{white-space:nowrap}
