header {
  min-height: 88px;
  padding: 0 4vw;
  border-bottom: 1px solid #d8d4ca;
  background: #f3f0e8;
  color: #161817;
  position: relative;
  z-index: 20;
}

header .brand-home {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

header .brand-home img {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}

header .brand i {
  height: 26px;
  border-color: #d8d4ca;
}

header .brand > span {
  color: #161817;
  font: 600 13px 'DM Sans', system-ui, sans-serif;
}

header .site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  margin: 0 auto;
  font: 400 13px 'DM Sans', system-ui, sans-serif;
}

header .site-nav a {
  color: #161817;
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}

header .site-nav a:hover,
header .site-nav a:focus-visible {
  color: #ff6a2a;
}

header .site-nav-mobile {
  display: none;
  position: relative;
}

header .site-nav-mobile > summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d8d4ca;
  border-radius: 10px;
  color: #161817;
  cursor: pointer;
  list-style: none;
}

header .site-nav-mobile > summary::-webkit-details-marker {
  display: none;
}

header .site-nav-mobile > summary:hover,
header .site-nav-mobile[open] > summary {
  background: #fff;
}

header .site-nav-mobile-panel {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: -52px;
  width: min(240px, calc(100vw - 28px));
  padding: 7px;
  border: 1px solid #d8d4ca;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px #16181720;
}

header .site-nav-mobile[open] > .site-nav-mobile-panel {
  display: grid;
}

header .site-nav-mobile-panel a {
  padding: 10px 11px;
  border-radius: 7px;
  color: #161817;
  font: 500 14px 'DM Sans', system-ui, sans-serif;
  text-decoration: none;
}

header .site-nav-mobile-panel a:hover,
header .site-nav-mobile-panel a:focus-visible {
  background: #f3f0e8;
  color: #ff6a2a;
}

header .brand-home:focus-visible,
header .account-link:focus-visible {
  outline: 2px solid #ff6a2a;
  outline-offset: 3px;
}

header .account-link {
  border-color: #d8d4ca;
  color: #161817;
  background: transparent;
}

header .account-link:hover {
  border-color: #161817;
  background: #fff;
}

header .account-link.is-guest {
  border-color: #b9e474;
  color: #161817;
  background: #d8ff49;
}

header .account-link.is-guest:hover {
  background: #e5ff82;
}

header .studio-account-options {
  border-color: #d8d4ca;
  box-shadow: 0 10px 24px #16181720;
}

@media (max-width: 900px) {
  header .site-nav {
    display: none;
  }

  header .site-nav-mobile {
    display: block;
  }

  header {
    padding-right: 5vw;
    padding-left: 5vw;
  }
}

@media (max-width: 480px) {
  header .brand-home img {
    height: 43px;
  }
}
