/* ==========================================================
   SITE SWITCHER: the slim "Services · Pricing · Portfolio · Résumé" bar
   Shared by every page, so a change here changes it everywhere.

   Why it's a <div role="navigation"> and not a <nav>:
   styles.css styles every <nav> element (and hides <nav> on phones
   for the Menu button). A plain div with the navigation role means
   screen readers still announce it as navigation, but none of those
   site-wide nav rules leak onto this bar.

   Colors use the album's tokens when they exist (so on the main site
   the bar follows whichever remix take is on) and fall back to the
   Original colors on pages that don't define them.
   ========================================================== */
.switcher {
  background: var(--dark-bg-2, #1B1817);
  color: var(--dark-fg, #ECE5D8);
  border-bottom: 1px solid var(--dark-line, #3a3330);
  font: 600 11px/1 "IBM Plex Mono", ui-monospace, Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.switcher .sw-wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;   /* lines up with the header's .wrap */
  display: flex; justify-content: flex-end; gap: 4px;
}
.switcher a {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 12px;                    /* comfortable tap target */
  color: inherit; text-decoration: none;
  opacity: .7;
  border-bottom: 2px solid transparent;
}
.switcher a:hover { opacity: 1; }
.switcher a:focus-visible { outline: 2px solid var(--accent-hi, #D23A2C); outline-offset: -2px; opacity: 1; }
/* The page you're on: aria-current tells screen readers, and CSS reuses it for the underline */
.switcher a[aria-current="page"] { opacity: 1; border-bottom-color: var(--accent, #B3241B); }

@media (max-width: 600px) {
  .switcher .sw-wrap { justify-content: center; padding: 0 12px; }
  .switcher a { padding: 0 10px; }
}
/* Four tabs on a small phone: tighten the spacing so they fit on one line */
@media (max-width: 420px) {
  .switcher { letter-spacing: .08em; font-size: 10.5px; }
  .switcher .sw-wrap { padding: 0 4px; gap: 0; }
  .switcher a { padding: 0 7px; }
}
@media print { .switcher { display: none; } }
