/* Homepage only: photographic opening, product showcase and editorial buying guide. */
body[data-page=home] main .hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:0 60px;min-height:690px;width:100%;max-width:none;margin:0;padding:62px var(--gutter) 0;background:#18251f;border:0;border-radius:0;color:#fff;overflow:hidden;align-items:center}
body[data-page=home] main .hero:after{content:'';display:block;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,27,24,.94),rgba(12,27,24,.68) 55%,rgba(12,27,24,.48)),linear-gradient(0deg,#15241deb,transparent 60%)}

body[data-page=home] main .hero-copy{padding:25px 0 60px;align-self:center}
.home-kicker{font-size:10px;font-weight:650;letter-spacing:.16em;line-height:1.6;margin-bottom:28px}
body[data-page=home] main .hero .home-kicker{color:#cbd6ca}
body[data-page=home] main .hero h1{font-size:clamp(46px,5.4vw,82px);letter-spacing:-.055em;line-height:1.1;font-weight:500;margin:0 0 28px;color:#fff}
body[data-page=home] main .hero h1>span{color:#c4d1ac}
body[data-page=home] main .hero-description{font-size:16px;line-height:1.85;color:#e0e6df;max-width:405px;margin-bottom:0}
body[data-page=home] main .hero-actions{margin-top:34px;gap:28px}
body[data-page=home] main .hero .button.dark{background:#d6e0bd;color:#17251e;border-color:#d6e0bd;font-size:13px;padding:17px 24px}
body[data-page=home] main .hero .button.dark:hover{background:#edf4db;border-color:#edf4db}
body[data-page=home] main .hero-secondary{color:#fff;font-size:13px}
body[data-page=home] main .hero-art{position:relative;height:460px;min-height:460px;margin:0 0 46px;align-self:center;background:#fff;border:0;box-shadow:0 25px 65px #0003;border-radius:6px;overflow:hidden}
.home-product-heading{position:absolute;left:26px;top:22px;color:#555c50;font-size:12px;z-index:3;margin:0}
body[data-page=home] main .hero-model.product-image.has-photo{inset:0;background:white;height:100%;border:0}
body[data-page=home] main .hero-model .catalog-photo{top:44%;width:240px;max-width:80%}
body[data-page=home] main .hero-model .catalog-photo[data-photo=dejin]{width:285px}
body[data-page=home] main .hero-model .catalog-photo[data-photo=diy-jk-new]{width:220px}
body[data-page=home] main .hero-product-label{left:26px;right:26px;bottom:42px;display:grid;gap:5px;max-width:none;padding-top:18px;border-top:1px solid #e5e7df;z-index:3}
body[data-page=home] main .hero-product-label strong{font-size:15px;color:#263026}
body[data-page=home] main .hero-product-label>span{font-size:12px;color:#62655c;display:flex;justify-content:space-between}
body[data-page=home] main .hero-art .illustration-note{left:26px;bottom:17px;color:#62655c;font-size:10px;max-width:none}
body[data-page=home] main .hero-families{grid-column:1/-1;width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #ffffff38;margin:0;align-self:end}
body[data-page=home] main .hero-families button{color:#d9e1d8;border:0;border-bottom:3px solid transparent;background:transparent;padding:24px 20px 24px 0;min-height:80px;display:flex;justify-content:space-between;font-size:14px;font-weight:500}
body[data-page=home] main .hero-families button+button{padding-left:24px;border-left:1px solid #ffffff26}
body[data-page=home] main .hero-families button[aria-pressed=true]{color:#fff;border-bottom-color:#c4d1ac;background:transparent}
body[data-page=home] main .hero-families button:hover{background:#ffffff0a;color:white}
.home-photo-credit{grid-column:1/-1;justify-self:end;font-size:9px;line-height:1.5;color:#bac6bc;padding:10px 0 12px}
body[data-page=home] main .catalog-introduction{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:90px;padding-bottom:90px;align-items:center}
.catalog-introduction .home-kicker{color:#626758;margin-bottom:20px}
body[data-page=home] main .catalog-introduction h2{font-size:clamp(30px,3.2vw,46px);line-height:1.22;letter-spacing:-.045em}
.home-category-links a{display:grid;grid-template-columns:1fr auto 20px;gap:24px;align-items:center;padding:23px 0;border-bottom:1px solid #deded3;min-height:76px;transition:color .2s,padding .2s}
.home-category-links a:first-child{border-top:1px solid #deded3}
.home-category-links a>span:first-child{font-size:18px;font-weight:500}
.home-category-links small{font-size:11px;color:#676c61}
.home-category-links a:hover{color:#875032;padding-left:8px}
body[data-page=home] main .featured{padding-top:62px;padding-bottom:65px;background:#f0f1e9;border-top:1px solid #e1e4d7}
body[data-page=home] main .featured .section-heading{margin-bottom:35px}
body[data-page=home] main .featured .section-heading h2{font-size:36px}
body[data-page=home] main .product-image{border:0;border-radius:4px}
body[data-page=home] main .product-info{padding-top:22px}
body[data-page=home] main .product-card .add-button{background:#26382b;border-color:#26382b}
body[data-page=home] main .home-guide{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:90px;padding-bottom:90px}
.home-guide-title .home-kicker{color:#656c5b}
.home-guide-title h2{font-size:clamp(30px,3.3vw,46px);line-height:1.22}
.home-guide-title .text-link{width:max-content;margin-top:30px;font-size:13px;gap:35px}
.home-questions>a{display:grid;grid-template-columns:30px 1fr 20px;gap:18px;padding:25px 0;border-top:1px solid #deded3;align-items:start}
.home-questions>a:last-child{border-bottom:1px solid #deded3}
.home-questions>a>span:first-child{color:#716e5d;font-size:11px;padding-top:5px}
.home-questions h3{font-size:19px;font-weight:550;letter-spacing:-.025em;margin-bottom:9px}
.home-questions p{font-size:14px;color:#64685f;line-height:1.7;margin:0;max-width:310px}
.home-questions>a:hover h3{color:#875032}
body[data-page=home] main .editorial-cta{margin:0;padding:58px var(--gutter);background:#e7ebdd;border:0;gap:70px}
body[data-page=home] main .editorial-cta h2{font-size:32px}
body[data-page=home] main .editorial-cta .button{background:#26382b;border-color:#26382b}
@media(min-width:1600px){body[data-page=home] main .hero{padding-left:calc((100vw - 1400px)/2);padding-right:calc((100vw - 1400px)/2)}}
@media(max-width:1000px){body[data-page=home] main .hero{gap:0 30px;grid-template-columns:1.15fr .85fr;padding-top:40px;min-height:640px}body[data-page=home] main .hero h1{font-size:50px}body[data-page=home] main .hero-art{height:430px;min-height:430px}body[data-page=home] main .hero-model .catalog-photo{width:215px}body[data-page=home] main .catalog-introduction,body[data-page=home] main .home-guide{gap:40px}.home-category-links a{gap:12px}.home-category-links a>span:first-child{font-size:16px}}
@media(max-width:760px){
body[data-page=home] main .hero{grid-template-columns:1fr;padding:38px var(--gutter) 0;gap:0;min-height:0}
body[data-page=home] main .hero:after{background:linear-gradient(180deg,#142a23e8,#142a23d9 45%,#142a23f2)}
body[data-page=home] main .hero-copy{padding:0 0 30px}
body[data-page=home] main .hero h1{font-size:clamp(40px,10.8vw,65px);margin-bottom:22px}
body[data-page=home] main .hero .home-kicker{font-size:9px;margin-bottom:23px}
body[data-page=home] main .hero-description{font-size:15px;max-width:430px}
body[data-page=home] main .hero-actions{margin-top:25px;gap:20px}
body[data-page=home] main .hero .button.dark{font-size:12px;padding:14px 18px;gap:20px}
body[data-page=home] main .hero-secondary{font-size:12px}
body[data-page=home] main .hero-art{height:355px;min-height:355px;width:100%;max-width:450px;justify-self:center;margin:0 0 28px}
body[data-page=home] main .hero-model .catalog-photo{width:180px;top:43%}
body[data-page=home] main .hero-model .catalog-photo[data-photo=dejin]{width:240px}
body[data-page=home] main .hero-model .catalog-photo[data-photo=diy-jk-new]{width:170px}
.home-product-heading{left:20px;top:17px;font-size:11px}
body[data-page=home] main .hero-product-label{left:20px;right:20px;bottom:36px;padding-top:12px}
body[data-page=home] main .hero-art .illustration-note{left:20px;bottom:13px;font-size:9px}
body[data-page=home] main .hero-families button{font-size:10px;padding:17px 7px 17px 0;line-height:1.6;min-height:67px}
body[data-page=home] main .hero-families button+button{padding-left:10px}
.home-photo-credit{font-size:8px;padding-top:10px}
body[data-page=home] main .catalog-introduction,body[data-page=home] main .home-guide{grid-template-columns:1fr;gap:30px;padding-top:50px;padding-bottom:50px}
body[data-page=home] main .catalog-introduction h2,.home-guide-title h2{font-size:31px}
.home-category-links a>span:first-child{font-size:17px}
body[data-page=home] main .featured{padding-top:40px;padding-bottom:40px}
body[data-page=home] main .featured .section-heading h2{font-size:29px}
body[data-page=home] main .editorial-cta{padding:36px var(--gutter);gap:20px}
body[data-page=home] main .editorial-cta h2{font-size:28px}
.home-questions>a{gap:12px}.home-questions h3{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.home-category-links a{transition:none}}

/* Locally hosted homepage typography. */
@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/outfit-variable.ttf') format('truetype')}
body[data-page=home] main{font-family:Outfit,Arial,sans-serif;letter-spacing:0}
body[data-page=home] main .hero{background:#172829;min-height:675px}
body[data-page=home] main .hero h1{font-family:Outfit,Arial,sans-serif;font-size:clamp(48px,5.6vw,84px);font-weight:550;letter-spacing:-.04em;line-height:1.06}
body[data-page=home] main .hero h1>span{color:#d4d9b8;font-weight:400}
body[data-page=home] main .hero-description{font-size:18px;line-height:1.65;font-weight:350;color:#dbe4df}
body[data-page=home] main h2{font-family:Outfit,Arial,sans-serif;font-weight:500;letter-spacing:-.025em}
body[data-page=home] main h3{font-family:Outfit,Arial,sans-serif;letter-spacing:-.01em}
body[data-page=home] main .hero-art{z-index:1;box-shadow:0 25px 65px #07141330}
body[data-page=home] main .hero-families{z-index:1;position:relative}
body[data-page=home] main .hero-families button{font-size:15px}
body[data-page=home] main .hero .button.dark{background:#dedfc3;border-color:#dedfc3;font-size:14px}
body[data-page=home] main .hero-secondary{font-size:14px}
body[data-page=home] main .catalog-introduction h2,.home-guide-title h2{font-weight:450}
@media(max-width:1000px){body[data-page=home] main .hero h1{font-size:53px}}
@media(max-width:760px){
body[data-page=home] main .hero{min-height:0}
body[data-page=home] main .hero h1{font-size:clamp(40px,11vw,62px);line-height:1.08}
body[data-page=home] main .hero-description{font-size:17px;line-height:1.6}
body[data-page=home] main .hero-families button{font-size:11px}
body[data-page=home] main .hero .button.dark,body[data-page=home] main .hero-secondary{font-size:13px}
}
body[data-page=home] main{font-feature-settings:normal}

/* Manufacturer lifestyle photo framed without promotional labels; original intact. */
.home-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%;z-index:-2}
body[data-page=home] main .hero-model .catalog-photo[data-photo=storage-12kw-home]{--crop-x:.016;--crop-y:.275;--crop-w:.60;--crop-h:.61;aspect-ratio:60 / 61;width:290px;max-width:88%;top:43%;border-radius:3px}
@media(max-width:1000px){body[data-page=home] main .hero-model .catalog-photo[data-photo=storage-12kw-home]{width:260px}}
@media(max-width:760px){body[data-page=home] main .hero-model .catalog-photo[data-photo=storage-12kw-home]{width:222px;top:42%}}
/* Isolated illustrated cabinet replaces the rectangular supplier crop. */
body[data-page=home] main .hero .hero-art{background:transparent;box-shadow:none;overflow:visible}
body[data-page=home] main .hero .home-product-heading{display:none}
body[data-page=home] main .hero .hero-model.product-image.has-photo{background:transparent!important;overflow:visible}
body[data-page=home] main .hero-model .catalog-photo[data-photo=storage-12kw-hero]{--crop-x:0;--crop-y:0;--crop-w:1;--crop-h:1;aspect-ratio:1;width:405px;max-width:112%;top:39%;overflow:visible;filter:drop-shadow(0 20px 18px #04171150)}
body[data-page=home] main .hero .hero-product-label{background:transparent;border-color:#c5d5c84a;left:20px;right:20px;bottom:31px}
body[data-page=home] main .hero .hero-product-label strong{color:#fff}
body[data-page=home] main .hero .hero-product-label>span{color:#dce5d9}
body[data-page=home] main .hero .hero-art .illustration-note{color:#cbd7cc;left:20px;bottom:9px}
@media(max-width:1000px){body[data-page=home] main .hero-model .catalog-photo[data-photo=storage-12kw-hero]{width:350px;max-width:115%;top:39%}}
@media(max-width:760px){body[data-page=home] main .hero .hero-art{height:350px;min-height:350px}body[data-page=home] main .hero-model .catalog-photo[data-photo=storage-12kw-hero]{width:285px;max-width:98%;top:38%}body[data-page=home] main .hero .hero-product-label{left:5px;right:5px}body[data-page=home] main .hero .hero-art .illustration-note{left:5px}}
/* Opt-in 3D: vertical touch scrolling remains native; render only on interaction. */
.hero-3d-controls{position:absolute;z-index:4;top:0;left:0;right:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.hero-3d-controls button{border:1px solid #ffffff65;border-radius:4px;background:#162b26e8;color:#fff;padding:9px 13px;min-height:44px;font:inherit;font-size:12px}
.hero-3d-controls button:hover{background:#304a3b}
.hero-3d-status{flex-basis:100%;text-align:center;color:#e3ecdf;font-size:11px;line-height:1.5}
/* Keep fallback photos hidden from first paint and during model switches. */
body[data-page=home] main .hero .catalog-photo{visibility:hidden}
body[data-page=home] main .hero.hero-3d-failed .catalog-photo{visibility:visible}
@media(scripting:none){body[data-page=home] main .hero .catalog-photo{visibility:visible}}
.hero-model-canvas{position:absolute;inset:25px 0 auto;width:100%;height:calc(100% - 115px);cursor:grab;touch-action:pan-y;z-index:2}
.hero-model-canvas.dragging{cursor:grabbing}
body[data-page=home] main .hero.hero-3d-active .hero-model{height:calc(100% - 90px)!important;top:30px}
.hero.hero-3d-active .hero-model-canvas{inset:0;width:100%;height:100%}
@media(max-width:760px){.hero-3d-controls{top:-9px}.hero-3d-controls button{font-size:11px;padding:8px 10px}.hero-3d-status{font-size:10px}}
/* Always-interactive photographic front; controls below the object. */
body[data-page=home] main .hero .hero-art{height:515px;min-height:515px}
body[data-page=home] main .hero.hero-3d-active .hero-model{top:0;height:calc(100% - 165px)!important}
.hero-3d-controls{top:auto;bottom:90px;left:20px;right:20px;display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:center}
.hero-angle-label{font-size:12px;color:#e4eadf}
#hero-angle{grid-column:1;grid-row:2;width:100%;min-height:32px;accent-color:#d4dfb8;cursor:ew-resize;margin:0}
.hero-3d-controls button{grid-column:2;grid-row:1/3;font-size:11px;min-height:40px}
.hero-3d-status{grid-column:1/-1;font-size:10px;text-align:left;min-height:15px}
@media(max-width:760px){body[data-page=home] main .hero .hero-art{height:435px;min-height:435px}.hero-3d-controls{left:5px;right:5px;top:auto;bottom:90px}.hero-angle-label{font-size:11px}}
/* Two-axis manipulation on the object; page remains scrollable outside it. */
.hero-model-canvas{touch-action:none}
.hero-tilt-label{grid-column:1;grid-row:3;font-size:12px;color:#e4eadf}
#hero-tilt{grid-column:1;grid-row:4;width:100%;min-height:30px;accent-color:#d4dfb8;cursor:ew-resize;margin:0}
.hero-3d-controls button{grid-row:1/5}
.hero-3d-status{grid-row:5;font-size:10px}
body[data-page=home] main .hero .hero-art{height:565px;min-height:565px}
body[data-page=home] main .hero.hero-3d-active .hero-model{height:calc(100% - 220px)!important}
@media(max-width:760px){body[data-page=home] main .hero .hero-art{height:490px;min-height:490px}.hero-tilt-label{font-size:11px}}
/* Compact gesture controls; no range inputs. */
.hero-3d-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;bottom:88px}
.hero-3d-controls button{flex-shrink:0}
.hero-3d-status{flex:1;min-width:0;text-align:right;font-size:11px;line-height:1.5}
body[data-page=home] main .hero .hero-art{height:505px;min-height:505px}
body[data-page=home] main .hero.hero-3d-active .hero-model{height:calc(100% - 155px)!important}
@media(max-width:760px){body[data-page=home] main .hero .hero-art{height:425px;min-height:425px}.hero-3d-status{font-size:10px;max-width:190px}}

/* Size the 3D stage before its first render, so mounting cannot flash a larger frame. */
body[data-page=home] main .hero .hero-model{top:0;height:calc(100% - 155px)!important}
body[data-page=home] main .hero .hero-model-canvas{inset:0;width:100%;height:100%;visibility:hidden}
body[data-page=home] main .hero.hero-3d-active .hero-model-canvas{visibility:visible}


/* Lightweight doorway to Energy House: the 3D scene loads on its own route. */
body[data-page=home] main .home-energy{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.85fr);align-items:center;gap:clamp(28px,5vw,80px);padding-top:30px;padding-bottom:70px;background:#fffefa}
.home-energy-preview{position:relative;display:block;background:#eee9e2;border:1px solid #e2dcd5;border-radius:6px;overflow:hidden}
.home-energy-preview img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .5s ease}
.home-energy-preview:hover img{transform:scale(1.025)}
.home-energy-preview>span{position:absolute;right:20px;bottom:20px;background:#fffdf5ed;color:#302d2a;border:1px solid #d5cbbf;padding:11px 15px;border-radius:3px;font-size:12px}
.home-energy-copy .home-kicker{color:#8a512f;margin:0 0 20px}
body[data-page=home] main .home-energy h2{font-size:clamp(30px,3.4vw,48px);line-height:1.14;margin:0 0 22px}
.home-energy-copy>p:not(.home-kicker){font-size:15px;line-height:1.85;color:#68625c;max-width:380px;margin:0 0 26px}
@media(max-width:760px){body[data-page=home] main .home-energy{grid-template-columns:1fr;gap:26px;padding-top:12px;padding-bottom:46px}.home-energy-copy>p:not(.home-kicker){font-size:14px;max-width:100%}.home-energy-copy .home-kicker{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.home-energy-preview img{transition:none}.home-energy-preview:hover img{transform:none}}

/* Keep the selected product's USD price visible in the main product panel. */
body[data-page=home] main .hero .hero-product-label .hero-product-price{display:block;color:#fff;font-size:clamp(22px,2.3vw,30px);font-weight:600;line-height:1.25;letter-spacing:-.03em}
body[data-page=home] main .hero .hero-product-label .hero-product-price[hidden]{display:none}
