/* MicroDynamics — Teams card-grid page */

.teams-page {
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), transparent 420px),
    var(--paper);
}

.teams-page .announce {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.teams-page .announce .news .pill {
  background: var(--paper-2);
  color: var(--ink);
}

.teams-page .announce a:hover {
  color: #fff;
}

.teams-page .nav {
  background: rgba(223,227,234,.84);
  box-shadow: 0 18px 48px rgba(11,13,20,.08);
}

.teams-page .fade-up {
  opacity: 1;
  transform: none;
  transition: none;
}

.teams-page .fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

.teams-page .fade-up.d1 {
  transition-delay: 0s;
}

.teams-page .fade-up.d2 {
  transition-delay: 0s;
}

.teams-page .fade-up.d3 {
  transition-delay: 0s;
}

.teams-page .fade-up.d4 {
  transition-delay: 0s;
}

.teams-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,.12);
  min-height: 0;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(115deg, rgba(135,9,31,.42), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 34%),
    #0b0d14;
  color: #fff;
}

.teams-hero .wrap {
  max-width: none;
  width: 100%;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.teams-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.065) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.08) 48% 49%, transparent 49% 100%);
  background-size: 84px 84px, 84px 84px, 420px 420px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
  pointer-events: none;
  animation: team-grid-drift 18s linear infinite;
}

.teams-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10vw;
  bottom: 0;
  z-index: -1;
  width: min(760px, 58vw);
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 44%, rgba(135,9,31,.34)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 28px);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 15% 58%);
  opacity: .82;
}

.teams-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 104px;
}

.teams-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-left: 38px;
  border-left: 4px solid var(--crimson-2);
}

.teams-hero-copy-about {
  width: min(1100px, 100%);
  max-width: none;
  gap: 18px;
}

.teams-hero-copy-about p {
  max-width: none;
  font-size: 18px;
  line-height: 1.62;
}

.teams-hero-copy::after {
  content: '';
  width: min(420px, 72%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.72), transparent);
}

.teams-hero-copy .meta {
  align-self: flex-start;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(12px);
}

.teams-hero-copy h1 {
  font-family: var(--f-display);
  font-size: clamp(68px, 8vw, 118px);
  font-weight: 300;
  line-height: .84;
  letter-spacing: 0;
  max-width: 9ch;
  color: #fff;
  text-wrap: balance;
}

.teams-hero-copy h1 em {
  font-family: inherit;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}

.teams-hero-copy p {
  max-width: 54ch;
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255,255,255,.76);
}

.teams-hero-media {
  position: relative;
  z-index: 2;
  min-height: 650px;
  perspective: 1200px;
}

.teams-hero-media::before {
  content: '';
  position: absolute;
  inset: 9% 4% 8% 10%;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.035)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,.05) 23px 24px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 34px 90px rgba(0,0,0,.26);
  transform: skewY(-2deg);
}

.teams-hero-media::after {
  content: '';
  position: absolute;
  right: 3%;
  top: 14%;
  bottom: 12%;
  width: 8px;
  background: linear-gradient(180deg, var(--crimson-2), rgba(217,47,70,.08));
  box-shadow: 0 0 34px rgba(217,47,70,.28);
}

.hero-portrait {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  transition:
    transform .75s cubic-bezier(.22, 1, .36, 1),
    box-shadow .75s cubic-bezier(.22, 1, .36, 1),
    border-color .75s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.9) contrast(1.04);
  transform: scale(1.01);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), filter .75s ease;
}

.hero-portrait figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(11,13,20,.72);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-portrait figcaption span {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1;
}

.hero-portrait figcaption small {
  max-width: 14ch;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.teams-hero-media:hover .hero-portrait {
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 34px 90px rgba(0,0,0,.34);
}

.teams-hero-media:hover .hero-portrait-main {
  transform: translate3d(-8px, -8px, 0) rotate(-1.5deg);
}

.teams-hero-media:hover .hero-portrait-top {
  transform: translate3d(10px, -10px, 0) rotate(3deg);
}

.teams-hero-media:hover .hero-portrait-bottom {
  transform: translate3d(12px, 10px, 0) rotate(-3deg);
}

.teams-hero-media:hover .hero-portrait img {
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.045);
}

.hero-portrait-main {
  inset: 5% 16% 10% 6%;
  z-index: 2;
  transform: rotate(-1.5deg);
}

