/* HFC floating dock navigation (nav.js injects the markup). Not used on the home page. */
.dock {
  --dock-lift: 0px;
  position: fixed; left: 50%; z-index: 40;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--dock-lift));
  transform: translate(-50%, 140%); opacity: 0;
  width: calc(100% - 32px); max-width: 440px;
  border-radius: 999px; padding: 6px;
  background: rgba(22, 35, 63, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(175, 143, 86, .55);
  box-shadow: 0 10px 30px rgba(10, 18, 36, .35), 0 2px 6px rgba(10, 18, 36, .25), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease, bottom .35s cubic-bezier(.22, 1, .36, 1);
}
.dock.is-in { transform: translate(-50%, 0); opacity: 1; }
.dock.is-away { transform: translate(-50%, calc(100% + 40px)); opacity: 0; }
.dock-list { position: relative; display: flex; margin: 0; padding: 0; list-style: none; }
.dock-list li { flex: 1; margin: 0; display: flex; }
.dock-ind {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(175, 143, 86, .30), rgba(175, 143, 86, .14));
  box-shadow: inset 0 0 0 1px rgba(175, 143, 86, .5), 0 0 18px rgba(175, 143, 86, .18);
  transform: translateX(0); opacity: 0;
  transition: transform .34s cubic-bezier(.34, 1.45, .64, 1), width .34s cubic-bezier(.34, 1.45, .64, 1), opacity .2s ease;
}
.dock-ind.is-ready { opacity: 1; }
.dock a {
  position: relative; z-index: 1; flex: 1; min-height: 56px; min-width: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 999px; color: rgba(247, 241, 222, .7); text-decoration: none;
  font-family: "Nunito", system-ui, sans-serif; font-weight: 700; font-size: 11.5px; line-height: 1; letter-spacing: .02em;
  transition: color .2s ease, transform .2s cubic-bezier(.34, 1.45, .64, 1);
}
.dock a svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s cubic-bezier(.34, 1.45, .64, 1); }
.dock a:hover, .dock a:focus-visible, .dock a.is-hot { color: #fff; }
.dock a:hover svg, .dock a:focus-visible svg { transform: translateY(-2px) scale(1.12); }
.dock a[aria-current="page"] { color: var(--gold, #AF8F56); }
.dock a[aria-current="page"]:hover, .dock a[aria-current="page"]:focus-visible { color: #D4B77E; }
.dock a.is-pressed { transform: scale(.92); }
.dock a:focus-visible { outline: 2px solid var(--gold, #AF8F56); outline-offset: -2px; background: rgba(247, 241, 222, .06); }
.dock .ripple { background: var(--gold, #AF8F56); opacity: .4; }

@media (min-width: 720px) {
  .dock { width: auto; max-width: none; }
  .dock a { flex-direction: row; gap: 9px; padding: 0 22px; min-height: 52px; font-size: 14px; letter-spacing: .03em; }
  .dock li { flex: none; }
}

/* Keep content and footer clear of the dock */
.has-dock footer { padding-bottom: calc(28px + 84px + env(safe-area-inset-bottom, 0px)); }
.has-dock.no-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

@media (prefers-reduced-motion: reduce) {
  .dock, .dock-ind, .dock a, .dock a svg { transition: none; }
  .dock a:hover svg, .dock a:focus-visible svg { transform: none; }
}
