/* V18 — align the prototype's global bar with the existing Roots page. */

.site-header {
  position: relative;
  display: grid;
  min-height: 92px;
  grid-template-columns: auto 1fr auto;
  padding: 14px clamp(28px, 3vw, 56px);
  border: 0;
  border-bottom: 1px solid rgba(228, 221, 208, .08);
  color: var(--stone);
  background:
    radial-gradient(28% 160% at 7% 45%, rgba(190, 112, 121, .07), transparent 72%),
    #15120e;
  box-shadow: 0 14px 38px rgba(22, 19, 14, .12);
  backdrop-filter: none;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  opacity: .32;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(228, 221, 208, .18) 18%, rgba(228, 221, 208, .08) 82%, transparent);
}

.site-header .brand {
  z-index: 1;
  color: var(--stone);
}

.site-header .brand-mark {
  width: 48px;
  height: 48px;
  border-color: rgba(228, 221, 208, .32);
  color: rgba(244, 237, 225, .92);
  background:
    radial-gradient(circle at 68% 30%, rgba(227, 169, 174, .14), transparent 40%),
    rgba(44, 38, 28, .46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 8px 22px rgba(0, 0, 0, .24);
}

.site-header .brand-copy,
.site-header .section-identity {
  display: none;
}

.header-back {
  z-index: 1;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  gap: 13px;
  padding: 8px 0 8px 18px;
  color: rgba(228, 221, 208, .62);
  text-decoration: none;
  transition: color 240ms ease, transform 320ms var(--expo);
}

.header-back span {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.header-back strong {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
}

.header-back:hover,
.header-back:focus-visible {
  color: var(--stone);
  transform: translateX(-3px);
}

.collection-nav {
  position: relative;
  z-index: 3;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: auto 1fr auto;
    padding: 9px 18px;
  }

  .site-header .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .header-back {
    min-height: 40px;
    gap: 9px;
    padding-left: 12px;
  }

  .header-back span {
    font-size: 17px;
  }

  .header-back strong {
    font-size: 10px;
    letter-spacing: .12em;
  }
}

@media (max-width: 390px) {
  .header-back strong {
    font-size: 9px;
  }
}
