/* Arch KBB /bedrooms page only. Shared sections are in arch-sections.css. See README.md. */

/* This page runs shorter than the benchmark, because Roisin finds the core pages too long */
.bd-page .as-reviews{padding:56px 24px}
.bd-page .as-why{padding:64px 0 72px}
.bd-page .as-strip{padding:80px 0 64px}
.bd-page .as-strip-f img{height:500px}
.bd-page .as-strip-f.po img{width:334px}.bd-page .as-strip-f.la img{width:750px}
.bd-page .as-steps{padding:72px 0 64px}
.bd-page .as-steps-head{max-width:none}
.bd-page .as-steps-rail{margin-top:32px}
.bd-page .as-step img{height:160px}
.bd-page .as-steps-cta{margin-top:32px}
.bd-page .as-faq{padding:64px 0}
.bd-page .as-faq-img{height:230px;object-fit:cover;object-position:50% 62%}
.bd-page .as-band{height:480px}
.bd-page .as-band::after{background:linear-gradient(90deg,rgba(46,40,36,.9) 0%,rgba(46,40,36,.74) 42%,rgba(46,40,36,.1) 78%)}

/* PART: bd-room, a bedroom drawn as one room. The page's own opening argument. */
.bd-room{padding:80px 0 72px}
.bd-room-grid{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:56px;align-items:stretch}
.bd-room-head{max-width:640px}
.bd-room-head .as-lead{max-width:560px}
.bd-plan{position:relative;margin-top:30px}
.bd-plan-svg{display:block;width:100%;height:auto;overflow:visible}
.bd-plan-svg path{fill:none;stroke:var(--taupe);stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}
.bd-plan-svg .g{stroke:var(--gold);stroke-width:1.4}
.bd-plan-svg .l{stroke:var(--gold);stroke-width:.9}
.bd-plan-svg .w{stroke-width:.8;stroke:#7d736c}
.bd-plan-svg .p{fill:var(--gold)}
.bd-plan-n{display:none}
.bd-plan-n circle{fill:var(--gold)}
.bd-plan-n text{fill:#fff;font:700 17px/1 var(--sans);text-anchor:middle;dominant-baseline:central}
.m .bd-plan-svg path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) var(--d,0s)}
.m .bd-plan[data-in] .bd-plan-svg path{stroke-dashoffset:0}
.m .bd-plan-svg .p{opacity:0;transition:opacity .3s ease-out var(--d,0s)}
.m .bd-plan[data-in] .bd-plan-svg .p{opacity:1}
.m .bd-plan-n{opacity:0;transition:opacity .5s ease-out 1.1s}
.m .bd-plan[data-in] .bd-plan-n{opacity:1}
.bd-plan-ls{list-style:none;margin:0;padding:0}
.bd-plan-ls li{position:absolute;width:132px;transform:translateX(-50%);text-align:center;font:400 16.5px/1.22 var(--serif);letter-spacing:.1px;color:var(--grey)}
.bd-plan-ls li.t{top:0;height:42px;display:flex;align-items:flex-end;justify-content:center}
.bd-plan-ls li.b{bottom:0;height:42px;display:flex;align-items:flex-start;justify-content:center}
.bd-plan-ls a{text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:var(--gold);text-underline-offset:3px}
.m .bd-plan-ls li{opacity:0;transition:opacity .6s ease-out var(--d,0s)}
.m .bd-plan[data-in] .bd-plan-ls li{opacity:1}
.bd-room-door{position:relative;min-height:560px}
.bd-room-door::after{content:"";position:absolute;left:-14px;right:-14px;bottom:0;height:1px;background:var(--gold)}
.bd-room-arch{position:absolute;inset:0;border-radius:999px 999px 0 0;overflow:hidden;background:var(--pale)}
.bd-room-arch img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}

