:root {
  --tm-ink: #090c11;
  --tm-paper: #f2efe8;
  --tm-muted: #697078;
  --tm-line: rgba(9,12,17,.16);
  --tm-orange: #f47721;
}

.team-page {
  margin: 0;
  background: var(--tm-paper);
  color: var(--tm-ink);
}

.team-page .site-header {
  position: fixed;
  background: linear-gradient(180deg,rgba(3,5,8,.82),transparent);
}

.team-page .site-header.scrolled {
  background: rgba(7,9,13,.94);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.team-page main { overflow: clip; }

.tm-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #596069;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.tm-kicker span { width: 31px; border-top: 1px solid currentColor; }
.tm-kicker--light { color: rgba(255,255,255,.72); }

.tm-hero {
  position: relative;
  height: 88vh;
  height: 88svh;
  min-height: 680px;
  max-height: 980px;
  overflow: hidden;
  isolation: isolate;
  background: #090d12;
  color: #fff;
}

.tm-hero__image,
.tm-hero__shade,
.tm-hero__grid { position: absolute; inset: 0; }

.tm-hero__image {
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  animation: tmHeroReveal 1.5s cubic-bezier(.2,.75,.25,1) both;
}

.tm-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg,rgba(5,8,12,.98) 0%,rgba(5,8,12,.83) 28%,rgba(5,8,12,.18) 67%,rgba(5,8,12,.12) 100%),
    linear-gradient(0deg,rgba(3,5,8,.75),transparent 48%);
}

.tm-hero__grid {
  z-index: -1;
  opacity: .33;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg,#000,transparent 48%);
}

.tm-hero__copy {
  position: absolute;
  left: 5.3vw;
  top: 52%;
  width: min(650px,43vw);
  transform: translateY(-48%);
}

.tm-hero h1 {
  margin: 31px 0 30px;
  font: 500 clamp(72px,8vw,132px)/.82 "Manrope",sans-serif;
  letter-spacing: -.075em;
}

.tm-hero h1 em,
.tm-intro h2 em,
.tm-culture h2 em,
.tm-closing h2 em {
  font-family: "Playfair Display",Georgia,serif;
  font-weight: 500;
}

.tm-hero__copy > p {
  max-width: 530px;
  margin: 0;
  color: #abb2bc;
  font-size: 15px;
  line-height: 1.75;
}

.tm-hero__actions,
.tm-closing__actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 34px;
}

.tm-button {
  min-width: 210px;
  min-height: 59px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .3s,background .3s,color .3s;
}

