.service-band {
  --sb-amber: #ffa36c;
  position: relative;
  isolation: isolate;
  overflow: clip;
  scroll-margin-top: var(--head);
  color: #f3f1e7;
  background: linear-gradient(180deg, #22221e, #1b1c19);
  border-block: 1px solid #45443d;
}
.sb-items {
  display: grid;
  grid-template-columns: .84fr 1.02fr 1.04fr .85fr 1.23fr 1.06fr;
  list-style: none;
  margin: 0;
  padding: clamp(.7rem, 1.3vw, 1.25rem) 0;
}
.sb-items li {position: relative; min-width: 0; display: flex}
.sb-items li + li::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 0;
  width: 1px;
  background: #484940;
  pointer-events: none;
}
.sb-items a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.45rem, .8vw, .85rem);
  width: 100%;
  min-height: 3rem;
  padding: .3rem clamp(.4rem, .9vw, .95rem);
  color: inherit;
  font: 540 clamp(.98rem, 1.32vw, 1.38rem)/1.14 'Bricolage Grotesque', Arial, sans-serif;
  letter-spacing: -.033em;
  text-decoration: none;
}
.sb-items li:first-child a {justify-content: flex-start; padding-inline-start: 0}
.sb-items li:last-child a {padding-inline-end: 0}
.sb-icon {
  flex: none;
  width: clamp(1.55rem, 2vw, 2rem);
  height: auto;
  overflow: hidden;
  fill: none;
  color: #ebe7db;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sb-name {text-wrap: balance}
.sb-motion, .sb-copy, .sb-menu-motion[hidden] {display: none}
.sb-menu-motion:not([hidden]) {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.sb-items a:focus-visible {outline: 2px solid var(--sb-amber); outline-offset: -3px}
@media (hover: hover) {
  .sb-items a:hover {color: #ffc099}
}

@media (max-width: 880px) {
  .service-band {background: linear-gradient(178deg,#25251f,#1e1e1a 60%,#1c1c19)}
  .service-band .sb-window {
    width: 100%;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sb-window::-webkit-scrollbar {display: none}
  .sb-track {width: max-content; display: flex}
  .sb-items {display: flex; align-items: stretch; flex: none; padding: .52rem 0}
  .sb-items li {flex: none}
  .sb-items li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    height: 2.1rem;
    width: 1px;
    transform: translateY(-50%);
    background: linear-gradient(transparent,#565346 25%,#565346 75%,transparent);
    pointer-events: none;
  }
  .sb-items li + li::before {display: none}
  .sb-items a, .sb-items li:first-child a, .sb-items li:last-child a {
    width: max-content;
    min-height: 4.65rem;
    justify-content: flex-start;
    padding: .6rem clamp(1.2rem, 4.4vw, 1.85rem);
    gap: .84rem;
    font-size: clamp(1.05rem, 4.6vw, 1.22rem);
    font-weight: 565;
    line-height: 1.1;
    letter-spacing: -.035em;
  }
  .sb-name {max-width: 9rem}
  .sb-icon {width: 2.15rem}
  .sb-loops:not(.sb-rest) .sb-window {overflow: clip; touch-action: pan-y pinch-zoom}
  .sb-loops:not(.sb-rest) .sb-items {min-width: 100vw; justify-content: space-around}
  .sb-loops:not(.sb-rest) .sb-copy {display: flex}
  .sb-rest .sb-copy {display: none}
  .sb-motion:not([hidden]) {
    display: block;
    position: absolute;
    z-index: 2;
    width: 1px;
    height: 1px;
    padding: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
    border: 0;
  }
  .sb-motion:focus-visible {
    top: 0;
    left: var(--gutter);
    width: auto;
    height: auto;
    min-height: 44px;
    padding: .5rem 1rem;
    clip-path: none;
    color: #1b1b17;
    background: var(--sb-amber);
    border-radius: .3rem;
    outline: 2px solid #fff0df;
    outline-offset: -3px;
  }
  .sb-rest .sb-window {overflow: visible}
  .sb-rest .sb-track {width: 100%}
  .sb-rest .sb-items:not(.sb-copy) {display: flex; flex-wrap: wrap; width: 100%}
  .sb-rest .sb-items li {flex: 1 1 13rem}
  .sb-rest .sb-items a {width: 100%}
  .sb-rest .sb-name {max-width: none}
}
@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
  .service-band .sb-window {overflow: visible}
  .sb-track {width: 100%}
  .sb-items:not(.sb-copy) {display: flex; flex-wrap: wrap; width: 100%}
  .sb-items li {flex: 1 1 13rem}
  .sb-items li::after {display: none}
  .sb-items a {width: 100%}
  .sb-name {max-width: none}
}
@media (prefers-reduced-motion: no-preference) {
  .sb-arriving::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 24%;
    height: 2px;
    background: linear-gradient(90deg,transparent,#d5763a 45%,#ffb583 75%,transparent);
    opacity: 0;
    pointer-events: none;
    animation: sb-pass 3.2s cubic-bezier(.33,.05,.52,.95) 1;
  }
  .sb-items li:nth-child(2) {--sb-delay: .47s}
  .sb-items li:nth-child(3) {--sb-delay: .88s}
  .sb-items li:nth-child(4) {--sb-delay: 1.28s}
  .sb-items li:nth-child(5) {--sb-delay: 1.75s}
  .sb-items li:nth-child(6) {--sb-delay: 2.08s}
  .sb-arriving .sb-drum {
    transform-box: view-box;
    animation: sb-turn 1.15s cubic-bezier(.46,.05,.20,1) var(--sb-delay, .14s) 1;
  }
  @keyframes sb-pass {
    0% {transform: translateX(-100%); opacity: 0}
    10%, 80% {opacity: .85}
    100% {transform: translateX(420%); opacity: 0}
  }
  @keyframes sb-turn {
    from {transform: translateX(0)}
    to {transform: translateX(-125%)}
  }
}
@media (max-width: 880px) and (prefers-reduced-motion: no-preference) {
  .sb-loops.sb-arriving .sb-drum {
    animation: sb-reel 12s linear var(--sb-delay, .14s) infinite;
  }
  .sb-loops.sb-paused .sb-drum {animation-play-state: paused}
  .sb-loops.sb-rest .sb-drum {animation: none}
  @keyframes sb-reel {
    0%, 2% {transform: translateX(0); animation-timing-function: cubic-bezier(.46,.05,.20,1)}
    10%, 100% {transform: translateX(-125%)}
  }
}