.hero-portrait-top {
  top: 0;
  right: 2%;
  width: 43%;
  height: 35%;
  z-index: 3;
  transform: rotate(3deg);
}

.hero-portrait-bottom {
  right: 7%;
  bottom: 2%;
  width: 51%;
  height: 36%;
  z-index: 4;
  transform: rotate(-3deg);
}

.teams-hero-plate {
  position: absolute;
  left: 9%;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: end;
  gap: 12px;
  background: var(--crimson);
  color: #fff;
  padding: 18px 20px;
  min-width: 190px;
}

.teams-hero-plate span {
  font-family: var(--f-display);
  font-size: 58px;
  line-height: .78;
  letter-spacing: 0;
}

.teams-hero-plate small {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  line-height: 1.25;
  text-transform: uppercase;
  max-width: 11ch;
}

.dossier-section {
  position: relative;
  overflow: visible;
  padding: 86px 0 104px;
  background:
    linear-gradient(90deg, rgba(11,13,20,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11,13,20,.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,0) 360px),
    var(--paper-2);
  background-size: 80px 80px;
  border-bottom: 1px solid var(--line);
}

.dossier-layout {
  display: block;
  --team-row-width: min(1100px, 100%);
}

.dossier-console {
  position: static;
  top: auto;
  z-index: 18;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
  gap: 24px 70px;
  align-items: end;
  margin-bottom: 34px;
  padding: 22px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: var(--ink-2);
  color: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.dossier-console > .meta {
  grid-column: 1 / -1;
}

.dossier-console h2 {
  font-family: var(--f-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 300;
  line-height: .95;
  letter-spacing: 0;
  max-width: 14ch;
  color: #fff;
  transition: color .45s ease;
}

.dossier-console p {
  max-width: 58ch;
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.58;
}

/* Center section headers and grids */
.dossier-console-compact {
  grid-template-columns: 1fr;
  align-items: center;
  text-align: left;
  width: var(--team-row-width);
  margin-left: auto;
  margin-right: auto;
  min-height: 150px;
}

.dossier-console-compact h2 {
  max-width: none;
}

.dossier-console-compact .meta {
  align-self: flex-start;
}

.dossier-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dossier-stats span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mute);
}

.dossier-stats span + span {
  border-left: 1px solid var(--line);
}

.dossier-stats b {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--crimson);
}

.dossier-jump {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dossier-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dossier-jump a:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 260px));
  justify-content: center;
  width: var(--team-row-width);
  margin-left: auto;
  margin-right: auto;
  gap: 28px 20px;
  align-items: stretch;
  grid-auto-rows: 1fr;
  border-top: 0;
}

.dossier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 320px;
  height: 100%;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(28,30,37,.98), rgba(28,30,37,.98)),
    #1C1E25;
  border: 1px solid rgba(11,13,20,.13);
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(11,13,20,.12);
  overflow: hidden;
  transition: none;
  will-change: auto;
}

.dossier-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  top: 0;
  bottom: auto;
  z-index: 2;
  width: auto;
  height: 0;
  border-radius: 0;
  background: none;
  pointer-events: none;
  transform: none;
  transition: none;
}

.dossier-card:hover {
  z-index: auto;
  border-color: rgba(11,13,20,.13);
  box-shadow: 0 18px 46px rgba(11,13,20,.08);
  transform: none;
}

.teams-page .dossier-card.fade-up {
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .42s cubic-bezier(.22, 1, .36, 1),
    border-color .42s ease,
    box-shadow .42s ease,
    background .42s ease;
}

.teams-page .dossier-card.fade-up.in:hover {
  transform: none;
}

.dossier-card:hover::before {
  transform: none;
}

.dossier-invert {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 38%),
    var(--ink);
  color: #fff;
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 22px 58px rgba(11,13,20,.18);
}

.dossier-invert:hover {
  border-color: rgba(217,47,70,.72);
  box-shadow: 0 28px 64px rgba(11,13,20,.24);
}

.dossier-invert::before {
  background: linear-gradient(90deg, var(--crimson-2), rgba(255,255,255,.2));
}

.dossier-photo {
  position: relative;
  top: auto;
  right: auto;
  overflow: hidden;
  width: 100%;
  height: 196px;
  aspect-ratio: auto;
  border: 1px solid rgba(11,13,20,.08);
  border-radius: 0;
  background: linear-gradient(180deg, #fbfbfb, #f0f0f0);
  box-shadow: none;
}

.dossier-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  transition: inset .42s cubic-bezier(.22, 1, .36, 1), border-color .42s ease;
}

