/* The shared contact form in the furniture catalogue's light palette. */
.catalogue-contact{--ink:#1d1d1f;--muted:#737378;--paper:#fff;background:#fff;color:var(--ink);border-top:1px solid #e7e7e9;text-align:center}
:where(body:not(.office-furniture-page)) .catalogue-contact h2{font-size:clamp(36px,4.5vw,58px);line-height:1.1;letter-spacing:-1.8px;font-weight:600;margin:0 0 44px}
.catalogue-contact .contact-field label,.catalogue-contact .contact-privacy a{color:var(--ink)}
.catalogue-contact .contact-field input,.catalogue-contact .contact-field textarea{background:#f5f5f7;color:var(--ink);border-color:#d2d2d7}
.catalogue-contact .contact-field input:focus,.catalogue-contact .contact-field textarea:focus{border-color:#0071e3;box-shadow:0 0 0 3px #0071e31a}
.catalogue-contact .contact-field input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 100px #f5f5f7 inset;caret-color:var(--ink)}
@media(max-width:760px){:where(body:not(.office-furniture-page)) .catalogue-contact h2{font-size:36px;letter-spacing:-1.3px;margin-bottom:34px}}

/* Continue the form's white background to the page bottom. */
body.catalogue-contact-page{background:#fff}
.catalogue-contact-page>main{background:#f5f5f7}
/* The homepage uses the same shared footer capsule with a white surface. */
body.catalogue-contact-page>footer{background:#fff}

/* White introduction across the viewport, ending at the catalogue heading. */
.catalogue-contact-page main>.tables-hero{
 background:#fff;box-shadow:0 0 0 100vmax #fff;
 clip-path:inset(0 -100vmax);
}

/* Give the introduction and catalogue a calmer transition. */
.catalogue-contact-page main>.tables-hero{padding-bottom:24px}
.catalogue-contact-page main>.tables-library{padding-top:16px}
@media(max-width:760px){
 .catalogue-contact-page main>.tables-hero{padding-bottom:20px}
 .catalogue-contact-page main>.tables-library{padding-top:12px}
}

/* Longer fades with gentle easing at both ends. */
.catalogue-intro-transition{
 height:104px;background:linear-gradient(180deg,#fff 0%,#fff 8%,#fefefe 20%,#fcfcfd 35%,#fafafb 50%,#f8f8fa 65%,#f6f6f8 80%,#f5f5f7 92%,#f5f5f7 100%);
 pointer-events:none;
}
@media(max-width:760px){.catalogue-intro-transition{height:64px}}

/* Mirror the upper fade before the white contact section. */
.catalogue-outro-transition{
 height:176px;background:linear-gradient(180deg,#f5f5f7 0%,#f5f5f7 8%,#f6f6f8 20%,#f8f8fa 35%,#fafafb 50%,#fcfcfd 65%,#fefefe 80%,#fff 92%,#fff 100%);
 pointer-events:none;
}
.catalogue-contact-page main>.tables-library{padding-bottom:42px}
.catalogue-contact-page .catalogue-contact{padding-top:52px;border-top:0}
@media(max-width:760px){
 .catalogue-outro-transition{height:104px}
 .catalogue-contact-page main>.tables-library{padding-bottom:30px}
 .catalogue-contact-page .catalogue-contact{padding-top:38px}
}

/* Residential coming-soon page with the same light contact form. */
body.residential-furniture-page.residential-contact-page{background:#fff}
.residential-contact-page>.residential-coming-soon{display:block;background:#fff}
.residential-contact-page .residential-coming-soon>.tables-hero{
 min-height:52svh;display:flex;flex-direction:column;align-items:center;justify-content:center;
 padding-block:90px;box-sizing:border-box;
}
body.residential-contact-page>footer{background:#fff}
@media(max-width:760px){.residential-contact-page .residential-coming-soon>.tables-hero{min-height:46svh;padding-block:64px}}

/* Let the longer office heading use the available width above the shared form. */
@media (min-width: 761px) {
  .office-furniture-page .catalogue-contact .architecture-contact-inner {
    max-width: var(--site-content-max, 1136px);
  }
  .office-furniture-page .catalogue-contact .architecture-contact-form {
    max-width: 760px;
    margin-inline: auto;
  }
}
