/* Arch KBB /bathrooms page only. Loaded after the shared arch-sections.css. Colours and type come from its tokens. */

/* Hero: this photo is already dark, so the shared scrim would bury it */
.ab .as-hero-scrim{mix-blend-mode:normal;background:linear-gradient(90deg,rgba(46,40,36,.86) 0%,rgba(46,40,36,.74) 44%,rgba(46,40,36,.34) 62%,rgba(46,40,36,.04) 78%),linear-gradient(180deg,rgba(46,40,36,.6) 0%,rgba(46,40,36,0) 24%,rgba(46,40,36,0) 72%,rgba(46,40,36,.62) 100%)}
.ab .as-hero-img{object-position:50% 38%}
.ab .as-hero h1{font-size:60px;max-width:820px}
.ab-styles-row{display:flex;align-items:center;gap:14px;margin-top:10px;font-size:17px;letter-spacing:.3px}
.ab-styles{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;margin:0;padding:0;list-style:none}
.ab-styles a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:#d8b86a}

/* The current page in the menu over the photo: underlined under the word, as on /kitchens */
[data-transparent-row="yes"] .current-menu-item>.ct-menu-link{box-shadow:none;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
[data-transparent-row="yes"] .current-menu-item>.ct-toggle-dropdown-desktop{color:#fff!important}

/* The floating film steps aside on phones and tablets while a booking button is on screen */
@media(max-width:1000px){html.ab-book-on .arch-film-teaser{visibility:hidden;pointer-events:none}}

/* Three doors: where a visitor goes next */
.ab-doors{padding:88px 0 84px}
.ab-doors-head{display:flex;justify-content:space-between;align-items:flex-end;gap:48px}
.ab-doors-head .as-lead{margin:0 0 8px!important;max-width:340px}
.ab-door-list{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.arch-s .ab-door a{display:block;text-decoration:none;color:inherit}
.ab-door-arch{display:block;height:440px;border-radius:999px 999px 0 0;overflow:hidden;background:var(--pale)}
.ab-door-arch img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.ab-door a:hover img{transform:scale(1.035)}
.ab-door-t{display:block;padding-top:18px}
.arch-s .ab-door h3{font-size:27px}
.ab-door p{font-size:17px;margin-top:6px!important}
.ab-door-more{display:inline-flex;align-items:center;gap:10px;margin-top:10px;font:700 12px/1.4 var(--sans);letter-spacing:1.5px;text-transform:uppercase;color:var(--taupe)}
.ab-door-more svg{width:16px;height:16px;transition:transform .2s ease-out}
.ab-door a:hover .ab-door-more svg{transform:translateX(4px)}
.ab-door-go{display:none}

/* Behind the tiles: what a fitted bathroom involves, drawn over a real room. This page's own section. */
.ab-behind{padding:96px 0}
.ab-behind-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);grid-template-rows:auto 1fr;column-gap:72px;align-items:start}
.ab-behind-head{grid-column:1;grid-row:1;align-self:end}
.ab-x{grid-column:2;grid-row:1/3}
.ab-routes{grid-column:1;grid-row:2}
.arch-s .ab-behind h2{font-size:46px;line-height:1.16}
.ab-routes{list-style:none;margin:30px 0 0;padding:0;display:flex;flex-direction:column;gap:20px}
.arch-s .ab-route h3{font-size:24px}
.ab-route p{font-size:16px;line-height:1.5;margin-top:4px!important}
.arch-s .ab-route a{display:inline-flex;align-items:center;min-height:44px;font-size:16px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.ab-x{position:relative;margin:0;aspect-ratio:800/1090;border-radius:6px;overflow:hidden;background:var(--pale)}
.ab-x img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block}
.ab-x-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ab-x-lines path{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.ab-x-lines .h{stroke:rgba(46,40,36,.24);stroke-width:4.2}
.ab-x-lines .g{stroke:var(--gold);stroke-width:2.2}
.ab-x-lines .dot{fill:var(--gold);stroke:#fff;stroke-width:2}
.m .ab-x-lines path:not(.dot){stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.7s cubic-bezier(.45,.05,.3,1) var(--d,0s)}
.m .ab-x[data-in] .ab-x-lines path:not(.dot){stroke-dashoffset:0}
.m .ab-x-lines .dot{opacity:0;transition:opacity .4s ease-out var(--d,0s)}
.m .ab-x[data-in] .ab-x-lines .dot{opacity:1}
.ab-chip{position:absolute;z-index:1;background:#fff;color:var(--brown);font:400 17px/1.2 var(--serif);padding:7px 11px 8px;border-radius:3px;white-space:nowrap;box-shadow:0 2px 10px rgba(46,40,36,.18)}
.m .ab-chip{opacity:0;transition:opacity .6s ease-out var(--d,0s)}
.m .ab-x[data-in] .ab-chip{opacity:1}

/* Why Arch: three equal tiles, so each photo reads whole and proves its line */
.ab-why-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.as-why-t.ab-t{grid-column:auto;height:470px}
.ab-t img{height:62%}
.ab-t::after{inset:44% 0 0;background:linear-gradient(180deg,rgba(58,51,46,0),rgba(58,51,46,.86) 26%,#3a332e 34%)}
.arch-s .ab-why-grid .as-why-b h3{font-size:30px}
.ab-why-grid .as-why-b{left:26px;right:26px;bottom:24px}
.ab-why-grid .as-why-b p{font-size:16px}

/* Core values: Arch's own words in small drawn doorways. No photos: a room can't show a value. */
.ab-values{padding:84px 0 76px}
.ab-values-head{max-width:640px}
.ab-vals{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.ab-v-door{position:relative;display:block;width:88px;aspect-ratio:160/200}
.ab-v-arch{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none}
.ab-v-fill{fill:var(--pale)}
.ab-v-line{stroke:var(--gold);stroke-width:1.2;stroke-linecap:round}
.ab-v-ic{position:absolute;left:50%;top:56%;width:38px;height:38px;margin:-19px 0 0 -19px;color:var(--taupe);fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.ab-v-ic24{stroke-width:.72}
.arch-s .ab-v h3{font-size:21px;line-height:1.22;margin-top:16px}
.ab-v p{font-size:15.5px;line-height:1.5;margin-top:6px!important}
.m .ab-v .d{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) var(--s,0s)}
.m .ab-v[data-in] .d{stroke-dashoffset:0}

/* FAQ sits on the pale surface here, so it doesn't run into the white values above */
.ab-faq{background:var(--pale)}
.ab-faq .as-faq-img{aspect-ratio:3/2;object-fit:cover;object-position:50% 46%}

/* Closing band: lets the room show on the right */
.ab .as-band::after{background:linear-gradient(90deg,rgba(46,40,36,.88) 0%,rgba(46,40,36,.7) 46%,rgba(46,40,36,.1) 78%)}

@container arch-s (max-width:1120px){
.ab .as-hero h1{font-size:54px}
.ab-behind-grid{column-gap:48px}
.arch-s .ab-behind h2{font-size:40px}
.ab-chip{font-size:15px}
}
/* Tablet */
@container arch-s (max-width:1000px){
.ab-behind-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:32px}
.ab-behind-head,.ab-x,.ab-routes{grid-column:1;grid-row:auto}
.ab-x{max-width:560px}
.ab-routes{margin-top:0}
.ab-door-arch{height:340px}
.ab-why-grid{grid-template-columns:minmax(0,1fr)}
.as-why-t.ab-t{height:380px}
.ab-t img{height:64%}
.ab-vals{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
}
/* Phone */
@container arch-s (max-width:760px){
.ab .as-hero{height:min(100svh,740px);min-height:620px}
.ab .as-hero-img{top:auto;bottom:352px;height:520px;object-position:50% 50%}
.ab .as-hero-scrim{background:linear-gradient(0deg,#2E2824 0,#2E2824 352px,rgba(46,40,36,.82) 400px,rgba(46,40,36,0) 470px),linear-gradient(180deg,rgba(46,40,36,.55) 0,rgba(46,40,36,0) 130px)}
.ab .as-hero h1{font-size:34px;line-height:1.14}
.ab-styles-row{margin-top:2px;font-size:15px;gap:12px}
.ab-styles{gap:0 14px}
.ab-doors{padding:44px 0 44px}
.ab-doors-head{display:block}
.ab-doors-head .as-lead{margin:8px 0 0!important;max-width:none}
.ab-door-list{gap:10px;margin-top:20px}
.ab-door-arch{height:150px}
.ab-door-t{padding-top:10px}
.arch-s .ab-door h3{font-size:18px;line-height:1.2}
.ab-door p,.ab-door-more{display:none}
.ab-behind{padding:52px 0 48px}
.ab-behind-grid{row-gap:22px}
.arch-s .ab-behind h2{font-size:32px}
.ab-x{max-width:none}
.ab-chip-d{display:none}
.ab-x-lines .h{stroke-width:3.4}
.ab-x-lines .g{stroke-width:1.8}
.ab-chip{font-size:13.5px;padding:5px 8px 6px}
.ab-routes{margin-top:0;gap:16px}
.arch-s .ab-route h3{font-size:21px}
.as-why-t.ab-t{height:340px}
.ab-t img{height:62%}
.ab-t::after{inset:40% 0 0;background:linear-gradient(180deg,rgba(58,51,46,0),rgba(58,51,46,.86) 30%,#3a332e 38%)}
.arch-s .ab-why-grid .as-why-b h3{font-size:27px}
.ab-why-grid .as-why-b{left:20px;right:20px;bottom:16px}
.ab .as-band::after{background:linear-gradient(180deg,rgba(46,40,36,.12),rgba(46,40,36,.9) 56%)}
.ab-values{padding:48px 0 40px}
.ab-vals{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;margin-top:22px}
.ab-v-door{width:48px}
.ab-v-ic{width:22px;height:22px;margin:-11px 0 0 -11px}
.arch-s .ab-v h3{font-size:19px;margin-top:10px}
.ab-v p{font-size:14.5px;line-height:1.45;margin-top:4px!important}
}
