  /* ═══════════════════════════════════════════════════════
     MACOS DOCK — spring magnification, colored icons
  ═══════════════════════════════════════════════════════ */

  .macos-dock {
    /* Reset all nav overrides from nav.css */
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 16px !important;
    left: 50% !important;
    height: auto !important;
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    will-change: auto;
    transform: translateX(-50%);
    z-index: 1000;
    width: max-content;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }

  /* Frosted glass container */
  .dock-inner {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(16, 15, 14, 0.80);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    box-shadow:
      0 8px 40px rgba(0, 0, 0, 0.40),
      0 2px 10px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  /* Each icon slot */
  .dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
  }

  /* Colored rounded square — size driven by JS spring */
  .dock-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 30%;
    background: var(--c, #1A1A1C);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    will-change: width, height;
    box-shadow:
      0 3px 10px rgba(0, 0, 0, 0.30),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .dock-icon-wrap svg {
    width: 52%;
    height: 52%;
    stroke: rgba(255, 255, 255, 0.93);
    fill: none;
    pointer-events: none;
    flex-shrink: 0;
  }

  /* Active dot */
  .dock-item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    opacity: 0;
    transition: opacity .2s;
  }
  .dock-item.dock-active::after {
    opacity: 1;
  }

  /* Tooltip */
  .dock-label {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(12, 11, 10, 0.92);
    color: rgba(245, 244, 240, 0.92);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: .025em;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s, transform .15s;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
    z-index: 10;
  }
  .dock-item:hover .dock-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* ── Responsive ── */
  @media (max-width: 768px) {
    .macos-dock { display: none; }
  }
