/* Shared work lists, media viewer and visible case evidence. */
@media screen {
 .app-surface .work-home .featured-info{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;column-gap:48px}
 .app-surface .work-home .preview-card .featured-info{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
 .app-surface .work-home .featured-info .featured-work-list{position:relative;z-index:2;display:flex;flex-direction:column;flex-wrap:nowrap;align-self:start;justify-content:flex-start;gap:0;width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:0;border-top:1px solid #e8e8ed}
 .app-surface .work-home .featured-info .featured-work-list>:is(button,a,.featured-entry){display:flex;align-items:center;flex-direction:row;flex:0 0 44px;gap:12px;width:100%;height:44px;min-height:44px;max-height:44px;padding:10px 4px;margin:0;border:0;border-bottom:1px solid #e8e8ed;border-radius:0;background:transparent;color:#85858c;font:inherit;font-size:15px;line-height:1.4;text-align:left;word-break:keep-all;transition:color .2s ease,background .2s ease}
 .app-surface .work-home .featured-info .featured-work-list>:is(button,a,.featured-entry)>span{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 .app-surface .work-home .featured-info .featured-work-list span.featured-number{flex:none;font-size:12px;color:#9b9ba3;font-variant-numeric:tabular-nums}
 .app-surface .work-home .featured-info .featured-work-list span.featured-row-arrow{margin-left:auto;font-size:18px;opacity:0;transition:opacity .2s ease}
 .app-surface .work-home .featured-info .featured-work-list button[aria-pressed=true],.app-surface .work-home .featured-info .featured-work-list a[data-preview-project]{background:transparent;color:#252529;font-weight:550}
 .app-surface .work-home .featured-info .featured-work-list button[aria-pressed=true] .featured-row-arrow,.app-surface .work-home .featured-info .featured-work-list a[data-preview-project] .featured-row-arrow{opacity:1}
 .app-surface .work-home .featured-info .featured-work-list>:is(button,a):hover{background:transparent;color:#252529}
 .app-surface .work-home .featured-info .featured-copy>a{font-size:15px}
 /* Focus is visible for keyboard use, without leaving a frame after a tap. */
 .app-surface [data-native-image]:is(:focus,:focus-visible){outline:none;box-shadow:none}
 .app-surface.keyboard-navigation [data-native-image]:focus-visible{outline:2px solid #62626c;outline-offset:-3px}
 .app-surface .kmet-review{margin-top:40px;padding-top:32px;border-top:1px solid #e7e7ec}
 .app-surface .kmet-review>h4{font-size:18px;margin:0 0 24px}
 .app-surface .kmet-review .review-lead{font-size:21px;font-weight:650;line-height:1.4;margin:0 0 16px;color:#29292e}
 .app-surface .kmet-review .kmet-technical>div>p:not(.review-lead){font-size:15px;line-height:1.7;color:var(--case-muted);word-break:keep-all}
 .app-surface .kmet-film-feature{margin:0 0 40px;min-width:0}
 .app-surface .kmet-film-feature figcaption{font-size:12px;line-height:1.6;color:var(--case-muted);padding:12px 0 0}
 .app-surface .kmet-scenes .kmet-film{max-height:none}
 .auto-slide-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 0;color:#73737c}
 .auto-slide-controls[hidden]{display:none}
 .auto-slide-instruction{font-size:12px;line-height:1.5;white-space:nowrap}
 .auto-slide-navigation{display:flex;align-items:center;gap:6px}
 .auto-slide-controls button{display:grid;place-items:center;width:40px;height:44px;padding:0;border:0;border-radius:50%;color:#34343a;background:transparent}
 .auto-slide-controls button:hover{background:#f5f5f7}
 .auto-slide-controls button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
 .auto-slide-dots{display:flex;align-items:center}
 .auto-slide-dots button{width:24px}
 .auto-slide-dots button span{width:5px;height:5px;border-radius:6px;background:#d8d8df;transition:width .22s ease,background .22s ease}
 .auto-slide-dots button[aria-current=true] span{width:16px;background:#35353b}
 .auto-slide-count{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:42px;text-align:center}
 .auto-case [data-scrollable=true] .auto-step-hint{display:none}
 .auto-case [data-scrollable=true] .auto-diagram-footer{margin-top:6px}
 /* A white, fitted canvas keeps alpha renders and original artwork readable. */
 #viewer{width:100%;max-width:none;height:100dvh;max-height:none;inset:0;margin:0;border:0;padding:0;background:#fff;color:#252529;overflow:hidden;overscroll-behavior:contain}
 #viewer::backdrop{background:#fff}
 #viewer[open]{display:flex;flex-direction:column;animation:media-viewer-arrive .26s cubic-bezier(.22,1,.36,1) both}
 #viewer.is-closing{pointer-events:none}
 #viewer .viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px;padding:20px max(28px,env(safe-area-inset-right)) 20px max(28px,env(safe-area-inset-left));border-bottom:1px solid #ececf0;background:#f5f5f7;flex:none}
 #viewer .viewer-heading{display:flex;align-items:center;gap:32px;min-width:0}
 #viewer .viewer-brand{font-size:21px;font-weight:750;letter-spacing:-.055em;white-space:nowrap}
 #viewer #viewer-title{font-size:12px;line-height:1.6;margin:0;color:#73737b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
 #viewer .viewer-controls{display:flex;align-items:center;gap:6px;flex:none}
 #viewer .viewer-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;min-height:44px;border:0;border-radius:50%;background:transparent;color:#29292e}
 #viewer .viewer-controls button:hover{background:#e8e8ed}
 #viewer .viewer-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
 #viewer #zoom-level{width:132px;max-width:32vw;height:44px;min-height:44px;padding:0 10px;font:inherit;font-size:12px;border:0;border-radius:12px;background:#eaeaf0;color:#35353b;margin:0 8px}
 #viewer .viewer-controls>:focus-visible{outline:2px solid #676771;outline-offset:1px}
 #viewer #viewer-stage{flex:1;min-height:0;overflow:auto;background:#fff;padding:24px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left));scrollbar-color:#d2d2d9 transparent;touch-action:pan-x pan-y pinch-zoom}
 #viewer #viewer-image{width:100%;height:100%;min-width:0;max-width:100%;max-height:100%;object-fit:contain;background:transparent}
 #viewer #viewer-stage.zoomed{display:block}
 #viewer #viewer-stage.zoomed #viewer-image{width:var(--zoom-width);height:auto;max-width:none;max-height:none}
 #viewer .viewer-hint{margin:0;padding:12px 16px max(16px,env(safe-area-inset-bottom));font-size:12px;line-height:1.5;color:#92929b;text-align:center}
 #viewer .viewer-touch-hint{display:none}
 @keyframes media-viewer-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
}
@media screen and (min-width:761px){
 .app-surface .unified-case .native-deck>.case-card>.case-section-heading{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));column-gap:18px;row-gap:16px}
 .app-surface .unified-case .native-deck>.case-card>.case-section-heading>:is(.case-heading-title,.case-heading-description){grid-column:1/5;min-width:0;max-width:none;margin:0}
 .app-surface .unified-case .native-deck>.case-card>.case-section-heading h3{margin:0}
 .app-surface .unified-case .native-deck>.case-card>.case-section-heading .eyebrow+h3{margin-top:12px}
 .app-surface .kmet-review .kmet-technical{grid-template-columns:repeat(8,minmax(0,1fr));gap:24px}
 .app-surface .kmet-review .kmet-technical>div{grid-column:1/5}
 .app-surface .kmet-review .kmet-technical>figure{grid-column:5/-1}
}
@media screen and (min-width:1200px){
 .app-surface .unified-case .native-deck>.case-card>.case-section-heading,.app-surface .kmet-review .kmet-technical{grid-template-columns:repeat(12,minmax(0,1fr))}
}
@media screen and (max-width:760px){
 .app-surface .work-home .featured-info,.app-surface .work-home .preview-card .featured-info{grid-template-columns:1fr;gap:16px;padding:24px}
 .app-surface .work-home .featured-info .featured-work-list{flex-direction:column;gap:0}
 .app-surface .work-home .featured-info .featured-work-list>:is(button,a,.featured-entry){flex:0 0 44px;height:44px;min-height:44px;max-height:44px;padding:10px 2px;gap:12px}
 .app-surface .kmet-review{margin-top:32px;padding-top:28px}
 .app-surface .kmet-film-feature{margin-bottom:28px}
 .auto-slide-controls{gap:4px;flex-wrap:wrap}
 .auto-slide-controls button{width:36px}
 .auto-slide-dots button{width:22px}
 .auto-slide-navigation{gap:2px}
 #viewer .viewer-toolbar{position:relative;display:flex;flex-wrap:wrap;gap:12px;min-height:0;padding:16px 18px 12px}
 #viewer .viewer-heading{display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:100%;padding-right:0}
 #viewer .viewer-brand{height:32px;display:flex;align-items:center;font-size:21px;padding-right:50px}
 #viewer #viewer-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:20px;line-height:1.5;font-size:12px}
 #viewer .viewer-controls{width:100%;gap:4px}
 #viewer #zoom-level{margin-left:auto;margin-right:0;max-width:none;width:132px}
 #viewer #close-viewer{position:absolute;top:10px;right:12px;margin:0}
 #viewer #viewer-stage{padding:16px 12px}
 #viewer .viewer-key-hint{display:none}
 #viewer .viewer-touch-hint{display:inline}
}
@media print{.auto-slide-controls{display:none!important}}
@media(prefers-reduced-motion:reduce){#viewer[open],#viewer #viewer-image{animation:none!important}.auto-slide-dots button span,.app-surface .work-home .featured-info .featured-work-list>*{transition:none!important}}
/* Group photography by background, with one shared grid for the light renders. */
@media screen{
 .app-surface .auto-case .auto-render-set-dark{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:24px;background:#080a0b;border-radius:20px;overflow:hidden}
 .app-surface .auto-case .auto-render-set-dark .native-image-item{margin:0}
 .app-surface .auto-case .auto-render-set-dark button{border-radius:0;background:transparent}
 .app-surface .auto-case .auto-render-set-dark img{display:block;width:100%;height:auto;object-fit:contain}
 .app-surface .auto-case .auto-render-set-dark figcaption{color:#bcbcc5;margin-top:12px}
 .app-surface .auto-case .auto-render-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px 24px;margin-top:40px}
 .app-surface .auto-case .auto-render-gallery>.native-image-item{grid-column:span 6;margin:0;min-width:0}
 .app-surface .auto-case .auto-render-gallery>.auto-render-detail{grid-column:span 4}
 .app-surface .auto-case .auto-render-gallery button{--render-height:clamp(300px,34vw,480px);height:var(--render-height);display:flex;align-items:center;justify-content:center}
 .app-surface .auto-case .auto-render-gallery>.auto-render-detail button{--render-height:clamp(180px,22vw,300px)}
 .app-surface .auto-case .auto-render-gallery .native-image-item img{width:100%;height:100%;max-height:480px;object-fit:contain}
 .app-surface .auto-case .auto-render-gallery .auto-product-frame>img{position:absolute;left:var(--image-left);top:var(--image-top);width:var(--image-width);height:var(--image-height);max-height:none;max-width:none;object-fit:fill}
 .app-surface .auto-case .auto-render-gallery figcaption{display:block;margin-top:12px;padding:0;font-size:12px;line-height:1.6}
}
@media screen and (max-width:760px){
 .app-surface .auto-case .auto-render-set-dark{padding:16px;gap:20px}
 .app-surface .auto-case .auto-render-gallery{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:32px}
 .app-surface .auto-case .auto-render-gallery>.native-image-item{grid-column:1}
 .app-surface .auto-case .auto-render-gallery button{--render-height:360px}
 .app-surface .auto-case .auto-render-gallery>.auto-render-detail button{--render-height:260px}
}