.tm-button--light { background: #fff; color: #0a0d12; }
.tm-button:hover { transform: translateY(-4px); background: var(--tm-orange); }

.tm-text-link {
  min-width: 190px;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .3s,border-color .3s;
}

.tm-text-link:hover { color: #ff9a59; border-color: #ff9a59; }

.tm-hero__meta {
  position: absolute;
  left: 5.3vw;
  right: 5.3vw;
  bottom: 23px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.52);
  font-size: 8px;
  letter-spacing: .17em;
}

.tm-hero__meta i { flex: 1; border-top: 1px solid rgba(255,255,255,.2); }

.tm-hero__seal {
  position: absolute;
  right: 4.3vw;
  top: 135px;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(7,10,14,.2);
  backdrop-filter: blur(8px);
}

.tm-hero__seal b { font: 700 28px/1 "Manrope"; }
.tm-hero__seal span { font-size: 7px; line-height: 1.4; letter-spacing: .15em; text-align: center; }

.tm-intro {
  padding: clamp(95px,10vw,155px) 5.3vw;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(60px,10vw,170px);
  align-items: end;
  background: #f3f0e9;
}

.tm-intro h2,
.tm-culture h2,
.tm-closing h2 {
  margin: 28px 0 0;
  font: 500 clamp(52px,6vw,92px)/.92 "Manrope",sans-serif;
  letter-spacing: -.065em;
}

.tm-intro__body > p {
  max-width: 590px;
  margin: 0;
  color: var(--tm-muted);
  font-size: 15px;
  line-height: 1.8;
}

.tm-intro__metrics {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid var(--tm-line);
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.tm-intro__metrics article { display: flex; gap: 11px; align-items: flex-start; }
.tm-intro__metrics strong { font: 600 24px/1 "Manrope"; letter-spacing: -.04em; }
.tm-intro__metrics span { color: #737981; font-size: 8px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }

.tm-location-nav {
  position: sticky;
  z-index: 30;
  top: 72px;
  min-height: 72px;
  padding: 0 5.3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(8,11,16,.95);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}

.tm-location-nav > span {
  color: #727a85;
  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.tm-location-nav > div { align-self: stretch; display: flex; }

.tm-location-nav a {
  position: relative;
  min-width: 170px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #89919c;
  border-left: 1px solid rgba(255,255,255,.1);
  font: 600 12px "Manrope";
  transition: color .3s,background .3s;
}

.tm-location-nav a:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.tm-location-nav a small { color: #5d6570; font-size: 8px; }
.tm-location-nav a.active { color: #fff; background: rgba(255,255,255,.06); }
.tm-location-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tm-orange); }
.tm-location-nav a:only-child { min-width: 230px; }

.tm-location {
  padding: clamp(95px,9vw,145px) 5.3vw;
  scroll-margin-top: 140px;
  background: #ebe8e0;
}

.tm-location:nth-child(even) { background: #f6f3ed; }

.tm-location__head {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: 1fr minmax(300px,470px);
  gap: 60px;
  align-items: end;
}

.tm-location__title {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.tm-location__title > span { padding-top: 12px; color: var(--tm-orange); font: 700 11px "Manrope"; }
.tm-location__title h2 { margin: 0; font: 500 clamp(62px,7vw,105px)/.86 "Manrope"; letter-spacing: -.075em; }
.tm-location__head > p { margin: 0 0 8px; color: var(--tm-muted); font-size: 14px; line-height: 1.75; }

.tm-location__layout {
  display: grid;
  grid-template-columns: minmax(360px,.82fr) minmax(620px,1.18fr);
  gap: clamp(20px,3vw,44px);
  align-items: stretch;
}

.tm-location--featured .tm-location__layout {
  grid-template-columns: minmax(420px,1.08fr) minmax(500px,.92fr);
}

.tm-location--reverse .tm-location__showroom { order: 2; }
.tm-location--reverse .tm-members { order: 1; }

.tm-location__showroom {
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: #11151a;
  color: #fff;
}

.tm-location__showroom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(4,7,10,.85),transparent 55%);
}

.tm-location__showroom > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.75,.25,1);
}

.tm-location__showroom:hover > img { transform: scale(1.04); }

.tm-location__showroom figcaption {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 27px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.tm-location__showroom figcaption span { font-size: 8px; letter-spacing: .16em; }
.tm-location__showroom figcaption strong { max-width: 210px; font: 500 23px/1.1 "Manrope"; text-align: right; }

.tm-location__rings i {
  position: absolute;
  z-index: 2;
  right: -110px;
  top: -110px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
}

.tm-location__rings i + i { right: -65px; top: -65px; width: 190px; height: 190px; }

.tm-members {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.tm-member {
  position: relative;
  min-width: 0;
  background: #dcd9d1;
  overflow: hidden;
  transition: transform .45s,box-shadow .45s;
  transition-delay: var(--member-delay);
}

.tm-member:hover { z-index: 2; transform: translateY(-7px); box-shadow: 0 25px 50px rgba(10,13,17,.15); }
.tm-members > .tm-member:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; }
.tm-members > .tm-member:last-child:nth-child(odd) .tm-member__photo { height: 100%; min-height: 265px; }
.tm-members > .tm-member:last-child:nth-child(odd) .tm-member__copy { display: flex; flex-direction: column; justify-content: flex-end; }

.tm-location--featured .tm-members { min-height: 700px; }

.tm-location--featured .tm-member {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tm-location--featured .tm-member__photo {
  flex: 1 1 auto;
  height: auto;
  min-height: 500px;
}

.tm-location--featured .tm-member__copy {
  flex: 0 0 auto;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tm-member__photo {
  position: relative;
  height: 265px;
  overflow: hidden;
  background: #11161c;
}

.tm-member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(7,10,14,.3),transparent 52%);
}

.tm-member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--portrait-position);
  transform: scale(1.52);
  filter: saturate(.8) contrast(1.03);
  transition: transform .7s,filter .5s;
}

.tm-member:hover .tm-member__photo img { transform: scale(1.58); filter: saturate(1); }
.tm-member__photo--natural img {
  transform: scale(1.02);
  object-position: var(--portrait-position);
  filter: saturate(.9) contrast(1.02);
}
.tm-member:hover .tm-member__photo--natural img { transform: scale(1.06); }
.tm-member__photo > span { position: absolute; z-index: 2; left: 15px; top: 14px; width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; font-size: 8px; }

.tm-member__copy {
  position: relative;
  min-height: 150px;
  padding: 22px 23px;
  border-top: 1px solid rgba(9,12,17,.1);
}

.tm-member__copy h3 { margin: 0 38px 10px 0; font: 600 clamp(20px,1.65vw,27px)/1.05 "Manrope"; letter-spacing: -.04em; }
.tm-member__copy p { margin: 0; color: #676e77; font-size: 9px; font-weight: 700; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.tm-member__copy i { position: absolute; right: 22px; top: 51px; color: var(--tm-orange); font-style: normal; font-size: 18px; transition: transform .3s; }
.tm-member:hover .tm-member__copy i { transform: translate(4px,-4px); }

.tm-culture {
  padding: clamp(105px,10vw,160px) 5.3vw;
  background: #090d12;
  color: #fff;
}

.tm-culture__head {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  align-items: end;
  gap: 70px;
}

.tm-culture__head h2 { margin-top: 0; }

.tm-culture__grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.14);
}

