/* About page — spotlight partner + typography FX */

.page-about .page-hero__title .mk-gradient {
  animation: aboutTitleShimmer 4s linear infinite;
  background-size: 200% auto;
}

.page-about .page-section__title .mk-gradient {
  animation: aboutTitleShimmer 5s linear infinite;
  background-size: 200% auto;
}

@keyframes aboutTitleShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.page-about .page-hero__title {
  animation: aboutHeroIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-about .page-hero__lead {
  animation: aboutHeroIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.page-about .page-prose > p {
  animation: aboutFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.15s + var(--line-i, 0) * 0.08s);
}

@keyframes aboutHeroIn {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes aboutFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.page-about .page-section__title {
  position: relative;
  display: inline-block;
}

.page-about .page-section.pa-visible .page-section__title::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1db954, #00d4aa, #2563eb);
  animation: aboutUnderlineGrow 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

@keyframes aboutUnderlineGrow {
  to {
    width: min(120px, 40%);
  }
}

.page-about .page-stats__value {
  text-shadow: 0 0 24px rgba(29, 185, 84, 0.15);
}

.page-about .page-stats__item {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.page-about .page-stats__item:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 185, 84, 0.4);
  box-shadow: 0 12px 40px rgba(29, 185, 84, 0.15);
}

.page-about .about-timeline__year {
  animation: aboutYearGlow 3s ease-in-out infinite;
}

@keyframes aboutYearGlow {
  0%,
  100% {
    text-shadow: 0 0 8px rgba(0, 212, 170, 0.2);
  }
  50% {
    text-shadow: 0 0 18px rgba(0, 212, 170, 0.55);
  }
}

.page-about .page-prose__closing .mk-gradient {
  animation: aboutTitleShimmer 3s linear infinite;
}

/* —— Partner spotlight —— */
.about-partner--spotlight {
  position: relative;
  max-width: none;
  width: min(1120px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(29, 185, 84, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, rgba(12, 14, 22, 0.98) 0%, rgba(8, 10, 16, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(37, 99, 235, 0.12);
  scroll-margin-top: 96px;
  overflow: hidden;
  isolation: isolate;
}

.about-partner__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.about-partner--spotlight::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    rgba(37, 99, 235, 0.7),
    rgba(29, 185, 84, 0.6),
    rgba(124, 92, 255, 0.5),
    rgba(37, 99, 235, 0.7)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: aboutPartnerBorderSpin 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes aboutPartnerBorderSpin {
  to {
    transform: rotate(360deg);
  }
}

.about-partner__glow {
  position: absolute;
  left: 50%;
  top: 20%;
  width: min(560px, 90vw);
  height: min(560px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  transform: translate(calc(-50% + var(--partner-gx, 0px)), calc(-50% + var(--partner-gy, 0px)));
  transition: transform 0.2s ease-out;
}

.about-partner__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.about-partner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.35), rgba(29, 185, 84, 0.25));
  border: 1px solid rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
  animation: aboutBadgePulse 2.5s ease-in-out infinite;
}

.about-partner__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.9);
  animation: aboutDotBlink 1.5s ease-in-out infinite;
}

@keyframes aboutBadgePulse {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
  }
  50% {
    box-shadow: 0 0 36px rgba(37, 99, 235, 0.45);
  }
}

@keyframes aboutDotBlink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.about-partner__logo-ring {
  position: relative;
  width: fit-content;
  padding: 3px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(29, 185, 84, 0.5), rgba(124, 92, 255, 0.4));
  box-shadow: 0 0 48px rgba(37, 99, 235, 0.2);
  animation: aboutLogoFloat 5s ease-in-out infinite;
}

@keyframes aboutLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.about-partner__logo-wrap {
  width: fit-content;
  max-width: min(300px, 85vw);
  padding: 1.25rem 1.75rem;
  border-radius: 17px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.about-partner__logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.about-partner__story {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 60%),
    rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-partner__tagline {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.about-partner__tagline-text {
  display: inline-block;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 35%, #1db954 70%, #38bdf8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aboutTitleShimmer 3.5s linear infinite;
  filter: drop-shadow(0 0 18px rgba(37, 99, 235, 0.35));
}

.about-partner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: #ffffff;
}

.about-partner__title-brand {
  display: block;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 35%, #1db954 65%, #2563eb 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aboutTitleShimmer 4s linear infinite;
  filter: drop-shadow(0 0 24px rgba(37, 99, 235, 0.25));
}

.about-partner__subtitle {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  animation: aboutSubtitleFade 1.2s ease-out both;
}

@keyframes aboutSubtitleFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-partner__divider {
  width: min(280px, 65%);
  height: 2px;
  margin: 1.5rem auto 1.75rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.6) 15%,
    rgba(29, 185, 84, 0.7) 50%,
    rgba(37, 99, 235, 0.6) 85%,
    transparent
  );
  animation: aboutDividerGrow 1.2s ease-out both;
}

