/* Local service exploration: each example stays beside the service it explains. */
.page-home .section.services-section { padding-top: 0; }
.services-arcade {
  position: relative;
  width: 100vw;
  height: clamp(220px, 24vw, 350px);
  margin-left: calc(50% - 50vw);
  margin-bottom: clamp(24px, 3vw, 48px);
  pointer-events: none;
}
.services-arcade__canvas { display: block; width: 100%; height: 100%; }
.page-home .section.services-section .services-section__intro {
  gap: 2px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.services-section__promise {
  margin: 0;
  color: #08080d;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-align: center;
}
.services-section__promise span { color: #f50f4c; }
.service-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 92px);
}
.service-group { min-width: 0; scroll-margin-top: 40px; }
.service-group__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.service-group__heading h3 {
  margin: 0;
  color: #08183b;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.service-group__icon {
  display: block;
  width: clamp(54px, 5vw, 72px);
  flex-shrink: 0;
}
.service-group__icon svg { display: block; width: 100%; height: auto; }
.service-group__intro {
  max-width: 47ch;
  min-height: 4.5em;
  margin: 0 0 28px;
  color: #626b7c;
  font-size: 16px;
  line-height: 1.5;
}
.service-disclosure { border-top: 1px solid #08183b24; }
.service-disclosure:last-child { border-bottom: 1px solid #08183b24; }
.service-disclosure__heading { margin: 0; }
.service-disclosure__trigger {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 80px;
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #08183b;
  font: 500 clamp(17px, 1.55vw, 21px)/1.35 var(--font-brand);
  letter-spacing: -.015em;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.service-disclosure__trigger > span:first-child { min-width: 0; }
.service-disclosure__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  color: #08080d;
  transition: transform 380ms cubic-bezier(.22, 1, .36, 1);
}
.service-disclosure__arrow svg {
  display: block;
  width: 24px;
  height: 24px;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
}
.service-disclosure__trigger[aria-expanded='true'] .service-disclosure__arrow {
  transform: rotate(90deg);
}
.service-disclosure__trigger:focus-visible { outline: 2px solid #08183b; outline-offset: 5px; border-radius: 3px; }
.service-disclosure__trigger:focus-visible .service-disclosure__arrow svg { transform: translateX(2px); }
@media(hover: hover) and (pointer: fine) {
  .service-disclosure__trigger:hover .service-disclosure__arrow svg { transform: translateX(3px); }
}
.service-disclosure__panel { overflow: hidden; }
.service-disclosure__panel[hidden] { display: none; }
.service-disclosure__content { padding: 0 0 28px; }
.service-disclosure__description {
  max-width: 48ch;
  margin: 0 0 22px;
  color: #626b7c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
/* Deliberately empty image slots until the owner selects each example. */
.service-example {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #08183b0d;
  color: #65758b;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .01em;
}
.service-example svg { width: 36px; height: 36px; opacity: .65; }
.service-showcase { margin: 0; }
.service-showcase__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 1440 / 921;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}
.service-showcase figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #626b7c;
  font: 400 12px/1.4 var(--font-brand);
  text-align: left;
}
.service-showcase figcaption strong { color: #08183b; font-weight: 500; white-space: nowrap; }
.service-showcase figcaption span { text-align: right; }
.service-hover-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: clamp(224px, 20vw, 280px);
  max-width: calc(100vw - 28px);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  visibility: hidden;
  pointer-events: none;
  opacity: 1;
  transition: none;
}
.service-hover-preview.is-visible {
  visibility: visible;
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(.25,.1,.25,1);
}

.service-hover-preview__art { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #fff; }

.service-hover-preview__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media(prefers-reduced-motion: reduce) { .service-hover-preview, .service-hover-preview.is-visible { transition: none; transform: none; } }
[data-motion='off'] .service-hover-preview { transition: none; transform: none; }
@media(max-width:991px) {
  .service-groups { gap: 36px; }
  .service-group__heading { gap: 12px; }
  .service-group__intro { font-size: 15px; min-height: 6em; }
  .service-disclosure__trigger { min-height: 78px; gap: 12px; }
  .service-disclosure__description { font-size: 15px; }
}
@media(max-width:767px) {
  .service-groups { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .service-group__heading h3 { font-size: clamp(30px, 7.7vw, 40px); }
  .service-group__intro { min-height: 0; margin-bottom: 24px; }
  .page-home .section.services-section .services-section__intro { gap: 2px; margin-bottom: 44px; }
  .services-arcade { height: clamp(180px, 36vw, 260px); }
  .service-disclosure__content { padding-bottom: 24px; }
  .service-disclosure__trigger { min-height: 74px; font-size: 17px; }
  .service-disclosure__arrow { flex-basis: 30px; width: 30px; height: 30px; }
  .service-example { border-radius: 10px; }
  .service-showcase__image { border-radius: 10px; }
  .service-showcase figcaption { font-size: 11px; gap: 8px; }
  .service-hover-preview { display: none; }
}
@media(prefers-reduced-motion: reduce) {
  .service-disclosure__arrow, .service-disclosure__arrow svg { transition: none; }
  .service-disclosure__arrow svg { transform: none !important; }
}
[data-motion='off'] .service-disclosure__arrow,
[data-motion='off'] .service-disclosure__arrow svg { transition: none; }
[data-motion='off'] .service-disclosure__arrow svg { transform: none !important; }
