.product-switch {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: clamp(.65rem, 1.1vw, 1.25rem);
}
.product-switch a {
  --mark: #dbfa68;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #a4aaa5;
  transition: color .18s;
}
.product-switch a[data-product-link="morph"] { --mark: #ff584f; }
.product-switch a:hover { color: var(--mark); }
.product-switch a[aria-current] { color: #f7f6f3; }
.product-switch a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.35rem;
  height: 2px;
  background: var(--mark);
  view-transition-name: product-mark;
}
.product-divider { width: 1px; height: 1.25rem; background: #565957; }
.morph-wordmark {
  font-size: 1.55rem;
  font-weight: 800;
  font-stretch: 97%;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.head-tools, .main-nav a { white-space: nowrap; }
.header-short { display: none; }
@media (min-width: 661px) and (max-width: 960px) {
  .head-inner { display: flex; justify-content: space-between; }
  .mobile-menu { display: grid; }
  .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: var(--menu-background, #171d17);
    border-bottom: 1px solid #414341;
    padding: .65rem var(--gutter) 1rem;
  }
  .main-nav[data-open] { display: flex; flex-direction: column; gap: 0; }
  .main-nav a { padding: .65rem .1rem; }
  .main-nav a[aria-current]::after { left: auto; right: .4rem; bottom: 50%; }
}
@media (max-width: 660px) {
  .head-inner { gap: .6rem; }
  .product-switch { gap: .62rem; }
  .product-switch .wordmark { width: 4.35rem; }
  .product-switch .morph-wordmark { font-size: 1.12rem; }
  .product-divider { height: 1rem; }
  .product-switch a[aria-current]::after { bottom: .17rem; width: 1rem; }
}
@media (max-width: 480px) {
  .head-tools { gap: .5rem; }
  .head-inner { width: calc(100% - 1.65rem); }
  .header-short { display: inline; }
  .header-full { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header { view-transition-name: product-header; }
  .ribbon { view-transition-name: product-ribbon; }
  ::view-transition-group(*) { animation-duration: .32s; animation-timing-function: cubic-bezier(.25,.7,.25,1); }
  ::view-transition-old(root) { animation: product-out .24s ease-in both; }
  ::view-transition-new(root) { animation: product-in .32s ease-out both; }
  .product-leaving main { animation: product-out .14s ease-in both; }
  .product-arriving main { animation: product-in .26s ease-out both; }
}
@keyframes product-out { to { opacity: 0; translate: 0 -.32rem; } }
@keyframes product-in { from { opacity: 0; translate: 0 .45rem; } }
