/* Generated by scripts/bundle-page-styles.py. Edit the ordered source files. */

/* Source: projects/autodepot/case.css */

:root{--paper:#f7f3ea;--ink:#17171b;--accent:#e53624;--teal:#3f6f72;--rule:rgba(23,23,27,.2)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,sans-serif}.shell,.ad-shell{width:min(1240px,calc(100% - 80px));margin-inline:auto}.ad-case{overflow:clip}.ad-case figure{margin:0}.ad-case p{font-size:18px;line-height:1.65;margin:0}.ad-case a{color:inherit}.ad-case h1,.ad-case h2{font-weight:400}.ad-skip{position:fixed;top:-80px;left:20px;z-index:9999;padding:12px;background:white}.ad-skip:focus{top:12px}
.ad-eyebrow,.ad-label,.ad-case dt,.ad-case small,.ad-case figcaption,.ad-route-number,.ad-endlinks{font:400 11px/1.5 'Azeret Mono',monospace;letter-spacing:.045em;text-transform:uppercase}.ad-eyebrow{color:var(--accent)}.ad-hero{padding-top:64px}.ad-hero h1{font-size:clamp(60px,12.5vw,172px);line-height:1;letter-spacing:-.075em;margin:26px 0 36px}.ad-hero-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:10%;align-items:end;margin-bottom:48px}.ad-case .ad-deck{font-size:clamp(25px,2.7vw,37px);line-height:1.25;letter-spacing:-.04em;max-width:660px}.ad-facts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0}.ad-case dt,.ad-case small{display:block;color:#595951;margin-bottom:9px}.ad-case dd{margin:0;font-size:14px;line-height:1.55}.ad-image{position:relative;line-height:0}.ad-image img{width:100%;height:auto;display:block;filter:none;opacity:1;mix-blend-mode:normal}.ad-case figcaption{margin-top:12px;color:#595951;font-size:12px}.ad-cover{width:100%}.ad-credits-top{display:grid;grid-template-columns:1.2fr 1fr;gap:10%;padding-top:30px}.ad-case .ad-credits-top p{font-size:15px;max-width:620px}.ad-section{padding-top:116px}.ad-heading{display:grid;grid-template-columns:1fr 3fr;gap:32px;margin-bottom:44px}.ad-label{padding-top:10px}.ad-label b{font-weight:400;color:var(--teal);margin-inline-end:14px}.ad-heading h2{font-size:clamp(36px,4.8vw,66px);line-height:1.07;letter-spacing:-.055em;margin:0 0 24px;max-width:850px}.ad-heading p{max-width:700px}.ad-route{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--rule);margin:52px 0}.ad-route>div{padding:26px 24px 28px 0}.ad-route>div+div{border-inline-start:1px solid var(--rule);padding-inline-start:28px}.ad-route-number{color:var(--teal)}.ad-route strong{display:block;font-weight:500;font-size:clamp(30px,4vw,54px);letter-spacing:-.05em;margin:9px 0}.ad-case .ad-route p{font-size:15px}.ad-logo{padding:68px max(32px,10%);border-block:1px solid var(--rule)}.ad-logo .ad-image{max-width:700px;margin:auto}.ad-logo figcaption{text-align:center;margin-top:36px}.ad-files{margin-inline-start:calc(25% + 8px)}.ad-files a{display:flex;justify-content:space-between;gap:20px;padding:23px 0;border-bottom:1px solid var(--rule);text-decoration:none;font-size:22px}.ad-files a:hover,.ad-endlinks a:hover{color:var(--teal)}.ad-files a:focus-visible,.ad-endlinks a:focus-visible{outline:2px solid var(--teal);outline-offset:5px}.ad-outro{margin-top:120px;padding:84px 0 40px;background:#fff}.ad-outro h2{font-size:clamp(42px,6vw,84px);line-height:1.06;letter-spacing:-.06em;margin:30px 0}.ad-outro p{max-width:650px}.ad-endcredits{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:64px 0}.ad-endlinks{border-top:1px solid var(--rule);padding-top:26px;display:flex;justify-content:space-between;gap:25px}.ad-endlinks a{text-decoration:none;padding:8px 0;border-bottom:1px solid currentColor}
html[lang=he] .ad-case{font-family:Heebo,Arial,sans-serif}html[lang=he] .ad-case h2,html[lang=he] .ad-deck{letter-spacing:-.025em}html[lang=he] .ad-case [data-ad-text]{unicode-bidi:plaintext}
@media(max-width:760px){.shell,.ad-shell{width:calc(100% - 40px)}.ad-hero{padding-top:36px}.ad-hero h1{font-size:14.1vw;margin:23px 0 26px}.ad-hero-bottom{grid-template-columns:1fr;gap:28px;margin-bottom:28px}.ad-case .ad-deck{font-size:27px;max-width:500px}.ad-case p{font-size:16px;line-height:1.65}.ad-case dd{font-size:14px}.ad-facts{gap:20px}.ad-credits-top{grid-template-columns:1fr;gap:22px;padding-top:24px}.ad-case small,.ad-case dt{font-size:11px}.ad-section{padding-top:72px}.ad-heading{grid-template-columns:1fr;gap:18px;margin-bottom:30px}.ad-heading h2{font-size:38px;margin-bottom:20px}.ad-label{padding-top:0}.ad-route{margin:32px 0}.ad-route>div{padding:18px 8px 20px 0}.ad-route>div+div{padding-inline-start:12px}.ad-route strong{font-size:25px}.ad-case .ad-route p{font-size:13px}.ad-logo{padding:42px 20px}.ad-logo figcaption{margin-top:24px}.ad-files{margin-inline-start:0}.ad-files a{font-size:19px;padding:20px 0}.ad-outro{margin-top:72px;padding:56px 0 28px}.ad-outro h2{font-size:42px}.ad-endcredits{grid-template-columns:1fr 1fr;gap:24px;margin:40px 0}.ad-endcredits>div:last-child{grid-column:1/-1}.ad-endlinks{flex-direction:column;align-items:flex-start;gap:20px}.ad-case figcaption{font-size:12px;line-height:1.6}.ad-image[data-painted] img{opacity:0!important}.ad-photo-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.ad-outro{background:#fff!important}}
@media(min-width:761px){.ad-photo-canvas{display:none}.ad-image[data-painted] img{opacity:1!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.ad-case .autodepot-sign-light{display:none}@media(min-width:761px){.ad-case .autodepot-sign-light{display:block;position:absolute;inset:0;width:100%;height:auto;aspect-ratio:1672/941;pointer-events:none;mix-blend-mode:screen;opacity:0}.ad-case .is-lit .autodepot-sign-light{animation:ad-sign-on 1.4s .2s ease-out both}@keyframes ad-sign-on{from{opacity:0}to{opacity:.95}}}@media(prefers-reduced-motion:reduce){.ad-case .is-lit .autodepot-sign-light{animation:none;opacity:.95}}

@layer mobilePaper{
html[lang=he] .ad-case,html[lang=he] .ad-case :is(p,h2,span,small,dt,dd,figcaption,a){font-family:"OKO Hebrew",Heebo,Arial,sans-serif!important;letter-spacing:0!important}
html[lang=he] .ad-case h1{font-family:Manrope,Arial,sans-serif!important}
html[lang=he] .ad-case :is(p,dd)[dir=ltr]{text-align:right}
@media(max-width:760px){body[data-case=autodepot] .ad-case p{font-size:16px!important;line-height:1.6!important}
body[data-case=autodepot] .ad-case p.ad-deck{font-size:25px!important;line-height:1.25!important;letter-spacing:-.025em!important}
body[data-case=autodepot] .ad-case .ad-route p{font-size:14px!important}}
}

.ad-logo-system{display:grid;grid-template-columns:1.6fr 1fr;gap:32px;align-items:center;padding:40px 0;border-block:1px solid var(--rule)}
.ad-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:48px}
.ad-detail-grid .ad-image{background:transparent;aspect-ratio:auto;display:block;padding:0}
.ad-detail-grid .ad-image img{object-fit:contain;max-height:100%;width:100%}
.ad-wall-layout{margin-bottom:38px!important;padding:0;background:transparent}
@media(max-width:760px){.ad-logo-system{grid-template-columns:1fr;gap:30px;padding:28px 0}.ad-logo-system>figure:nth-child(2){width:75%;justify-self:center}.ad-detail-grid{grid-template-columns:1fr;gap:28px;margin-top:32px}.ad-detail-grid .ad-image{padding:0;aspect-ratio:auto}.ad-wall-layout{padding:0;margin-bottom:22px!important}}

.ad-garage{padding-top:64px}.ad-garage>figure{max-width:960px;margin-inline:auto}.ad-garage .ad-image{background:transparent}@media(max-width:760px){.ad-garage{padding-top:44px}}

.ad-scope{padding-top:88px}.ad-scale{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;border-block:1px solid var(--rule);padding:30px 0;margin:0}.ad-scale dd{font:400 clamp(32px,4vw,58px)/1.1 Manrope,Arial,sans-serif;letter-spacing:-.05em;margin-bottom:14px}.ad-scale dd small{display:inline;font:inherit;font-size:.45em;color:inherit;letter-spacing:0}.ad-scale dt{margin:0}.ad-brand-system{padding-top:64px}.ad-system-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center}.ad-system-side{display:grid;gap:48px}.ad-swatches{display:flex;height:88px;border:1px solid var(--rule)}.ad-swatches i{flex:1;background:var(--swatch)}.ad-delivery{margin:0 0 48px}.ad-delivery>h3{font-size:30px;font-weight:400;letter-spacing:-.035em}.ad-delivery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;border-top:1px solid var(--rule);padding-top:22px}.ad-delivery-grid h3{font-size:19px;font-weight:500;margin:0 0 12px}.ad-case .ad-delivery p{font-size:15px;line-height:1.6}
@media(max-width:760px){.ad-scope{padding-top:56px}.ad-scale{gap:12px;padding:22px 0}.ad-scale dd{font-size:25px}.ad-scale dt{font-size:9px}.ad-brand-system{padding-top:44px}.ad-system-grid{grid-template-columns:1fr;gap:28px}.ad-system-side{gap:28px}.ad-swatches{height:60px}.ad-delivery-grid{grid-template-columns:1fr;gap:24px}.ad-delivery>h3{font-size:27px}}

/* Photographic applications dissolve into the case paper; no sheet backgrounds. */
.ad-detail-grid{display:block;max-width:960px;margin-inline:auto}
.ad-detail-grid>figure{margin-top:48px}
.ad-photo-blend{background:transparent!important;isolation:isolate;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 9%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 9%,#000 91%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0%,#000 9%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 9%,#000 91%,transparent 100%);mask-composite:intersect}
@media(max-width:760px){.ad-detail-grid>figure{margin-top:28px}}

/* Original vector lettering on paper; circular palette echoes racing wheels. */
.ad-system-grid{grid-template-columns:1.2fr 1fr;gap:clamp(40px,6vw,80px);align-items:center}
.ad-system-grid>figure .ad-image{background:transparent}
.ad-system-side{gap:44px}
.ad-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(10px,1.4vw,20px);height:auto;border:0;align-items:center}
.ad-swatches i{display:block;position:relative;aspect-ratio:1;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px rgba(23,23,27,.14)}
.ad-swatches i:after{content:"";position:absolute;inset:11%;border:1px solid rgba(127,127,127,.25);border-radius:50%}
.ad-system-grid figcaption{margin-top:20px}
@media(max-width:760px){.ad-system-grid{grid-template-columns:1fr;gap:36px}.ad-system-side{gap:30px}.ad-swatches{height:auto;gap:12px}.ad-system-grid figcaption{margin-top:14px}}

/* Installed photography: the sketch is in the artwork; only the outer paper edge blends into the page. */
.ad-installed{margin-top:48px}
.ad-installed .ad-image{background:transparent;mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 97%,transparent);-webkit-mask-composite:source-in}
.ad-installed img{width:100%;height:auto;display:block}
.ad-garage>.ad-installed{max-width:none}
.ad-finish{padding-top:64px}
@media(max-width:760px){.ad-installed{margin-top:28px}.ad-finish{padding-top:40px}}


/* Final case hierarchy, using the existing paper, type and spacing system. */
.ad-hero-bottom{grid-template-columns:1fr;gap:32px}.ad-facts{grid-template-columns:1.3fr .5fr 1fr;max-width:100%;border-top:1px solid var(--rule);padding-top:24px}.ad-summary-title{font-size:24px;line-height:1.2;margin:0 0 16px;letter-spacing:-.035em}.ad-case figcaption{font-size:12px;line-height:1.65;color:#4a4a43}.ad-cover figcaption{font-size:13px}.ad-case .ad-data-note{font:400 12px/1.7 Azeret Mono,monospace;color:#595951;margin-top:24px;max-width:760px}.ad-process{margin:36px 0 0 calc(25% + 8px);max-width:700px}.ad-process h3{font-size:24px;font-weight:400;letter-spacing:-.03em;margin:0 0 14px}.ad-outro .ad-rollout{margin-top:20px}.ad-hero .ad-installed{margin-top:0}.ad-challenge+.ad-section{padding-top:64px}@media(max-width:760px){.ad-facts{grid-template-columns:1fr 1fr;gap:24px}.ad-facts>div:first-child{grid-column:1/-1}.ad-credits-top{gap:28px}.ad-process{margin:28px 0 0}.ad-cover figcaption{font-size:12px}.ad-case .ad-data-note{font-size:12px!important}.ad-challenge+.ad-section{padding-top:44px}}

/* Keep consecutive photo groups distinct on small screens. */
@media(max-width:760px){.ad-case figure + figure.ad-installed{margin-top:28px}}

/* Full photographic sample: retain the sketch treatment on other views. */
.ad-installed.ad-photo-full .ad-image{mask-image:none!important;-webkit-mask-image:none!important}
#autodepot-light-reference{scroll-margin-top:120px}
/* AutoDepot identity: original mark, signature, lettering and applications. */
.ad-mark-story{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:0;margin-top:48px}
.ad-mark-canvas{position:relative;min-height:460px;background:#eeefeb;overflow:hidden;isolation:isolate;margin:0}
.ad-study-top{position:absolute;inset:28px 32px auto;display:flex;justify-content:space-between;gap:24px;font:10px/1.5 'Azeret Mono',monospace;letter-spacing:.03em}
.ad-mark-master{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:94%;height:auto;display:block}
.ad-case .ad-mark-canvas figcaption{position:absolute;bottom:28px;left:32px;right:32px;margin:0;font:11px/1.5 'Azeret Mono',monospace;color:#555}
.ad-mark-notes{background:#fff;padding:48px 40px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:20px;min-width:0}
.ad-source-checker{width:84px;height:56px;background:conic-gradient(#161616 25%,#fff 0 50%,#161616 0 75%,#fff 0) 0 0/28px 28px}
.ad-case .ad-mark-notes h3{font-size:25px;line-height:1.2;font-weight:500;letter-spacing:-.04em;margin:0}
.ad-case .ad-mark-notes p{font-size:15px;line-height:1.6;margin:0;max-width:28ch}
.ad-outline-study{width:100%;margin-top:12px;padding-top:28px;border-top:1px solid #16161620;display:grid;gap:16px}
.ad-outline-study img{width:78%;max-width:240px;height:auto}
.ad-outline-study>span{font:10px/1.5 'Azeret Mono',monospace;color:#666}
.ad-signature-stage{position:relative;isolation:isolate;background:#121212;margin:16px 0 0;min-height:360px;display:grid;place-items:center;padding:88px 48px;color:#fff;overflow:hidden}
.ad-signature-stage:before{content:"";position:absolute;inset:0;background:url("/projects/autodepot/artwork/brand-texture.webp") center/cover;opacity:.2;z-index:-1}
.ad-signature-image{width:100%;height:auto;display:block;mix-blend-mode:screen;clip-path:inset(3px)}
.ad-case .ad-signature-stage figcaption{position:absolute;inset:auto 32px 26px;font-size:12px;line-height:1.5;color:#ccc;margin:0;text-transform:none;letter-spacing:0;max-width:70ch}
.ad-study-label{font:10px/1.6 'Azeret Mono',monospace;letter-spacing:.02em}
.ad-colour-system{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}
.ad-colour-system img{display:block;width:100%;height:112px;object-fit:fill}
.ad-case[dir=rtl] .ad-mark-notes{direction:rtl;align-items:flex-start}
.ad-case[dir=rtl] .ad-signature-stage .ad-study-top{direction:rtl}
@media(max-width:1050px){.ad-mark-canvas{min-height:400px}.ad-mark-notes{padding:32px 28px}.ad-signature-stage{min-height:300px}}
@media(max-width:760px){
.ad-mark-story{grid-template-columns:1fr;margin-top:28px}.ad-mark-canvas{min-height:270px}.ad-study-top{inset:20px 20px auto;font-size:9px;gap:12px}.ad-case .ad-mark-canvas figcaption{left:20px;right:20px;bottom:20px;font-size:10px}.ad-mark-notes{padding:28px;gap:16px}.ad-mark-notes p{max-width:none}.ad-outline-study{margin:0;padding-top:20px}.ad-outline-study img{max-width:180px}.ad-signature-stage{min-height:240px;padding:70px 18px}.ad-signature-stage .ad-study-top{flex-direction:column;gap:5px}.ad-case .ad-signature-stage figcaption{inset:auto 20px 20px;font-size:11px}
.ad-colour-system{grid-template-columns:minmax(0,1fr)}
.ad-colour-system img{height:76px}
}

#identity-design,#brand-system{scroll-margin-top:110px}
#autodepot-light-reference{margin-top:64px}
@media(max-width:760px){#autodepot-light-reference{margin-top:40px}}

/* Separate the garage artwork series and its installed photograph. */
#garage-graphics > figure + figure{margin-top:64px}
@media(max-width:760px){#garage-graphics > figure + figure{margin-top:36px}}

/* AutoDepot case rhythm and complete photographic edges. */
.ad-case .ad-installed .ad-image,.ad-case .ad-photo-blend{mask-image:none!important;-webkit-mask-image:none!important}
.ad-case .ad-installed{margin-top:48px}
.ad-case figure + figure.ad-installed{margin-top:64px}
.ad-case .ad-hero .ad-installed{margin-top:0}
.ad-signature-image{max-width:1060px;mix-blend-mode:normal;clip-path:none}
.ad-signature-stage:before{opacity:.1}
.ad-case .ad-mark-notes p{max-width:26ch}
.ad-section{padding-top:104px}
.ad-brand-system{padding-top:88px}
#autodepot-facade,#autodepot-light-reference,#autodepot-route-photo,#autodepot-checkout-photo{scroll-margin-top:110px}
@media(max-width:760px){.ad-case .ad-installed{margin-top:32px}.ad-case figure + figure.ad-installed{margin-top:36px}.ad-section{padding-top:72px}.ad-brand-system{padding-top:56px}}

/* Selected photographic hero spans the viewport; its caption stays on the case grid. */
@media(min-width:761px){.ad-case{container-type:inline-size}.ad-cover .ad-image,#autodepot-light-reference .ad-image,#autodepot-checkout-photo .ad-image{width:100cqw;max-width:none;margin-inline:calc((100% - 100cqw)/2)}}

/* Keep specimen captions in their reserved area on mobile. */
@layer mobilePaper {
 @media(max-width:760px){
  html body[data-case="autodepot"] .ad-mark-canvas figcaption,
  html body[data-case="autodepot"] .ad-signature-stage figcaption{position:absolute!important;top:auto!important;margin:0!important}
 }
}

@layer mobilePaper {
 @media(max-width:1024px){
  html:root body[data-case="autodepot"] .ad-signature-stage :is(.ad-study-top,.ad-study-top span,figcaption,figcaption span){
   color:#fff!important;background-image:url('/assets/mobile-white-paint-v2.png')!important;
   background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;
  }
 }
}

/* Original vector wall panoramas: unaltered artwork, generous presentation. */
.ad-wall-gallery{display:grid;gap:40px;width:min(1440px,calc(100vw - 80px));max-width:none;margin-inline:calc((100% - min(1440px,100vw - 80px))/2);scroll-margin-top:120px}
.ad-wall-panel{margin:0;min-width:0;background:#fff;padding:28px 28px 18px}
.ad-wall-panorama{display:block;line-height:0;color:inherit;overflow:hidden}
.ad-wall-panorama img{display:block;width:100%;height:auto;max-width:none}
.ad-wall-panel figcaption{display:flex;justify-content:space-between;gap:16px;padding-top:18px;margin:0;font-size:10px}
.ad-wall-panorama:focus-visible{outline:2px solid #6e713a;outline-offset:4px}
.ad-wall-guide{display:none}
@media(max-width:760px){
 html body[data-case="autodepot"] main #wall-artwork-gallery{scroll-margin-top:20px!important}
 .ad-wall-gallery{width:100%;margin-inline:0;gap:24px}
 .ad-case .ad-wall-guide{display:block;margin:0;color:#484449}
 .ad-wall-panel{padding:16px 14px 14px}
 .ad-wall-panorama img{width:100%}
 .ad-wall-panel figcaption{padding-top:14px}
}
/* Individual vertical crops keep the graphic work in focus without stretching. */
#autodepot-light-reference{--ad-frame-ratio:1448/820;--ad-source-ratio:1448/1086;--ad-crop-y:-22%}
#autodepot-checkout-photo{--ad-frame-ratio:1683/715;--ad-source-ratio:1683/935;--ad-crop-y:-9.090909%}
#autodepot-pitstop-photo{--ad-frame-ratio:1695/728;--ad-source-ratio:1695/928;--ad-crop-y:0%}
#autodepot-garage-photo{--ad-frame-ratio:1536/724;--ad-source-ratio:1536/1024;--ad-crop-y:-35.911602%}
#autodepot-wall-photo{--ad-frame-ratio:1536/824;--ad-source-ratio:1536/1024;--ad-crop-y:-24.271845%}
.ad-case :is(#autodepot-light-reference,#autodepot-checkout-photo,#autodepot-pitstop-photo,#autodepot-garage-photo,#autodepot-wall-photo) .ad-image{aspect-ratio:var(--ad-frame-ratio);overflow:hidden}
.ad-case :is(#autodepot-light-reference,#autodepot-checkout-photo,#autodepot-pitstop-photo,#autodepot-garage-photo,#autodepot-wall-photo) .ad-image>img,
.ad-case :is(#autodepot-light-reference,#autodepot-checkout-photo,#autodepot-pitstop-photo,#autodepot-garage-photo,#autodepot-wall-photo) .ad-photo-canvas{position:absolute;inset:auto;top:var(--ad-crop-y);left:0;width:100%;height:auto;max-height:none;aspect-ratio:var(--ad-source-ratio)}


/* Process copy follows the adjacent heading column in both reading directions. */
@media(min-width:761px){.ad-process{margin-left:0;margin-right:0;margin-inline-start:calc(25% + 24px)}}

.ad-type-stage {
  background: #161616;
  padding: clamp(32px, 4.5vw, 72px) clamp(20px, 5vw, 80px);
}
.ad-type-specimens {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 3vw, 36px);
  max-width: 900px;
  margin-inline: auto;
}
.ad-type-specimens img {
  display: block;
  height: auto;
}
.ad-type-alphabet { width: 100%; }
.ad-type-numerals { width: 62.79%; }

/* Keep the facade and checkout intact. Trim spare foreground at PITSTOP and trim ceiling in the service bays. */
@layer portfolioType {
  body[data-case="autodepot"] :is(.ad-cover, #autodepot-light-reference, #autodepot-checkout-photo, #autodepot-pitstop-photo, #autodepot-garage-photo) .ad-image {
    aspect-ratio: auto !important;
  }

  body[data-case="autodepot"] :is(.ad-cover, #autodepot-light-reference, #autodepot-checkout-photo, #autodepot-pitstop-photo, #autodepot-garage-photo) .ad-image > img {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }

  body[data-case="autodepot"] #autodepot-light-reference .ad-image > img {
    aspect-ratio: 1448 / 680 !important;
    object-fit: cover !important;
    object-position: center 54.1872% !important;
  }

  body[data-case="autodepot"] #autodepot-pitstop-photo .ad-image > img {
    aspect-ratio: 1774 / 755 !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  body[data-case="autodepot"] #autodepot-garage-photo .ad-image > img {
    aspect-ratio: 1536 / 800 !important;
    object-fit: cover !important;
    object-position: center bottom !important;
  }

  @media (max-width: 760px) {
    body[data-case="autodepot"] #autodepot-light-reference .ad-image > img {
      aspect-ratio: auto 1448 / 1086 !important;
      object-fit: contain !important;
    }

    body[data-case="autodepot"] :is(.ad-cover, #autodepot-checkout-photo, #autodepot-pitstop-photo, #autodepot-garage-photo) .ad-image > img {
      height: calc(var(--mobile-media-width) * .5625) !important;
      aspect-ratio: auto !important;
      object-fit: contain !important;
      object-position: center !important;
    }
  }
}

.ad-window-artwork {
  width: min(100%, 960px);
  margin: 48px auto 0;
}

.ad-window-artwork > img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .ad-window-artwork { margin-block-start: 32px; }
}

@layer mobilePaper {
  html:root body[data-case="autodepot"] main#main-content .ad-hero-head > .ad-cover {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    min-width: 0;
    margin-block: 0;
  }
  html:root body[data-case="autodepot"] main#main-content.ad-case .ad-hero .ad-hero-head > .ad-deck {
    grid-area: 4 / 1 / auto / -1 !important;
    max-width: 65ch !important;
    margin-block: 0 !important;
  }
}
.ad-case .ad-stacked-mark { width: min(100%, 600px); margin: clamp(24px, 4vw, 56px) auto 0; }
.ad-stacked-mark > img, .ad-wayfinding-pair img { display: block; width: 100%; height: auto; }
.ad-wayfinding-pair {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
  margin-block: clamp(32px, 5vw, 72px);
}
.ad-wayfinding-pair .ad-figure { min-width: 0; margin: 0; }
.ad-glazing > figure + figure { margin-block-start: clamp(32px, 5vw, 64px); }
@media (max-width:760px) {
  .ad-wayfinding-pair { grid-template-columns: 1fr; }
}

/* Every photographic view uses the chapter width and the same landscape frame. */
@layer portfolioType {
  html:root body[data-case="autodepot"] main#main-content .ad-scene,
  html:root body[data-case="autodepot"] main#main-content .ad-scene > .ad-image {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
  html:root body[data-case="autodepot"] main#main-content .ad-scene > .ad-image {
    position: relative !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden;
  }
  html:root body[data-case="autodepot"] main#main-content .ad-scene.ad-figure .ad-image > :is(img, canvas) {
    display: block;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: 50% var(--scene-y, 50%) !important;
  }
  html:root body[data-case="autodepot"] main#main-content #autodepot-facade.ad-scene img[data-project-opening] {
    height: 100% !important;
    object-position: center !important;
  }
}
#autodepot-wall-photo { --scene-y: 95%; }
#autodepot-garage-photo { --scene-y: 85%; }
.ad-wayfinding-pair { grid-template-columns: minmax(0, 1fr); }
.ad-wayfinding-pair > figure:first-child { width: min(100%, 832px); }

.ad-case .ad-signal-study { margin-block-start: clamp(24px, 4vw, 48px); }
.ad-signal-study > img { display: block; width: 144px; height: auto; }
.ad-wall-signal {
  position: absolute;
  z-index: 2;
  inset: 19% auto auto 62%;
  width: 8%;
  aspect-ratio: 144 / 44;
  background: url("/projects/autodepot/artwork/traffic-signal.svg") center / contain no-repeat;
  pointer-events: none;
}


/* Source: assets/paper-edges.css */
/* White paper sits above the existing cream fields. Decorative only:
   no content clipping, no added layout height, no palette or type overrides. */
@layer mobilePaper {
 html:root body[data-home-discipline="design"] :is(#works,#photo),
 html:root body[data-case] #main-content,
 html:root body :is(.ad-outro,.sp-outro){position:relative!important}

 html:root body[data-home-discipline="design"] :is(#works,#photo)::before,
 html:root body[data-home-discipline="design"] :is(#works,#photo)::after,
 html:root body:is([data-case="autodepot"],[data-case="space"]) #main-content::before,
 html:root body :is(.ad-outro,.sp-outro)::before {
  content:""!important;display:block!important;position:absolute!important;
  inset:auto 0!important;top:-1px!important;width:100%!important;height:28px!important;
  margin:0!important;padding:0!important;border:0!important;
  background:transparent url('/assets/paper-edge.svg') left top / 2400px 28px repeat-x!important;
  box-shadow:none!important;pointer-events:none!important;z-index:2!important;
 }
 /* At the end of cream, the following white sheet projects upward. */
 html:root body[data-home-discipline="design"] :is(#works,#photo)::after {
  top:auto!important;bottom:-1px!important;transform:scale(-1,-1)!important;
 }
 html:root body :is(.ad-outro,.sp-outro)::before {
  top:-27px!important;transform:scale(-1,-1)!important;
 }
 @media(max-width:1024px){
  html:root body[data-case] #main-content::before,
  html:root body.people-album-page .people-album-layout::before {
   content:""!important;display:block!important;position:absolute!important;
   inset:auto 0!important;top:-1px!important;width:100%!important;height:22px!important;
   margin:0!important;padding:0!important;border:0!important;
   background:transparent url('/assets/paper-edge.svg') left top / 1800px 22px repeat-x!important;
   box-shadow:none!important;pointer-events:none!important;z-index:2!important;
  }
  html:root body.people-album-page .people-album-layout{position:relative!important}
  html:root body.people-album-page .people-album-layout::before{z-index:41!important}
  html:root body.people-album-page .people-album-layout::before{background-image:url('/assets/paper-edge-mobile-rgb.png')!important}
  html:root body[data-home-discipline="design"] :is(#works,#photo)::before,
  html:root body[data-home-discipline="design"] :is(#works,#photo)::after,
  html:root body .ad-outro::before{height:22px!important;background-size:1800px 22px!important}
  html:root body .ad-outro::before{top:-21px!important}
  /* The existing mobile SPACE outro is cream, so there is no colour boundary. */
  html:root body .sp-outro::before{content:none!important;display:none!important}
 }
 @media print{
  html:root body[data-home-discipline="design"] :is(#works,#photo)::before,
  html:root body[data-home-discipline="design"] :is(#works,#photo)::after,
  html:root body[data-case] #main-content::before,
  html:root body :is(.ad-outro,.sp-outro)::before,
  html:root body.people-album-page .people-album-layout::before{display:none!important}
 }
}



/* The mobile photo, SPACE and brand-application pages end on cream paper; the shared white footer overlaps
   it with the same torn edge used between homepage sections. */
@layer mobilePaper {
 @media screen and (max-width:1024px){
  html:root body:is(.people-album-page,[data-case="space"],[data-case="lego"]) footer.site-end{position:relative!important}
  html:root body:is(.people-album-page,[data-case="space"],[data-case="lego"]) footer.site-end::before{
   content:""!important;display:block!important;position:absolute!important;
   inset:auto 0!important;top:-21px!important;width:100%!important;height:22px!important;
   margin:0!important;padding:0!important;border:0!important;
   background:transparent url('/assets/paper-edge-mobile-rgb.png') left top / 1800px 22px repeat-x!important;
   transform:scale(-1,-1)!important;box-shadow:none!important;pointer-events:none!important;z-index:2!important;
  }
  html:root body:is(.people-album-page,[data-case="space"],[data-case="lego"]) #site-end-actions{border-top:0!important}
 }
}

/* The small-business case also finishes on cream before the shared white footer. */
@layer mobilePaper{
 html:root body[data-case="small-business"] footer.site-end{position:relative!important}
 html:root body[data-case="small-business"] footer.site-end::before{
  content:""!important;display:block!important;position:absolute!important;
  inset:-27px 0 auto!important;width:100%!important;height:28px!important;
  background:transparent url('/assets/paper-edge.svg') left top / 2400px 28px repeat-x!important;
  transform:scale(-1,-1)!important;pointer-events:none!important;z-index:2!important;
 }
 @media(max-width:1024px){html:root body[data-case="small-business"] footer.site-end::before{top:-21px!important;height:22px!important;background-image:url('/assets/paper-edge-mobile-rgb.png')!important;background-size:1800px 22px!important}}
}


/* Source: assets/case-visual.css */
/* Shared mobile case presentation; source artwork and desktop geometry remain. */
@layer mobilePaper {
 @media screen and (max-width:1024px) {
  html:root body[data-case] :is(#main-content,.ad-outro,.sp-outro,.sb-band,.bb-white-sheet)::before,
  html:root body[data-case] :is(#main-content,.ad-outro,.sp-outro,.sb-band,.bb-white-sheet)::after {
   background-image:url('/assets/paper-edge-mobile-rgb.png')!important;
  }
  html:root body[data-case] main :is(.ad-label,.ad-eyebrow,.ad-route-number,.ad-facts dt,.ad-case small,.ad-endcredits dt,.sp-label b,.sp-font-sample>span,.sp-facts dt,.sp-credits dt,.sb-specs dt,.sb-study-number,.sb-study-note,.bb-kicker,.bb-label),
  html:root body[data-case] main :is(.ad-label,.ad-eyebrow,.ad-route-number,.ad-facts dt,.ad-case small,.ad-endcredits dt,.sp-label b,.sp-font-sample>span,.sp-facts dt,.sp-credits dt,.sb-specs dt,.sb-study-number,.sb-study-note,.bb-kicker,.bb-label) * {
   color:#17171b!important;opacity:1!important;background-color:transparent!important;
   background-image:url('/assets/mobile-ink-paint-v2.png')!important;
   background-repeat:repeat!important;background-size:256px 256px!important;
   background-clip:text!important;-webkit-background-clip:text!important;
   -webkit-text-fill-color:transparent!important;
  }
  html:root body[data-case] main :is(.ad-label b,.ad-route-number,.sp-label b),
  html:root body[data-case] main :is(.ad-label b,.ad-route-number,.sp-label b) * {
   background-image:url('/assets/mobile-emerald-paint.png')!important;
  }
  html:root body[data-case] main :is(.ad-eyebrow,.sp-eyebrow,.ad-outro>.ad-shell>.ad-label),
  html:root body[data-case] main :is(.ad-eyebrow,.sp-eyebrow,.ad-outro>.ad-shell>.ad-label) * {
   background-image:url('/assets/mobile-red-paint.png')!important;
  }
  html:root body[data-case="small-business"] main .sb-neon-collection :is(p,figcaption,span,bdi),
  html:root body[data-case="small-business"] main .sb-neon-collection :is(p,figcaption) * {
   color:#edebe0!important;opacity:1!important;background-color:transparent!important;
   background-image:url('/assets/mobile-white-paint-v2.png')!important;
   background-repeat:repeat!important;background-size:256px 256px!important;
   background-clip:text!important;-webkit-background-clip:text!important;
   -webkit-text-fill-color:transparent!important;
  }
  html:root body[data-case="small-business"] .sb-mounted-sign[data-mounted-pixels]>img {opacity:0!important}
  html:root body[data-case="small-business"] canvas.case-mounted-pixels {
   display:block!important;position:absolute!important;inset:0!important;
   width:100%!important;height:100%!important;max-width:none!important;
   margin:0!important;padding:0!important;border:0!important;
   background:none!important;filter:none!important;opacity:1!important;pointer-events:none!important;
  }
  html:root body[data-case="small-business"] .sb-mounted-sign,
  html:root body[data-case="small-business"] .sb-feature>img,
  html:root body[data-case="small-business"] .sb-feature>canvas.mobile-photo-pixels {
   mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent)!important;
   mask-size:100% 100%!important;mask-repeat:no-repeat!important;mask-composite:intersect!important;
  }
 }
 @media screen and (max-width:760px) {
  html:root body[data-case="small-business"] .sb-neon-symbol figcaption bdi {
   min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
  }
  html:root body[data-case] main :is(.ad-label,.ad-eyebrow,.ad-case figcaption,.sp-font-sample>span,.sp-case figcaption,.sb-study-number,.sb-specs dt) {
   font-size:12px!important;line-height:1.6!important;
  }
 }
 @media(min-width:1025px){.case-mounted-pixels{display:none!important}}
}

/* One action family, including untranslated project names in localised pages. */
@layer mobilePaper {
 html:root body[data-case] {--case-action-font:'Azeret Mono',monospace}
 html:root[lang="ru"] body[data-case] {--case-action-font:'Manrope',Arial,sans-serif}
 html:root[lang="he"] body[data-case] {--case-action-font:'OKO Hebrew','Heebo',Arial,sans-serif}
 html:root body[data-case] main :is(.sb-link,.ad-endlinks a,.sp-links a,.project-enquiry a,.project-next a,.bb-return a) {
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  box-sizing:border-box!important;width:fit-content!important;max-width:100%!important;
  min-height:48px!important;padding:10px 0!important;border:0!important;border-bottom:1px solid currentColor!important;
  border-radius:0!important;box-shadow:none!important;text-decoration:none!important;text-transform:none!important;
  font:400 14px/1.5 var(--case-action-font)!important;letter-spacing:0!important;text-align:start!important;
 }
 html:root body[data-case] main :is(.sb-link,.ad-endlinks a,.sp-links a,.project-enquiry a,.project-next a,.bb-return a) * {
  font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important;
 }
 html:root body[data-case] main :is(.sb-end,.ad-endlinks,.sp-links) {border-top:0!important;gap:20px 36px!important}
}


/* Source: assets/site-end-actions.css */
/* One action grid on every page; content-specific case layouts remain independent. */
html body footer.site-end.site-end{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;min-height:0!important;margin:0!important;padding:0 0 58px!important;border:0!important;overflow:visible!important;background:transparent;color:#151218}
#site-end-actions{box-sizing:border-box;display:grid;grid-template-columns:48px repeat(2,minmax(0,1fr));align-items:center;gap:28px;width:min(1320px,calc(100% - 48px));margin:0 auto;padding:32px 0 16px;border-top:1px solid #d6d4ca}
#site-end-actions>a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;justify-self:start;min-height:44px;max-width:100%;margin:0;padding:8px 0 9px;border:0;border-bottom:1px solid currentColor;border-radius:0;background:transparent;box-shadow:none;color:#151218;font:400 14px/1.55 'Azeret Mono',monospace;letter-spacing:0;text-decoration:none;text-transform:none;white-space:normal;transform:none;opacity:1}
#site-end-actions>a:nth-child(2){justify-self:center;text-align:center}
#site-end-actions>a:nth-child(3){justify-self:end;text-align:end}
#site-end-actions>a:hover{color:#3f6f72}
#site-end-actions>a:focus-visible{outline:2px solid #3f6f72;outline-offset:6px}
#site-end-actions>button[data-site-action="back"]{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;margin:0;border:1px solid #151218;border-radius:50%;background:transparent;color:#151218;box-shadow:none;cursor:pointer;transform:none}
#site-end-actions>button[data-site-action="back"] .site-action-arrow svg{width:20px;height:20px}
#site-end-actions>button[data-site-action="back"]:hover{color:#3f6f72;border-color:currentColor}
#site-end-actions>button[data-site-action="back"]:focus-visible{outline:2px solid #3f6f72;outline-offset:5px}
#site-end-actions>a::before,#site-end-actions>a::after{content:none!important}
#site-end-actions .site-action-arrow{flex:0 0 auto}
.site-action-arrow svg{display:block;width:14px;height:14px}
.site-end-legal .site-action-arrow{display:inline-block;margin-inline-start:5px;vertical-align:-2px}
#site-end-actions[lang="he"]>a{font-family:'Heebo','OKO Hebrew',Arial,sans-serif;font-size:16px}
.site-end-legal{width:min(1320px,calc(100% - 48px));margin:20px auto 0;text-align:center}
.site-end-legal a{color:#565d59;font:400 12px/1.5 'Manrope',Arial,sans-serif;text-decoration:none;border-bottom:1px solid #a8ada6;padding:6px 0}
html[lang="he"] .site-end-legal a{font-family:'Heebo','OKO Hebrew',Arial,sans-serif;font-size:13px}
.site-end-legal a:focus-visible{outline:2px solid #3f6f72;outline-offset:5px}
@media(max-width:760px){
 html body footer.site-end.site-end{padding-bottom:38px!important}
 #site-end-actions{grid-template-columns:minmax(0,1fr);width:calc(100% - 40px);gap:12px;padding-top:24px;align-items:center}
 #site-end-actions>a:nth-child(n){width:100%;min-width:0;min-height:48px;justify-self:stretch;justify-content:center;text-align:center;font-size:14px;gap:0;align-items:center;padding:12px 0}
 #site-end-actions>a>span{min-width:0;overflow-wrap:normal}
 #site-end-actions[lang="he"]>a{font-size:16px}
 #site-end-actions>button[data-site-action="back"]{order:3;justify-self:center;margin-top:12px}
 .site-end-legal{width:calc(100% - 40px);margin-top:18px}
}

/* Desktop: legal information has its own quiet band below the three equal actions. */
@media(min-width:761px){
 #site-end-actions{align-items:center;padding-bottom:30px}
 footer.site-end .site-end-legal{box-sizing:border-box;margin:0 auto;padding:26px 0 0;border-top:1px solid #d6d4ca;text-align:center}
}



/* Match the layer of the case paragraph reset so footer alignment wins. */
@layer buttons{
 html:root body footer.site-end .site-end-legal{
  box-sizing:border-box!important;margin-inline:auto!important;
  text-align:center!important;max-width:none!important;
 }
 @media(max-width:760px){
  html:root body footer.site-end #site-end-actions,
  html:root body footer.site-end .site-end-legal{
   width:calc(100% - 40px)!important;margin-inline:auto!important;
  }
  html:root body footer.site-end .site-end-legal{margin-block:18px 0!important}
  html:root body footer.site-end #site-end-actions>a{
   justify-content:center!important;text-align:center!important;
  }
  html:root body footer.site-end .site-end-legal a{
   display:inline-block;max-width:100%;text-align:center;
  }
 }
}

/* Paired actions share full-width rails; the separate top control stays centred. */
@layer buttons{
 html:root body footer.site-end #site-end-actions{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:min(1240px,calc(100% - 96px))!important;
  gap:24px 40px!important;padding-block:32px 16px!important;border-top:0!important;
 }
 html:root body footer.site-end #site-end-actions>a:nth-child(n){
  width:100%!important;max-width:none!important;justify-self:stretch!important;
  justify-content:center!important;text-align:center!important;
  min-height:52px!important;font-size:15px!important;padding:14px 8px!important;
 }
 html:root body footer.site-end #site-end-actions>[data-site-action=contact]{order:1}
 html:root body footer.site-end #site-end-actions>[data-site-action=next]{order:2}
 html:root body footer.site-end #site-end-actions>button[data-site-action=back]{order:3;grid-column:1/-1;justify-self:center;margin-top:8px}
 html:root body footer.site-end .site-end-legal{padding-top:12px!important;border-top:0!important;margin-top:0!important}
 @media(max-width:760px){
  html:root body footer.site-end #site-end-actions{grid-template-columns:minmax(0,1fr)!important;width:calc(100% - 40px)!important;gap:12px!important;padding-top:24px!important}
 }
}

/* Desktop footer: align to the closing text grid, never the photo bleed.
   Below 1081px the established tablet/mobile footer is intentionally unchanged. */
@layer buttons{
 @media(min-width:1081px){
  html:root body footer.site-end{
   --footer-measure:1240px;
   --footer-gutter:48px;
  }
  html:root body[data-home-discipline] footer.site-end,
  html:root body.people-album-page footer.site-end{
   --footer-measure:1480px;
   --footer-gutter:72px;
  }
  html:root body footer.site-end #site-end-actions,
  html:root body footer.site-end .site-end-legal{
   box-sizing:border-box!important;
   width:min(var(--footer-measure),calc(100% - 2 * var(--footer-gutter)))!important;
   max-width:none!important;
   margin-inline:auto!important;
  }
  html:root body footer.site-end #site-end-actions{
   align-items:center!important;
   gap:24px 40px!important;
   padding:32px 0 16px!important;
  }
  html:root body footer.site-end #site-end-actions>a:nth-child(n){
   box-sizing:border-box!important;
   min-width:0!important;
   padding:14px 0!important;
   line-height:24px!important;
   justify-content:flex-start!important;
   text-align:start!important;
  }
  html:root body footer.site-end #site-end-actions>a[data-site-action=next]{
   justify-content:flex-end!important;
   text-align:end!important;
  }
  html:root body footer.site-end #site-end-actions>button[data-site-action=back]{
   margin:8px 0 0!important;
   align-self:center!important;
  }
  html:root body footer.site-end .site-end-legal{
   margin-block:0!important;
   padding:12px 0 0!important;
   font-size:12px!important;
   line-height:18px!important;
  }
  html:root body footer.site-end .site-end-legal>a{
   display:inline-flex;
   align-items:center;
   min-height:31px;
   box-sizing:border-box;
  }
  /* Legal page footer is already inside its own content shell. */
  html:root body.legal-policy footer.legal-home-action.site-end #site-end-actions{
   width:100%!important;
   grid-template-columns:minmax(0,1fr)!important;
  }
  html:root body.legal-policy footer.legal-footer{
   margin-top:32px;
   align-items:baseline;
  }
 }
}

/* Back-to-top: shared paper cutout on desktop, tablet and mobile; same 48px box. */
@layer buttons{
 @media all{
  html:root body footer.site-end #site-end-actions>button[data-site-action=back]{
   position:relative;
   isolation:isolate;
   border:0!important;
   border-radius:0!important;
   background:transparent!important;
   color:#EDEBE0!important;
  }
  html:root body footer.site-end #site-end-actions>button[data-site-action=back]::before{
   content:"";
   position:absolute;
   inset:0;
   z-index:-1;
   pointer-events:none;
   background:#1F1F1F;
   clip-path:polygon(3% 2%,16% 3%,27% 1%,40% 2%,53% 0,65% 2%,78% 1%,96% 3%,98% 14%,97% 27%,100% 39%,98% 53%,99% 68%,97% 80%,98% 96%,85% 98%,72% 97%,59% 100%,45% 98%,31% 99%,18% 97%,2% 98%,3% 84%,1% 71%,2% 57%,0 43%,2% 29%,1% 17%);
   transition:background-color .2s ease;
  }
  html:root body footer.site-end #site-end-actions>button[data-site-action=back]:hover::before{
   background:#4A4444;
  }
  html:root body footer.site-end #site-end-actions>button[data-site-action=back] .site-action-arrow{
   position:relative;
   color:inherit;
  }
 }
}


/* Source: assets/mobile-case-photos.css */
/* Mobile application photographs and their captions share the case rails. */
@media screen and (max-width:760px){
 body[data-case] main{container-type:inline-size;--mobile-media-width:calc(100cqw - 2 * var(--case-gutter, 20px))}
 html:root body[data-case] main :is(.ad-figure>.ad-image,.sp-photo>.sp-image,.bb-photo>.bb-image,.identity-applications){
  width:var(--mobile-media-width)!important;max-width:none!important;
  margin-inline:calc((100% - var(--mobile-media-width))/2)!important;
 }
 html:root body[data-case] main :is(.ad-figure,.sp-photo,.bb-photo){min-width:0}
 html:root body[data-case="lego"] #colmobil .col-photo{
  width:var(--mobile-media-width)!important;max-width:none!important;
  margin-inline:calc((100% - var(--mobile-media-width))/2)!important;
 }
 html:root body[data-case="lego"] #colmobil .col-photo>.col-meta{
  box-sizing:border-box;width:100%!important;
  margin-inline:auto!important;padding-inline:0!important;
 }
 html:root body[data-case] main :is(.sp-series-light-pair,.bb-pair,.kar-support-grid,.col-wall-photo-pair,.col-brand-photos,.col-process-photos){
  display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
 }
 html:root body[data-case="identities"] .identity-applications{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
 }
}

/* Three mobile photo heights, selected per source frame. Diagrams and original
   artwork are deliberately outside this photographic rhythm. */
@layer mobilePaper{
 @media screen and (max-width:760px){
  html:root body[data-case] main img[data-photo-size]:not(.identity-application img){
   display:block!important;position:relative!important;inset:auto!important;
   width:100%!important;max-width:none!important;min-height:0!important;
   height:calc(var(--mobile-media-width) * .5625)!important;max-height:none!important;aspect-ratio:auto!important;
   margin:0!important;padding:0!important;transform:none!important;
   object-fit:cover!important;object-position:var(--photo-position,50% 50%)!important;
  }
  html:root body[data-case] main img[data-photo-size="panorama"]:not(.identity-application img){height:calc(var(--mobile-media-width) / 3)!important}
  html:root body[data-case] main img[data-photo-size="portrait"]:not(.identity-application img){height:calc(var(--mobile-media-width) * 1.25)!important}
  html:root body[data-case] main :is(.ad-image,.sp-image,.bb-image,button,a):not(.identity-application):has(>img[data-photo-size]){
   display:block!important;position:relative!important;inset:auto!important;
   width:var(--mobile-media-width)!important;max-width:none!important;height:auto!important;
   min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
   margin-inline:calc((100% - var(--mobile-media-width))/2)!important;padding:0!important;overflow:hidden!important;
  }
  html:root body[data-case] main :is(.ad-image,.sp-image):has(>img[data-photo-size])>canvas{
   inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;
  }
 }
}

/* Preserve the whole composition for photographs that document signage or a pattern. */
@layer mobilePaper {
 @media(max-width:760px){
  html:root body[data-case] main img[data-photo-size="original"]:not(.identity-application img){
   height:auto!important;
   aspect-ratio:revert!important;
   aspect-ratio:auto attr(width type(<number>), 16) / attr(height type(<number>), 9)!important;
   object-fit:contain!important;
  }
 }
}


@layer mobilePaper {
 @media(max-width:760px){
  html:root body[data-case="space"] main #sports-symbols .sp-symbol-board{
   width:100%!important;
   margin-inline:0!important;
  }
  html:root body[data-case="lego"] #lego .case-client-logo{
   width:min(128px,100%)!important;
  }
  html:root body[data-case="lego"] #karcher .case-client-logo{
   width:min(208px,100%)!important;
  }
  html:root body[data-case="small-business"] main :is(.sb-photo-strip,.sb-neon-photo-strip){
   width:var(--mobile-media-width)!important;
   margin-inline:auto!important;
  }
  html:root body[data-case="small-business"] main :is(.sb-photo-row,.sb-neon-photos)>img{
   aspect-ratio:auto 1672 / 941!important;
   object-fit:contain!important;
  }
  html:root body[data-case="small-business"] main#main-content :is(.sb-photo-strip,.sb-neon-photo-strip)>figcaption.sb-shell{
   width:100%!important;
   max-width:none!important;
   margin-inline:0!important;
   padding-inline:0!important;
  }
 }
}

@layer mobilePaper {
 .sp-spec-table .sp-spec-mobile-label { display: none !important }

 @media (max-width: 760px) {
  html:root body[data-case] main img[data-photo-size="landscape-safe"] {
   object-fit: contain !important;
   object-position: center !important;
  }

  html:root body[data-case="small-business"] main :is(.sb-photo-row, .sb-neon-photos) > img,
  html:root body[data-case="autodepot"] main .ad-window-artwork > img {
   width: 100% !important;
   height: calc(var(--mobile-media-width) * .5625) !important;
   object-fit: contain !important;
  }

  html:root body[data-case="autodepot"] main .ad-window-artwork {
   width: var(--mobile-media-width) !important;
   margin: 24px auto 0 !important;
  }

  html:root body[data-case="space"] main #production .sp-spec-table {
   display: block;
   position: relative;
   margin-block: 28px 24px;
  }

  html:root body[data-case="space"] main #production .sp-spec-table thead {
   position: absolute;
   inline-size: 1px;
   block-size: 1px;
   overflow: hidden;
   clip-path: inset(50%);
  }

  html:root body[data-case="space"] main #production .sp-spec-table :is(tbody, tbody th, tbody td) {
   display: block;
   width: 100% !important;
   border: 0 !important;
   padding: 0 !important;
   overflow-wrap: break-word;
  }

  html:root body[data-case="space"] main #production .sp-spec-table tbody tr {
   display: grid;
   gap: 12px;
   padding-block: 16px;
   border-block-start: 1px solid var(--rule);
  }

  html:root body[data-case="space"] main #production .sp-spec-table tbody tr:last-child {
   border-block-end: 1px solid var(--rule);
  }

  html:root body[data-case="space"] main #production .sp-spec-table .sp-spec-mobile-label {
   display: block !important;
   margin-block-end: 3px;
  }

  html:root body[data-case="space"] main #production .sp-spec-table tbody th > span {
   font-weight: 700 !important;
  }
 }
}


