/* =========================================
   THE TEAM — page-scoped split layout only
   Desktop: sticky image left / editorial right
   Mobile: stacked image then text
========================================= */

body.page-theteam {
  background: #f3eee7;
}

body.page-theteam main {
  position: relative;
  z-index: 1;
  padding: 0 !important;
}

/* Transparent topbar, scoped only to The Team */
body.page-theteam .topbar.topbar--dark.topbar-solid {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.page-theteam .topbar-link,
body.page-theteam .brand {
  color: rgba(18, 15, 12, 0.96) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: clamp(2rem, 2.6vw, 3rem) !important;
  line-height: 1 !important;
}

body.page-theteam .team-split {
  width: 100%;
  margin: 0;
  padding: 0 0 72px;
  display: grid;
  grid-template-columns: minmax(280px, 45%) minmax(320px, 52%);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

body.page-theteam .team-split__left,
body.page-theteam .team-split__left-sticky,
body.page-theteam .team-split__left-frame {
  margin: 0 !important;
  padding: 0 !important;
}

body.page-theteam .team-split__left {
  position: relative;
  align-self: stretch;
}

body.page-theteam .team-split__left-sticky {
  position: sticky;
  top: 0;
  align-self: start;
}

body.page-theteam .team-split__left-frame {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
}

body.page-theteam .team-split__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

body.page-theteam .team-split__right {
  min-width: 0;
  padding: calc(var(--header-h, 88px) + 22px) 32px 56px;
  background: #f7f4ef;
}

body.page-theteam .team-editorial {
  width: min(100%, 660px);
  margin-left: -52px;
}

body.page-theteam .team-editorial__title {
  margin: 0 0 34px;
  color: rgba(24, 19, 17, 0.92);
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 100;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

body.page-theteam .team-person {
  width: min(100%, 560px);
  margin: 0 0 clamp(36px, 5vw, 68px);
}

body.page-theteam .team-person.is-right {
  margin-left: auto;
}

body.page-theteam .team-person__head {
  margin-bottom: 12px;
  padding-top: 18px;
}

body.page-theteam .team-person__brush {
  display: block;
  width: 104px;
  max-width: 28%;
  margin: 0 0 10px;
  opacity: 0.74;
}

body.page-theteam .team-person__name {
  margin: 0;
  color: rgba(20, 16, 14, 0.98);
  font-size: clamp(1.95rem, 2.2vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 700;
}

body.page-theteam .team-person__role {
  margin: 2px 0 0;
  color: rgba(26, 20, 17, 0.95);
  font-size: clamp(1.3rem, 1.45vw, 1.55rem);
  line-height: 1.05;
  font-style: italic;
  font-weight: 700;
}

body.page-theteam .team-person__body {
  color: rgba(24, 19, 17, 0.95);
  font-size: clamp(1.25rem, 1.35vw, 1.5rem);
  line-height: 1.23;
  letter-spacing: -0.012em;
  font-weight: 600;
}

body.page-theteam .team-person__body p {
  margin: 0 0 1.1em;
}

body.page-theteam .team-person__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  body.page-theteam .topbar-link,
  body.page-theteam .brand {
    font-size: clamp(1.7rem, 2.2vw, 2.2rem) !important;
  }

  body.page-theteam .team-split {
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 0.95fr);
    gap: 28px;
    padding-inline: 20px;
  }

  body.page-theteam .team-split__right {
    padding-top: calc(var(--header-h, 88px) + 14px);
  }

  body.page-theteam .team-editorial {
    margin-left: -28px;
  }

  body.page-theteam .team-editorial__title {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    margin-bottom: 28px;
  }

  body.page-theteam .team-person {
    width: min(100%, 500px);
    margin-bottom: 42px;
  }

  body.page-theteam .team-person__name {
    font-size: clamp(1.7rem, 2vw, 2.1rem);
  }

  body.page-theteam .team-person__body {
    font-size: clamp(1.12rem, 1.28vw, 1.32rem);
    line-height: 1.26;
  }
}

@media (max-width: 860px) {
  body.page-theteam .team-split {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: calc(var(--header-h, 88px) + 16px) 0 36px;
  }

  body.page-theteam .team-split__left,
  body.page-theteam .team-split__left-sticky,
  body.page-theteam .team-split__left-frame {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body.page-theteam .team-split__left-sticky {
    position: sticky;
    top: auto;
  }

  body.page-theteam .team-split__left-frame {
    aspect-ratio: 1 / 1.12;
  }

  body.page-theteam .team-split__image {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin-left: calc(50% - 50vw);
    object-fit: cover;
    object-position: center top;
  }

  body.page-theteam .team-split__right {
    padding: 0 14px 28px;
  }

  body.page-theteam .team-editorial {
    width: 100%;
    margin-left: 0;
  }

  body.page-theteam .team-editorial__title {
    margin: 0 0 18px;
    font-size: 2.35rem;
    line-height: 0.96;
  }

  body.page-theteam .team-person,
  body.page-theteam .team-person.is-right {
    width: 100%;
    margin: 0 0 26px;
  }

  body.page-theteam .team-person__brush {
    width: 72px;
    margin-bottom: 8px;
  }

  body.page-theteam .team-person__name {
    font-size: 1.7rem;
    line-height: 1;
  }

  body.page-theteam .team-person__role {
    margin-top: 2px;
    font-size: 1rem;
    line-height: 1.05;
  }

  body.page-theteam .team-person__body {
    font-size: 0.96rem;
    line-height: 1.22;
    letter-spacing: 0;
  }
}

@media (max-width: 520px) {
  body.page-theteam .team-split {
    padding-top: calc(var(--header-h, 88px) + 12px);
    gap: 0px;
  }

  body.page-theteam .team-split__left-frame {
    aspect-ratio: 1 / 1.18;
  }

  body.page-theteam .team-split__right {
    padding: 0 12px 24px;
  }

  body.page-theteam .team-editorial__title {
    font-size: 2.05rem;
    margin-bottom: 14px;
  }

  body.page-theteam .team-person {
    margin-bottom: 22px;
  }

  body.page-theteam .team-person__name {
    font-size: 1.55rem;
  }

  body.page-theteam .team-person__role {
    font-size: 0.94rem;
  }

  body.page-theteam .team-person__body {
    font-size: 0.9rem;
    line-height: 1.18;
  }
}/* === The Team: unify right-side background on desktop === */
@media (min-width: 861px) {
  body.page-theteam {
    background: #f7f4ef;
  }

  body.page-theteam .team-split {
    background: #f7f4ef;
  }

  body.page-theteam .team-split__right {
    min-width: 0;
    padding: calc(var(--header-h, 88px) + 22px) 32px 56px;
    background: #f7f4ef;
  }

  body.page-theteam .team-person,
  body.page-theteam .team-person.is-right,
  body.page-theteam .team-person__inner,
  body.page-theteam .team-person__copy {
    background: transparent !important;
  }

  body.page-theteam .team-person,
  body.page-theteam .team-person.is-right {
    width: 100%;
    max-width: 560px;
    margin: 0 auto clamp(36px, 5vw, 68px);
  }
}

@media (max-width: 767px) {
  body.page-theteam .topbar {
    padding: 6px 8px 0;
  }

  body.page-theteam .topbar-link,
  body.page-theteam .brand {
    font-size: clamp(1rem, 4.4vw, 1.55rem) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.015em !important;
    text-shadow: none !important;
  }

  body.page-theteam .team-split {
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 0 !important;
  }

  body.page-theteam .team-split__left {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  body.page-theteam .team-split__left-frame {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  body.page-theteam .team-split__image {
    display: block;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
  }

  body.page-theteam .team-split__right {
    margin-top: 0 !important;
    padding-top: 28px !important;
  }
}

/* ===== Desktop override for The Team body text ===== */
@media (min-width: 768px) {
  body.page-theteam .team-person__body {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 2rem !important;
    line-height: 1.02 !important;
    letter-spacing: -0.02em !important;
    font-weight: 300 !important;
  }

  body.page-theteam .team-person__body p {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    font-weight: inherit !important;
  }
}
/* ===== The Team text style like sample ===== */
@media (min-width: 768px) {
  body.page-theteam .team-person__name {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(2.1rem, 2.4vw, 2.7rem) !important;
    line-height: 0.95 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.15em !important;
  }

  body.page-theteam .team-person__role {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(1.7rem, 1.9vw, 2.1rem) !important;
    line-height: 1 !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 1.2rem !important;
  }

  body.page-theteam .team-person__body,
  body.page-theteam .team-person__body p {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(1.7rem, 1.9vw, 2rem) !important;
    line-height: 1.04 !important;
    font-weight: 500 !important;
    letter-spacing: -0.015em !important;
    color: #2a2623 !important;
  }

  body.page-theteam .team-person__body p {
    margin: 0 0 1.2em !important;
  }

  body.page-theteam .team-person__body p:last-child {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 768px) {
  body.page-theteam .team-person {
    max-width: 620px !important;
  }
}
@media (min-width: 768px) {
  body.page-theteam .team-person__body,
  body.page-theteam .team-person__body p {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(1.7rem, 1.9vw, 2rem) !important;
    line-height: 1.06 !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em !important;
    color: #2a2623 !important;
  }

  body.page-theteam .team-person__body p {
    margin: 0 0 1.2em !important;
  }

  body.page-theteam .team-person__body p:last-child {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 861px) {
  body.page-theteam .team-split {
    padding-bottom: 0 !important;
  }

  body.page-theteam .team-split__right {
    padding-bottom: 0 !important;
  }

  body.page-theteam .team-editorial {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  body.page-theteam .team-person:last-child,
  body.page-theteam .team-person.is-right:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.page-theteam .team-split__left,
  body.page-theteam .team-split__left-sticky,
  body.page-theteam .team-split__left-frame {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
@media (min-width: 861px) {
  body.page-theteam .team-split__right {
    padding-left: 0px !important;
    padding-right: 50px !important;
  }

  body.page-theteam .team-person,
  body.page-theteam .team-person.is-right {
    max-width: 900px !important;
    width: 140% !important;
  }
}

@media (min-width: 861px) {
  body.page-theteam .team-editorial {
    padding-bottom: 100px !important;
  }
}

@media (min-width: 861px) {
  body.page-theteam .team-editorial__title {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    margin: 0 auto 2.2rem auto !important;
    font-weight: 300 !important;
    letter-spacing: -0.02em !important;
  }
}
@media (min-width: 861px) {
  body.page-theteam .team-person.is-right {
    width: min(980px, 140%) !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  body.page-theteam .team-person.is-right .team-person__body {
    max-width: 100% !important;
    width: 80% !important;
  }
}
@media (min-width: 861px) {
  body.page-theteam .team-person__body p {
    margin: 0 0 1.1em !important;
  }

  body.page-theteam .team-person__body p:last-child {
    margin-bottom: 0 !important;
  }
}