/* Image-led Services, scoped to the PINTA homepage. */
.site-page .services-editorial { max-width: 1440px; }
.site-page .services-editorial .services-heading {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .75fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 36px;
  padding-top: 24px;
}
.site-page .services-editorial .services-heading h2 {
  max-width: none;
  margin: 14px 0 0;
  padding: 0;
  color: var(--yellow);
  font-size: clamp(2.75rem, 4.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.site-page .services-editorial .services-heading > p {
  width: auto;
  max-width: 37ch;
  margin: 0 0 4px;
  color: var(--page-fg);
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  text-wrap: pretty;
}
.services-editorial .services-heading .section-kicker { font-size: .75rem; }
@media (min-width: 901px) {
  .site-page .services-editorial .services-heading {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
  }
  .site-page .services-editorial .services-heading > p {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 2.25rem);
    line-height: 1.35;
  }
}
.services-editorial .services-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin: 0;
}
.services-editorial .service-list .service-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr 1fr;
  align-content: start;
  align-items: start;
  gap: 26px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: none;
}
.services-editorial .service-column::before { content: none; }
.services-editorial .service-reference { margin: 0; min-width: 0; }
.service-reference-link { display: block; color: var(--page-soft); text-decoration: none; }
.service-reference-image { position: relative; overflow: hidden; border-radius: 8px; background: #101215; }
.service-reference-image img { display: block; width: 100%; height: auto; transition: transform 650ms var(--ease-out); }
.service-reference-image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  aspect-ratio: 1;
  background: var(--yellow);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0;
  transform: scale(.7);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 300ms var(--ease-out);
  pointer-events: none;
}
.service-reference figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-top: 4px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.5;
}
.service-reference .site-arrow-icon { flex: 0 0 16px; width: 16px; height: 16px; color: var(--yellow); }
.service-reference-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; border-radius: 8px; }
.service-reference-link:focus-visible .service-reference-image::after { opacity: 1; transform: scale(1); }
.services-editorial .service-copy { padding-top: 20px; border-top: 1px solid rgba(212,212,220,.2); }
.services-editorial .service-copy h3 {
  margin: 0 0 12px;
  padding: 0;
  max-width: 26ch;
  color: var(--yellow);
  font-size: clamp(1.25rem, 1.75vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.services-editorial .service-copy p {
  max-width: 42ch;
  margin: 0;
  color: var(--page-fg);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}
.services-contact { display: flex; justify-content: flex-end; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(212,212,220,.2); }
.services-contact a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--yellow); font-size: 1rem; font-weight: 700; line-height: 1.5; text-decoration: none; }
.services-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.services-contact a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .service-reference-link:hover { color: var(--yellow); }
  .service-reference-link:hover .service-reference-image::after { opacity: 1; transform: scale(1); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-reference-link:hover img { transform: scale(1.045); }
}
@media (max-width: 900px) {
  .site-page .services-editorial .services-heading { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; margin-bottom: 28px; }
  .site-page .services-editorial .services-heading h2 { font-size: clamp(2.5rem, 7vw, 4rem); }
  .site-page .services-editorial .services-heading > p { max-width: 53ch; font-size: 1.0625rem; margin: 0; }
  .services-editorial .services-editorial-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-editorial .service-list .service-column { grid-template-rows: auto; gap: 22px; }
  .services-editorial .service-copy { padding-top: 18px; }
  .services-editorial .service-copy h3 { max-width: none; font-size: 1.5rem; line-height: 1.22; }
  .services-editorial .service-copy p { max-width: 62ch; font-size: 1rem; }
  .services-contact { justify-content: flex-start; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-reference-image img, .service-reference-image::after { transition: none; }
}
