/* Shared site footer: the only footer rendered across the website. */
footer.footer {
  display: none !important;
}

#site-footer-root {
  position: relative;
  z-index: 2;
}

.shared-site-footer {
  --footer-ink: #171716;
  --footer-muted: #70716d;
  --footer-line: rgba(23, 23, 22, 0.14);
  --footer-accent: #f5aa00;
  color: var(--footer-ink);
  background: #f4f4f0;
  font-family: inherit;
  padding: 0 24px;
}

.shared-footer-container,
.shared-footer-bottom > div {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.shared-footer-callout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(56px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--footer-line);
}

.shared-footer-callout > div > span,
.shared-footer-directory h3 {
  display: block;
  margin: 0 0 18px;
  color: var(--footer-muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.shared-footer-callout h2 {
  max-width: 820px;
  margin: 0;
  color: var(--footer-ink);
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.shared-footer-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid var(--footer-ink);
  border-radius: 14px;
  color: #fff;
  background: var(--footer-ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.shared-footer-cta:hover {
  border-color: var(--footer-accent);
  color: var(--footer-ink);
  background: var(--footer-accent);
  transform: translateY(-2px);
}

.shared-footer-directory {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(130px, 0.75fr));
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(48px, 6vw, 76px) 0;
}

.shared-footer-summary p {
  max-width: 360px;
  margin: 0 0 28px;
  color: var(--footer-ink);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.shared-footer-summary a,
.shared-footer-office a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.shared-footer-summary a:hover,
.shared-footer-office a:hover {
  color: #a66f00;
}

.shared-footer-nav,
.shared-footer-contact,
.shared-footer-office {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.shared-footer-nav h3,
.shared-footer-contact h3,
.shared-footer-office h3 {
  margin-bottom: 24px;
}

.shared-footer-nav a,
.shared-footer-contact a {
  margin-bottom: 12px;
  color: var(--footer-ink);
  font-size: 0.93rem;
  font-weight: 570;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.shared-footer-nav a:hover,
.shared-footer-contact a:hover {
  color: #a66f00;
}

.shared-footer-office p {
  margin: 0 0 22px;
  color: var(--footer-ink);
  font-size: 0.93rem;
  font-weight: 520;
  line-height: 1.7;
}

.shared-footer-bottom {
  margin-inline: -24px;
  border-top: 1px solid var(--footer-line);
  background: #ecece7;
}

.shared-footer-bottom > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.shared-footer-bottom p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

.shared-footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.shared-footer-bottom a {
  color: var(--footer-muted);
  font-size: 0.79rem;
  font-weight: 620;
  text-decoration: none;
}

.shared-footer-bottom a:hover {
  color: var(--footer-ink);
}

@media (max-width: 920px) {
  .shared-footer-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .shared-footer-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shared-footer-summary {
    grid-column: 1 / -1;
    padding-bottom: 12px;
  }
}

@media (max-width: 680px) {
  .shared-site-footer {
    padding-inline: 18px;
  }

  .shared-footer-callout {
    gap: 28px;
    padding: 52px 0 46px;
  }

  .shared-footer-callout h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .shared-footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 26px;
    padding: 48px 0;
  }

  .shared-footer-bottom {
    margin-inline: -18px;
    padding: 20px 18px;
  }

  .shared-footer-bottom > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .shared-footer-cta {
    width: 100%;
  }

  .shared-footer-directory {
    grid-template-columns: 1fr;
  }

  .shared-footer-summary {
    grid-column: auto;
  }

  .shared-footer-bottom nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shared-site-footer * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
