/** Hyperstar 0.6.25 — typography, header, gallery spacing. Loaded last. */
/* Apply the typography ceiling globally instead of chasing hundreds of legacy
   component rules. Icon fonts and semantic headings are excluded. */
body :where(*:not(:is(h1,h2,h3,h4,h5,h6,.bi,.dashicons,.hs-icon,.fa,.fas,.far,.fab))) {
  font-weight:400!important;
}
/* Non-heading text never exceeds font-weight 500. Headings retain their hierarchy.
   Bootstrap Icons/Dashicons keep their own font-face and weight. */
body :is(p,li,dt,dd,figcaption,blockquote,cite,small,time,summary,td,th,input,textarea,select) {
  font-weight:400!important;
}
body :where(:is(a,button,label,b,strong,em,span):not(.bi):not(.dashicons):not(.hs-icon):not(.screen-reader-text)) {
  font-weight:500!important;
}
body :is(h1,h2,h3,h4,h5,h6) :is(span,small,a,strong,b,em) {
  font-weight:inherit!important;
}
/* Header: Figma reference uses a readable navigation font and a wider natural logo.
   Width is bounded, height follows intrinsic ratio (no CSS crop). */
@media (min-width:1101px) {
  html body .hs-nav__list>li>a {font-size:13px!important;line-height:1.7;letter-spacing:0}
  html body .hs-nav .sub-menu a {font-size:12.5px!important;line-height:1.7}
  html body .hs-header__brand {min-width:176px}
  html body .hs-header__brand .custom-logo {width:auto!important;max-width:min(200px,19vw)!important;max-height:66px!important;height:auto!important;object-fit:contain!important;object-position:center}
  html body .hs-header__inner {gap:clamp(14px,1.65vw,28px)}
  html body .hs-nav__list {gap:clamp(12px,1.15vw,22px)}
  html body .hs-header__cta {font-size:12.5px!important;padding:9px 17px}
}
@media (max-width:1100px) {
  html body .hs-header__brand .custom-logo {height:auto!important;width:auto!important;max-width:clamp(120px,36vw,168px)!important;max-height:54px!important;object-fit:contain!important}
  html body .hs-mobile-nav__list li>a {font-size:15px!important;line-height:1.65}
}
@media (max-width:480px) {
  html body .hs-header__brand .custom-logo {max-width:min(37vw,152px)!important;max-height:46px!important}
}
/* Avoid the former negative margin and transformed middle-column overlap. */
html body .hs-home-gallery .hs-home-center-link,
html body .hs-home-main .hs-home-gallery .hs-home-center-link {
  margin-top:36px!important;
  position:relative;
  z-index:1;
  clear:both;
  justify-content:center;
}
html body .hs-home-gallery__grid,
html body .hs-home-main .hs-home-gallery__grid {margin-bottom:0;padding-bottom:0;overflow:visible}
@media(max-width:782px) {
  html body .hs-home-gallery .hs-home-center-link,
  html body .hs-home-main .hs-home-gallery .hs-home-center-link {margin-top:22px!important}
}
/* Hide obsolete organizational feature controls (including cached older widget markup).
   Images remain draggable and can autoplay; this is not a general carousel rule. */
html body .hs-home-feature--organization .hs-card-stack__controls,
html body .hs-home-service-card:not(.hs-home-service-card--credit) .hs-card-stack__controls {display:none!important}
/* Compact reference typography on homepage; retain semantic heading styles. */
html body .hs-home-main .hs-home-feature__content h2,
html body .hs-home-main .hs-home-service-card h2 {font-size:clamp(23px,2.35vw,33px);line-height:1.42}
html body .hs-home-main .hs-home-heading h2 {font-size:clamp(23px,2.2vw,32px);line-height:1.4}
html body .hs-home-main .hs-home-feature__content p,
html body .hs-home-main .hs-home-service-card p {font-size:clamp(12px,1.04vw,14px);line-height:2.05}
@media(max-width:782px) {
 html body .hs-home-main .hs-home-feature__content h2,
 html body .hs-home-main .hs-home-service-card h2 {font-size:clamp(21px,5vw,26px)}
}
