.team-about {
  padding-top: 0;
  overflow: clip;
  isolation: isolate;
}

.team-layout {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(2.5rem, 6vh, 5rem);
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1.6fr) minmax(0, 0.8fr);
  gap: clamp(1rem, 2.3vw, 2.5rem);
}

.team-layout::before {
  position: absolute;
  inset: 0 -20vw;
  z-index: -1;
  background:
    radial-gradient(ellipse at 52% 48%, rgb(139 92 246 / 0.13), transparent 43%),
    radial-gradient(ellipse at 48% 83%, rgb(79 70 229 / 0.09), transparent 40%);
  content: "";
  pointer-events: none;
}

.team-about .team-eyebrow {
  display: flex;
  margin: 0 0 1.6rem;
  align-items: center;
  color: var(--color-text-secondary);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  gap: 1rem;
}

.team-eyebrow::after {
  width: 2.1rem;
  height: 1px;
  background: var(--color-violet-light);
  content: "";
}

.team-about .team-intro h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(2.65rem, 4.05vw, 4.35rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.team-about .team-lead {
  max-width: 23ch;
  color: var(--color-text-secondary);
  font-size: clamp(0.98rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.team-stage {
  position: relative;
  min-width: 0;
  margin: 0;
  align-self: center;
}

.team-filter-definitions { position: absolute; pointer-events: none; }

.team-projection {
  position: relative;
  height: clamp(28rem, calc(100svh - var(--header-height) - 13rem), 43rem);
  outline: none;
  isolation: isolate;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.team-stage.is-hologram-ready .team-projection { cursor: grab; }
.team-stage.is-dragging .team-projection { cursor: grabbing; }
.team-projection:focus-visible { outline: 2px solid var(--color-violet-light); outline-offset: 5px; border-radius: 16px; }

.team-canvas,
.team-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.team-fallback {
  object-fit: fill;
  z-index: 2;
  mix-blend-mode: normal;
  opacity: 0.9;
  transition: opacity 420ms ease;
}

.team-canvas {
  z-index: 3;
  opacity: 0;
  transition: opacity 420ms ease;
}

.team-photo-fallback { position: absolute; z-index: 1; opacity: 0; pointer-events: none; }
.team-photo-contour { width: 100%; height: 100%; mask-size: 100% 100%; mask-repeat: no-repeat; mask-mode: luminance; }
.team-photo-contour img { display: block; width: 100%; height: 100%; object-fit: fill; }
.is-hologram-ready .team-photo-fallback { display: none; }

.is-hologram-ready .team-canvas { opacity: 1; }
.is-hologram-ready .team-fallback { opacity: 0; }
.team-stage.is-member-changing .team-canvas { opacity: 0; transition-duration: 140ms; }

.team-orbit {
  position: absolute;
  z-index: -1;
  top: 4%;
  left: 2%;
  width: 96%;
  height: 88%;
  border: 1px solid rgb(169 139 250 / 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.team-orbit-outer {
  transform: rotate(-22deg);
  background: conic-gradient(from 20deg, transparent 0 61%, rgb(139 92 246 / 0.65) 64%, transparent 68% 100%);
  mask: radial-gradient(ellipse, transparent 69.4%, #000 70% 70.5%, transparent 71.1%);
}

.team-orbit-inner {
  top: 10%;
  left: 9%;
  width: 82%;
  height: 74%;
  transform: rotate(18deg);
  border-color: rgb(196 181 253 / 0.075);
}

.team-projection-beam {
  position: absolute;
  inset: 27% 15% 8%;
  z-index: -1;
  background: linear-gradient(0deg, rgb(139 92 246 / 0.12), transparent 75%);
  clip-path: polygon(6% 0, 94% 0, 62% 100%, 38% 100%);
  pointer-events: none;
}

.team-projector {
  position: absolute;
  bottom: 3%;
  left: 9%;
  width: 82%;
  height: 12%;
  border: 1px solid rgb(169 139 250 / 0.3);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(196 181 253 / 0.38) 0 3%, rgb(139 92 246 / 0.16) 8%, transparent 58%);
  box-shadow: 0 15px 38px rgb(79 70 229 / 0.12), inset 0 0 22px rgb(139 92 246 / 0.05);
  pointer-events: none;
}

.team-projector::before,
.team-projector::after,
.team-projector span {
  position: absolute;
  inset: 14% 8%;
  border: 1px solid rgb(169 139 250 / 0.22);
  border-radius: inherit;
  content: "";
}

.team-projector::after { inset: 33% 31%; border-color: rgb(196 181 253 / 0.8); box-shadow: 0 0 18px rgb(139 92 246 / 0.48); }
.team-projector span { inset: -11% -6%; border-style: dashed; border-color: rgb(169 139 250 / 0.1); }

.team-stage-caption { min-height: 4.75rem; padding-top: 0.5rem; text-align: center; }
.team-about .team-interaction-help { max-width: none; margin: 0 0 0.5rem; color: var(--color-text-muted); font-size: 0.66rem; line-height: 1.5; }
.team-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 1.25rem; }
.team-controls[hidden], .team-interaction-help[hidden] { display: none; }
.team-controls button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #c4b5fd; font-size: 0.7rem; cursor: pointer; text-underline-offset: 0.3rem; }
.team-controls button:focus-visible { outline: 2px solid var(--color-violet-light); outline-offset: 4px; }
.team-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.team-about .team-profile-label { margin: 0 0 0.6rem; color: var(--color-text-muted); font-size: 0.69rem; line-height: 1.6; }
.team-profile h3 { margin: 0 0 0.2rem; font-size: clamp(2.6rem, 4.3vw, 4.6rem); font-weight: 620; letter-spacing: -0.055em; line-height: 1.1; }
.team-profile-dot { color: var(--color-violet-light); }
.team-about .team-role { margin: 0; color: #e2e8f0; font-size: 0.66rem; letter-spacing: 0.17em; line-height: 1.7; text-transform: uppercase; }
.team-profile-rule { width: 2rem; height: 2px; margin: 1.7rem 0; background: var(--color-violet-light); }
.team-about .team-profile-copy { max-width: 25ch; font-size: 0.94rem; line-height: 1.7; }
.team-focus { display: flex; margin: 1.7rem 0 2rem; padding: 0; color: var(--color-text-muted); list-style: none; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; }
.team-focus li { padding: 0.4rem 0.8rem; border-right: 1px solid var(--color-border); }
.team-focus li:first-child { padding-left: 0; }
.team-focus li:last-child { padding-right: 0; border: 0; }
.team-contact { min-height: 46px; padding-inline: 1.3rem; font-size: 0.84rem; white-space: nowrap; gap: 1rem; }
.team-profile-content { transition: opacity 220ms ease; }
.team-about.is-team-changing .team-profile-content { opacity: 0; transition-duration: 140ms; }
.team-switcher { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)) 44px; gap: 0.4rem; width: 100%; max-width: 23rem; margin-top: 1.75rem; }
.team-switcher button { min-width: 0; min-height: 44px; border: 1px solid rgb(169 139 250 / 0.25); background: transparent; color: var(--color-text-secondary); cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.team-switch-arrow { width: 44px; padding: 0; border-radius: 50%; font-size: 1.25rem; }
.team-member-button { padding: 0.4rem 0.2rem; border-radius: 999px; font-size: 0.75rem; white-space: nowrap; }
.team-member-counter { display: none; color: var(--color-text-muted); font-size: 0.66rem; letter-spacing: 0.12em; text-align: center; align-self: center; }
.team-switcher .team-member-button[aria-pressed="true"] { border-color: var(--color-violet-light); background: rgb(139 92 246 / 0.16); color: var(--color-text); }
.team-switcher .team-member-button[aria-busy="true"] { border-style: dashed; color: var(--color-violet-light); }
.team-switcher button:focus-visible { outline: 2px solid var(--color-violet-light); outline-offset: 4px; }
.team-about .team-switch-error { margin: 0.75rem 0 0; color: var(--color-text-secondary); font-size: 0.75rem; line-height: 1.5; }
.team-switch-error[hidden] { display: none; }

.team-manifesto { padding-block: clamp(2rem, 5vw, 4rem); }
.team-about .team-manifesto p { max-width: 54rem; margin-inline: auto; color: var(--color-text-secondary); font-size: clamp(1rem, 1.65vw, 1.2rem); line-height: 1.9; text-align: center; }
.team-about .consent-reviews { margin-top: clamp(3rem, 6vw, 5rem); }

@media (hover: hover) and (pointer: fine) {
  .team-controls button:hover { color: var(--color-text); text-decoration: underline; }
  .team-switcher button:hover { border-color: var(--color-violet-light); color: var(--color-text); }
}

@media (prefers-reduced-motion: no-preference) {
  .team-stage.is-hologram-ready .team-orbit-outer { animation: team-orbit-drift 28s linear infinite paused; }
  .team-stage.is-hologram-ready .team-projector span { animation: team-projector-breathe 5s ease-in-out infinite alternate paused; }
  .team-stage.is-playing .team-orbit-outer,
  .team-stage.is-playing .team-projector span { animation-play-state: running; }
}

@keyframes team-orbit-drift { from { transform: rotate(-22deg); } to { transform: rotate(338deg); } }
@keyframes team-projector-breathe { from { opacity: 0.45; transform: scale(0.97); } to { opacity: 1; transform: scale(1.03); } }

@media (min-width: 1024px) and (max-height: 740px) {
  .team-layout { padding-block: 1.6rem; }
  .team-projection { height: clamp(23rem, calc(100svh - var(--header-height) - 9rem), 33rem); }
  .team-about .team-intro h2 { font-size: clamp(2.55rem, 3.9vw, 3.75rem); }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .team-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-member-button { grid-row: 1; }
  .team-switcher [data-team-prev] { grid-column: 1; grid-row: 2; }
  .team-switcher [data-team-next] { grid-column: 3; grid-row: 2; justify-self: end; }
  .team-member-counter { display: block; grid-column: 2; grid-row: 2; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .team-layout { grid-template-columns: minmax(0, 1fr) minmax(20rem, 1.3fr); gap: 1rem 2rem; }
  .team-intro { grid-column: 1; }
  .team-stage { grid-column: 2; grid-row: 1 / span 2; }
  .team-profile { grid-column: 1; }
  .team-projection { height: 35rem; }
  .team-about .team-intro h2 { font-size: 2.8rem; }
  .team-about .team-lead { margin-bottom: 2rem; }
}

@media (max-width: 767px) {
  .team-layout { min-height: 0; padding-top: 3rem; padding-bottom: 0; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .team-intro { max-width: 30rem; }
  .team-about .team-intro h2 { max-width: none; margin-bottom: 1rem; font-size: clamp(2.7rem, 10vw, 4rem); }
  .team-about .team-intro h2 .accent-text br { display: none; }
  .team-about .team-lead { max-width: 28ch; font-size: 1rem; }
  .team-about .team-eyebrow { margin-bottom: 1rem; }
  .team-stage { width: min(100%, 30rem); justify-self: center; }
  .team-projection { height: clamp(26rem, 121vw, 35rem); }
  .team-stage-caption { min-height: 4.75rem; }
  .team-profile { max-width: 30rem; padding-block: 0.5rem 1.5rem; }
  .team-profile { display: contents; }
  .team-intro { order: 0; }
  .team-switcher { order: 1; position: sticky; top: calc(var(--header-height) + 0.5rem); z-index: 2; justify-self: center; max-width: 30rem; margin-top: 0; padding: 0.35rem; border-radius: 999px; background: rgb(15 23 42 / 0.96); }
  .team-stage { order: 2; }
  .team-profile-content { order: 3; padding-block: 0.5rem 1.5rem; }
  .team-switch-error { order: 4; }
  .team-profile h3 { font-size: 3.1rem; }
  .team-about .team-profile-copy { max-width: 30ch; font-size: 1rem; }
  .team-focus { margin-block: 1.25rem 1.5rem; font-size: 0.66rem; }
  .team-focus li { padding-inline: 1.1rem; }
  .team-contact { font-size: 0.9rem; }
  .team-manifesto { padding-top: 2rem; }
  .team-about .team-manifesto p { text-align: left; font-size: 1rem; line-height: 1.8; }
}

@media (prefers-reduced-motion: reduce) {
  .team-orbit, .team-projector span { animation: none !important; }
  .team-canvas, .team-fallback { transition: none; }
  .team-profile-content, .team-stage.is-member-changing .team-canvas { transition: none; }
}
