.team-page {
  background: #f5f8f7;
}

.team-page-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.team-page-hero__media {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 21, 28, 0.94) 0%, rgba(4, 21, 28, 0.75) 44%, rgba(4, 21, 28, 0.2) 78%, rgba(4, 21, 28, 0.52) 100%),
    url("../assets/home-lake-training.png") 64% center / cover no-repeat;
  transform: scale(1.025);
}

.team-page-hero__inner {
  position: relative;
  width: var(--container);
  margin: auto;
  padding: 136px 0 72px;
}

.team-page-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.team-page-back:hover {
  color: #fff;
  transform: translateX(-3px);
}

.team-page-back i {
  position: relative;
  width: 22px;
  height: 12px;
}

.team-page-back i::before,
.team-page-back i::after {
  position: absolute;
  content: "";
}

.team-page-back i::before {
  top: 5px;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: currentColor;
}

.team-page-back i::after {
  top: 2px;
  left: 0;
  width: 7px;
  height: 7px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.team-page-hero .section-kicker {
  color: #e1b37d;
}

.team-page-hero h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 500;
  line-height: 0.98;
  text-wrap: balance;
}

.team-page-hero__lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.72;
}

.team-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.team-page-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.team-page-fact {
  min-height: 88px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px 22px 0 0;
}

.team-page-fact + .team-page-fact {
  padding-left: 22px;
}

.team-page-fact:last-child {
  border-right: 0;
}

.team-page-fact strong,
.team-page-fact span {
  display: block;
}

.team-page-fact strong {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
}

.team-page-fact span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.team-openings-band {
  background: #fff;
}

.team-openings-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: 84px;
  align-items: start;
}

.team-page-heading {
  position: sticky;
  top: 106px;
}

.team-page-heading h2,
.team-process-heading h2,
.team-collaboration-heading h2,
.team-contact-panel h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  text-wrap: balance;
}

.team-page-heading > p:last-child,
.team-process-heading > p,
.team-collaboration-heading > p:last-child,
.team-contact-panel > div > p:last-child {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.72;
}

.opening-list {
  border-top: 1px solid var(--line-strong);
}

.opening-item {
  border-bottom: 1px solid var(--line-strong);
}

.opening-item summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: center;
  min-height: 136px;
  list-style: none;
  cursor: pointer;
}

.opening-item summary::-webkit-details-marker {
  display: none;
}

.opening-item__index {
  align-self: start;
  padding-top: 45px;
  color: var(--accent-warm-dark);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1;
}

.opening-item__title strong,
.opening-item__title small {
  display: block;
}

.opening-item__title strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.08;
}

.opening-item__title small {
  max-width: 690px;
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.opening-item summary > i {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
}

.opening-item summary > i::before,
.opening-item summary > i::after {
  position: absolute;
  width: 14px;
  height: 1.5px;
  background: var(--accent-deep);
  content: "";
  transition: transform 180ms ease;
}

.opening-item summary > i::after {
  transform: rotate(90deg);
}

.opening-item[open] summary > i::after {
  transform: rotate(0deg);
}

.opening-item__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding: 0 0 44px 62px;
}

.opening-item__body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.opening-item__body ul {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.opening-item__body li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.58;
}

.opening-item__body li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 1.5px;
  background: var(--accent-warm);
  content: "";
}

.team-process-band {
  background: #eef5f3;
}

.team-process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 68px;
  align-items: end;
}

.team-process-heading > p {
  margin-bottom: 4px;
}

.team-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--line-strong);
}

.team-process-step {
  min-height: 250px;
  border-right: 1px solid var(--line);
  padding: 30px 36px 0 0;
}

.team-process-step + .team-process-step {
  padding-left: 36px;
}

.team-process-step:last-child {
  border-right: 0;
}

.team-process-step > span {
  color: var(--accent-warm-dark);
  font-family: var(--serif);
  font-size: 16px;
}

