/* GROUND proof gallery: every customer owns a complete, equally weighted row.
   Related-company destinations keep title, description, source note and CTA
   in explicit cells. Scope: Works #cases and About #next, JP and EN only. */
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) {
  grid-column: 1 / -1;
  min-width: 0;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) > .g-client-case {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  align-content: normal;
  padding: 28px 0 32px;
  border-bottom: 1px solid #cbd2da;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) > .g-client-case > .g-evidence-case__media {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: #fff;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) > .g-client-case > .g-evidence-case__media .g-evidence-case__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) > .g-client-case > .g-scene-case__copy {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  align-self: center;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) .g-client-case__logo {
  height: 56px;
  padding: 0;
  margin-bottom: 16px;
  justify-content: flex-start;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) h3 {
  min-height: 0;
  font-size: clamp(26px, 2.5vw, 32px);
  line-height: 1.5;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) .g-client-case__summary {
  margin: 16px 0 24px;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.75;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) .g-client-case__read {
  align-self: stretch;
  margin-top: 0;
  padding-block: 16px;
}
body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body {
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.5fr) 240px;
  gap: 10px 32px;
  align-items: center;
  padding-block: 28px;
}
body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-card__title {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-card__text {
  grid-column: 2;
  grid-row: 1;
}
body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-scene-card__caption {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .015em;
  color: #63717b;
}
body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-links {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}
@media (max-width: 860px) {
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases {
    gap: 28px;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) > .g-client-case {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding-block: 0 28px;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) > .g-client-case > .g-evidence-case__media {
    margin-bottom: 24px;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) > .g-client-case > .g-scene-case__copy {
    grid-column: auto;
    grid-row: auto;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) h3 {
    font-size: 24px;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n) .g-client-case__summary {
    font-size: 18px;
  }
  body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-card__title { grid-column: 1; grid-row: 1; }
  body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-card__text { grid-column: 1; grid-row: 2; }
  body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-scene-card__caption { grid-column: 1; grid-row: 3; }
  body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-links { grid-column: 1; grid-row: 3; }
}

/* These captions describe media already absent from this navigation list. */
body.g-world.g-polished[data-page="about"] #g-main #next .g-card__body > .g-scene-card__caption { display:none; }
