.page-team-open .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.page-team-open .header.is-hidden {
  transform: translateY(-100%);
}

.page-team-open .header.is-raised {
  box-shadow: 0 10px 28px rgba(var(--color-brand-primary-rgb), 0.22);
}

.page-team-open .header .section-bg {
  opacity: 1;
}

.page-team-open .header__nav #nav > li.current-menu-ancestor > a,
.page-team-open .burger-menu__navigation .burger-menu__nav > li.current-menu-ancestor > a {
  color: var(--secondary);
}

#content.team-page {
  --t-ink: var(--color-brand-primary);
  --t-muted: #78716c;
  --t-body: #44403c;
  --t-line: #e7e5e4;
  --t-canvas: #ffffff;
  padding: calc(var(--header-height, 68px) + 10px) 0 0;
  background: #fff;
  color: var(--t-body);
}

.page-team-open,
.page-team-open #main-wrapper {
  background: #fff;
}

#content.team-page :is(p, span, li, a, button, small) {
  font-family: "Be Vietnam Pro", sans-serif;
}

#content.team-page :is(h1, h2, h3) {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-transform: none;
}

.team-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.team-wrap {
  width: min(72rem, calc(100% - 48px));
  margin: 0 auto;
}

.team-hero {
  padding: 48px 0 8px;
}

.team-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.team-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 36px;
  align-items: start;
}

.team-hero__eyebrow {
  margin: 0 0 12px !important;
  color: var(--t-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

#content.team-page .team-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--t-ink);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.team-hero__lead {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--t-muted);
}

.team-hero__mark {
  position: absolute;
  top: -0.38em;
  left: -0.08em;
  z-index: 0;
  color: #3f3f46;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 7.2vw, 118px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.7;
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

.team-hero__lead p {
  position: relative;
  z-index: 1;
  margin: 0 0 1.15em;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.team-hero__lead p:last-child {
  margin-bottom: 0;
}

.team-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 36px;
  padding-bottom: 0;
  border-bottom: 0;
}

#content.team-page .team-tabs button {
  position: relative;
  padding: 0 0 10px;
  border: 0;
  background: none;
  color: #94a3b8;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.team-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: #083335;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

#content.team-page .team-tabs button:hover,
#content.team-page .team-tabs button.is-active {
  color: #083335;
}

#content.team-page .team-tabs button.is-active::after {
  transform: scaleX(1);
}

.team-card.is-hidden {
  display: none;
}

.team-cutout {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ebe6dc;
}

.team-cutout img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: transparent;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.7s ease-out, transform 0.5s ease;
}

.team-card:hover .team-cutout img {
  filter: grayscale(0) contrast(1.02);
  transform: scale(1.03);
}

.team-card__name {
  margin: 14px 0 4px;
  color: var(--t-ink);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

#content.team-page .team-card__role {
  margin: 0;
  color: #c5a880;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.45;
  text-transform: uppercase;
}

#content.team-page .team-card__meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #083335;
  font-family: "Montserrat", sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.team-card__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.team-card__meta a:hover,
.team-card__meta a:focus-visible {
  color: #083335;
}

.team-card__meta a:hover .team-card__arrow,
.team-card__meta a:focus-visible .team-card__arrow {
  transform: translateX(4px);
}

.team-grid-wrap {
  padding: 12px 0 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 24px;
  align-items: start;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
}

.team-card__meta {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease-out;
}

.team-card:hover .team-card__meta,
.team-card:focus-within .team-card__meta {
  grid-template-rows: 1fr;
}

.team-card__meta-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__folio,
.team-card__bio,
.team-card__meta p {
  margin: 0;
  color: #5a6a72;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.6;
}

@media screen and (min-width: 760px) {
  .team-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 48px;
    row-gap: 0;
    margin-bottom: 40px;
    align-items: center;
  }

  .team-hero__copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .team-hero__lead {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding: 0 2px 0 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1100px) {
  .team-hero__grid {
    column-gap: 64px;
  }

  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

@media screen and (max-width: 767px) {
  .team-wrap {
    width: calc(100% - 40px);
  }

  .team-hero {
    padding: 32px 0 8px;
  }

  .team-hero__lead {
    margin-bottom: 0;
  }

  .team-grid-wrap {
    padding: 8px 0 24px;
  }

  .team-card__meta {
    grid-template-rows: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-cutout img,
  .team-card__meta {
    transition: none;
  }
}

/* Breadcrumb matches the measured /san-pham trail, left-aligned with this hero. */

#content.team-page .team-hero .kd-breadcrumb {
  margin-bottom: 12px !important;
  letter-spacing: 0.2em !important;
}

body.page-team-open .lead-dossier__box {
  margin-top: 32px;
}

@media (max-width: 900px) {
  body.page-team-open .lead-dossier__box {
    margin-top: 24px;
  }
}

#content.team-page .team-hero .kd-breadcrumb [aria-current="page"] {
  color: #9e8a78 !important;
  font-weight: 400 !important;
}

/* Hero type matched to the measured /san-pham header. Alignment is unchanged. */

#content.team-page .team-hero .team-hero__eyebrow {
  display: block;
  margin-bottom: 12px !important;
  color: #c5a880 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.25em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

#content.team-page .team-hero h1 {
  margin-bottom: 20px !important;
  color: #003d45 !important;
  font-family: "Playfair Display", serif !important;
  font-size: clamp(32px, 4vw, 54px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.18 !important;
  text-transform: none !important;
}

#content.team-page .team-hero .team-hero__lead {
  max-width: 42rem;
}

#content.team-page .team-hero .team-hero__lead p {
  color: #57534e !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 17px !important;
  font-weight: 300 !important;
  font-synthesis: none;
  letter-spacing: 0.01em !important;
  line-height: 1.8 !important;
}