.tm-culture__grid article {
  position: relative;
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .35s,transform .35s;
}

.tm-culture__grid article:hover { background: rgba(255,255,255,.055); transform: translateY(-6px); }
.tm-culture__grid article > span { color: #686f79; font-size: 9px; }
.tm-culture__grid article > i { margin: 50px 0 auto; color: var(--tm-orange); font: 300 54px/1 "Manrope"; font-style: normal; }
.tm-culture__grid h3 { margin: 0 0 14px; font: 500 28px "Manrope"; letter-spacing: -.04em; }
.tm-culture__grid p { max-width: 340px; margin: 0; color: #8f97a2; font-size: 12px; line-height: 1.7; }

.tm-closing {
  position: relative;
  min-height: 680px;
  padding: 90px 5.3vw;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg,#22150f,#091018 54%,#071019);
  color: #fff;
}

.tm-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 75% 50%,#000,transparent 67%);
}

.tm-closing__copy { position: relative; z-index: 2; }
.tm-closing__copy > p { max-width: 520px; margin: 28px 0 0; color: #9ca4ae; font-size: 14px; line-height: 1.75; }

.tm-closing__art {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.tm-closing__art > span { position: absolute; color: rgba(255,255,255,.035); font: 800 clamp(130px,15vw,260px)/1 "Manrope"; letter-spacing: -.09em; }
.tm-closing__art i { position: absolute; width: 45%; aspect-ratio: 1; border: 1px solid rgba(244,119,33,.55); border-radius: 50%; box-shadow: 0 0 70px rgba(244,119,33,.1); }
.tm-closing__art i + i { width: 72%; opacity: .42; }
.tm-closing__art > img { position: relative; z-index: 3; width: 122%; max-width: none; max-height: 395px; object-fit: contain; filter: drop-shadow(0 38px 27px rgba(0,0,0,.7)); }
.tm-closing__art b { position: absolute; z-index: 4; right: 2%; bottom: 5%; width: 125px; height: 125px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(8,11,16,.68); font-size: 8px; line-height: 1.7; letter-spacing: .17em; text-align: center; backdrop-filter: blur(10px); }

@keyframes tmHeroReveal {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .tm-hero__copy { width: min(600px,52vw); }
  .tm-location__layout { grid-template-columns: .8fr 1.2fr; }
  .tm-location--featured .tm-location__layout { grid-template-columns: minmax(300px,.9fr) minmax(440px,1.1fr); }
  .tm-location__showroom { min-height: 620px; }
  .tm-member__photo { height: 230px; }
  .tm-location-nav a { min-width: 145px; }
}

@media (max-width: 900px) {
  .tm-hero__copy { width: min(620px,70vw); }
  .tm-hero__shade { background: linear-gradient(90deg,rgba(5,8,12,.96),rgba(5,8,12,.48) 70%,rgba(5,8,12,.25)),linear-gradient(0deg,rgba(3,5,8,.72),transparent 52%); }
  .tm-intro,.tm-culture__head,.tm-closing { grid-template-columns: 1fr; }
  .tm-location__head { grid-template-columns: 1fr; gap: 28px; }
  .tm-location__head > p { max-width: 640px; }
  .tm-location__layout { grid-template-columns: 1fr; }
  .tm-location--featured .tm-location__layout { grid-template-columns: 1fr; }
  .tm-location--reverse .tm-location__showroom,.tm-location--reverse .tm-members { order: initial; }
  .tm-location__showroom { min-height: 480px; }
  .tm-member__photo { height: 310px; }
  .tm-location--featured .tm-members { min-height: 0; }
  .tm-location--featured .tm-member__photo { flex: none; height: 410px; min-height: 0; }
  .tm-location-nav > span { display: none; }
  .tm-location-nav { justify-content: center; }
  .tm-culture__grid { grid-template-columns: 1fr; }
  .tm-culture__grid article { min-height: 250px; }
  .tm-culture__grid article > i { margin: 35px 0 auto; }
  .tm-closing__art { min-height: 350px; }
}

@media (max-width: 760px) {
  .team-page .site-header { position: fixed; }
  .tm-hero { height: 88svh; min-height: 700px; }
  .tm-hero__image { object-position: 57% center; }
  .tm-hero__shade { background: linear-gradient(90deg,rgba(5,8,12,.96),rgba(5,8,12,.45) 100%),linear-gradient(0deg,rgba(3,5,8,.82),transparent 50%); }
  .tm-hero__copy { left: 22px; right: 22px; top: 50%; width: auto; max-width: calc(100vw - 44px); }
  .tm-hero h1 { font-size: clamp(62px,18vw,86px); }
  .tm-hero__copy > p { width: 100%; max-width: calc(100vw - 44px); font-size: 13px; overflow-wrap: anywhere; }
  .tm-hero__actions,.tm-closing__actions { width: min(100%,350px); align-items: stretch; flex-direction: column; gap: 11px; }
  .tm-button,.tm-text-link { width: 100%; }
  .tm-hero__seal { display: none; }
  .tm-hero__meta { left: 22px; right: 22px; font-size: 7px; }
  .tm-hero__meta span:last-child { display: none; }
  .tm-intro { padding: 78px 22px; gap: 45px; }
  .tm-intro h2,.tm-culture h2,.tm-closing h2 { font-size: clamp(35px,9.5vw,46px); }
  .tm-intro__metrics { gap: 17px; }
  .tm-intro__metrics article { display: grid; gap: 8px; }
  .tm-location-nav { top: 64px; min-height: 62px; padding: 0; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .tm-location-nav::-webkit-scrollbar { display: none; }
  .tm-location-nav > div { min-width: 100%; }
  .tm-location-nav a { flex: 1 0 132px; min-width: 132px; padding: 0 14px; }
  .tm-location { padding: 75px 22px; scroll-margin-top: 122px; }
  .tm-location__head { margin-bottom: 38px; }
  .tm-location__title h2 { font-size: 57px; }
  .tm-location__showroom { min-height: 420px; }
  .tm-location__showroom figcaption { left: 18px; right: 18px; bottom: 18px; }
  .tm-location__showroom figcaption strong { max-width: 150px; font-size: 17px; }
  .tm-members { grid-template-columns: 1fr; }
  .tm-members > .tm-member:last-child:nth-child(odd) { display: block; grid-column: auto; }
  .tm-members > .tm-member:last-child:nth-child(odd) .tm-member__photo { height: min(96vw,390px); min-height: 0; }
  .tm-member__photo { height: min(96vw,390px); }
  .tm-location--featured .tm-member__photo { height: min(105vw,470px); min-height: 0; }
  .tm-member__copy { min-height: 135px; padding: 20px; }
  .tm-member__copy h3 { font-size: 25px; }
  .tm-culture { padding: 82px 22px; }
  .tm-culture__grid { margin-top: 48px; }
  .tm-culture__grid article { padding: 24px; }
  .tm-closing { min-height: auto; padding: 80px 22px 50px; gap: 30px; }
  .tm-closing__art { min-height: 300px; }
  .tm-closing__art > span { font-size: 30vw; }
  .tm-closing__art > img { width: calc(100vw - 26px); max-height: 270px; }
  .tm-closing__art b { width: 96px; height: 96px; right: 0; bottom: 0; font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-hero__image,.tm-member,.tm-member__photo img,.tm-location__showroom > img { animation: none; transition: none; }
}