.team-process-step h3 {
  margin: 46px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.08;
}

.team-process-step p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.62;
}

.team-collaboration-band {
  padding: 104px 0;
  background: #071f29;
  color: #fff;
}

.team-collaboration-inner {
  display: grid;
  grid-template-columns: minmax(380px, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.team-collaboration-heading {
  min-width: 0;
}

.team-collaboration-heading .section-kicker {
  color: #ddb07c;
}

.team-collaboration-heading h2 {
  max-width: 100%;
  color: #fff;
  font-size: 54px;
}

.team-collaboration-heading > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.team-collaboration-list {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.team-collaboration-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 28px 0;
}

.team-collaboration-item > span {
  padding-top: 5px;
  color: #ddb07c;
  font-family: var(--serif);
  font-size: 16px;
}

.team-collaboration-item h3 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.08;
}

.team-collaboration-item p {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.62;
}

.team-contact-band {
  background: #fff;
}

.team-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: end;
  border-top: 1px solid var(--line-strong);
  padding-top: 48px;
}

.team-contact-panel h2 {
  max-width: 850px;
}

.team-contact-panel .button {
  margin-bottom: 6px;
}

body.motion-enabled .team-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 680ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.motion-enabled .team-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .team-page-hero h1 {
    font-size: 64px;
  }

  .team-openings-layout,
  .team-process-heading,
  .team-collaboration-inner,
  .team-contact-panel {
    grid-template-columns: 1fr;
  }

  .team-page-heading {
    position: static;
  }

  .opening-item__body {
    padding-left: 62px;
  }

  .team-contact-panel .button {
    justify-self: start;
  }
}

@media (max-width: 1080px) {
  .team-collaboration-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .team-page-hero {
    min-height: 700px;
  }

  .team-page-hero__media {
    background:
      linear-gradient(180deg, rgba(4, 21, 28, 0.48) 0%, rgba(4, 21, 28, 0.9) 64%, rgba(4, 21, 28, 0.95) 100%),
      url("../assets/home-lake-training.png") 62% center / cover no-repeat;
  }

  .team-page-hero__inner {
    padding: 104px 0 42px;
  }

  .team-page-back {
    margin-bottom: 38px;
  }

  .team-page-hero h1 {
    max-width: 94vw;
    font-size: 48px;
  }

  .team-page-hero__lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.64;
  }

  .team-page-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .team-page-hero__actions .button {
    width: 100%;
  }

  .team-page-facts {
    margin-top: 36px;
  }

  .team-page-fact {
    min-height: 94px;
    padding: 18px 8px 0 0;
  }

  .team-page-fact + .team-page-fact {
    padding-left: 10px;
  }

  .team-page-fact strong {
    font-size: 22px;
  }

  .team-page-fact span {
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .team-page-heading h2,
  .team-process-heading h2,
  .team-collaboration-heading h2,
  .team-contact-panel h2 {
    font-size: 42px;
  }

  .team-openings-layout {
    gap: 44px;
  }

  .opening-item summary {
    grid-template-columns: 32px minmax(0, 1fr) 36px;
    gap: 10px;
    min-height: 126px;
  }

  .opening-item__index {
    padding-top: 43px;
  }

  .opening-item__title strong {
    font-size: 24px;
  }

  .opening-item summary > i {
    width: 36px;
    height: 36px;
  }

  .opening-item__body {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 0 0 36px 42px;
  }

  .team-process-heading {
    gap: 24px;
  }

  .team-process-list {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .team-process-step,
  .team-process-step + .team-process-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0 30px;
  }

  .team-process-step h3 {
    margin-top: 24px;
  }

  .team-collaboration-band {
    padding: 64px 0;
  }

  .team-collaboration-inner {
    gap: 44px;
  }

  .team-collaboration-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .team-contact-panel {
    gap: 30px;
    padding-top: 34px;
  }

  .team-contact-panel .button {
    width: 100%;
  }
}
