.kh-about-team {
  --team-width: min(1180px, calc(100% - 88px));
  --team-text: var(--stage-text);
  --team-muted: var(--stage-muted);
  --team-accent: var(--stage-warm);
  --team-line: var(--stage-line);
  background: var(--stage);
  color: var(--team-text);
}

.kh-about-team::before {
  background: none;
}

.kh-about-team :is(main, .site-footer) .page-shell {
  width: var(--team-width);
  margin-inline: auto;
}

.kh-about-team main .breadcrumb {
  margin-block: 0;
  padding-block: 20px 0;
  color: var(--team-muted);
  font-size: 13px;
  line-height: 1.8;
}

.kh-about-team .kh-parent-top {
  padding-block: 0 10px;
}

.kh-about-team .kh-parent-navigation a {
  padding: 0;
  border: 0;
  color: var(--team-accent);
  font-size: 14px;
}

.kh-team-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 226px;
  padding: 26px 34px;
  border: 1px solid var(--team-line);
  border-radius: 8px;
  background: linear-gradient(108deg, #182a34, #0d1927);
}

.kh-team-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -95px;
  width: 625px;
  aspect-ratio: 1;
  background: url("./about-showcase-art.png") 100% 100% / 200% 200% no-repeat;
  opacity: .58;
  mask-image: linear-gradient(90deg, transparent, black 55%),
    linear-gradient(180deg, transparent, black 35%);
  mask-composite: intersect;
  pointer-events: none;
  content: "";
}

.kh-about-team .kh-team-hero .section-kicker,
.kh-about-team .kh-team-card .section-kicker {
  margin: 0;
  color: var(--team-accent);
  font-size: 14px;
  font-weight: 700;
}

.kh-team-hero h1,
.kh-team-people h2,
.kh-team-card h3 {
  color: var(--team-text);
  font-family: var(--serif);
  line-height: 1.22;
}

.kh-team-hero h1 {
  margin: 7px 0 11px;
  font-size: clamp(39px, 4.2vw, 55px);
}

.kh-team-hero .inner-lead {
  margin: 0;
  color: var(--team-muted);
  font-size: 17px;
}

.kh-about-team .kh-team-topics,
.kh-about-team .kh-team-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  font-size: 14px;
}

.kh-team-topics {
  padding-block: 6px;
  border-bottom: 1px solid var(--team-line);
}

.kh-team-topics a,
.kh-team-topics [aria-current] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
}

.kh-team-topics [aria-current] {
  font-weight: 700;
}

.kh-team-topics a,
.kh-team-follow a {
  color: var(--team-accent);
}

.kh-team-topics a::after,
.kh-team-route::after,
.kh-team-adjacent a + a::after,
.kh-team-follow a[data-inline-contact]::after {
  content: "→" / "";
}

.kh-about-team main [id] {
  scroll-margin-top: 110px;
}

.kh-team-people {
  margin-top: 26px;
}

.kh-team-people h2 {
  margin: 0 0 8px;
  font-size: 33px;
  text-wrap: balance;
}

.kh-team-people .kh-promo-lead,
.kh-team-card > p:not(.section-kicker) {
  margin: 0;
  color: var(--team-muted);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.kh-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 13px;
  margin-top: 16px;
}

.kh-team-card {
  min-width: 0;
  padding: 17px 20px;
  border: 1px solid var(--team-line);
  border-radius: 8px;
  background: linear-gradient(108deg, #1a2b34, #111e2a);
  color: var(--team-text);
}

.kh-team-card:hover {
  border-color: var(--team-accent);
}

.kh-team-card:hover .kh-team-route {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.kh-team-person {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  grid-template-rows: 1fr auto 1fr;
  align-items: start;
  gap: 0 22px;
}

.kh-team-portrait {
  grid-area: 1 / 1 / 4 / 2;
  width: 100%;
  border-color: #bb9a71;
  border-radius: 5px;
}

.kh-team-identity {
  align-self: end;
  min-width: 0;
  margin-bottom: 8px;
}

.kh-team-identity h3 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.55vw, 33px);
  text-wrap: balance;
}

.kh-team-route {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: start;
  margin-top: 14px;
  color: var(--team-accent);
  font-size: 14px;
  font-weight: 700;
}

.kh-team-collaboration {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 23px;
  border-inline-start: 3px solid #bd966b;
  background: linear-gradient(112deg, #262d30, #14222d);
}

.kh-team-collaboration h3 {
  margin: 6px 0 10px;
  font-size: 25px;
  text-wrap: balance;
}

.kh-about-team .kh-team-follow {
  justify-content: space-between;
  padding-block: 8px 15px;
}

.kh-team-follow > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 15px;
}

