/* Team: portrait-led, black, warm ivory and gold. */
.team-hero { position: relative; isolation: isolate; overflow: hidden; background: #090909; color: var(--ivory); }
.team-hero__visual { position: absolute; inset: 0; z-index: -1; }
.team-hero__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 8 8 / 90%), rgb(8 8 8 / 73%) 34%, rgb(8 8 8 / 8%) 64%, transparent); }
.team-hero__content { padding-block: 58px 60px; }
.team-hero .eyebrow { margin: 0 0 22px; color: var(--gold-bright); }
.team-hero h1 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(3.5rem, 5vw, 4.8rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.team-hero__standfirst { max-width: 560px; margin: 0 0 23px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.07; letter-spacing: -.025em; }
.team-hero__intro { max-width: 450px; margin: 0 0 27px; color: #eee8de; font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; }
.team-section-title .eyebrow { margin: 0 0 18px; }
.team-section-title h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 3.2vw, 3.35rem); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.team-philosophy { border-bottom: 1px solid #e8e1d5; }
.team-philosophy__grid { display: grid; grid-template-columns: 1.1fr 1.15fr .65fr; gap: 42px; align-items: start; }
.team-philosophy__copy { font-family: var(--serif); color: #504d46; font-size: 1.16rem; line-height: 1.45; }
.team-philosophy__copy p { margin: 0 0 18px; }
.team-philosophy__copy p:last-child { margin-bottom: 0; }
.team-principles { padding: 0 0 0 30px; margin: 5px 0 0; list-style: none; border-left: 1px solid #d9bd87; display: grid; gap: 25px; }
.team-principles li { display: flex; align-items: center; gap: 18px; }
.team-principles .line-icon { width: 33px; height: 33px; color: var(--gold); }
.team-principles span { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
.team-directory { background: #f5f2eb; scroll-margin-top: 145px; }
.team-directory__heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 36px; }
.team-directory__heading > p { margin: 0 0 4px; color: #656056; font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; }
.team-member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-member { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 26px; padding: 30px 34px 33px; border: 1px solid #ded5c5; border-radius: 8px; background: var(--ivory); scroll-margin-top: 145px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.team-member::before { content: ""; position: absolute; top: 0; left: 34px; width: 52px; height: 2px; background: #bb9144; }
.team-member:hover { border-color: #bea16b; box-shadow: 0 5px 20px rgb(34 24 5 / 5%); }
.team-member__kicker { grid-column: 1 / -1; grid-row: 1; display: flex; gap: 15px; align-items: center; margin-bottom: 24px; color: #8c6427; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.team-member__kicker span { border-right: 1px solid #d9c8a7; padding-right: 15px; font-variant-numeric: tabular-nums; }
.team-member__kicker p { margin: 0; }
.team-member__portrait-frame { display: block; grid-column: 1; grid-row: 2; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.team-member__portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-member__body { grid-column: 2; grid-row: 2; align-self: center; min-width: 0; }
.team-member--no-portrait .team-member__body { grid-column: 1 / -1; }
.team-member h3 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.8rem, 2.4vw, 2.45rem); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.team-member__qualification { border-top: 1px solid #e6dfd2; padding-top: 18px; }
.team-member__qualification p { margin: 0; font-size: .98rem; color: #535049; }
.team-member__qualification .team-member__label { margin: 0 0 7px; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: #897348; }
.team-reach__grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 34px; }
.team-reach .team-section-title h2 { font-size: 2.7rem; }
.team-reach__item { display: flex; flex-direction: column; border-left: 1px solid #e3dbc9; padding-left: 28px; text-decoration: none; color: var(--ink); }
.team-reach__item > .line-icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 16px; }
.team-reach__item h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.1; }
.team-reach__item p { margin: 0 0 22px; color: #655f54; font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; }
.team-reach__item .inline-link { margin-top: auto; }
.team-reach__item:hover .inline-link .line-icon { transform: translateX(4px); }
.team-reach__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 3px; }
.team-contact { position: relative; isolation: isolate; overflow: hidden; background: #0c0c0c; color: var(--ivory); }
.team-contact__visual { position: absolute; z-index: -1; inset: 0; }
.team-contact__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.team-contact__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 9 9 / 65%), rgb(9 9 9 / 95%) 48%); }
.team-contact__inner { display: flex; justify-content: space-between; align-items: center; gap: 42px; padding-block: 54px; }
.team-contact .eyebrow { margin: 0 0 16px; color: var(--gold-bright); }
.team-contact h2 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 3.2vw, 3.3rem); line-height: 1; letter-spacing: -.025em; }
.team-contact p:last-child { margin: 0; color: #d1cbc0; font-family: var(--serif); font-size: 1.15rem; }
.team-contact__actions { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.team-contact__email { color: #e4d8bd; font-size: .95rem; text-underline-offset: 4px; }
@media (max-width: 1020px) {
  .team-philosophy__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-principles { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid #d9bd87; padding: 25px 0 0; }
  .team-reach__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .team-reach .team-section-title { grid-column: 1 / -1; }
  .team-hero__visual::after { background: linear-gradient(90deg, rgb(8 8 8 / 95%), rgb(8 8 8 / 74%) 48%, rgb(8 8 8 / 20%)); }
  .team-hero__visual img { object-position: 60% center; }
}
@media (max-width: 700px) {
  .team-page .section { padding-block: 43px; }
  .team-hero__content { padding-block: 44px 48px; }
  .team-hero h1 { font-size: 3.45rem; }
  .team-hero__standfirst { font-size: 2rem; }
  .team-hero__intro { font-size: 1.13rem; }
  .team-hero .eyebrow { font-size: .65rem; letter-spacing: .14em; }
  .team-hero__visual img { object-position: 35% center; }
  .team-hero__visual::after { background: linear-gradient(90deg, rgb(8 8 8 / 95%), rgb(8 8 8 / 77%)); }
  .team-philosophy__grid { grid-template-columns: 1fr; gap: 26px; }
  .team-section-title h2 { font-size: 2.55rem; }
  .team-principles { gap: 18px; }
  .team-principles li { flex-direction: column; align-items: flex-start; gap: 12px; }
  .team-principles span { font-size: 1.02rem; }
  .team-directory, .team-member { scroll-margin-top: 125px; }
  .team-directory__heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
  .team-directory__heading > p br { display: none; }
  .team-member-grid { grid-template-columns: 1fr; gap: 18px; }
  .team-member { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .team-member::before { left: 26px; }
  .team-member__kicker { margin-bottom: 20px; }
  .team-member__portrait-frame { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; margin-bottom: 20px; }
  .team-member__portrait { object-position: center 22%; }
  .team-member__body { grid-column: 1; grid-row: 3; }
  .team-member--no-portrait .team-member__body { grid-row: 2; }
  .team-member h3 { font-size: 2.25rem; }
  .team-reach__grid { grid-template-columns: 1fr; gap: 28px; }
  .team-reach__item { border-left: 0; border-top: 1px solid #e3dbc9; padding: 25px 0 0; }
  .team-contact__inner { flex-direction: column; align-items: flex-start; gap: 26px; padding-block: 42px; }
  .team-contact__actions { align-items: flex-start; }
}
