.team-page {
      padding-top: 3rem;
    }

    .team-page .content-block {
      margin-bottom: 0;
      scroll-margin-top: 110px;
    }

    .team-nav,
    .team-metrics,
    .event-grid,
    .route-grid,
    .spirit-grid,
    .culture-grid {
      display: grid;
      gap: 1rem;
    }

    .team-nav {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      margin-bottom: 2rem;
    }

    .team-nav a {
      display: block;
      padding: 1rem 1.1rem;
      color: var(--text);
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }

    .team-nav strong {
      display: block;
      color: var(--primary);
      margin-bottom: 0.2rem;
    }

    .team-nav span {
      display: block;
      color: var(--muted);
      font-size: 0.86rem;
      line-height: 1.55;
    }

    .team-metrics {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
      margin-bottom: 1.5rem;
    }

    .team-metric,
    .event-card,
    .route-card,
    .spirit-card,
    .culture-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }

    .team-metric {
      padding: 1.05rem 1.1rem;
      min-height: 116px;
    }

    .team-metric strong {
      display: block;
      color: var(--accent);
      font-family: var(--font-serif);
      font-size: clamp(1.5rem, 3vw, 2.15rem);
      line-height: 1;
      margin-bottom: 0.55rem;
    }

    .team-metric span {
      display: block;
      color: var(--primary);
      font-weight: 700;
      line-height: 1.35;
    }

    .team-metric small {
      display: block;
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.45;
      margin-top: 0.25rem;
    }

    .event-grid {
      grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
      align-items: start;
    }

    .yunnan-feature {
      grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    }

    .event-card,
    .route-card,
    .spirit-card,
    .culture-card {
      padding: 1.15rem;
    }

    .event-card h3,
    .route-card h3,
    .spirit-card h3,
    .culture-card h3 {
      margin: 0 0 0.55rem;
      color: var(--primary);
      font-size: 1.08rem;
    }

    .event-card p,
    .route-card p,
    .spirit-card p,
    .culture-card p {
      margin: 0.45rem 0 0;
      color: var(--text);
      line-height: 1.75;
    }

    .event-card ul,
    .culture-card ul {
      margin: 0.75rem 0 0;
      padding-left: 1.1rem;
    }

    .event-card li,
    .culture-card li {
      margin-bottom: 0.35rem;
    }

    .story-kicker {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 0.65rem;
      margin-bottom: 0.75rem;
      color: var(--accent);
      background: var(--accent-soft);
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.82rem;
    }

    .story-lead {
      font-size: 1.02rem;
      line-height: 1.85;
    }

    .route-grid {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
      margin-top: 1rem;
    }

    .route-card .tag,
    .spirit-card .tag,
    .culture-card .tag {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 0.55rem;
      margin-bottom: 0.65rem;
      color: var(--accent);
      background: var(--accent-soft);
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .yunnan-photo-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
      align-items: stretch;
    }

    .yunnan-photo-grid figure {
      margin: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }

    .yunnan-photo-grid figure:first-child,
    .yunnan-photo-grid figure:last-child {
      grid-row: auto;
    }

    .yunnan-photo-grid img {
      display: block;
      width: 100%;
      height: 220px;
      min-height: 0;
      object-fit: cover;
      object-position: center;
    }

    .yunnan-photo-grid figcaption {
      padding: 0.75rem 0.85rem;
      color: var(--primary);
      font-weight: 700;
      font-size: 0.9rem;
      background: var(--surface);
    }

    .photo-grid-2x2 .case-card {
      position: relative;
      margin: 0;
      padding: 0;
      overflow: hidden;
      border-radius: var(--radius);
      aspect-ratio: 4 / 3;
    }

    .team-photo {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .photo-grid-2x2 .case-card .team-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .spirit-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .culture-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: start;
    }

    .team-line {
      padding: 1.25rem;
      background: var(--accent-soft);
      border-left: var(--highlight-border);
      border-radius: 0 var(--radius) var(--radius) 0;
    }

    .team-line p {
      margin: 0;
      color: var(--text);
    }

    .photo-block-spaced {
      margin-top: 1rem;
    }

    .team-line-spaced {
      margin-top: 1.25rem;
    }

    .footer-next {
      color: var(--accent);
    }

    @media (max-width: 960px) {
      .team-metrics,
      .event-grid,
      .route-grid,
      .spirit-grid,
      .culture-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .yunnan-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .yunnan-photo-grid figure:first-child,
      .yunnan-photo-grid figure:last-child {
        grid-row: auto;
      }
    }

    @media (max-width: 640px) {
      .team-page {
        padding-top: 2rem;
      }

      .team-metrics,
      .event-grid,
      .route-grid,
      .spirit-grid,
      .culture-grid,
      .photo-grid-2x2,
      .yunnan-photo-grid {
        grid-template-columns: 1fr;
      }
    }

