/* Services share the site's type, palette and buttons; real media sets the pace. */
.services-page {
  --services-nav-height: 50px;
}
.services-nav {
  scroll-margin-top: var(--header-height);
}
.services-content {
  padding-top: 50px;
}
.services-hero.hero {
  min-height: 100vh;
  min-height: 100svh;
}
.services-hero .hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.services-hero .hero__content {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: clamp(72px, 10vw, 144px);
}
.services-page .hero.services-hero .hero__content h1 {
  max-width: 880px;
  font-size: clamp(2.4rem, 4.8vw, 5.3rem);
  text-transform: none;
  text-wrap: balance;
  font-weight: 300;
}
.services-hero .hero__content .eyebrow {
  font-size: 0.75rem;
}
.services-hero .services-hero__intro {
  max-width: 510px;
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
}
.services-page .hero__actions {
  flex-wrap: wrap;
}
.services-page .hero__action svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.services-hero__credit {
  position: absolute;
  bottom: 20px;
  right: calc(var(--gutter) + 72px);
  max-width: calc(100% - 2 * var(--gutter) - 72px);
  margin: 0;
  color: #fff;
  font-size: 0.6875rem;
  text-align: right;
}
.services-hero__credit > span {
  color: rgba(255, 255, 255, 0.8);
}
.service-section {
  padding-block: 0 clamp(72px, 9vw, 140px);
  scroll-margin-top: calc(
    var(--header-height) + var(--services-nav-height) + 24px
  );
}
.service-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.service-section__title {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.service-section__number {
  font-size: 0.6875rem;
  color: var(--color-accent);
}
.service-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 300;
}
.service-carousel {
  min-width: 0;
}
.service-carousel__track.case-v3-gallery__rail {
  position: relative;
  align-items: center;
  touch-action: auto;
}
.service-carousel__track.is-dragging {
  scroll-snap-type: none;
}
.service-card__frame {
  max-width: 100%;
  margin-inline: auto;
}
.service-card__photo {
  object-fit: contain;
}
.service-card__meta h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--color-muted);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}
.service-card__project {
  color: var(--color-text);
  font-weight: 500;
}
.service-card__video-wrap {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  background: transparent;
}
.service-card__video {
  display: block;
  object-fit: contain;
}
.service-card__video[data-service-animation] {
  pointer-events: none;
}
.service-card__video[data-service-animation]::-webkit-media-controls-start-playback-button {
  display: none;
}
@media (max-width: 1023px), (pointer: coarse) {
  .service-card__play {
    display: none;
  }
}
.service-card__video:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: #000;
}
.service-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.service-card__play[hidden] {
  display: none;
}
.service-card__play svg {
  width: 72px;
  height: 72px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
}
.service-carousel .case-v3-gallery__carousel-control:disabled {
  opacity: 0.35;
  cursor: default;
}
.service-carousel__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.service-carousel--tour .service-carousel__track {
  display: block;
}
.service-carousel--tour .service-card__frame {
  width: min(100%, calc(70svh * var(--service-media-ratio)));
}
.service-carousel--tour .case-v3-gallery__media-stage {
  width: 100%;
}
.service-tour {
  position: relative;
  width: 100%;
  aspect-ratio: var(--service-media-ratio);
  background: transparent;
}
.service-tour__launch {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.service-tour__launch picture,
.service-tour__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-tour__prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.875rem;
}
.service-tour__prompt > span:first-child {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 300;
}
.service-tour iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.service-carousel--tour .service-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 4px;
  font-size: 0.875rem;
}
.service-card__action {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}
.service-card__action svg {
  width: 20px;
  height: 20px;
}
.service-tour__help {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
}
.services-story {
  position: relative;
  isolation: isolate;
  margin-bottom: clamp(72px, 9vw, 140px);
  padding-block: clamp(80px, 12vw, 180px);
  overflow: hidden;
  color: #fff;
  background: #151a1d;
}
.services-story__media,
.services-closing__media {
  position: absolute;
  z-index: -1;
  inset: 0;
}
.services-story__media::after,
.services-closing__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 10, 0.7);
}
.services-story__media picture,
.services-closing__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.services-story__media img,
.services-closing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-story__media img {
  filter: grayscale(1);
}
.services-story__inner {
  padding-left: 35%;
}
.services-story .eyebrow,
.services-story p {
  color: rgba(255, 255, 255, 0.8);
}
.services-story h2 {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 300;
}
.services-story p {
  max-width: 600px;
  margin-bottom: 0;
  font-size: clamp(0.875rem, 1.3vw, 1.125rem);
}
.services-case {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
  padding-block: 24px clamp(72px, 9vw, 140px);
}
.services-case__image {
  display: block;
  min-width: 0;
  height: 650px;
  max-height: 78svh;
}
.services-case__image picture {
  display: block;
  height: 100%;
}
.services-case__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.services-case h2 {
  font-size: clamp(2rem, 3.2vw, 3.75rem);
  font-weight: 300;
  text-wrap: balance;
}
.services-case h3 {
  margin-block: 36px 20px;
  font-size: 1.125rem;
}
.services-case ul {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}
.services-case li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-muted);
  font-size: 0.8125rem;
}
.services-case li svg {
  width: 20px;
  height: 20px;
}
.services-case .text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.services-closing {
  position: relative;
  isolation: isolate;
  padding-block: clamp(80px, 12vw, 160px);
  color: #fff;
  background: #101010;
}
.services-closing__content {
  text-align: center;
}
.services-closing h2 {
  max-width: 830px;
  margin-inline: auto;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 300;
  text-wrap: balance;
}
.services-closing .hero__actions {
  justify-content: center;
}
.services-page :is(a, button, video, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 4px;
}
@media (max-width: 1023px) {
  .services-case {
    grid-template-columns: 1fr 1fr;
  }
  .services-story__inner {
    padding-left: 20%;
  }
}
@media (max-width: 767px) {
  .services-page {
    --services-nav-height: 44px;
  }
  .services-hero .hero__content {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 86px;
  }
  .services-page .hero.services-hero .hero__content h1 {
    font-size: clamp(2.15rem, 8.8vw, 3.5rem);
  }
  .services-page .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .service-section__heading {
    display: block;
    margin-bottom: 22px;
  }
  .service-section__title {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
  }
  .service-section h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .service-carousel.case-v3-gallery__carousel {
    padding-bottom: 52px;
  }
  .service-carousel .case-v3-gallery__carousel-control {
    display: grid;
    top: auto;
    bottom: 0;
    transform: none;
  }
  .service-card .service-card__photo,
  .service-card .service-card__image picture,
  .service-card .service-card__video {
    max-height: none;
  }
  .service-card__meta.case-v3-gallery__item-meta h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .service-carousel--tour .service-card__frame {
    width: 100%;
  }
  .service-tour {
    aspect-ratio: 4 / 3;
    min-height: 340px;
  }
  .services-story__inner {
    padding-left: 0;
  }
  .services-case {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-case__image {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .services-case h3 {
    margin-top: 24px;
  }
  .services-closing .hero__actions {
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-page *,
  .services-page *::before,
  .services-page *::after {
    scroll-behavior: auto;
    transition: none;
  }
}

.service-lightbox {
  width: min(1440px, 96vw);
  max-width: 96vw;
  height: min(94svh, 1100px);
  max-height: 94svh;
  margin: auto;
  padding: 18px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  background: #101010;
  color: #fff;
}
.service-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
}
.service-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
}
.service-lightbox__toolbar,
.service-lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.service-lightbox__toolbar p {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
}
.service-lightbox__toolbar strong {
  font-weight: 500;
}
.service-lightbox button {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.3rem;
}
.service-lightbox button svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.service-lightbox__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  touch-action: pan-y pinch-zoom;
}
.service-lightbox__controls {
  justify-content: center;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
body.service-lightbox-open {
  overflow: hidden;
}
.services-page :is(button, video):focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 4px;
}
@media (max-width: 767px) {
  .service-tour {
    aspect-ratio: 4 / 3;
  }
  .service-lightbox {
    padding: 12px;
  }
}
