/* Services navigation: two delivery models, plus the designer collaboration route. */
.nav-services { position: relative; }
.nav-services > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm, .94rem);
  color: var(--ink);
}
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary::after { content: "+"; font-size: 1.15em; }
.nav-services[open] > summary::after { content: "−"; }
.nav-services > summary:focus-visible,
.nav-services a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.nav-services > .nav-services__links {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 120;
  width: 280px;
  padding: .35rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--color-bg, var(--paper, #fafafa));
  box-shadow: 0 8px 24px rgb(0 0 0 / .1);
}
.nav-services:not([open]) > .nav-services__links { display: none; }
.nav-services .nav-services__links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .8rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm, .94rem);
  line-height: 1.5;
  color: var(--ink);
  white-space: normal;
  text-decoration: none;
}
.nav-services .nav-services__links a:last-child { border-bottom: 0; }
.nav-services .nav-services__links .services-overview-link {
  font-size: .8125rem;
  color: var(--color-text-muted, var(--muted, #60656c));
}
.nav-services .nav-services__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mobile-services { border-top: 1px solid var(--line); }
.mobile-services > summary {
  width: 100%;
  min-height: 58px;
  padding: 1rem 0;
  font-size: var(--text-base, 1rem);
}
.mobile-services > .nav-services__links {
  position: static;
  width: auto;
  margin: 0 0 .75rem .65rem;
  padding: 0 0 0 1rem;
  border: 0;
  border-left: 1px solid var(--line);
  box-shadow: none;
  background: transparent;
}
.mobile-services .nav-services__links a { min-height: 48px; }
.mobile-nav { transition: none; }
.mobile-nav:not(.open) { visibility: hidden; }
.mobile-nav.open,
.services-page .mobile-nav.open {
  visibility: visible;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
}
@media (max-width: 900px) {
  .primary-nav .nav-services > summary { min-height: 48px; padding: .75rem 0; font-size: var(--text-base); }
  .primary-nav .nav-services > .nav-services__links {
    position: static;
    width: auto;
    margin: 0 0 .5rem .5rem;
    padding: 0 0 0 1rem;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: none;
    background: transparent;
  }
  .primary-nav.is-open { max-height: calc(100dvh - 110px); overflow-y: auto; }
}
