/* Use the established ATENG typography, colours, cards and navigation. */
.showcase-kit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-build-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase-countries{font-size:11px;letter-spacing:.035em;line-height:1.8;overflow-wrap:anywhere}.showcase-gallery{min-width:0}.showcase-stage{display:flex;align-items:center;justify-content:center;min-height:360px;background:#e9e7df}.showcase-motion{width:100%;text-align:center;background:#232720}.showcase-video{display:block;max-width:100%;height:auto;width:100%;max-height:570px;object-fit:contain;margin:auto;background:#232720}.showcase-photo{display:block;width:100%;height:540px;object-fit:contain!important;background:#e9e7df}.showcase-stage [hidden]{display:none!important}.showcase-gallery .thumbs{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:12px 2px}.showcase-gallery .thumb{flex:0 0 74px;position:relative;aspect-ratio:1;padding:0;min-width:0}.showcase-gallery .thumb img{width:100%;height:100%;object-fit:cover}.showcase-video-thumb span{position:absolute;inset:auto 0 0;font-size:11px;line-height:22px;background:#232720c9;color:white}.showcase-kit-grid .image-wrap img,.showcase-build-grid .image-wrap img{object-fit:contain;background:#e9e7df}.showcase-build-grid h3{font-size:21px;margin:20px 0 12px}.showcase-build-grid .product-price{font-size:24px}.showcase-build-grid .product-card{display:flex;flex-direction:column}.showcase-build-grid .card-bottom{margin-top:auto;padding-top:20px}.showcase-kit-grid .product-meta{gap:12px}.showcase-kit-grid .price{white-space:nowrap}.showcase-detail .product-summary h1{font-size:clamp(34px,4vw,58px);overflow-wrap:anywhere}.showcase-detail .production-box{margin-top:22px}.showcase-filters{margin-bottom:28px}.showcase-empty{padding:32px 0}.showcase-detail .product-summary{min-width:0}.showcase-build-grid .image-wrap{aspect-ratio:4/3}.showcase-build-grid .image-wrap img{height:100%;width:100%}
@media(max-width:1000px){.showcase-kit-grid,.showcase-build-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.showcase-photo{height:460px}}
@media(max-width:640px){.showcase-kit-grid,.showcase-build-grid{grid-template-columns:1fr}.showcase-stage{min-height:300px}.showcase-video{max-height:480px}.showcase-photo{height:390px}.showcase-gallery .thumb{flex-basis:65px}.showcase-kit-grid .product-meta{align-items:start}.showcase-detail .product-summary h1{font-size:38px}.showcase-detail .product-layout{gap:30px}.showcase-gallery{max-width:100%}}

/* P0: contain low-resolution evidence; preserve subjects rather than upscale/crop. */
.showcase-photo{max-width:100%;width:auto;max-height:540px;height:auto;object-fit:contain!important}.showcase-stage{min-height:360px}.p0-build-type{display:block;margin-top:16px}.showcase-build-grid h3{margin-top:8px}.p0-kit-contents{line-height:1.7}.p0-craft-evidence{display:block;font-size:12px;line-height:1.6;margin-top:10px;color:var(--muted,#596458)}
@media(max-width:640px){.showcase-photo{max-height:390px}.showcase-gallery .thumb{min-height:44px}.craft-footnote{line-height:1.6}}

/* Preserve the whole subject in the two new homepage craft photographs. */
.craft-section>img{object-fit:contain!important;object-position:center;aspect-ratio:auto;background:#e9e7df}.media-detail img{object-fit:contain!important;object-position:center;background:#e9e7df}

/* Owner-requested craft story: readable scale studies and honest assembly evidence. */
.craft-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;align-items:start}
.craft-evidence{margin:0;min-width:0}.craft-zoom{position:relative;display:block;background:#e9e7df;cursor:zoom-in;outline-offset:5px}
.craft-zoom img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain!important;background:#e9e7df}
.craft-enlarge{position:absolute;bottom:12px;right:12px;background:var(--paper,#f6f4ee);color:var(--ink,#213b2b);padding:8px 11px;font-size:11px;border:1px solid var(--line,#ccc)}
.craft-evidence figcaption h3{font-size:23px;line-height:1.25;margin:18px 0 9px}.craft-evidence figcaption p{font-size:14px;line-height:1.7;color:var(--muted,#596458);margin:0}
.craft-context{font-size:12px;line-height:1.7;color:var(--muted,#596458);max-width:800px;margin:20px 0}
.craft-scale-section>.text-link{margin-top:10px}.craft-section-nav{display:flex;flex-wrap:wrap;gap:14px 26px;margin-top:30px;font-size:12px}.craft-section-nav a{border-bottom:1px solid var(--line);padding-bottom:5px}
.craft-workshop-section{border-top:1px solid var(--line);scroll-margin-top:110px}.craft-workshop-section .craft-evidence-grid{row-gap:44px}.craft-workshop .page-intro{padding-bottom:45px}.craft-workshop .path-card p{max-width:none}
.craft-lightbox{border:1px solid #babdb3;background:var(--paper,#f6f4ee);color:var(--ink,#213b2b);width:calc(100vw - 32px);max-width:1200px;max-height:calc(100dvh - 32px);padding:18px;overflow:auto}
.craft-lightbox::backdrop{background:rgba(12,22,16,.82)}.craft-lightbox-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:13px}
.craft-lightbox-close{border:1px solid currentColor;background:transparent;color:inherit;padding:10px 14px;min-height:44px;cursor:pointer}
.craft-lightbox-image{display:flex;justify-content:center;align-items:center;background:#e9e7df}.craft-lightbox-image img{display:block;max-width:100%;width:auto;height:auto;max-height:72dvh;object-fit:contain}
.craft-lightbox-caption{font-size:13px;line-height:1.6;margin:13px 0 0;max-width:850px}.craft-zoom-open{overflow:hidden}
@media(max-width:700px){.craft-evidence-grid{grid-template-columns:1fr;gap:30px}.craft-evidence figcaption h3{font-size:22px}.craft-evidence figcaption p{font-size:14px}.craft-scale-section .section-heading{display:block}.craft-scale-section .section-heading .small{margin-top:20px}.craft-workshop-section .section-heading{display:block}.craft-workshop-section .section-heading .small{margin-top:20px}.craft-workshop .page-intro{padding-bottom:32px}.craft-lightbox{padding:12px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.craft-lightbox-image img{max-height:66dvh}.craft-section-nav{gap:14px 20px}}

/* Actual, photo-first universal 8x8 kit; measurements stay unfilled until verified. */
.kit8x8-gallery .showcase-photo{height:auto;aspect-ratio:4/3;object-fit:contain!important}.kit8x8-gallery .gallery-caption{font-size:13px;line-height:1.7}.kit8x8-specs{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}.kit8x8-specs caption{text-align:left;margin:0 0 14px;color:var(--muted)}.kit8x8-specs th,.kit8x8-specs td{text-align:left;border-bottom:1px solid var(--line);padding:12px 8px 12px 0}.kit8x8-specs td{min-width:60px}.kit8x8-specs th{font-weight:500}.kit8x8-examples .product-card h3{margin-top:18px}.kit8x8-examples .product-card p{margin-top:0}.kit8x8-page .status{line-height:1.7;overflow-wrap:anywhere}
