/* Shared site header for static /ux/ pages (same chrome as Header.astro). */
.ux-chrome {
  --site-max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  width: min(var(--site-max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 0 8px;
}
.ux-chrome .topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  border: 2px solid #0A0A0A;
  background: rgba(255, 255, 255, 0.93);
  padding: 12px;
  backdrop-filter: blur(10px);
}
.ux-chrome .wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: max-content;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #0A0A0A;
  text-decoration: none;
}
.ux-chrome .wordmark-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border: 2px solid #0A0A0A;
  background: #F5F5F0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0;
}
.ux-chrome .nav-links {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  color: #6A6A6A;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ux-chrome .nav-links a { color: inherit; text-decoration: none; }
.ux-chrome .nav-links a:hover { color: var(--accent-text, #06717B); }
.ux-chrome .topbar-actions { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.ux-chrome .lang-toggle { display: inline-flex; border: 2px solid #0A0A0A; }
.ux-chrome .lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 44px;
  padding: 0 8px;
  background: #fff;
  color: #6A6A6A;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.ux-chrome .lang-btn + .lang-btn { border-left: 2px solid #0A0A0A; }
.ux-chrome .lang-btn[aria-current='true'] { background: #0A0A0A; color: #fff; }
.ux-chrome .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid #0A0A0A;
  padding: 0 14px;
  background: #0A0A0A;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.ux-chrome .button:hover { background: var(--accent-text, #06717B); border-color: var(--accent-text, #06717B); color: #fff; }
@media (max-width: 1000px) {
  .ux-chrome .topbar { grid-template-columns: 1fr auto; }
  .ux-chrome .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; }
}
@media (max-width: 720px) {
  .ux-chrome { width: min(100%, calc(100% - 24px)); padding-top: 12px; }
  .ux-chrome .topbar { position: static; grid-template-columns: 1fr; }
  .ux-chrome .topbar-actions { flex-wrap: wrap; }
  .ux-chrome .topbar-actions .button { flex: 1; }
  .ux-chrome .nav-links { gap: 12px; }
}
