.team-page { background: var(--bg); }
.team-page h1, .team-page h2, .team-page h3 { margin: 0; }
.team-page a { text-decoration: none; }
.team-page p { margin: 0; }

.team-bar { position: fixed; z-index: 50; inset: 0 0 auto; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); background: rgba(10,9,8,.94); }
.team-logo img { width: auto; height: 46px; }
.team-bar nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.team-bar nav a, .team-bar-contact { font-size: 15px; font-weight: 700; transition: color .2s ease, transform .2s var(--ease); }
.team-bar nav a:hover, .team-bar-contact:hover { color: var(--heat); transform: translateY(-2px); }
.team-bar-contact span { margin-left: 10px; }

.team-split { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); align-items: start; }
.team-stage { position: sticky; top: 78px; height: calc(100svh - 78px); min-height: 560px; overflow: hidden; background: #142631; }
.js:not(.calm) .team-stage { --stage-cover-left: 62%; --stage-cover-right: 38%; --stage-edge-left: 62%; --stage-edge-right: 62%; --stage-edge-opacity: 1; --stage-shift: 35px; --stage-scale: .94; --stage-rotate: -2deg; }
.team-stage-photo { position: absolute; top: 20px; bottom: 20px; left: 50%; aspect-ratio: 3 / 4; max-width: calc(100% - 40px); background: var(--heat); opacity: 0; transform: translateX(-50%) translateY(var(--stage-shift, 0px)) rotate(var(--stage-rotate, 0deg)) scale(var(--stage-scale, 1)); transition: opacity .65s var(--ease); }
.team-stage-photo.is-active { opacity: 1; }
.team-stage-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; clip-path: inset(0 var(--stage-cover-right, 0%) 0 var(--stage-cover-left, 0%)); }
.team-stage-photo.is-active::before, .team-stage-photo.is-active::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 5px; background: var(--gold); opacity: var(--stage-edge-opacity, 0); transform: translateX(-50%); pointer-events: none; }
.team-stage-photo.is-active::before { left: var(--stage-edge-left, 0%); }
.team-stage-photo.is-active::after { left: var(--stage-edge-right, 100%); }
.team-stage-photo[data-stage-photo="nigel"] img { object-position: center 38%; }
.team-story { background: var(--bg); }
.team-intro { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; padding: clamp(140px, 18vh, 200px) var(--gut) clamp(70px, 9vh, 110px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); column-gap: clamp(40px, 6vw, 100px); align-content: center; align-items: end; background: #281d18; }
.team-intro::before { content: ""; position: absolute; z-index: -1; inset: 78px 0 0 56%; background: var(--heat); }
.team-intro-heading { transform: translate3d(0, var(--intro-heading-shift, 0px), 0); will-change: transform; }
.team-intro h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; font-size: clamp(76px, 10vw, 160px); max-width: 8ch; text-wrap: balance; }
.team-intro-copy { padding-bottom: 8px; background: var(--heat); color: #1b110c; transform: translate3d(0, var(--intro-copy-shift, 0px), 0); will-change: transform; }
.team-intro-lead { font-size: clamp(25px, 2.5vw, 38px); line-height: 1.2; font-weight: 700; max-width: 21ch; }
.team-intro-copy > p:not(.team-intro-lead) { max-width: 43ch; margin-top: 20px; }
.team-scroll { display: inline-flex; gap: 18px; align-items: center; color: #1b110c; font-weight: 700; margin-top: 40px; padding: 8px 0; border-bottom: 2px solid currentColor; transition: gap .2s var(--ease); }
.team-scroll:hover { gap: 26px; }
.team-profile { padding: clamp(40px, 5vw, 78px); }
.team-profile { min-height: 90svh; display: flex; align-items: center; background: #171411; }
.team-profile#tinashe { background: #251c16; }
.team-profile#tinashe .team-profile-copy { transform: translateY(var(--founder-copy-shift, 0px)); }
.team-profile:nth-of-type(3) { background: #21180f; }
.team-profile-copy { width: 100%; }
.team-role { color: var(--gold); font-size: 17px; font-weight: 700; margin-top: 22px !important; }
.team-qualification { color: #f5d590; font-size: clamp(18px, 1.35vw, 21px); font-weight: 700; line-height: 1.35; margin-top: 12px !important; }
.team-profile h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; font-size: clamp(50px, 4.6vw, 82px); max-width: 100%; text-wrap: balance; }
.team-profile-line { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.35; max-width: 26ch; margin-top: 32px !important; }
.team-email { display: inline-flex; align-items: center; gap: 32px; font-weight: 700; color: var(--heat); margin-top: 38px; padding: 8px 0; overflow-wrap: anywhere; transition: gap .2s var(--ease); }
.team-email:hover { gap: 42px; }
.team-mobile-photo { display: none; }

.team-roster { background: var(--heat); color: #130d08; padding: clamp(100px, 12vw, 180px) var(--gut); display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 52%); gap: 40px; }
.team-roster-head { position: sticky; top: 140px; align-self: start; }
.team-roster h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(58px, 6.5vw, 110px); line-height: .98; max-width: 12ch; }
.team-roster-head > p { max-width: 36ch; font-size: clamp(20px, 1.6vw, 25px); font-weight: 700; line-height: 1.35; margin-top: 28px; }
.team-roster-list { padding-top: 12px; }
.team-roster-person { padding: 38px clamp(24px, 3.4vw, 56px); background: #ff773f; margin-bottom: 14px; min-height: 225px; display: flex; flex-direction: column; justify-content: space-between; }
.team-roster-person:last-child { background: #f3c875; }
.team-roster-person p { font-weight: 700; font-size: 16px; }
.team-roster-person h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 3.5vw, 58px); line-height: 1.04; max-width: 15ch; }
.team-roster-person--portrait { padding: 0; min-height: 0; }
.team-roster-photo { aspect-ratio: 719 / 573; overflow: hidden; background: #172029; }
.team-roster-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .9s var(--ease); }
.team-roster-person--portrait:hover .team-roster-photo img { transform: scale(1.035); }
.team-roster-person-copy { min-height: 190px; padding: 30px clamp(24px, 3.4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; }
.team-technology { display: flex; align-items: end; gap: 22px; }
.team-technology img { width: clamp(72px, 7vw, 110px); height: clamp(72px, 7vw, 110px); object-fit: cover; }
.team-technology p { margin-top: 10px; }
.team-technology a { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.team-technology a:hover { text-decoration: underline; }

.team-contact { display: grid; grid-template-columns: 42% 58%; min-height: 80svh; background: #1b1712; }
.team-contact-image { overflow: hidden; min-height: 540px; }
.team-contact-image img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.team-contact-copy { padding: clamp(75px, 10vw, 150px) clamp(32px, 6vw, 90px); display: flex; flex-direction: column; align-items: start; justify-content: center; }
.team-contact h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(68px, 7vw, 118px); line-height: .98; max-width: 10ch; }
.team-contact-copy > p { font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; margin-top: 25px; }
.team-contact-links { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 42px; }
.team-contact-links a { background: #30261c; padding: 24px; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; transition: background .2s ease, transform .2s var(--ease); }
.team-contact-links a:hover { background: #413022; transform: translateX(5px); }
.team-contact-links a span { font-weight: 500; overflow-wrap: anywhere; text-align: right; }
.team-home { display: inline-flex; gap: 20px; align-items: center; background: var(--heat); color: #100a06; border-radius: 999px; padding: 15px 24px; font-weight: 700; margin-top: 38px; transition: transform .2s var(--ease); }
.team-home:hover { transform: translateY(-3px); }
.team-footer { background: var(--bg); padding: 42px var(--gut) 0; overflow: hidden; }
.team-footer-top { display: flex; flex-wrap: wrap; gap: 15px 30px; font-size: 15px; font-weight: 700; }
.team-footer-top a:hover { color: var(--heat); }
.team-footer-word { font-family: var(--display); font-size: 33vw; line-height: .78; color: var(--gold); text-align: center; margin: 45px 0 0 !important; transform-origin: center bottom; will-change: transform; }

html.js .team-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0ms); }
html.js .team-reveal.is-visible { opacity: 1; transform: translateY(0); }
.calm .team-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (max-width: 1000px) {
  .team-bar nav { gap: 17px; }
  .team-profile { padding-left: 42px; padding-right: 42px; }
  .team-intro h1 { font-size: clamp(64px, 8vw, 100px); }
  .team-profile h2 { font-size: clamp(46px, 5.4vw, 70px); }
  .team-contact-links a { flex-direction: column; }
  .team-contact-links a span { text-align: left; }
}
@media (max-width: 900px) {
  .team-bar { height: 66px; }
  .team-logo img { height: 36px; }
  .team-bar nav { display: none; }
  .team-bar-contact { font-size: 14px; }
  .team-split { display: block; }
  .team-stage { position: relative; top: auto; height: clamp(470px, 60svh, 620px); min-height: 0; }
  .team-stage-photo { top: 12px; bottom: 12px; max-width: calc(100% - 28px); }
  .team-stage-photo[data-stage-photo="nigel"] { display: none; }
  .team-story { position: relative; }
  .team-intro { min-height: 100svh; padding: 125px 22px 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .team-intro::before { display: none; }
  .team-intro-heading { margin-top: clamp(20px, 7vh, 80px); }
  .team-intro h1 { font-size: clamp(68px, 15vw, 110px); max-width: 9ch; }
  .team-intro-copy { align-self: stretch; margin: 44px -22px 0; padding: 34px 22px 44px; }
  .team-intro-lead { font-size: clamp(24px, 5vw, 34px); }
  .team-profile { display: block; min-height: auto; padding: 0 0 85px; }
  .team-mobile-photo { display: block; height: min(110vw, 520px); overflow: hidden; }
  .team-mobile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
  #tinashe .team-mobile-photo { display: none; }
  .team-profile-copy { padding: 42px 22px 0; }
  .team-profile h2 { font-size: clamp(42px, 10.5vw, 64px); }
  .team-profile-line { margin-top: 25px !important; }
  .team-roster { display: block; padding: 105px 12px; }
  .team-roster-head { position: static; padding: 0 12px 46px; }
  .team-roster h2 { font-size: clamp(52px, 12vw, 80px); }
  .team-roster-person { min-height: 195px; padding: 30px 25px; }
  .team-roster-person--portrait { min-height: 0; padding: 0; }
  .team-roster-person-copy { min-height: 175px; padding: 28px 25px; }
  .team-roster-person h3 { font-size: clamp(37px, 10vw, 55px); }
  .team-technology { align-items: center; }
  .team-technology img { width: 70px; height: 70px; }
  .team-contact { display: block; }
  .team-contact-image { height: 47svh; min-height: 300px; }
  .team-contact-copy { padding: 75px 22px 100px; }
  .team-contact h2 { font-size: clamp(64px, 15vw, 95px); }
  .team-contact-links a { padding: 20px; }
  .team-footer { padding: 36px 22px 0; }
  .team-footer-word { font-size: 34vw; }
}
@media (prefers-reduced-motion: reduce) {
  .team-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .team-intro-heading, .team-intro-copy { transform: none !important; }
  .team-profile#tinashe .team-profile-copy { transform: none !important; }
  .team-stage-photo { transition: none; transform: translateX(-50%) !important; }
  .team-stage-photo img { clip-path: none !important; }
  .team-stage-photo.is-active::before, .team-stage-photo.is-active::after { display: none; }
  .team-stage-photo.is-active { opacity: 1 !important; }
}
