@font-face{font-family:Inter;src:url("../../../../fonts/inter/Inter-variable.ttf") format('truetype');font-weight:100 900;font-display:swap}
.dw-case{font-family:Inter,Arial,sans-serif;--dw-accent:#c7b8ff;--dw-paper:#faf9ff;--dw-text:#25212f}
.dw-case *{min-width:0}.dw-case .dw-kicker{margin:0 0 18px;color:var(--dw-accent);font-size:12px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;line-height:1.5}
section.dw-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.75fr);gap:clamp(28px,5vw,80px);align-items:center;padding:clamp(24px,3vw,44px);margin-block:28px 32px;background:#29292b;border-radius:24px;color:#fff}
.dw-hero h1#case-title{margin:0 0 20px;font-size:clamp(42px,6.1vw,92px);letter-spacing:-.055em;line-height:1.02;color:#fff}
.dw-hero .dw-lead{margin:0 0 22px;font-size:clamp(28px,3.4vw,49px);font-weight:650;line-height:1.12;letter-spacing:-.04em;color:#fff}
.dw-hero .dw-summary{font-size:16px;line-height:1.65;color:#eeedf1;max-width:650px;margin:0}
.dw-facts{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-top:26px;border-top:1px solid #626066;padding-top:22px}.dw-facts span{display:block;color:#d0cbd7;font-size:12px;margin-bottom:6px}.dw-facts strong{font-size:16px;line-height:1.45;font-weight:600}
.dw-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px 24px;margin-top:28px}.dw-primary{display:inline-flex;padding:13px 20px;border-radius:99px;background:#d6ef4d;color:#211f24;font-size:14px;font-weight:750;text-decoration:none;border-color:transparent;}.dw-primary:hover{background:#e5fa84}.dw-primary:active{background:#bfd62f}.dw-secondary{font-size:14px;font-weight:650;color:#c7b8ff;text-decoration:none}.dw-secondary:hover{text-decoration:underline}.dw-secondary:active{color:#fff}
.dw-cover{margin:0;max-width:470px;justify-self:center;width:100%;transform:rotate(2deg)}.dw-cover img{display:block;width:100%;height:auto;border-radius:18px}.dw-cover figcaption{font-size:12px;text-align:center;color:#d0cbd7;margin-top:12px;line-height:1.5}
.dw-services{padding:clamp(24px,3vw,40px);background:#5940c7;color:#fff;border-radius:24px;margin-block:0 36px}.dw-services .dw-kicker{color:#fff;margin-bottom:12px}.dw-services h2{margin:0;font-size:clamp(28px,3vw,43px);line-height:1.15;letter-spacing:-.035em;max-width:900px}.dw-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}.dw-service-grid article{padding:24px;background:#faf9ff;color:#25212f;border-radius:18px}.dw-number{display:inline-flex;align-items:center;justify-content:center;background:#f3aff6;color:#25212f;font-size:14px;font-weight:750;border-radius:50%;width:38px;height:38px}.dw-service-grid h3{font-size:20px;line-height:1.2;letter-spacing:-.025em;margin:22px 0 12px}.dw-service-grid p{font-size:15px;line-height:1.65;margin:0;color:#25212f}
.dw-case .project-directory{padding-top:0}.dw-case .project-section{margin-block:0 32px}.dw-case .project-section-head{margin-bottom:20px}.dw-case .project-section-head h2,.dw-case .case-category-head h2{font-size:clamp(26px,3vw,38px);line-height:1.15;letter-spacing:-.035em}.dw-gallery-note{font-size:16px;line-height:1.6;color:var(--muted);margin:0 0 20px;max-width:720px}.dw-case .dw-photos{margin-top:0;padding-bottom:12px}.dw-case .project-entry{transition:transform 180ms ease,filter 180ms ease}.dw-case .project-entry:hover{transform:scale(.992);filter:brightness(.96)}.dw-case .project-entry:active{transform:scale(.984);filter:brightness(.92)}
.dw-case :is(a,.zoomable):focus-visible{outline:3px solid var(--dw-accent);outline-offset:5px}.dw-brand-intro{padding:32px!important;margin-block:28px 32px!important;border-radius:24px;background:#29292b;color:#fff}.dw-brand-intro h1{color:#fff;font-size:clamp(34px,4vw,60px)}.dw-brand-intro p:not(.dw-kicker){color:#eeedf1;font-size:18px;line-height:1.6;max-width:1000px}.dw-brand-intro .dw-kicker{color:#c7b8ff}
:root[data-theme=light] .dw-case{--dw-accent:#603ac5}:root[data-theme=light] .dw-hero .dw-kicker{color:#c7b8ff}:root[data-theme=light] .dw-case .dw-services .dw-kicker{color:#fff}
@media(max-width:1000px){.dw-service-grid{grid-template-columns:1fr}.dw-service-grid article{display:grid;grid-template-columns:38px 1fr;gap:0 18px}.dw-service-grid h3{margin:6px 0 12px}.dw-service-grid p{grid-column:2}.dw-hero .dw-summary{font-size:15px}.dw-actions{gap:16px}}
@media(max-width:700px){section.dw-hero{grid-template-columns:1fr;padding:24px 20px;margin-block:20px 24px;gap:28px}.dw-hero h1#case-title{font-size:clamp(36px,10vw,64px)}.dw-cover{max-width:380px;transform:none}.dw-services{padding:24px 20px;margin-bottom:28px}.dw-service-grid article{padding:20px;display:block}.dw-service-grid h3{margin:18px 0 12px}.dw-case .dw-kicker{font-size:11px;letter-spacing:.09em}.dw-brand-intro{padding:24px 20px!important}.dw-brand-intro p:not(.dw-kicker){font-size:16px}.dw-brand-intro h1{font-size:34px}.dw-facts{gap:16px}.dw-facts strong{font-size:14px}.dw-case .project-section{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.dw-cover{transform:none}.dw-case *{scroll-behavior:auto!important;transition:none!important}.dw-case .project-entry:hover,.dw-case .project-entry:active{transform:none}}

/* Single-page case: image feedback and compact section rhythm. */
.dw-case img.zoomable{cursor:pointer;transition:transform 180ms ease,filter 180ms ease}
.dw-case img.zoomable:hover{transform:scale(.992);filter:brightness(.96)}
.dw-case img.zoomable:active{transform:scale(.984);filter:brightness(.92)}
.dw-case .dm-brand-case .case-category{margin-top:32px;padding-bottom:0}
.dw-case .dm-brand-case{padding-bottom:32px}
@media(max-width:700px){.dw-case .dm-brand-case .case-category{margin-top:24px}.dw-case .dm-brand-case{padding-bottom:24px}}
@media(prefers-reduced-motion:reduce){.dw-case img.zoomable:hover,.dw-case img.zoomable:active{transform:none}}

/* Keep source details: small photos are never stretched to fill the viewer. */
.dw-cover{transform:none}
.dw-case .case-item img{height:min(clamp(190px,24vw,290px),var(--dw-source-height,290px));width:auto;max-width:78vw}
.dw-case .brand-tile-grid figure{max-width:537px;justify-self:center;width:100%}
.lightbox img{width:auto;height:auto;max-width:100%;max-height:100%;margin:auto;object-fit:contain}
dialog.lightbox[open]{display:flex;align-items:center;justify-content:center}
@media(max-width:700px){.dw-case .case-item img{height:min(220px,var(--dw-source-height,220px))}}

/* Reference composition: introduction above a photo-and-story inset. */
.dw-reference-shell{margin-block:28px 32px;padding:clamp(22px,3.2vw,48px);background:#282828;color:#f5f5f5;border-radius:24px}
.dw-reference-shell section.dw-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:clamp(28px,5vw,72px);padding:0;margin:0 0 40px;background:transparent;border-radius:0;align-items:center}
.dw-reference-shell .dw-hero h1#case-title{font-size:clamp(38px,5vw,68px);margin-bottom:14px}
.dw-reference-shell .dw-lead{font-size:clamp(25px,3.1vw,42px);line-height:1.15;margin-bottom:20px}
.dw-reference-shell .dw-summary{font-size:15px;line-height:1.65;color:#eeeeee}
.dw-reference-shell .dw-facts{border:0;padding:0;margin-top:26px;gap:24px}
.dw-reference-shell .dw-facts span{color:#d3d3d3}.dw-reference-shell .dw-facts strong{color:#f5f5f5}
.dw-reference-shell .dw-cover{max-width:300px;width:100%;margin:0;transform:none;justify-self:center}
.dw-reference-shell .dw-cover img{width:100%;height:auto;border-radius:18px}
.dw-reference-shell .dw-services{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1.15fr);gap:clamp(28px,5vw,64px);align-items:start;margin:0;padding:clamp(24px,3vw,40px);background:#333333;color:#f5f5f5;border-radius:18px}
.dw-detail-photo{width:100%;max-width:280px;justify-self:center;margin:0}
.dw-detail-photo img{display:block;width:100%;height:auto;border-radius:10px}
.dw-reference-shell .dw-services h2{font-size:clamp(23px,2.5vw,32px);line-height:1.2;color:#f5f5f5}
.dw-reference-shell .dw-services .dw-kicker{color:#d3d3d3;margin-bottom:10px}
.dw-reference-shell .dw-service-grid{display:grid;grid-template-columns:1fr;gap:20px;margin-top:24px}
.dw-reference-shell .dw-service-grid article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:0 12px;padding:0;background:transparent;border-radius:0;color:#f5f5f5}
.dw-reference-shell .dw-number{width:26px;height:26px;background:#dddddd;color:#282828;font-size:11px;grid-row:1/span 2}
.dw-reference-shell .dw-service-grid h3{font-size:16px;line-height:1.4;margin:1px 0 6px;color:#f5f5f5}
.dw-reference-shell .dw-service-grid p{grid-column:2;font-size:14px;line-height:1.6;color:#eeeeee}
.dw-reference-shell .dw-actions{margin-top:26px;gap:16px}
.dw-reference-shell .dw-primary{background:#5940e8;color:#ffffff;border-radius:10px;border-color:transparent;}
.dw-reference-shell .dw-primary:hover{background:#4930d0}.dw-reference-shell .dw-primary:active{background:#3d26b5}
.dw-reference-shell .dw-secondary{color:#d3c7ff}.dw-reference-shell .dw-secondary:active{color:#ffffff}
.dw-reference-shell :is(a,.zoomable):focus-visible{outline-color:#ddd1ff}
@media(max-width:760px){.dw-reference-shell{padding:22px 18px;margin-block:20px 24px}.dw-reference-shell section.dw-hero{grid-template-columns:1fr;gap:24px;margin-bottom:28px}.dw-reference-shell .dw-cover{max-width:260px}.dw-reference-shell .dw-services{grid-template-columns:1fr;padding:22px 18px;gap:26px}.dw-detail-photo{max-width:260px}.dw-reference-shell .dw-service-grid{gap:20px}.dw-reference-shell .dw-facts{grid-template-columns:1fr 1fr}}

/* DIAMOWER: static photos; eight collection tiles in two rows. */
.dw-case img.dw-static-photo{cursor:default;transition:none;transform:none;filter:none}
.dw-case #diamower-web .brand-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
@media(max-width:850px){.dw-case #diamower-web .brand-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:480px){.dw-case #diamower-web .brand-tile-grid{grid-template-columns:1fr;gap:20px}}

/* Each campaign: horizontal master and wide adaptation beside the portrait. */
.dw-campaign-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.dw-campaign-pair .brand-campaign{margin:0;padding:0;border:0}
.dw-campaign-pair .brand-campaign h3{font-size:20px;line-height:1.3;margin:0 0 18px}
.dw-campaign-pair .brand-adapt-grid{display:grid;grid-template-columns:minmax(0,2.13fr) minmax(0,1fr);gap:16px;align-items:start}
.brand-horizontal-stack{display:grid;gap:16px;align-content:start}
.dw-campaign-pair .brand-adapt-grid>figure{width:100%;grid-column:auto;grid-row:auto;justify-self:stretch}
.dw-campaign-pair .brand-adapt-grid img{width:100%;height:auto;object-fit:contain}
.dw-campaign-pair .brand-adapt-grid figcaption{font-size:12px;line-height:1.5;margin-top:8px}
@media(max-width:1100px){.dw-campaign-pair{grid-template-columns:1fr;gap:32px}}
@media(max-width:540px){.dw-campaign-pair .brand-adapt-grid{grid-template-columns:1fr;gap:18px}.dw-campaign-pair .brand-adapt-grid>figure{width:min(100%,280px);justify-self:center}}

/* Align complete banner groups without captions or image cropping. */
.dw-campaign-pair .brand-adapt-grid{grid-template-columns:minmax(0,1fr) minmax(0,.48fr);gap:16px;align-items:stretch}
.dw-campaign-pair .brand-horizontal-stack{display:flex;flex-direction:column;justify-content:space-between;gap:16px}
.dw-campaign-pair .brand-horizontal-stack figure{flex:none;width:100%}
.dw-campaign-pair .brand-adapt-grid>figure{align-self:start;width:100%}
.dw-campaign-pair .brand-adapt-grid img{display:block;width:100%;height:auto}
@media(max-width:540px){.dw-campaign-pair .brand-adapt-grid{grid-template-columns:1fr;gap:18px}.dw-campaign-pair .brand-adapt-grid>figure{width:min(100%,280px);justify-self:center}}

/* Spring campaigns followed by the school campaign on the right. */
.dw-campaign-pair{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media(max-width:1200px){.dw-campaign-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
@media(max-width:900px){.dw-campaign-pair{grid-template-columns:1fr;gap:32px}}

.dw-example-heading{font-size:20px;line-height:1.35;color:var(--ink);margin:0 0 18px}
.dw-client-examples{align-items:start}

/* Equal image heights with the full original compositions visible. */
.dw-case .dw-client-examples{grid-template-columns:minmax(0,3.0fr) minmax(0,1.802997858672377fr);align-items:start}
.dw-case .dw-client-examples img{display:block;width:100%;height:auto}
@media(max-width:620px){.dw-case .dw-client-examples{grid-template-columns:1fr}}

/* Материалы заказчика: два баннера слева, широкий справа. */
.dw-case .dw-client-examples{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:20px;align-items:center}
.dw-case .dw-client-banner-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
.dw-case .dw-client-examples figure{margin:0;min-width:0;width:100%}
.dw-case .dw-client-examples img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:760px){.dw-case .dw-client-examples{grid-template-columns:minmax(0,1fr);gap:16px}.dw-case .dw-client-banner-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}}
@media(max-width:420px){.dw-case .dw-client-banner-stack{grid-template-columns:minmax(0,1fr)}}

/* Шапка DIAMOWER: авторский баннер и чистая магазинная композиция. */
.dw-case .dw-reference-shell{padding:0;margin-block:24px 48px;background:transparent;color:#f4f3f0;border-radius:0}
.dw-storefront-banner{display:block;width:100%;margin:0 0 40px;overflow:visible}
.dw-storefront-banner img{display:block;width:100%;height:auto;max-height:none;border-radius:0!important}
.dw-case .dw-reference-shell section.dw-hero{display:block;padding:0 0 32px;margin:0 0 36px;border-bottom:1px solid #494745;background:transparent;border-radius:0}
.dw-case .dw-hero-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(32px,5vw,80px);align-items:start}
.dw-case .dw-reference-shell .dw-hero .dw-kicker{grid-column:1;margin:0 0 14px;color:#ccc5b9;font-size:11px;font-weight:500;letter-spacing:.16em}
.dw-case .dw-reference-shell .dw-hero h1#case-title{grid-column:1;margin:0 0 18px;font-size:clamp(34px,4vw,64px);font-weight:500;letter-spacing:-.04em;line-height:1.05;color:#f4f3f0}
.dw-case .dw-reference-shell .dw-lead{grid-column:1;font-size:clamp(24px,2.6vw,38px);line-height:1.25;font-weight:400;letter-spacing:-.025em;margin:0}
.dw-case .dw-reference-shell .dw-summary{grid-column:2;grid-row:1 / span 3;max-width:640px;margin:0;font-size:17px;line-height:1.75;color:#d7d3cc}
.dw-case .dw-reference-shell .dw-facts{grid-column:2;grid-template-columns:1.5fr 1fr;margin:24px 0 0;padding:0;gap:24px}
.dw-case .dw-reference-shell .dw-facts span{color:#bdb7ad;font-size:12px}
.dw-case .dw-reference-shell .dw-facts strong{color:#f4f3f0;font-size:14px;font-weight:500}
.dw-case .dw-reference-shell .dw-services{grid-template-columns:minmax(180px,.62fr) minmax(0,1.38fr);padding:0;margin:0;background:transparent;border-radius:0;gap:clamp(32px,5vw,80px)}
.dw-case .dw-reference-shell .dw-detail-photo{max-width:340px;justify-self:start}
.dw-case .dw-reference-shell .dw-detail-photo img{border-radius:0!important}
.dw-case .dw-reference-shell .dw-services .dw-kicker{color:#bdb7ad;font-weight:500;letter-spacing:.16em}
.dw-case .dw-reference-shell .dw-services h2{color:#f4f3f0;font-size:clamp(26px,3vw,42px);font-weight:400;line-height:1.2}
.dw-case .dw-reference-shell .dw-service-grid{gap:0;margin-top:28px}
.dw-case .dw-reference-shell .dw-service-grid article{grid-template-columns:30px minmax(0,1fr);gap:0 16px;padding:18px 0;border-top:1px solid #494745}
.dw-case .dw-reference-shell .dw-number{background:transparent;color:#bdb7ad;font-size:12px;width:auto;height:auto;justify-content:start;align-items:start;line-height:1.7;border-radius:0}
.dw-case .dw-reference-shell .dw-service-grid h3{font-weight:500;font-size:17px;color:#f4f3f0}
.dw-case .dw-reference-shell .dw-service-grid p{color:#d7d3cc;font-size:15px;line-height:1.7}
.dw-case .dw-reference-shell .dw-primary{border:1px solid transparent;background:#f4f3f0;color:#171615;border-radius:0;padding:14px 22px;font-weight:500}
.dw-case .dw-reference-shell .dw-primary:hover{background:#ddd8cf;border-color:transparent}
.dw-case .dw-reference-shell .dw-primary:active{background:#c9c1b5}
.dw-case .dw-reference-shell .dw-secondary{color:#f4f3f0;font-weight:500;text-underline-offset:6px}
.dw-case .dw-reference-shell a:focus-visible{outline:2px solid #c7b8ff;outline-offset:5px}
:root[data-theme=light] .dw-case .dw-reference-shell{color:#211f24}
:root[data-theme=light] .dw-case .dw-reference-shell :is(.dw-hero h1#case-title,.dw-lead,.dw-services h2,.dw-service-grid h3,.dw-facts strong,.dw-secondary){color:#211f24}
:root[data-theme=light] .dw-case .dw-reference-shell :is(.dw-summary,.dw-service-grid p){color:#514b55}
:root[data-theme=light] .dw-case .dw-reference-shell :is(.dw-kicker,.dw-services .dw-kicker,.dw-number,.dw-facts span){color:#625c69}
:root[data-theme=light] .dw-case .dw-reference-shell :is(section.dw-hero,.dw-service-grid article){border-color:#c9c3cc}
:root[data-theme=light] .dw-case .dw-reference-shell .dw-primary{background:#211f24;border-color:transparent;color:#fff}
:root[data-theme=light] .dw-case .dw-reference-shell .dw-primary:hover{background:#403a49}
:root[data-theme=light] .dw-case .dw-reference-shell .dw-primary:active{background:#514b55}
@media(max-width:760px){
.dw-case .dw-reference-shell{margin-block:18px 32px}
.dw-storefront-banner{margin-bottom:28px}
.dw-case .dw-hero-copy{grid-template-columns:minmax(0,1fr)}
.dw-case .dw-reference-shell .dw-summary{grid-column:1;grid-row:auto;margin-top:24px;font-size:16px}
.dw-case .dw-reference-shell .dw-facts{grid-column:1;margin-top:24px}
.dw-case .dw-reference-shell .dw-services{grid-template-columns:minmax(0,1fr);gap:28px}
.dw-case .dw-reference-shell .dw-detail-photo{display:block;width:min(100%,280px)}
.dw-case .dw-reference-shell section.dw-hero{padding-bottom:28px;margin-bottom:28px}
.dw-case .dw-reference-shell .dw-service-grid article{padding:16px 0}
}

/* Бренд-зона по расположению Вероники: 18/19, 17/20, затем коллекции. */
.dw-case #diamower-web .dw-storefront-heroes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 32px;align-items:start}
.dw-case #diamower-web .dw-storefront-heroes figure,.dw-case #diamower-web .dw-storefront-tiles figure{min-width:0;max-width:none;width:100%;margin:0;padding:0;justify-self:stretch}
.dw-case #diamower-web .dw-storefront-heroes img,.dw-case #diamower-web .dw-storefront-tiles img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0!important}
.dw-case #diamower-web .dw-storefront-tiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;align-items:start}
@media(max-width:1000px){.dw-case #diamower-web .dw-storefront-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}
@media(max-width:700px){.dw-case #diamower-web .dw-storefront-heroes{grid-template-columns:1fr;gap:16px;margin:20px 0 24px}.dw-case #diamower-web .dw-storefront-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Customer banner review: matched thumbnail frames and a centered wide banner. */
.dw-case .dw-client-examples{grid-template-columns:minmax(0,1fr) minmax(0,2.8fr);gap:20px;align-items:center}
.dw-case .dw-client-banner-stack{grid-template-columns:minmax(0,1fr);gap:14px;align-content:center}
.dw-case .dw-client-banner-stack figure{aspect-ratio:2.25;overflow:hidden;background:transparent}
.dw-case .dw-client-banner-stack img{width:100%;height:100%;object-fit:contain;object-position:center}
.dw-case .dw-client-examples>figure:last-child{aspect-ratio:3;align-self:center;overflow:hidden}
.dw-case .dw-client-examples>figure:last-child img{width:100%;height:100%;object-fit:contain;object-position:center}
/* Larger, consistent image frames across all 19 fashion generations. */
.dw-case #diamower-photos .case-group{align-items:stretch;gap:18px}
.dw-case #diamower-photos .case-item{width:clamp(340px,34vw,480px);height:clamp(300px,30vw,400px);flex:none;overflow:hidden;align-items:center;justify-content:center}
.dw-case #diamower-photos .case-item img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
@media(max-width:760px){
.dw-case .dw-client-examples{grid-template-columns:minmax(0,1fr);gap:16px}
.dw-case .dw-client-banner-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dw-case .dw-client-banner-stack figure{aspect-ratio:2.25}
.dw-case #diamower-photos .case-item{width:min(78vw,360px);height:320px}
}
@media(max-width:420px){.dw-case .dw-client-banner-stack{grid-template-columns:minmax(0,1fr)}}
.dw-case .dw-client-examples{align-items:start}.dw-case .dw-client-banner-stack{align-content:start}.dw-case .dw-client-banner-stack figure{aspect-ratio:auto;margin:0;width:100%}.dw-case .dw-client-banner-stack img{display:block;width:100%;height:auto;object-fit:contain}.dw-case .dw-client-examples>figure:last-child{align-self:start;margin:0;aspect-ratio:auto}.dw-case .dw-client-examples>figure:last-child img{display:block;width:100%;height:auto}

/* Крупные генерации в двух равных рядах. */
.dw-case #diamower-photos .case-group{display:grid;grid-template-rows:repeat(2,340px);grid-auto-flow:column;grid-auto-columns:460px;gap:18px;padding-right:18px;align-items:stretch}
.dw-case #diamower-photos .case-item{box-sizing:border-box;width:460px;height:340px;max-width:none;margin:0;padding:0;overflow:hidden}
.dw-case #diamower-photos .case-item img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:center}
.dw-case #diamower-photos:hover .case-track,.dw-case #diamower-photos:focus-within .case-track{animation-play-state:paused}
@media(max-width:700px){.dw-case #diamower-photos .case-group{grid-template-rows:repeat(2,240px);grid-auto-columns:320px;gap:12px;padding-right:12px}.dw-case #diamower-photos .case-item{width:320px;height:240px}}
@media(prefers-reduced-motion:reduce){.dw-case #diamower-photos .case-track{animation:none}.dw-case #diamower-photos{overflow-x:auto}}

/* Суммарная высота двух левых баннеров равна высоте широкого. */
@media(min-width:761px){.dw-case .dw-client-examples{grid-template-columns:calc(25.29743306% - 15.68440850px) minmax(0,1fr);gap:20px}.dw-case .dw-client-banner-stack{gap:14px}}

/* Подача материалов по согласованным композициям MEA и MORIKI DORIKI. */
.dw-case #diamower-client-examples{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr);gap:16px 32px;align-items:start;margin-block:36px;padding:28px;border-radius:24px;background:#1c1c1c;color:#fff}
.dw-case #diamower-client-examples .case-category-head{grid-column:1;margin:0}
.dw-case #diamower-client-examples .case-category-head h2{font-size:clamp(25px,2.5vw,36px);line-height:1.15;color:#fff;margin:0}
.dw-case #diamower-client-examples .brand-section-note{grid-column:1;font-size:16px;line-height:1.6;color:#eeeef1;margin:0}
.dw-case #diamower-client-examples .dw-source-label{grid-column:1;justify-self:start;margin:0;padding:6px 12px;border:0;border-radius:999px;background:#454549;color:#fff;font-size:13px;line-height:1.5;font-weight:600}
.dw-case #diamower-client-examples .dw-client-examples{grid-column:2;grid-row:1/4;width:100%;margin:0}
.dw-case #diamower-teasers{background:#7333cc;color:#fff;border-radius:24px;padding:28px;margin-block:28px}
.dw-case #diamower-teasers .case-category-head{margin:0 0 16px}
.dw-case #diamower-teasers h2{color:#fff;font-size:clamp(28px,3vw,42px);line-height:1.15;margin:0}
.dw-case #diamower-teasers .dw-authored-intro{max-width:800px;color:#fff;font-size:16px;line-height:1.6;margin:0 0 24px}
.dw-case #diamower-teasers .brand-teaser-grid{gap:18px}
.dw-case #diamower-teasers .brand-teaser-grid figure{margin:0}
.dw-case #diamower-teasers .brand-teaser-grid img{border-radius:14px}
.dw-case .dw-editorial-label{display:none}
@media(max-width:900px){.dw-case #diamower-client-examples{grid-template-columns:1fr;gap:16px}.dw-case #diamower-client-examples .dw-client-examples{grid-column:1;grid-row:auto}}
@media(max-width:600px){.dw-case #diamower-client-examples,.dw-case #diamower-teasers{padding:20px 18px;margin-block:24px;border-radius:20px}.dw-case #diamower-teasers .brand-teaser-grid{gap:12px}}

/* Обе серии: плотные ряды, полный кадр, единая высота без пустых ячеек. */
.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos){display:grid;gap:14px;padding:0}
.dw-case .dw-photo-row{overflow:hidden;min-width:0}
.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos) .case-group{display:flex;align-items:start;gap:14px;padding-right:14px;grid-template-rows:none;grid-auto-columns:auto}
.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos) .case-item{display:block;width:auto;height:300px;max-width:none;margin:0;padding:0;flex:none;overflow:hidden;border-radius:14px}
.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos) .case-item img{display:block;width:auto;height:300px;max-width:none;max-height:none;object-fit:contain;border-radius:14px}
.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos):hover .case-track{animation-play-state:paused}
.dw-case #diamower-generations .brand-section-note,.dw-case #diamower-ai .dw-gallery-note{margin-bottom:20px}
@media(max-width:700px){.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos) .case-item,.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos) .case-item img{height:230px}.dw-case :is(#diamower-photos,#diamower-brand-generations,#diamower-dress-photos){gap:12px}}
@media(prefers-reduced-motion:reduce){.dw-case .dw-photo-row{overflow-x:auto}.dw-case .dw-photo-row .case-track{animation:none}}

.dw-case #diamower-teasers{background:transparent;color:var(--ink);padding:0;border-radius:0}.dw-case #diamower-teasers h2{color:var(--ink)}.dw-case #diamower-teasers .dw-authored-intro{color:var(--muted)}

/* Вариант 11: непрерывная лента с полной копией ряда и паузой при взаимодействии. */
.dw-case #diamower-dress-photos .dw-photo-row{overflow:hidden;padding-bottom:0}
@media(prefers-reduced-motion:reduce){.dw-case #diamower-dress-photos .dw-photo-row{overflow-x:auto;scrollbar-width:thin;padding-bottom:10px}}

/* Вариант 11: интервалы баннеров и следующей фотосерии без сложения полей. */
.dw-case .dw-brand-sections{padding-bottom:0}
.dw-case #diamower-teasers{margin-bottom:0}
.dw-case #diamower-teasers .case-category-head{margin-bottom:12px}
.dw-case #diamower-teasers .dw-authored-intro{margin-bottom:16px}
.dw-case #diamower-dress{margin-top:32px}
@media(max-width:700px){.dw-case #diamower-dress{margin-top:24px}}
