/* Shared Royce Chris / Build Studio header pill + hint arrow.
   Header height and position are fixed (112px) and identical on every page.
   The arrow is a pure overlay: absolutely positioned, pointer-events none,
   clipped to the black header (never crosses into the brown hero), and never
   changes layout height.
   On the Royce Chris side the gold brush arrow points up at the S of Studio.
   On Build Studio, .is-bs mirrors that same arrow (scaleX) so the tip points
   at the Royce Chris pill. Size, gold, header clipping and motion match. */

.top-switch{
  position:sticky;top:0;z-index:30;
  height:112px;
  display:flex;align-items:flex-start;justify-content:center;
  padding:10px 12px 0;
  box-sizing:border-box;width:100%;
  overflow:visible;
  background:rgba(8,6,4,.95);
  border-bottom:1px solid rgba(244,189,37,.25);
  backdrop-filter:blur(12px);
}
.switch-track{
  display:flex;align-items:center;
  width:300px;height:42px;padding:3px;
  box-sizing:border-box;position:relative;flex:0 0 42px;
  border:1px solid #76500f;border-radius:30px;background:#0c0805;
  box-shadow:0 0 16px rgba(244,189,37,.08);
  font-family:Arial,Helvetica,sans-serif;
}
.switch-track a{
  flex:1 1 0;width:147px;height:34px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;padding:0;margin:0;border:0;border-radius:24px;
  font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:700;
  font-style:normal;letter-spacing:0;line-height:1;
  color:#c9b58e;background:transparent;box-shadow:none;
  box-sizing:border-box;text-decoration:none;white-space:nowrap;
}
.switch-track a.active{
  background:linear-gradient(180deg,#ffe08a,#e9a90e);color:#211304;
  box-shadow:0 0 15px rgba(255,177,19,.28);
}
.bs-hint{
  position:absolute;
  top:0;
  left:50%;
  width:180px;
  height:112px;
  margin:0;
  /* Hint origin is viewport center - 50px. Tip is at center+75, y=49,
     under the S of Studio. Tail stays inside the 112px black header. */
  transform:translateX(-50px);
  pointer-events:none;
  z-index:2;
  overflow:hidden;
}
/* Mirror of the Royce-side arrow: tip lands at center-75, under Royce Chris. */
.top-switch.is-bs .bs-hint{
  transform:translateX(-130px) scaleX(-1);
}
.bs-arrow{width:180px;height:112px;display:block;overflow:visible}
@media (prefers-reduced-motion:no-preference){
  .bs-hint{animation:bs-bob 2.7s ease-in-out infinite}
  .top-switch.is-bs .bs-hint{animation:rc-bob 2.7s ease-in-out infinite}
}
@keyframes bs-bob{
  0%,100%{transform:translateX(-50px) translate(0,0)}
  50%{transform:translateX(-50px) translate(1px,-2px)}
}
@keyframes rc-bob{
  0%,100%{transform:translateX(-130px) scaleX(-1)}
  50%{transform:translateX(-130px) scaleX(-1) translate(1px,-2px)}
}
@media (prefers-reduced-motion:reduce){
  .bs-hint{animation:none!important}
}
