/* Customer pages only. Preserve the approved desktop composition and image crops. */
html.has-customer-responsive {
  --customer-header-height:97px;
  scroll-padding-top:calc(var(--customer-header-height) + 16px);
}
html.has-customer-responsive.has-section-nav {
  /* Approved section targets sit flush below the two measured sticky bars. */
  scroll-padding-top:calc(var(--section-header-height) + var(--section-nav-height));
}

/* Non-tabbed pages already receive the root's sticky-header clearance.
   The approved destination/service tab targets retain their original margins. */
.customer-responsive:not(.destination-section-nav):not(.services-study) :is(#our-story,#why-arnez,#faq,#how-we-work,#mice-explained,#fit-explained,.revision-service-scope article) {
  scroll-margin-top:0;
}

/* Let text use its allocated column rather than its unbroken intrinsic width. */
.customer-responsive :is(.split-content,.request-layout,.visual-split-hero,.image-split,.services,.approach,.service-connection,.section-head,.study-section-head,.faq-dialogue) > * {
  min-width:0;
}
.customer-responsive :is(.service-card-heading,.experience-card-heading) h3 {
  overflow-wrap:break-word;
}
.customer-responsive .revision-footer-item .revision-contact-value {
  overflow-wrap:anywhere;
}
.customer-responsive .proposal-privacy-dialog-head h2 {
  min-width:0;
  overflow-wrap:break-word;
}
.customer-responsive .proposal-privacy-dialog-head button {
  flex-shrink:0;
}

@media(max-width:1000px) {
  /* Tablet and landscape menus must remain reachable inside the viewport. */
  .brand-approved.customer-responsive .site-header.approved-navigation #nav.open {
    top:100%;
    max-height:calc(100dvh - var(--customer-header-height));
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}

@media(min-width:701px) and (max-width:1000px) {
  /* Three narrow cards leave only ~40px for copy beside the Explore action. */
  .customer-responsive .dest-grid.revision-equal-destinations {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:23px;
  }
  .customer-responsive .revision-equal-destinations > .destination:last-child:nth-child(odd) {
    grid-column:1 / -1;
    width:calc((100% - 23px) / 2);
    justify-self:center;
  }
}

@media(max-width:760px) {
  html.has-customer-responsive { --customer-header-height:78px; }
  .customer-responsive .faq-question-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .customer-responsive .faq-short-topic {
    min-width:0;
    overflow-wrap:break-word;
  }
  .customer-responsive .site-footer .footer-link {
    min-height:44px;
    align-items:center;
  }
}

@media(max-width:600px) {
  .customer-responsive .contact-option h3 {
    font-size:clamp(20px,6vw,24px);
    overflow-wrap:break-word;
  }
}

@media(max-width:380px) {
  /* Keep the approved two-column question index without splitting short topics. */
  .customer-responsive .faq-question-list [role=tab] {
    grid-template-columns:18px minmax(0,1fr);
    gap:6px;
    padding:8px;
  }
  .customer-responsive .faq-list-icon .line-icon {
    width:18px;
    height:18px;
  }
}

