/* Photos stay separate from the original animated metal scene. */
.material-layout > *, .material-details > *, .process-stages > * { min-width:0; }
.process-image { display:block; }
.process-image img { display:block; }
.process-image--rotated, .photo-slide--rotated { container-type:size; }
.finish-photo .process-image--rotated img, .photo-slides .photo-slide--rotated img { position:absolute; left:50%; top:50%; width:100cqh; height:100cqw; max-width:none; transform:translate(-50%,-50%) rotate(-90deg); }
.photo-slide--rotated { position:relative; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .finish-photo:hover .process-image--rotated img { transform:translate(-50%,-50%) rotate(-90deg) scale(1.055); }
}
.gallery-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.gallery-all { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:11px 16px; min-height:46px; border:1px solid var(--line-2); border-radius:8px; background:#ffffff04; color:var(--text); font:inherit; font-size:.82rem; cursor:pointer; }
.gallery-all:hover { color:var(--page-accent); border-color:var(--page-accent); }
.gallery-all svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; flex:none; }
.gallery-count { display:grid; place-items:center; min-width:24px; height:24px; border-radius:5px; background:#eda57115; color:var(--page-accent); font:.7rem var(--font-mono); }
.gallery-all:focus-visible { outline:2px solid var(--page-accent); outline-offset:4px; }

.process-image:focus-visible { outline:2px solid var(--page-accent); outline-offset:5px; }
.photo-zoom { position:absolute; bottom:12px; right:12px; display:grid; place-items:center; width:36px; height:36px; border:1px solid #ffffff40; border-radius:50%; background:#111c; color:#fff; transition:background .25s ease,border-color .25s ease; }
.photo-zoom svg { width:17px; height:17px; }
.process-image:hover .photo-zoom { background:#17110bf2; border-color:var(--page-accent); }
.photo-dialog button { display:grid; place-items:center; width:46px; height:46px; padding:0; border:1px solid var(--line-2); border-radius:50%; background:#ffffff04; color:var(--text); font:1.2rem var(--font-sans); cursor:pointer; transition:background .2s ease,border-color .2s ease; touch-action:manipulation; }
.photo-dialog button:hover:not(:disabled) { background:#eda57115; border-color:var(--page-accent); }
.photo-dialog button:disabled { opacity:.3; cursor:default; }
.photo-dialog button { line-height:1; flex-shrink:0; }
.photo-dialog button svg { display:block; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.photo-dialog button:focus-visible { outline:2px solid var(--page-accent); outline-offset:4px; }
.photo-dialog { width:min(1320px,calc(100% - 40px)); max-width:none; height:min(900px,calc(100dvh - 40px)); max-height:calc(100dvh - 40px); margin:auto; padding:20px; border:1px solid #ffffff2b; border-radius:16px; background:#101012; color:var(--text); overflow:hidden; }
.photo-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.photo-dialog::backdrop { background:#050505f2; }
.photo-dialog-bar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 4px 16px; }
.photo-dialog-title { font:.7rem var(--font-mono); color:var(--page-accent); letter-spacing:.08em; text-transform:uppercase; }
.photo-dialog-controls { display:flex; align-items:center; gap:10px; }
.photo-dialog-count { margin-right:10px; color:var(--muted); font:.72rem var(--font-mono); white-space:nowrap; }
.photo-dialog .photo-close { margin-left:10px; border-radius:8px; }
.photo-slides { position:relative; display:flex; min-height:0; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; background:#080808; border-radius:8px; }
.photo-slides::-webkit-scrollbar { display:none; }
.photo-slide { flex:0 0 100%; min-width:0; height:100%; margin:0; scroll-snap-align:center; scroll-snap-stop:always; }
.photo-slide img { display:block; width:100%; height:100%; object-fit:contain; }
.photo-dialog-footer { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px 4px 2px; }
.photo-dialog-caption { font-size:.9rem; color:var(--text); margin:0; }
.photo-dialog-hint { color:var(--muted); font-size:.72rem; white-space:nowrap; }
html:has(.photo-dialog[open]) { overflow:hidden; }
@media(max-width:1100px) {
 .main-nav { max-height:calc(100dvh - 90px); overflow-y:auto; overscroll-behavior:contain; }

}
@media(max-width:720px) {
 .gallery-actions { align-items:stretch; }
 .gallery-all { width:100%; }
 .material-copy h1 .service-headline em { white-space:normal; }
 .material-lede { min-height:0; }
 .material-copy .metal-switcher { width:100%; justify-content:space-between; gap:6px; }
 .material-copy .metal-switcher a { flex:1; min-height:54px; }
 .material-copy > .btn { width:100%; }
 .photo-dialog { width:calc(100% - 16px); height:min(800px,calc(100dvh - 16px)); max-height:calc(100dvh - 16px); padding:12px; border-radius:12px; }
 .photo-dialog-bar { padding:0 0 12px; gap:12px; flex-wrap:wrap; }
 .photo-dialog-title { font-size:.6rem; }
 .photo-dialog-controls { margin-left:auto; gap:6px; }
 .photo-dialog-count { margin-right:6px; }
 .photo-dialog button { width:44px; height:44px; }
 .photo-dialog .photo-close { margin-left:4px; }
 .photo-dialog-footer { display:block; padding:14px 0 0; }
 .photo-dialog-caption { font-size:.8rem; }
 .photo-dialog-hint { display:block; margin-top:6px; font-size:.65rem; }
}
@media(prefers-reduced-motion:reduce) { .photo-zoom,.photo-dialog button { transition:none; } }

/* Client photography: distinct layouts with the same gallery controls. */
.finish-gallery { scroll-margin-top:110px; }
.gallery-heading--split { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:32px; }
.gallery-heading--split h2 { margin:0; max-width:22ch; }
.gallery-heading--split > p { max-width:34ch; margin:0 0 3px; color:var(--muted); font-size:.9rem; line-height:1.8; }
.finish-gallery .finish-photo figcaption { display:flex; flex-direction:column; gap:7px; padding:14px 0 6px; line-height:1.5; }
.finish-gallery figcaption > span { font:500 .92rem var(--font-sans); color:var(--text); }
.finish-gallery figcaption small { font:.65rem var(--font-mono); color:var(--muted); line-height:1.6; }
.finish-gallery .gallery-actions { margin-top:28px; }
.gallery-subheading { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin:48px 0 24px; padding-top:30px; border-top:1px solid var(--line); scroll-margin-top:120px; }
.gallery-subheading h3 { margin:0; font-size:clamp(1.35rem,2.3vw,1.8rem); letter-spacing:-.025em; }
.gallery-subheading .eyebrow { margin-bottom:10px; }
.gallery-subheading > p { max-width:39ch; margin:0; font-size:.83rem; line-height:1.8; color:var(--muted); }
.copper-showcase { display:grid; grid-template-columns:1.18fr 1fr 1fr; gap:24px; align-items:start; }
.copper-showcase .photo-frame { aspect-ratio:1/1; }
.copper-showcase .showcase-main .photo-frame { aspect-ratio:1.18/1; }
.copper-showcase .showcase-main img { object-position:57% center; }
.copper-showcase .showcase-round img { object-position:center 40%; }
.copper-showcase .showcase-curves img { object-position:60% center; }
.copper-process .process-stages .photo-frame { aspect-ratio:16/10; }
.finish-tag { display:table; margin-top:18px; padding:8px 12px; border:1px solid rgba(var(--page-rgb),.28); border-radius:5px; color:var(--page-accent); background:rgba(var(--page-rgb),.045); font:.65rem var(--font-mono); line-height:1.5; }
.tin-showcase { display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; gap:70px; }
.tin-copy h2 { font-size:clamp(2rem,3.8vw,3.5rem); line-height:1.12; margin:0 0 24px; max-width:13ch; }
.tin-copy h2 em { color:var(--page-accent); }
.tin-copy > p:not(.eyebrow) { max-width:32ch; color:var(--muted); line-height:1.85; font-size:.95rem; }
.tin-copy .text-link { display:inline-block; margin-top:30px; }
.tin-photo .photo-frame { aspect-ratio:1/1; }
.tin-photo img { object-position:50% 53%; }
.gallery-jump { display:flex; gap:12px; flex-wrap:wrap; }
.gallery-jump a { display:flex; align-items:center; gap:30px; padding:12px 16px; min-height:46px; border:1px solid var(--line-2); border-radius:6px; color:var(--text); font:.7rem var(--font-mono); }
.gallery-jump a:hover { border-color:var(--page-accent); color:var(--page-accent); }
.gallery-jump a:focus-visible { outline:2px solid var(--page-accent); outline-offset:4px; }
.zinc-gallery .gallery-jump + .gallery-subheading { border:0; padding-top:0; margin-top:36px; }
.barrel-grid .photo-frame { aspect-ratio:1/1; }
.barrel-grid img { object-position:center 58%; }
.barrel-tubes img { object-position:center 40%; }
.comparison-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.comparison-grid .photo-frame { aspect-ratio:16/10; }
.comparison-after figcaption > span { color:var(--page-accent); }
.material-page .material-details { row-gap:24px; padding-block:38px; }
.material-page .material-details > .material-caption { margin-bottom:0; }
.photo-dialog button[hidden] { display:none; }
@media(max-width:1000px) {
 .tin-showcase { gap:36px; }
 .copper-showcase { gap:18px; grid-template-columns:repeat(3,minmax(0,1fr)); }
 .copper-showcase .showcase-main .photo-frame { aspect-ratio:1; }
}
@media(max-width:720px) {
 .gallery-heading--split { display:block; margin-bottom:24px; }
 .gallery-heading--split > p { margin-top:18px; max-width:42ch; }
 .gallery-heading--split h2 { max-width:19ch; }
 .copper-showcase { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
 .copper-showcase .showcase-main { grid-column:1/-1; }
 .copper-showcase .showcase-main .photo-frame { aspect-ratio:16/10; }
 .copper-showcase figcaption > span { font-size:.8rem; }
 .copper-showcase figcaption small { font-size:.6rem; }
 .gallery-subheading { display:block; margin-top:32px; padding-top:24px; }
 .gallery-subheading > p { margin-top:12px; max-width:46ch; }
 .tin-showcase { grid-template-columns:minmax(0,1fr); gap:26px; }
 .tin-copy h2 { max-width:18ch; }
 .tin-copy > p:not(.eyebrow) { max-width:40ch; }
 .tin-photo .photo-frame { aspect-ratio:4/3; }
 .tin-photo img { object-position:center 55%; }
 .barrel-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
 .barrel-tubes { grid-column:1/-1; max-width:480px; width:100%; margin-inline:auto; }
 .barrel-tubes .photo-frame { aspect-ratio:4/3; }
 .barrel-grid figcaption > span { font-size:.82rem; }
 .comparison-grid { grid-template-columns:minmax(0,1fr); gap:22px; }
 .comparison-grid .photo-frame { aspect-ratio:16/10; }
 .gallery-jump { gap:8px; }
 .gallery-jump a { flex:1; justify-content:space-between; gap:10px; padding:12px; font-size:.62rem; }
}