.dossier-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,0) 46%),
    linear-gradient(135deg, rgba(11,13,20,.05), rgba(11,13,20,0));
}

.dossier-photo-placeholder {
  border-bottom: 1px solid rgba(11,13,20,.08);
}

.dossier-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(.98) contrast(1.02);
  transform: scale(1.32);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .42s ease;
}

.dossier-card:hover .dossier-photo::before {
  inset: 7px;
  border-color: rgba(196,34,26,.34);
}

.dossier-card:hover .dossier-photo img {
  filter: saturate(.98) contrast(1.02);
  transform: scale(1.32);
}

.dossier-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(28,30,37,.88), rgba(28,30,37,.98));
}

.dossier-topline,
.dossier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}

.dossier-topline span,
.dossier-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(135,9,31,.08);
  color: var(--crimson);
}

.dossier-invert .dossier-topline,
.dossier-invert .dossier-meta {
  color: rgba(255,255,255,.62);
}

.dossier-invert .dossier-topline span,
.dossier-invert .dossier-meta span {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
}

.dossier-body h3 {
  max-width: none;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--crimson-2);
  transform-origin: left center;
  transition: color .32s ease, text-shadow .32s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
}

.dossier-card:hover .dossier-body h3 {
  color: var(--crimson-2);
  text-shadow: none;
  transform: none;
}

.dossier-role {
  align-self: flex-start;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,.92);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  transform-origin: left center;
  transition:
    border-color .32s ease,
    background-color .32s ease,
    color .32s ease,
    transform .32s cubic-bezier(.22, 1, .36, 1);
}

.dossier-card:hover .dossier-role {
  transform: none;
  border-color: transparent;
  background: transparent;
}

.dossier-invert .dossier-role {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
}

.dossier-invert:hover .dossier-role {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
}

.dossier-body blockquote {
  max-width: none;
  margin: 4px 0 2px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(135,9,31,.24);
  font-family: var(--f-body);
  font-size: 23px;
  line-height: 1.16;
  color: var(--crimson);
  transform-origin: left center;
  transition: color .32s ease, text-shadow .32s ease, transform .32s cubic-bezier(.22, 1, .36, 1), border-color .32s ease;
}

.dossier-card:hover .dossier-body blockquote {
  color: #a40f29;
  text-shadow: 0 14px 32px rgba(135,9,31,.2);
  transform: translateX(3px) scale(1.075);
  border-top-color: rgba(135,9,31,.38);
}

.dossier-invert .dossier-body blockquote {
  color: var(--crimson-2);
  border-top-color: rgba(255,255,255,.18);
}

.dossier-invert:hover .dossier-body h3 {
  color: #fff;
  text-shadow: 0 14px 32px rgba(0,0,0,.3);
}

.dossier-invert:hover .dossier-body blockquote {
  color: #ff6b78;
  text-shadow: 0 14px 34px rgba(217,47,70,.28);
}

.dossier-invert .dossier-body h3 {
  color: #fff;
}

.dossier-meta {
  margin-top: auto;
}

.dossier-lab-note {
  position: static;
  top: auto;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 0;
  margin: 22px 0;
  padding: 22px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: var(--ink-2);
  color: #fff;
  overflow: visible;
  transition: none;
}

.dossier-lab-note:hover {
  transform: none;
  box-shadow: none;
}

.teams-page .dossier-lab-note.fade-up {
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .42s cubic-bezier(.22, 1, .36, 1),
    box-shadow .42s ease;
}

.teams-page .dossier-lab-note.fade-up.in:hover {
  transform: none;
}

@keyframes team-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 84px 84px, 84px 84px; }
}

