/* Office Tees: profession picker as office ID badges (2026-12-02) */
.job-badges-wrap { position: relative; margin: 0 0 22px; }
.job-badges {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
  padding: 30px 8px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.job-badges::-webkit-scrollbar { display: none; }
.job-badge {
  flex: 0 0 136px; scroll-snap-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 0 10px 11px; background: #fff; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 12px;
  font: inherit; text-align: center; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.job-badge::before { /* lanyard strap, shown on the chosen badge */
  content: ""; position: absolute; top: -30px; left: 50%; width: 12px; height: 30px;
  transform: translateX(-50%); border-radius: 2px 2px 0 0;
  background: repeating-linear-gradient(180deg, var(--orange) 0 6px, #e19400 6px 8px);
  opacity: 0; transition: opacity .18s;
}
.job-badge__band {
  align-self: stretch; margin: 0 -10px; height: 34px; position: relative;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px;
  background: var(--ink); border-radius: 10px 10px 0 0;
}
.job-badge__band::before { /* punched slot */
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 7px; border-radius: 7px; background: #faf8f3;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.job-badge__band span { font-size: .55rem; font-weight: 800; letter-spacing: .2em; color: var(--orange); }
.job-badge__photo {
  width: 64px; height: 64px; margin-top: 2px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--ink); background: var(--surface);
}
.job-badge__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; transform: scale(1.8); transform-origin: 50% 33%; transition: transform .25s ease; }
.job-badge:hover .job-badge__photo img, .job-badge.is-active .job-badge__photo img { transform: scale(2); }
.job-badge__name { font-weight: 800; font-size: .8rem; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; }
.job-badge__meta {
  align-self: stretch; padding-top: 7px; border-top: 1.5px dashed var(--line);
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.job-badge:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 4px 4px 0 var(--ink); }
.job-badge:nth-child(even):hover { transform: translateY(-3px) rotate(1.5deg); }
.job-badge:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.job-badge.is-active { transform: translateY(-2px) rotate(-2deg); box-shadow: 5px 5px 0 var(--orange); }
.job-badge.is-active::before { opacity: 1; }
.job-badge.is-active .job-badge__band { background: var(--orange); }
.job-badge.is-active .job-badge__band span { color: var(--ink); }
.job-badge.is-active .job-badge__meta { color: var(--ink); }
.job-badges__nav {
  position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -10px;
  display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 1.1rem; cursor: pointer;
  box-shadow: 3px 3px 0 var(--orange); transition: transform .12s, opacity .15s;
}
.job-badges__nav:hover { transform: translate(-1px, -1px); }
.job-badges__nav--prev { left: -14px; }
.job-badges__nav--next { right: -14px; }
.job-badges__nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .job-badges__nav { display: none; }
  .job-badge { flex-basis: 122px; }
}
@media (prefers-reduced-motion: reduce) {
  .job-badges { scroll-behavior: auto; }
  .job-badge, .job-badge::before { transition: none; }
  .job-badge:hover, .job-badge.is-active { transform: none; }
}
