/* DALANG image presentation: neutral products, soft documentary photography.
   Original pixels, source URLs and garment colours remain unchanged. */
body.dsk-refined{--media-surface:#fff;--media-photo-tone:saturate(.94) contrast(.98) brightness(1.025);--media-product-width:192px;--media-landscape-height:180px}
body.dsk-refined main img[data-media-kind]{display:block;max-width:100%;vertical-align:middle}
body.dsk-refined main img:is([data-media-kind="factory"],[data-media-kind="editorial"]){filter:var(--media-photo-tone);background:var(--media-surface)}
body.dsk-refined main img[data-media-kind="editorial"]{width:100%;height:auto;max-height:none;object-fit:cover}
body.dsk-refined main img[data-media-kind="factory"]{width:100%;height:auto;max-height:none;object-fit:cover}
body.dsk-refined main img[data-media-kind="knowledge"]{width:100%;height:auto;max-height:none;object-fit:cover}
body.dsk-refined main img:is([data-media-kind="product"],[data-media-kind="knowledge"],[data-media-kind="document"],[data-media-kind="diagram"]){filter:none;background:var(--media-surface)}
body.dsk-refined main img[data-media-kind="video-poster"]{filter:none}
/* Every product card has a 4:5 frame at one visual scale. */
body.dsk-refined :is(#home-styles,#signature-styles,#style-grid,#edit-styles,#collection-styles) img[data-media-kind="product"]{width:100%;max-width:var(--media-product-width);height:auto;max-height:none;aspect-ratio:4/5;object-fit:contain;object-position:center;margin-inline:auto}
body.dsk-refined .style-detail>img[data-media-kind="product"],body.dsk-refined .style-main-visual>img[data-media-kind="product"]{width:100%;max-width:440px;height:auto;max-height:none;aspect-ratio:4/5;object-fit:contain;object-position:center;margin-inline:auto}
body.dsk-refined .style-view-button img[data-media-kind="product"]{width:56px;height:70px;aspect-ratio:4/5;object-fit:contain}
body.dsk-refined .showroom-latest .showroom-edit-image img[data-media-kind="product"],body.dsk-refined .showroom-edit-intro>img[data-media-kind="product"]{width:100%;max-width:176px;height:auto;max-height:none;aspect-ratio:4/5;object-fit:contain;margin-inline:auto}
/* Photographic frames fill their columns; crop around the subject instead of padding. */
body.dsk-refined .home-process-card img[data-media-kind="factory"],body.dsk-refined .home-proof-grid img[data-media-kind="factory"],body.dsk-refined #production-in-practice .factory-figure img[data-media-kind="factory"]{width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:var(--media-focal,50% 50%);margin:0}
body.dsk-refined .home-proof-feature>img[data-media-kind="factory"]{object-fit:cover;object-position:center 35%}
body.dsk-refined .factory-team-image-viewport{max-width:480px;margin-inline:auto}
body.dsk-refined .factory-team-image-viewport img[data-media-kind="factory"]{max-height:none;object-fit:cover;object-position:center top}
body.dsk-refined .factory-overview .factory-figure>img[data-media-kind="factory"],body.dsk-refined .factory-story .factory-figure>img[data-media-kind="factory"],body.dsk-refined .factory-photo-pair .factory-figure>img[data-media-kind="factory"],body.dsk-refined .factory-network-note .factory-figure>img[data-media-kind="factory"]{width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:var(--media-focal,50% 50%);margin:0}
body.dsk-refined .production-stage .process-photo img[data-media-kind="factory"],body.dsk-refined .production-intro .process-photo img[data-media-kind="factory"]{width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:var(--media-focal,50% 50%);margin:0}
body.dsk-refined .service-capability-card img[data-media-kind],body.dsk-refined .case-feature-image img[data-media-kind],body.dsk-refined .resource-path .resource-image img[data-media-kind]{width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:var(--media-focal,50% 50%);margin:0}
body.dsk-refined .resource-image{background:var(--media-surface)}
/* All guide cards share the same landscape frame, independent of source orientation. */
body.dsk-refined #guide-grid .guide-card-image{display:block;aspect-ratio:3/2;height:auto;background:var(--media-surface);overflow:hidden}
body.dsk-refined #guide-grid .guide-card-image img[data-media-kind]{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:var(--media-focal,50% 50%)}
body.dsk-refined .guide-hero-figure img[data-media-kind]{width:100%;max-width:660px;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:var(--media-focal,50% 50%);margin-inline:auto}
body.dsk-refined .dsk-reading .guide-hero-figure img[data-media-kind],body.dsk-refined.dsk-reading .guide-hero-figure img[data-media-kind]{width:100%;max-width:660px;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:var(--media-focal,50% 50%);margin-inline:auto}
/* Knowledge covers use a square frame matching the source crop: no letterboxing. */
body.dsk-refined .knowledge-page .library-photo{width:100%;aspect-ratio:1/1;margin:0;padding:0;border:0;overflow:hidden;background:transparent}
body.dsk-refined .knowledge-page .library-photo img{display:block;width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:1/1;object-fit:cover;object-position:center;transform:none;margin:0;padding:0;border:0}
/* Startup Program: give each photograph a frame matching its editorial role. */
body.dsk-refined .program-hero{max-width:1320px;min-height:0;margin-inline:auto;align-items:stretch}
body.dsk-refined .program-hero-image{position:relative;min-width:0;min-height:0;height:auto;aspect-ratio:4/5;align-self:start;overflow:hidden}
body.dsk-refined .program-hero-image>figure{margin:0;padding:0;border:0}
body.dsk-refined main .program-hero .program-hero-image img{position:absolute;inset:0;display:block;width:100%;max-width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center;margin:0;padding:0;border:0}
body.dsk-refined .program-photo-credit{z-index:1}
body.dsk-refined .startup-support figure{min-width:0;margin:0;padding:0;border:0}
body.dsk-refined main .startup-support figure img{display:block;width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:center;margin:0;padding:0;border:0}
body.dsk-refined .program-cases .case-row{align-items:start}
body.dsk-refined .program-case-image{min-width:0;margin:0;padding:0;border:0}
body.dsk-refined main .program-cases .program-case-image img{display:block;width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;object-position:center;margin:0;padding:0;border:0}
body.dsk-refined .home-case>img[data-media-kind]{width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:var(--media-focal,50% 50%)}
body.dsk-refined #production-in-practice .factory-figure figcaption{min-height:3.3em}
body.dsk-refined main img[src*="programming-5f210b77"]{--media-focal:35% 50%}
body.dsk-refined main img[src*="garment-inspection-5cf4e2ac"]{--media-focal:50% 50%}
body.dsk-refined main img[src*="knitting-floor-72fb9b64"]{--media-focal:50% 58%}
body.dsk-refined main img[src*="truck-dispatch-ba9956ee"]{--media-focal:50% 60%}
/* Certificates and educational graphics retain legibility and their natural proportions. */
body.dsk-refined main img[data-media-kind="document"]{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;filter:none}
body.dsk-refined main img[data-media-kind="diagram"]{object-fit:contain;filter:none}
@media(max-width:900px){body.dsk-refined{--media-landscape-height:160px}}
@media(max-width:600px){body.dsk-refined{--media-product-width:152px;--media-landscape-height:120px}body.dsk-refined .style-detail>img[data-media-kind="product"],body.dsk-refined .style-main-visual>img[data-media-kind="product"]{max-width:320px}body.dsk-refined .guide-hero-figure img[data-media-kind],body.dsk-refined .dsk-reading .guide-hero-figure img[data-media-kind],body.dsk-refined.dsk-reading .guide-hero-figure img[data-media-kind]{max-width:480px}body.dsk-refined #production-in-practice .factory-figure figcaption{min-height:4.95em}}

/* Transparent 3D garments blend with the page paper; original on-model references remain available. */
body.dsk-refined main img[data-media-kind="product"]{background:transparent;filter:none}
body.dsk-refined main .style-card,body.dsk-refined main .style-main-visual,body.dsk-refined main .showroom-edit-image,body.dsk-refined main .home-latest-visual{background:transparent}
body.dsk-refined main img[src*="-3d-transparent-"]{background:transparent;filter:none;object-fit:contain;object-position:center;padding:10px;box-sizing:border-box}
body.dsk-refined main .style-view-button img[src*="-3d-transparent-"]{padding:2px}

/* Full-site photo audit: natural-height article photos and filled editorial frames. */
body.dsk-refined main img:is([data-media-kind="factory"],[data-media-kind="editorial"],[data-media-kind="knowledge"]){background:transparent}
body.dsk-refined main article figure:not(.guide-hero-figure) img:is([data-media-kind="factory"],[data-media-kind="editorial"]){display:block;width:100%;height:auto;max-height:none;object-fit:cover;margin:0;padding:0;border:0}
/* Yarn reference photos fill the photo frame; diagrams retain their full contents. */
body.dsk-refined main.kb img.photo:not([data-media-kind="diagram"]):not([data-media-kind="document"]),body.dsk-refined main .kb img.photo:not([data-media-kind="diagram"]):not([data-media-kind="document"]){height:auto;max-height:none;aspect-ratio:1;object-fit:cover;background:transparent;border:0}
body.dsk-refined main img.guide-photo:not([data-media-kind="diagram"]):not([data-media-kind="document"]){height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;background:transparent;border:0}
/* This source has thin baked-in side bars: a 4% crop removes them without altering the photograph. */
body.dsk-refined .knowledge-page #openwork .tech-grid>figure{overflow:hidden}
body.dsk-refined .knowledge-page #openwork img[src*="web-openwork-v4"]{width:104%;max-width:104%;margin-inline:-2%;height:auto;max-height:none;object-fit:cover}