.dossier-lab-note h3 {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.dossier-lab-note p {
  max-width: 58ch;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.55;
}

.dossier-lab-note-compact {
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left; /* Keeps 'Team' header left-aligned */
  width: var(--team-row-width);
  margin-left: auto;
  margin-right: auto;
  min-height: 150px;
}

.dossier-lab-note-compact h3 {
  max-width: none;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 300;
  line-height: .95;
}

.teams-page .fade-up,
.teams-page .fade-up.in,
.teams-page .dossier-card.fade-up,
.teams-page .dossier-lab-note.fade-up {
  opacity: 1;
  transform: none;
  transition: none;
}

.teams-page .dossier-card,
.teams-page .dossier-card::before,
.teams-page .dossier-photo::before,
.teams-page .dossier-photo img,
.teams-page .dossier-body h3,
.teams-page .dossier-role,
.teams-page .dossier-body blockquote,
.teams-page .dossier-body > p:not(.dossier-role),
.teams-page .dossier-lab-note {
  transition: none;
  will-change: auto;
}

.teams-page .dossier-card:hover,
.teams-page .dossier-card.fade-up.in:hover {
  z-index: auto;
  border-color: rgba(11,13,20,.13);
  box-shadow: 0 18px 46px rgba(11,13,20,.08);
  transform: none;
}

.teams-page .dossier-card:hover::before {
  transform: none;
}

.teams-page .dossier-card:hover .dossier-photo::before {
  inset: 7px;
  border-color: rgba(196,34,26,.34);
}

.teams-page .dossier-card:hover .dossier-photo img {
  filter: saturate(.98) contrast(1.02);
  transform: scale(1.32);
}

.teams-page .dossier-card:hover .dossier-body h3,
.teams-page .dossier-card:hover .dossier-role,
.teams-page .dossier-card:hover .dossier-body blockquote,
.teams-page .dossier-card:hover .dossier-body > p:not(.dossier-role),
.teams-page .dossier-lab-note:hover,
.teams-page .dossier-lab-note.fade-up.in:hover {
  transform: none;
  text-shadow: none;
}

.teams-page .dossier-card:hover .dossier-body h3 {
  color: var(--crimson);
}

.teams-page .dossier-card:hover .dossier-role {
  border-color: transparent;
  background: transparent;
  color: rgba(255,255,255,.92);
}

.dossier-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  color: var(--crimson-2);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.dossier-linkedin span {
  display: inline-block;
  transition: none;
}

.teams-page .dossier-card:hover .dossier-body blockquote {
  color: var(--crimson);
  border-top-color: rgba(135,9,31,.24);
}

.teams-page .dossier-lab-note:hover {
  box-shadow: none;
}

.teams-page .dossier-body {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: border-color .32s ease, background .32s ease, box-shadow .32s ease;
}

.teams-page .dossier-body::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--crimson-2);
  transform: scaleY(.32);
  transform-origin: top;
  transition: transform .32s ease;
}

.teams-page .dossier-body h3,
.teams-page .dossier-role,
.teams-page .dossier-linkedin {
  position: relative;
  z-index: 1;
  transition: color .32s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
}

.teams-page .dossier-linkedin span {
  transition: transform .32s ease;
}

.teams-page .dossier-card:hover .dossier-body {
  border-top-color: rgba(242,75,62,.34);
  background:
    linear-gradient(135deg, rgba(242,75,62,.18), rgba(255,255,255,.035)),
    linear-gradient(180deg, rgba(28,30,37,.88), rgba(28,30,37,.98));
}

.teams-page .dossier-card:hover .dossier-body::before {
  transform: scaleY(1);
}

.teams-page .dossier-card:hover .dossier-linkedin {
  color: var(--crimson-2);
}

.teams-page .dossier-card:hover .dossier-linkedin span {
  transform: translateX(3px);
}

em,
i {
  font-family: inherit !important;
  font-style: normal !important;
}

@media (max-width: 1180px) {
  .teams-hero {
    min-height: 0;
  }

  .dossier-console {
    grid-template-columns: 1fr;
  }

  .teams-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 74px;
    padding-bottom: 82px;
  }

  .teams-hero-media {
    min-height: 520px;
  }

  .dossier-console h2,
  .dossier-console p,
  .dossier-stats,
  .dossier-jump {
    grid-column: auto;
  }

}

@media (max-width: 900px) {
  .teams-hero-grid {
    grid-template-columns: 1fr;
  }

  .teams-hero-media {
    min-height: 500px;
  }

  .dossier-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 240px));
    justify-content: center;
  }

  .dossier-card {
    display: flex;
  }

  .dossier-photo {
    width: 100%;
    height: 190px;
  }

  .dossier-console,
  .dossier-lab-note {
    top: 82px;
  }
}

