/* Shared header identity on every route; the approved homepage artwork and sizing. */
.brand-logo-crop{display:none}
html[data-brand-theme=dakota] .brand{display:block;text-decoration:none}
html[data-brand-theme=dakota] .brand-wordmark,html[data-brand-theme=dakota] .brand-descriptor{display:none}
html[data-brand-theme=dakota] .brand-logo-crop{display:block;width:286px;aspect-ratio:510 / 104;mix-blend-mode:darken}
html[data-brand-theme=dakota] .brand-logo-crop img{display:block;width:100%;height:auto}
@media(max-width:800px){html[data-brand-theme=dakota] .brand-logo-crop{width:240px}}
@media(max-width:520px){html[data-brand-theme=dakota] .brand-logo-crop{width:225px}}
@media(max-width:380px){html[data-brand-theme=dakota] .brand-logo-crop{width:185px}}

/* Keep the small navigation useful and quiet beside the horizontal logo. */
html[data-brand-theme='dakota'] .site-header {
  background: var(--cream);
  border-bottom-color: var(--line);
}

html[data-brand-theme='dakota'] .nav-wrap {
  gap: 26px;
}

html[data-brand-theme='dakota'] #primary-nav {
  gap: 24px;
  font-size: 12px;
  font-weight: 500;
}

html[data-brand-theme='dakota'] #primary-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

html[data-brand-theme='dakota'] #primary-nav .nav-call {
  color: var(--brand-mulberry);
  border-color: var(--brand-mulberry);
  min-height: 46px;
  gap: 12px;
  padding-inline: 17px;
}

html[data-brand-theme='dakota'] #primary-nav .nav-call:is(:hover, :focus-visible, :active) {
  color: var(--paper);
  background: var(--brand-plum);
  border-color: var(--brand-plum);
}

html[data-brand-theme='dakota'] .work-panel {
  box-shadow: 0 14px 35px #17352c14;
  border-color: var(--line);
}

html[data-brand-theme='dakota'] .work-panel > a {
  font-size: 15px;
  line-height: 1.55;
  padding-block: 10px;
}

html[data-brand-theme='dakota'] .work-panel > a span:not([aria-hidden]) {
  font-size: 11px;
}

html[data-brand-theme='dakota'] .work-panel > a.nav-compare {
  font-size: 11px;
}

/* Montserrat and the supplied horizontal mark need more room than the current
   wordmark. Switch to the existing menu behavior before either is crowded. */
@media (max-width: 1150px) {
  html[data-brand-theme='dakota'] .nav-wrap {
    height: 88px;
  }
  html[data-brand-theme='dakota'] .menu-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 0;
    background: none;
    min-height: 44px;
    font-size: 13px;
    padding: 8px;
  }
  html[data-brand-theme='dakota'] .menu-toggle span {
    font-size: 18px;
  }
  html[data-brand-theme='dakota'] #primary-nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    max-height: calc(100dvh - 88px);
    overflow: auto;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
  }
  html[data-brand-theme='dakota'] #primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }
  html[data-brand-theme='dakota'] #primary-nav > a {
    padding: 14px 6px;
  }
  html[data-brand-theme='dakota'] #primary-nav .nav-call {
    justify-content: space-between;
    margin-top: 12px;
    padding: 14px;
  }
  html[data-brand-theme='dakota'] .work-menu summary {
    padding: 14px 6px;
    justify-content: space-between;
  }
  html[data-brand-theme='dakota'] .work-panel {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-left: 1px solid var(--line);
    margin: 0 6px 20px;
    padding: 16px 22px;
    background: transparent;
  }
}

@media (max-width: 800px) {
  html[data-brand-theme='dakota'] .nav-wrap {
    height: 78px;
  }
  html[data-brand-theme='dakota'] #primary-nav {
    top: 78px;
    max-height: calc(100dvh - 78px);
  }
}
