/* Homepage photographs and the SIP'S MIT & CO reach card. */
.hero .hero-art {
  --side-drop: clamp(1rem, 3.2vw, 3rem);
  margin-bottom: var(--side-drop);
}
.hero .hero-art .art-drink { bottom: calc(-1 * var(--side-drop)); }
.hero .hero-art .art-resort { bottom: calc(-2% - var(--side-drop)); }
.virals .showcase:first-child .phone-set .metric:not(.metric-secondary) {
  right: 2%;
  bottom: 10%;
}
@media (max-width: 900px) {
  .virals .showcase:first-child .phone-set {
    --phone-stage: clamp(355px, 39vw, 540px);
    --reach-clearance: 5.75rem;
    height: calc(var(--phone-stage) + var(--reach-clearance));
  }
  .virals .showcase:first-child .phone-set > .phone-link {
    height: calc(.85 * var(--phone-stage));
    margin-bottom: var(--reach-clearance);
  }
  .virals .showcase:first-child .phone-set .metric:not(.metric-secondary) {
    right: 4%;
    bottom: .65rem;
  }
}

@media (max-width: 700px) {
  .virals .showcase:first-child .phone-set { --phone-stage: clamp(330px, 104vw, 440px); }
}

/* Keep both showcases aligned when the reach card needs a lower position. */
@media (min-width: 701px) and (max-width: 900px) {
  .virals .showcase:nth-child(2) .phone-set {
    --phone-stage: clamp(355px, 39vw, 540px);
    --reach-clearance: 5.75rem;
    height: calc(var(--phone-stage) + var(--reach-clearance));
    padding-bottom: var(--reach-clearance);
  }
  .virals .showcase:nth-child(2) .phone-set .metric:not(.metric-secondary) {
    bottom: calc(.12 * var(--phone-stage) + var(--reach-clearance));
  }
  .virals .showcase:nth-child(2) .phone-set .metric-secondary {
    top: calc(.15 * var(--phone-stage));
  }
  .virals .showcase:nth-child(2) .phone-set .social-mark {
    top: calc(.13 * var(--phone-stage));
  }
}

/* Video captions have been removed from the homepage cards. */
.social-grid .video-v2 .publication-image { margin-bottom: 0; }

/* Keep portfolio rows aligned around a shared image area. */
.portfolio-group .project-card {
  max-width: 72rem;
  margin-inline: auto;
  padding-bottom: clamp(1.15rem, 2.1vw, 1.8rem);
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.6rem);
}
.portfolio-group .project-card .project-visual {
  aspect-ratio: 4 / 3;
  --image-height: 75cqw;
}
@media (max-width: 700px) {
  .portfolio-group .project-card { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .portfolio-group .project-card .project-visual {
    aspect-ratio: 1 / 1.08;
    --image-height: 108cqw;
  }
}

/* Case study spacing and the existing AF Pizzeria photographs. */
.project-story .prose .client-services-heading {
  margin-top: clamp(1.45rem, 2.7vw, 2.35rem);
}
.af-photography .rendered-media { column-gap: clamp(.75rem, 2vw, 1.3rem); }
.af-photography .rendered-media figure { margin-bottom: clamp(.75rem, 2vw, 1.3rem); }
.af-photography .rendered-media a { border-radius: 14px; }
