/* Homepage 0.4.4: loaded after existing sheets, only on the front page. */
body.ybs-home-refresh{--muted:#5b6258;--accent:#975936}
.ybs-home-refresh .header{height:84px;background:#f5f3ee;box-shadow:0 2px 12px #252a2406}
.ybs-home-refresh .header.is-scrolled{box-shadow:0 5px 22px #252a2410}
.ybs-home-refresh .header a:focus-visible,.ybs-home-refresh main a:focus-visible,.ybs-home-refresh main button:focus-visible{outline:2px solid #975936;outline-offset:5px}
.ybs-home-refresh .hero{min-height:560px;max-height:none;grid-template-columns:43% 57%}
.ybs-home-refresh .hero-copy{padding:32px 8% 30px 10.5%;min-width:0}
.ybs-home-refresh .hero h1{font-size:clamp(33px,3.15vw,48px);line-height:1.48;white-space:normal;overflow-wrap:anywhere;margin:14px 0 16px}
.ybs-home-refresh .home-business{font-size:17px;font-weight:500;line-height:1.85;margin:0 0 14px;color:var(--ink)}
.home-business span{display:block;font-size:15px;font-weight:400;color:var(--muted);margin-top:2px}
.ybs-home-refresh .hero-description{font-size:16px;line-height:1.95;margin:0;max-width:100%;color:var(--muted)}
.ybs-home-refresh .hero-actions{flex-wrap:wrap;gap:22px;margin:25px 0 28px}
.ybs-home-refresh .hero-actions .btn,.ybs-home-refresh .hero-actions .text-link{font-size:16px;white-space:nowrap}
.ybs-home-refresh .hero-actions .btn{padding:13px 23px;gap:25px}
.ybs-home-refresh .hero-stamp{font-size:12px;letter-spacing:.4px}
.ybs-home-refresh .hero-visual>img{position:absolute;inset:0;object-fit:cover}
.ybs-home-refresh .hero-caption{left:25px;bottom:25px;max-width:calc(100% - 340px);line-height:1.7;font-size:10px}
.ybs-home-refresh .hero-caption small{font-size:11px;line-height:1.7;letter-spacing:.3px}
.ybs-home-refresh .hero-visual:after{inset:65% 0 0;background:linear-gradient(transparent,#0009)}
.ybs-home-refresh .material-tag{right:22px;bottom:25px;padding:14px 17px;gap:17px}
.ybs-home-refresh .material-tag strong{font-size:15px}
.ybs-home-refresh .service-strip>.wrap{padding:20px 0}
.ybs-home-refresh .service-strip span{font-size:15px}
.ybs-home-refresh .section{padding:64px 0}
.ybs-home-refresh .section-head{margin-bottom:30px;gap:24px}
.ybs-home-refresh .section-head h2{font-size:clamp(26px,2.25vw,36px);line-height:1.55;margin-top:16px}
.ybs-home-refresh .section-head p{font-size:16px;line-height:1.9;margin-top:12px}
.ybs-home-refresh .eyebrow{font-size:11px;letter-spacing:1.6px}
.ybs-home-refresh .text-link{font-size:16px}
.ybs-home-refresh .categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 25px}
.ybs-home-refresh .category-card{min-width:0}
.ybs-home-refresh .category-card .visual{height:auto;aspect-ratio:8/5;background:#e9e6de}
.ybs-home-refresh .category-card[data-kind="stair"] .visual>img,.ybs-home-refresh .category-card[data-kind="blockboard"] .visual>img,.ybs-home-refresh .category-card[data-kind="pegboard"] .visual>img{object-position:50% 75%}
.ybs-home-refresh .category-card .cat-copy{padding-top:16px}
.ybs-home-refresh .category-card .cat-copy small{font-size:11px;letter-spacing:1.4px;color:#596052}
.ybs-home-refresh .category-card h3{font-size:21px;line-height:1.6;margin:6px 30px 7px 0}
.ybs-home-refresh .category-card p{font-size:16px;line-height:1.8;margin:0;max-width:36em}
.ybs-home-refresh .cat-arrow{top:39px;font-size:23px}
.home-works{border-top:1px solid var(--line);background:#eeeee6}
.home-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.home-case-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-case-grid[data-count="1"]{grid-template-columns:minmax(0,1fr);max-width:760px}
.home-case-card{min-width:0;background:var(--paper);display:flex;flex-direction:column}
.home-case-image{position:relative;display:block;aspect-ratio:3/2;overflow:hidden;background:#e4e2d9}
.home-case-image img{height:100%;width:100%;object-fit:cover;transition:transform .3s}
.home-case-image:hover img{transform:scale(1.025)}
.home-case-image>span{position:absolute;bottom:14px;left:14px;background:var(--paper);font-size:12px;padding:4px 11px}
.home-case-copy{padding:22px;flex:1;display:flex;flex-direction:column;align-items:flex-start}
.home-case-region{font-size:13px;color:var(--accent);margin:0 0 6px}
.home-case-copy h3{font-size:21px;line-height:1.65;margin:0 0 14px;overflow-wrap:anywhere}
.home-case-tags{list-style:none;display:flex;gap:7px;flex-wrap:wrap;margin:0 0 22px;padding:0}
.home-case-tags:empty{display:none}
.home-case-tags li{font-size:13px;color:var(--muted);border:1px solid var(--line);padding:3px 9px}
.home-case-copy>.text-link{margin-top:auto}
.home-case-empty{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px 0;border-top:1px solid var(--line)}
.home-case-empty p{font-size:16px;margin:0}
.home-preview-note{font-size:14px;color:var(--muted);margin:0 0 20px}
.ybs-home-refresh .featured-section{background:#f0f1e9}
.home-featured-grid[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.home-featured-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-featured-grid[data-count="1"] .product-card{display:grid;grid-template-columns:1.12fr 1fr}
.home-featured-grid[data-count="1"] .product-image{height:auto;aspect-ratio:8/5;min-height:320px;align-self:stretch}
.home-featured-grid[data-count="1"] .product-image>img{object-fit:contain;background:#e6e0d4}
.home-featured-grid[data-count="1"] .product-content{padding:32px;display:flex;flex-direction:column;justify-content:center}
.home-featured-grid[data-count="1"] .product-content h3{font-size:27px;line-height:1.6}
.home-featured-grid[data-count="1"] .card-foot{margin-top:24px}
.home-featured-grid[data-count="1"] .board-cover{height:100%;width:100%}
.ybs-home-refresh .home-featured-grid .product-content .description{font-size:16px;min-height:0;color:var(--muted);line-height:1.9}
.home-featured-grid .tags span{font-size:13px;color:#596052}
.home-featured-grid .card-foot a,.home-featured-grid .card-foot button{font-size:15px}
.home-featured-grid .product-pill{font-size:13px}
.ybs-home-refresh .process-grid{gap:35px;margin-top:32px}
.ybs-home-refresh .process-grid h3{font-size:24px}
.ybs-home-refresh .process-grid p{font-size:16px;line-height:1.95;max-width:100%}
.ybs-home-refresh .process-grid .step{font-size:12px}
.home-contact{position:fixed;right:24px;bottom:24px;z-index:25;display:inline-flex;align-items:center;gap:10px;padding:13px 17px;background:#354536;color:#fffefa;border:1px solid #6d7b66;border-radius:4px;box-shadow:0 4px 18px #252a2426;font-size:15px;line-height:1.5}
.home-contact:hover{background:#253728;color:#fffefa}
.home-contact[hidden]{display:none}
.home-contact svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}
.ybs-home-refresh .footer{padding-bottom:100px}
.ybs-home-refresh .toast{bottom:92px}
@media(min-width:1500px){
 .ybs-home-refresh .hero-copy{padding-left:max(10.5%,calc((100vw - 1280px)/2))}
 .ybs-home-refresh .hero{min-height:600px}
}
@media(min-width:801px) and (max-width:1100px){
 .ybs-home-refresh .hero{grid-template-columns:47% 53%;min-height:550px}
 .ybs-home-refresh .hero-copy{padding-left:8%;padding-right:6%}
 .ybs-home-refresh .hero h1{font-size:35px}
 .ybs-home-refresh .hero-actions{flex-direction:row;gap:16px}
 .ybs-home-refresh .hero-caption{max-width:calc(100% - 40px);bottom:112px;left:20px}
 .ybs-home-refresh .categories{gap:28px 20px}
 .ybs-home-refresh .category-card h3{font-size:19px}
 .ybs-home-refresh .category-card p{font-size:15px}
 .home-featured-grid[data-count="1"] .product-content{padding:25px}
}
@media(max-width:800px){
 .ybs-home-refresh .header{height:64px;box-shadow:0 2px 10px #252a2409}
 .ybs-home-refresh .hero{grid-template-columns:minmax(0,1fr);min-height:0}
 .ybs-home-refresh .hero-copy{padding:34px 5% 32px}
 .ybs-home-refresh .hero h1{font-size:clamp(32px,6.8vw,44px);margin:15px 0 18px}
 .ybs-home-refresh .hero-actions{flex-direction:row;align-items:center;margin:23px 0;gap:20px}
 .ybs-home-refresh .hero-actions .btn,.ybs-home-refresh .hero-actions .text-link{font-size:15px}
 .ybs-home-refresh .hero-visual{height:330px}
 .ybs-home-refresh .hero-caption{bottom:20px;left:5%;max-width:calc(100% - 310px)}
 .ybs-home-refresh .material-tag{right:5%;bottom:20px}
 .ybs-home-refresh .service-strip>.wrap{padding:16px 0;gap:16px 0}
 .ybs-home-refresh .service-strip span{font-size:13px}
 .ybs-home-refresh .section{padding:46px 0}
 .ybs-home-refresh .section-head{align-items:flex-start;gap:18px;margin-bottom:25px}
 .ybs-home-refresh .section-head h2{font-size:28px}
 .ybs-home-refresh .section-head p{font-size:16px}
 .ybs-home-refresh .categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
 .ybs-home-refresh .category-card .visual{aspect-ratio:4/3}
 .ybs-home-refresh .category-card h3{font-size:19px}
 .ybs-home-refresh .category-card .cat-copy small{font-size:10px;letter-spacing:.8px}
 .ybs-home-refresh .category-card p{font-size:15px}
 .home-case-grid,.home-case-grid[data-count="2"]{grid-template-columns:minmax(0,1fr)}
 .home-case-grid[data-count="1"]{max-width:none}
 .home-case-image{aspect-ratio:8/5}
 .home-case-copy{padding:22px}
 .home-case-empty{flex-direction:column;align-items:flex-start}
 .home-featured-grid[data-count="1"] .product-card{grid-template-columns:minmax(0,1fr)}
 .home-featured-grid[data-count="1"] .product-image{aspect-ratio:16/9;min-height:0}
 .home-featured-grid[data-count="1"] .product-content{padding:25px}
 .home-featured-grid[data-count="1"] .product-content h3{font-size:24px}
 .ybs-home-refresh .process-grid{grid-template-columns:minmax(0,1fr);gap:26px}
 .ybs-home-refresh .process-grid h3{font-size:23px}
 .home-contact{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));font-size:14px;padding:12px 15px}
}
@media(max-width:600px){
 .ybs-home-refresh .home-featured-grid,.ybs-home-refresh .home-featured-grid[data-count="2"]{grid-template-columns:minmax(0,1fr)}
 .ybs-home-refresh .section-head{flex-direction:column}
 .ybs-home-refresh .hero-caption{max-width:calc(100% - 10%);bottom:108px}
 .ybs-home-refresh .hero-caption small{font-size:11px}
 .ybs-home-refresh .material-tag{left:5%;right:auto;bottom:20px}
}
@media(max-width:480px){
 .ybs-home-refresh .categories{grid-template-columns:minmax(0,1fr);gap:27px}
 .ybs-home-refresh .category-card .visual{aspect-ratio:8/5}
 .ybs-home-refresh .category-card .cat-copy small{font-size:11px}
 .ybs-home-refresh .category-card h3{font-size:22px}
 .ybs-home-refresh .category-card p{font-size:16px}
 .ybs-home-refresh .cat-arrow{top:39px}
 .ybs-home-refresh .hero-copy{padding-top:30px}
 .ybs-home-refresh .home-business{font-size:16px}
 .ybs-home-refresh .hero-description{font-size:16px}
 .ybs-home-refresh .hero-stamp{font-size:11px}
 .ybs-home-refresh .eyebrow{font-size:10px;letter-spacing:1.2px}
 .ybs-home-refresh .hero-actions .btn{padding:12px 18px;gap:20px}
}
@media(prefers-reduced-motion:reduce){.home-case-image img{transition:none}}
