/* Shared desktop footer: scoped typography prevents page-specific overrides. */
.site-footer.aliving-footer {
  --footer-columns: 240px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  --footer-gap: clamp(32px, 4vw, 64px);
  margin: 0;
  padding: 50px 0 0;
  border: 0;
  background: #102e41;
  color: #eaf2ed;
  font: 400 14px/1.6 Manrope, Arial, sans-serif;
  letter-spacing: normal;
  text-align: left;
  text-shadow: none;
  isolation: isolate;
}
.site-footer.aliving-footer > .container {
  width: min(1280px, calc(100% - 112px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}
.site-footer.aliving-footer .footer-top {
  display: grid;
  grid-template-columns: var(--footer-columns);
  gap: var(--footer-gap);
  align-items: start;
  padding: 0 0 30px;
}
.site-footer.aliving-footer .footer-brand { min-width: 0; grid-column: auto; }
.site-footer.aliving-footer .footer-brand > a { display: block; }
.site-footer.aliving-footer .footer-brand .footer-aliving-logo {
  display: block;
  width: min(172.51px, 100%);
  transform: translateX(-3.625%);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  margin: 0;
  /* Show the supplied complete mark in white on the existing dark footer. */
  filter: grayscale(1) invert(1) brightness(2);
  mix-blend-mode: screen;
}
.site-footer.aliving-footer .footer-col > h3 {
  margin: 0 0 18px;
  padding: 0;
  color: #d6c4a5;
  font: 600 11px/1.6 Manrope, Arial, sans-serif;
  letter-spacing: .12em;
  word-spacing: normal;
  text-transform: uppercase;
  text-wrap: initial;
  text-shadow: none;
}
.site-footer.aliving-footer .footer-col > a {
  display: block;
  min-height: 0;
  margin: 11px 0 0;
  padding: 0;
  color: #eaf2ed;
  font: 400 14px/1.5 Manrope, Arial, sans-serif;
  letter-spacing: normal;
  text-decoration: none;
}
.site-footer.aliving-footer .footer-col > p {
  margin: 14px 0 0;
  color: #cfdee6;
  font: 400 13px/1.7 Manrope, Arial, sans-serif;
  letter-spacing: normal;
}
.site-footer.aliving-footer .footer-allegiance {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: var(--footer-gap);
  padding: 30px 0 34px;
  row-gap: 20px;
  border-top: 1px solid #ffffff26;
}
.site-footer.aliving-footer .footer-allegiance-brand {
  display: block;
  min-width: 0;
  width: min(195.56px, 100%);
  transform: translateX(-9.2907%);
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
}
.site-footer.aliving-footer .footer-allegiance-brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: none;
  margin: 0;
}
.site-footer.aliving-footer .footer-allegiance > p {
  max-width: 850px;
  margin: 0;
  color: #cfdee6;
  font: 400 13px/1.8 Manrope, Arial, sans-serif;
  letter-spacing: normal;
}
.site-footer.aliving-footer .footer-bottom {
  display: grid;
  grid-template-columns: var(--footer-columns);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: var(--footer-gap);
  padding: 0 0 24px;
  border: 0;
  color: #a7c2cd;
  text-align: left;
  font: 400 11px/1.7 Manrope, Arial, sans-serif;
}
.site-footer.aliving-footer .footer-bottom > p {
  grid-column: 2 / 4;
  grid-row: 1;
  margin: 0;
  white-space: nowrap;
  color: inherit;
  font: inherit;
}
.site-footer.aliving-footer .footer-bottom > .footer-legal {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.site-footer.aliving-footer .footer-legal a {
  display: inline;
  min-height: 0;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-decoration: none;
}
.site-footer.aliving-footer .footer-social {
  transform: translateX(-5.25px);
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  order: 0;
  grid-column: 1;
  grid-row: 1;
}
.site-footer.aliving-footer .footer-social a {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #eaf2ed;
  line-height: 1;
  text-decoration: none;
}
.site-footer.aliving-footer .footer-social svg { display: block; width: 18px; height: 18px; }
.site-footer.aliving-footer .footer-col > a:hover,
.site-footer.aliving-footer .footer-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer.aliving-footer .footer-social a:hover { color: #d6c4a5; background: transparent; }
.site-footer.aliving-footer a:focus-visible { outline: 2px solid #eaf2ed; outline-offset: 5px; }
.site-footer.aliving-footer .footer-offices {
  grid-column: 2;
  min-width: 0;
  width: min(546px, 70%);
  /* Align the PNG lettering, excluding its transparent left gutter. */
  transform: translateX(-2.0699%);
  margin: 0;
}
.site-footer.aliving-footer .footer-offices img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0;
  filter: none;
  opacity: .76;
}
@media (max-width: 1200px) {
  .site-footer.aliving-footer { --footer-columns: 190px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); --footer-gap: 28px; }
  .site-footer.aliving-footer .footer-offices { width: min(546px, calc((100% - 64px) * .7)); }
  .site-footer.aliving-footer > .container { width: calc(100% - 80px); }

  .site-footer.aliving-footer .footer-allegiance { grid-template-columns: 190px 1fr; column-gap: 28px; }

  .site-footer.aliving-footer .footer-bottom > .footer-legal { gap: 8px 12px; flex-wrap: wrap; }
}
@media (max-width: 1000px) {
  .site-footer.aliving-footer > .container { width: calc(100% - 64px); }
  .site-footer.aliving-footer .footer-top { grid-template-columns: 1fr 1fr 1.35fr; gap: 28px; }
  .site-footer.aliving-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer.aliving-footer .footer-bottom { display: flex; flex-direction: row; gap: 16px; }
  .site-footer.aliving-footer .footer-allegiance { grid-template-columns: 180px 1fr; gap: 18px 32px; }
}
@media (max-width: 760px) {
  .site-footer.aliving-footer { padding-top: 36px; }
  .site-footer.aliving-footer > .container { width: calc(100% - 40px); }
  .site-footer.aliving-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .site-footer.aliving-footer .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer.aliving-footer .footer-bottom { flex-wrap: wrap; gap: 16px; }
  .site-footer.aliving-footer .footer-bottom > p { white-space: normal; }
  .site-footer.aliving-footer .footer-bottom > .footer-legal { flex-wrap: wrap; flex-basis: 100%; }
  .site-footer.aliving-footer .footer-allegiance { grid-template-columns: 1fr; gap: 18px; }
  .site-footer.aliving-footer .footer-allegiance-brand { grid-row: auto; }
  .site-footer.aliving-footer .footer-offices { grid-column: 1; }
}
