/* Existing GROUND product and named customer photographs.
   Scope: PEER, case index, AUTOBACS interview only. No image manipulation,
   screen replacement, new claims, or changes to the homepage/GWES. */

/* The product photograph contains generous white space. Its 7:5 viewport
   removes only that white margin; all three PEER configurations remain whole. */
body.g-world.g-polished[data-page="peer"] #g-main #peer100 .g-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
body.g-world.g-polished[data-page="peer"] #g-main #peer100 .g-split__media .g-c15-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 7 / 5;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}
body.g-world.g-polished[data-page="peer"] #g-main #peer100 .g-split__media .g-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  object-position: center;
}

/* Product use and the existing outcomes share one composition. The AUTOBACS
   photo shows the real item and tablet together; the NX image is a named
   facility context, never an invented person or robot-use photograph. */
body.g-world.g-polished[data-page="peer"] #g-main #cases .g-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
}
body.g-world.g-polished[data-page="peer"] #g-main #cases .g-scene-peer-case {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 32px 0 0;
  border: 0;
  border-top: 1px solid #d9e1e8;
  background: #fff;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__photo {
  margin: 0;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__copy {
  min-width: 0;
  padding-block: 12px;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__copy .g-card__title {
  margin-top: 14px;
  font-size: clamp(25px, 2.5vw, 32px);
  line-height: 1.5;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__copy .g-card__text {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.85;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__copy .g-c17-pr-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__copy .g-c17-pr-metrics__num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.2;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case:nth-child(2) .g-c17-pr-metrics > li:last-child {
  grid-column: 2 / 4;
}
body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case:nth-child(2) .g-c17-pr-metrics > li:last-child .g-c17-pr-metrics__num {
  font-size: clamp(22px, 2.3vw, 30px);
}

/* The first two case photographs establish customers and scale. The next two
   become larger product-use stories, with the same copy/order/destinations. */
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases {
  gap: 56px 48px;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-scene-case__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-case__logo {
  justify-content: flex-start;
  height: 56px;
  padding: 0;
  border: 0;
  margin-bottom: 16px;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-case__logo img {
  width: auto;
  height: auto;
  max-width: 156px;
  max-height: 51px;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-case__logo img[src*="client-kao"] { width: 100px; }
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-case__logo img[src*="client-nittsu"] { width: 62px; }
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-case__logo img[src*="client-cxcargo"] { width: 66px; }
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-case__logo img[src*="client-ab7"] { width: 68px; }
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) {
  grid-column: 1 / -1;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) .g-client-case {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-block: 24px 32px;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) .g-evidence-case__media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #fff;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) .g-evidence-case__image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: left center;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) h3 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.5;
}
body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) .g-client-case__summary {
  font-size: 21px;
  line-height: 1.8;
}

/* Preserve the product, the picking hands and the full robot. A 16:9 crop cut
   those cues off. On wide screens the real scene stays beside its interview
   while the original questions/answers are read; mobile keeps document order. */
body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) .g-c17-ai-photo {
  width: 100%;
  max-width: 920px;
}
body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) .g-c17-ai-photo .g-c15-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}
body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) .g-c17-ai-photo .g-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
@media (min-width: 1100px) {
  body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) > .g-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px 48px;
    align-items: start;
  }
  body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) .g-head {
    grid-column: 1 / -1;
    margin-bottom: 0;
    max-width: 1040px;
  }
  body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) .g-c17-ai-photo {
    grid-column: 1;
    grid-row: 2;
    position: sticky;
    top: calc(var(--g-header-h, 76px) + 80px);
    max-width: none;
    margin: 0;
  }
  body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) .g-c17-ai-qa {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) > .g-wrap > .g-links {
    grid-column: 2;
  }
}
@media (max-width: 860px) {
  body.g-world.g-polished[data-page="peer"] #g-main #peer100 .g-split,
  body.g-world.g-polished[data-page="peer"] #g-main #cases .g-scene-peer-case,
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) .g-client-case {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body.g-world.g-polished[data-page="peer"] #g-main #cases .g-grid {
    gap: 44px;
  }
  body.g-world.g-polished[data-page="peer"] #g-main .g-scene-peer-case__copy {
    padding-block: 0;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) .g-client-case {
    padding-top: 0;
  }
  body.g-world.g-polished[data-page="works"] #g-main #cases .g-client-cases > li:nth-child(n+3) .g-client-case__summary {
    font-size: 18px;
  }
  body.g-world.g-polished[data-page="case-autobacs-interview"] #g-main :is(#anch01, #anch02, #anch03) .g-c17-ai-qa {
    margin-top: 32px;
  }
}
