.aba-site-header,
.aba-site-footer {
  --aba-midnight: #071c3d;
  --aba-navy: #102b50;
  --aba-blue: #075bff;
  --aba-pearl: #f8fbff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.aba-site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  color: var(--aba-midnight);
  border-bottom: 1px solid #dce6f3;
}

.aba-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2.7vw, 46px);
  max-width: 1700px;
  margin: auto;
  padding: 23px clamp(20px, 3vw, 52px);
  min-height: 106px;
}

.aba-site-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

.aba-site-brand img { display: block; width: 100%; height: auto; }
.aba-site-brand span { font-weight: 700; letter-spacing: .22em; font-size: clamp(8px, 1vw, 13px); }
.aba-site-nav > .aba-site-brand { width: clamp(194px, 21vw, 354px); flex: none; }

.aba-nav-links,
.aba-nav-dropdown ul,
.aba-footer-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aba-nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.5vw, 26px);
  flex: 1;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
}

.aba-nav-links a,
.aba-nav-dropdown summary {
  display: flex;
  gap: .3em;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.aba-nav-links > li > a,
.aba-nav-dropdown summary { white-space: nowrap; }
.aba-nav-dropdown { position: relative; }
.aba-nav-dropdown summary { cursor: pointer; list-style: none; }
.aba-nav-dropdown summary::-webkit-details-marker { display: none; }
.aba-nav-dropdown summary span { font-size: .75em; }
.aba-nav-dropdown[open] summary span { transform: rotate(180deg); }
.aba-nav-dropdown ul {
  position: absolute;
  top: 100%;
  left: -12px;
  width: max-content;
  max-width: min(280px, 90vw);
  padding: 6px;
  background: #fff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  box-shadow: 0 10px 28px #071c3d22;
}
.aba-nav-dropdown ul a { padding: 7px 12px; font-size: 14px; }
.aba-nav-links a:hover,
.aba-nav-dropdown summary:hover,
.aba-nav-dropdown.is-current > summary,
.aba-nav-links a[aria-current="page"] { color: var(--aba-blue); }
.aba-nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .65em; }
.aba-nav-links a.aba-project-link {
  justify-content: center;
  padding: 0 clamp(12px, 1.55vw, 28px);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, var(--aba-midnight), #0049d8);
}
.aba-nav-links a.aba-project-link:hover { background: linear-gradient(100deg, var(--aba-navy), var(--aba-blue)); }
.aba-site-header :focus-visible,
.aba-site-footer :focus-visible { outline: 2px solid var(--aba-blue); outline-offset: 4px; }
.aba-site-footer :focus-visible { outline-color: #fff; }
.aba-site-nav .aba-menu-toggle { display: none; }

.aba-site-footer {
  position: relative;
  color: var(--aba-pearl);
  background: radial-gradient(ellipse at 22% 30%, #08264e, #051c3e 66%);
  text-align: left;
}
.aba-site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 175px;
  height: 175px;
  background: url("../assets/site-shell/corner-wave.webp") top left / cover no-repeat;
  mask-image: linear-gradient(to right, #000 18%, transparent), linear-gradient(to bottom, #000 20%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.aba-footer-inner { position: relative; max-width: 1700px; margin: auto; padding: 16px 6% 10px; }
.aba-footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 7vw, 120px); }
.aba-footer-identity { width: min(100%, clamp(300px, 24vw, 360px)); text-align: center; }
.aba-footer-identity .aba-site-brand { width: 100%; }
.aba-footer-identity .aba-site-brand span { font-size: clamp(12px, 1vw, 15px); font-weight: 400; }
.aba-footer-identity p {
  margin: 8px 0 0;
  padding-top: 6px;
  border-top: 2px solid var(--aba-blue);
  font-size: clamp(16px, 1.25vw, 19px);
  letter-spacing: .025em;
  color: inherit;
}
.aba-footer-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aba-footer-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.aba-footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 10px;
  color: inherit;
}
.aba-footer-socials a:hover { background: #ffffff16; }
.aba-footer-socials svg { width: 23px; height: 23px; }
.aba-footer-navigation h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font: 600 clamp(13px, 1.2vw, 19px)/1.35 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: inherit;
}
.aba-footer-navigation h2 svg { width: 23px; height: 23px; flex: none; }
.aba-footer-navigation a,
.aba-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  color: inherit;
  text-decoration: none;
  font-size: clamp(14px, 1.12vw, 18px);
}
.aba-footer-navigation a:hover,
.aba-footer-legal a:hover { text-decoration: underline; }
.aba-footer-wave {
  position: absolute;
  inset: auto 0 0;
  height: 52px;
  background: url("../assets/site-shell/signature-wave.webp") center / 100% 100% no-repeat;
  mask-image: linear-gradient(transparent, #000 17%, #000 85%, transparent);
  pointer-events: none;
}
.aba-footer-legal {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 20px;
  margin-top: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--aba-blue);
}
.aba-footer-legal p { margin: 0; font-size: clamp(13px, 1.03vw, 16px); color: inherit; }
.aba-footer-legal nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.aba-footer-concierge { display: none; }
body > #aba-concierge.aba-footer-clearance.is-open:not(.is-expanded) {
  bottom: var(--aba-footer-clearance);
}
body > #aba-concierge.aba-footer-clearance:not(.is-expanded) .aba-chat-panel {
  max-height: max(200px, calc(100dvh - var(--aba-footer-clearance) - 12px));
}

