/* Editorial team pages only. Home and partner styling remain independent. */
.team-page { color-scheme: light; background: #f5f3ef; color: #22201e; }
.team-page .header, .team-footer { color: #f6f6f6; background: #080808; color-scheme: dark; }
.team-page main :focus-visible { outline-color: #bc1230; }
.team-page .eyebrow { color: #bd1630; font-size: .75rem; line-height: 1.6; letter-spacing: .13em; }
.team-index-intro, .team-hero-band { background: #11100f; color: #f5f3ef; }
.team-index-intro { padding-block: 74px 80px; border-bottom: 3px solid #ce1733; }
.team-index-intro h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1.05; }
.team-index-intro h1 span { color: var(--red); }
.team-index-intro .eyebrow, .team-hero .eyebrow { color: #ff5267; }
.team-index-lead { max-width: 740px; margin: 28px 0 0; color: #d4ceca; font-size: 1.15rem; }
.team-directory { padding-block: 64px; }
.team-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 30px; }
.team-editorial-card { min-width: 0; }
.team-editorial-card > a { display: block; }
.team-card-photo { position: relative; background: #080808; overflow: hidden; }
.team-card-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-card-number { position: absolute; bottom: 14px; left: 18px; color: #fff; font: 2rem var(--heading); }
.team-card-copy { padding: 24px 0 0; border-bottom: 1px solid #cec8c0; }
.team-card-copy .eyebrow { margin-bottom: 8px; }
.team-card-copy h2 { font: 800 clamp(1.8rem, 2.8vw, 2.4rem)/1.1 var(--heading); text-transform: uppercase; }
.team-card-profession { min-height: 52px; margin-block: 16px 4px; font-size: .95rem; color: #615b55; }
.team-discover { min-height: 48px; display: flex; align-items: center; justify-content: space-between; color: #bc1230; font-size: .75rem; font-weight: 800; letter-spacing: .05em; }
.team-editorial-card a:hover h2 { color: #bc1230; }
.team-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; padding-top: 16px; color: #c8c0ba; font-size: .8rem; }
.team-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.team-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.team-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); align-items: center; gap: 50px; padding-block: 36px 64px; }
.team-hero h1 { font-size: clamp(3rem, 5vw, 5rem); text-transform: uppercase; overflow-wrap: anywhere; }
.team-role { margin-block: 24px 14px; font-size: 1.1rem; font-weight: 700; color: #ff5267; }
.team-profession { font-size: 1.05rem; color: #d4ceca; line-height: 1.8; }
.team-hero-anchor { display: inline-flex; align-items: center; gap: 26px; min-height: 48px; border-bottom: 1px solid #80746e; font-size: .75rem; font-weight: 700; margin-top: 12px; }
.team-hero-anchor span { color: #ff5267; font-size: 1.25rem; }
.team-hero-photo { margin: 0; border-bottom: 3px solid #ce1733; }
.team-hero-photo img { width: 100%; height: auto; object-fit: contain; }
.team-hero-text { display: block; padding-block: 52px 64px; }
.team-hero-text .team-hero-copy { max-width: 800px; }
.team-reading { max-width: 800px; padding-top: 72px; }
.team-article h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); max-width: 760px; line-height: 1.1; }
.team-prose { margin-top: 38px; }
.team-prose p { font-size: 1.075rem; line-height: 1.85; margin-bottom: 22px; color: #4d4741; }
.team-prose p:first-child { font-size: 1.3rem; line-height: 1.65; color: #22201e; }
.team-bpsf-role { margin-top: 60px; padding: 38px; background: #eae5de; border-left: 3px solid #bd1630; }
.team-bpsf-role h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 26px; }
.team-bpsf-role p:not(.eyebrow) { font-size: 1.05rem; line-height: 1.8; }
.team-bpsf-role p:last-child { margin-bottom: 0; }
.team-book { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px; margin-top: 52px; background: #141312; color: #fff; border-top: 3px solid #bd1630; }
.team-book .eyebrow { color: #ff5267; }
.team-book h2 { font-size: 3.8rem; }
.team-book .button { flex-shrink: 0; }
.team-socials { margin-top: 52px; padding-block: 32px; border-top: 1px solid #d1cac2; }
.team-socials h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); text-transform: uppercase; }
.team-socials > div { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.team-link { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 18px; border: 1px solid #cbc3ba; font-size: .95rem; }
.team-link > span:last-child { margin-left: 14px; }
.team-link:hover { color: #bd1630; border-color: #bd1630; }
.team-link .link-icon { width: 22px; height: 22px; }
.team-plateau { padding-block: 64px; margin-top: 48px; border-top: 1px solid #d1cac2; }
.team-plateau h2 { margin-bottom: 32px; }
.team-plateau .gallery-caption { color: #615b55; }
.team-plateau .gallery { overscroll-behavior-x: contain; }
.team-plateau .gallery-item { flex-basis: calc((100% - 36px) / 2.2); }
.team-plateau .gallery-item img { height: auto; aspect-ratio: auto; }
.team-plateau .gallery-arrows button { color: #222; border-color: #a89e93; }
.team-plateau .gallery-arrows button:hover:not(:disabled) { background: #eae5de; }
.team-contents article { margin-top: 26px; }
.team-contents article img { width: 100%; height: auto; }
.team-return { padding-block: 54px 76px; }
.team-return-link { display: inline-flex; align-items: center; gap: 26px; min-height: 52px; border-bottom: 1px solid #bd1630; font-size: .8rem; font-weight: 800; color: #a4142b; }
.team-directory > .team-return-link { margin-top: 50px; }
@media (max-width: 1000px) {
  .team-hero { gap: 28px; }
  .team-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .team-plateau .gallery-item { flex-basis: 70%; }
  .team-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 22px; }
  .team-hero-photo { grid-row: 1; }
  .team-hero h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
  .team-index-intro { padding-block: 52px; }
  .team-reading { padding-top: 48px; }
}
@media (max-width: 600px) {
  .team-plateau .gallery-item { flex-basis: 86%; }
  .team-plateau { padding-block: 40px; margin-top: 32px; }
  .team-editorial-grid { grid-template-columns: 1fr; gap: 38px; }
  .team-directory { padding-top: 40px; }
  .team-index-intro h1 { font-size: clamp(2rem, 8.4vw, 3.2rem); }
  .team-index-lead { font-size: 1rem; }
  .team-hero { padding-bottom: 44px; }
  .team-hero h1 { font-size: clamp(2.65rem, 11vw, 3.8rem); }
  .team-hero-text { padding-top: 34px; }
  .team-prose p { font-size: 1rem; line-height: 1.8; }
  .team-prose p:first-child { font-size: 1.18rem; }
  .team-bpsf-role { margin-top: 42px; padding: 28px 20px; }
  .team-bpsf-role h2 { font-size: clamp(1.65rem, 6.3vw, 2rem); }
  .team-book { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .team-book .button { width: 100%; }
  .team-return-link { gap: 12px; font-size: .72rem; }
}
