.team-section { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--black); color: var(--white); isolation: isolate; }
.team-eyebrow, .team-number, .team-caption { font: 11px/1.5 var(--font-mono, monospace); letter-spacing: .12em; text-transform: uppercase; }
.team-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.team-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 22px var(--signal); }
.team-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.team-heading h2 { margin: 0; font: normal clamp(36px, 4.5vw, 64px)/.94 var(--font-heading); letter-spacing: -.065em; }
.team-heading h2 em { font-family: var(--font-serif); font-weight: normal; color: var(--signal); }
.team-heading p { max-width: 29ch; margin: 0 0 5px; font-size: 17px; line-height: 1.6; opacity: .65; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 840px; margin-inline: auto; perspective: 1400px; }
.team-card { min-width: 0; position: relative; text-align: center; }
.team-surface { position: relative; width: clamp(112px, 14vw, 176px); margin-inline: auto; aspect-ratio: 1; overflow: hidden; background: #272a25; border: 1px solid #ffffff25; border-radius: 50%; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease, border-color .35s; }
.team-card:hover .team-surface { border-color: var(--signal); }
.team-surface::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), #ffffff20, transparent 55%); opacity: 0; transition: opacity .4s; }
.team-card:hover .team-surface::after { opacity: 1; }
.team-number { position: absolute; top: 22px; left: 22px; z-index: 2; }
.team-stamp { position: absolute; top: 20px; right: 20px; z-index: 2; font-size: 25px; color: var(--signal); }
.team-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1); transform: scale(1.025); transition: filter .65s, transform .9s cubic-bezier(.2,.7,.2,1); }
.team-card:hover .team-portrait { filter: grayscale(0); transform: scale(1.08); }
.team-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(#0005, transparent 30%, #0008); pointer-events: none; }
.team-caption { position: absolute; bottom: 22px; left: 22px; z-index: 2; opacity: .8; }
.team-art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.team-art--orbit { background: radial-gradient(ellipse at 50% 55%, #686d5266, transparent 65%), #23261f; }
.team-art--wave { background: radial-gradient(ellipse at 55% 50%, #ac683638, transparent 65%), #26241f; }
.team-initials { position: relative; z-index: 1; font: normal clamp(54px, 6vw, 80px)/1 var(--font-serif); letter-spacing: -.07em; color: var(--white); mix-blend-mode: screen; }
.team-orbit { position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid var(--signal); border-radius: 50%; transform: rotate(-32deg) scaleX(.52); opacity: .65; }
.team-orbit:nth-child(2) { transform: rotate(28deg) scaleX(.52); }
.team-orbit:nth-child(3) { transform: rotate(88deg) scaleX(.52); }
.team-wave { position: absolute; width: 75%; aspect-ratio: 1; border: 1px solid var(--signal); border-radius: 24%; transform: rotate(calc(var(--i) * 12deg)) scale(calc(1 - var(--i) * .075)); opacity: .5; }
.team-name { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 18px 0 0; }
.team-name h3 { font: normal clamp(18px, 2vw, 24px)/1.04 var(--font-heading); letter-spacing: -.035em; margin: 0; }
.team-name h3 span { display: block; }
.team-name > span { color: var(--signal); font-size: 28px; transition: transform .4s; }
.team-card:hover .team-name > span { transform: rotate(90deg); }
@media (max-width: 767px) {
  .team-heading { align-items: flex-start; flex-direction: column; gap: 25px; margin-bottom: 36px; }
  .team-heading p { max-width: 36ch; }
  .team-grid { gap: 16px; }
  .team-surface { width: clamp(80px, 19vw, 132px); }
  .team-initials { font-size: clamp(40px, 9vw, 62px); }
  .team-name h3 { font-size: clamp(15px, 3vw, 20px); line-height: 1.2; }
  .team-name h3 span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .team-section *, .team-section *::after { transition: none !important; animation: none !important; }
  .team-surface { transform: none; }
}

.team-number, .team-stamp, .team-caption, .team-name > span { display: none; }
.team-photo::before { background: linear-gradient(transparent 65%, #0003); }

/* Compact portrait layout */
.team-section { padding-block: clamp(50px, 6vw, 78px) 34px; }
.team-heading { margin-bottom: 32px; }
.team-surface { width: clamp(112px, 14vw, 164px); }
.team-photo::before { display: none; }
.team-portrait { display: block; filter: grayscale(1); }
.team-card:hover .team-portrait { filter: grayscale(1); }
.team-role { margin: 10px auto 0; color: #ffffffa3; font: 12px/1.45 var(--font-heading); letter-spacing: -.015em; }
.team-role span { display: block; white-space: nowrap; }
@media (max-width: 600px) {
  .team-section { padding-block: 48px 28px; }
  .team-heading { margin-bottom: 28px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .team-card { scroll-snap-align: start; }
  .team-surface { width: 112px; }
  .team-name h3 { font-size: 19px; }
  .team-role { font-size: 11px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: repeat(3, minmax(168px, 1fr)); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .team-grid::-webkit-scrollbar { display: none; }
}
