/* Mobile Services only. Desktop styles and media slots remain unchanged. */
@media (max-width: 767px) {
  .home-services {
    padding-inline: 0;
    --home-services-mobile-inset: 16px;
    --home-services-mobile-chip-size: 14px;
  }

  .home-services__surface {
    height: auto;
    min-height: 0;
    padding: 64px var(--home-services-mobile-inset) 72px;
  }

  .home-services__layout,
  .home-services__left {
    height: auto;
  }

  .home-services__header {
    padding-top: 0;
  }

  .home-services__accordion {
    margin-top: 64px;
  }

  .home-service summary {
    min-height: 64px;
    gap: 16px;
    cursor: pointer;
  }

  .home-service[open] summary,
  .home-service[open] .home-service__toggle {
    cursor: pointer;
  }

  .home-service[open] summary {
    min-height: 44px;
    padding-block: 18px 9px;
  }

  .home-service__title {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.025em;
  }

  .home-service__panel {
    padding: 4px 0 24px;
  }

  .home-service__description {
    max-width: none;
  }

  .home-service__chips {
    gap: 8px;
    margin-top: 12px;
  }

  .home-service__chips li {
    min-height: 30px;
    padding: 6px 10px;
    font-size: var(--home-services-mobile-chip-size);
    line-height: 1.15;
    letter-spacing: 0;
  }

  .home-service__panel > [data-service-visual] {
    position: relative;
    inset: auto;
    display: none;
    width: 100%;
    height: auto;
    margin: 20px 0 0;
    opacity: 1;
    transform: none;
  }

  .home-service[open] .home-service__panel > [data-service-visual].is-active {
    display: block;
  }

  .home-service__panel > .home-services__work-carousel {
    width: calc(100% + var(--home-services-mobile-inset));
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: none;
    scroll-behavior: auto;
    scroll-padding-inline: 0 var(--home-services-mobile-inset);
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    cursor: auto;
  }

  .home-service__panel > .home-services__work-carousel::-webkit-scrollbar {
    display: none;
  }

  .home-service__panel > .home-services__work-carousel::after {
    content: none;
    pointer-events: none;
  }

  .home-service__panel .home-services__work-track {
    width: 100%;
    height: auto;
    gap: 8px;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .home-service__panel .home-services__work-slide {
    flex: 0 0 70%;
    width: 70%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 1;
    scroll-snap-align: start;
  }

  .home-service__panel [data-service-carousel-clone] {
    display: block;
  }

  .home-service__panel > .home-services__image-placeholder--media {
    aspect-ratio: 1648 / 1088;
    overflow: hidden;
  }

  .home-service__panel > .home-services__image-placeholder--media > img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
  }

  .home-service__panel > .home-services__work-carousel:focus-visible {
    outline: 2px solid var(--home-services-ink);
    outline-offset: -2px;
  }

  .home-services__drag-cursor {
    display: none;
  }
}
