/* Selected TOMOSHIBI logo — dark burgundy rounded letters with an orange flame above the final I.
   This stylesheet affects only logo assets; existing text, navigation and content stay unchanged. */
#header.site-header .brand,
.site-header .brand{
  min-width:0!important;
  flex-shrink:0!important;
  gap:0!important;
}
#header.site-header .brand .brand-logo-image,
.site-header .brand .brand-logo-image{
  display:block!important;
  width:clamp(172px,16vw,210px)!important;
  max-width:100%!important;
  height:auto!important;
  max-height:42px!important;
  object-fit:contain!important;
  flex-shrink:0!important;
}
.site-footer .footer-logo .footer-logo-image{
  display:block!important;
  width:clamp(176px,18vw,226px)!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
}
.fp-header .fp-logo,
.fp-footer .fp-logo{
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  min-width:0!important;
}
.fp-header .fp-logo .fp-logo-image,
.fp-footer .fp-logo .fp-logo-image{
  display:block!important;
  width:clamp(168px,17vw,195px)!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
}
.head .brand .lesson-logo-image{
  display:block!important;
  width:clamp(162px,17vw,192px)!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
}
@media(max-width:760px){
  #header.site-header .brand .brand-logo-image,
  .site-header .brand .brand-logo-image{width:177px!important;max-height:37px!important}
  .site-footer .footer-logo .footer-logo-image{width:183px!important}
  .fp-header .fp-logo .fp-logo-image{width:174px!important}
  .fp-footer .fp-logo .fp-logo-image{width:187px!important}
  .head .brand .lesson-logo-image{width:170px!important}
}
@media(max-width:370px){
  #header.site-header .brand .brand-logo-image,
  .site-header .brand .brand-logo-image{width:162px!important}
  .fp-header .fp-logo .fp-logo-image{width:162px!important}
}

/* 2026-11-23 | Compact logo and vertically balanced white header pill. */
#header.site-header .brand,
#header.site-header .brand .brand-logo-image{
  align-self:center!important;
}
#header.site-header .brand .brand-logo-image,
.site-header .brand .brand-logo-image{
  width:clamp(175px,15vw,188px)!important;
  max-height:35px!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0!important;
}
@media(max-width:760px){
  #header.site-header .nav-shell,
  body:has(#top.hero--immersive) #header.site-header .nav-shell,
  body:has(#top.hero--immersive) #header.site-header:not(.is-compact) .nav-shell{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    height:48px!important;
    min-height:48px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    padding-left:18px!important;
    padding-right:14px!important;
  }
  #header.site-header.is-compact .nav-shell,
  body:has(#top.hero--immersive) #header.site-header.is-compact .nav-shell{
    height:46px!important;
    min-height:46px!important;
  }
  #header.site-header .brand .brand-logo-image,
  .site-header .brand .brand-logo-image{
    width:151px!important;
    max-height:30px!important;
    margin:0!important;
  }
  #header.site-header .menu-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:40px!important;
    width:40px!important;
    flex:0 0 40px!important;
  }
}
@media(max-width:370px){
  #header.site-header .brand .brand-logo-image,
  .site-header .brand .brand-logo-image{
    width:145px!important;
  }
}
