
/* Shared mobile type scale; rem values resolve to 32, 18 and 24 CSS px. */
@media (max-width: 767px) {
    #page.site #primary.site-main h1 {
        font-size: 2rem !important;
        line-height: 1.15 !important;
    }
    #page.site #primary.site-main .hero__lead {
        font-size: 1.125rem !important;
        line-height: 1.5 !important;
    }
    #page.site #primary.site-main h2:not(.hero__form-title),
    #page #primary #contact-simple-title,
    #page #primary #services .home-services-group__title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }
}


/* Decorative handset beside the number in shared call buttons. */
#page .header-call::before,
#page .mobile-menu-call::before,
#page #primary .hero__actions a[href^="tel:"]::before,
#page .mobile-cta a[href^="tel:"]::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-right: 6px;
    vertical-align: -3px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.92v3a2%202%200%200%201-2.18%202%2019.79%2019.79%200%200%201-8.63-3.07%2019.5%2019.5%200%200%201-6-6%2019.79%2019.79%200%200%201-3.07-8.67A2%202%200%200%201%204.11%202h3a2%202%200%200%201%202%201.72c.12.96.35%201.9.69%202.79a2%202%200%200%201-.45%202.11L8.09%209.89a16%2016%200%200%200%206%206l1.27-1.27a2%202%200%200%201%202.11-.45c.89.34%201.83.57%202.79.69A2%202%200%200%201%2022%2016.92z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.92v3a2%202%200%200%201-2.18%202%2019.79%2019.79%200%200%201-8.63-3.07%2019.5%2019.5%200%200%201-6-6%2019.79%2019.79%200%200%201-3.07-8.67A2%202%200%200%201%204.11%202h3a2%202%200%200%201%202%201.72c.12.96.35%201.9.69%202.79a2%202%200%200%201-.45%202.11L8.09%209.89a16%2016%200%200%200%206%206l1.27-1.27a2%202%200%200%201%202.11-.45c.89.34%201.83.57%202.79.69A2%202%200%200%201%2022%2016.92z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
#page .mobile-cta a[href^="tel:"]::before {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    margin-right: 5px;
}


/* Shared, static mascot: decorative image and two lines of readable text. */
#page .site-header .header-mascot {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: stretch;
  min-height: 52px;
  min-width: 0;
  gap: 7px;
}
/* Clip only the character at the header edge; navigation remains free. */
#page .site-header .header-mascot__figure {
  position: relative;
  display: block;
  flex: 0 0 52px;
  width: 52px;
  align-self: stretch;
  margin-bottom: -11px;
  clip-path: inset(-100px -6px 0 -6px);
}
#page .site-header .header-mascot__image {
  position: absolute;
  display: block;
  left: 50%;
  bottom: -3px;
  width: 72px;
  height: 72px;
  max-width: none;
  object-fit: contain;
  transform: translateX(-50%);
}
#page .site-header .header-mascot__bubble {
  position: relative;
  display: block;
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #071428;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center;
  text-shadow: none;
  box-shadow: none;
}
#page .site-header .header-mascot__bubble > span {
  display: block;
  white-space: nowrap;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}
/* A curved speech tail with a rounded tip, joined into the lower corner. */
#page .site-header .header-mascot__bubble::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: 0;
  left: -8px;
  width: 10px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2014%2014%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M14%200C11.5%205.5%207%209.5%201%2010C0.2%2010.1%200.1%2011.4%201.4%2011.5C6.3%2012%2011.1%2010.7%2014%208Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
  clip-path: none;
  transform: none;
  pointer-events: none;
}
@media (max-width: 1120px) {
  #page .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  #page .site-header .header-mascot {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  #page .site-header .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }
}
@media (max-width: 700px) {
  #page .site-header {
    gap: 6px;
    padding: 9px 10px;
  }
  #page .site-header .brand {
    min-width: 0;
  }
  #page .site-header .brand img {
    width: 134px;
    max-width: 100%;
  }
  #page .site-header .header-mascot {
    gap: 5px;
    min-height: 0;
  }
  #page .site-header .header-mascot__figure {
    flex-basis: 44px;
    width: 44px;
    margin-bottom: -10px;
  }
  #page .site-header .header-mascot__image {
    width: 62px;
    height: 62px;
  }
  #page .site-header .header-mascot__bubble {
    padding: 4px 5px;
    border-radius: 7px;
    font-size: 11px !important;
  }
}
@media (max-width: 374px) {
  #page .site-header {
    gap: 4px;
    padding-right: 8px;
    padding-left: 8px;
  }
  #page .site-header .brand img {
    width: clamp(96px, calc(60vw - 96px), 128px);
  }
  #page .site-header .header-mascot {
    gap: 4px;
  }
  #page .site-header .header-mascot__figure {
    flex-basis: 36px;
    width: 36px;
    clip-path: inset(-100px -4px 0 -4px);
  }
  #page .site-header .header-mascot__image {
    width: 56px;
    height: 56px;
  }
}


/* Full-width mobile/tablet header in both closed and expanded states. */
@media (max-width: 1120px) {
  #page .site-header {
    left: 0;
    width: 100%;
    max-width: none;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    transform: none;
  }
  #page .site-header.is-menu-open .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: auto;
    width: 100%;
    max-width: none;
    display: grid;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 12px 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: #071428;
    transform: none;
    max-height: calc(100vh - 156px);
    max-height: calc(100dvh - 156px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (max-width: 700px) {
  #page .site-header.is-menu-open .site-nav {
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
  }
}

