/* Application reading owns only .kw-case-page and its image viewer. */
.kw-case-page { background: #fff; color: #111; padding: 66px 36px 0; }
.kw-case-shell { max-width: 1080px; margin: 0 auto; }
.kw-case-page :is(h1,h2,h3,h4,p,figure,ol,ul) { margin: 0; }
.kw-case-page :is(h1,h2,h3,h4) { color: #111; font-weight: 600; letter-spacing: -.035em; }
.kw-case-page h1 { font-size: clamp(38px,4.6vw,64px); line-height: 1.08; max-width: 1060px; text-wrap: balance; }
.kw-case-page h2 { font-size: clamp(28px,3vw,38px); line-height: 1.15; margin-bottom: 24px; }
.kw-case-page p { font-size: 18px; line-height: 1.75; color: #171717; text-wrap: pretty; }
.kw-case-page strong { font-weight: 700; white-space: normal; }
.kw-case-page p + p { margin-top: 20px; }
.kw-case-breadcrumb { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-bottom: 26px; font-size: 16px; }
.kw-case-breadcrumb a { color: #444; text-decoration: none; }
.kw-case-breadcrumb a:hover { color: #bd2226; }
.kw-case-header > p { margin-top: 28px; font-size: 20px; line-height: 1.65; }
.kw-case-header { margin-bottom: 42px; }
.kw-case-section { margin-top: 80px; scroll-margin-top: 115px; }
.kw-case-page .kw-case-figure { margin: 38px 0 0; }
.kw-case-header + .kw-case-figure { margin-top: 0; }
.kw-case-figure > a { display: block; position: relative; width: 100%; color: #111; }
.kw-case-figure img { display: block; width: 100%; height: auto; max-height: 600px; object-fit: contain; }
.kw-case-figure--photo img { max-height: 650px; }
.kw-case-figure--portrait > a { max-width: 620px; margin: 0 auto; }
.kw-case-figure--portrait img { max-height: 710px; }
.kw-case-figure figcaption { margin-top: 14px; color: #444; font-size: 15px; line-height: 1.5; text-align: center; }
.kw-case-zoom-label { position: absolute; bottom: 14px; right: 14px; padding: 9px 13px; border-radius: var(--kw-button-radius); background: #fff; color: #111; font-size: 14px; box-shadow: 0 1px 8px #0002; }
.kw-case-figure a:hover .kw-case-zoom-label { color: #bd2226; }
.kw-case-process { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; padding: 0; margin-top: 32px !important; }
.kw-case-process li { font-size: 18px; line-height: 1.4; color: #111; }
.kw-case-process span { display: block; color: #bd2226; font-size: 16px; margin-bottom: 8px; }
.kw-case-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 70px; margin-top: 36px; }
.kw-case-product { min-width: 0; scroll-margin-top: 120px; }
.kw-case-product__image { display: block; width: 100%; height: 240px; margin-bottom: 22px; }
.kw-case-product__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kw-case-product h3 { font-size: 30px; margin-bottom: 9px; }
.kw-case-product h4 { font-size: 20px; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 12px; }
.kw-case-product p { font-size: 17px; line-height: 1.65; }
.kw-case-link { display: inline-block; color: #111; font-size: 17px; font-weight: 600; text-decoration: none; margin-top: 17px; }
.kw-case-link:hover { color: #bd2226; }
.kw-case-duty-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 60px; margin-top: 32px; }
.kw-case-duty-links a { color: #111; text-decoration: none; }
.kw-case-duty-links h3 { font-size: 24px; margin-bottom: 12px; }
.kw-case-duty-links span { display: inline-block; margin-top: 12px; font-size: 17px; font-weight: 600; }
.kw-case-related ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.kw-case-related a { display: inline-flex; gap: 12px; font-size: 21px; line-height: 1.4; color: #111; text-decoration: none; }
.kw-case-related a:hover { color: #bd2226; }
.kw-case-contact { padding: 100px 0 110px; text-align: center; }
.kw-case-contact h2 { font-size: clamp(36px,4vw,48px); margin-bottom: 20px; }
.kw-case-contact p { margin-bottom: 26px; }
.kw-case-page :is(a,button):focus-visible, .kw-case-viewer :is(a,button):focus-visible { outline: 2px solid #bd2226; outline-offset: 5px; }
.kw-case-viewer { padding: 64px 28px 28px; border: 0; width: min(1400px,96vw); max-height: 94vh; background: #fff; color: #111; }
.kw-case-viewer::backdrop { background: #000b; }
.kw-case-viewer__close { position: absolute; top: 14px; right: 18px; width: 38px; height: 38px; border: 1px solid #aaa; border-radius: 50%; color: #111; background: #fff; font-size: 27px; line-height: 1; cursor: pointer; }
.kw-case-viewer img { width: 100%; height: auto; max-height: 74vh; object-fit: contain; }
.kw-case-viewer p { font-size: 16px; line-height: 1.5; margin: 20px 0 0; text-align: center; }
@media (max-width: 700px) {
  .kw-case-page { padding: 34px 22px 0; }
  .kw-case-header > p { font-size: 18px; }
  .kw-case-page p { font-size: 17px; line-height: 1.7; }
  .kw-case-header { margin-bottom: 30px; }
  .kw-case-section { margin-top: 56px; }
  .kw-case-process { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .kw-case-process li { font-size: 17px; }
  .kw-case-products, .kw-case-duty-links { grid-template-columns: 1fr; gap: 40px; }
  .kw-case-product__image { height: 250px; }
  .kw-case-product h4 { font-size: 21px; }
  .kw-case-contact { padding: 72px 0 80px; }
  .kw-case-viewer { padding: 62px 14px 22px; }
}
@media (prefers-reduced-motion: reduce) { .kw-case-page *, .kw-case-viewer * { scroll-behavior: auto; } }
