/**
 * Portfolio — Inspired by The Sexy Beast (bethesexybeast.com).
 * Hero tagline + subline, sprint blocks: Location | Type | Headline | Quote + attribution.
 * Cursor reduced. A11y: focus-visible, reduced-motion.
 */

/* ----- Cursor (reduced) ----- */
.cursor-blur {
  position: fixed;
  left: 0;
  top: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #2563eb;
  mix-blend-mode: multiply;
  filter: blur(28px);
  opacity: 0.12;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 50;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .cursor-blur { display: none !important; }
}

/* ----- Skip link ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #0a0a0a;
  color: #fafaf9;
  font-size: 0.875rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ----- Focus visible ----- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* ----- Reveal on scroll ----- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-on-scroll.is-visible { transform: none; }
}

/* ----- Hero ----- */
.hero-section h1 {
  letter-spacing: -0.02em;
}

/* ----- Framework cards ----- */
.framework-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.framework-card:hover {
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
@media (prefers-reduced-motion: reduce) {
  .framework-card { transition: none; }
  .framework-card:hover { box-shadow: none; }
}
