.reveal,
.reveal--left,
.reveal--right,
.reveal--scale {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { opacity: 0; transform: scale(0.95); }

.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.card-spotlight {
  --spot-x: 50%;
  --spot-y: 50%;
}

.card-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--spot-x) var(--spot-y), rgba(46,107,138,0.09) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.card-spotlight:hover::before { opacity: 1; }

.glow-card {
  position: relative;
  --glow-start: 0;
  --glow-spread: 40;
  --glow-active: 0;
  --glow-border-width: 3px;
  --glow-gradient:
    radial-gradient(circle, #F6D307 10%, #F6D30700 20%),
    radial-gradient(circle at 40% 40%, #E5C306 5%, #E5C30600 15%),
    radial-gradient(circle at 60% 60%, #C8A90A 10%, #C8A90A00 20%),
    radial-gradient(circle at 40% 60%, #2E6B8A 10%, #2E6B8A00 20%),
    repeating-conic-gradient(from 236.84deg at 50% 50%, #F6D307 0%, #E5C306 5%, #C8A90A 10%, #2E6B8A 15%, #F6D307 20%);
}

.glow-card__border,
.glow-card__glow,
.glow-card__glow .glow-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glow-card__border {
  border: 1px solid rgba(255,255,255,0.08);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glow-card__glow {
  z-index: 0;
}

.glow-card__glow .glow-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--glow-border-width) solid transparent;
  background: var(--glow-gradient);
  background-attachment: fixed;
  opacity: var(--glow-active);
  transition: opacity 0.3s ease;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--glow-start) - var(--glow-spread)) * 1deg), #00000000 0deg, #fff, #00000000 calc(var(--glow-spread) * 2deg));
  mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--glow-start) - var(--glow-spread)) * 1deg), #00000000 0deg, #fff, #00000000 calc(var(--glow-spread) * 2deg));
}

.glow-card > *:not(.glow-card__border):not(.glow-card__glow) {
  position: relative;
  z-index: 1;
}

.glow-card.is-glowing {
  box-shadow: 0 0 24px -6px rgba(246,211,7,0.16), 0 0 24px -6px rgba(46,107,138,0.14);
}

.hero__eyebrow,
.hero__headline,
.hero__lead {
  opacity: 0;
  transform: translateY(28px);
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__eyebrow { animation-delay: 0.15s; }
.hero__headline { animation-delay: 0.35s; }
.hero__lead { animation-delay: 0.6s; }

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main { padding: 3rem 0 5rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(246,211,7,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(246,211,7,0.1);
}

.card__avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E6B8A 0%, #F6D307 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(46, 107, 138, 0.3),
              0 0 0 4px rgba(246, 211, 7, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
}

.card:hover .avatar {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(46, 107, 138, 0.4),
              0 0 0 4px rgba(246, 211, 7, 0.2);
}

.card__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.role {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  text-align: center;
}

.card__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

.card__description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  flex: 1;
}

.card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.contact-item:hover {
  transform: translateX(3px);
}

.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-all;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-private {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-size: 0.85rem;
}

@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 1.75rem;
  }

  .avatar {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .card__name {
    font-size: 1.35rem;
  }
}

@media (max-width: 640px) {
  .card {
    padding: 1.5rem;
  }

  .card__name {
    font-size: 1.25rem;
  }

  .avatar {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  .card__description {
    font-size: 0.9rem;
  }

  .contact-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .avatar {
    width: 60px;
    height: 60px;
    font-size: 1.35rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card__name {
    font-size: 1.25rem;
  }

  .card__contact {
    padding-top: 1rem;
  }

  .contact-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 375px) {
  .card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .avatar {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .card__name {
    font-size: 1.1rem;
  }

  .role {
    font-size: 0.72rem;
  }

  .card__description {
    font-size: 0.85rem;
  }

  .contact-item {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .card__contact {
    padding-top: 0.75rem;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__headline,
  .hero__lead,
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
