.ah-team-system {
  background: var(--ah-white);
  padding: 64px 0;
}

.ah-team-system .ah-kit-head {
  margin-bottom: 28px;
}

.ah-team-system .ah-title-lg {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
}

.ah-team-map {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.ah-team-orbit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.ah-orbit-stage {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1;
}

.ah-orbit-core {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ah-black);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.ah-orbit-core img {
  width: 48%;
  height: auto;
  filter: brightness(0) invert(1);
}

.ah-orbit-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.ah-orbit-track {
  color: var(--ah-black);
  transform-origin: 210px 210px;
  animation-name: ah-orbit-spin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.ah-orbit-track path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.ah-orbit-track circle {
  fill: currentColor;
  stroke: var(--ah-white);
  stroke-width: 4;
}

.ah-orbit-track-1 {
  color: #050505;
  animation-duration: 16s;
}

.ah-orbit-track-2 {
  color: #666666;
  animation-duration: 19s;
  animation-direction: reverse;
}

.ah-orbit-track-3 {
  color: #b8b8b8;
  animation-duration: 22s;
}

.ah-orbit-track-4 {
  color: #8d8d8d;
  animation-duration: 25s;
  animation-direction: reverse;
}

.ah-orbit-track-5 {
  color: #d6d6d6;
  animation-duration: 28s;
}

.ah-orbit-track-6 {
  color: #2f2f2f;
  animation-duration: 31s;
  animation-direction: reverse;
}

.ah-team-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ah-team-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
}

.ah-team-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ah-black);
  color: var(--ah-white);
  font-size: 30px;
  line-height: 1;
}

.ah-team-item h3 {
  margin: 0 0 6px;
  color: var(--ah-black);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.ah-team-item p {
  margin: 0;
  color: var(--ah-gray-700);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

@keyframes ah-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-orbit-track {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .ah-team-map {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ah-orbit-stage {
    width: min(420px, 100%);
  }
}

@media (max-width: 760px) {
  .ah-team-map {
    gap: 38px;
  }

  .ah-orbit-stage {
    width: min(330px, 100%);
  }

  .ah-team-list {
    gap: 18px;
  }

  .ah-team-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .ah-team-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .ah-team-item h3 {
    font-size: 21px;
  }

  .ah-team-item p {
    font-size: 14px;
  }
}

.ah-agent-profile-section {
  background: linear-gradient(90deg, var(--ah-gray-100) 0%, var(--ah-white) 58%);
  padding: 72px 0;
}

.ah-agent-profile-section-reversed {
  background: linear-gradient(90deg, var(--ah-white) 0%, var(--ah-gray-100) 70%);
}

.ah-agent-profile-layout {
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.ah-agent-profile-card {
  padding: 32px;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-lg);
  background: rgba(255, 255, 255, 0.88);
}

.ah-agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  min-height: 34px;
  padding: 0 16px 0 10px;
  border-radius: var(--ah-radius-full);
  background: var(--ah-black);
  color: var(--ah-white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ah-agent-badge span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--ah-orange);
  color: var(--ah-black);
  font-size: 12px;
  line-height: 1;
}

.ah-agent-profile-head {
  margin-bottom: 22px;
}

.ah-agent-name {
  margin: 0 0 8px;
  color: var(--ah-black);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.ah-agent-profile-head p {
  margin: 0;
  color: var(--ah-gray-700);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.ah-agent-quote {
  margin: 0 0 26px;
  padding: 22px 24px;
  border-radius: var(--ah-radius-md);
  background: var(--ah-black);
  color: var(--ah-white);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.28;
}

.ah-agent-table-wrap {
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-md);
}

.ah-agent-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ah-black);
  font-size: 14px;
  letter-spacing: -0.03em;
}

.ah-agent-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip-path: inset(50%);
}

.ah-agent-table th,
.ah-agent-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--ah-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.ah-agent-table tr:first-child th,
.ah-agent-table tr:first-child td {
  background: var(--ah-black);
  color: var(--ah-white);
  border-bottom-color: var(--ah-black);
}

.ah-agent-table tr:last-child th,
.ah-agent-table tr:last-child td {
  border-bottom: 0;
}

.ah-agent-table th {
  width: 164px;
  font-weight: 900;
}

.ah-agent-table td {
  font-weight: 600;
}

.ah-agent-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.ah-agent-mini-grid article {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius-sm);
  background: var(--ah-white);
}

.ah-agent-mini-grid strong,
.ah-agent-mini-grid span {
  display: block;
  letter-spacing: -0.035em;
}

.ah-agent-mini-grid strong {
  margin-bottom: 8px;
  color: var(--ah-black);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.ah-agent-mini-grid span {
  color: var(--ah-gray-700);
  font-size: 12px;
  font-weight: 700;
}

.ah-agent-note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ah-line);
  color: var(--ah-gray-700);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.75;
}

.ah-agent-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 0;
}

.ah-agent-visual img {
  position: sticky;
  top: 72px;
  width: min(760px, 100%);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 1180px) {
  .ah-agent-profile-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ah-agent-visual {
    order: -1;
  }

  .ah-agent-visual img {
    position: static;
    width: min(680px, 100%);
  }
}

@media (max-width: 760px) {
  .ah-agent-profile-section {
    padding: 56px 0;
    background: var(--ah-gray-100);
  }

  .ah-agent-profile-card {
    padding: 20px;
    border-radius: var(--ah-radius-md);
  }

  .ah-agent-quote {
    padding: 18px;
  }

  .ah-agent-table th,
  .ah-agent-table td {
    display: block;
    width: 100%;
    padding: 14px 16px;
  }

  .ah-agent-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .ah-agent-table td {
    padding-top: 4px;
  }

  .ah-agent-table tr:first-child th {
    padding-bottom: 4px;
  }

  .ah-agent-table tr:first-child td {
    padding-top: 4px;
  }

  .ah-agent-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ah-agent-visual img {
    width: min(440px, 100%);
  }

}
