/* Workshop photographs belong to the same paper, with a quiet wash of real color. */
.workshop-service-photo{margin:0 0 18px}
.workshop-photo{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;isolation:isolate;background:var(--paper);color:var(--red);touch-action:manipulation}
.workshop-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--photo-position,50% 50%);filter:grayscale(1) sepia(.12) contrast(1.02);pointer-events:none}
.workshop-photo>.workshop-photo-color{position:absolute;inset:0;z-index:1;filter:none;opacity:0;transition:opacity 1.2s var(--ease)}
.workshop-photo-mark{position:absolute;right:10px;bottom:9px;z-index:2;padding:0 5px;background:var(--paper);font:400 22px/1.2 var(--body);pointer-events:none}
.workshop-photo:focus-visible{outline:2px solid var(--red);outline-offset:5px}
.workshop-photo:focus-visible>.workshop-photo-color{opacity:1}
@media(hover:hover) and (pointer:fine){.workshop-photo:hover>.workshop-photo-color{opacity:1}}
@supports (mask-image:radial-gradient(#000,transparent)){
  .workshop-photo>.workshop-photo-color{
    -webkit-mask-image:radial-gradient(ellipse at center,#000 38%,rgba(0,0,0,.75) 55%,transparent 73%);
    mask-image:radial-gradient(ellipse at center,#000 38%,rgba(0,0,0,.75) 55%,transparent 73%);
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
    -webkit-mask-position:var(--wash-x,50%) var(--wash-y,50%);mask-position:var(--wash-x,50%) var(--wash-y,50%);
    -webkit-mask-size:0% 0%;mask-size:0% 0%;
    transition:opacity .7s ease,-webkit-mask-size 2.1s var(--ease),mask-size 2.1s var(--ease);
  }
  .workshop-photo:focus-visible>.workshop-photo-color{-webkit-mask-size:330% 330%;mask-size:330% 330%}
  @media(hover:hover) and (pointer:fine){.workshop-photo:hover>.workshop-photo-color{-webkit-mask-size:330% 330%;mask-size:330% 330%}}
}
.workshop-floor{padding:27px 15px 34px}
.workshop-floor>h2{margin:0 0 21px;font:italic 700 clamp(36px,4.1vw,58px)/1.03 var(--serif);letter-spacing:-.06em}
.workshop-spread{display:grid;grid-template-columns:minmax(0,1.78fr) minmax(0,1fr);gap:25px;align-items:start}
.workshop-story{min-width:0}
.workshop-story-main .workshop-photo{aspect-ratio:3/2}
.workshop-story figcaption{padding-top:7px;color:var(--muted);font:400 12px/1.4 var(--sans)}
.workshop-side{display:grid;gap:14px;min-width:0}
.workshop-dialog{width:calc(100% - 40px);max-width:1220px;max-height:calc(100dvh - 32px)}
.workshop-dialog .dialog-panel{padding:18px 22px 22px}
.workshop-dialog .dialog-topline{gap:16px;padding:8px 0}
.workshop-dialog .dialog-topline h2{margin:0;font:700 14px/1.3 var(--sans);letter-spacing:.035em;text-transform:uppercase}
.workshop-dialog .close-button{flex:none;width:44px;height:44px}
.workshop-inspection{margin-top:16px}
.workshop-inspection-frame{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;max-height:calc(100dvh - 166px);background:var(--paper)}
.workshop-inspection-frame>img{width:100%;height:100%;min-height:0;max-height:calc(100dvh - 166px);object-fit:contain;filter:none;touch-action:auto}
.workshop-inspection figcaption{margin-top:10px;font:400 14px/1.4 var(--body);color:var(--muted)}
.workshop-photo-status{position:absolute;left:12px;right:12px;bottom:12px;padding:9px 12px;background:var(--paper);font:400 13px/1.4 var(--sans);color:var(--ink)}
.motion-still .workshop-photo>.workshop-photo-color{opacity:0;transition:none;-webkit-mask-size:0% 0%;mask-size:0% 0%}
@media(max-width:1150px){.workshop-floor{padding-left:7px;padding-right:7px}.workshop-spread{gap:20px}}
@media(max-width:900px){.workshop-spread{grid-template-columns:1fr;gap:22px}.workshop-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:700px){
  .workshop-service-photo{margin-bottom:17px}
  .workshop-floor{padding:24px 4px 27px}.workshop-floor>h2{font-size:39px;margin-bottom:18px}
  .workshop-spread,.workshop-side{grid-template-columns:1fr;gap:22px}
  .workshop-story figcaption{font-size:12px;padding-top:7px}
  .workshop-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 18px)}
  .workshop-dialog .dialog-panel{padding:12px 12px 16px}
  .workshop-dialog .dialog-topline h2{font-size:12px}
  .workshop-inspection{margin-top:12px}
  .workshop-inspection-frame,.workshop-inspection-frame>img{max-height:calc(100dvh - 156px)}
  .workshop-photo-status{left:6px;right:6px;bottom:6px;font-size:12px;padding:8px}
}
@media(prefers-reduced-motion:reduce){.workshop-photo>.workshop-photo-color{display:none}.workshop-dialog[open]{animation:none}}
@media(forced-colors:active){.workshop-photo{outline:1px solid CanvasText}.workshop-photo-mark{color:LinkText;background:Canvas}.workshop-photo-status{color:CanvasText;background:Canvas}}
@media print{.workshop-photo>img{filter:none}.workshop-photo>.workshop-photo-color,.workshop-photo-mark,.workshop-dialog{display:none!important}}
