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

@media (max-width: 650px) {
  .project-form label {
    display: block;
  }

  .project-form label > span {
    display: inline;
  }

  .project-form label > small {
    display: block;
    margin-top: 3px;
    font-weight: 400;
  }

  .project-form label > input,
  .project-form label > select,
  .project-form label > textarea {
    display: block;
    margin-top: 8px;
  }
}

.primary-nav .nav-ar-mobile {
  display: none;
}

@media (min-width: 851px) and (max-width: 960px) {
  .header-inner {
    gap: 14px;
  }

  .primary-nav {
    gap: 10px;
  }

  .primary-nav a {
    font-size: .7rem;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 850px) {
  .primary-nav .nav-ar-mobile {
    display: block;
  }

  .header-inner {
    gap: clamp(10px, 2.5vw, 20px);
  }

  .primary-nav {
    top: 76px;
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    padding: 8px 24px 14px;
    gap: 0;
  }

  .primary-nav a {
    padding: 12px 0;
    font-size: .86rem;
    line-height: 1.4;
    letter-spacing: .055em;
  }

  .mobile-header-tagline {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    font: 700 clamp(.57rem, 2.25vw, .7rem)/1.45 'DM Sans', sans-serif;
    letter-spacing: .075em;
    text-transform: uppercase;
  }

  .mobile-header-tagline span {
    display: block;
  }

  .menu-toggle {
    flex: 0 0 34px;
    margin-left: 0;
  }
}

@media (max-width: 650px) {
  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: clamp(54px, 16vw, 66px);
    height: clamp(54px, 16vw, 66px);
  }

  .home .arch-eyebrow {
    display: none;
  }

  .mobile-action-bar {
    grid-template-columns: minmax(0, 1fr) repeat(3, 44px);
    gap: clamp(0px, 1vw, 6px);
    align-items: center;
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
    background: #fff;
    border-top: 1px solid #e2e8e2;
    box-shadow: 0 -7px 22px rgba(20, 37, 30, .06);
  }

  .mobile-action-bar a {
    min-width: 0;
    min-height: 44px;
    border-radius: 0;
  }

  .mobile-action-bar a.mobile-action-primary {
    justify-content: flex-start;
    padding: 0 4px;
    background: transparent;
    border: 0;
    color: #1b292f;
    font-size: clamp(.65rem, 2.65vw, .78rem);
    line-height: 1.2;
    letter-spacing: .02em;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: #b8aa8e;
    text-underline-offset: 4px;
  }

  .mobile-action-bar a.mobile-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .mobile-action-bar .mobile-action-icon svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-action-bar a.mobile-call {
    color: #1b292f;
  }

  .mobile-action-bar a.mobile-whatsapp {
    color: #168c4e;
  }

  .mobile-action-bar a.mobile-mail {
    color: #1b292f;
  }

  .mobile-action-bar .mobile-action-icon:focus-visible {
    outline: 2px solid #a88653;
    outline-offset: 2px;
  }
}
