/* The Pitch Lab project chrome — fixed navigation bar for treatment pages */

.jx-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 130%);
  z-index: 200;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(18,19,19,.62);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 14px 44px rgba(0,0,0,.42);
  font-family: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #EDEDEA;
  opacity: 0;
  transition: transform .9s cubic-bezier(.19,1,.22,1), opacity .6s cubic-bezier(.19,1,.22,1);
}
.jx-bar.jx-in { transform: translate(-50%, 0); opacity: 1; }

.jx-bar a, .jx-bar span.jx-dead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background .45s cubic-bezier(.19,1,.22,1), color .45s cubic-bezier(.19,1,.22,1), opacity .4s;
}

.jx-bar a:hover { background: rgba(255,255,255,.1); }

.jx-bar .jx-ico {
  display: inline-block;
  transition: transform .5s cubic-bezier(.19,1,.22,1);
}
.jx-bar .jx-home:hover .jx-ico { transform: translateX(-4px); }
.jx-bar .jx-prev:hover .jx-ico { transform: translateX(-4px); }
.jx-bar .jx-next:hover .jx-ico { transform: translateX(4px); }

.jx-bar span.jx-dead { opacity: .26; cursor: default; }

.jx-title {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: rgba(237,237,234,.72);
  border-left: 1px solid rgba(255,255,255,.14);
  border-right: 1px solid rgba(255,255,255,.14);
  white-space: nowrap;
}

.jx-bar .jx-count { color: rgba(237,237,234,.42); margin-left: 8px; }

@media (max-width: 720px) {
  .jx-bar { bottom: 14px; font-size: 9px; }
  .jx-bar a, .jx-bar span.jx-dead { padding: 9px 12px; }
  .jx-title { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jx-bar { transition: opacity .3s linear; }
  .jx-bar.jx-in { transform: translate(-50%, 0); }
}

/* ---------- spec-project disclaimer ---------- */

.jx-disc {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6,7,7,.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  opacity: 0;
  transition: opacity .6s cubic-bezier(.19,1,.22,1);
}
.jx-disc.jx-disc-in { opacity: 1; }

.jx-disc-box {
  width: min(460px, 100%);
  padding: 22px 26px 26px;
  background: rgba(14,15,15,.92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  color: #EDEDEA;
  font-family: 'Manrope', 'Archivo', system-ui, sans-serif;
  transform: translateY(14px);
  transition: transform .8s cubic-bezier(.19,1,.22,1);
}
.jx-disc-in .jx-disc-box { transform: none; }

.jx-disc-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(237,237,234,.45);
}

.jx-disc h2 {
  margin: 0 0 16px;
  font-family: 'Urbanist', 'Archivo', system-ui, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.jx-disc p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(237,237,234,.66);
}
.jx-disc p b { font-weight: 500; color: #EDEDEA; }

.jx-disc-ok {
  margin-top: 16px;
  width: 100%;
  padding: 15px 20px;
  background: #EDEDEA;
  color: #0A0B0B;
  border: 1px solid #EDEDEA;
  border-radius: 0;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .45s cubic-bezier(.19,1,.22,1), color .45s cubic-bezier(.19,1,.22,1);
}
.jx-disc-ok:hover, .jx-disc-ok:focus-visible { background: transparent; color: #EDEDEA; outline: none; }

@media (prefers-reduced-motion: reduce) {
  .jx-disc, .jx-disc-box { transition: none; transform: none; }
}
