/* Arch KBB /appliances page: its own parts. Everything else comes from arch-sections.css. */

/* Hero: the ovens stay clear of the words; on a phone the cooktop sits above them */
.ap-hero .as-hero-img{object-position:62% 50%}
.ap-hero .as-hero-scope li{white-space:nowrap}

/* The page's own argument: three appliances, three design decisions, joined to one real photo by a gold thread */
.ap-dec{padding:88px 0 72px}
.ap-dec-dia{position:relative;aspect-ratio:1100/780}
.ap-dec-head{position:absolute;left:0;top:0;width:40%}
.arch-s .ap-dec-head h2{font-size:48px;line-height:1.12}
.ap-dec-head .as-lead{font-size:18px;line-height:1.55;margin-top:14px!important}
.ap-dec-photo{position:absolute;right:0;top:0;bottom:0;width:56.73%;margin:0;border-radius:6px;overflow:hidden;background:var(--pale)}
.ap-dec-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ap-dec-list{list-style:none;margin:0;padding:0;position:absolute;left:0;top:0;bottom:0;width:40%}
.ap-dec-i{position:absolute;left:0;right:0}
.ap-dec-i:nth-child(1){top:38.46%}
.ap-dec-i:nth-child(2){top:57.69%}
.ap-dec-i:nth-child(3){top:76.92%}
.arch-s .ap-dec-i h3{font-size:30px;line-height:1.2;white-space:nowrap}
.ap-dec-i p{margin-top:18px!important;font-size:16px;line-height:1.5;max-width:400px}
.ap-dec-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ap-dec-svg path{fill:none;vector-effect:non-scaling-stroke;stroke:var(--gold);stroke-width:1.4}
.ap-dec-svg path.h{stroke:#fff;stroke-width:3.4;opacity:.5}
.m .ap-dec-svg path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.5s cubic-bezier(.3,.6,.2,1) var(--d,0s)}
.m .ap-dec-dia[data-in] .ap-dec-svg path{stroke-dashoffset:0}
.ap-dec-pin{position:absolute;z-index:1;width:13px;height:13px;margin:-6.5px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(255,255,255,.88)}
.m .ap-dec-pin{transform:scale(0);transition:transform .4s cubic-bezier(.3,1.4,.5,1) calc(var(--d,0s) + 1.2s)}
.m .ap-dec-dia[data-in] .ap-dec-pin{transform:none}
.ap-dec-chip{display:none}
.ap-dec .as-more{position:absolute;left:0;bottom:-6px;margin:0}

