/* Expert page content only. The shared site header, navigation and footer
   remain governed by assets/styles.css. */
body.experts-page {
  --expert-ink: #203b40;
  --expert-muted: #687b7d;
  --expert-mist: #eaf1ee;
  --expert-line: #dce5df;
  --expert-cream: #f7f4ed;
}

body.experts-page main,
body.experts-page #person-dialog {
  color: var(--expert-ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.experts-page main {
  margin: 0;
  padding: 0;
  background: #fff;
}

body.experts-page main h1,
body.experts-page main h2,
body.experts-page main h3,
body.experts-page main p,
body.experts-page #person-dialog h2,
body.experts-page #person-dialog h3,
body.experts-page #person-dialog p {
  margin: 0;
}

body.experts-page main button,
body.experts-page #person-dialog button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

body.experts-page main a,
body.experts-page #person-dialog a {
  color: inherit;
  text-decoration: none;
}

body.experts-page main button:focus-visible,
body.experts-page main a:focus-visible,
body.experts-page #person-dialog button:focus-visible {
  outline: 3px solid #b48a45;
  outline-offset: 4px;
}

body.experts-page main .wrap {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}

body.experts-page .team-hero {
  padding: 65px 0 58px;
  background: linear-gradient(110deg, #eef4ef 0%, #f5f4ed 100%);
}

body.experts-page .hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 88px;
}

body.experts-page main .eyebrow,
body.experts-page #person-dialog .eyebrow {
  margin-bottom: 14px;
  color: #647b70;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
}

body.experts-page .team-hero h1 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .15em;
}

body.experts-page main .hero-lead {
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .03em;
}

body.experts-page .hero-text {
  max-width: 440px;
  margin-top: 20px;
  color: var(--expert-muted);
  font-size: 14px;
}

body.experts-page .hero-directory a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #cfdbd1;
}

body.experts-page .hero-directory a:first-child {
  border-top: 1px solid #cfdbd1;
}

body.experts-page .hero-directory a > span {
  color: var(--expert-muted);
  font-size: 11px;
}

body.experts-page .hero-directory strong {
  font-size: 16px;
  font-weight: 500;
}

body.experts-page .hero-directory small {
  display: block;
  margin-top: 2px;
  color: var(--expert-muted);
  font-size: 12px;
}

body.experts-page .hero-directory b {
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
}

body.experts-page .section-jumps {
  display: flex;
  gap: 26px;
  padding: 20px 0;
  border-bottom: 1px solid var(--expert-line);
  font-size: 13px;
}

body.experts-page .section-jumps a:hover {
  color: #af8040;
}

body.experts-page .team-section {
  padding-top: 65px;
  padding-bottom: 65px;
  scroll-margin-top: 90px;
}

body.experts-page .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

body.experts-page .section-head h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .02em;
}

body.experts-page .section-head .eyebrow {
  margin-bottom: 8px;
}

body.experts-page .section-head > p {
  color: var(--expert-muted);
  font-size: 13px;
}

body.experts-page .people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 22px;
}

body.experts-page .person-card {
  min-width: 0;
}

body.experts-page .photo-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: .88;
  background: #e7e8e3;
}

body.experts-page .photo-window img {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% / var(--cw));
  max-width: none;
  height: auto;
  transform: translate(calc(-100% * var(--cx)), calc(-100% * var(--cy)));
}

body.experts-page .person-card h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 500;
}

body.experts-page .person-card .direction {
  min-height: 40px;
  margin-top: 3px;
  color: var(--expert-muted);
  font-size: 12px;
}

body.experts-page main .text-button {
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid #9caca3;
  background: none;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}

body.experts-page .text-button span {
  margin-left: 20px;
}

body.experts-page .section-wash {
  background: var(--expert-cream);
}

body.experts-page .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

body.experts-page .feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.experts-page .feature-card .photo-window {
  aspect-ratio: .78;
}

body.experts-page .feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 24px;
}

body.experts-page .feature-copy h3 {
  font-size: 24px;
  font-weight: 500;
}

body.experts-page .feature-copy .direction {
  margin: 10px 0 18px;
  color: var(--expert-muted);
  font-size: 13px;
}

body.experts-page .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
}

body.experts-page .chips span {
  padding: 3px 8px;
  background: var(--expert-mist);
  font-size: 11px;
}

body.experts-page .wide-profile {
  display: grid;
  grid-template-columns: .85fr 1.5fr;
  gap: 0;
  background: var(--expert-mist);
}

body.experts-page .wide-profile .photo-window {
  aspect-ratio: .93;
  background: #eeeee8;
}

body.experts-page .wide-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 48px;
}

body.experts-page .wide-copy h3 {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 500;
}

body.experts-page .wide-copy .direction {
  font-size: 17px;
}