.kh-team-follow a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  max-width: 100%;
}

.kh-team-adjacent a:first-child::before,
.kh-team-follow a[data-parent-return]::before {
  content: "←" / "";
}

.kh-about-team .kh-team-follow a[data-inline-contact] {
  padding: 7px 12px;
  border: 1px solid var(--team-line);
  border-radius: 5px;
  background: linear-gradient(108deg, #f6d6a8, #d7ac75);
  color: #131b22;
  font-size: 14px;
  font-weight: 700;
}

.kh-about-team .kh-team-follow a[data-inline-contact]:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kh-about-team :is(main, .site-footer) a:focus-visible {
  outline: 2px solid var(--team-accent);
  outline-offset: 3px;
}

.kh-about-team .site-footer {
  padding: 0;
  border: 0;
  background: none;
}

.kh-about-team .footer-inner {
  display: grid;
  gap: 5px;
  padding-top: 17px;
  border-top: 1px solid var(--team-line);
}

.kh-about-team .footer-inner > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 16px;
}

.kh-about-team .footer-inner p {
  margin: 0;
  color: var(--team-muted);
  font-size: 14px;
}

.kh-about-team .footer-brand {
  color: var(--team-accent);
}

.kh-about-team .footer-nav {
  justify-content: flex-start;
  gap: 2px 16px;
  max-width: none;
}

.kh-about-team .footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--team-muted);
  font-size: 13px;
}

.kh-about-team .footer-nav a:hover {
  color: var(--team-accent);
  text-decoration: underline;
}

.kh-about-team .footer-note {
  margin-block: 6px 0;
  padding-block: 0 20px;
  border: 0;
  color: var(--team-muted);
  font-size: 12px;
  text-wrap: pretty;
}

.kh-about-team .kh-contact-float {
  top: 43%;
  right: 0;
  bottom: auto;
  width: 39px;
  min-width: 0;
  min-height: 94px;
  padding: 10px 8px;
  border-radius: 6px 0 0 6px;
  writing-mode: vertical-rl;
  letter-spacing: .14em;
}

@media (max-width: 820px) {
  .kh-team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kh-team-person {
    grid-template-columns: 144px minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .kh-about-team {
    --team-width: calc(100% - 51px);
  }

  .kh-about-team :is(main, .site-footer) .page-shell {
    margin-left: 16px;
    margin-right: 35px;
  }

  .kh-about-team main .breadcrumb {
    padding-top: 17px;
    font-size: 12px;
  }

  .kh-about-team .kh-parent-top {
    padding-bottom: 8px;
  }

  .kh-team-hero {
    min-height: 0;
    padding: 19px 15px;
  }

  .kh-team-hero::after {
    right: -100px;
    bottom: -52px;
    width: 360px;
    opacity: .4;
  }

  .kh-team-hero .inner-lead {
    font-size: 15px;
  }

  .kh-about-team .kh-team-topics,
  .kh-about-team .kh-team-follow {
    gap: 0 15px;
    font-size: 13px;
  }

  .kh-about-team main [id] {
    scroll-margin-top: 80px;
  }

  .kh-team-people {
    margin-top: 19px;
  }

  .kh-team-people h2 {
    font-size: 25px;
  }

  .kh-team-people .kh-promo-lead,
  .kh-team-card > p:not(.section-kicker) {
    font-size: 14px;
  }

  .kh-team-grid {
    gap: 10px;
  }

  .kh-team-card {
    padding: 13px 14px;
  }

  .kh-team-person {
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 9px 13px;
  }

  .kh-team-portrait {
    grid-row: 1 / 3;
  }

  .kh-team-identity {
    align-self: center;
    margin-bottom: 0;
  }

  .kh-team-identity h3,
  .kh-team-collaboration h3 {
    font-size: 22px;
  }

  .kh-team-person > p {
    grid-column: 2;
  }

  .kh-team-person .kh-team-route {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .kh-about-team .kh-team-follow a[data-inline-contact],
  .kh-about-team .footer-inner p {
    font-size: 13px;
  }

  .kh-team-follow > div {
    gap: 2px 12px;
  }

  .kh-about-team .kh-contact-float {
    width: 30px;
    padding-inline: 5px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .kh-team-hero h1 {
    font-size: 35px;
  }

  .kh-team-hero .inner-lead {
    font-size: 14px;
  }

  .kh-team-people h2 {
    font-size: 20px;
  }

  .kh-team-portrait {
    grid-row: 1;
  }

  .kh-team-identity h3 {
    font-size: 18px;
  }

  .kh-team-person > p {
    grid-column: 1 / -1;
  }
}