/* Project walk-through: this page's captions say what's in each kitchen, and each card opens that project */
.ap-strip .as-strip-f a{display:block;text-decoration:none}
.ap-strip .as-strip-f.sq img{width:540px}
.ap-strip .as-strip-f figcaption{max-width:100%}
.ap-strip .as-strip-f figcaption span{display:block;font:400 16px/1.45 var(--sans);letter-spacing:0;color:var(--taupe);margin-top:4px;white-space:normal}
.ap-strip .as-strip-f.po figcaption{width:360px}
.ap-strip .as-strip-f.sq figcaption{width:540px}
.ap-strip .as-strip-f.la figcaption{width:810px}
.ap-strip .as-strip-f a:hover figcaption b{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.ap-strip figcaption b{font-weight:400}

/* How it works: three steps here, so each card gets more room */
.ap-steps .as-steps-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ap-steps .as-step img{height:240px}

/* Core values: small drawn doorways with line icons, as on Our Story. No photos: a room can't show a value. */
.ap-vals{padding:72px 0 80px}
.ap-vals-head{text-align:center}
.ap-vals-head .as-lead{margin-left:auto!important;margin-right:auto!important}
.ap-nv{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.ap-nv-i{text-align:center}
.ap-nv-door{position:relative;display:block;width:96px;aspect-ratio:160/200;margin:0 auto}
.ap-nv-arch{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none}
.ap-nv-fill{fill:var(--pale)}
.ap-faq{background:var(--pale)}
.ap-faq .as-faq-img{aspect-ratio:3/2;object-fit:cover;object-position:50% 70%}
.ap-nv-line{stroke:var(--gold);stroke-width:1.2;stroke-linecap:round;vector-effect:non-scaling-stroke}
.ap-nv-ic{position:absolute;left:50%;top:56%;width:42px;height:42px;margin:-21px 0 0 -21px;color:var(--taupe);stroke-width:1.2}
.ap-nv-ic24{stroke-width:.72}
.ap-nv-ic .g{stroke:var(--gold)}
.arch-s .ap-nv-i h3{font-size:21px;line-height:1.22;margin-top:18px}
.ap-nv-i p{margin-top:8px!important;font-size:15.5px;line-height:1.5}
.ap-nv-i .ap-d{stroke-dasharray:1;stroke-dashoffset:0;transition:stroke-dashoffset 1.1s cubic-bezier(.65,0,.35,1) var(--s,0s),opacity .2s linear var(--s,0s)}
.m .ap-nv-i:not([data-in]) .ap-d{stroke-dashoffset:1;opacity:0}

/* Tablet: the thread needs room, so the argument stacks early */
@container arch-s (max-width:1120px){
.arch-s .ap-dec-head h2{font-size:40px}
.ap-dec-head .as-lead{font-size:16px}
.arch-s .ap-dec-i h3{font-size:24px}
.ap-dec-i p{font-size:15px;margin-top:14px!important}
}
@container arch-s (max-width:1000px){
.ap-dec-dia{aspect-ratio:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 32px;align-items:start}
.ap-dec-head{position:static;width:auto;grid-column:1/-1;max-width:640px}
.ap-dec-photo{position:relative;right:auto;width:100%;aspect-ratio:4/5;grid-column:1;grid-row:2}
.ap-dec-photo img{position:absolute;inset:0}
.ap-dec-svg,.ap-dec-pin{display:none}
.ap-dec-list{position:static;width:100%;display:flex;flex-direction:column;gap:22px;grid-column:2;grid-row:2}
.ap-dec-i{position:static}
.ap-dec-i:nth-child(n){top:auto}
.ap-dec-i p{margin-top:6px!important;font-size:16px;max-width:none}
.ap-dec-chip{display:block;position:absolute;z-index:1;transform:translate(-50%,-160%);padding:4px 10px;border-radius:3px;background:rgba(255,255,255,.95);font:700 12px/1.3 var(--sans);letter-spacing:1px;text-transform:uppercase;color:var(--brown);white-space:nowrap}
.ap-dec .as-more{position:static;grid-column:1/-1}
}
/* Phone */
@container arch-s (max-width:760px){
.ap-hero .as-hero-img{height:64%;object-position:58% 72%}
.ap-hero .as-hero-scrim{background:linear-gradient(0deg,#2E2824 0,#2E2824 290px,rgba(46,40,36,.62) 420px,rgba(46,40,36,0) 560px),linear-gradient(180deg,rgba(46,40,36,.6) 0,rgba(46,40,36,0) 130px)}
.ap-dec{padding:52px 0 40px}
.ap-dec-dia{display:flex;flex-direction:column;gap:20px}
.arch-s .ap-dec-head h2{font-size:36px;line-height:1.16}
.ap-dec-photo{order:1}
.ap-dec-list{order:2;gap:18px}
.ap-dec .as-more{order:3}
.arch-s .ap-dec-i h3{font-size:23px;white-space:normal}
.ap-dec-i p{font-size:16px;margin-top:4px!important}
.ap-strip .as-strip-f.sq img{width:300px}
.ap-strip .as-strip-f.po figcaption{width:240px}
.ap-strip .as-strip-f.sq figcaption,.ap-strip .as-strip-f.la figcaption{width:300px}
.ap-strip .as-strip-f figcaption span{font-size:15px}
.ap-steps .as-steps-list{display:flex;flex-direction:column;gap:14px}
.ap-steps .as-step img{height:100%}
.ap-vals{padding:48px 0}
.ap-vals-head{text-align:left}
.ap-vals-head .as-lead{margin-left:0!important}
.ap-nv{grid-template-columns:minmax(0,1fr);gap:18px;margin-top:24px}
.ap-nv-i{--s:0s!important;--d:0s!important;display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:16px;align-items:center;text-align:left}
.ap-nv-door{grid-row:span 2;width:72px;margin:0}
.ap-nv-ic{width:34px;height:34px;margin:-17px 0 0 -17px}
.arch-s .ap-nv-i h3{font-size:20px;margin-top:0;align-self:end}
.ap-nv-i p{margin-top:3px!important;font-size:15px;align-self:start}
}

/* This page sits under Kitchens in the menu, so the parent label stays white over the hero photo.
   An underline, not a box-shadow: the theme's menu links are 140px tall, so a shadow lands far below the word. */
[data-transparent-row="yes"] .current-menu-ancestor>.ct-menu-link,[data-transparent-row="yes"] .current-menu-parent>.ct-menu-link{color:#fff!important;box-shadow:none;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
