/* Global reset + base rules (extracted from the approved offline export) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Manrope, sans-serif; }
a { color: #0A2540; }
a:hover { color: #8a6f14; }
@keyframes saaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.saa-index::-webkit-scrollbar { height: 0; }
.saa-input::placeholder { color: #9aa6b2; }

/* Nav responsiveness (see build script for why this is CSS, not inline JS) */
.saa-nav-links { display: none; }
.saa-nav-burger { display: flex; }
.saa-nav-mobile-menu { display: none; }
@media (min-width: 900px) {
  .saa-nav-links { display: flex; }
  .saa-nav-burger { display: none; }
  .saa-nav-mobile-menu { display: none !important; }
}

/* Self-hosted fonts, trimmed to the weights/styles actually used on the site
   (Latin subset only — the approved export shipped 41 Google Fonts files
   covering Cyrillic/Greek/Vietnamese subsets that this site never renders). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB, U+2000-206F;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB, U+2000-206F;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/spectral-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB, U+2000-206F;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/spectral-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB, U+2000-206F;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/spectral-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB, U+2000-206F;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-400italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB, U+2000-206F;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/spectral-600italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB, U+2000-206F;
}

/* Services page category heading. Sticky only makes sense once the grid
   is wide enough for the two-column layout it was designed for; below
   that the grid collapses to one column and a still-sticky heading pins
   itself over content that should just flow underneath it normally. */
.saa-services-sticky {
  position: static;
}
@media (min-width: 900px) {
  .saa-services-sticky {
    position: sticky;
    top: 130px;
  }
}

/* Footer's 4-column layout (firm blurb / Explore / Services / Get in touch)
   had a hardcoded grid-template-columns with no responsive breakpoint at
   all, so on a phone all 4 columns tried to fit side by side and the
   "Get in touch" column (phone/email/address) was pushed off-screen to
   the right instead of wrapping underneath. Stack on mobile, 2-up on
   tablet, the original 4-up layout only once there's room for it. */
.saa-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .saa-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .saa-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}
