.hero { background: transparent; position: relative; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -60px -8% -40px 35%;
  background: radial-gradient(ellipse at 55% 48%, rgb(233 180 76 / 4%), transparent 65%);
}
.hero-photo { translate: none; }
.hero-photo img { box-shadow: 0 10px 60px rgb(0 0 0 / 20%); }
.portfolio-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 22px; }
.services-marquee .services-marquee__group {
  justify-content: flex-start;
  min-width: 0;
  gap: 24px;
  padding-right: 24px;
}
.services-marquee[data-ready] .services-marquee__track { animation-duration: var(--loop-duration, 32s); }
.social-shortcuts svg {
  width: 23px; height: 23px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.social-shortcuts a:first-child { color: #fff; background: #128c4b; border-color: #128c4b; }
.social-shortcuts a:last-child {
  color: #fff;
  background: linear-gradient(35deg, #f9ce34, #ee2a7b 52%, #6228d7);
  border-color: rgb(255 255 255 / 18%);
}
@media (prefers-reduced-motion: no-preference) {
  .card, .timeline li, .faq-list details, .button, .tags li,
  .social-shortcuts a, .social-shortcuts svg, .contact-item, .hero-photo img, .reveal {
    transition: opacity .85s ease, translate .85s cubic-bezier(.2,.65,.3,1),
      transform .55s cubic-bezier(.2,.65,.3,1), border-color .55s ease,
      box-shadow .6s ease, background .6s ease, color .45s ease, filter .65s ease;
    transition-delay: 0ms;
  }
  .reveal.is-pending { translate: 0 10px; }
  .hero-copy > *, .page-heading > * { animation-duration: 1s; }
  .button::after { transition-duration: .85s; }
}
@keyframes intro-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (hover: hover) and (pointer: fine) {
  .card:hover, .card:focus-within { transform: translateY(-3px); }
  .card:hover .card-number { transform: none; }
  .timeline li:hover, a.contact-item:hover { transform: translateX(2px); }
  .button:hover, .tags li:hover { transform: translateY(-2px); }
  .hero-photo:hover img { transform: translateY(-3px); box-shadow: 0 14px 65px rgb(0 0 0 / 25%); }
  .social-shortcuts a:hover { transform: translateY(-2px); }
  .social-shortcuts a:hover svg { transform: none; }
  .social-shortcuts a:first-child:hover { box-shadow: 0 6px 22px rgb(18 140 75 / 30%); }
  .social-shortcuts a:last-child:hover { box-shadow: 0 6px 22px rgb(238 42 123 / 22%); }
}
@media (max-width: 767px) {
  .hero::before { inset: 15% 0 0; }
  .reveal.is-pending { translate: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .services-marquee__group > [aria-hidden='true'] { display: none; }
  .reveal.is-pending { translate: none; }
  .card:hover, .timeline li:hover, a.contact-item:hover, .button:hover,
  .tags li:hover, .hero-photo:hover img, .social-shortcuts a:hover { transform: none; }
}
