/* DR4-COMMON. Formal PDF coordinates at 1440px; original SVGs stay intact.
 * SP retains the approved fallback, including its page-specific placement.
 */
.work-design-r4 main .sub-pattern--left > img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

/* WK-C01: retain the SVG placement; 11/05 removes the rectangular crop
 * so moving decorative shapes remain whole inside the viewport.
 */
@media (min-width: 768px) {
  .work-design-r4 main .work-r4-left {
    display: block;
    left: 0;
    top: 243.986px;
    bottom: auto;
    width: 573.187px;
    height: 408.483px;
    overflow: visible;
  }
  .work-design-r4 main .sub-pattern--left > img {
    position: absolute;
    left: -777.26px;
    top: 36.812px;
    bottom: auto;
    width: 1191.39px;
    max-width: none;
    height: auto;
  }
}

/* WK-C09: D02 six-category composition; no SP navigation overrides. */
@media (min-width: 768px) {
  .work-design-r4 main .work-category-index {
    width: min(1032px, calc(100% - 64px));
  }
  .work-design-r4 main .work-category-nav {
    margin-top: 46.932px;
  }

  /* WK-C02: measured header/nav flow gives hero y=500.442 at 1440px.
   * The manual slider's 66px controls remain in normal flow.
   * Profiles distinguish the cafe and daily original hero margins.
   */
  .work-design-r4.page-work-bakery main .sub-hero,
  .work-design-r4.page-work-paper main .sub-hero,
  .work-design-r4.page-work-contract main .sub-hero {
    margin-top: 103.735px;
  }
  .work-design-r4.page-work-cafe main .sub-hero {
    margin-top: 103.735px;
  }
  .work-design-r4.page-work-daily main .sub-hero {
    margin-top: 103.735px;
  }
}

/* WK-C03: keep the matching right SVG; use its measured 0.998184 scale.
 * Position is relative to the first card, so remaining card-flow differences
 * are visible in the report rather than compensated by page-specific offsets.
 */
@media (min-width: 768px) {
  .work-design-r4 main .job-stories > .sub-pattern--right,
  .work-design-r4 main .work-detail-list > .sub-pattern--right {
    top: -182.089px;
    right: .114px;
    width: 429.219px;
  }
  .work-design-r4 main .sub-accent {
    width: 54.5px;
    height: 50.875px;
  }
  .work-design-r4 main .sub-hero__accent {
    top: 633.382px;
    bottom: auto;
    right: 114.009px;
  }
}

/* WK-C04: only the approved PC heading size; body text/spacing unchanged. */
@media (min-width: 768px) {
  .work-design-r4 main .job-story h3 {
    font-size: 22px;
  }
}

/* WK-C06: native SVG scale, formal 79.811px visible band.
 * PDF clip: (0,2812.164)-(1423.88,2891.975); SVG origin y=2682.7665.
 * Put the visible band at the existing footer origin. Footer flow/margins
 * and each page's final content spacing remain owned by the next stage.
 */
@media (min-width: 768px) {
  .work-design-r4 .site-footer__linebar {
    left: -.101px;
    top: -129.398px;
    width: 1423.88px;
    transform: none;
    clip-path: inset(129.398px 0 calc(100% - 209.209px) 0);
  }
}

/* Wide-screen repair: retain the accepted PC1440 card inset (182.255px).
 * Beyond that canvas, move the capped card instead of growing its padding
 * and consuming the minmax(0, 1fr) text column. Keep HERO/artwork independent.
 */
@media (min-width: 1441px) {
  .work-design-r4 main .job-story,
  .work-design-r4 main .work-detail {
    padding-left: 182.255px;
    margin-left: calc((100vw - 1440px) / 2);
  }
}
