/* A continuation of the main site's paper, clay colours and editorial type. */
[data-page="team"] .site-nav { color: var(--ink); }
[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.team-intro { position: relative; overflow: hidden; isolation: isolate; min-height: 600px; display: flex; align-items: center; padding-top: 162px; padding-bottom: 68px; }
.team-intro-copy { position: relative; z-index: 1; width: 61%; }
.eyebrow { font-size: 14px; font-weight: 600; margin-bottom: 28px; color: #606453; }
.team-intro h1 { font-size: clamp(48px, 5.5vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.team-intro h1 em { font-family: var(--serif); font-weight: 400; color: var(--orange); }
.team-lead { max-width: 43ch; margin-top: 28px; color: #606453; font-size: 18px; line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 30px; min-height: 48px; margin-top: 23px; font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--ink); }
.text-link span { font-size: 23px; }
.team-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 48%; }
.team-art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.team-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper), transparent 50%), linear-gradient(0deg, var(--paper), transparent 25%); }
.people { padding-top: 52px; padding-bottom: 70px; scroll-margin-top: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(38px, 4vw, 58px); }
.section-heading p { color: #606453; font-size: 15px; }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.portrait-frame { overflow: hidden; aspect-ratio: 4 / 5; background: #e3d8c2; }
.person-portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(var(--portrait-scale, 1)); transform-origin: var(--portrait-origin, 50% 8%); }
/* Zekë is the framing reference: preserve full hair and match head/torso scale. */
.portrait-aleksej { --portrait-scale: 1; }
.portrait-din { --portrait-scale: 1.12; --portrait-origin: 50% 7%; }
.portrait-thi { --portrait-scale: 1.14; --portrait-origin: 50% 8%; }
.person-advisor { width: calc((100% - 3 * clamp(18px, 2vw, 30px)) / 4); margin-top: 40px; }
.person-monogram { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.35; }
.person-monogram::before, .person-monogram::after { content: ''; position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .14; }
.person-monogram::before { left: -25%; bottom: -54%; }
.person-monogram::after { right: -30%; top: -52%; }
.person-monogram span { font: italic 400 clamp(70px, 8vw, 128px)/1 var(--serif); letter-spacing: -.075em; padding-right: .08em; }
.monogram-clay { background: #b54c2d; color: var(--paper); }
.monogram-forest { background: var(--forest); color: var(--paper); }
.monogram-sand { background: #e3d8c2; color: #61533f; }
.person-details { padding-top: 18px; }
.person-details h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.person-details p { margin-top: 6px; font-size: 15px; color: #606453; }
.team-belief { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9%; padding-top: 50px; padding-bottom: 72px; }
.team-belief h2 { font-size: clamp(36px, 3.7vw, 54px); }
.team-belief h2 em { color: var(--forest); }
.team-belief p { color: #606453; max-width: 48ch; }
.team-belief p + p { margin-top: 18px; }
.team-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9%; align-items: center; padding-top: 58px; padding-bottom: 58px; background: var(--orange); color: var(--paper); }
.team-contact h2 { font-size: clamp(40px, 4.5vw, 66px); }
.team-contact p { max-width: 38ch; margin-bottom: 24px; }
.team-contact .pill { gap: 24px; }
.email-link { display: block; width: fit-content; min-height: 44px; padding-top: 14px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
[data-page="team"] .footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
[data-page="team"] .footer-bottom span { margin-right: auto; }
[data-page="team"] .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1100px) and (min-width: 961px) { [data-page="team"] .site-nav { gap: 12px; padding-left: 18px; } [data-page="team"] .site-nav nav { gap: 17px; } }
@media (max-width: 960px) {
  .person-advisor { width: calc((100% - 22px) / 2); }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .team-intro { min-height: 0; padding-top: calc(var(--nav-height, 60px) + 72px); padding-bottom: 52px; }
  .team-intro-copy { width: 70%; }
  .team-intro h1 { font-size: clamp(44px, 7vw, 68px); }
  .team-art { width: 45%; opacity: .65; }
  .team-lead { font-size: 17px; }
  .team-belief, .team-contact { gap: 6%; }
}
@media (max-width: 600px) {
  .person-advisor { width: 100%; margin-top: 32px; }
  .team-intro { display: block; padding-bottom: 0; }
  .team-intro-copy { width: 100%; }
  .eyebrow { font-size: 13px; margin-bottom: 22px; }
  .team-intro h1 { font-size: clamp(38px, 10vw, 60px); }
  .team-lead { margin-top: 22px; }
  .team-art { position: relative; width: calc(100% + 12vw); margin: 20px -6vw 0; height: 220px; opacity: 1; }
  .team-art img { object-position: center 63%; }
  .team-art::after { background: linear-gradient(180deg, var(--paper), transparent 20%, transparent 80%, var(--paper)); }
  .people { padding-top: 30px; padding-bottom: 42px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .people-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .person-monogram { aspect-ratio: 1.7; }
  .person-monogram span { font-size: clamp(90px, 25vw, 140px); }
  .person-details { padding-top: 14px; }
  .person-details h3 { font-size: 25px; }
  .team-belief, .team-contact { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 38px; padding-bottom: 42px; }
  .team-belief h2 { font-size: clamp(34px, 9vw, 48px); }
  .team-contact h2 { font-size: clamp(38px, 10vw, 52px); }
  [data-page="team"] .footer-top { align-items: start; flex-direction: column; gap: 24px; }
  [data-page="team"] .footer-bottom span { flex-basis: 100%; }
}
