.wf-people,
.wf-trust {
  color: var(--wf-ink, #081d3a);
}

.wf-people {
  padding: clamp(76px, 11vw, 154px) 0 clamp(70px, 10vw, 135px);
  background: radial-gradient(ellipse at 78% 10%, #e1edff 0%, transparent 62%), #f8fbff;
}

.wf-people-wrap {
  width: min(calc(100% - 2 * var(--page-gutter, 24px)), 1160px);
  margin-inline: auto;
}

.wf-people-intro {
  margin-bottom: clamp(28px, 5vw, 64px);
}

.wf-people h2,
.wf-trust h2 {
  font-family: var(--wf-display, var(--sans, system-ui));
  font-weight: 560;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  letter-spacing: -.062em;
  line-height: 1;
  text-wrap: balance;
}

.wf-people-intro h2 {
  max-width: 18ch;
}

.wf-people-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 88px);
}

.wf-people-photo {
  position: relative;
  overflow: hidden;
  height: clamp(360px, 43vw, 540px);
  border: 1px solid #b2c0d3;
  border-radius: clamp(18px, 2vw, 28px);
  isolation: isolate;
  background: #d6e0e8;
  box-shadow: 0 22px 80px -54px #1a4278a0;
}

.wf-people-photo::after {
  content: "";
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(transparent, #122c4eac);
  pointer-events: none;
}

.wf-people-photo img {
  width: 100%;
  height: 100%;
  object-position: center 48%;
  object-fit: cover;
}

.wf-people-photo figcaption {
  position: absolute;
  z-index: 1;
  inset: auto auto 18px 20px;
  color: #fff;
  font-size: .8125rem;
  letter-spacing: .01em;
}

.wf-people-content {
  min-width: 0;
}

.wf-people-tabs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 2px;
  margin-bottom: clamp(24px, 4vw, 42px);
  border: 1px solid #b9d1ec;
  border-radius: 14px;
  padding: 4px;
  background: #e7f1fe;
}

.wf-people-tabs button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 8px clamp(10px, 1.55vw, 20px);
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #294b73;
  font-size: .9375rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

@media (hover: hover) {
  .wf-people-tabs button:hover {
    background-color: #fff9;
    color: var(--wf-ink, #081d3a);
  }
}

.wf-people-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--wf-ink, #081d3a);
  border-color: #c9d9ef;
  box-shadow: 0 2px 6px #173f7620;
}

.wf-people :is(button, [tabindex="0"]):focus-visible {
  outline: 2px solid #1c5edb;
  outline-offset: 3px;
}

.wf-people-tabs:not([hidden]) ~ .wf-people-panel:not([hidden]) {
  animation: wf-people-enter 240ms cubic-bezier(.2, .7, .3, 1) both;
}

.wf-people-panel + .wf-people-panel {
  margin-top: 32px;
}

.wf-people-tabs:not([hidden]) ~ .wf-people-panel {
  margin-top: 0;
}

@keyframes wf-people-enter {
  from { opacity: .7; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.wf-people-panel h3 {
  max-width: 16ch;
  min-height: 2.2em;
  font-family: var(--wf-display, var(--sans, system-ui));
  font-size: clamp(1.72rem, 3.2vw, 2.8rem);
  line-height: 1.085;
  font-weight: 560;
  letter-spacing: -.048em;
  text-wrap: balance;
}

.wf-people-panel > p {
  max-width: 42ch;
  margin: 15px 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--wf-muted, #405879);
}

.wf-people-sample {
  max-width: 550px;
  padding: clamp(16px, 2.5vw, 24px);
  background: #fff;
  border: 1px solid #cad9ea;
  border-radius: 17px;
  box-shadow: 0 14px 34px -26px #194477a6;
}

.wf-people-sample-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dfe7f2;
}

.wf-people-sample-head strong,
.wf-people-sample-head div > span {
  display: block;
  line-height: 1.4;
}

.wf-people-sample-head strong {
  font-size: .9375rem;
  font-weight: 650;
}

.wf-people-sample-head div > span {
  margin-top: 2px;
  font-size: .8125rem;
  color: var(--wf-muted, #405879);
}

.wf-people-glyph {
  flex: 0 0 41px;
  width: 41px;
  height: 41px;
  background: #deecff;
  color: #195acc;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.wf-people-glyph::before,
.wf-people-glyph::after {
  content: "";
  position: absolute;
}

.wf-glyph-amount::before {
  width: 20px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.wf-glyph-amount::after {
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.wf-glyph-document::before {
  width: 15px;
  height: 19px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.wf-glyph-document::after {
  width: 7px;
  height: 5px;
  border-block: 1.5px solid currentColor;
  transform: translateY(1px);
}

.wf-glyph-calendar::before {
  width: 20px;
  height: 17px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.wf-glyph-calendar::after {
  width: 18px;
  height: 7px;
  border-top: 1.5px solid currentColor;
}

.wf-people-sample dl {
  margin: 14px 0 0;
  font-variant-numeric: tabular-nums;
}

.wf-people-sample dd {
  margin: 0;
}

.wf-people-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.wf-people-amounts dt,
.wf-people-records dd {
  font-size: .8125rem;
  color: var(--wf-muted, #405879);
}

.wf-people-amounts dd {
  margin-top: 3px;
  white-space: nowrap;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 650;
  letter-spacing: -.06em;
}

.wf-amount-balance dd {
  color: #1853ba;
}

.wf-people-records {
  display: grid;
  gap: 7px;
}

.wf-people-records div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  flex-wrap: wrap;
}

.wf-people-records dt {
  font-size: .875rem;
  font-weight: 580;
}

.wf-trust {
  background: #f0f7ff;
  border-block: 1px solid #d9e5f4;
  padding: clamp(60px, 9vw, 108px) 0;
}

.wf-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: start;
  gap: clamp(28px, 8vw, 100px);
}

.wf-people-label {
  margin-bottom: 16px;
  color: #235bb5;
  font-size: .875rem;
  font-weight: 620;
}

.wf-trust h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  max-width: 15ch;
}

.wf-trust-rules {
  padding: 0;
  margin: 0;
  border-block-start: 1px solid #c2d3e9;
}

.wf-trust-rules > div {
  border-block-end: 1px solid #c2d3e9;
  padding: 18px 0;
}

.wf-trust-rules dt {
  font-size: 1.05rem;
  font-weight: 660;
  letter-spacing: -.014em;
}

.wf-trust-rules dd {
  margin: 5px 0 0;
  font-size: 1rem;
  line-height: 1.58;
  color: var(--wf-muted, #405879);
}

@media (max-width: 767px) {
  .wf-people-intro h2 br {
    display: none;
  }

  .wf-people-layout,
  .wf-trust-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wf-people-photo {
    height: clamp(260px, 72vw, 398px);
  }

  .wf-people-panel h3 {
    min-height: 0;
  }
}

@media (max-width: 399px) {
  .wf-people-tabs {
    width: 100%;
  }

  .wf-people-tabs button {
    padding-inline: 7px;
    font-size: .875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wf-people-tabs:not([hidden]) ~ .wf-people-panel:not([hidden]) {
    animation: none;
  }
}