@layer portfolioType {
 @media (max-width: 760px) {
  html:root body[data-case] main :is(.ad-facts, .ad-endcredits, .sp-facts, .sp-credits, .sb-specs) :is(dt, dt > span) {
   font-size: 12px !important;
   line-height: 1.4 !important;
   letter-spacing: .025em !important;
  }

  html:root body[data-case] main :is(.ad-facts, .ad-endcredits, .sp-facts, .sp-credits, .sb-specs) :is(dd, dd > span) {
   line-height: 1.5 !important;
  }

  html:root body[data-case="space"] main #production .sp-spec-table .sp-spec-mobile-label {
   font-size: 12px !important;
   line-height: 1.4 !important;
  }
 }
}


/* Source: assets/editorial-rhythm.css */
/* Shared editorial rhythm. Photographs and approved artwork keep their own geometry. */
body[data-case] main figcaption {
  font-family:'Manrope',Arial,sans-serif;
  font-size:12px;
  line-height:1.5;
  letter-spacing:0;
  text-transform:none;
  text-align:start;
}
html[lang=he] body[data-case] main figcaption {
  font-family:'OKO Hebrew',Heebo,Arial,sans-serif;
}
.ad-case .ad-section,.sp-case .sp-section,#colmobil .col-section {padding-top:96px}
.ad-case .ad-heading,.sp-case .sp-heading,#colmobil .col-major>.col-section-head {margin-bottom:32px}
:is(.ad-heading,.sp-heading,.col-section-head,.bb-detail-copy) :is(h2,h3):last-child {margin-bottom:0}
.ad-case .ad-route {margin-block:32px}
.ad-case .ad-route>div {padding-block:20px}
:is(.ad-case,.sp-case) .ad-route strong {margin-bottom:0}
:is(.ad-case,.sp-case) figcaption {margin-top:12px}
#colmobil .col-caption {font:400 12px/1.5 'Manrope',Arial,sans-serif;letter-spacing:0;text-transform:none}
html[lang=he] #colmobil .col-caption {font-family:'OKO Hebrew',Heebo,Arial,sans-serif}
.bb-chapter .bb-photo figcaption {padding-top:12px;margin-top:0}
:is(.sp-case,.ad-case) p:empty {display:none}
@media(max-width:760px){
  .ad-case .ad-section,.sp-case .sp-section,#colmobil .col-section {padding-top:64px}
  .ad-case .ad-heading,.sp-case .sp-heading,#colmobil .col-major>.col-section-head {margin-bottom:24px}
  .ad-case .ad-route {margin-block:24px}
}
/* Same layer as forced-dark protection; typography only, preserve its paint rules. */
@layer mobilePaper {
 @media(max-width:1024px){
  html:root body main :is(.ad-case,.sp-case,.col-case,.bb-chapter,.sb-case,.identity-page) figcaption,
  html:root body[data-case] main figcaption,
  html:root body[data-case] main figcaption span,
  html:root body[data-case] main .col-caption {
   font-family:'Manrope',Arial,sans-serif!important;
   font-size:12px!important;
   line-height:1.5!important;
   letter-spacing:0!important;
   text-transform:none!important;
  }
  html:root[lang=he] body[data-case] main :is(figcaption,figcaption span,.col-caption) {
   font-family:'OKO Hebrew',Heebo,Arial,sans-serif!important;
  }
 }
}