/* Remove shared hero decoration bands that read as horizontal ghosting. */
.page-hero > .particle-canvas,
.page-hero::before,
.page-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* Video cover for chamber culture page hero. */
.team-video-hero {
  min-height: clamp(440px, 42vw, 560px);
  overflow: hidden;
  position: relative;
  padding-block: 0 !important;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.99) 0%, rgba(255, 253, 248, 0.94) 35%, rgba(255, 249, 238, 0.64) 58%, rgba(255, 249, 238, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.1), rgba(255, 244, 225, 0.36)),
    url("../../images/team/team-hero-cover.webp") right center / cover no-repeat !important;
}

.team-video-hero::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(33, 25, 24, 0.66) 0%, rgba(72, 44, 32, 0.46) 33%, rgba(101, 66, 43, 0.22) 56%, rgba(101, 66, 43, 0) 78%),
    linear-gradient(180deg, rgba(13, 20, 34, 0.12) 0%, rgba(13, 20, 34, 0.22) 100%);
  opacity: 1 !important;
  pointer-events: none;
}

.team-video-hero::after {
  content: "" !important;
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block !important;
  height: 38%;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), rgba(255, 250, 242, 0.7));
  opacity: 1 !important;
  pointer-events: none;
}

.team-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.team-video-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  min-height: clamp(440px, 42vw, 560px);
  padding-top: clamp(1rem, 1.4vw, 1.35rem);
}

.team-hero-copy {
  position: relative;
  width: min(100%, 660px);
  padding: 0;
  background: none;
  border-left: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.team-hero-copy::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 1.45rem;
  background: linear-gradient(90deg, #b77722, #e4c276);
}

.team-video-hero .team-hero-copy .breadcrumb,
.team-video-hero .team-hero-copy h1,
.team-video-hero .team-hero-copy .lead {
  max-width: 680px;
  text-shadow:
    0 2px 8px rgba(20, 12, 10, 0.72),
    0 14px 34px rgba(20, 12, 10, 0.38) !important;
}

.team-video-hero .team-hero-copy .breadcrumb {
  margin-bottom: 1.3rem;
  color: rgba(255, 244, 224, 0.96) !important;
  font-weight: 700;
}

.team-video-hero .team-hero-copy .breadcrumb a {
  color: inherit;
}

.team-video-hero .team-hero-copy h1 {
  max-width: 11em;
  margin: 0 0 1.3rem;
  color: #fff5e7 !important;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

.team-video-hero .team-hero-copy .lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 241, 0.94) !important;
  font-weight: 500;
  line-height: 1.95;
}

@media (max-width: 760px) {
  .team-video-hero {
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.99) 0%, rgba(255, 253, 248, 0.86) 42%, rgba(255, 249, 238, 0.64) 100%),
      url("../../images/team/team-hero-cover.webp") 55% center / auto 100% no-repeat !important;
  }

  .team-video-hero::before {
    background:
      linear-gradient(180deg, rgba(32, 25, 24, 0.62) 0%, rgba(42, 31, 27, 0.44) 48%, rgba(255, 249, 238, 0.18) 100%);
  }

  .team-hero-video {
    object-position: center center;
  }

  .team-video-hero .container {
    min-height: 520px;
    align-items: flex-start;
    padding-top: 1rem;
  }

  .team-hero-copy {
    width: 100%;
    padding: 0;
    background: none;
  }

  .team-video-hero .team-hero-copy h1 {
    line-height: 1.25;
  }

  .team-video-hero .team-hero-copy .lead {
    line-height: 1.85;
  }
}
