/* Mobile composition only; the desktop mosaic remains defined by pro-design. */
@media (max-width: 680px) {
  .home-intro .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 260px 210px;
    height: auto;
    gap: 12px;
  }

  .home-intro .project-card {
    min-width: 0;
    min-height: 0;
    border-radius: 0;
  }

  .home-intro .project-card:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .home-intro .project-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .home-intro .project-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .home-intro .project-card .project-copy {
    padding: 12px;
    text-align: center;
  }

  .home-intro .project-card .project-copy h3 {
    max-width: 10ch;
    margin: 0;
    color: #fff;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
    text-wrap: balance;
    text-shadow: 0 1px 10px #0009;
  }

  .home-intro .project-card:first-child .project-copy h3 {
    max-width: none;
    font-size: 30px;
  }

  .home-intro .project-card .project-photo::after {
    background: linear-gradient(180deg, #0002, #0006 40%, #0006 65%, #0002);
  }

  /* Anchor the source's 45.9% focal point exactly at the card's centre.
     The slightly wider image box also covers broad mobile/tablet cards. */
  .home-intro .project-card:first-child .project-photo > img,
  .home-intro .project-card:first-child:hover .project-photo > img {
    position: absolute;
    left: 50%;
    top: 0;
    width: 110%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 45.9% center;
    transform: translateX(-45.9%);
  }

  .home-intro .project-card:nth-child(2) .project-photo > img {
    object-position: 50% center;
  }

  /* Centre the Eiffel Tower within the narrow rental photograph. */
  .home-intro .project-card:nth-child(3) .project-photo > img {
    object-position: 30% center;
  }

  .home-intro .project-card .round-arrow,
  .home-intro .project-card .project-number,
  .home-intro .project-card .label {
    display: none !important;
  }
}

/* Keep generous photographs and labels on the narrowest phones. */
@media (max-width: 359px) {
  .home-intro .project-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 260px 230px 230px;
  }

  .home-intro .project-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .home-intro .project-card:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .home-intro .project-card:not(:first-child) .project-copy h3 {
    max-width: 14ch;
    font-size: 26px;
  }
}
