/* 6. contactbar: fixed bottom links and the progressive blur veil.
   The wrapper is one fixed layer at z 5 (above the header's 3, below the window's 6);
   inside it the veil sits under the links. */
.folio-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  z-index: 5;
  pointer-events: none;
}
.folio-footer-fx {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 1;
}
.folio-footer-fx span, .ff-tint {
  position: absolute;
  inset: 0;
}
.folio-footer-fx span {
  -webkit-backdrop-filter: blur(var(--b));
  backdrop-filter: blur(var(--b));
  -webkit-mask-image: linear-gradient(to top, #000 var(--s), transparent var(--t));
  mask-image: linear-gradient(to top, #000 var(--s), transparent var(--t));
}
.ff-tint {
  background: linear-gradient(to top, rgba(var(--veil-rgb), .9), rgba(var(--veil-rgb), .55) 45%, rgba(var(--veil-rgb), 0));
}

.folio-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 44px 0 32px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.ff-links {
  display: flex;
  gap: 17px;
  pointer-events: auto;
}
.ff-links a {
  position: relative;
  display: block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 2.16px;
  color: var(--mute);
  cursor: pointer;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.ff-links a span {
  display: block;
  transition: transform .16s var(--ease);
}
.ff-links a:hover { color: var(--link-hover); background: var(--link-pill); }
.ff-links a:hover span { transform: scale(1.05); }
/* EMAIL / TELEGRAM are quiet placeholders (no href yet): same grey row and hover as the
   reference, no visible slot text, dot or tooltip. Fill href when the owner sends them. */

@media (max-width: 620px) {
  .ff-links { gap: 4px; }
  .ff-links a { padding: 2px 6px; font-size: 10px; letter-spacing: 1.1px; line-height: 1.8; }
}

/* Performance (owner 2026-11-02: "very slow on mobile"): five live backdrop blurs re-render on every
   scroll frame. On touch screens keep the two that carry the look (3px and 12px) and stretch them. */
@media (hover: none) {
  .folio-footer-fx span:nth-child(1),
  .folio-footer-fx span:nth-child(2),
  .folio-footer-fx span:nth-child(4) { display: none; }
  .folio-footer-fx span:nth-child(3) { --s: 45%; --t: 85%; }
}