@media (max-width: 1100px) {
  .aba-site-nav { flex-wrap: wrap; gap: 14px; min-height: 72px; padding-block: 15px; }
  .aba-site-nav .aba-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .aba-menu-toggle svg { width: 25px; height: 25px; }
  .aba-nav-links { flex: 0 0 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .aba-site-nav.has-menu:not(.menu-open) > .aba-nav-links { display: none; }
  .aba-nav-links > li:nth-child(-n+4) { grid-column: 1; }
  .aba-nav-links > li:nth-child(5) { grid-column: 2; grid-row: 1; }
  .aba-nav-links > li:nth-child(6) { grid-column: 2; grid-row: 2; }
  .aba-nav-links > li:nth-child(7) { grid-column: 2; grid-row: 3; }
  .aba-nav-links > li > a { white-space: normal; }
  .aba-nav-links > .aba-nav-action { grid-column: 1 / -1; justify-self: center; padding: 8px 0 2px; }
  .aba-nav-dropdown ul { position: static; width: auto; max-width: none; box-shadow: none; }
}

/* Match the collapsed menu's first paint while its toggle is loading. */
@media (max-width: 1100px) and (scripting: enabled) {
  .aba-site-nav:not(.has-menu) { min-height: 74px; }
  .aba-site-nav:not(.has-menu) > .aba-nav-links { display: none; }
}

@media (max-width: 680px) {
  .aba-footer-inner { padding: 24px 6% 16px; }
  .aba-footer-main { grid-template-columns: 1fr; gap: 20px; }
  .aba-footer-identity { width: min(90%, 360px); margin-inline: auto; }
  .aba-footer-wave { bottom: 8px; height: 46px; background-size: auto 100%; }
  .aba-footer-legal { align-items: flex-start; flex-direction: column; margin-top: 14px; padding-top: 6px; }
}

@media (min-width: 1200px) and (min-height: 421px) {
  body.lum-home:has(.aba-site-footer.is-in-view) .hf-floating-links:not(:focus-within) {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aba-site-header *, .aba-site-footer * { transition-duration: 0s; }
}

/* Compact footer layout for visual review. */
.aba-footer-inner { padding: 10px 6% 7px; }
.aba-footer-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); }
.aba-footer-identity {
  display: grid;
  grid-template-columns: minmax(0, 250px) max-content;
  grid-template-rows: auto auto;
  align-content: center;
  align-self: stretch;
  column-gap: clamp(12px, 2.3vw, 36px);
  width: 100%;
  text-align: left;
}
.aba-footer-identity .aba-site-brand { align-items: flex-start; gap: 3px; }
.aba-footer-identity .aba-site-brand span { font-size: 11px; }
.aba-footer-identity p {
  grid-column: 1;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  font-size: 14px;
}
.aba-footer-socials {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  gap: 6px;
  margin: 0;
}
.aba-footer-socials a { width: 32px; height: 32px; border-radius: 7px; }
.aba-footer-socials svg { width: 17px; height: 17px; }
.aba-footer-navigation { gap: 12px; }
.aba-footer-navigation h2 { gap: 7px; margin-bottom: 2px; font-size: 13px; }
.aba-footer-navigation h2 svg { width: 17px; height: 17px; }
.aba-footer-navigation a, .aba-footer-legal a { min-height: 25px; font-size: 14px; }
.aba-footer-legal { margin-top: 5px; padding-top: 2px; gap: 0 14px; }
.aba-footer-legal p { font-size: 13px; }
.aba-footer-legal nav { gap: 0 14px; }
.aba-footer-wave { bottom: 0; height: 44px; }

