/* Source-specific reservation for existing technical diagrams only.
   A concrete aspect ratio survives the shared aspect-ratio:auto reset before
   lazy SVG metadata arrives. No frame, grid, text, icon or image source changes.
   .g-img limits reservation to explanatory figures: module navigation previews
   retain their current 76px/64px optical frame and catalog cards their frame. */
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is(
  [src*="images/enterprise-global/module-ia-context-web-en.svg"],
  [src*="images/enterprise-global/module-ia-context-web-ja.svg"],
  [src*="images/enterprise-global/module-me-context-web-en.svg"],
  [src*="images/enterprise-global/module-me-context-web-ja.svg"],
  [src*="images/enterprise-global/module-pa-context-web-en.svg"],
  [src*="images/enterprise-global/module-pa-context-web-ja.svg"],
  [src*="images/enterprise-global/module-ra-context-web-en.svg"],
  [src*="images/enterprise-global/module-ra-context-web-ja.svg"],
  [src*="images/enterprise-global/module-ro-context-web-en.svg"],
  [src*="images/enterprise-global/module-ro-context-web-ja.svg"],
  [src*="images/enterprise-global/module-so-context-web-en.svg"],
  [src*="images/enterprise-global/module-so-context-web-ja.svg"],
  [src*="images/enterprise-global/module-wa-context-web-en.svg"],
  [src*="images/enterprise-global/module-wa-context-web-ja.svg"],
  [src*="images/enterprise-global/module-wf-context-web-en.svg"],
  [src*="images/enterprise-global/module-wf-context-web-ja.svg"],
  [src*="images/enterprise-depth/consulting-case-manufacturing-en.svg"],
  [src*="images/enterprise-depth/consulting-case-manufacturing-ja.svg"],
  [src*="images/enterprise-depth/consulting-case-operations-en.svg"],
  [src*="images/enterprise-depth/consulting-case-operations-ja.svg"],
  [src*="images/enterprise-depth/consulting-case-strategy-en.svg"],
  [src*="images/enterprise-depth/consulting-case-strategy-ja.svg"],
  [src*="images/enterprise-global/wes-control-web-en.svg"],
  [src*="images/enterprise-global/wes-control-web-ja.svg"],
  [src*="images/enterprise-global/wes-information-web-en.svg"],
  [src*="images/enterprise-global/wes-information-web-ja.svg"]
) {
  aspect-ratio: 1000 / 666;
}
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is(
  [src*="images/enterprise/module-bm-concept-en.svg"],
  [src*="images/enterprise/module-bm-concept.svg"],
  [src*="images/enterprise/module-dc-concept-en.svg"],
  [src*="images/enterprise/module-dc-concept.svg"],
  [src*="images/enterprise/module-do-concept-en.svg"],
  [src*="images/enterprise/module-do-concept.svg"],
  [src*="images/enterprise/module-lo-concept-en.svg"],
  [src*="images/enterprise/module-lo-concept.svg"]
) {
  aspect-ratio: 960 / 640;
}
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is(
  [src*="images/enterprise/consulting-area-engineering.svg"],
  [src*="images/enterprise/consulting-area-it.svg"],
  [src*="images/enterprise/consulting-area-pm.svg"],
  [src*="images/enterprise/consulting-area-strategy.svg"]
) {
  aspect-ratio: 480 / 490;
}
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is(
  [src*="images/enterprise/consulting-process-en.svg"],
  [src*="images/enterprise/consulting-process-ja.svg"]
) {
  aspect-ratio: 1200 / 380;
}
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is(
  [src*="images/enterprise/os-analogy-ja.svg"],
  [src*="images/enterprise/os-analogy-en.svg"]
) {
  aspect-ratio: 960 / 510;
}
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is(
  [src*="images/enterprise/algorithms-ja.svg"],
  [src*="images/enterprise/algorithms-en.svg"]
) {
  aspect-ratio: 1200 / 650;
}
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is(
  [src*="images/enterprise/service-process-en.svg"],
  [src*="images/enterprise/service-process-ja.svg"]
) {
  aspect-ratio: 1200 / 734;
}

