#site-header {
  transition: transform 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

#site-header.header-hidden {
  transform: translateY(-100%);
}

#site-header.header-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
}

#site-header {
  transition: transform 0.3s ease, padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  will-change: transform;
}

@media (max-width: 767px) { html, body { overflow-x: hidden; } }

/* === Barrett: mid-size desktop scaling (1025-1727px), added 2 Nov 2026. Elementor only has tablet (<=1024) and mobile breakpoints, so this scales big headings and the header between laptop and full-size widths. Hero H1s deliberately excluded (decorative overlays). Remove this whole block to revert. === */
@media (min-width:1025px) and (max-width:1727px){
  .elementor-location-header .elementor-element-1cd18401{zoom:var(--bct-hz,1)}
  .elementor:not(.elementor-location-header) h2.elementor-heading-title{zoom:var(--bct-h,1)}
  .elementor:not(.elementor-location-header) :is(h3,h4).elementor-heading-title{zoom:var(--bct-h3,1)}
}
@media (min-width:1632px) and (max-width:1727px){:root{--bct-h:.95;--bct-hz:.96}}
@media (min-width:1536px) and (max-width:1631px){:root{--bct-h:.9;--bct-hz:.9}}
@media (min-width:1440px) and (max-width:1535px){:root{--bct-h:.85;--bct-hz:.85;--bct-h3:.95}}
@media (min-width:1280px) and (max-width:1439px){:root{--bct-h:.78;--bct-h3:.92}}
@media (min-width:1025px) and (max-width:1279px){:root{--bct-h:.68;--bct-h3:.87}}
/* Header: burger menu below 1440px (10-item nav wraps to 3-4 rows otherwise) */
@media (min-width:1025px) and (max-width:1439px){
  .elementor-element-6e99e01d .elementor-nav-menu--main{display:none!important}
  .elementor-element-6e99e01d .elementor-menu-toggle{display:flex!important}
  .elementor-element-6e99e01d nav.elementor-nav-menu--dropdown{display:block!important}
}
/* === end mid-size desktop scaling === */