/* DIGITHRONEX · the floating social buttons (12 November 2026): WhatsApp, Instagram and Facebook as round glass in the
   bottom-right corner, each logo drawn in line only. Glass without a live blur (a lit tint, a rim and a highlight),
   so a moving film behind it costs nothing. On hover a little larger, and a soft glow of the platform's colour.
   When they'd cover something they step aside (dock.js). */
.dock {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45;
  display: grid; gap: 10px;
  transition: opacity 260ms ease, transform 320ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}
.dock.is-away {
  opacity: 0; transform: translate3d(0, 12px, 0); visibility: hidden; pointer-events: none;
  transition: opacity 200ms ease, transform 240ms ease, visibility 0s linear 240ms;
}
.dock-btn {
  --size: 50px;
  position: relative; display: grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
  color: #F1F2F4; text-decoration: none;
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .05) 42%, rgba(255, 255, 255, 0) 64%),
    rgba(16, 18, 22, .56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 26px -12px rgba(0, 0, 0, .7);
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 280ms ease, color 200ms linear;
}
.dock-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.dock-btn:hover, .dock-btn:focus-visible {
  transform: scale(1.08);
  color: color-mix(in srgb, var(--brand) 45%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 60%, rgba(255, 255, 255, .2)), inset 0 1px 0 rgba(255, 255, 255, .28),
    0 0 22px -2px color-mix(in srgb, var(--brand) 60%, transparent), 0 10px 26px -12px rgba(0, 0, 0, .7);
}
.dock-btn:focus-visible { outline: 2px solid #3D96FF; outline-offset: 3px; }

/* over the studio's paper pages: light glass, dark lines */
.dock[data-room="studio"] .dock-btn {
  color: #0B0C0E;
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .6) 46%, rgba(255, 255, 255, .35) 70%),
    rgba(241, 242, 244, .55);
  box-shadow: inset 0 0 0 1px rgba(11, 12, 14, .12), inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px -14px rgba(11, 12, 14, .45);
}
.dock[data-room="studio"] .dock-btn:hover, .dock[data-room="studio"] .dock-btn:focus-visible {
  color: color-mix(in srgb, var(--brand) 80%, #0B0C0E);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, .9),
    0 0 20px -2px color-mix(in srgb, var(--brand) 45%, transparent), 0 10px 24px -14px rgba(11, 12, 14, .45);
}

@media (max-width: 600px) {
  .dock { gap: 8px; }
  .dock-btn { --size: 44px; }
  .dock-btn svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .dock, .dock.is-away, .dock-btn { transition: opacity 120ms linear; }
  .dock.is-away { transform: none; }
  .dock-btn:hover, .dock-btn:focus-visible { transform: none; }
}
@media print { .dock { display: none; } }
