.case-study{--case-photo-radius: .65rem;--case-photo-shadow: 0 3px 14px rgb(25 29 27 / 12%)}.case-study .case-gallery__trigger,.case-study .proto-before-after__frame{border-radius:var(--case-photo-radius);box-shadow:var(--case-photo-shadow);background:transparent}.case-study .case-gallery__trigger img{transition:none}.case-study .case-gallery__trigger:hover img,.case-study .case-gallery__trigger:focus-visible img{transform:none}.case-text-media__media[hidden]{display:none}.case-prose-flow{display:flow-root}.case-prose-flow>p{display:block}.case-editorial-photo .case-gallery__item--portrait img{width:min(100%,calc(85svh * var(--case-photo-ratio)));max-width:100%;max-height:85svh;margin-inline:auto}.case-editorial-photo{margin:1.2rem 0}.case-editorial-photo .case-gallery__item{display:block}.case-editorial-photo .case-gallery figcaption{text-align:left}.case-reading-preference{display:flex;gap:.65rem;align-items:center;width:fit-content;margin:1.5rem 0 0;font-size:.9rem;cursor:pointer}.case-reading-preference input{width:1.15rem;height:1.15rem;accent-color:#876a2d}.case-reading-preference input:focus-visible{outline:2px solid #876a2d;outline-offset:4px}.case-hero__photo-open{position:absolute;z-index:4;left:1rem;top:1rem;bottom:auto;padding:.65rem .9rem;background:#f7f3eb;border:1px solid #876a2d;border-radius:.5rem;color:#17362b;cursor:zoom-in}.case-study--magazine .case-hero.case-hero--framed>picture{background:#f7f3eb!important}.case-study--magazine .case-hero__content>p{line-height:1.5}.case-study--magazine .case-text-media--wrapped .case-text-media__header{width:100%}.case-study--magazine .case-prose-flow{line-height:1.6}.case-study--magazine .case-prose-flow>p{margin:0 0 1.1rem}.case-study--magazine .case-section{clear:both}@media(min-width:1200px){.case-study--magazine .case-text-media--wrapped .case-prose-flow{max-width:900px;font-size:1.25rem}.case-study--magazine .case-prose-flow>p{font-size:1.25rem;line-height:1.6;text-align:justify;text-align-last:start;hyphens:auto}.case-study--magazine.case-study--left-align .case-prose-flow>p{text-align:left}.case-editorial-photo--inline-start{float:inline-start;width:44%;margin:.25rem 2rem 1rem 0}.case-editorial-photo--inline-end{float:inline-end;width:44%;margin:.25rem 0 1rem 2rem}.case-editorial-photo .case-gallery__item--portrait .case-gallery__trigger picture{display:flex;justify-content:center}.case-editorial-photo .case-gallery__item--portrait .case-gallery__trigger img{width:min(100%,calc(450px * var(--case-photo-ratio)));max-height:450px;max-width:100%}.case-editorial-photo .case-gallery__item--portrait .case-gallery__trigger{box-shadow:none}.case-editorial-photo .case-gallery__item--portrait img{border-radius:var(--case-photo-radius);box-shadow:var(--case-photo-shadow)}}.case-pair-detail{display:none}.case-comparison--separate .proto-before-after__frame,.case-comparison--desktop-pair .proto-before-after__frame{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;aspect-ratio:auto;max-height:none;background:transparent;overflow:visible}.case-comparison--desktop-pair{width:100%!important}.case-comparison--separate .proto-before-after__image,.case-comparison--desktop-pair .proto-before-after__image{position:relative;inset:auto;clip-path:none;width:100%;height:auto}.case-comparison--separate .proto-before-after__image :is(picture,img),.case-comparison--desktop-pair .proto-before-after__image :is(picture,img){position:static;display:block;width:100%;height:auto;object-fit:contain}.case-comparison--desktop-pair .proto-before-after__image img{aspect-ratio:var(--case-comparison-aspect-ratio, auto);object-fit:cover}.case-comparison--separate .proto-before-after__image figcaption,.case-comparison--desktop-pair .proto-before-after__image figcaption{position:static;margin-top:.5rem;padding:0;background:transparent;color:#44564e;font-size:1rem;border-radius:0}.case-comparison--separate .case-pair-detail,.case-comparison--desktop-pair .case-pair-detail{display:block;margin-top:.25rem;font-weight:400;line-height:1.55}.case-comparison--separate :is(.proto-before-after__control,.proto-before-after__handle,.proto-before-after__view-buttons),.case-comparison--desktop-pair :is(.proto-before-after__control,.proto-before-after__handle,.proto-before-after__view-buttons){display:none}@media(max-width:767px){.case-study--magazine .case-prose-flow>p{text-align:left}.case-comparison--mobile-sequence .proto-before-after__frame,.case-comparison--separate .proto-before-after__frame{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;aspect-ratio:auto;max-height:none;background:transparent;overflow:visible}.case-comparison--mobile-sequence .proto-before-after__image{position:relative;inset:auto;clip-path:none;width:100%;height:auto}.case-comparison--mobile-sequence .proto-before-after__image :is(picture,img){position:static;display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}.case-comparison--mobile-sequence .proto-before-after__image figcaption{position:static;padding:.4rem 0 0;margin:0;background:transparent;color:#44564e;font-size:.9rem}.case-comparison--mobile-sequence :is(.proto-before-after__control,.proto-before-after__handle,.proto-before-after__view-buttons){display:none}.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__frame{display:block;position:relative;aspect-ratio:3 / 4;overflow:hidden}.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__image{position:absolute;inset:0;height:100%}.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__image--before{clip-path:inset(0 calc(100% - var(--before-position)) 0 0)}.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__image :is(picture,img){height:100%;object-fit:cover}.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__image figcaption{position:absolute;top:.6rem;padding:.4rem .6rem;background:#222c;color:#fff;border-radius:2rem}.case-comparison--desktop-pair.case-comparison--portrait .case-pair-detail{display:none}.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__control,.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__handle{display:block}.case-comparison--desktop-pair.case-comparison--portrait .proto-before-after__view-buttons{display:flex}.case-study .case-gallery__item--portrait:only-child .case-gallery__trigger img{max-height:85svh;width:min(100%,calc(85svh * var(--case-photo-ratio)));max-width:100%;margin-inline:auto}.case-study .case-gallery__item--portrait:only-child .case-gallery__trigger picture{display:flex;justify-content:center}.case-study .case-gallery__item--portrait:only-child .case-gallery__trigger{box-shadow:none}}.case-lightbox[data-case-gallery-dialog]{position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;border:0;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important;background:#202020!important;color:#fff}.case-lightbox[data-case-gallery-dialog]::backdrop{background:#202020}.case-lightbox[data-case-gallery-dialog]>.case-lightbox__shell{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;width:100%!important;height:100%!important;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)!important;box-sizing:border-box;pointer-events:auto!important}.case-lightbox[data-case-gallery-dialog] .case-lightbox__toolbar{display:flex;align-items:center;gap:.6rem;padding:.4rem .65rem;min-height:3.3rem}.case-lightbox[data-case-gallery-dialog] [data-case-gallery-counter]{margin-right:auto;font-size:.85rem}.case-lightbox[data-case-gallery-dialog] .case-lightbox__toolbar button{position:static!important;inset:auto!important;transform:none!important;width:44px!important;height:44px!important;min-height:44px!important;background:#303030!important;box-shadow:none!important;backdrop-filter:none!important}.case-lightbox[data-case-gallery-dialog] .case-lightbox__toolbar button[hidden]{display:none!important}.case-lightbox[data-case-gallery-dialog] .case-lightbox__shell>figure{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;min-height:0;height:100%!important;width:100%;margin:0;overflow:hidden;pointer-events:auto!important}.case-lightbox[data-case-gallery-dialog] .case-lightbox__media{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0;display:grid!important;place-items:center!important;padding:0 .35rem!important;box-sizing:border-box;background:transparent!important;overflow:hidden!important;scrollbar-gutter:auto!important;pointer-events:auto!important}.case-lightbox[data-case-gallery-dialog] .case-lightbox__media img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;margin:auto!important;object-fit:contain!important;border-radius:.35rem!important}.case-lightbox[data-case-gallery-dialog] figcaption{position:static!important;width:100%;max-width:70rem;max-height:22dvh!important;min-height:0;margin:0 auto!important;padding:.65rem .9rem!important;box-sizing:border-box;overflow-y:auto;background:transparent!important;color:#eee;font-size:.95rem!important;line-height:1.45;text-align:left}.case-lightbox[data-case-gallery-dialog] figcaption[hidden]{display:none!important}.case-lightbox[data-case-gallery-dialog] .case-lightbox__media.is-document{display:block!important;overflow:auto!important}.case-lightbox[data-case-gallery-dialog] .case-lightbox__media.is-document img{width:70rem!important;max-width:none!important;max-height:none!important}