/* Match the existing picture source breakpoint exactly. */
@media (max-width: 767px) {
  body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is([src*="images/enterprise/service-process-ja.svg"], [src*="images/enterprise/service-process-en.svg"]) {
    aspect-ratio: 650 / 1348;
  }
  body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is([src*="images/enterprise/consulting-process-ja.svg"], [src*="images/enterprise/consulting-process-en.svg"]) {
    aspect-ratio: 620 / 790;
  }
  body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is([src*="images/enterprise/os-analogy-ja.svg"], [src*="images/enterprise/os-analogy-en.svg"]) {
    aspect-ratio: 620 / 1020;
  }
  body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main img.g-img:is([src*="images/enterprise/algorithms-ja.svg"], [src*="images/enterprise/algorithms-en.svg"]) {
    aspect-ratio: 680 / 1170;
  }
}

/* Loaded explanations must not wait for a second reveal observer. */
body.g-world.g-polished:is([data-page^="gwes-module-"], [data-page="consulting"], [data-page="gwes-technology"], [data-page="logistics-os"], [data-page="wes"], [data-page="gwes-modules"], [data-page="service"]) #g-main :is(figure.g-fade, ul.g-c19-cb-list.g-fade, ul.g-ce-areas.g-fade, div.g-c12-types.g-fade):has(img:is(
  [src*="images/enterprise-global/module-ia-context-web-en.svg"],
  [src*="images/enterprise-global/module-ia-context-web-ja.svg"],
  [src*="images/enterprise-global/module-me-context-web-en.svg"],
  [src*="images/enterprise-global/module-me-context-web-ja.svg"],
  [src*="images/enterprise-global/module-pa-context-web-en.svg"],
  [src*="images/enterprise-global/module-pa-context-web-ja.svg"],
  [src*="images/enterprise-global/module-ra-context-web-en.svg"],
  [src*="images/enterprise-global/module-ra-context-web-ja.svg"],
  [src*="images/enterprise-global/module-ro-context-web-en.svg"],
  [src*="images/enterprise-global/module-ro-context-web-ja.svg"],
  [src*="images/enterprise-global/module-so-context-web-en.svg"],
  [src*="images/enterprise-global/module-so-context-web-ja.svg"],
  [src*="images/enterprise-global/module-wa-context-web-en.svg"],
  [src*="images/enterprise-global/module-wa-context-web-ja.svg"],
  [src*="images/enterprise-global/module-wf-context-web-en.svg"],
  [src*="images/enterprise-global/module-wf-context-web-ja.svg"],
  [src*="images/enterprise/module-bm-concept-en.svg"],
  [src*="images/enterprise/module-bm-concept.svg"],
  [src*="images/enterprise/module-dc-concept-en.svg"],
  [src*="images/enterprise/module-dc-concept.svg"],
  [src*="images/enterprise/module-do-concept-en.svg"],
  [src*="images/enterprise/module-do-concept.svg"],
  [src*="images/enterprise/module-lo-concept-en.svg"],
  [src*="images/enterprise/module-lo-concept.svg"],
  [src*="images/enterprise/consulting-area-engineering.svg"],
  [src*="images/enterprise/consulting-area-it.svg"],
  [src*="images/enterprise/consulting-area-pm.svg"],
  [src*="images/enterprise/consulting-area-strategy.svg"],
  [src*="images/enterprise/consulting-process-en.svg"],
  [src*="images/enterprise/consulting-process-ja.svg"],
  [src*="images/enterprise-depth/consulting-case-manufacturing-en.svg"],
  [src*="images/enterprise-depth/consulting-case-manufacturing-ja.svg"],
  [src*="images/enterprise-depth/consulting-case-operations-en.svg"],
  [src*="images/enterprise-depth/consulting-case-operations-ja.svg"],
  [src*="images/enterprise-depth/consulting-case-strategy-en.svg"],
  [src*="images/enterprise-depth/consulting-case-strategy-ja.svg"],
  [src*="images/enterprise/os-analogy-ja.svg"],
  [src*="images/enterprise/os-analogy-en.svg"],
  [src*="images/enterprise/algorithms-ja.svg"],
  [src*="images/enterprise/algorithms-en.svg"],
  [src*="images/enterprise-global/wes-control-web-en.svg"],
  [src*="images/enterprise-global/wes-control-web-ja.svg"],
  [src*="images/enterprise-global/wes-information-web-en.svg"],
  [src*="images/enterprise-global/wes-information-web-ja.svg"],
  [src*="images/enterprise/service-process-en.svg"],
  [src*="images/enterprise/service-process-ja.svg"]
)) {
  opacity: 1;
  transform: none;
  transition: none;
}
