/* Full-width service films. Load after cinematic.css and refinements.css. */
#services {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  background: #090a0c;
}

#services .services-intro {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 56px;
}

#services .services-intro .section-top {
  margin-bottom: 0;
}

#services .services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 0;
  border: 0;
}

#services .service-film-panel,
#services .service-film-panel:nth-child(n),
#services .service-film-panel:hover {
  position: relative;
  display: block;
  grid-column: 1;
  width: 100%;
  min-width: 0;
  height: clamp(650px, 82svh, 850px);
  min-height: 650px;
  max-height: 850px;
  padding: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #ffffff24;
  border-radius: 0;
  background: #14171c;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  transform: none;
  transition: none;
}

#services .service-film-panel:last-child {
  border-bottom: 1px solid #ffffff24;
}

#services .service-film-panel::before,
#services .service-film-panel::after {
  display: none;
  content: none;
}

#services .service-film-panel .service-photo,
#services .service-film-panel:nth-child(n) .service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  background: #14171c;
}

#services .service-film-panel .service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #05070a77 0%, #05070a0d 25%, #05070a19 40%, #05070a9c 67%, #05070aeb 100%);
  pointer-events: none;
}

#services .service-film-panel .service-poster,
#services .service-film-panel:hover .service-poster,
#services .service-film-panel .service-film {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: var(--service-position, center);
  filter: none;
  transform: none;
}

#services .service-film-panel .service-poster {
  opacity: 1;
  transition: none;
}

#services .service-film-panel .service-film {
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

#services .service-film-panel.is-playing .service-film {
  opacity: 1;
}

#services .service-film-caption{display:none;position:absolute;z-index:2;top:36px;left:50%;transform:translateX(-50%);font-size:13px;line-height:1.5;letter-spacing:.04em;color:#fff;background:#07090b99;padding:8px 14px;border-radius:4px;text-align:center;max-width:45%}
#services .service-film-panel.is-playing .service-film-caption{display:block}

#services .service-film-panel .service-num {
  position: absolute;
  inset: 38px auto auto max(38px, calc((100vw - 1372px) / 2));
  z-index: 2;
  max-width: calc(100% - 300px);
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font: 500 14px/1.5 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px #0009;
}

#services .service-film-panel .service-price {
  position: absolute;
  inset: 30px max(38px, calc((100vw - 1372px) / 2)) auto auto;
  z-index: 2;
  padding: 9px 15px;
  border: 1px solid #ffffff75;
  border-radius: 7px;
  background: #07090b66;
  color: #fff;
  font: 400 15px/1.5 var(--font);
  letter-spacing: 0;
  backdrop-filter: blur(8px);
}

#services .service-film-panel .service-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  padding: 60px 64px 74px;
  margin-inline: auto;
  color: #fff;
  text-align: center;
}

#services .service-film-panel .service-copy h3,
#services .service-film-panel:first-child .service-copy h3,
#services .service-film-panel:last-child .service-copy h3 {
  position: static;
  inset: auto;
  width: 100%;
  max-width: 1120px;
  padding: 0;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(54px, 5.8vw, 88px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 24px #0005;
}

#services .service-film-panel .service-copy p {
  position: static;
  width: 100%;
  max-width: 720px;
  padding: 0;
  margin: 22px auto 0;
  color: #e0e2e6;
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

#services .service-film-panel .service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 28px;
}

#services .service-film-panel .service-details,
#services .service-film-panel .service-film-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 176px;
  min-height: 56px;
  padding: 15px 27px;
  border: 1px solid #ffffff9c;
  border-radius: 7px;
  background: #080a0c38;
  color: #fff;
  box-shadow: none;
  font: 500 16px/1.45 var(--font);
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transform: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

#services .service-film-panel .service-film-toggle {
  border-color: #ffffff4d;
}

#services .service-film-panel .service-details:hover,
#services .service-film-panel .service-film-toggle:hover {
  border-color: #fff;
  background: #fff;
  color: #090a0c;
  transform: none;
}

#services .service-film-panel .service-details:focus-visible,
#services .service-film-panel .service-film-toggle:focus-visible {
  outline: 3px solid #69bdff;
  outline-offset: 5px;
}

#services .service-film-panel .service-film-toggle:disabled {
  opacity: .65;
  cursor: progress;
}

