.tt-mobile-header {
  display: none;
}

@media (max-width: 1199.98px) {
  :root {
    --tt-mobile-header-height: 64px;
    --tt-mobile-ease-out: cubic-bezier(.23, 1, .32, 1);
    --tt-mobile-ease-drawer: cubic-bezier(.32, .72, 0, 1);
  }

  html.tt-mobile-nav-open,
  body.tt-mobile-nav-open {
    overflow: hidden;
  }

  .tt-mobile-header {
    position: relative;
    z-index: 1000;
    display: flex;
    width: 100%;
    height: var(--tt-mobile-header-height);
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 20px;
    box-sizing: border-box;
    background: #dcdcdc;
    color: #333333;
  }

  .tt-mobile-header::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, transparent calc(33.333% - .5px), #e3e3e3 calc(33.333% - .5px), #e3e3e3 calc(33.333% + .5px), transparent calc(33.333% + .5px)),
      linear-gradient(90deg, transparent calc(33.333% + 7.5px), #e3e3e3 calc(33.333% + 7.5px), #e3e3e3 calc(33.333% + 8.5px), transparent calc(33.333% + 8.5px)),
      linear-gradient(90deg, transparent calc(66.666% - .5px), #e3e3e3 calc(66.666% - .5px), #e3e3e3 calc(66.666% + .5px), transparent calc(66.666% + .5px)),
      linear-gradient(90deg, transparent calc(66.666% + 7.5px), #e3e3e3 calc(66.666% + 7.5px), #e3e3e3 calc(66.666% + 8.5px), transparent calc(66.666% + 8.5px));
  }

  .tt-mobile-header__logo {
    position: relative;
    z-index: 2;
    display: block;
    width: 38px;
    height: 29px;
  }

  .tt-mobile-header__logo img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .tt-mobile-menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #333333;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 140ms var(--tt-mobile-ease-out), color 180ms ease;
  }

  .tt-mobile-menu-button:active {
    transform: scale(.96);
  }

  .tt-mobile-menu-button:focus-visible {
    outline: 1px solid #ff5c17;
    outline-offset: -5px;
  }

  .tt-mobile-menu-button__icon {
    position: relative;
    display: block;
    width: 24px;
    height: 18px;
  }

  .tt-mobile-menu-button__line {
    position: absolute;
    left: 0;
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transform-origin: 50% 50%;
    transition:
      transform 240ms var(--tt-mobile-ease-out),
      opacity 120ms ease,
      background-color 180ms ease;
    will-change: transform;
  }

  .tt-mobile-menu-button__line:nth-child(1) {
    top: 1px;
  }

  .tt-mobile-menu-button__line:nth-child(2) {
    top: 8px;
  }

  .tt-mobile-menu-button__line:nth-child(3) {
    top: 15px;
  }

  .tt-mobile-menu-button[aria-expanded="true"] {
    color: #ff5c17;
  }

  .tt-mobile-menu-button[aria-expanded="true"] .tt-mobile-menu-button__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .tt-mobile-menu-button[aria-expanded="true"] .tt-mobile-menu-button__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(.25);
  }

  .tt-mobile-menu-button[aria-expanded="true"] .tt-mobile-menu-button__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .tt-mobile-menu {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    min-height: 100dvh;
    padding: 104px 24px 28px;
    box-sizing: border-box;
    flex-direction: column;
    background: #dcdcdc;
    color: #333333;
    clip-path: circle(0 at calc(100% - 36px) 32px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      clip-path 260ms var(--tt-mobile-ease-drawer),
      opacity 160ms ease,
      visibility 0s linear 260ms;
  }

  .tt-mobile-menu::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, transparent calc(33.333% - .5px), rgba(51, 51, 51, .08) calc(33.333% - .5px), rgba(51, 51, 51, .08) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
      linear-gradient(90deg, transparent calc(33.333% + 7.5px), rgba(51, 51, 51, .08) calc(33.333% + 7.5px), rgba(51, 51, 51, .08) calc(33.333% + 8.5px), transparent calc(33.333% + 8.5px)),
      linear-gradient(90deg, transparent calc(66.666% - .5px), rgba(51, 51, 51, .08) calc(66.666% - .5px), rgba(51, 51, 51, .08) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
      linear-gradient(90deg, transparent calc(66.666% + 7.5px), rgba(51, 51, 51, .08) calc(66.666% + 7.5px), rgba(51, 51, 51, .08) calc(66.666% + 8.5px), transparent calc(66.666% + 8.5px));
  }

  .tt-mobile-menu > * {
    position: relative;
    z-index: 1;
  }

  /* Only service pages use the light modifier. Existing headers on the
     homepage and equipment page keep the original dark treatment. */
  .tt-mobile-header:not(.tt-mobile-header--light) {
    background: #3b3b3b;
    color: #dcdcdc;
  }

  .tt-mobile-header:not(.tt-mobile-header--light)::before {
    opacity: .6;
    background:
      linear-gradient(90deg, transparent calc(33.333% - .5px), rgba(220, 220, 220, .075) calc(33.333% - .5px), rgba(220, 220, 220, .075) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
      linear-gradient(90deg, transparent calc(33.333% + 7.5px), rgba(220, 220, 220, .075) calc(33.333% + 7.5px), rgba(220, 220, 220, .075) calc(33.333% + 8.5px), transparent calc(33.333% + 8.5px)),
      linear-gradient(90deg, transparent calc(66.666% - .5px), rgba(220, 220, 220, .075) calc(66.666% - .5px), rgba(220, 220, 220, .075) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
      linear-gradient(90deg, transparent calc(66.666% + 7.5px), rgba(220, 220, 220, .075) calc(66.666% + 7.5px), rgba(220, 220, 220, .075) calc(66.666% + 8.5px), transparent calc(66.666% + 8.5px));
  }

  .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu-button[aria-expanded="false"] {
    color: #dcdcdc;
  }

  .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu {
    background: #333333;
    color: #dcdcdc;
  }

  .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu::before {
    opacity: .6;
    background:
      linear-gradient(90deg, transparent calc(33.333% - .5px), rgba(220, 220, 220, .075) calc(33.333% - .5px), rgba(220, 220, 220, .075) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
      linear-gradient(90deg, transparent calc(33.333% + 7.5px), rgba(220, 220, 220, .075) calc(33.333% + 7.5px), rgba(220, 220, 220, .075) calc(33.333% + 8.5px), transparent calc(33.333% + 8.5px)),
      linear-gradient(90deg, transparent calc(66.666% - .5px), rgba(220, 220, 220, .075) calc(66.666% - .5px), rgba(220, 220, 220, .075) calc(66.666% + .5px), transparent calc(66.666% + .5px)),
      linear-gradient(90deg, transparent calc(66.666% + 7.5px), rgba(220, 220, 220, .075) calc(66.666% + 7.5px), rgba(220, 220, 220, .075) calc(66.666% + 8.5px), transparent calc(66.666% + 8.5px));
  }

  .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu__eyebrow {
    color: #8e8e8e;
  }

  .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu__nav a {
    border-color: rgba(220, 220, 220, .14);
    color: #dcdcdc;
  }

  .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu__contact {
    color: #dcdcdc;
  }

  @media (hover: hover) and (pointer: fine) {
    .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu__nav a:hover,
    .tt-mobile-header:not(.tt-mobile-header--light) .tt-mobile-menu__contact:hover {
      color: #ff5c17;
    }
  }

  .tt-mobile-menu[data-open="true"] {
    clip-path: circle(150% at calc(100% - 36px) 32px);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
      clip-path 280ms var(--tt-mobile-ease-drawer),
      opacity 140ms ease,
      visibility 0s linear 0s;
  }

  .tt-mobile-menu__eyebrow {
    margin: 0 0 28px;
    color: #6a6a6a;
    font-family: "DotGothic16", sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .tt-mobile-menu__nav {
    display: flex;
    flex-direction: column;
  }

  .tt-mobile-menu__nav a {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(51, 51, 51, .16);
    color: #333333;
    font-family: "Space Mono", monospace;
    font-size: clamp(24px, 8vw, 38px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.035em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px);
    transition:
      color 160ms ease,
      opacity 180ms var(--tt-mobile-ease-out),
      transform 220ms var(--tt-mobile-ease-out);
  }

  .tt-mobile-menu__nav a:last-child {
    border-bottom: 1px solid rgba(51, 51, 51, .16);
  }

  .tt-mobile-menu__nav a::after {
    content: "\2192";
    color: #ff5c17;
    font-size: .72em;
    transform: translateX(-4px);
    transition: transform 180ms var(--tt-mobile-ease-out);
  }

  .tt-mobile-menu[data-open="true"] .tt-mobile-menu__nav a {
    opacity: 1;
    transform: translateY(0);
  }

  .tt-mobile-menu[data-open="true"] .tt-mobile-menu__nav a:nth-child(1) { transition-delay: 45ms; }
  .tt-mobile-menu[data-open="true"] .tt-mobile-menu__nav a:nth-child(2) { transition-delay: 80ms; }
  .tt-mobile-menu[data-open="true"] .tt-mobile-menu__nav a:nth-child(3) { transition-delay: 115ms; }

  .tt-mobile-menu__contact {
    margin-top: auto;
    padding-top: 28px;
    color: #333333;
    font-family: "Space Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px);
    transition:
      color 160ms ease,
      opacity 180ms var(--tt-mobile-ease-out),
      transform 220ms var(--tt-mobile-ease-out);
  }

  .tt-mobile-menu[data-open="true"] .tt-mobile-menu__contact {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 145ms;
  }

  @media (hover: hover) and (pointer: fine) {
    .tt-mobile-menu__nav a:hover,
    .tt-mobile-menu__contact:hover {
      color: #ff5c17;
    }

    .tt-mobile-menu__nav a:hover::after {
      transform: translateX(0);
    }
  }

  /* The fixed-canvas header is replaced only in the mobile/tablet range. */
  html body #tt-hero.tt-hero .tt-hero__logo,
  html body #tt-hero.tt-hero .tt-hero__nav,
  html body #tt-hero.tt-hero .tt-hero__mail,
  html body #tt-services-page-hero.tt-services-page-hero .tt-services-page-hero__top {
    display: none !important;
  }
}

@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
  .tt-mobile-menu-button,
  .tt-mobile-menu-button__line,
  .tt-mobile-menu,
  .tt-mobile-menu__nav a,
  .tt-mobile-menu__contact {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .tt-mobile-menu {
    clip-path: none;
  }
}