/* Final page system: shared rails, three photographic tiers, deliberate chapter spacing. */
:root{--case-measure:1240px;--case-gutter:48px;--case-space:96px;--photo-small:clamp(160px,16vw,220px);--photo-medium:clamp(300px,31vw,420px);--photo-large:clamp(480px,50vw,680px)}
@media(min-width:761px){
 body[data-case] :is(.ad-shell,.sp-shell,.sb-shell,.project-shell){width:min(var(--case-measure),calc(100% - 2 * var(--case-gutter)));max-width:var(--case-measure);margin-inline:auto}
 body[data-case=lego] #colmobil .col-shell{width:min(var(--case-measure),calc(100% - 2 * var(--case-gutter)));max-width:var(--case-measure);margin-inline:auto}
 body[data-case=lego] #lego.project-shell{--lego-measure:var(--case-measure);--lego-inset:96px}
 body[data-case=lego] #karcher.project-shell{--kar-measure:var(--case-measure);--kar-inset:96px;width:100%;max-width:none}
 body[data-case=lego] #lego .bb-pair>.bb-photo{width:100%;max-width:none;min-width:0;margin-inline:0;justify-self:stretch}
 /* Explicit heights, without changing the source artwork or stretching images. */
 html body[data-case] main img[data-photo-tier]{height:var(--photo-large);max-height:none;min-height:0;width:100%;object-fit:cover;object-position:var(--photo-position,50% 50%);aspect-ratio:auto}
 html body[data-case] main img[data-photo-tier=medium]{height:var(--photo-medium)}
 html body[data-case] main img[data-photo-tier=small]{height:var(--photo-small)}
 html body[data-case] main :is(.ad-image,.sp-image,.bb-image,.col-art-button):has(>img[data-photo-tier]){height:auto;max-height:none;aspect-ratio:auto;overflow:hidden}
 body[data-case=lego] #colmobil .col-wall-photo-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 body[data-case=space] .sp-series-light-pair{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:start}
 .logo-story-page .logo-index{display:block;border-top:0;margin-top:0}
 html body.logo-story-page .identity:nth-child(n){grid-template-columns:minmax(0,1fr) 240px!important;grid-template-rows:auto auto auto;column-gap:64px;row-gap:20px;min-height:0;padding:64px 0;border-inline:0;align-items:start}
 html body.logo-story-page .identity .identity-copy{grid-row:1;grid-column:1}
 html body.logo-story-page .identity .identity-mark{grid-row:1/3;grid-column:2;height:180px;align-self:center}
 html body.logo-story-page .identity-description{grid-row:2;grid-column:1;max-width:64ch;margin:0}
 html body.logo-story-page .identity-applications{grid-row:3;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:12px 0 0!important}
 html body.logo-story-page .identity-application{height:var(--photo-small);aspect-ratio:auto}
 html body.logo-story-page .identity-application img{position:absolute;height:100%;object-fit:cover}
 .case-opening-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;padding-top:64px}
 .case-opening-item .ad-heading{display:block;margin:0}
 .case-opening-item .ad-label{padding:0;margin-bottom:24px}
 .case-opening-item .ad-heading h2{font-size:clamp(32px,3.1vw,44px);line-height:1.12;margin-bottom:20px}
 .case-opening-item p{max-width:44ch}
}
.ad-case .ad-credits-top{display:block;padding-top:24px}
.ad-case .ad-credits-top>div{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.ad-case .ad-credits-top :is(small,p){margin:0}
body[data-case] main figcaption{font:400 12px/1.5 'Manrope',Arial,sans-serif;letter-spacing:0;text-transform:none}
body[data-case=lego] #colmobil figcaption.col-meta{font:400 12px/1.5 'Manrope',Arial,sans-serif;letter-spacing:0;text-transform:none}
html[lang=he] body[data-case] main figcaption{font-family:'OKO Hebrew',Heebo,Arial,sans-serif!important}
@media(max-width:760px){
 :root{--case-gutter:20px;--case-space:64px}
 .case-opening-pair{display:grid;gap:36px;padding-top:48px}
 .case-opening-item .ad-heading{margin:0}
 .case-opening-item .ad-heading h2{font-size:32px;line-height:1.15}
 .ad-case .ad-credits-top>div{gap:8px}
 html body.logo-story-page .identity:nth-child(n){padding-block:48px!important}
}
/* These sections used to inherit a second fixed-height canvas inside their padding. */
@layer mobilePaper{
 html:root body[data-home-discipline=design] .statement>.statement-grid{
  min-height:0!important;height:auto!important;padding-block:0!important;align-items:start!important;
 }
 @media(min-width:1025px){
  html:root body[data-home-discipline=design] .statement>.statement-grid{grid-template-columns:132px minmax(0,1.5fr) minmax(0,1fr)!important;gap:42px!important}
  html:root body[data-home-discipline=design] .statement h2{font-size:clamp(38px,4vw,56px)!important;line-height:1.12!important}
  html:root body[data-home-discipline=design] .statement p{max-width:38ch!important;align-self:start!important}
 }
 html:root body[data-home-discipline=design] .statement{padding-block:96px!important}
 @media(max-width:760px){html:root body[data-home-discipline=design] .statement{padding-block:64px!important}}
}
@media(prefers-reduced-motion:reduce){html:root{scroll-behavior:auto!important}}

/* In-page links clear the fixed paper header, including direct hash URLs. */
html body[data-case] main :is(section[id],article[id],div[id],figure[id]){scroll-margin-top:120px!important}
@media(max-width:760px){html body[data-case] main :is(section[id],article[id],div[id],figure[id]){scroll-margin-top:104px!important}}
/* Switch the whole menu surface as soon as the first photograph stops covering it. */
@media(min-width:761px){
 html:root body.people-album-page .people-album-intro:not(.is-over-photo){background:#fff!important;color:#151218!important}
 html:root body.people-album-page .people-album-intro:not(.is-over-photo) :is(.people-page-title,.people-category-item,.people-category-title,.people-category-title .title-line,.people-category-copy,.people-category-subtitle,.people-category-no,.people-album-meta,.people-album-current){color:#151218!important}
 html:root body.people-album-page .people-album-intro:not(.is-over-photo) :is(.people-category-menu,.people-category-item,.people-album-meta){border-color:rgba(21,18,24,.18)!important}
}
/* Photo sizing owns its cascade on desktop, as the mobile photo sheet does below 761px. */
@layer mobilePaper{
 @media(min-width:761px){
  html:root body[data-case] main img[data-photo-tier]{
   height:var(--photo-large)!important;min-height:0!important;max-height:none!important;
   position:relative!important;inset:auto!important;display:block!important;
   width:100%!important;object-fit:cover!important;object-position:var(--photo-position,50% 50%)!important;aspect-ratio:auto!important;
  }
  html:root body[data-case] main img[data-photo-tier=medium]{height:var(--photo-medium)!important}
  html:root body[data-case] main img[data-photo-tier=small]{height:var(--photo-small)!important}
  html:root body[data-case] main :is(.ad-image,.sp-image,.bb-image,.col-art-button):has(>img[data-photo-tier]){height:auto!important;max-height:none!important;aspect-ratio:auto!important;overflow:hidden!important}
 }
}

/* The four supporting LEGO photographs share the same two-column rhythm. */
@layer mobilePaper{
 html:root body[data-case] #lego .bb-support .bb-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:none!important}
 html:root body[data-case] #lego .bb-support .bb-photo{width:100%!important;max-width:none!important;justify-self:stretch!important}
 @media(max-width:760px){html:root body[data-case] #lego .bb-support .bb-pair{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}}
}
/* Captions below an image use one gap, never stacked margin and padding.
   In-art labels, multi-part editorial blocks and screen-reader text are excluded. */
@layer mobilePaper{
 html:root body[data-case="autodepot"] main :is(.ad-figure,.ad-wall-panel)>figcaption,
 html:root body[data-case="space"] main :is(.sp-photo,.sp-specimen)>figcaption,
 html:root body[data-case="lego"] main :is(.col-photo,.col-art,.bb-photo)>figcaption:not(.col-sr-only),
 html:root body[data-case="small-business"] main :is(.sb-photo-strip,.sb-neon-photo-strip,.sb-study)>figcaption{
  margin-block-start:12px!important;
  padding-block:0!important;
  line-height:1.5!important;
 }
}

/* Related media use a shorter pause than the start of another chapter. */
@layer mobilePaper {
 body[data-case] main {
  --case-media-gap:48px;
  --case-chapter-gap:clamp(88px,8.4vw,128px);
 }
 html:root body[data-case] main :is(
  .ad-figure.ad-installed + .ad-figure.ad-installed,
  .sp-wide-photo + .sp-boxing-feature,
  .sp-sports + .sp-series-light-pair,
  .sp-series-light-pair + .sp-application-trio,
  .sp-object-story + .sp-application-trio,
  .sp-application-trio + .sp-application-trio,
  .col-handover-photo + .col-handover-sequence,
  .col-showroom + .col-star-detail,
  .col-totem-intro + .col-parking-study
 ) {margin-block-start:var(--case-media-gap)!important}
 html:root body[data-case="space"] main .sp-light-details {margin-block-end:var(--case-media-gap)!important}
 html:root body[data-case="lego"] main :is(#lego,#karcher) > .bb-detail {
  margin-block-start:var(--case-chapter-gap)!important;
 }
 @media(max-width:760px){
  body[data-case] main {--case-media-gap:32px;--case-chapter-gap:64px}
 }
}


/* Source: assets/case-reading.css */
/* AutoDepot and SPACE: captions stay attached to their visual, sections retain clear pauses. */
body[data-case=space] .sp-boxing-source{display:block;max-width:260px;margin:32px auto 0!important}
body[data-case=space] .sp-boxing-source>.sp-image{max-width:240px;margin-inline:auto}
body[data-case=space] .sp-boxing-source>figcaption{margin-top:12px;text-align:center}
body[data-case=space] .sp-boxing-feature+.sp-proof-pair{margin-top:48px}
body[data-case=space] .sp-object-story{margin-top:40px}
body[data-case=autodepot] .ad-delivery{margin-bottom:32px}
@media(max-width:760px){
 body[data-case=space] .sp-boxing-source{max-width:220px;margin-top:24px!important}
 body[data-case=space] .sp-boxing-source>.sp-image{max-width:200px}
 body[data-case=space] .sp-boxing-feature+.sp-proof-pair{margin-top:32px}
 body[data-case=space] .sp-object-story{margin-top:24px}
 body[data-case=autodepot] .ad-delivery{margin-bottom:24px}
}
/* Brand applications: one introduction per case; keep the credit block compact. */
body[data-case=lego] #colmobil .col-contents{margin-top:40px}
body[data-case=lego] #colmobil .col-end>.col-credit{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;margin-top:0}
body[data-case=lego] #colmobil .col-end>.col-credit p{margin:0}
body[data-case=lego] #lego>.bb-heading+#lego-opening{margin-top:48px}
body[data-case=lego] #karcher>.bb-heading+.kar-applications{margin-top:48px}
@media(max-width:760px){
 body[data-case=lego] #colmobil .col-contents{margin-top:24px}
 body[data-case=lego] #colmobil .col-end>.col-credit{flex-direction:column;gap:8px}
 body[data-case=lego] #lego>.bb-heading+#lego-opening,
 body[data-case=lego] #karcher>.bb-heading+.kar-applications{margin-top:32px}
}
@media(min-width:1025px){
 body[data-case=lego] :is(#lego,#karcher)>.bb-heading{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:64px}
}
/* Small-business drawings follow the application text without repeated headings. */
body[data-case=small-business] .sb-studies{margin-top:48px}
body[data-case=small-business] .sb-study figcaption{margin-top:12px}
@media(max-width:760px){
 body[data-case=small-business] .sb-studies{margin-top:32px}
}
/* Opening rhythm: preserve the case content and bring the first work closer. */
@media(min-width:761px){
 body[data-case="autodepot"] .ad-hero{padding-top:48px}
 body[data-case="autodepot"] .ad-hero h1{font-size:clamp(60px,10vw,144px);margin-block:24px 28px}
 body[data-case="autodepot"] .ad-deck{font-size:clamp(25px,2.2vw,32px)}
 body[data-case="autodepot"] .ad-hero-bottom{gap:24px;margin-bottom:36px}
 body[data-case="space"] .sp-hero{padding-top:48px}
 body[data-case="space"] .sp-hero-title{margin-block:24px 28px}
 body[data-case="lego"] .brandbook-index{padding-block:48px 32px}
 body[data-case="lego"] .brandbook-index h1{font-size:clamp(42px,5.3vw,76px);margin-block:20px}
 body[data-case="lego"] #colmobil.col-case{margin-top:40px}
 body[data-case="lego"] #colmobil .col-intro h2{font-size:clamp(64px,6vw,88px)}
 body[data-case="lego"] #colmobil .col-intro h2>span:last-child{font-size:clamp(30px,2.8vw,40px);margin-top:16px}
 body[data-case="lego"] #colmobil .col-opening{margin-top:32px}
 body[data-case="small-business"] .sb-hero{padding-block:48px 44px}
 body[data-case="small-business"] .sb-hero h1{font-size:clamp(52px,5.3vw,80px)}
 body[data-case="small-business"] .sb-intro{margin-top:28px}
 body[data-case="small-business"] .sb-index{margin-top:32px}
 body[data-case="small-business"] #maya.sb-band{padding-top:64px}
 body[data-case="identities"] .project-hero{padding-block:48px 40px}
 body[data-case="identities"] .project-hero h1{font-size:clamp(54px,7.5vw,116px);line-height:1}
 body[data-case="identities"] .project-hero .project-deck{font-size:clamp(19px,1.8vw,25px);line-height:1.4;margin-block:24px 0}
}
@layer mobilePaper{
 @media(max-width:760px){
  html:root body[data-case="autodepot"] .ad-hero{padding-top:28px!important}
  html:root body[data-case="autodepot"] .ad-hero h1{margin-block:16px 20px!important}
  html:root body[data-case="autodepot"] .ad-hero-bottom{gap:20px!important;margin-bottom:24px!important}
  html:root body[data-case="space"] .sp-hero{padding-top:28px!important}
  html:root body[data-case="space"] .sp-hero-title{margin-block:16px 20px!important}
  html:root body[data-case="space"] .sp-hero-title h1{margin-bottom:16px!important}
  html:root body[data-case="space"] .sp-facts{margin-block:24px 32px!important;padding-top:20px!important}
  html:root body[data-case="lego"] .brandbook-index{padding-block:32px 24px!important}
  html:root body[data-case="lego"] .brandbook-nav{gap:0!important;align-items:stretch!important}
  html:root body[data-case="lego"] .brandbook-nav a{width:100%!important;min-height:48px!important;box-sizing:border-box;justify-content:flex-start!important;padding-block:12px!important}
  html:root body[data-case="lego"] main#main-content .brandbook-index h1{font-size:clamp(40px,10.5vw,64px)!important;line-height:1!important;margin-block:16px!important}
  html:root body[data-case="lego"] #colmobil.col-case{margin-top:32px!important}
  html:root body[data-case="lego"] #colmobil .col-intro-grid{gap:20px!important}
  html:root body[data-case="lego"] #colmobil .col-opening{margin-top:24px!important}
  html:root body[data-case="small-business"] .sb-hero{padding-block:32px!important}
  html:root body[data-case="small-business"] .sb-intro{margin-top:24px!important;gap:16px!important}
  html:root body[data-case="small-business"] .sb-index{margin-top:28px!important}
  html:root body[data-case="small-business"] .sb-index a{padding-block:12px!important;min-height:48px;box-sizing:border-box}
  html:root body[data-case="small-business"] #maya.sb-band{padding-top:48px!important}
  html:root body[data-case="identities"] .project-hero{padding-block:32px!important}
  html:root body[data-case="identities"] main .project-hero h1{font-size:clamp(40px,10.5vw,64px)!important;line-height:1!important;margin-block:16px!important}
  html:root body[data-case="identities"] .project-hero .project-deck{margin-block:16px 0!important}
 }
}
/* An internal section heading owns the gap to its first visual.
   Chapter openings and pauses between sections retain their existing spacing. */
@layer mobilePaper{
 html:root body[data-case="autodepot"] main .ad-heading:has(+ *),
 html:root body[data-case="lego"] main .col-section-head:has(+ :is(.col-photo,.col-wayfinding-showcase,.col-brand-photos,.col-wall-photo-pair)){
  margin-bottom:32px!important;
 }
 html:root body[data-case="autodepot"] main .ad-heading+*,
 html:root body[data-case="autodepot"] main #autodepot-finish-photo>.ad-figure:first-child,
 html:root body[data-case="lego"] main #colmobil-wayfinding .col-wayfinding-showcase>.col-photo:first-child,
 html:root body[data-case="lego"] main .col-section-head+:is(.col-photo,.col-wayfinding-showcase,.col-brand-photos,.col-wall-photo-pair){
  margin-top:0!important;
 }
 @media(max-width:760px){
  html:root body[data-case="autodepot"] main .ad-heading:has(+ *),
  html:root body[data-case="lego"] main .col-section-head:has(+ :is(.col-photo,.col-wayfinding-showcase,.col-brand-photos,.col-wall-photo-pair)){
   margin-bottom:24px!important;
  }
 }
}

/* Shared opening marker only; chapter labels keep their own hierarchy. */
@layer mobilePaper{
 html:root body[data-case] main#main-content .case-opening-label,
 html:root body[data-case] main#main-content .case-opening-label>span{
  font-family:'Azeret Mono',monospace!important;
  font-size:11px!important;font-weight:400!important;line-height:1.5!important;
  letter-spacing:.06em!important;color:#dd3c25!important;
  -webkit-text-fill-color:#dd3c25!important;
 }
 html:root[lang="he"] body[data-case] main#main-content .case-opening-label,
 html:root[lang="he"] body[data-case] main#main-content .case-opening-label>span{
  font-family:'OKO Hebrew','Heebo',Arial,sans-serif!important;
  font-size:12px!important;letter-spacing:0!important;
 }
 @media(max-width:760px){
  html:root body[data-case] main#main-content .case-opening-label,
  html:root body[data-case] main#main-content .case-opening-label>span{font-size:12px!important}
 }
 @media(max-width:1024px){
  @supports(-webkit-background-clip:text){
   html:root body[data-case] main#main-content .case-opening-label,
   html:root body[data-case] main#main-content .case-opening-label>span{
    background-image:url('/assets/mobile-red-paint.png')!important;
    background-color:transparent!important;background-repeat:repeat!important;
    background-size:256px 256px!important;
    -webkit-background-clip:text!important;background-clip:text!important;
    -webkit-text-fill-color:transparent!important;
   }
  }
 }
}


/* Source: assets/case-chapters.css */
/* AutoDepot: approved home chapter hierarchy. Desktop is the rollout baseline. */
@layer mobilePaper {
 /* Keep the established compact presentation below the desktop breakpoint. */
 html:root body[data-case="autodepot"] main .case-chapter-title {
  display:inline;font:inherit!important;letter-spacing:inherit!important;margin:0!important;padding:0!important;
 }
 html:root body[data-case="autodepot"] main .case-chapter-intro {
  font-size:clamp(36px,4.8vw,66px);font-weight:400;line-height:1.07;letter-spacing:-.055em;
  margin:0 0 24px;max-width:850px;
 }
 html:root body[data-case="autodepot"] .ad-project-name {display:flex;align-items:center;gap:20px}
 html:root body[data-case="autodepot"] .case-new {
  display:inline-flex;flex:none;align-items:center;justify-content:center;
  padding:5px 7px 4px;background:var(--brand-logo-red,#dd3c25);color:#EDEBE0;
  font:700 16px/1 Georgia,'Times New Roman',serif;letter-spacing:-.02em;
  border-radius:2px;white-space:nowrap;
 }
 @media(max-width:1080px){
  html:root body[data-case="autodepot"] .ad-hero-head>.ad-deck{margin-bottom:24px}
  html:root body[data-case="autodepot"] .case-opening-item .case-chapter-intro{font-size:clamp(32px,3.1vw,44px);line-height:1.12;margin-bottom:20px}
 }
 @media(max-width:760px){
  html:root body[data-case="autodepot"] main .case-chapter-intro{font-size:38px!important;line-height:1.07!important;margin-bottom:20px}
  html:root body[data-case="autodepot"] main .case-opening-item .case-chapter-intro{font-size:32px!important;line-height:1.15!important}
  html:root body[data-case="autodepot"] .ad-project-name{gap:10px}
  html:root body[data-case="autodepot"] .case-new{font-size:12px;padding:4px 5px}
 }
 @media(min-width:1081px){
  html:root body[data-case="autodepot"]{
   --case-measure:1480px;--case-gutter:72px;
   --chapter-size:clamp(64px,6.6vw,96px);
   --chapter-space:clamp(112px,8.4vw,160px);
   --chapter-copy-width:clamp(240px,24vw,340px);
   --chapter-columns:minmax(0,1fr) var(--chapter-copy-width);
   --chapter-gap:40px;
   --chapter-details-columns:repeat(2,minmax(0,1fr)) var(--chapter-copy-width);
   --chapter-visual-gap:56px;
   --project-title-size:clamp(80px,8.5vw,128px);
  }
  html:root body[data-case="autodepot"] main .ad-shell {
   box-sizing:border-box!important;width:min(1480px,calc(100% - 144px))!important;max-width:1480px!important;margin-inline:auto!important;
  }
  html:root body[data-case="autodepot"] main .case-chapter,
  html:root body[data-case="autodepot"] main .ad-hero-head {
   display:grid!important;grid-template-columns:var(--chapter-columns)!important;
   column-gap:var(--chapter-gap)!important;row-gap:20px!important;align-items:start!important;
   padding:0!important;margin:0 0 var(--chapter-visual-gap)!important;border:0!important;
  }
  html:root body[data-case="autodepot"] main .case-chapter>.ad-label{display:contents!important}
  html:root body[data-case="autodepot"] main .case-chapter-number,
  html:root body[data-case="autodepot"] main .ad-hero-head>.ad-eyebrow,
  html:root body[data-case="autodepot"] main .ad-hero-head>.ad-eyebrow>span {
   grid-column:1!important;grid-row:1!important;margin:0!important;padding:0!important;
   font:400 10px/1.4 'Azeret Mono',monospace!important;letter-spacing:.045em!important;
   color:var(--chapter-number-red,#c53020)!important;-webkit-text-fill-color:currentColor!important;
  }
  html:root body[data-case="autodepot"] main .case-chapter-title,
  html:root body[data-case="autodepot"] main .case-chapter-title>span {
   font-family:Georgia,'Times New Roman',serif!important;font-size:var(--chapter-size)!important;
   font-weight:700!important;line-height:1.02!important;letter-spacing:-.035em!important;
   text-transform:uppercase!important;color:#1F1F1F!important;-webkit-text-fill-color:currentColor!important;
   background:none!important;white-space:normal!important;text-wrap:wrap!important;overflow:visible!important;
   word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
  }
  html:root body[data-case="autodepot"] main .case-chapter-title{
   display:block!important;grid-column:1!important;grid-row:2!important;
   width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;text-align:start!important;
  }
  html:root body[data-case="autodepot"] main .case-chapter-copy,
  html:root body[data-case="autodepot"] main .ad-hero-head>.ad-deck {
   grid-column:2!important;grid-row:2!important;width:100%!important;max-width:none!important;min-width:0!important;
   justify-self:stretch!important;align-self:start!important;margin:calc(var(--chapter-size) * .14) 0 0!important;padding:0!important;
  }
  html:root body[data-case="autodepot"] main .case-chapter-copy p,
  html:root body[data-case="autodepot"] main .case-chapter-copy p>span,
  html:root body[data-case="autodepot"] main .ad-hero-head>.ad-deck,
  html:root body[data-case="autodepot"] main .ad-hero-head>.ad-deck>span{
   font-family:Manrope,Arial,sans-serif!important;font-size:16px!important;font-weight:400!important;
   line-height:1.6!important;letter-spacing:0!important;text-transform:none!important;
   max-width:none!important;margin:0!important;padding:0!important;text-align:start!important;
  }
  html:root body[data-case="autodepot"] main .case-chapter-copy p+p{margin-top:12px!important}
  html:root body[data-case="autodepot"] main .ad-hero{padding-top:64px!important}
  html:root body[data-case="autodepot"] main .ad-project-name {
   grid-column:1!important;grid-row:2!important;align-items:center!important;gap:20px!important;min-width:0!important;
  }
  html:root body[data-case="autodepot"] main .ad-project-name h1{
   font:700 var(--project-title-size)/1.02 Georgia,'Times New Roman',serif!important;
   letter-spacing:-.035em!important;color:#1F1F1F!important;margin:0!important;padding:0!important;
  }
  html:root body[data-case="autodepot"] main .ad-hero-bottom{display:block!important;margin-bottom:48px!important}
  html:root body[data-case="autodepot"] main .ad-hero-head>.ad-deck{margin-top:calc(var(--project-title-size) * .14)!important}
  html:root body[data-case="autodepot"] main :is(.ad-facts,.ad-delivery-grid,.ad-endcredits){
   display:grid!important;grid-template-columns:var(--chapter-details-columns)!important;
   column-gap:var(--chapter-gap)!important;row-gap:24px!important;align-items:start!important;
  }
  html:root body[data-case="autodepot"] main :is(.ad-facts,.ad-delivery-grid,.ad-endcredits)>div{min-width:0!important;margin:0!important}
  html:root body[data-case="autodepot"] main .ad-delivery-grid{padding-top:24px!important}
  html:root body[data-case="autodepot"] main .ad-files{margin-inline:0!important;width:100%!important;max-width:none!important}
  html:root body[data-case="autodepot"] main .ad-files a{font:400 14px/1.5 var(--case-action-font)!important;padding:20px 0!important;min-height:48px!important;align-items:center!important}
  html:root body[data-case="autodepot"] main .ad-signature-stage{margin-top:24px!important}
  html:root body[data-case="autodepot"] main .ad-garage>.ad-installed{width:100%!important;max-width:none!important;margin-inline:0!important}
  html:root body[data-case="autodepot"] main .ad-facts{padding-top:24px!important}
  html:root body[data-case="autodepot"] main .case-opening-pair{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   gap:var(--chapter-space)!important;padding-top:var(--chapter-space)!important;
  }
  html:root body[data-case="autodepot"] main .case-opening-item .case-chapter{margin-bottom:0!important}
  html:root body[data-case="autodepot"] main :is(.ad-section,.ad-brand-system,.ad-garage){padding-top:var(--chapter-space)!important}
  html:root body[data-case="autodepot"] main .case-chapter:has(+*){margin-bottom:var(--chapter-visual-gap)!important}
  html:root body[data-case="autodepot"] main .case-chapter+*{margin-top:0!important}
  html:root body[data-case="autodepot"] main .ad-wall-gallery{width:100%!important;max-width:none!important;margin-inline:0!important}
  html:root body[data-case="autodepot"] main .ad-outro{margin-top:var(--chapter-space)!important;padding:var(--chapter-space) 0 48px!important}
  html:root body[data-case="autodepot"] main .ad-outro .case-chapter{margin-bottom:var(--chapter-visual-gap)!important}
  html:root body[data-case="autodepot"] main .ad-endcredits{margin-block:0 32px!important}
  html:root body[data-case="autodepot"] footer.site-end{--footer-measure:1480px!important;--footer-gutter:72px!important}
  html:root[lang="he"] body[data-case="autodepot"] main .case-chapter-title,
  html:root[lang="he"] body[data-case="autodepot"] main .case-chapter-title>span{font-family:'OKO Hebrew',Heebo,Arial,sans-serif!important}
  html:root[lang="he"] body[data-case="autodepot"] main .case-chapter-copy p,
  html:root[lang="he"] body[data-case="autodepot"] main .case-chapter-copy p>span,
  html:root[lang="he"] body[data-case="autodepot"] main .ad-hero-head>.ad-deck,
  html:root[lang="he"] body[data-case="autodepot"] main .ad-hero-head>.ad-deck>span{font-family:'OKO Hebrew',Heebo,Arial,sans-serif!important}
 }
}


/* Source: assets/mobile-chapters.css */
/* The approved chapter hierarchy at compact widths. */
@layer mobilePaper {
 /* Keep chapter numbers on the reading edge without reversing their digits. */
 html:root body[data-case] main#main-content .case-desktop-number{justify-self:start!important}
 @media(max-width:1080px){
  html:root body:is([data-case="space"],[data-case="lego"],[data-case="small-business"],[data-case="identities"]) main#main-content .case-compact-heading{display:none!important}
  html:root body:is([data-case="space"],[data-case="lego"],[data-case="small-business"],[data-case="identities"]) main#main-content .case-desktop-chapter,
  html:root body[data-case="autodepot"] main#main-content :is(.case-chapter,.ad-hero-head){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;width:100%!important;max-width:none!important;margin:0 0 32px!important;padding:0!important;border:0!important;text-align:start!important;align-items:start!important}
  html:root body[data-case="autodepot"] main#main-content .case-chapter>.ad-label{display:contents!important}
  html:root body[data-case] main#main-content :is(.case-desktop-number,.case-chapter-number,.ad-hero-head>.ad-eyebrow,.ad-hero-head>.ad-eyebrow>span){display:block!important;grid-area:1 / 1!important;font:400 10px/1.4 'Azeret Mono',monospace!important;letter-spacing:.045em!important;color:var(--chapter-number-red,#c53020)!important;opacity:1!important;padding:0!important;margin:0!important}
  html:root body[data-case] main#main-content :is(.case-desktop-title,.case-desktop-title>span,.case-chapter-title,.case-chapter-title>span){font:700 clamp(32px,6.6vw,64px)/1.04 Georgia,'Times New Roman',serif!important;letter-spacing:-.035em!important;text-transform:uppercase!important;color:#1F1F1F!important;background:none!important;white-space:normal!important;text-wrap:wrap!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;margin:0!important;padding:0!important;max-width:100%!important}
  html:root body[data-case] main#main-content :is(.case-desktop-title,.case-chapter-title){display:block!important;grid-area:2 / 1!important;width:100%!important;text-align:start!important}
  html:root body[data-case] main#main-content :is(.case-desktop-hero .case-desktop-title,.case-desktop-hero .case-desktop-title>span,.ad-project-name h1){font:700 clamp(40px,8.5vw,80px)/1.04 Georgia,'Times New Roman',serif!important;letter-spacing:-.035em!important;text-transform:uppercase!important;max-width:100%!important;margin:0!important;color:#1F1F1F!important}
  html:root body[data-case="autodepot"] main#main-content .ad-project-name{grid-area:2 / 1!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;min-width:0!important}
  html:root body[data-case] main#main-content :is(.case-desktop-copy,.case-chapter-copy,.ad-hero-head>.ad-deck){display:block!important;grid-area:3 / 1!important;width:100%!important;max-width:none!important;min-width:0!important;margin:4px 0 0!important;padding:0!important;align-self:start!important}
  html:root body[data-case] main#main-content :is(.case-desktop-copy p,.case-desktop-copy p>span,.case-chapter-copy p,.case-chapter-copy p>span,.ad-hero-head>.ad-deck,.ad-hero-head>.ad-deck>span){font:400 16px/1.6 Manrope,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#1F1F1F!important;margin:0!important;padding:0!important;max-width:none!important;text-align:start!important}
  html:root body[data-case] main#main-content :is(.case-desktop-copy,.case-chapter-copy) p+p{margin-top:12px!important}
  html:root[lang="he"] body[data-case] main#main-content :is(.case-desktop-title,.case-desktop-title>span,.case-chapter-title,.case-chapter-title>span,.case-desktop-copy p,.case-chapter-copy p){font-family:'OKO Hebrew',Heebo,Arial,sans-serif!important}
  html:root[lang="he"] body[data-case] main#main-content :is(.case-desktop-title[lang="en"],.case-desktop-title>span[lang="en"]){font-family:Georgia,'Times New Roman',serif!important}
 }
}
/* Legacy mobile ink masks must not erase the new solid chapter lettering. */
@layer mobilePaper {
 @media(max-width:1080px){
  html:root body[data-case] main#main-content :is(.case-desktop-title,.case-desktop-title>span,.case-chapter-title,.case-chapter-title>span,.case-desktop-number,.case-chapter-number,.ad-project-name h1,.ad-hero-head>.ad-eyebrow,.ad-hero-head>.ad-eyebrow>span){-webkit-text-fill-color:currentColor!important;background-image:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important}
  html:root body.site-menu-open>#site-mobile-menu,
  html:root body.site-menu-open>#site-header{background:var(--brand-menu-ink,#151218)!important;background-image:none!important}
  html:root body.site-menu-open>#site-mobile-menu :is(nav a,.header-languages a,.header-languages a span){color:#EDEBE0!important;-webkit-text-fill-color:#EDEBE0!important;background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important}
  html:root body.site-menu-open :is(#site-mobile-menu,#site-header)>.mobile-surface-paint,
  html:root body.site-menu-open>#site-header :is(.mobile-brand-pixels,.mobile-edge-pixels){display:none!important}
  html:root body.site-menu-open>#site-header .brand{background-color:transparent!important}
 }
}
@layer mobilePaper {
 @media(max-width:1080px){
  html:root body.site-menu-open>#site-header .brand[data-brand-pixels]{background:transparent url('/assets/brand/oko2art-wordmark.svg') left center/112px auto no-repeat!important}
 }
 @media(max-width:760px){
  html:root body[data-home-discipline="design"] main#top #works :is(.printer-title,.project-type-title){font-family:Manrope,Arial,sans-serif!important;text-transform:none!important;line-height:1.18!important;letter-spacing:-.035em!important;text-wrap:wrap!important;padding-block:0!important}
  html:root[lang="he"] body[data-home-discipline="design"] main#top #works :is(.printer-title,.project-type-title){
   font-family:'OKO Hebrew',Heebo,Arial,sans-serif!important;
  }
  html:root body[data-home-discipline="design"] main#top #works :is(.printer-title,a.project-type-title){
   position:relative!important;box-sizing:border-box;padding-inline-end:36px!important;
  }
  html:root body[data-home-discipline="design"] main#top #works :is(.printer-title, a.project-type-title)::after {
   content: ''; position: absolute; inline-size: 24px; block-size: 24px;
   inset-inline-end: 0; inset-block-start: 50%; transform: translateY(-50%);
   background: url("/assets/mobile-ink-paint-v2.png") repeat !important;
   mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-5 6 5-6 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
   filter: brightness(.12);
  }
  html:root[dir="rtl"] body[data-home-discipline="design"] main#top #works :is(.printer-title, a.project-type-title)::after {
   transform: translateY(-50%) scaleX(-1);
  }
  html:root body[data-home-discipline="design"] main#top #works a.row-view{display:none!important}
  html:root body[data-home-discipline="design"] main#top #works .row-view[aria-disabled="true"]{display:inline-block!important;font:400 12px/1.5 'Azeret Mono',monospace!important;white-space:nowrap!important;min-height:0!important;padding:0!important;margin:16px 0 0 36px!important;border:0!important;color:#1F1F1F!important;-webkit-text-fill-color:currentColor!important;background:none!important}
 }
 @media(max-width:360px){
  html:root body[data-case] main#main-content :is(.case-desktop-title:not(h1),.case-desktop-title:not(h1)>span,.case-chapter-title,.case-chapter-title>span){font-size:30px!important}
 }
}
@layer mobilePaper {
 @media(max-width:1080px){
  html:root body[data-case] main#main-content .case-desktop-chapter{grid-column:1 / -1!important}
  html:root body[data-case="autodepot"] main#main-content .case-opening-pair{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:64px!important}
  html:root body[data-case="autodepot"] main#main-content .case-opening-item .case-chapter{margin-bottom:0!important}
  html:root body[data-case="lego"] main#main-content .project-enquiry{display:block!important}
 }
}



@layer buttons {
 @media(max-width:760px){
  html:root body[data-home-discipline="design"] main#top .clients .logo-rail{
   width:calc(100% - 40px)!important;
   margin-inline:auto!important;
  }
 }
}