/* PART: bd-why, three tall tiles on the dark band */
.as-why-t.w4{grid-column:span 4;height:500px}
.as-why-t.w4 img{height:76%}
.as-why-t.w4::after{inset:40% 0 0;background:linear-gradient(180deg,rgba(58,51,46,0),rgba(58,51,46,.8) 38%,#3a332e 58%)}
.arch-s .as-why-t.w4 .as-why-b h3{font-size:31px;line-height:1.16}
.as-why-t.w4 .as-why-b{left:26px;right:26px;bottom:24px}

/* PART: bd-make, what Arch makes: a list, with one photo that changes as you move along it */
.bd-make{padding:72px 0}
.bd-make-grid{position:relative;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;min-height:520px}
.bd-make-list{list-style:none;margin:24px 0 0;padding:0;border-top:1px solid var(--hair)}
.bd-make-list li{border-bottom:1px solid var(--hair)}
.bd-make-row{display:grid;grid-template-columns:minmax(0,1fr) 20px;column-gap:24px;align-items:center;min-height:84px;padding:13px 0;text-decoration:none}
.bd-make-row b{grid-column:1;font:400 28px/1.2 var(--serif);letter-spacing:.2px;color:var(--grey);transition:color .2s ease-out}
.bd-make-row span{grid-column:1;font-size:16px;line-height:1.45;margin-top:4px}
.bd-make-row svg{grid-column:2;grid-row:1/3;width:18px;height:18px;color:var(--gold);transition:transform .2s ease-out}
.bd-make-row.on b,.bd-make-row:hover b{color:var(--brown)}
.bd-make-row.on svg,.bd-make-row:hover svg{transform:translateX(4px)}
.bd-make-row img{position:absolute;right:0;top:0;width:calc((100% - 64px)*.4167);height:100%;object-fit:cover;border-radius:6px;opacity:0;transition:opacity .45s ease-out;pointer-events:none;background:var(--pale)}
.bd-make-row.on img{opacity:1}

@container arch-s (max-width:1000px){
.bd-room-grid{grid-template-columns:minmax(0,1fr);gap:44px}
.bd-room-door{width:300px;min-height:400px;margin:0 auto}
.as-why-t.w4{grid-column:span 12;height:440px}
.bd-make-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}
.bd-make-row img{width:calc((100% - 40px)*.5)}
}
@container arch-s (max-width:760px){
.bd-page .as-reviews{padding:44px 20px}
.bd-page .as-why{padding:48px 0 52px}
.bd-page .as-strip{padding:48px 0 40px}
.bd-page .as-strip-f img{height:360px}
.bd-page .as-strip-f.po img{width:240px}.bd-page .as-strip-f.la img{width:300px}
.bd-page .as-steps{padding:48px 0 40px}
.bd-page .as-steps-rail{margin-top:24px}
.bd-page .as-step img{height:100%}
.bd-page .as-steps-cta{margin-top:24px}
.bd-page .as-faq{padding:48px 0}
.bd-page .as-band{height:490px}
.bd-page .as-band-img{height:62%;object-position:57% 100%}
.bd-page .as-hero-scope{display:grid;grid-template-columns:max-content max-content;justify-content:start}
.bd-page .as-band::after{background:linear-gradient(180deg,rgba(46,40,36,0) 34%,rgba(46,40,36,.86) 55%,var(--brown) 62%)}
.arch-s.bd-page .as-band h2{font-size:30px;line-height:1.2}
.bd-room{padding:48px 0 48px}
.bd-room-grid{gap:30px}
.bd-plan{margin-top:20px}
.bd-plan-svg{width:calc(100% + 40px);margin:-7% -20px -4%}
.bd-plan-svg path{stroke-width:1.9}
.bd-plan-svg .g{stroke-width:2.1}
.bd-plan-svg .w{stroke-width:1.3}
.bd-plan-svg .l,.bd-plan-svg .p{display:none}
.bd-plan-n{display:block}
.bd-plan-ls{counter-reset:n;display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-top:18px}
.bd-plan-ls li,.bd-plan-ls li.t,.bd-plan-ls li.b{position:static;width:auto;height:auto;transform:none;display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;font-size:18px;line-height:1.25}
.bd-plan-ls li::before{counter-increment:n;content:counter(n);flex:none;width:22px;height:22px;border-radius:50%;background:var(--gold);color:#fff;font:700 12px/22px var(--sans);text-align:center}
.bd-room-door{width:270px;min-height:330px}
.as-why-t.w4{height:340px}
.as-why-t.w4 img{height:62%}
.as-why-t.w4::after{inset:28% 0 0;background:linear-gradient(180deg,rgba(58,51,46,0) 0,rgba(58,51,46,.75) 33%,#3a332e 47%)}
.arch-s .as-why-t.w4 .as-why-b h3{font-size:27px;line-height:1.18}
.as-why-t.w4 .as-why-b{left:20px;right:20px;bottom:16px}
.bd-make{padding:48px 0}
.bd-make-grid{display:block;min-height:0}
.bd-make-list{margin-top:20px}
.bd-make-row{grid-template-columns:92px minmax(0,1fr);column-gap:16px;min-height:112px;padding:12px 0}
.bd-make-row img{position:static;grid-column:1;grid-row:1/3;width:92px;height:92px;opacity:1}
.bd-make-row b{grid-column:2;font-size:22px;align-self:end}
.bd-make-row span{grid-column:2;font-size:15px;line-height:1.4;align-self:start;margin-top:2px}
.bd-make-row svg{display:none}
}
