:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how,.fp-story,[id$="__fp-detail-cta"]){font-family:var(--body-font);color:#392d26;box-sizing:border-box}
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid__inner{max-width:1600px;width:100%;padding-inline:clamp(22px,4.6vw,80px);margin-inline:auto}
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid__header{width:100%}
:is(#fp-detail-hero,#fp-detail-how) .media-grid__title,.fp-detail-heading{font:400 clamp(28px,4.1vw,64px)/1.28 var(--title-font);letter-spacing:-.025em;white-space:pre-line;color:#392d26;margin:0 0 36px}
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid-card__overlay{display:none}
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid-card{min-width:0;overflow:hidden;border-radius:16px;align-self:stretch}
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid-card__media{height:auto}
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid-card__content{position:relative;inset:auto;min-height:0;transform:none;padding:14px 18px;display:block}
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid-card__title{font-family:var(--body-font);letter-spacing:-.02em;color:#392d26}
#fp-detail-hero{background:rgb(var(--color-page-background))}
#fp-detail-hero .media-grid__items{display:grid;grid-template-columns:1.8fr repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
#fp-detail-hero .media-grid-card{grid-column:auto;display:flex;flex-direction:column;aspect-ratio:auto}
#fp-detail-hero .media-grid-card--video{grid-column:1;grid-row:span 2;aspect-ratio:3/4}
#fp-detail-hero .media-grid-card--video .media-grid-card__content{display:none}
#fp-detail-hero .media-grid-card__media{position:relative;inset:auto;aspect-ratio:1;flex:1;min-height:0;width:100%}
#fp-detail-hero .media-grid-card__media img{object-fit:contain;width:100%;height:100%;transition:transform .4s}
#fp-detail-hero .media-grid-card--image:hover img{transform:translateY(-3px) scale(1.04)}
#fp-detail-hero .media-grid-card__content{background:#c5bbae;padding:10px 12px;flex:none}
#fp-detail-hero .media-grid-card__title{font-size:clamp(12px,1.2vw,19px);font-weight:400;line-height:1.35;margin:0}
#fp-detail-hero .media-grid-card__description{font:400 clamp(10px,.9vw,14px)/1.5 var(--body-font);margin-top:4px;color:#55483fd9}
fp-detail-video{display:block;width:100%;height:100%}
fp-detail-video video{display:block;width:100%;height:100%;object-fit:cover}
#fp-detail-features{background:#e8e1d5;padding-top:0}
#fp-detail-features .media-grid__items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
#fp-detail-features .media-grid-card{grid-column:auto;display:flex;flex-direction:column;aspect-ratio:auto;background:#f1ebdf;border-radius:28px}
#fp-detail-features .media-grid-card__media{position:relative;inset:auto;width:100%;aspect-ratio:1.39}
#fp-detail-features .media-grid-card__media img{width:100%;height:100%;object-fit:cover}
#fp-detail-features .media-grid-card__content{padding:28px 36px 36px;flex:1}
#fp-detail-features .media-grid-card__title{font-size:clamp(24px,2.8vw,40px);line-height:1.3;font-weight:600;margin:0 0 20px}
#fp-detail-features .media-grid-card__description{font-size:clamp(17px,1.8vw,27px);line-height:1.4}
#fp-detail-how{background:#e8e1d5;padding-bottom:40px}
#fp-detail-how .media-grid__items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,5vw,80px)}
#fp-detail-how .media-grid-card{grid-column:auto;aspect-ratio:auto;background:transparent;overflow:visible}
#fp-detail-how .media-grid-card__media{position:relative;inset:auto;aspect-ratio:.925;border-radius:25px;overflow:hidden}
#fp-detail-how .media-grid-card__content{padding:24px 0 0;text-align:center}
#fp-detail-how .media-grid-card__title{font-size:clamp(20px,2.2vw,34px);line-height:1.3;font-weight:600;margin:0}
#fp-detail-how .media-grid-card__eyebrow{font-size:24px;line-height:1;margin:0 0 10px;opacity:.8}
[id$="__fp-detail-cta"],[id$="__fp-detail-cta"] .rich-text__content{background:#e8e1d5;color:#392d26}
.fp-detail-build{display:inline-flex;align-items:center;justify-content:center;gap:40px;min-height:64px;padding:16px 36px;border-radius:99px;background:#ffebbc;color:#30251f;font:600 17px/1.3 var(--body-font);text-decoration:none}
.fp-detail-build span{font-size:30px}.fp-detail-build:hover{transform:translateY(-2px)}
.fp-story{display:block;background:#e8e1d5;padding:60px clamp(22px,4.6vw,80px) 28px;overflow:hidden}
.fp-story *{box-sizing:border-box}.fp-story-inner{max-width:1440px;margin:auto}
.fp-mix-card{display:grid;grid-template-columns:43% 57%;overflow:hidden;background:#f1ebdf;border-radius:30px;min-height:400px}
.fp-mix-copy{padding:40px 38px;align-self:center}.fp-mix-copy h3{font:600 clamp(28px,3.2vw,48px)/1.3 var(--body-font);white-space:pre-line;margin:0 0 28px;color:#392d26}
.fp-story p{font:400 clamp(17px,1.9vw,28px)/1.4 var(--body-font);white-space:pre-line;margin:0;color:#392d26}
.fp-mosaic{background:#523424;overflow:hidden;display:flex;align-items:center;position:relative}
.fp-mosaic-source{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px;width:100%}
.fp-story-picture{margin:0;overflow:hidden;border-radius:12px;background:var(--tile,#8572ad)}
.fp-mosaic .fp-story-picture{aspect-ratio:1}.fp-story-picture img{display:block;width:100%;height:100%;object-fit:contain}
.fp-mosaic-rows{display:grid;gap:14px;padding-block:20px;width:100%}.fp-mosaic-track{display:flex;gap:14px;width:max-content;animation:fp-pieces-drift 42s linear infinite}
.fp-mosaic-track:nth-child(2){animation-direction:reverse;animation-duration:48s}.fp-mosaic-track .fp-story-picture{width:clamp(90px,9vw,130px);flex:none}
.fp-mosaic-rows:hover .fp-mosaic-track,.fp-story[data-paused="true"] .fp-mosaic-track{animation-play-state:paused}
@keyframes fp-pieces-drift{to{transform:translateX(-50%)}}
.fp-motion-toggle{display:inline-block;text-decoration:none;margin-top:24px;padding:8px 14px;border:1px solid #77655980;border-radius:99px;background:transparent;color:#392d26;font:400 12px var(--body-font);cursor:pointer}
.fp-story--collage{background:rgb(var(--color-page-background));padding-block:60px}
.fp-collage{display:grid;grid-template-columns:1fr 1fr;gap:5%;align-items:center;min-height:610px}
.fp-collage-pictures{position:relative;height:580px;perspective:1000px}
.fp-collage-pictures .fp-story-picture{position:absolute;width:44%;height:34%;box-shadow:0 12px 30px #28083d33;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.fp-collage-pictures img{object-fit:cover}.fp-collage-pictures .fp-story-picture:nth-child(1){left:0;top:2%;height:57%;width:48%;transform:rotate(-7deg)}
.fp-collage-pictures .fp-story-picture:nth-child(2){left:49%;top:1%;transform:rotate(7deg)}
.fp-collage-pictures .fp-story-picture:nth-child(3){left:38%;top:34%;z-index:2;transform:rotate(-4deg)}
.fp-collage-pictures .fp-story-picture:nth-child(4){left:2%;top:62%;transform:rotate(6deg)}
.fp-collage-pictures .fp-story-picture:nth-child(5){left:50%;top:68%;height:30%;transform:rotate(-6deg)}
.fp-collage-pictures .fp-story-picture:nth-child(6){left:76%;top:32%;width:23%;height:26%;transform:rotate(9deg)}
.fp-collage-pictures .fp-story-picture:nth-child(7){left:12%;top:42%;width:28%;height:23%;transform:rotate(-11deg);z-index:3}
.fp-collage-pictures .fp-story-picture:nth-child(n+8){position:relative;display:inline-block;width:20%;height:20%;z-index:4}
.fp-story[data-motion="true"]:not(.is-visible) .fp-collage-pictures .fp-story-picture{transform:translate(25px,35px) rotate(0deg) scale(.88)}
.fp-collage-copy{position:relative;z-index:5}.fp-collage-copy .fp-detail-heading{font-size:clamp(28px,3.5vw,54px)}
.fp-detail-build:focus-visible,.fp-motion-toggle:focus-visible{outline:3px solid #ffedaa;outline-offset:4px}
@media(max-width:959px){#fp-detail-hero .media-grid__items{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}#fp-detail-hero .media-grid-card--video{grid-column:1/-1;grid-row:auto;aspect-ratio:16/9}#fp-detail-hero .media-grid-card--video .media-grid-card__media{aspect-ratio:16/9}#fp-detail-hero .media-grid-card__title{font-size:14px}#fp-detail-hero .media-grid-card__description{font-size:11px}.fp-mix-card{grid-template-columns:1fr 1fr;min-height:350px}.fp-mix-copy{padding:28px}.fp-collage{min-height:450px}.fp-collage-pictures{height:420px}}
@media(max-width:600px){:is(#fp-detail-hero,#fp-detail-how) .media-grid__title,.fp-detail-heading{font-size:28px;margin-bottom:26px;white-space:normal}#fp-detail-hero .media-grid__items{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#fp-detail-hero .media-grid-card__media{min-height:150px}#fp-detail-hero .media-grid-card__title{font-size:13px}#fp-detail-features .media-grid__items,#fp-detail-how .media-grid__items{grid-template-columns:1fr;gap:24px}#fp-detail-features .media-grid-card__content{padding:22px}#fp-detail-features .media-grid-card__title{font-size:24px}#fp-detail-features .media-grid-card__description{font-size:17px}#fp-detail-how .media-grid-card__media{aspect-ratio:1}#fp-detail-how .media-grid-card__title{font-size:24px}.fp-story{padding-top:36px}.fp-mix-card{grid-template-columns:1fr;border-radius:22px}.fp-mix-copy{padding:28px}.fp-mix-copy h3{font-size:30px;margin-bottom:18px}.fp-mosaic{min-height:260px}.fp-mosaic-source{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fp-mosaic-track .fp-story-picture{width:95px}.fp-collage{grid-template-columns:1fr;gap:30px}.fp-collage-pictures{height:360px;margin-inline:8px}.fp-collage-copy{padding-top:10px}.fp-collage-copy .fp-detail-heading{font-size:30px}.fp-story p{font-size:17px}.fp-detail-build{min-height:56px;font-size:16px}.fp-story--collage{padding-bottom:42px}}
@media(prefers-reduced-motion:reduce){.fp-mosaic-track{animation:none}.fp-collage-pictures .fp-story-picture,#fp-detail-hero .media-grid-card__media img,.fp-detail-build{transition:none;transform:none!important}}

/* Final flat-design palette: source style.css lines 398–438 take precedence. */
#fp-detail-hero .media-grid__title,.fp-story--collage .fp-detail-heading{color:#231712;text-shadow:0 1px 1px #66566a}
#fp-detail-features .media-grid-card__media{background:#d8d2c7}
#fp-detail-how .media-grid-card__media{background:#dfd6c7}
.fp-mosaic-rows{opacity:.9}
.fp-mosaic .fp-story-picture:hover{background:#d8cfbd}

/* V2: theme font families; original typography dimensions remain unchanged. */
:is(#fp-detail-hero,#fp-detail-features,#fp-detail-how) .media-grid-card__title,.fp-mix-copy h3{font-family:var(--title-font)}
.fp-motion-toggle{font-family:var(--button-font)}

/* Center the mix-and-match copy and link only in the mobile stacked card. */
@media(max-width:600px){.fp-mix-copy{text-align:center}}

/* V2 hero revision: title left, original video right, product tiles removed. */
#fp-detail-hero .media-grid__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(32px,5vw,80px)}
#fp-detail-hero .media-grid__header{min-width:0;margin:0}
#fp-detail-hero .media-grid__title{margin-bottom:0}
#fp-detail-hero .media-grid__carousel{min-width:0;max-width:520px;justify-self:end}
#fp-detail-hero .media-grid__items{display:block}
#fp-detail-hero .media-grid-card--video{display:block;grid-column:auto;grid-row:auto;aspect-ratio:3/4;width:100%}
#fp-detail-hero .media-grid-card--video .media-grid-card__media{width:100%;height:100%;aspect-ratio:auto;flex:none}
@media(max-width:959px){#fp-detail-hero .media-grid__inner{grid-template-columns:minmax(0,1fr);gap:28px}#fp-detail-hero .media-grid__carousel{max-width:none;justify-self:stretch}#fp-detail-hero .media-grid-card--video{aspect-ratio:16/9}}

/* V2 brand video: full landscape frame with compact heading and supporting copy. */
#fp-detail-hero .media-grid__inner{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
#fp-detail-hero .media-grid__title{font-size:clamp(36px,3.1vw,44px);line-height:1.25}
#fp-detail-hero .media-grid__description{font-family:var(--body-font);font-size:18px;line-height:1.65!important;color:rgb(var(--color-text));margin:20px 0 0;max-width:480px}
#fp-detail-hero .media-grid__carousel{width:100%;max-width:none;justify-self:stretch}
#fp-detail-hero .media-grid-card--video{aspect-ratio:16/9}
#fp-detail-hero .media-grid-card--video video{object-fit:contain}
@media(max-width:959px){#fp-detail-hero .media-grid__inner{grid-template-columns:minmax(0,1fr)}#fp-detail-hero .media-grid__title{font-size:28px;line-height:1.3}#fp-detail-hero .media-grid__description{font-size:16px;margin-top:16px;max-width:none}}

/* V2 2026-11-24: typography groups from the annotated reference. */
/* Red: section headings, matched to the hero. */
#fp-detail-hero .media-grid__title,.fp-story .fp-detail-heading,#fp-detail-features .media-grid__title,#fp-detail-how .media-grid__title{font-size:clamp(36px,3.1vw,44px);font-weight:400;color:#231712;text-shadow:0 1px 1px #66566a}
/* Green: supporting card headings. */
.fp-story .fp-mix-copy h3,#fp-detail-features .media-grid-card__title,#fp-detail-how .media-grid-card__title{font-size:clamp(28px,2.3vw,32px);font-weight:400}
/* Blue: descriptions, matched to the hero description. */
#fp-detail-hero .media-grid__description,.fp-story .fp-mix-copy p,.fp-story .fp-collage-copy p,#fp-detail-features .media-grid-card__description{font-size:18px;font-weight:400}
@media(max-width:959px){
#fp-detail-hero .media-grid__title,.fp-story .fp-detail-heading,#fp-detail-features .media-grid__title,#fp-detail-how .media-grid__title{font-size:28px}
.fp-story .fp-mix-copy h3,#fp-detail-features .media-grid-card__title,#fp-detail-how .media-grid-card__title{font-size:24px}
#fp-detail-hero .media-grid__description,.fp-story .fp-mix-copy p,.fp-story .fp-collage-copy p,#fp-detail-features .media-grid-card__description{font-size:16px}
}


/* Hide the dark outer pixels embedded in the kitchen source image. */
#fp-detail-features .media-grid-card__media:has(> img[src*="fp-detail-design-kitchen"]){overflow:hidden}
#fp-detail-features .media-grid-card__media > img[src*="fp-detail-design-kitchen"]{width:calc(100% + 6px);max-width:none;transform:translateX(-3px)}