/* Keep mobile headings legible on the fixed paper surface in auto-dark browsers. */
@layer mobilePaper {
 @media (max-width: 760px) {
  html:root body[data-home-discipline="design"] main#top #works :is(.printer-title, .project-type-title) {
   line-height: 1.24 !important;
   padding-block-end: .1em !important;
  }

  html:root body[data-case] main#main-content :is(.case-desktop-title, .case-chapter-title, .ad-project-name h1) {
   padding-block-end: .12em !important;
  }

  @supports (-webkit-background-clip: text) {
   html:root body[data-home-discipline="design"] main#top .home-chapter :is(h2, p),
   html:root body[data-home-discipline="design"] main#top #works :is(.printer-title, .project-type-title) *,
   html:root body[data-case] main#main-content :is(
    .case-desktop-title, .case-desktop-title > span:not(.case-client-logo),
    .case-chapter-title, .case-chapter-title > span, .ad-project-name h1,
    .case-desktop-copy p, .case-desktop-copy p > span, .case-chapter-copy p,
    .case-chapter-copy p > span, .ad-hero-head > .ad-deck, .ad-hero-head > .ad-deck > span
   ) {
    background: url("/assets/mobile-ink-paint-v2.png") repeat !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
   }
   html:root body[data-home-discipline="design"] main#top .home-chapter :is(h2, p) * {
    background-image: none !important;
    -webkit-text-fill-color: transparent !important;
   }
  }

 }
}


