/* Product stories: engineering, chrome, daylight and ceramic. */
.pipe-editorial { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 28px; overflow: hidden; padding: 70px max(48px, calc((100vw - 1320px) / 2)); background: #142f3e; color: #f1eadc; }
/* Reset legacy .product-copy placement so mobile cannot create an implicit column. */
.pipe-editorial .pipe-intro { grid-area: auto; min-width: 0; width: auto; margin: 0; padding: 0; }
.pipe-editorial .pipe-intro h3 { max-width: 600px; color: #fff5e5; font-size: clamp(3.5rem, 5.8vw, 6rem); line-height: 1.06; }
.pipe-editorial .pipe-intro > p { max-width: 510px; color: #c6d5d8; font-size: .94rem; line-height: 1.85; }
.pipe-editorial .product-number { background: #b1c9c2; color: #142f3e; }
.pipe-editorial .product-type { color: #b1c9c2 !important; }
.pipe-editorial-art { position: relative; isolation: isolate; margin: 0; min-width: 0; min-height: 420px; display: flex; align-items: center; justify-content: center; padding-bottom: 38px; }
.pipe-editorial-art img {
  display: block; width: 100%; max-width: 700px; height: auto;
  /* Feather only the empty perimeter, keeping the house and pipework crisp. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 89%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 89%, transparent);
  mask-composite: intersect;
}
.pipe-art-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: .7rem; letter-spacing: .3em; color: #acc6c7; }
/* A chrome fixture photographed in context, with a deep-ink reading area. */
.taps-showcase { padding-top: 0; border: 0; background: #11252c; }
.taps-showcase-head { position: relative; isolation: isolate; overflow: hidden; width: 100%; min-height: 650px; display: flex; align-items: center; margin: 0; padding: 70px max(48px, calc((100vw - 1320px) / 2)) 80px; }
.taps-editorial-image { position: absolute; inset: 0 0 0 37%; z-index: -2; mask-image: linear-gradient(90deg, transparent, #000 24%); }
.taps-editorial-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.taps-showcase-head::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #11252c 5%, #11252cfa 32%, #11252ccc 47%, #11252c35 68%, #11252c08); }
.taps-showcase-intro { width: 54%; max-width: 660px; }
.taps-showcase h3 { font-size: clamp(3.3rem, 5.1vw, 5.3rem); max-width: 560px; }
.taps-showcase-copy { max-width: 490px; }
.taps-showcase-head .product-type { color: #c9cbb8 !important; }
.taps-showcase-head .product-number { background: #b3c8c2; color: #11252c; }
.taps-showcase-head .taps-carousel-controls { position: absolute; right: max(48px, calc((100vw - 1320px) / 2)); bottom: 26px; }
.taps-showcase-head .taps-carousel-controls button { background: #11252cbf; backdrop-filter: blur(8px); }
.taps-showcase .taps-service-benefits { gap: 18px; }
.taps-collection-rail { margin-top: 0; padding-top: 28px; }
.taps-showcase-foot { padding-bottom: clamp(36px, 4vw, 56px); }
.taps-showcase .collection-cta { background: #b3c8c2; color: #11252c; }
.taps-showcase .collection-cta:hover,
.taps-showcase .collection-cta:focus-visible { background: #d0ded8; }
/* The tank and headline share one sky. */
.tank-story { background: #e7f1f7; }
.tank-story-opening { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 670px; background: #c5dff4; overflow: hidden; }
.tank-story-image { position: absolute; inset: 0; z-index: -2; min-height: 0; aspect-ratio: auto; }
.tank-story-image > img { position: absolute; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.tank-story-opening::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #d9eaf7ea 0%, #d9eaf7c4 27%, #d9eaf75c 43%, transparent 57%); }
.tank-story-intro { width: 51%; align-self: auto; padding: 64px 28px 74px max(48px, calc((100vw - 1320px) / 2)); }
.tank-story h3 { max-width: 590px; color: #132f43; font-size: clamp(3.2rem, 5.1vw, 5.35rem); line-height: 1.06; }
.tank-story-description { max-width: 340px; color: #284958; }
.tank-story-brand { margin-top: 32px; }
.tank-story-brand > span { color: #344f5d; }
.tank-story-brand img { width: clamp(145px, 14vw, 210px); }
.tank-warranty { border-color: #18394d66; }
.tank-warranty strong { font-size: 1.5rem; }
.tank-story-brand .tank-warranty span { color: #284958; }
.tank-selection { padding-block: 40px 44px; }
.tank-selection-ranges { gap: 30px 44px; }
.tank-selection-ranges > div { position: relative; padding-top: 17px; border-top: 2px solid #96b6cb; }
.tank-selection-ranges > div::before { content: ''; position: absolute; top: -2px; left: 0; width: 30px; height: 2px; background: #173d55; transition: width .3s ease; }
.tank-selection-ranges > div:hover::before { width: 100%; }
.tank-selection-ranges dt { font-size: 1.15rem; }
.tank-selection-footer { border-top-color: #96b6cb; }
/* An architectural niche for the bathroom scene, on the existing mint palette. */
.sanitary-home { overflow: hidden; padding-top: 62px; padding-bottom: 64px; }
.sanitary-home-head { max-width: none; display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; }
.sanitary-home-head > div { min-width: 0; }
.sanitary-home h3 { font-size: clamp(3.4rem, 5.5vw, 5.8rem); line-height: 1.08; }
.sanitary-home-head > div > p { max-width: 460px; }
.sanitary-editorial-image { position: relative; height: 490px; margin: 0; border-radius: 240px 240px 4px 4px; overflow: hidden; background: #537567; box-shadow: 18px 18px 0 #92b9a880; }
.sanitary-editorial-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.sanitary-brand-grid { margin-top: 48px; padding-top: 30px; gap: 56px; }
/* One-time entrances, plus tactile responses. No continuous autoplay. */
.showroom-scene.scene-in-view .pipe-editorial-art img { animation: pipe-arrive 1s ease both; }
.showroom-scene.scene-in-view .taps-editorial-image img,
.showroom-scene.scene-in-view .tank-story-image img { animation: scene-arrive 1.5s cubic-bezier(.2,.65,.2,1) both; }
.showroom-scene.scene-in-view .sanitary-editorial-image { animation: niche-arrive .9s ease both; }
@keyframes scene-arrive { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes pipe-arrive { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes niche-arrive { from { opacity: .3; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
html:lang(en) .pipe-editorial h3 { font-size: clamp(3rem, 4.6vw, 4.8rem); letter-spacing: -.04em; }
html:lang(en) .tank-story h3 { font-size: clamp(2.7rem, 4.4vw, 4.6rem); }
html:lang(en) .taps-showcase h3 { font-size: clamp(3rem, 4.5vw, 4.8rem); }
html:lang(en) .sanitary-home h3 { font-size: clamp(3rem, 4.5vw, 4.8rem); }
@media (max-width: 1000px) {
  .pipe-editorial { gap: 30px; padding-inline: 28px; }
  .pipe-editorial-art { min-height: 330px; }
  .taps-showcase-head { padding-inline: 28px; }
  .taps-showcase-intro { width: 58%; }
  .tank-story-intro { padding-left: 28px; width: 54%; }
  .tank-story-opening { min-height: 610px; }
  .tank-story h3 { font-size: 3.65rem; }
  .sanitary-home-head { gap: 32px; }
  .sanitary-editorial-image { height: 420px; box-shadow: 12px 12px 0 #92b9a880; }
}
@media (max-width: 760px) {
  .pipe-editorial { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px 20px 32px; }
  .pipe-editorial .pipe-intro { padding: 0; }
  .pipe-editorial .pipe-intro h3 { max-width: 430px; font-size: clamp(3rem, 10vw, 4rem); }
  .pipe-editorial .pipe-intro > p { font-size: .88rem; }
  .pipe-editorial-art { min-height: 0; height: auto; padding: 0 0 32px; }
  .pipe-editorial-art img { width: 100%; max-width: 650px; height: auto; object-fit: contain; }
  .pipe-art-caption { bottom: 0; left: 0; right: 0; text-align: center; font-size: .63rem; }
  .taps-showcase-head { min-height: 0; padding: 260px 20px 76px; }
  .taps-editorial-image { inset: 0 0 auto; height: 330px; mask-image: none; }
  .taps-editorial-image img { object-position: 55% 45%; }
  .taps-showcase-head::after { background: linear-gradient(0deg, #11252c 0%, #11252c 52%, #11252cf2 63%, #11252c00 89%); }
  .taps-showcase-intro { width: 100%; max-width: none; }
  .taps-showcase h3 { max-width: 480px; font-size: clamp(2.8rem, 9.3vw, 3.8rem); }
  .taps-showcase-copy { font-size: .9rem; }
  .taps-showcase-head .taps-carousel-controls { bottom: 15px; right: 20px; }
  .taps-showcase-head .taps-carousel-controls button { width: 42px; height: 42px; }
  .taps-showcase .taps-service-benefits { gap: 12px; margin-bottom: 0; }
  .tank-story-opening { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: #cce2f2; }
  .tank-story-image { position: relative; inset: auto; order: -1; height: 380px; margin: 0; }
  .tank-story-image > img { position: absolute; object-position: right 40%; }
  .tank-story-opening::after { inset: 295px 0 auto; height: 87px; background: linear-gradient(0deg, #cce2f2, #cce2f200); }
  .tank-story-intro { width: 100%; padding: 22px 20px 38px; }
  .tank-story h3 { max-width: 480px; font-size: clamp(3rem, 9.6vw, 4rem); }
  .tank-story-description { max-width: 420px; font-size: .9rem; }
  .tank-story-brand { margin-top: 24px; }
  .tank-story-brand img { width: 178px; }
  .tank-selection-ranges { gap: 24px 22px; }
  .tank-selection-ranges dt { font-size: 1rem; }
  .sanitary-home { padding-top: 42px; padding-bottom: 44px; }
  .sanitary-home-head { grid-template-columns: 1fr; gap: 30px; }
  .sanitary-home h3 { font-size: clamp(3rem, 10vw, 4rem); }
  .sanitary-editorial-image { height: 330px; width: 82%; margin: 0 auto; border-radius: 180px 180px 2px 2px; }
  .sanitary-editorial-image img { object-position: 50% 70%; }
  .sanitary-brand-grid { margin-top: 42px; gap: 24px; }
  html:lang(en) .pipe-editorial h3,
  html:lang(en) .taps-showcase h3,
  html:lang(en) .sanitary-home h3 { font-size: clamp(2.5rem, 8.6vw, 3.6rem); }
  html:lang(en) .tank-story h3 { font-size: clamp(2.65rem, 8.8vw, 3.65rem); }
}
@media (prefers-reduced-motion: reduce) {
  .showroom-scene *, .tank-selection-ranges > div::before { animation: none !important; transition: none !important; }
}

/* A warm, quiet bath story between the tile studio and everyday accessories. */
.bath-retreat { background: #eae0d2; color: #323c34; }
.bath-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 60px; padding-block: 78px 48px; }
.bath-heading .product-number { background: #58634d; color: #fff5e5; }
.bath-heading .product-type { color: #58634d !important; }
.bath-heading h3 { margin: 28px 0 0; font: 700 clamp(2.6rem, 4.8vw, 4.6rem)/1.17 var(--font-display); }
.bath-heading h3 em { display: inline-block; margin-top: 14px; font-size: .6em; font-style: normal; font-weight: 500; color: #71624e; }
.bath-heading > p { max-width: 380px; margin: 0 0 4px; font-size: 1rem; line-height: 1.9; color: #625b50; }
.bath-scenes { display: grid; grid-template-columns: 1.15fr 1fr; }
.bath-scene { min-width: 0; background: #e1d1bc; }
.bath-photo { overflow: hidden; height: clamp(320px, 36vw, 640px); }
.bath-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.bath-scene:hover .bath-photo img { transform: scale(1.035); }
.bath-scene-jets { background: #3d3a30; color: #f8eedf; }
.bath-caption { padding: 30px 8% 36px; }
.bath-eyebrow { font-size: .64rem; letter-spacing: .23em; opacity: .72; }
.bath-caption h4 { margin: 12px 0 10px; font: 600 clamp(2rem, 3vw, 3rem)/1.2 var(--font-display); }
.bath-caption p { max-width: 490px; margin: 0; font-size: .9rem; line-height: 1.8; opacity: .84; }
.bath-visit { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 30px 40px; }
.bath-visit p { max-width: 520px; margin: 0; font-size: .9rem; line-height: 1.7; }
.bath-visit a { display: inline-flex; justify-content: space-between; gap: 30px; padding: 16px 0; border-bottom: 1px solid #323c34; font-size: .9rem; font-weight: 600; }
.bath-visit a span { transition: transform .2s; }
.bath-visit a:hover span { transform: translate(3px,-3px); }
.essentials.accessories-showcase { padding: 70px 0 46px; border: 0; background: #253f3b; color: #f2ebdb; }
.essentials .accessories-heading { padding-top: 0; display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.accessories-showcase .section-kicker { color: #d9bd8c; }
.accessories-showcase h3 { margin: 15px 0 18px; }
.accessories-intro { font-size: .9rem; line-height: 1.7; margin: 0; color: #c3d2c9; }
.accessory-viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #8ba397 #253f3b; scroll-behavior: auto; padding-bottom: 18px; }
.accessory-track { display: flex; width: max-content; }
.accessory-set { display: flex; gap: 0; list-style: none; padding: 0; margin: 0; }
.accessory-item { position: relative; width: clamp(235px, 23vw, 310px); padding: 22px 18px 26px; border-block: 1px solid #bacac02e; border-right: 1px solid #bacac02e; }
.accessory-item:nth-child(3n + 2) { background: #ffffff04; }
.accessory-photo { margin: 0 0 23px; aspect-ratio: 1; overflow: hidden; background: #ebe9e2; }
.accessory-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.accessory-item:hover .accessory-photo img { transform: scale(1.035); }
.accessory-item h4 { margin: 0 0 9px; font: 600 1.25rem/1.45 var(--font-display); }
.accessory-item p { margin: 0; font-size: .73rem; line-height: 1.65; color: #b6c9be; }
.accessories-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; }
.accessories-bottom p { margin: 0; font-size: .72rem; color: #b6c9be; }
.accessories-bottom .text-link { color: #f2ebdb; font-size: .86rem; }
.accessory-viewport:focus-visible { outline: 2px solid #e4c48b; outline-offset: -3px; }
@media (max-width: 760px) {
  .bath-heading { grid-template-columns: 1fr; gap: 24px; padding-block: 48px 32px; }
  .bath-heading h3 { font-size: clamp(2.3rem, 8vw, 3.7rem); }
  .bath-heading > p { max-width: 100%; font-size: .9rem; }
  .bath-scenes { grid-template-columns: 1fr; }
  .bath-photo { height: auto; aspect-ratio: 1.5; }
  .bath-caption { padding: 25px 24px 30px; }
  .bath-visit { align-items: start; flex-direction: column; gap: 8px; }
  .essentials.accessories-showcase { padding-block: 48px 36px; }
  .essentials .accessories-heading { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 28px; }
  .accessories-bottom { align-items: start; flex-direction: column; gap: 20px; }
  .accessory-item { width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .bath-photo img, .bath-visit a span, .accessory-photo img { transition: none; }
}

.sanitary-brand-column, .taps-brand-logos a { text-decoration: none; border-radius: 2px; }
.sanitary-brand-column:focus-visible, .taps-brand-logos a:focus-visible { outline: 2px solid currentColor; outline-offset: 8px; }
.sanitary-brand-column:hover img, .taps-brand-logos a:hover { opacity: .7; }
