.project-team {
  color: #2c2030;
  background: #fff2e6;
}
.project-team-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(36px, 7vw, 114px);
  padding-block: clamp(42px, 4.4vw, 72px);
}
.project-team-intro, .project-areas { min-width: 0; }
.project-team-intro h2, .profile-header h2 {
  margin: 10px 0 0;
  font: 750 clamp(2rem, 3.55vw, 4.1rem)/1.035 var(--headline);
  letter-spacing: -.05em;
  text-wrap: balance;
}
.project-team-intro h2 { max-width: 16ch; }
.project-team-intro h2 em, .profile-header h2 em {
  font: inherit;
  color: #693995;
}
.project-team-art {
  display: block;
  width: min(100%, 455px);
  height: clamp(110px, 11.4vw, 172px);
  margin-top: clamp(18px, 2vw, 32px);
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 3px 27px 3px 3px;
}
.project-areas {
  border-block: 1px solid #a79399;
}
.project-area + .project-area { border-top: 1px solid #cdbbb9; }
.project-area summary {
  display: block;
  cursor: pointer;
  list-style: none;
  border-radius: 2px;
}
.project-area summary::-webkit-details-marker { display: none; }
.project-area summary::marker { content: ""; }
.project-area summary h3 {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-block: 9px;
  color: #38263a;
  font: 640 clamp(1.02rem, 1.32vw, 1.42rem)/1.22 var(--headline);
  letter-spacing: -.027em;
  text-wrap: pretty;
}
.area-toggle {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  position: relative;
  border: 1px solid #927e91;
  border-radius: 50%;
  color: #4a3552;
}
.area-toggle::before, .area-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.area-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.project-area[open] .area-toggle {
  background: #503067;
  border-color: #503067;
  color: white;
}
.project-area[open] .area-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.project-area[open] h3, .project-area summary:hover h3 { color: #63378c; }
.project-area p {
  margin: 0;
  max-width: 58ch;
  padding: 0 38px 15px 0;
  font-size: clamp(.97rem, 1.15vw, 1.12rem);
  line-height: 1.5;
  color: #4b3d4d;
}
.project-area summary:focus-visible, .profile-controls button:focus-visible, .profile-track:focus-visible {
  outline: 3px solid #673798;
  outline-offset: 3px;
}

.specialist-directory {
  color: #291c32;
  background: #e4d6f7;
  border-block: 1px solid #d8c5ec;
}
.specialist-layout-inner { padding-block: clamp(36px, 3.7vw, 62px); }
.profile-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(19px, 2.1vw, 34px);
}
.profile-header > div:first-child { min-width: 0; }
.profile-header h2 { font-size: clamp(1.75rem, 2.8vw, 3.45rem); }
.profile-header p {
  margin: 12px 0 0;
  max-width: 60ch;
  color: #4b3a54;
  font-size: clamp(.99rem, 1.13vw, 1.12rem);
  line-height: 1.48;
}
.profile-controls { display: flex; align-items: center; flex: 0 0 auto; gap: 9px; }
.profile-controls[hidden] { display: none; }
.profile-controls button {
  display: grid;
  place-items: center;
  height: 44px;
  width: 44px;
  padding: 0;
  border: 1px solid #6e5280;
  border-radius: 50%;
  background: #fffaf4;
  color: #40234f;
  cursor: pointer;
}
.profile-controls button:disabled { background: transparent; color: #816f8f; border-color: #a38bb5; cursor: default; }
.profile-controls button:not(:disabled):hover { color: #fff; background: #512e69; }
.profile-arrow { position: relative; width: 17px; height: 2px; border-radius: 1px; background: currentColor; }
.profile-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateY(-50%) rotate(45deg);
}
.arrow-back { transform: rotate(180deg); }
.profile-range { min-width: 64px; text-align: center; color: #493553; font-size: .9rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.profile-track {
  --profile-gap: clamp(12px, 1.5vw, 23px);
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--profile-gap)) / 3);
  gap: var(--profile-gap);
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #9d7bb4 transparent;
}
.profile-card {
  --stock: #fff9ec;
  --ink: #543761;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 182px;
  padding: clamp(18px, 1.9vw, 30px);
  scroll-snap-align: start;
  border: 1px solid #76618466;
  border-radius: 3px 18px 3px 3px;
  background: var(--stock);
  color: #2d2231;
}
.profile-card:nth-child(4n + 2) { --stock: #eaf1ba; --ink: #465126; }
.profile-card:nth-child(4n + 3) { --stock: #f6ddcd; --ink: #814931; }
.profile-card:nth-child(4n) { --stock: #f2eaff; --ink: #6b4488; }
.profile-card h3 {
  margin: 16px 0 0;
  font: 690 clamp(1.12rem, 1.55vw, 1.65rem)/1.16 var(--headline);
  letter-spacing: -.037em;
  overflow-wrap: break-word;
}
.profile-card p { margin: 8px 0 0; color: #45374a; font-size: 1rem; line-height: 1.48; }
.profile-mark {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  color: var(--ink);
}
.profile-mark::before, .profile-mark::after, .profile-mark i { position: absolute; box-sizing: border-box; }
.profile-mark::before, .profile-mark::after { content: ""; }
.mark-compass::before, .mark-target::before { inset: 2px; border: 2px solid; border-radius: 50%; }
.mark-compass::after { inset: 5px 11px; background: currentColor; clip-path: polygon(50% 0, 100% 52%, 50% 100%, 0 48%); transform: rotate(31deg); }
.mark-links::before, .mark-links::after { width: 22px; height: 15px; border: 3px solid; border-radius: 15px; transform: rotate(-35deg); }
.mark-links::before { left: 1px; top: 17px; }.mark-links::after { right: 0; top: 7px; }
.mark-editor::before { inset: 2px 4px; border: 2px solid; border-bottom-width: 4px; transform: rotate(-6deg); }
.mark-editor i { width: 15px; height: 2px; top: 13px; left: 10px; background: currentColor; box-shadow: 0 6px 0 currentColor; transform: rotate(-6deg); }
.mark-target::after { inset: 9px; border: 2px solid; border-radius: 50%; }
.mark-target i { inset: 15px; border-radius: 50%; background: currentColor; }
.mark-search::before { inset: 2px 9px 10px 3px; border: 3px solid; border-radius: 50%; }
.mark-search::after { width: 15px; height: 4px; left: 21px; top: 26px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.mark-swatches::before, .mark-swatches::after, .mark-swatches i { width: 13px; height: 29px; left: 5px; top: 2px; border: 2px solid; border-radius: 2px; transform-origin: 5px 25px; background: var(--stock); }
.mark-swatches::before { transform: rotate(64deg); }.mark-swatches i { transform: rotate(32deg); }
.mark-code::before, .mark-code::after { width: 12px; height: 12px; top: 12px; border-top: 2px solid; border-left: 2px solid; }
.mark-code::before { left: 2px; transform: rotate(-45deg); }.mark-code::after { right: 2px; transform: rotate(135deg); }
.mark-code i { width: 2px; height: 26px; left: 17px; top: 6px; background: currentColor; transform: rotate(15deg); }
.mark-conversation::before, .mark-conversation::after { width: 26px; height: 19px; border: 2px solid; border-radius: 10px 10px 10px 2px; background: var(--stock); }
.mark-conversation::before { right: 1px; bottom: 3px; transform: scaleX(-1); }.mark-conversation::after { top: 3px; left: 1px; }

@media (max-width: 940px) {
  .project-team-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(22px, 4vw, 36px); }
  .profile-track { grid-auto-columns: calc((100% - var(--profile-gap)) / 2); }
}
@media (max-width: 700px) {
  .project-team-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 35px; }
  .project-team-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(0, .78fr);
    column-gap: 14px;
    align-items: center;
  }
  .project-team-intro .label { grid-column: 1; align-self: end; }
  .project-team-intro h2 { grid-column: 1; align-self: start; font-size: clamp(1.65rem, 5.3vw, 2.3rem); margin-top: 7px; }
  .project-team-art {
    grid-column: 2;
    grid-row: 1/3;
    width: 100%;
    height: clamp(81px, 18vw, 115px);
    margin: 0;
    border-radius: 3px 16px 3px 3px;
  }
  .project-area p { max-width: 58ch; padding: 0 31px 13px 0; font-size: .99rem; }
  .project-area summary h3 { min-height: 46px; }
  .specialist-layout-inner { padding-block: 31px; }
  .profile-header { flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
  .profile-header p { margin-top: 9px; }
  .profile-track { --profile-gap: 10px; grid-auto-columns: min(85%, 340px); }
  .profile-card { min-height: 162px; padding: 17px; }
  .profile-card h3 { margin-top: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  .profile-track { scroll-behavior: smooth; }
  .area-toggle::after { transition: transform .16s ease; }
  .profile-controls button { transition: background-color .15s, color .15s; }
}
@media print {
  .profile-controls { display: none; }
  .profile-track { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .profile-card { break-inside: avoid; }
}