body.experts-page .wide-copy > p:not(.eyebrow):not(.direction) {
  max-width: 420px;
  margin: 16px 0 20px;
  color: var(--expert-muted);
  font-size: 14px;
}

body.experts-page .contact-band {
  padding: 50px 0;
  color: #fff;
  background: #355b56;
}

body.experts-page .contact-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

body.experts-page .contact-band .eyebrow {
  color: #d4dfd0;
}

body.experts-page .contact-band h2 {
  font-size: 28px;
  font-weight: 500;
}

body.experts-page .contact-band p:not(.eyebrow) {
  margin-top: 10px;
  color: #d6e2dc;
  font-size: 13px;
}

body.experts-page .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 14px 23px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: var(--expert-ink);
  font-size: 13px;
  white-space: nowrap;
}

body.experts-page .contact-band .primary-button {
  color: var(--expert-ink);
  background: #f4f1e7;
}

body.experts-page #person-dialog {
  width: min(780px, calc(100% - 32px));
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
  border: 0;
  border-radius: 6px;
  background: #fff;
}

body.experts-page #person-dialog::backdrop {
  background: rgba(24, 42, 42, .5);
}

body.experts-page .dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

body.experts-page #person-dialog .dialog-top .eyebrow {
  margin: 0;
}

body.experts-page #person-dialog .dialog-top button {
  padding: 5px 12px;
  border: 1px solid var(--expert-line);
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
}

body.experts-page .dialog-person {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
}

body.experts-page #person-dialog .dialog-person h2 {
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 500;
}

body.experts-page .dialog-person .direction {
  color: var(--expert-muted);
  font-size: 14px;
}

body.experts-page #person-dialog .dialog-person h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

body.experts-page .dialog-person ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

@media (max-width: 1050px) {
  body.experts-page .hero-grid { gap: 40px; }
  body.experts-page .feature-card { grid-template-columns: 1fr; }
  body.experts-page .feature-card .photo-window { aspect-ratio: 1.2; }
  body.experts-page .feature-copy { padding: 24px; }
  body.experts-page .wide-copy { padding: 30px; }
  body.experts-page .people-grid { gap: 30px 18px; }
}

@media (max-width: 760px) {
  body.experts-page main .wrap { width: calc(100% - 40px); }
  body.experts-page .team-hero { padding: 40px 0 35px; }
  body.experts-page .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  body.experts-page main .hero-lead { font-size: 32px; }
  body.experts-page .hero-text { font-size: 13px; }
  body.experts-page .hero-directory a { padding: 13px 0; gap: 15px; }
  body.experts-page .hero-directory strong { font-size: 14px; }
  body.experts-page .hero-directory small { font-size: 11px; }
  body.experts-page .section-jumps { flex-wrap: wrap; gap: 20px; padding: 16px 0; font-size: 12px; }
  body.experts-page .team-section { padding-top: 40px; padding-bottom: 40px; }
  body.experts-page .section-head { display: block; margin-bottom: 24px; }
  body.experts-page .section-head h2 { font-size: 24px; }
  body.experts-page .section-head > p { margin-top: 12px; font-size: 12px; }
  body.experts-page .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  body.experts-page .person-card h3 { margin-top: 12px; font-size: 17px; }
  body.experts-page .person-card .direction { min-height: 38px; font-size: 11px; }
  body.experts-page .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  body.experts-page .feature-card { grid-template-columns: .95fr 1fr; }
  body.experts-page .feature-card .photo-window { aspect-ratio: .68; }
  body.experts-page .feature-copy { padding: 20px 16px; }
  body.experts-page .feature-copy h3 { font-size: 21px; }
  body.experts-page .feature-copy .direction { margin: 8px 0 15px; font-size: 12px; }
  body.experts-page .chips { margin-bottom: 15px; }
  body.experts-page .chips span { font-size: 10px; }
  body.experts-page .wide-profile { grid-template-columns: 1fr; }
  body.experts-page .wide-profile .photo-window { aspect-ratio: 1.2; }
  body.experts-page .wide-copy { padding: 28px; }
  body.experts-page .wide-copy h3 { font-size: 26px; }
  body.experts-page .wide-copy .direction { font-size: 16px; }
  body.experts-page .wide-copy > p:not(.eyebrow):not(.direction) { font-size: 13px; }
  body.experts-page .contact-grid { display: block; }
  body.experts-page .contact-band { padding: 35px 0; }
  body.experts-page .contact-band h2 { font-size: 23px; }
  body.experts-page .contact-band .primary-button { margin-top: 24px; }
  body.experts-page .dialog-person { grid-template-columns: 1fr; gap: 24px; }
  body.experts-page .dialog-person .photo-window { max-width: 230px; }
  body.experts-page .dialog-top { margin-bottom: 18px; }
}

@media (pointer: coarse) {
  body.experts-page main .text-button,
  body.experts-page #person-dialog .dialog-top button {
    min-height: 44px;
  }
}
