.dm-project-references:has([data-dual-project-gallery]){background:#eae9e3}
.dm-project-references:has([data-dual-project-gallery]) .dm-section__head{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);align-items:end;margin-bottom:36px}
.dm-project-references:has([data-dual-project-gallery]) .dm-heading{display:contents}
.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-eyebrow{grid-column:1/-1;margin:0}
.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-title{grid-column:1;margin:0;font-size:clamp(48px,5.5vw,82px);line-height:1;letter-spacing:-.045em}
.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-title em{font-family:Georgia,serif;font-weight:400}
.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-rte{grid-column:2;max-width:370px;margin:0 0 5px;font-size:17px;line-height:1.6}
.dm-home-projects__tabs{display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--dm-line);margin-bottom:18px}
.dm-home-projects__tabs button{appearance:none;background:transparent;border:0;border-bottom:2px solid transparent;margin:0;padding:18px 0;color:#6d726f;font:500 18px/1.2 var(--dm-font-body);cursor:pointer}
.dm-home-projects__tabs button[aria-selected="true"]{border-bottom-color:#111311;color:#111311}
.dm-home-projects__tabs button:focus-visible{outline:2px solid #111311;outline-offset:4px}
.dm-home-projects__tabs span{margin-left:auto;color:#6d726f;font:600 11px/1.2 var(--dm-font-data);letter-spacing:.12em}
.dm-home-projects__panel[hidden]{display:none}
.dm-home-projects__grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px 14px}
.dm-home-projects__item{display:flex;flex-direction:column;grid-column:span 6;min-width:0;margin:0}
.dm-home-projects__item--large{grid-column:span 7;grid-row:span 2}
.dm-home-projects__item--large+.dm-home-projects__item,.dm-home-projects__item--large+.dm-home-projects__item+.dm-home-projects__item{grid-column:span 5}
.dm-home-projects__image-button,.dm-home-projects__pending{display:block;flex:1 1 auto;width:100%;height:clamp(210px,18vw,330px);min-height:0;padding:0;border:0;background:#d2d5cf;overflow:hidden}
.dm-home-projects__item--large .dm-home-projects__image-button,.dm-home-projects__item--large .dm-home-projects__pending{height:clamp(440px,38vw,684px)}
.dm-home-projects__image-button{cursor:zoom-in}
.dm-home-projects__image-button picture,.dm-home-projects__image-button img{display:block;width:100%;height:100%}
.dm-home-projects__image-button img{object-fit:cover;transition:transform .7s ease}
.dm-home-projects__image-button:hover img{transform:scale(1.02)}
.dm-home-projects__pending{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,transparent calc(50% - .5px),#d5d5d0 50%,transparent calc(50% + .5px)),linear-gradient(45deg,transparent calc(50% - .5px),#d5d5d0 50%,transparent calc(50% + .5px)),#eae9e3;border:1px solid #deded8}
.dm-home-projects__item figcaption{display:flex;flex:0 0 auto;justify-content:space-between;gap:20px;padding-top:10px;font-size:14px;line-height:1.4}
.dm-home-projects__item figcaption a{color:inherit;text-decoration:none;border-bottom:1px solid currentColor}
.dm-home-projects__item figcaption small{color:#6d726f;font-size:12px;text-align:right}
.dm-home-projects__dialog{position:fixed;inset:0;max-width:min(94vw,1600px);max-height:94vh;padding:24px;border:0;background:#151715}
.dm-home-projects__dialog::backdrop{background:rgba(0,0,0,.82)}
.dm-home-projects__dialog img{display:block;max-width:100%;max-height:calc(94vh - 48px);object-fit:contain;margin:auto}
.dm-home-projects__dialog button{position:absolute;top:0;right:0;width:44px;height:44px;border:0;background:#151715;color:#fff;font-size:28px;cursor:pointer}
@media(max-width:989px){.dm-project-references:has([data-dual-project-gallery]) .dm-section__head{grid-template-columns:1fr;gap:16px}.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-title,.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-rte{grid-column:1}.dm-home-projects__item--large .dm-home-projects__image-button,.dm-home-projects__item--large .dm-home-projects__pending{height:500px}}
@media(max-width:749px){.dm-project-references:has([data-dual-project-gallery]) .dm-section__head{margin-bottom:22px}.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-title{font-size:clamp(38px,10vw,52px)}.dm-project-references:has([data-dual-project-gallery]) .dm-heading .dm-rte{font-size:16px}.dm-home-projects__tabs{gap:20px;white-space:nowrap}.dm-home-projects__tabs button{min-height:44px;font-size:15px}.dm-home-projects__tabs span{font-size:10px}.dm-home-projects__grid{gap:20px 10px}.dm-home-projects__item,.dm-home-projects__item--large+.dm-home-projects__item,.dm-home-projects__item--large+.dm-home-projects__item+.dm-home-projects__item{grid-column:span 6}.dm-home-projects__item--large{grid-column:1/-1;grid-row:auto}.dm-home-projects__image-button,.dm-home-projects__pending{flex:0 0 auto;height:auto;aspect-ratio:1/1}.dm-home-projects__item--large .dm-home-projects__image-button,.dm-home-projects__item--large .dm-home-projects__pending{height:auto;aspect-ratio:5/4}.dm-home-projects__item figcaption{display:block;font-size:13px}.dm-home-projects__item figcaption small{display:block;margin-top:5px;text-align:left;font-size:11px}}
@media(prefers-reduced-motion:reduce){.dm-home-projects__image-button img{transition:none}}
