/* HIGHWINGS GLOBAL WIDE LAYOUT — page-specific container overrides */
@media (min-width: 901px) {
  html, body { width:100%; max-width:100%; }

  /* Shared header and footer containers on every public page */
  body header .wrap.nav,
  body header .nav.wrap,
  body footer.site-footer > .wrap,
  body footer.site-footer .wrap {
    width:calc(100% - clamp(48px, 6vw, 120px)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body footer.site-footer .footer-grid,
  body footer.site-footer .copyright {
    width:100% !important;
    max-width:none !important;
  }

  /* About page — override .about-page-refined's 1120px cap */
  body .about-page-refined .about-hero-inner,
  body .about-page-refined .about-inner,
  body .about-page-refined .about-cta-inner {
    width:calc(100% - clamp(48px, 6vw, 120px)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Buy page — override .buy-hero-inner / .buy-inner / CTA caps */
  body .buy-hero-inner,
  body .buy-inner,
  body .buy-cta-inner {
    width:calc(100% - clamp(48px, 6vw, 120px)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Sell page — override .sell-inner / CTA caps */
  body .sell-inner,
  body .sell-cta-inner {
    width:calc(100% - clamp(48px, 6vw, 120px)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Also catch common content wrappers on pages using shared templates */
  body .wrap,
  body .hero-inner,
  body .advisory-inner,
  body .advisory-cta-inner,
  body .insights-page .advisory-inner,
  body .contact-page .advisory-inner,
  body .hw-profile-inner {
    width:calc(100% - clamp(48px, 6vw, 120px)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Expand card grids into the newly available width. */
  body .cards, body .cards-4, body .locations, body .benefit-grid,
  body .articles, body .advisory-service-grid, body .advisory-steps,
  body .insight-article-grid {
    width:100%;
  }
}

/* Keep existing tablet and mobile layout/gutters unchanged. */


/* =========================================================
   HIGHWINGS SHARED DESIGN SYSTEM — PHASE 1
   Common header and footer across all public-facing pages.
   Brand palette: navy, champagne gold, white and warm ivory.
   ========================================================= */
:root {
  --hw-navy: #17324f;
  --hw-gold: #c9a45e;
  --hw-ivory: #fbfaf7;
  --hw-white: #ffffff;
}
body > header,
body header:first-of-type {
  background:var(--hw-white);
  border-bottom:1px solid rgba(23,50,79,.10);
  box-shadow:0 2px 14px rgba(23,50,79,.045);
  z-index:1000;
}
body header .wrap.nav,
body header .nav.wrap {
  box-sizing:border-box;
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(14px,1.6vw,28px);
}
body header .brand {
  display:flex;
  align-items:center;
  gap:13px;
  flex:0 0 auto;
  min-width:0;
  text-decoration:none;
}
body header .brand img {
  width:68px;
  height:56px;
  object-fit:contain;
  flex:0 0 auto;
}
body header .brand-name {
  color:var(--hw-navy);
  font-size:clamp(16px,1.25vw,21px);
  line-height:1.15;
  font-weight:850;
  white-space:nowrap;
}
body header .brand-tag {
  color:#a77c22;
  font-size:10px;
  line-height:1.4;
  letter-spacing:1.25px;
  font-weight:850;
  white-space:nowrap;
}
body header nav.links {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(12px,1.35vw,23px);
  flex:1 1 auto;
  min-width:0;
}
body header nav.links a {
  color:#263b55;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
  text-decoration:none;
  transition:color .18s ease;
}
body header nav.links a:hover,
body header nav.links a:focus-visible { color:#b88932; }
body header .nav-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  flex:0 0 auto;
}
body footer.site-footer {
  width:100%;
  box-sizing:border-box;
  background:#102b49;
  color:#f7f5ef;
  margin-top:0;
}
body footer.site-footer > .wrap,
body footer.site-footer .wrap {
  box-sizing:border-box;
  padding-top:clamp(42px,5vw,68px);
  padding-bottom:24px;
}
body footer.site-footer .footer-grid {
  display:grid;
  grid-template-columns:minmax(230px,1.5fr) minmax(130px,.7fr) minmax(140px,.8fr) minmax(270px,1.35fr);
  gap:clamp(22px,3vw,48px);
  align-items:start;
}
body footer.site-footer .footer-col h4 {
  color:#d8b66e;
  letter-spacing:1.15px;
  font-size:11px;
  font-weight:850;
}
body footer.site-footer a { transition:color .18s ease,opacity .18s ease; }
body footer.site-footer a:hover { color:#e3c47f; }
body footer.site-footer .copyright {
  box-sizing:border-box;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 24px;
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.72);
  font-size:12px;
}
@media (min-width:901px) {
  body header .wrap.nav,
  body header .nav.wrap,
  body footer.site-footer > .wrap,
  body footer.site-footer .wrap {
    width:calc(100% - clamp(48px,6vw,120px)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}
@media (max-width:1100px) and (min-width:721px) {
  body header .wrap.nav { gap:12px; }
  body header .brand img { width:58px;height:50px; }
  body header nav.links { gap:10px; }
  body header nav.links a { font-size:11px; }
  body header .nav-actions { gap:6px; }
  body footer.site-footer .footer-grid {
    grid-template-columns:1.2fr .8fr .8fr 1.2fr;
    gap:20px;
  }
}
@media (max-width:720px) {
  body header .wrap.nav,
  body header .nav.wrap {
    min-height:68px;
    gap:10px;
  }
  body header .brand img { width:52px;height:46px; }
  body header .brand-name { font-size:15px; }
  body header .brand-tag { font-size:8px;letter-spacing:.8px; }
  body footer.site-footer .footer-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 18px;
  }
  body footer.site-footer .footer-about,
  body footer.site-footer .footer-contact { grid-column:1/-1; }
  body footer.site-footer .copyright {
    align-items:flex-start;
    flex-direction:column;
  }
}
