/* Keep the home hero legible and complete at 100% zoom on laptop screens. */
@media (min-width: 901px) and (max-width: 1600px) and (max-height: 900px) {
  .homePage .nav {
    min-height: 84px;
    padding-block: 7px;
  }
  .homePage .heroContent {
    padding-block: 12px;
  }
  .homePage .heroContent .eyebrow {
    margin-bottom: 9px;
  }
  .homePage .heroContent h1 {
    font-size: clamp(36px, 3.5vw, 52px);
    line-height: 1.04;
  }
  .homePage .heroCopy {
    margin: 12px 0 18px;
    font-size: 17px;
    line-height: 1.4;
  }
  .homePage .heroActions .primaryBtn {
    min-height: 50px;
    padding-block: 12px;
  }
  .homePage .cctControl {
    margin-top: 14px;
    padding: 11px 16px 9px;
  }
  .homePage .cctControlTop { margin-bottom: 7px; }
  .homePage .cctTicks { height: 26px; margin-top: 8px; }
  .homePage .cctDisclaimer { margin-top: 5px; }
  .homePage .railItem {
    gap: 10px;
    min-height: 96px;
    padding: 8px 1vw;
  }
  .homePage .railIcon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }
  .homePage .railIcon svg { width: 22px; height: 22px; }
  .homePage .railItem h2 {
    margin-bottom: 4px;
    font-size: clamp(14px, 1.08vw, 16px);
    line-height: 1.2;
  }
  .homePage .railItem p { font-size: 14px; line-height: 1.3; }
}

/* A laptop with a narrow effective viewport uses the existing menu. */
@media (min-width: 901px) and (max-width: 1300px) {
  .homePage .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 82px;
    padding: 10px 24px;
  }
  .homePage .navLinks,
  .homePage .whatsappWidget { display: none; }
  .homePage .mobileMenu { display: block; justify-self: end; }
  .homePage .mobileMenu summary {
    cursor: pointer;
    color: #e7c38e;
    letter-spacing: .13em;
    text-transform: uppercase;
    border: 1px solid #d89b45ad;
    place-items: center;
    gap: 3px;
    width: 50px;
    height: 50px;
    font-size: 10px;
    font-weight: 700;
    list-style: none;
    display: grid;
  }
  .homePage .mobileMenu summary::-webkit-details-marker { display: none; }
  .homePage .menuGlyph,
  .homePage .menuGlyph:after {
    content: "";
    background: currentColor;
    width: 19px;
    height: 1px;
    display: block;
  }
  .homePage .menuGlyph:after { transform: translateY(6px); }
  .homePage .mobileMenuLinks {
    background: #07090af7;
    border-top: 1px solid #ffffff1a;
    padding: 10px 18px 18px;
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 18px 35px #0000006b;
  }
  .homePage .mobileMenuLinks > a {
    border-bottom: 1px solid #ffffff1a;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 600;
  }
  .homePage .mobileMenuLinks .mobileSurveyLink {
    color: #f4f0e8;
    background: linear-gradient(135deg, #181c1c, #0a0c0d);
    border: 1px solid #d89b45b8;
    justify-content: space-between;
    margin-top: 10px;
    padding: 15px 16px;
    display: flex;
  }
}
