/* Heartfelt SLS — production bake core CSS (fonts, viewport header variants, mobile collapses) */

/* Self-hosted fonts (variable, latin) — Handoff §5 */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/public-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Viewport header variants (design source swaps these in JS at 880px; static build uses CSS) */
.hf-vp-mobile { display: none; }
@media screen and (max-width: 880px) {
  .hf-vp-desktop { display: none; }
  .hf-vp-mobile { display: block; }
  body { overflow-x: clip; }
}

/* Drawer hidden state must beat its inline display:flex */
#site-menu[hidden] { display: none !important; }

/* Generated-rule targets: collapse multi-column layouts on small screens.
   Inline styles carry the desktop values, so these use !important (same pattern
   as the source's hv-/fx- utilities). Screen-scoped so print keeps its layout. */
@media screen and (max-width: 880px) {
  .rz-stack { grid-template-columns: 1fr !important; }
  .rz-quad, .rz-band { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media screen and (max-width: 560px) {
  .rz-band { grid-template-columns: 1fr !important; }
  .rz-form { grid-template-columns: 1fr !important; }
}

/* Reduced motion: kill header/bar slide + accordion transitions */
@media (prefers-reduced-motion: reduce) {
  .hf-vp header, .hf-bar, [id^="team-panel-"] { transition: none !important; }
}