@media (max-width: 760px) {
  .teams-page .announce .wrap {
    justify-content: center;
  }

  .teams-page .announce .right {
    display: none;
  }

  .teams-page .announce .news {
    width: 100%;
    justify-content: center;
  }

  .teams-page .announce .news > span:not(.pill) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .teams-page .nav .wrap {
    height: 68px;
  }

  .teams-page .nav-cta {
    gap: 8px;
  }

  .teams-page .nav-cta .btn-small {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .teams-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .teams-hero-copy h1 {
    font-size: 58px;
  }

  .teams-hero-copy p,
  .dossier-lab-note p {
    font-size: 17px;
  }

  .teams-hero-media {
    min-height: 400px;
  }

  .hero-portrait figcaption {
    left: 9px;
    right: 9px;
    bottom: 9px;
    display: block;
    padding: 8px 9px;
    gap: 8px;
  }

  .hero-portrait figcaption span {
    display: block;
    font-size: 15px;
  }

  .hero-portrait figcaption small {
    display: block;
    max-width: none;
    margin-top: 3px;
    font-size: 8px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-portrait-main {
    inset: 0 18% 20% 0;
  }

  .hero-portrait-top {
    width: 45%;
    height: 30%;
  }

  .hero-portrait-bottom {
    width: 58%;
    height: 31%;
    right: 0;
  }

  .teams-hero-plate {
    left: 0;
  }

  .dossier-section {
    padding: 70px 0;
  }

  .dossier-console,
  .dossier-lab-note {
    position: static;
    top: auto;
  }

  .dossier-console h2,
  .dossier-lab-note h3 {
    font-size: 40px;
  }

  .dossier-stats,
  .dossier-grid,
  .dossier-lab-note {
    grid-template-columns: 1fr;
  }

  .dossier-card {
    height: auto;
    min-height: 0;
  }

  .dossier-card {
    padding-top: 122px;
  }

  .dossier-photo {
    top: 20px;
    left: 20px;
    right: auto;
    width: 82px;
    height: 82px;
  }

  .dossier-body h3 {
    max-width: none;
  }

  .dossier-stats span,
  .dossier-stats span + span {
    min-height: 0;
    border-left: 0;
  }

  .dossier-card {
    padding: 122px 12px 12px;
  }

  .dossier-photo {
    max-width: none;
    aspect-ratio: 1 / 1;
  }

  .dossier-body h3 {
    font-size: 23px;
  }

  .dossier-body blockquote {
    font-size: 21px;
  }

  .dossier-body > p:not(.dossier-role) {
    max-width: none;
    padding-left: 14px;
    font-size: 15px;
    line-height: 1.62;
  }

  .dossier-body blockquote + p:not(.dossier-role)::first-letter {
    font-size: 1.85em;
  }

  .dossier-card:hover .dossier-body h3,
  .dossier-card:hover .dossier-role,
  .dossier-card:hover .dossier-body blockquote,
  .dossier-card:hover .dossier-body > p:not(.dossier-role) {
    transform: none;
    text-shadow: none;
  }

  .dossier-lab-note {
    display: block;
    padding: 20px;
  }

  .dossier-lab-note h3 {
    font-size: 26px;
  }

  .dossier-lab-note p {
    margin-top: 8px;
    font-size: 15px;
  }
}

@media (hover: none), (pointer: coarse) {
  .dossier-card:hover .dossier-body h3,
  .dossier-card:hover .dossier-role,
  .dossier-card:hover .dossier-body blockquote,
  .dossier-card:hover .dossier-body > p:not(.dossier-role) {
    transform: none;
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teams-page *,
  .teams-page *::before,
  .teams-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .teams-page .fade-up,
  .teams-page .fade-up.in,
  .dossier-card,
  .dossier-card:hover,
  .dossier-lab-note,
  .dossier-lab-note:hover,
  .hero-portrait,
  .teams-hero-media:hover .hero-portrait-main,
  .teams-hero-media:hover .hero-portrait-top,
  .teams-hero-media:hover .hero-portrait-bottom,
  .dossier-photo img,
  .dossier-card:hover .dossier-photo img {
    transform: none !important;
  }
}


/* === Shared hero pattern overlay === */
/* === Full-Width Uniform Pattern for Banners & Cards === */
/* Sets the exact lighter charcoal grey background and applies the uniform vertical line pattern */
.dossier-console,
.dossier-lab-note,
.dossier-card,
.dossier-body {
  background: #202228;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dossier-console::after,
.dossier-lab-note::after,
.dossier-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 1px, transparent 1px 28px);
  opacity: 0.6;
}

.dossier-console > *, 
.dossier-lab-note > *, 
.dossier-body > * { 
  position: relative; 
  z-index: 1; 
}
