.brand-ribbon {
  --ribbon-gap: clamp(2.25rem, 6.5vw, 6rem);
  padding-block: clamp(1rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.ribbon-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.5rem);
}

.ribbon-belt {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black min(8%, 2.25rem), black max(92%, calc(100% - 2.25rem)), transparent);
}

.ribbon-track, .ribbon-repeat {
  display: flex;
  flex: none;
  width: max-content;
  align-items: center;
}

.ribbon-repeat {
  justify-content: space-around;
  gap: var(--ribbon-gap);
  min-width: 100vw;
  padding-inline: calc(var(--ribbon-gap) / 2);
}

.ribbon-repeat img {
  flex: none;
  width: clamp(6rem, 9vw, 7.875rem);
  height: auto;
}

.ribbon-toggle {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-size: .95rem;
}

.ribbon-toggle:hover { background: var(--tint); }
.ribbon-toggle[hidden], .stock-more[hidden] { display: none; }

.stock-more {
  display: flex;
  justify-content: center;
  padding-top: clamp(1.5rem, 3vw, 2.75rem);
}

.stock-more .button { background: var(--surface); border-color: var(--line); }
.stock-more .button:hover { background: var(--tint); }

.services {
  background: radial-gradient(ellipse at 15% 70%, #17242e, transparent 65%), #061520;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
}

.service-visual {
  display: grid;
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b2332;
}

.service-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center 55%;
}

.service-layout .service-grid { grid-template-columns: minmax(0, 1fr); }
.service-layout article { padding: clamp(1.625rem, 3.6vw, 3.5rem); }

@media (width >= 100rem) {
  .hero-photo {
    width: 100rem;
    margin-inline: auto;
    mask-image: linear-gradient(90deg, transparent, black 6%, black 91%, transparent);
  }
}

@media (width <= 48rem) {
  .service-layout { grid-template-columns: minmax(0, 1fr); }
  .service-visual { min-height: 0; aspect-ratio: 16 / 11; }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-ribbon[data-ready] .ribbon-track { animation: ribbon-flow 60s linear infinite; }
  .brand-ribbon[data-paused='true'] .ribbon-track { animation-play-state: paused; }
  @keyframes ribbon-flow { to { transform: translateX(-50%); } }

  @supports (animation-timeline: view()) {
    .hero { view-timeline-name: --hero-view; }

    .hero-photo {
      animation: hero-enter 1s ease-out both, hero-depth linear both;
      animation-timeline: auto, --hero-view;
      animation-range: normal, exit 0% exit 100%;
    }

    .scroll-reveal {
      animation: content-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 85%;
    }

    .scroll-reveal:focus-within { animation: none; }
    .service-visual { view-timeline-name: --service-view; }
    .service-visual img {
      animation: service-depth linear both;
      animation-timeline: --service-view;
      animation-range: cover 0% cover 100%;
    }

    @keyframes hero-depth { to { translate: 0 var(--hero-shift); } }
    @keyframes content-reveal { from { opacity: .88; translate: 0 .625rem; } }
    @keyframes service-depth {
      from { transform: translateY(-3%) scale(1.08); }
      to { transform: translateY(3%) scale(1.08); }
    }
  }
}