@keyframes aboutDividerGrow {
  from {
    opacity: 0;
    transform: scaleX(0.2);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.about-partner__copy {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
}

.about-partner__paragraph {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.78);
  animation: aboutParaReveal 0.8s ease-out both;
  animation-delay: calc(var(--para-i, 0) * 0.12s + 0.2s);
}

.about-partner__paragraph--lead {
  font-size: clamp(1.06rem, 2.2vw, 1.14rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.about-partner__paragraph:last-child {
  margin-bottom: 0;
}

@keyframes aboutParaReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.about-partner__highlights {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-partner__highlights li {
  position: relative;
  padding: 1rem 1.1rem 1rem 2.6rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-partner__highlights li:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.15);
}

.about-partner__highlights li::before {
  content: "✦";
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #2563eb;
  font-size: 0.75rem;
  animation: aboutStarSpin 4s linear infinite;
}

@keyframes aboutStarSpin {
  0%,
  90% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.about-partner__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.about-partner__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-partner__figure:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.about-partner__figure-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.about-partner__figure-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-partner__figure:hover .about-partner__figure-media img {
  transform: scale(1.08);
}

.about-partner__caption {
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

/* Legacy / shared sections */
.about-story {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-timeline {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-timeline__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  position: relative;
}

.about-timeline__item {
  position: relative;
  padding: 1.25rem 1.3rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-timeline__item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 170, 0.3);
}

.about-timeline__year {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(0, 212, 170, 0.95);
}

.about-timeline__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

.about-timeline__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.about-beliefs {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-beliefs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.about-beliefs__card {
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  background: rgba(29, 185, 84, 0.06);
  border: 1px solid rgba(29, 185, 84, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-beliefs__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29, 185, 84, 0.12);
}

.about-beliefs__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.about-beliefs__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.about-projects {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.about-projects__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.about-projects__card:hover {
  border-color: rgba(0, 212, 170, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.about-projects__meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 212, 170, 0.95);
}

.about-projects__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.about-projects__artist {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
}

.about-projects__stat {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.about-projects__link {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1db954;
}

.about-platforms {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.about-platforms__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-platforms__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.about-platforms__pill:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 185, 84, 0.4);
}

.about-team {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.about-team__card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.about-team__card:hover {
  border-color: rgba(0, 212, 170, 0.35);
  transform: translateY(-4px);
}

.about-team__photo-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}

.about-team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.about-team__card:hover .about-team__photo {
  transform: scale(1.05);
}

.about-team__info {
  padding: 1.15rem 1.25rem 1.25rem;
}

.about-team__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.about-team__role {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(0, 212, 170, 0.9);
  font-weight: 600;
}

.about-team__bio {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.about-team__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1db954;
  text-decoration: none;
}

.about-team__company {
  margin: 2rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.about-links {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.about-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.about-links__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.about-links__card:hover {
  border-color: rgba(0, 212, 170, 0.35);
  transform: translateY(-3px);
  text-decoration: none;
}

.about-links__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.about-links__text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.page-about .mk-final-cta .page-section__title .mk-gradient {
  animation: aboutTitleShimmer 3.5s linear infinite;
}

@media (max-width: 900px) {
  .about-partner--spotlight {
    width: calc(100% - 32px);
  }

  .about-partner__highlights {
    grid-template-columns: 1fr;
  }

  .about-partner__gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-about .page-hero__title,
  .page-about .page-hero__lead,
  .page-about .page-prose > p,
  .about-partner__paragraph,
  .about-partner__subtitle,
  .about-partner__logo-ring,
  .about-partner__badge,
  .about-partner--spotlight::before {
    animation: none !important;
  }
}
