/* The same palette is used by the static portfolio and the WordPress home page. */
:root {
  --portfolio-paper: #f2f1ef;
  --portfolio-surface: #fcfbfa;
  --portfolio-ink: #201f23;
  --portfolio-muted: #58565e;
  --portfolio-line: #d5d2d8;
  --portfolio-purple: #5746b6;
  --portfolio-purple-hover: #45349e;
  --portfolio-lavender: #eae6f6;
  --portfolio-blue: #bde4f4;
  --portfolio-charcoal: #202122;
}

.flht-handoff-visual {
  min-width: 0;
  align-self: center;
  color: var(--portfolio-purple);
  pointer-events: none;
}
.flht-handoff-visual svg { display: block; width: 100%; max-height: 220px; }
.flht-handoff-grid { fill: none; stroke: var(--portfolio-line); stroke-width: 1; opacity: .55; }
.flht-handoff-track, .flht-handoff-branch { fill: none; stroke: #b7aacd; stroke-width: 1.4; }
.flht-handoff-branch { stroke-dasharray: 5 5; }
.flht-handoff-nodes { fill: var(--portfolio-surface); stroke: #8c7ab2; stroke-width: 1.4; }
.flht-handoff-signal { fill: var(--portfolio-blue); stroke: var(--portfolio-purple); stroke-width: 1.5; }
.flht-trace-line {
  fill: none;
  stroke: var(--portfolio-purple);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--flht-trace, 1));
}

.flht-social-end {
  width: min(calc(100% - 24px), 1280px);
  margin-inline: auto;
  padding-block: clamp(36px, 8vw, 100px) 0;
  text-align: center;
  color: var(--portfolio-ink);
  font-family: var(--flht-font, inherit);
}

.flht-social-heading { font-size: clamp(1.6rem, 4vw, 3rem); }
.flht-social-grid {
  width: min(100%, 740px);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 2.7vw, 28px);
}

.flht-social-grid a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(9px, 2vw, 18px);
  min-height: clamp(86px, 19vw, 182px);
  padding: clamp(7px, 2vw, 24px);
  color: var(--portfolio-purple);
  background: var(--portfolio-surface);
  border: 1px solid var(--portfolio-line);
  font-size: clamp(.64rem, 2.5vw, 1.12rem);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.flht-social-grid a:is(:hover, :focus-visible) { color: var(--portfolio-purple-hover); background: var(--portfolio-lavender); outline: 2px solid var(--portfolio-purple); outline-offset: -3px; }
.flht-social-grid svg { width: clamp(35px, 11vw, 74px); height: auto; fill: currentColor; }
.flht-social-grid a:nth-child(2) svg { filter: drop-shadow(2px 2px 0 var(--portfolio-blue)); }
@media (prefers-reduced-motion: no-preference) {
  .flht-article-arrived {
    animation: flht-article-arrival .42s ease-out var(--flht-article-delay, 0ms) both;
  }
  @keyframes flht-article-arrival {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
