/* Shared article layout and typography for industry and service perspectives. */
:is(.industry-perspective, .service-perspective) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: clamp(var(--space-7), 5vw, var(--space-8));
  padding-block: calc(var(--space-9) + var(--space-9)) var(--space-9);
  color: var(--color-text);
}

:is(.industry-perspective, .service-perspective) h2 {
  margin: 0;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: var(--type-heading-md);
  line-height: 1.2;
  scroll-margin-top: var(--space-9);
}

:is(.industry-perspective__body, .service-perspective__body) {
  min-width: 0;
  align-self: start;
}

:is(.industry-perspective__body, .service-perspective__body) p {
  margin: 0;
  color: var(--slate);
  font-size: var(--type-editorial-body-size);
  font-weight: 300;
  line-height: 1.72;
}

:is(.industry-perspective__body, .service-perspective__body) p + p {
  margin-top: 18px;
}

:is(.industry-perspective__body, .service-perspective__body) > p:first-child {
  color: var(--color-brand);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.68;
}

:is(.industry-perspective__body, .service-perspective__body) > p:first-child::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 4.45em;
  font-weight: 600;
  line-height: 0.78;
}

:is(.industry-perspective__illustration, .service-perspective__illustration) {
  margin: var(--space-6) 0 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-surface-cream);
}

:is(.industry-perspective__illustration, .service-perspective__illustration) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--perspective-image-aspect, 2 / 1);
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform var(--card-media-zoom-duration) var(--card-media-zoom-ease);
}

@media (hover: hover) and (pointer: fine) {
  :is(.industry-perspective__illustration, .service-perspective__illustration):hover img {
    transform: scale(var(--card-media-zoom-scale));
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.industry-perspective__illustration, .service-perspective__illustration) img {
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  :is(.industry-perspective, .service-perspective) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
    padding-block-start: var(--space-9);
  }

  :is(.industry-perspective__body, .service-perspective__body) p {
    font-size: var(--type-editorial-body-mobile-size);
    line-height: 1.65;
  }

  :is(.industry-perspective__body, .service-perspective__body) > p:first-child {
    font-size: clamp(17px, 1.25vw, 19px);
    line-height: 1.68;
  }
}
