.ab-team .ab-inner > :nth-child(2),
.ab-team .ab-inner > :nth-child(n+3):nth-child(-n+6) {
  --tc: #B8862E; --tc-text: #7A5810; --tc-soft: rgba(184, 134, 46, 0.16); --tc-ink: #1c1f26; --tc-dark: #5E430F;
}

.ab-team .ab-inner > :nth-child(7),
.ab-team .ab-inner > :nth-child(n+8):nth-child(-n+17) {
  --tc: #A81F2D; --tc-text: #A81F2D; --tc-soft: rgba(168, 31, 45, 0.09); --tc-ink: #fff; --tc-dark: #4F0B14;
}

.ab-team .ab-inner > :nth-child(18),
.ab-team .ab-inner > :nth-child(n+19):nth-child(-n+28) {
  --tc: #16233F; --tc-text: #2C4270; --tc-soft: rgba(44, 66, 112, 0.1); --tc-ink: #fff; --tc-dark: #0B1630;
}

.about-page .ab-team {
  padding: 64px 0 24px;
}

.about-page .ab-team .ab-team-head {
  max-width: 600px;
}

.about-page .ab-team .ab-team-head::before {
  content: "THE NEWSROOM";
  display: block;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.about-page .ab-team .ab-team-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
}

.about-page .ab-team .team-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px 20px;
  margin: 64px 0 6px;
  padding: 20px 0 0;
  background: none;
  border-top: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 0;
}

.about-page .ab-team .team-banner::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 72px;
  height: 4px;
  background: var(--tc);
}

.about-page .ab-team .team-banner-title {
  grid-column: 1;
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  color: var(--navy);
}

.about-page .ab-team .team-banner-note {
  grid-column: 1;
  margin: 0;
  max-width: 560px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--ink-soft);
  opacity: 1;
}

.about-page .ab-team .team-banner-count {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  padding: 6px 12px;
  background: var(--tc);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tc-ink);
}

.about-page .ab-team .team-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 18px;
}

.about-page .ab-team .team-section-header .rule {
  display: none;
}

.about-page .ab-team .team-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}

.about-page .ab-team .team-section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tc);
}

.about-page .ab-team .team-section-header::after {
  content: "";
  order: 1;
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.about-page .ab-team .team-section-count {
  order: 2;
  padding: 0;
  background: none;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}

.about-page .ab-team .team-grid {
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 22px 20px;
}

.about-page .ab-team .team-grid.solo {
  grid-template-columns: minmax(172px, 200px);
}

.about-page .ab-team .tm {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: 0 14px 16px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  background: var(--navy);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 10px 20px -16px rgba(22, 35, 63, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

.about-page .ab-team .tm:hover,
.about-page .ab-team .tm:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 22px 30px -18px rgba(22, 35, 63, 0.7);
}

.about-page .ab-team .tm:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.about-page .ab-team .tm-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.about-page .ab-team .tm-photo img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-page .ab-team .tm:hover .tm-photo img,
.about-page .ab-team .tm:focus-visible .tm-photo img {
  transform: scale(1.07);
}

.about-page .ab-team .tm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, var(--navy) 6%, transparent 74%);
  background: linear-gradient(to top, color-mix(in srgb, var(--c1) 34%, #0a0e18) 6%, transparent 74%);
  opacity: 0;
  transform: translateY(26%);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-page .ab-team .tm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transition: height 0.3s ease;
}

.about-page .ab-team .tm:hover::before,
.about-page .ab-team .tm:focus-visible::before {
  opacity: 0.96;
  transform: none;
}

.about-page .ab-team .tm:hover::after,
.about-page .ab-team .tm:focus-visible::after {
  height: 7px;
}

.about-page .ab-team .tm-name,
.about-page .ab-team .tm-role {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-page .ab-team .tm-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  transition-delay: 0.06s;
}

.about-page .ab-team .tm-role {
  align-self: flex-start;
  margin: 6px 0 0;
  padding: 0;
  background: none;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
  transition-delay: 0.14s;
}

.about-page .ab-team .tm:hover .tm-name,
.about-page .ab-team .tm:hover .tm-role,
.about-page .ab-team .tm:focus-visible .tm-name,
.about-page .ab-team .tm:focus-visible .tm-role {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .about-page .ab-team .tm::before {
    opacity: 0.96;
    transform: none;
  }

  .about-page .ab-team .tm-name,
  .about-page .ab-team .tm-role {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .about-page .ab-team {
    padding: 44px 0 16px;
  }

  .about-page .ab-team .team-banner {
    grid-template-columns: 1fr;
    margin: 48px 0 4px;
  }

  .about-page .ab-team .team-banner-count {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 8px;
  }

  .about-page .ab-team .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }

  .about-page .ab-team .team-grid.solo {
    grid-template-columns: minmax(0, 170px);
  }

  .about-page .ab-team .tm {
    padding: 0 10px 14px;
  }

  .about-page .ab-team .tm-name {
    font-size: 0.9rem;
  }

  .about-page .ab-team .tm-role {
    font-size: 0.66rem;
  }
}

@keyframes tm-rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

@keyframes bar-grow {
  from { width: 0; }
  to { width: 72px; }
}

@supports (animation-timeline: view()) {
  .about-page .ab-team .tm {
    animation: tm-rise linear backwards;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }

  .about-page .ab-team .team-banner::before {
    animation: bar-grow linear backwards;
    animation-timeline: view();
    animation-range: entry 10% entry 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .ab-team .tm,
  .about-page .ab-team .tm::before,
  .about-page .ab-team .tm::after,
  .about-page .ab-team .tm-name,
  .about-page .ab-team .tm-role,
  .about-page .ab-team .tm-photo img {
    transition: none;
    animation: none;
  }

  .about-page .ab-team .tm:hover,
  .about-page .ab-team .tm:focus-visible {
    transform: none;
  }

  .about-page .ab-team .tm:hover .tm-photo img,
  .about-page .ab-team .tm:focus-visible .tm-photo img {
    transform: none;
  }

  .about-page .ab-team .team-banner::before {
    animation: none;
  }
}