@media (max-width: 1150px) {
  #services .services-intro {
    margin-bottom: 44px;
  }

  #services .service-film-panel .service-copy {
    padding-inline: 38px;
    padding-bottom: 60px;
  }

  #services .service-film-panel .service-copy h3,
  #services .service-film-panel:first-child .service-copy h3,
  #services .service-film-panel:last-child .service-copy h3 {
    font-size: clamp(54px, 6.4vw, 74px);
  }
}

/* Touch layouts give the film and the copy their own space. */
@media (max-width: 800px) {
  #services .services-intro {
    margin-bottom: 36px;
  }

  #services .service-film-panel,
  #services .service-film-panel:nth-child(n),
  #services .service-film-panel:hover {
    height: auto;
    min-height: 0;
    max-height: none;
    background: #0c0e12;
  }

  #services .service-film-panel .service-photo,
  #services .service-film-panel:nth-child(n) .service-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  #services .service-film-panel .service-photo::after {
    background: linear-gradient(180deg, #05070a77, #05070a0a 35%, #05070a0a 75%, #05070a38);
  }

  #services .service-film-panel .service-num {
    inset: 24px auto auto 25px;
    max-width: calc(100% - 220px);
    font-size: 16px;
    letter-spacing: .08em;
  }

  #services .service-film-panel .service-price {
    inset: 18px 25px auto auto;
    font-size: 16px;
    padding: 7px 11px;
  }

  #services .service-film-panel .service-copy {
    position: relative;
    inset: auto;
    max-width: none;
    padding: 36px 25px 42px;
    background: #0c0e12;
    text-align: left;
  }

  #services .service-film-panel .service-copy h3,
  #services .service-film-panel:first-child .service-copy h3,
  #services .service-film-panel:last-child .service-copy h3 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(40px, 6.7vw, 54px);
    line-height: 1.14;
    text-shadow: none;
  }

  #services .service-film-panel .service-copy p {
    max-width: 630px;
    margin: 20px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: #b8bec8;
  }

  #services .service-film-panel .service-actions {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 26px;
  }

  #services .service-film-panel .service-details,
  #services .service-film-panel .service-film-toggle {
    min-height: 56px;
    font-size: 17px;
    padding: 15px 24px;
    background: transparent;
  }
}

@media (max-width: 550px) {
  #services .service-film-caption{top:auto;bottom:16px;max-width:calc(100% - 40px);width:max-content;font-size:14px}
  #services .services-intro {
    margin-bottom: 32px;
  }

  #services .services-intro .eyebrow,
  #services .services-intro .section-intro {
    font-size: 16px;
  }

  #services .service-film-panel .service-photo,
  #services .service-film-panel:nth-child(n) .service-photo {
    aspect-ratio: 4 / 3;
  }

  #services .service-film-panel .service-num {
    inset: 22px auto auto 20px;
    max-width: calc(100% - 190px);
  }

  #services .service-film-panel .service-price {
    inset: 16px 20px auto auto;
  }

  #services .service-film-panel .service-copy {
    padding: 30px 20px 36px;
  }

  #services .service-film-panel .service-copy h3,
  #services .service-film-panel:first-child .service-copy h3,
  #services .service-film-panel:last-child .service-copy h3 {
    font-size: clamp(39px, 10.2vw, 52px);
    line-height: 1.12;
    letter-spacing: -.02em;
  }

  #services .service-film-panel .service-copy p {
    margin-top: 18px;
    font-size: 16px;
  }

  #services .service-film-panel .service-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 25px;
  }

  #services .service-film-panel .service-details,
  #services .service-film-panel .service-film-toggle {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 15px 20px;
    font-size: 17px;
  }
}

@media (max-width: 360px) {
  #services .service-film-panel .service-copy h3,
  #services .service-film-panel:first-child .service-copy h3,
  #services .service-film-panel:last-child .service-copy h3 {
    font-size: 39px;
  }

  #services .service-film-panel .service-price {
    inset-inline-end: 16px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #services .service-film-panel .service-poster,
  #services .service-film-panel .service-film,
  #services .service-film-panel .service-details,
  #services .service-film-panel .service-film-toggle {
    transition: none;
    transform: none;
  }
}
