/* ============ TECHNOLOGY — "The AI stack I work with daily" marquee ============ */

#technology {
  background: var(--white);
  border-top: 1px solid #ececec;
  padding-block: clamp(34.56px, 3.02vw, 54.72px);
}

#technology .tech-byline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 0.61vw, 13px);
  color: var(--ink);
  margin-bottom: clamp(14.4px, 1.44vw, 24.48px);
}

#technology .tech-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20.16px, 2.3vw, 40.32px);
  line-height: 1.21;
  color: var(--ink);
  max-width: 619.2px;
  margin-bottom: clamp(25.92px, 2.59vw, 46.08px);
}

/* ---- logo marquee (full-bleed, edge-faded, pauses on hover) ---- */
#technology .fx-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

#technology .fx-marquee-track {
  display: flex;
  align-items: center;
  gap: 10.08px;
  width: max-content;
  padding-block: 4.32px;
  animation: tech-scroll 32s linear infinite;
}

#technology .fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }

@keyframes tech-scroll {
  to { transform: translateX(calc(-50% - 7px)); } /* half the doubled track + half gap */
}

#technology .tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 7.2px;
  padding: 8.64px 15.84px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  background: var(--white);
  transition: border-color .3s ease, color .3s ease;
}

#technology .tool-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

#technology .tool-pill img {
  width: 14.4px;
  height: 14.4px;
  object-fit: contain;
}

#technology .tool-spark { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  #technology .fx-marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
