/* Dedicated control stories. Keep these compositions separate from collection tiles. */
:is(.g1-product,.mixswitch-product) .product-arrival-name{display:none}
:is(.g1-product,.mixswitch-product) .controls-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px}
:is(.g1-product,.mixswitch-product) .controls-nav>span{font-size:16px;letter-spacing:-.02em;white-space:nowrap}
:is(.g1-product,.mixswitch-product) .controls-nav nav{display:flex;gap:28px;align-items:center;font-size:13px}
:is(.g1-product,.mixswitch-product) .controls-nav nav a{display:inline-flex;align-items:center;gap:10px;min-height:44px}
:is(.g1-product,.mixswitch-product) .controls-nav nav a:hover{text-decoration:underline;text-underline-offset:5px}
:is(.g1-product,.mixswitch-product) .sp-section{padding-block:clamp(76px,8vw,120px)}
:is(.g1-product,.mixswitch-product) .sp-copy{font-size:18px;line-height:1.6;color:#58636a}
:is(.g1-product,.mixswitch-product) .controls-compatibility{font-size:13px;line-height:1.65;color:#59646a}
:is(.g1-product,.mixswitch-product) .controls-enquiry{background:var(--surface-stone);padding-block:clamp(70px,7.5vw,108px);text-align:left}
:is(.g1-product,.mixswitch-product) .controls-enquiry-inner{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:start}
:is(.g1-product,.mixswitch-product) .controls-enquiry h2{font-size:clamp(34px,3.1vw,46px);line-height:1.12;letter-spacing:-.04em;max-width:480px;margin-top:20px}
:is(.g1-product,.mixswitch-product) .controls-enquiry-inner>div:last-child{padding-top:4px}
:is(.g1-product,.mixswitch-product) .controls-enquiry-inner>div:last-child>p{font-size:17px;line-height:1.65;color:#58636a}
:is(.g1-product,.mixswitch-product) .controls-enquiry-actions{display:flex;flex-wrap:wrap;gap:6px 28px;margin-top:24px}

/* G1: tactile object, followed by the two ways it is used. */
.g1-product .g1-story-hero{background:var(--surface-stone);overflow:hidden}
.g1-product .g1-story-hero-inner{display:grid;grid-template-columns:.92fr 1.08fr;gap:4%;align-items:center;min-height:650px;padding-block:50px}
.g1-product .g1-story-intro{position:relative;z-index:1;padding-block:34px}
.g1-product .g1-story-intro h1{font-size:clamp(42px,4.25vw,66px);line-height:1.06;letter-spacing:-.05em;margin-top:22px}
.g1-product .g1-story-intro .sp-copy{max-width:380px;margin-top:28px}
.g1-product .g1-story-intro .sp-link{margin-top:24px}
.g1-product .g1-story-hero figure{margin:0;width:100%;max-width:590px;justify-self:end}
.g1-product .g1-story-hero figure img{width:100%;height:auto}
/* Artwork meets the edges of each feature rather than sitting in an inset frame. */
.g1-product .g1-gestures{background:#fff}
.g1-product .g1-gestures h2{font-weight:400;letter-spacing:0;line-height:1.4;text-wrap:initial;margin-bottom:26px}
.g1-product .g1-gesture-pair article{padding:0;overflow:hidden}
.g1-product .g1-feature-inner{display:grid;grid-template-columns:3fr 2fr;gap:0;align-items:stretch;min-height:clamp(400px,37vw,560px)}
.g1-product .g1-gesture-pair figure{display:flex;align-items:flex-end;margin:0;width:100%;min-width:0;overflow:hidden}
.g1-product .g1-gesture-pair figure img{display:block;width:100%;height:auto}
.g1-product .g1-feature-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:64px max(var(--gutter),calc((100vw - 1180px)/2)) 64px clamp(18px,3vw,48px)}
.g1-product .g1-feature-display .g1-feature-inner{grid-template-columns:1fr 1fr;min-height:0;height:clamp(470px,50vw,720px)}
.g1-product .g1-feature-display figure{grid-column:2;grid-row:1;height:100%;max-width:none}
.g1-product .g1-feature-display figure img{height:100%;object-fit:cover;object-position:center}
.g1-product .g1-feature-display .g1-feature-copy{grid-column:1;grid-row:1;padding:64px clamp(36px,6vw,90px) 64px max(var(--gutter),calc((100vw - 1180px)/2))}
.g1-product .g1-gesture-pair h3{font-size:clamp(32px,3.4vw,48px);letter-spacing:-.05em;color:#3d596a;line-height:1.06}
.g1-product .g1-gesture-pair p{font-size:16px;line-height:1.6;color:#59646a;max-width:390px;margin-top:14px}
/* Match the original turn image's sampled RGB 9/9/9 edge across the whole row. */
.g1-product .g1-feature-turn{background:#090909}
.g1-product .g1-feature-turn h3{color:#f5f5f7}
.g1-product .g1-feature-turn h2,.g1-product .g1-feature-turn p{color:#b6b8bb}
.g1-product .g1-connections{background:var(--surface-stone)}
.g1-product .g1-connections-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:12%;align-items:start}
.g1-product .g1-connections h2{font-size:clamp(35px,3.45vw,51px);line-height:1.1;letter-spacing:-.045em;margin-top:22px}
.g1-product .g1-connections .sp-copy{margin-top:25px;max-width:425px}
.g1-product .g1-connections .sp-link{margin-top:21px}
.g1-product .g1-function-list article{padding-block:25px;border-top:1px solid #d0d8dc}
.g1-product .g1-function-list article:first-child{padding-top:0;border-top:0}
.g1-product .g1-function-list h3{font-size:25px;line-height:1.2;letter-spacing:-.025em}
.g1-product .g1-function-list p{font-size:16px;line-height:1.65;color:#59646a;margin-top:10px}
.g1-product .g1-connections .controls-compatibility{margin-top:8px}
.g1-product .controls-enquiry{background:white}

/* MixSwitch: a dark product portrait, daylight in use, then the wall layout. */
.mixswitch-product .product-trail{width:100%;max-width:none;margin:0;background:#090a0a;color:#c3c8c8}
.mixswitch-product .sp-local-nav{width:100%;max-width:none;margin:0;background:#090a0a;color:#f5f5f7}
.mixswitch-product .sp-local-nav>.sp-wrap{border-bottom-color:#343636}
.mixswitch-product .mixswitch-story-hero{position:relative;isolation:isolate;overflow:hidden;background:#090a0a;color:#f5f5f7;min-height:clamp(590px,53vw,850px)}
.mixswitch-product .mixswitch-story-art{position:absolute;inset:0;margin:0;z-index:-1}
.mixswitch-product .mixswitch-story-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.mixswitch-product .mixswitch-story-hero-inner{display:grid;grid-template-columns:1fr 1fr;min-height:inherit;align-items:center}
.mixswitch-product .mixswitch-story-intro{grid-column:2;padding:58px 0 72px 12%;position:relative}
.mixswitch-product .mixswitch-story-intro>.sp-eyebrow{color:#c3c8c8;font-size:16px}
.mixswitch-product .mixswitch-story-intro h1{font-size:clamp(43px,4.5vw,68px);line-height:1.06;letter-spacing:-.05em;margin-top:24px;color:#f5f5f7}
.mixswitch-product .mixswitch-story-intro .sp-copy{max-width:380px;margin-top:28px;color:#c3c8c8;font-size:18px;line-height:1.6}
.mixswitch-product .mixswitch-story-intro .sp-link{margin-top:24px;color:#f5f5f7}
.mixswitch-product .mixswitch-functions{background:#fff}
.mixswitch-product .mixswitch-functions-heading{display:grid;grid-template-columns:1fr .85fr;gap:13%;align-items:center}
.mixswitch-product .mixswitch-functions h2{font-size:clamp(36px,3.8vw,56px);line-height:1.08;letter-spacing:-.045em;margin-top:22px}
.mixswitch-product .mixswitch-functions-heading>.sp-copy{max-width:380px}
.mixswitch-product .mixswitch-room-view{width:min(1440px,calc(100% - 48px));margin:54px auto 0;overflow:hidden}
.mixswitch-product .mixswitch-room-view img{display:block;width:100%;height:auto}
.mixswitch-product .mixswitch-function-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6%;margin-top:48px}
.mixswitch-product .mixswitch-function-trio article{min-width:0}
.mixswitch-product .mixswitch-function-trio h3{font-size:25px;line-height:1.2;letter-spacing:-.025em}
.mixswitch-product .mixswitch-function-trio p{font-size:16px;line-height:1.6;margin-top:12px;color:#59646a;max-width:300px}
.mixswitch-product .mixswitch-functions-foot{display:flex;justify-content:space-between;align-items:center;gap:36px;margin-top:32px}
.mixswitch-product .mixswitch-functions-foot .controls-compatibility{max-width:540px}
.mixswitch-product .mixswitch-functions-foot .sp-link{flex-shrink:0}
.mixswitch-product .mixswitch-material{background:var(--surface-stone);overflow:hidden;padding-bottom:0}
.mixswitch-product .mixswitch-material-inner{display:grid;grid-template-columns:1fr .85fr;gap:13%;align-items:center}
.mixswitch-product .mixswitch-material h2{font-size:clamp(36px,3.8vw,56px);line-height:1.08;letter-spacing:-.045em;margin-top:22px}
.mixswitch-product .mixswitch-material .sp-copy{max-width:400px}
.mixswitch-product .mixswitch-material .controls-compatibility{margin-top:18px;max-width:380px}
.mixswitch-product .mixswitch-material .sp-link{margin-top:20px}
.mixswitch-product .mixswitch-variants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,4vw,60px);max-width:860px;margin:40px auto 20px}
.mixswitch-product .mixswitch-variants figure{min-width:0;margin:0;text-align:center}
.mixswitch-product .mixswitch-variant-view{width:100%;max-width:220px;aspect-ratio:1;margin:0 auto;overflow:hidden}
.mixswitch-product .mixswitch-variant-view img{display:block;width:100%;height:100%;object-fit:cover}
.mixswitch-product .mixswitch-variants figcaption{font-size:15px;line-height:1.4;color:#454f55;margin-top:12px}
.mixswitch-product .mixswitch-material>figure{margin:30px auto 0;width:min(1600px,100%)}
.mixswitch-product .mixswitch-material>figure img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.mixswitch-product .controls-enquiry{background:#fff}

@media(max-width:1000px){
  .g1-product .g1-story-hero-inner{min-height:560px;grid-template-columns:1fr 1fr;gap:0}
  .g1-product .g1-story-intro h1{font-size:clamp(38px,4.7vw,52px)}
  .g1-product .g1-story-intro .sp-copy{font-size:17px}
  .g1-product .g1-connections-inner{gap:7%}
}
@media(max-width:760px){
  :is(.g1-story-intro,.mixswitch-story-intro) > .sp-eyebrow,:is(.g1-product,.mixswitch-product) .product-arrival-story{display:none}
  :is(.g1-product,.mixswitch-product) .product-arrival-name{display:block}
  :is(.g1-product,.mixswitch-product) .controls-nav{min-height:58px;gap:14px}
  :is(.g1-product,.mixswitch-product) .controls-nav>span{font-size:15px}
  :is(.g1-product,.mixswitch-product) .controls-nav nav{gap:18px;font-size:12px}
  :is(.g1-product,.mixswitch-product) .sp-section{padding-block:64px}
  :is(.g1-product,.mixswitch-product) .sp-copy{font-size:17px}
  :is(.g1-product,.mixswitch-product) .controls-enquiry-inner{grid-template-columns:1fr;gap:27px}
  :is(.g1-product,.mixswitch-product) .controls-enquiry{padding-block:64px}
  :is(.g1-product,.mixswitch-product) .controls-enquiry h2{font-size:35px;margin-top:18px;max-width:500px}
  :is(.g1-product,.mixswitch-product) .controls-enquiry-actions{display:flex;align-items:flex-start;flex-direction:column;gap:6px}
  .g1-product .g1-story-hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding-block:40px 38px;min-height:0}
  .g1-product .g1-story-intro{padding:0}
  .g1-product .g1-story-intro h1{font-size:clamp(37px,8.5vw,54px);line-height:1.08;margin-top:20px}
  .g1-product .g1-story-intro .sp-copy{max-width:470px;margin-top:20px}
  .g1-product .g1-story-intro .sp-link{margin-top:14px}
  .g1-product .g1-story-hero figure{width:min(100%,440px);align-self:center;justify-self:auto}
  .g1-product .g1-gestures h2{margin-bottom:20px}
  .g1-product .g1-feature-inner,.g1-product .g1-feature-display .g1-feature-inner{display:flex;flex-direction:column;gap:0;height:auto;min-height:0}
  .g1-product .g1-feature-copy,.g1-product .g1-feature-display .g1-feature-copy{order:0;padding:44px var(--gutter) 34px}
  .g1-product .g1-gesture-pair figure{order:1}
  .g1-product .g1-feature-turn figure img{width:135%;max-width:none}
  .g1-product .g1-feature-display figure{height:auto;aspect-ratio:1;max-width:none}
  .g1-product .g1-feature-display figure img{height:100%}
  .g1-product .g1-gesture-pair h3{font-size:29px;overflow-wrap:anywhere}
  .g1-product .g1-gesture-pair p{font-size:15px;line-height:1.55;margin-top:12px}
  .g1-product .g1-connections-inner{grid-template-columns:1fr;gap:40px}
  .g1-product .g1-connections h2{font-size:36px}
  .g1-product .g1-function-list h3{font-size:24px}
}
@media(max-width:380px){
  :is(.g1-product,.mixswitch-product) .controls-nav nav{gap:12px}
  :is(.g1-product,.mixswitch-product) .controls-nav nav a{gap:5px}
  .g1-product .g1-gesture-pair p{max-width:290px}
  .g1-product .g1-connections h2,:is(.g1-product,.mixswitch-product) .controls-enquiry h2{font-size:32px}
}

@media(max-width:760px) {
  :is(.g1-product,.mixswitch-product) .sp-section { padding-block:44px; }
  :is(.g1-product,.mixswitch-product) .sp-copy { font-size:16px; }
  .g1-product .g1-story-hero-inner { padding-block:28px 30px; }
  .g1-product .g1-story-intro h1 { font-size:clamp(32px,8.5vw,38px); margin-top:0; }
  .g1-product .g1-story-intro .sp-copy { margin-top:14px; }
  .g1-product .g1-story-hero figure { max-width:290px; }
  .g1-product .g1-connections h2 { font-size:30px; }
  .g1-product .g1-connections-inner { gap:28px; }
  :is(.g1-product,.mixswitch-product) .controls-enquiry { padding-block:44px; }
  :is(.g1-product,.mixswitch-product) .controls-enquiry h2 { font-size:30px; }
}

@media(max-width:1000px){
  .mixswitch-product .mixswitch-story-intro{padding-left:9%}
  .mixswitch-product .mixswitch-story-intro h1{font-size:clamp(39px,4.7vw,49px)}
  .mixswitch-product .mixswitch-story-intro .sp-copy{font-size:17px}
  .mixswitch-product .mixswitch-functions-heading,.mixswitch-product .mixswitch-material-inner{gap:8%}
}
@media(max-width:760px){
  .mixswitch-product .mixswitch-story-hero{display:flex;flex-direction:column;min-height:0;background:#090a0a}
  .mixswitch-product .mixswitch-story-hero-inner{display:block;order:0;min-height:0}
  .mixswitch-product .mixswitch-story-intro{text-align:center;padding:34px 0 0}
  .mixswitch-product .mixswitch-story-intro h1{font-size:clamp(32px,8.5vw,38px);line-height:1.1;margin-top:0}
  .mixswitch-product .mixswitch-story-intro .sp-copy{font-size:16px;line-height:1.55;margin:14px auto 0;max-width:370px}
  .mixswitch-product .mixswitch-story-intro .sp-link{margin-top:14px}
  .mixswitch-product .mixswitch-story-art{position:relative;inset:auto;z-index:0;order:1;width:100%;height:max(320px,86vw);margin:10px 0 0;overflow:hidden}
  .mixswitch-product .mixswitch-story-art::before{content:"";position:absolute;inset:0 0 auto;height:20%;background:linear-gradient(#090a0a,transparent);pointer-events:none}
  .mixswitch-product .mixswitch-story-art img{width:170%;max-width:none;object-fit:cover;object-position:left center}
  .mixswitch-product .mixswitch-functions-heading,.mixswitch-product .mixswitch-material-inner{display:block}
  .mixswitch-product .mixswitch-functions h2,.mixswitch-product .mixswitch-material h2{font-size:32px;margin-top:16px}
  .mixswitch-product .mixswitch-functions-heading>.sp-copy,.mixswitch-product .mixswitch-material-copy{margin-top:20px;max-width:500px}
  .mixswitch-product .mixswitch-functions-heading>.sp-copy,.mixswitch-product .mixswitch-material .sp-copy{font-size:16px;line-height:1.6}
  .mixswitch-product .mixswitch-room-view{width:100%;margin-top:30px;aspect-ratio:5/4}
  .mixswitch-product .mixswitch-room-view img{height:100%;object-fit:cover;object-position:17% center}
  .mixswitch-product .mixswitch-function-trio{grid-template-columns:1fr;gap:25px;margin-top:28px}
  .mixswitch-product .mixswitch-function-trio h3{font-size:23px}
  .mixswitch-product .mixswitch-function-trio p{max-width:500px;font-size:16px;margin-top:7px}
  .mixswitch-product .mixswitch-functions-foot{display:block;margin-top:24px}
  .mixswitch-product .mixswitch-functions-foot .sp-link{margin-top:12px}
  .mixswitch-product .mixswitch-material{padding-bottom:0}
  .mixswitch-product .mixswitch-material .controls-compatibility{max-width:500px;margin-top:14px}
  .mixswitch-product .mixswitch-material .sp-link{margin-top:12px}
  .mixswitch-product .mixswitch-variants{margin-top:28px;margin-bottom:20px;gap:10px}
  .mixswitch-product .mixswitch-variants figcaption{font-size:13px;margin-top:7px}
  .mixswitch-product .mixswitch-material>figure{width:150%;max-width:none;margin:12px -25% 0}
}

/* Dark product header stays in document flow; retain the shared sticky mobile header. */
@media(min-width:801px){
  .mixswitch-product>.global-header--dark{position:relative;inset:auto}
}

/* Mobile readability: keep the shared heading scale unchanged. */
@media(max-width:760px){
 :is(.g1-product,.mixswitch-product) .sp-copy,.g1-product .g1-story-intro .sp-copy,.g1-product .g1-gesture-pair p,.g1-product .g1-function-list p,.mixswitch-product .mixswitch-story-intro .sp-copy,.mixswitch-product .mixswitch-functions-heading>.sp-copy,.mixswitch-product .mixswitch-material .sp-copy,.mixswitch-product .mixswitch-function-trio p{font-size:18px;line-height:1.6}
 :is(.g1-product,.mixswitch-product) .controls-compatibility{font-size:16px;line-height:1.6}
}
