/* Shared footer: a compact masthead, larger navigation and one-row desktop offices. */
#homepage-footer {
  --footer-rule: rgb(237 235 235 / 0.18);
  --footer-muted: #c9d3e1;
  padding: 48px clamp(24px, 5vw, 80px) 32px;
  border-top: 2px solid var(--db-yellow, #f4bc41);
  background: var(--db-blue);
  color: var(--db-off-white, #edebeb);
}
#homepage-footer .footer-inner {
  max-width: 1360px;
  margin-inline: auto;
}
#homepage-footer a {
  color: inherit;
  text-decoration: none;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}
#homepage-footer a:hover {
  color: var(--db-yellow, #f4bc41);
}
#homepage-footer a:focus-visible {
  outline: 2px solid var(--db-yellow, #f4bc41);
  outline-offset: 5px;
  border-radius: 3px;
}
#homepage-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 32px clamp(32px, 3.5vw, 56px);
}
#homepage-footer .footer-brand {
  display: grid;
  grid-template-columns: minmax(0, 250px) max-content;
  align-items: center;
  gap: 4px 28px;
  min-width: 0;
}
#homepage-footer .footer-brand-logo {
  grid-row: 1 / 3;
  display: inline-block;
  width: 100%;
  max-width: 250px;
}
#homepage-footer .footer-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}
#homepage-footer .footer-brand p {
  align-self: end;
  margin: 0;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.5;
}
#homepage-footer .footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  gap: 20px;
  min-height: 44px;
  border-bottom: 1px solid var(--db-yellow, #f4bc41);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
#homepage-footer .footer-contact-link span {
  color: var(--db-yellow, #f4bc41);
  font-size: 22px;
}
#homepage-footer .footer-eyebrow {
  margin: 0;
  color: var(--db-yellow, #f4bc41);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}
#homepage-footer .footer-connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-width: 0;
  padding-left: clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--footer-rule);
}
#homepage-footer .footer-connect .footer-eyebrow {
  flex: 1 1 100%;
}
#homepage-footer .footer-main-phone {
  justify-self: start;
  min-height: 44px;
  color: var(--db-off-white, #edebeb);
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  white-space: nowrap;
}
#homepage-footer .footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#homepage-footer .footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--footer-rule);
  border-radius: 50%;
  background: var(--db-navy, #1c2e43);
  color: var(--db-off-white, #edebeb);
}
#homepage-footer .footer-socials a:hover {
  border-color: var(--db-yellow, #f4bc41);
  background: var(--db-yellow, #f4bc41);
  color: var(--db-blue);
}
#homepage-footer .footer-socials svg {
  width: 18px;
  height: 18px;
}
#homepage-footer .footer-explore {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-block: 14px;
  border-block: 1px solid var(--footer-rule);
}
#homepage-footer .footer-explore > .footer-eyebrow {
  font-size: 16px;
  letter-spacing: 0.12em;
}
#homepage-footer #menu-footer {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
#homepage-footer #menu-footer li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-inline: 8px;
}
#homepage-footer #menu-footer li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  background: rgb(244 188 65 / 0.4);
  transform: translateY(-50%);
}
#homepage-footer #menu-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(18px, calc(1.55vw - 2px), 20px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
#homepage-footer .footer-offices {
  padding-block: 32px;
}
#homepage-footer .footer-offices-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
#homepage-footer #footer-offices-title {
  margin: 0;
  color: var(--db-off-white, #edebeb);
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
#homepage-footer .footer-offices-heading > a {
  flex-shrink: 0;
  min-height: 44px;
  padding-block: 12px;
  color: var(--db-yellow, #f4bc41);
  font-size: 17px;
  font-weight: 600;
}
#homepage-footer .footer-offices-heading > a span {
  margin-left: 12px;
}
#homepage-footer .footer-office-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#homepage-footer .footer-office {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid var(--footer-rule);
  border-radius: 12px;
  background: var(--db-navy, #1c2e43);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 280ms ease,
    border-color 220ms ease;
}
#homepage-footer .footer-office:focus-within {
  border-color: rgb(244 188 65 / 0.65);
  background: #14283c;
}
@media (hover: hover) and (pointer: fine) {
  #homepage-footer .footer-office:hover {
    z-index: 1;
    transform: scale(1.018);
    border-color: rgb(244 188 65 / 0.65);
    background: #14283c;
  }
}
#homepage-footer .footer-office h3 {
  margin: 0;
  color: var(--db-yellow, #f4bc41);
  font-size: clamp(25px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}
#homepage-footer .footer-office address {
  flex: 1;
  min-width: 0;
  color: var(--footer-muted);
  font-size: 16px;
  font-style: normal;
  line-height: 1.65;
}
#homepage-footer .footer-office-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
#homepage-footer .footer-office p {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
#homepage-footer .footer-office p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
#homepage-footer .footer-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-top: 12px;
  border-top: 1px solid var(--footer-rule);
  color: var(--db-yellow, #f4bc41);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
#homepage-footer .footer-map-link::after {
  content: "↗";
  flex-shrink: 0;
  font-size: 20px;
}
#homepage-footer .footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--footer-rule);
}
#homepage-footer .footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.5;
}
#homepage-footer #menu-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#homepage-footer #menu-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: rgb(201 211 225 / 0.4);
  text-underline-offset: 4px;
}
#homepage-footer .footer-disclaimer {
  max-width: 110ch;
  margin-top: 12px;
  color: #b8c4d4;
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 1279px) {
  #homepage-footer {
    padding-bottom: 112px;
  }
  #homepage-footer .footer-brand {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #homepage-footer .footer-brand-logo {
    grid-row: auto;
    max-width: 240px;
  }
  #homepage-footer .footer-brand p {
    margin-top: 16px;
  }
  #homepage-footer .footer-connect {
    gap: 14px;
  }
  #homepage-footer .footer-socials {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 1100px) {
  #homepage-footer .footer-office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  #homepage-footer #menu-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #homepage-footer #menu-footer li:nth-child(3n + 1)::before {
    display: none;
  }
  #homepage-footer .footer-explore {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 700px) {
  #homepage-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #homepage-footer .footer-brand {
    grid-template-columns: minmax(0, 240px) max-content;
    gap: 4px 24px;
  }
  #homepage-footer .footer-brand-logo {
    grid-row: 1 / 3;
  }
  #homepage-footer .footer-brand p {
    margin: 0;
  }
  #homepage-footer .footer-connect {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--footer-rule);
  }
  #homepage-footer .footer-office-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  #homepage-footer {
    padding-top: 36px;
  }
  #homepage-footer .footer-brand {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #homepage-footer .footer-brand-logo {
    grid-row: auto;
  }
  #homepage-footer .footer-brand p {
    margin-top: 16px;
  }
  #homepage-footer .footer-main-phone {
    font-size: clamp(32px, 8.8vw, 44px);
  }
  #homepage-footer #menu-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #homepage-footer #menu-footer li:nth-child(3n + 1)::before {
    display: block;
  }
  #homepage-footer #menu-footer li:nth-child(2n + 1)::before {
    display: none;
  }
  #homepage-footer .footer-offices-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }
  #homepage-footer .footer-office {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #homepage-footer * {
    transition: none !important;
  }
  #homepage-footer .footer-office:hover {
    transform: none;
  }
}
body.local-reduce-motion #homepage-footer * {
  transition: none !important;
}
body.local-reduce-motion #homepage-footer .footer-office:hover {
  transform: none;
}