@media (max-width: 880px) {
  .aba-footer-main { grid-template-columns: 1fr 1fr; gap: 20px; }
  .aba-footer-identity { grid-template-columns: minmax(0, 190px); row-gap: 3px; }
  .aba-footer-socials { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}

@media (max-width: 680px) {
  .aba-footer-inner { padding: 10px 6% 8px; }
  .aba-footer-main { grid-template-columns: 1fr; gap: 10px; }
  .aba-footer-identity { grid-template-columns: minmax(0, 178px) max-content; justify-content: space-between; column-gap: 10px; row-gap: 0; }
  .aba-footer-identity .aba-site-brand span { font-size: 10px; }
  .aba-footer-identity p { font-size: 13px; }
  .aba-footer-socials { grid-column: 2; grid-row: 1 / span 2; gap: 5px; }
  .aba-footer-socials a { width: 29px; height: 29px; }
  .aba-footer-socials svg { width: 15px; height: 15px; }
  .aba-footer-navigation a, .aba-footer-legal a { min-height: 26px; }
  .aba-footer-legal { margin-top: 8px; padding-top: 4px; }
  .aba-footer-wave { height: 38px; }
}


/* Frosted navy, with the wave and reflections outside the content flow. */
.aba-site-footer {
  background:
    linear-gradient(135deg, #72baff40 0%, transparent 34%),
    radial-gradient(ellipse at 82% 115%, #236fce9c, transparent 65%),
    linear-gradient(115deg, #102e56f5, #071c38f7 57%, #113968f2);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 1px #b9e2ff96, inset 0 3px 10px #a2d9ff33;
}
.aba-site-footer::before { width: min(38vw, 460px); height: 100%; opacity: .75; }
.aba-footer-wave { opacity: .86; filter: brightness(1.35); }
.aba-footer-socials a {
  background: linear-gradient(145deg, #aad7ff33, #2265ae25);
  border-color: #b1d8ffab;
  box-shadow: inset 0 1px #def3ff35;
}
.aba-footer-legal { border-color: #88c7ff80; }
.aba-footer-inner { padding-block: 9px 6px; }
.aba-footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 24px; }
.aba-footer-identity {
  grid-template-columns: minmax(0, 208px) max-content;
  column-gap: 13px;
}
.aba-footer-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
.aba-footer-navigation a, .aba-footer-legal a { min-height: 24px; }
.aba-footer-legal { margin-top: 5px; }

@media (max-width: 980px) {
  .aba-footer-main { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 18px; }
  .aba-footer-identity { grid-template-columns: minmax(0, 190px) max-content; }
  .aba-footer-socials { grid-column: 2; grid-row: 1 / span 2; }
  .aba-footer-navigation ul { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .aba-footer-inner { padding-block: 7px 5px; }
  .aba-footer-main { grid-template-columns: 1fr; gap: 6px; }
  .aba-footer-identity { grid-template-columns: minmax(0, 200px) max-content; }
  .aba-footer-identity .aba-site-brand { gap: 2px; } .aba-footer-identity .aba-site-brand img { width: min(146px, 100%); }
  .aba-footer-identity p { margin-top: 1px; }
  .aba-footer-navigation h2 { margin-bottom: 0; }
  .aba-footer-legal { margin-top: 4px; padding-top: 3px; }
  .aba-footer-wave { height: 34px; background-size: 100% 100%; }
}


/* One glass surface, with clear space behind the navigation. */
.aba-site-footer {
  font-family: "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(ellipse at 10% -42%, #77baff82, transparent 56%),
    radial-gradient(ellipse at 94% 110%, #397fba62, transparent 55%),
    linear-gradient(180deg, #274764e0, #112b47f5 40%, #0a203bf5);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: inset 0 1px #e1f3ffe0, inset 0 3px 6px #a8d6ff3a, inset 0 -1px #64a2de55;
}
.aba-site-footer::before { opacity: .27; }
.aba-footer-wave { height: 24px; opacity: .58; filter: brightness(1.24); }
.aba-footer-navigation { column-gap: clamp(16px, 2.4vw, 36px); }
.aba-footer-navigation h2 {
  font: 600 12px/17.55px "Segoe UI", system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: none;
  color: #b9d9f6;
}
.aba-footer-navigation h2 svg { display: none; }
.aba-footer-navigation a {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}
.aba-footer-identity .aba-site-brand span { letter-spacing: .07em; color: #d4e7f9; }
.aba-footer-identity p, .aba-footer-legal p { color: #d5e5f4; font-weight: 400; }
.aba-footer-socials a {
  background: linear-gradient(160deg, #c4e7ff24, #8ebee70b);
  border-color: #c7e2ff5e;
  box-shadow: inset 0 1px #e4f3ff33;
}
.aba-footer-legal { border-color: #b4d9ff49; }
.aba-footer-legal a { font-size: 13px; color: #e3effa; }

@media (max-width: 680px) {
  .aba-footer-navigation { column-gap: 18px; }
  .aba-footer-wave { height: 22px; }
}

/* Cobalt glass with reflections confined to the top and lower edge. */
.aba-site-footer {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background:
    linear-gradient(105deg, #49a4ff35 0%, transparent 42%, #256fff38 100%),
    radial-gradient(ellipse at 73% -115%, #65c5ffad, transparent 69%),
    linear-gradient(180deg, #174fc8f7, #103a94fa 32%, #0a245bfc 75%, #081b48fc);
  backdrop-filter: blur(20px) saturate(1.55);
  box-shadow: inset 0 1px #bde9ffff, inset 0 4px 12px #70c0ff56, inset 0 -1px #478dff90;
}
.aba-site-footer::before { opacity: .48; }
.aba-footer-wave { opacity: .85; filter: brightness(1.45) saturate(1.22); }
.aba-footer-navigation h2 {
  font: 700 14px/17.55px Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .015em;
  color: #fff;
}
.aba-footer-navigation a {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.aba-footer-navigation a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #83c7ff;
  text-underline-offset: 3px;
}
.aba-footer-identity .aba-site-brand span { letter-spacing: .1em; color: #e3f1ff; }
.aba-footer-identity p, .aba-footer-legal p { color: #e7f2ff; }
.aba-footer-socials a {
  background: linear-gradient(160deg, #bceaff4a, #447bff1f);
  border-color: #c8eaff89;
  box-shadow: inset 0 1px #edf9ff4d;
}
.aba-footer-legal { border-color: #a9d8ff64; }
.aba-footer-legal a { color: #eff7ff; }

@media (max-width: 680px) {
  .aba-footer-navigation a { font-size: 14px; }
}

@media (max-width: 680px) {
  .aba-footer-legal nav { gap: 0 20px; }
  .aba-footer-legal a { padding-inline: 3px; }
  .aba-footer-legal a:first-child { margin-inline-start: -3px; }
}

body > #aba-concierge.aba-footer-clearance:not(.is-open) {
  translate: var(--aba-concierge-x, 0px) var(--aba-concierge-y, 0px);
}
#aba-concierge.aba-concierge-compact:not(.is-open) .aba-chat-launcher {
  width: 48px;
  padding: 0;
  font-size: 0;
}
#aba-concierge.aba-concierge-compact:not(.is-open) .aba-chat-launcher span { font-size: 20px; }
#aba-concierge.aba-concierge-compact:not(.is-open) .aba-chat-welcome { display: none; }
#aba-concierge.aba-concierge-suspended:not(.is-open):not(:focus-within) {
  opacity: 0;
  pointer-events: none;
}
