/* v0.3.8 – only header action/brand spacing and the homepage hero-to-content wave.
   No changes to the logo asset, hero copy, footer, inner pages or DB. */

/* Keep the exact approved logo file; scale the IMG, never alter the artwork. */
.site-header.one-header-v032 .site-brand .one-header-logo{
  padding:6px 9px!important;
  margin-inline:3px 6px;
  background:transparent!important;
  border:0!important;
  box-sizing:border-box;
}
.site-header.one-header-v032 .site-brand .one-header-logo img{
  display:block;
  width:112px;
  height:auto;
  max-height:58px;
  max-width:100%;
  object-fit:contain;
}
.site-header.one-header-v032.is-scrolled .site-brand .one-header-logo img{
  width:103px;
  max-height:53px;
}

/* Inspired by the existing layered red curves of the main website.
   Only the default homepage hero is affected. */
body.home .onekasb-home-v030 .o3-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 -1px;
  height:clamp(68px,7.7vw,106px);
  background:url('../img/hero-wave-v038.svg') center bottom / 100% 100% no-repeat;
  pointer-events:none;
  z-index:2;
}
body.home .onekasb-home-v030 .o3-hero-copy,
body.home .onekasb-home-v030 .o3-portrait-intro{position:relative;z-index:3}

@media(max-width:1240px){
 .site-header.one-header-v032 .site-brand .one-header-logo{padding:5px 8px!important;margin-inline:0 4px}
 .site-header.one-header-v032 .site-brand .one-header-logo img{width:98px;max-height:50px}
 .site-header.one-header-v032.is-scrolled .site-brand .one-header-logo img{width:92px;max-height:47px}
}
@media(max-width:680px){
 .site-header.one-header-v032 .site-brand .one-header-logo{padding:4px 6px!important;margin-inline:0 2px}
 .site-header.one-header-v032 .site-brand .one-header-logo img{width:84px;max-height:45px}
 .site-header.one-header-v032.is-scrolled .site-brand .one-header-logo img{width:80px;max-height:42px}
 body.home .onekasb-home-v030 .o3-hero::after{height:62px}
}
@media(max-width:360px){
 .site-header.one-header-v032 .site-brand .one-header-logo img{width:76px;max-height:41px}
}
