/* A remote-team portrait, composed from the actual About-page photographs. */
.careers-hero.team-call-hero {
  background: #0c0d0e;
  padding: clamp(7.5rem, 11vw, 10rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.careers-hero.team-call-hero::after {
  background: radial-gradient(ellipse at 87% 44%, #74601a28, transparent 55%),
    linear-gradient(135deg, #161719 0%, #0c0d0e 60%);
  opacity: 1;
  pointer-events: none;
}
.team-call-hero .careers-hero-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.team-call-hero h1 {
  font-size: clamp(2.65rem, 4.4vw, 4.4rem);
  line-height: 1.08;
  max-width: 15ch;
}
.team-call-hero .lede { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.7; }
.team-call-hero .subhero-actions { flex-wrap: wrap; }
.team-call-copy { min-width: 0; }
.team-call-kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  color: #d7d7d7;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.team-call-kicker::before { content: ''; width: 22px; height: 2px; background: #ffd600; }
.team-call-window {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(.65rem, 1.3vw, 1rem);
  border: 1px solid #ffffff3d;
  border-radius: 16px;
  background: linear-gradient(145deg, #282a2d, #151618 55%);
  box-shadow: 0 28px 80px -28px #000c, 0 0 65px -30px #ffcc0033;
}
.team-call-window::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffe572, transparent);
  pointer-events: none;
}
.team-call-header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0 0 .8rem; }
.team-call-brand { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.team-call-brand img { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.team-call-brand strong { display: block; font-size: .78rem; color: #fff; line-height: 1.4; }
.team-call-brand span { display: block; font-size: .59rem; color: #c7c7c7; line-height: 1.5; }
.team-call-count { display: inline-flex; align-items: center; gap: .3rem; color: #ddd; font-size: .7rem; }
.team-call-count svg { width: 17px; height: 17px; }
.team-call-count .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.team-call-leaders, .team-call-roster { display: grid; list-style: none; padding: 0; margin: 0; gap: 6px; }
.team-call-leaders { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 6px; }
.team-call-roster { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.team-call-person {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 5px;
  background: radial-gradient(ellipse at 50% 28%, #e4e4e4, #999 100%);
}
.team-call-leaders .team-call-person { aspect-ratio: 1; }
.team-call-leaders .team-call-person:first-child { border-color: #ffdc3c; box-shadow: inset 0 0 0 1px #ffdc3c; }
.team-call-person img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-call-person::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #000b); pointer-events: none; }
.team-call-person-name {
  position: absolute;
  left: 4px;
  right: 2px;
  bottom: 4px;
  z-index: 1;
  color: #fff;
  font-size: clamp(.48rem, .65vw, .61rem);
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 3px #000;
}
.team-call-leaders .team-call-person-name { left: 6px; bottom: 6px; font-size: clamp(.6rem, .85vw, .78rem); }
.team-call-footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-top: .85rem; }
.team-call-footer p { margin: 0; color: #ddd; font-size: .66rem; line-height: 1.5; }
.team-call-footer strong { display: block; color: #fff; font-size: .75rem; }
.team-call-join { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem .8rem; border: 1px solid #f0c900; border-radius: 5px; background: var(--gradient-warm); color: #080808; font-size: .73rem; font-weight: 800; white-space: nowrap; }
.team-call-join:hover { background: #ffe36a; color: #080808; }
.team-call-join:focus-visible, .team-call-about:focus-visible { outline: 3px solid #ffdc3c; outline-offset: 4px; }
.team-call-about { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: #ddd; font-size: .75rem; text-decoration: underline; text-underline-offset: 4px; }
.team-call-about:hover { color: #ffdc3c; }
.team-call-hero .company-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.5rem; border: 0; border-top: 1px solid #ffffff26; border-radius: 0; background: transparent; gap: 0; }
.team-call-hero .company-stat { padding: 1.1rem 1.3rem 0; border-left: 1px solid #ffffff26; background: transparent; }
.team-call-hero .company-stat:first-child { padding-left: 0; border-left: 0; }
.team-call-hero .company-stat .num { font-size: 1.55rem; }
.team-call-hero .company-stat .lbl { font-size: .65rem; }
@media (max-width: 900px) {
  .team-call-hero .careers-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-call-hero h1 { max-width: 18ch; font-size: clamp(2.65rem, 7vw, 4.1rem); }
  .team-call-hero .lede { max-width: 62ch; }
  .team-call-visual { width: 100%; max-width: 620px; margin-inline: auto; }
  .team-call-person-name { font-size: .6rem; }
  .team-call-leaders .team-call-person-name { font-size: .78rem; }
}
@media (max-width: 480px) {
  .careers-hero.team-call-hero { padding-top: 7rem; }
  .team-call-window { padding: .6rem; border-radius: 10px; }
  .team-call-leaders, .team-call-roster { gap: 4px; }
  .team-call-leaders { margin-bottom: 4px; }
  .team-call-person { border-radius: 3px; }
  .team-call-person-name { left: 2px; bottom: 3px; font-size: .43rem; }
  .team-call-leaders .team-call-person-name { left: 4px; bottom: 4px; font-size: .6rem; }
  .team-call-footer p { font-size: .58rem; }
  .team-call-footer strong { font-size: .66rem; }
  .team-call-join { font-size: .66rem; padding-inline: .65rem; }
  .team-call-hero .company-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 0; }
  .team-call-hero .company-stat { padding-top: .8rem; }
  .team-call-hero .company-stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* Department meetings share one reserved stage so the page never resizes. */
.team-meeting-stage { position: relative; width: 100%; aspect-ratio: 1.04; overflow: hidden; isolation: isolate; }
.team-call-window[data-meeting-enhanced] .team-meeting-frame { position: absolute; inset: 0; }
.team-meeting-grid {
  display: grid;
  grid-template-columns: repeat(var(--meeting-columns, 3), minmax(0, 1fr));
  grid-template-rows: repeat(var(--meeting-rows, 3), minmax(0, 1fr));
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
  height: 100%;
}
.team-meeting-grid .team-call-person { aspect-ratio: auto; min-height: 0; border-radius: 7px; }
.team-meeting-grid .team-call-person:first-child { border-color: #ffdc3c; }
.team-meeting-grid .team-call-person-name { left: 8px; bottom: 8px; font-size: clamp(.65rem, 1vw, .85rem); }
.team-call-count { min-width: 3.5rem; justify-content: flex-end; }
.team-call-brand [data-meeting-label] { min-height: 1.5em; }
.team-call-window [hidden] { display: none !important; }
.team-meeting-controls { display: flex; justify-content: flex-end; align-items: center; padding-top: .65rem; visibility: hidden; }
.team-call-window[data-meeting-enhanced] .team-meeting-controls { visibility: visible; }
.team-meeting-toggle {
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid #ffffff55;
  border-radius: 4px;
  background: #333538;
  color: #fff;
  font: inherit;
  font-size: .64rem;
  line-height: 1.4;
  font-weight: 700;
}
.team-meeting-toggle:hover { background: #484a4d; }
.team-meeting-toggle:disabled { opacity: .65; cursor: default; }
.team-meeting-controls button:focus-visible { outline: 3px solid #ffdc3c; outline-offset: 3px; }
.team-meeting-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.team-meeting-frame.is-entering { z-index: 2; animation: meeting-frame-arrives 800ms ease-in-out both; will-change: opacity; }
.team-meeting-frame.is-leaving { z-index: 1; animation: meeting-frame-leaves 800ms ease-in-out both; will-change: opacity; }
@keyframes meeting-frame-arrives { from { opacity: 0; } to { opacity: 1; } }
@keyframes meeting-frame-leaves { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 480px) {
  .team-meeting-grid { gap: 5px; }
  .team-meeting-grid .team-call-person { border-radius: 4px; }
  .team-meeting-grid .team-call-person-name { left: 5px; bottom: 5px; font-size: .6rem; }
  .team-meeting-toggle { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .team-meeting-frame { animation: none !important; opacity: 1 !important; }
}

/* The company meeting is an arcade fighter roster; department portraits retain their own backdrops. */
.team-meeting-frame[data-meeting-scene="all"] .team-call-person { background: radial-gradient(ellipse at 50% 24%, #4e432b 0%, #252b38 52%, #10131c 100%); border-color: #ffffff38; }
.team-meeting-frame[data-meeting-scene="all"] .team-call-leaders .team-call-person:first-child { border-color: #ffdc3c; }

/* The full-company roster reserves room for 35 people while department scenes keep their existing stage. */
.team-call-roster .team-call-person { aspect-ratio: 1.1; }
