/*
  Shared basics for the four Zayd Savare site ideas. Deliberately neutral: each idea brings its own
  type, color and layout in its own stylesheet. This file only holds what every idea needs.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
video {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
  color: inherit;
}
a,
button,
input,
label {
  -webkit-tap-highlight-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Placeholder label for anything Jon hasn't supplied. Ideas may restyle .ph, but keep the brackets visible. */
.ph {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #8a6a00;
}

/* ---------- concept bar: a review tool for comparing ideas, not part of any design ---------- */
.zs-concept-bar {
  position: fixed;
  left: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  flex-wrap: nowrap; /* 13 ideas: 1 row that scrolls sideways, never 2 rows */
  overflow-x: auto;
  scrollbar-width: none;
  gap: 1px;
  max-width: calc(100vw - 24px);
  background: #0d0d0c;
  font: 500 11px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.zs-concept-bar::-webkit-scrollbar { display: none; }
.zs-concept-bar a {
  flex: none; /* never squeeze a label under its neighbor */
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 8px;
  color: #bdbdb8;
  text-decoration: none;
  white-space: nowrap;
}
.zs-concept-bar a span {
  color: #6b6b66;
}
.zs-concept-bar a:hover,
.zs-concept-bar a[aria-current="page"] {
  color: #fff;
}
.zs-concept-bar a[aria-current="page"] span {
  color: #fff;
}
.zs-concept-bar .zs-cb-home,
.zs-concept-bar .zs-cb-vm {
  color: #fff;
  font-weight: 600;
}
@media (max-width: 720px) {
  .zs-concept-bar a:not([aria-current="page"]):not(.zs-cb-home) {
    padding: 0 7px;
  }
  .zs-concept-bar a:not([aria-current="page"]):not(.zs-cb-home):not(.zs-cb-vm) {
    font-size: 0;
    gap: 0;
  }
  .zs-concept-bar a:not([aria-current="page"]):not(.zs-cb-home):not(.zs-cb-vm) span {
    font-size: 11px;
  }
}