/* Source: assets/project-openings.css */
/* Opening photographs have their own scale, independent of supporting images. */
@layer mobilePaper {
  @media (min-width:1081px) {
    html:root body[data-case="lego"] main#main-content #colmobil img[data-project-opening] {
      height:clamp(560px,76svh,860px)!important;
      width:100%!important;max-height:none!important;object-fit:cover!important;
      object-position:50% 50%!important;
    }
    html:root body[data-case="small-business"] main#main-content [data-opening-pair]>img {
      height:clamp(430px,60svh,640px)!important;
      width:100%!important;object-fit:cover!important;object-position:center!important;
    }
    html:root body[data-case="small-business"] main#main-content [data-opening-sequence] {
      display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    html:root body[data-case="small-business"] main#main-content [data-opening-sequence]>img:first-child {
      grid-column:1/-1!important;height:clamp(480px,72svh,820px)!important;
      object-fit:cover!important;object-position:center!important;
    }
  }
  @media (max-width:1080px) {
    html:root body[data-case] main#main-content img[data-project-opening] {
      width:100%!important;height:calc(var(--mobile-media-width) * .75)!important;
      min-height:0!important;max-height:none!important;object-fit:cover!important;
      object-position:var(--opening-position,50% 50%)!important;
    }
    html:root body[data-case="lego"] main#main-content #colmobil img[data-project-opening] {
      height:calc(var(--mobile-media-width) * .60)!important;
      object-position:50% 50%!important;
    }
  }
  @media (max-width:600px) {
    html:root body[data-case="lego"] main#main-content #colmobil img[data-project-opening] {
      height:clamp(320px,calc(var(--mobile-media-width) * 1.05),540px)!important;
    }
  }
}

/* AutoDepot's source-preservation rules live in the earlier important layer. */
@layer portfolioType {
  @media (max-width:1080px) {
    html:root body[data-case="autodepot"] main#main-content #autodepot-facade img[data-project-opening] {
      height:calc(var(--mobile-media-width) * .75)!important;
      object-fit:cover!important;object-position:var(--opening-position,24% 50%)!important;
    }
    html:root body[data-case="space"] main#main-content .sp-hero>.sp-wide-photo {
      margin-block-start:24px!important;
    }
  }
}


/* Source: assets/editorial-motion.css */
/* Newspaper motion is a visual layer; the approved type and grid stay in place. */
html[data-editorial-motion] body[data-home-discipline="design"] main :is(.home-chapter.reveal,.practice-board.reveal){
  opacity:1!important;visibility:visible!important;transform:none!important;transition:none!important;
}
@media print{
  html[data-editorial-motion] [data-editorial-entry]{
    translate:none!important;clip-path:none!important;opacity:1!important;
  }
}

