/* Cmajor Works v9 — footer logo treatment, talent linking, and profile polish */

.site-footer {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 38% 42% at 16% 26%, rgba(255,255,255,.07), transparent 72%),
    radial-gradient(circle at 82% 14%, rgba(73,106,255,.10), transparent 26%),
    #0d0d0f;
  color: #f3f2ee;
}

.site-footer::after {
  content: "";
  z-index: -1;
  pointer-events: none;
  position: absolute;
  width: min(54vw, 740px);
  aspect-ratio: 1;
  left: -18vw;
  top: -26vw;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255,255,255,.018),
    0 0 0 118px rgba(255,255,255,.012);
}

.footer-top {
  position: relative;
  min-height: 250px;
  align-items: center;
  gap: clamp(42px, 8vw, 130px);
}

.footer-logo {
  position: relative;
  isolation: isolate;
  width: clamp(148px, 15vw, 220px);
  padding: 0;
  background: transparent;
  transform: translateZ(0);
}

.footer-logo::before {
  content: "";
  z-index: -2;
  pointer-events: none;
  position: absolute;
  inset: 1% -24% -12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.16), rgba(255,255,255,.045) 43%, transparent 72%);
  filter: blur(18px);
  transform: translate(14px, 18px) rotate(-6deg);
}

.footer-logo::after {
  content: "";
  z-index: -1;
  pointer-events: none;
  position: absolute;
  width: 72%;
  height: 18%;
  left: 18%;
  bottom: -5%;
  border-radius: 50%;
  background: #000;
  filter: blur(18px);
  opacity: .78;
  transform: rotate(-3deg);
}

.footer-logo img {
  width: 100%;
  background: transparent;
  border: 0;
  -webkit-mask-image: radial-gradient(ellipse 72% 69% at 50% 49%, #000 0 54%, rgba(0,0,0,.94) 65%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 69% at 50% 49%, #000 0 54%, rgba(0,0,0,.94) 65%, transparent 100%);
  filter: saturate(.94) contrast(1.03) drop-shadow(0 18px 22px rgba(0,0,0,.45));
  transform: rotate(-1.4deg) scale(1.06);
  transition: transform .55s cubic-bezier(.22,1,.36,1), filter .45s;
}

.footer-logo:hover img,
.footer-logo:focus-visible img {
  transform: rotate(0) translateY(-4px) scale(1.075);
  filter: saturate(1.04) contrast(1.03) drop-shadow(0 26px 30px rgba(0,0,0,.58));
}

.footer-top > p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.9;
  text-shadow: 0 12px 32px rgba(0,0,0,.42);
}

.footer-links {
  border-color: rgba(255,255,255,.18);
}

.footer-links > div {
  border-color: rgba(255,255,255,.14);
}

.footer-links span,
.footer-bottom {
  color: rgba(255,255,255,.44);
}

.footer-links a {
  color: rgba(255,255,255,.88);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-shadow: 0 0 24px rgba(255,255,255,.34);
}

.talent-card {
  position: relative;
  display: block;
  min-width: 0;
}

.talent-card::after {
  content: "↗";
  position: absolute;
  right: 2px;
  bottom: 1px;
  color: #706f6a;
  font-size: 11px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), color .25s;
}

.talent-card:hover::after,
.talent-card:focus-visible::after {
  color: var(--brand-blue, #4867ff);
  transform: translate(2px, -2px);
}

.talent-card:focus-visible {
  outline: 2px solid var(--brand-blue, #4867ff);
  outline-offset: 6px;
}

.profile-facts > div:last-child {
  border-bottom-color: var(--ink, #121212);
}

@media (max-width: 760px) {
  .site-footer {
    padding-top: 58px;
  }

  .footer-top {
    min-height: 230px;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-logo {
    width: 142px;
  }

  .footer-top > p {
    max-width: 20em;
    font-size: 14px;
    line-height: 1.8;
  }

  .talent-card::after {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-logo img,
  .talent-card::after {
    transition: none;
  }
}
