/* The company header on pages built on the older site.css (legal pages, thank-you,
   lab, 404 and the CHRONOMORPH 1.0 page). Mirrors .store-header from
   storefront.css/signal.css, scoped so the older page styles keep working. Height,
   stickiness and translucency come from studio.css; the footer is .brand-footer. */
@font-face {
  font-family: Plex;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
.store-header, .brand-footer { --gutter: clamp(25px, 5vw, 100px); --cyan: #89e7f3; --muted: #99adb9; }
.store-header {
  padding-inline: var(--gutter); display: flex; align-items: center;
  justify-content: space-between; gap: 24px; border-bottom: 1px solid #24404c80;
  font-family: Archivo, Arial, sans-serif;
}
.store-header .brand { display: block; margin: 0; flex: none; }
.store-header .brand img { display: block; width: 100%; height: auto; }
.store-header .navigation { display: flex; gap: 36px; align-items: center; font-size: 12px; letter-spacing: .015em; }
.store-header .navigation a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: #b8c8d1; transition: color .22s;
}
.store-header .navigation a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: #8ed5e3;
  transform: scaleX(0); transform-origin: left; transition: transform .22s;
}
.store-header .navigation a:hover { color: #effcff; }
.store-header .navigation a:hover::after { transform: scaleX(1); }
.store-header .navigation .account { margin-left: 5px; border-left: 1px solid #2b424b; padding-left: 31px; }
.store-header .navigation .account::after { left: 31px; }
.store-header .navigation .account > span[aria-hidden] { margin-left: 17px; color: #8cc4d4; }
.brand-footer { font-family: Archivo, Arial, sans-serif; color: #edf4f7; }
.brand-footer img { max-width: 100%; height: auto; }

/* CHRONOMORPH 1.0: the company row sits above the page's own "On this page" row,
   inside the page's sticky header. */
.k-header .store-header--row { position: static; z-index: auto; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root:has(.store-header--row) { --hdr: 128px; }

@media (max-width: 1120px) { .store-header .navigation { gap: 26px; } }
@media (max-width: 780px) {
  .store-header .navigation { gap: 17px; font-size: 10px; }
  .store-header .navigation .account { margin-left: 0; padding-left: 15px; }
  .store-header .navigation .account::after { left: 15px; }
  .store-header .navigation .account > span[aria-hidden] { margin-left: 7px; }
}
@media (max-width: 540px) {
  .store-header { gap: 20px; }
  .store-header .brand { width: 120px; flex-shrink: 0; }
  .store-header .navigation { gap: 14px; font-size: 10px; }
  .store-header .navigation .account { margin: 0; padding-left: 14px; }
  .store-header .navigation .account > span { display: none; }
  :root:has(.store-header--row) { --hdr: 116px; }
}
@media (max-width: 390px) {
  .store-header { gap: 12px; padding-inline: 21px; }
  .store-header .brand { width: 108px; }
  .store-header .navigation { font-size: 9px; gap: 12px; }
  .store-header .navigation .account { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-header .navigation a, .store-header .navigation a::after { transition: none; }
}

/* 404: the page grid fills the screen below the sticky header. */
.lost { min-height: calc(100svh - 84px); }
@media (max-width: 540px) { .lost { min-height: calc(100svh - 72px); } }
