/* 2026-07: services portfolio, interactive maps and animation layer hardening. */
.real-map.live-map {
  isolation: isolate;
  overflow: hidden;
}

.interactive-service-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #e7e2d8 url("/assets/map.webp") center / cover no-repeat;
}

.interactive-service-map__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-route {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(8,8,8,.88);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.map-route:hover,
.map-route:focus-visible {
  background: #ffcc00;
  color: #080808;
  transform: translateY(-2px);
}

.hero,
.service-band,
.services-cta,
.gallery-viewport,
.public-work-media,
.admin-work-photo {
  isolation: isolate;
}

.hero-photo,
.service-photo,
.map-bg,
.gallery-slide img,
.public-work-media img {
  backface-visibility: hidden;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tilt-panel {
    contain: paint;
    transform-style: flat !important;
  }

  .tilt-panel > :not(.tilt-glare) {
    transform: none !important;
  }

  .tilt-panel > img:not(.tilt-glare) {
    transform: scale(1.002) !important;
  }
}

.service-art-card {
  appearance: none;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.service-art-card::before { display: none !important; }
.service-art-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
}

.service-art-card.is-selected {
  box-shadow: 0 0 0 6px #080808, 0 34px 74px rgba(0,0,0,.22);
}

.service-art-card:focus-visible {
  box-shadow: 0 0 0 6px #fff, 0 0 0 11px #080808, 0 34px 74px rgba(0,0,0,.22);
}

.service-work-search {
  box-sizing: border-box;
  background:
    radial-gradient(circle at 88% 8%, rgba(255,204,0,.16), transparent 32%),
    #0b0b0b;
  color: #fff;
}

.service-work-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.service-work-heading span {
  display: block;
  margin-bottom: 10px;
  color: #ffcc00;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-work-heading h2 {
  max-width: 820px;
  margin: 0;
  font-size: 42px;
  line-height: .98;
  text-transform: none;
}

.service-work-heading p {
  max-width: 510px;
  margin: 0;
  color: #bdbdbd;
  font-size: 17px;
  line-height: 1.35;
}

.work-search-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  margin-top: 34px;
}

.work-search-controls label {
  display: grid;
  gap: 8px;
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.work-search-controls input,
.work-search-controls select,
.work-search-controls > button {
  box-sizing: border-box;
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid #353535;
  border-radius: 13px;
  outline: 0;
  background: #171717;
  color: #fff;
  font: inherit;
  text-transform: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.work-search-controls input:focus,
.work-search-controls select:focus { border-color: #ffcc00; }
.work-search-controls > button {
  align-self: end;
  width: 132px;
  border-color: #ffcc00;
  background: #ffcc00;
  color: #090909;
  cursor: pointer;
  font-weight: 700;
}
.work-search-controls > button:hover { transform: translateY(-2px); }
.work-search-summary { margin: 20px 0 12px; color: #8e8e8e; font-size: 14px; }

.service-work-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  max-height: 520px;
  padding-right: 10px;
  overflow: auto;
  scrollbar-color: #ffcc00 #1d1d1d;
}

.public-work-card {
  display: grid;
  grid-template-columns: 205px 1fr;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid #252525;
  border-radius: 22px;
  background: #fff;
  color: #080808;
}

.public-work-media { position: relative; overflow: hidden; background: #ffcc00; }
.public-work-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.public-work-card:hover .public-work-media img { transform: scale(1.055); }
.public-work-media > b {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.78);
  color: #fff;
  font-size: 12px;
}
.work-photo-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(135deg,#ffcc00,#ffe36c); }
.work-photo-placeholder span { font-size: 52px; font-weight: 900; }
.public-work-copy { display: flex; flex-direction: column; min-width: 0; padding: 23px 24px; }
.public-work-copy > span { color: #887000; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.public-work-copy h3 { margin: 8px 0 10px; font-size: 24px; line-height: 1.05; }
.public-work-copy p { display: -webkit-box; margin: 0; overflow: hidden; color: #4c4c4c; font-size: 15px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.public-work-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.public-work-copy code { overflow: hidden; color: #777; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.public-work-copy a { flex: 0 0 auto; color: #080808; font-size: 13px; font-weight: 700; }
.work-search-empty { grid-column: 1 / -1; padding: 58px; border: 1px dashed #444; border-radius: 22px; text-align: center; }
.work-search-empty b { font-size: 27px; }
.work-search-empty p { margin: 10px auto 24px; color: #aaa; }
.work-search-empty button { min-height: 54px; padding: 0 24px; border: 0; border-radius: 12px; background: #ffcc00; color: #080808; cursor: pointer; font-weight: 700; }

.gallery-slide figcaption { pointer-events: none; }

@media (min-width: 701px) {
  .services-page .service-catalog {
    position: absolute;
    left: 144px;
    top: 834px;
    display: grid !important;
    grid-template-columns: repeat(4, 333px);
    gap: 36px;
    width: 1440px;
    height: 1764px;
    padding: 0;
  }

  .services-page .service-art-card {
    position: relative;
    left: auto;
    top: auto;
    width: 333px;
    height: 414px;
    min-height: 0;
    border-radius: 28px;
  }

  .services-page .service-work-search {
    position: absolute;
    left: 144px;
    top: 2670px;
    z-index: 5;
    width: 1440px;
    height: 900px;
    padding: 48px 50px;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: 0 38px 100px rgba(0,0,0,.2);
  }

  .services-page .services-cta { top: 3660px; }
  .services-page .services-map { top: 4355px; }
  .services-page .services-footer { top: 5270px; }
}

.support-launcher-glyph { display: none; }

@media (max-width: 700px) {
  .support-launcher {
    position: relative;
    width: 50px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .support-launcher::after {
    content: "?";
    color: #fff;
    font: 700 20px/1 Arial, sans-serif;
  }

  .support-launcher-dot {
    position: absolute;
    right: 7px;
    bottom: 7px;
    width: 8px;
    height: 8px;
  }
  .map-route {
    right: auto;
    left: 50%;
    bottom: 10px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 13px;
    transform: translateX(-50%);
  }
  .map-route:hover,
  .map-route:focus-visible { transform: translate(-50%, -2px); }
  .services-page .service-catalog {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    height: auto !important;
    padding: 30px 16px 46px !important;
  }
  .services-page .service-art-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: min(100%, 334px) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 334 / 414;
    margin: 0 auto;
    border-radius: 24px;
  }
  .services-page .service-work-search {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 28px);
    height: auto;
    margin: 0 14px 40px;
    padding: 28px 18px;
    overflow: visible;
    border-radius: 24px;
  }
  .service-work-heading { display: block; }
  .service-work-heading h2 { font-size: 31px; }
  .service-work-heading p { margin-top: 18px; font-size: 15px; }
  .work-search-controls { grid-template-columns: 1fr; margin-top: 26px; }
  .work-search-controls > button { width: 100%; }
  .service-work-results { grid-template-columns: 1fr; max-height: none; padding-right: 0; overflow: visible; }
  .public-work-card { grid-template-columns: 1fr; }
  .public-work-media { min-height: 230px; }
  .work-search-empty { padding: 38px 18px; }
}

@keyframes faq-type-caret {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

.faq-page .faq-list article.is-typewriting .faq-answer p::after {
  content: "";
  position: static !important;
  display: inline-block !important;
  width: 2px !important;
  height: .92em !important;
  margin-left: 4px;
  background: currentColor !important;
  clip-path: none !important;
  vertical-align: -.08em;
  animation: faq-type-caret .78s steps(1, end) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .map-route,
  .public-work-media img,
  .work-search-controls > button { transition: none !important; }
}

