.mobile-nav-toggle,
.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    gap: 12px;
  }

  .mobile-nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(112, 88, 138, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    color: #543669;
    cursor: pointer;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle[aria-expanded="true"] {
    border-color: #84639c;
    background: #f1e8f6;
  }

  .mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
  }

  .mobile-nav {
    position: absolute;
    top: calc(100% + 9px);
    right: 18px;
    left: 18px;
    z-index: 25;
    display: grid;
    padding: 9px;
    border: 1px solid rgba(112, 88, 138, 0.2);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(49, 38, 66, 0.18);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    display: flex;
    min-height: 45px;
    align-items: center;
    padding: 10px 13px;
    border-radius: 12px;
    color: #352643;
    font-size: 15px;
    font-weight: 400;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: #f5eff8;
  }

  .mobile-nav a[aria-current="page"] {
    background: #eee5f4;
    color: #593b70;
    font-weight: 600;
  }

  .mobile-nav .mobile-nav-contact {
    margin-top: 5px;
    border-top: 1px solid #ede5f1;
    border-radius: 0 0 12px 12px;
    color: #65407f;
    font-weight: 600;
  }
}

@media (max-width: 600px) {
  .site-header .brand {
    min-width: 0;
    gap: 8px;
  }

  .site-header .brand strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .site-header .header-cta {
    gap: 8px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header .brand strong {
    font-size: 13px;
  }

  .site-header .header-cta,
  .site-header .header-link {
    padding: 10px 10px;
    font-size: 11px;
  }

  .mobile-nav {
    right: 12px;
    left: 12px;
  }
}
