/* hps/team: two photos of the work, then the team in their own words */
.team-sec { padding-block: var(--sec); }
.team-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.team-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); align-items: start; }
.team-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-photo); }
.team-photos img:last-child { margin-top: clamp(32px, 5vw, 72px); }
.team-body p { margin-top: 14px; max-width: 36em; font-size: 1.15rem; line-height: 1.45; color: var(--ink-soft); }
.team-body h2 + p { margin-top: 18px; }
.team-body .team-note { font-size: 1rem; }
.team-people { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.team-people li { display: flex; align-items: center; gap: 12px; }
.team-people .avatar { width: 52px; height: 52px; object-fit: cover; background: var(--paper); border: 1px solid var(--line-strong); }
.team-people b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.1; }
.team-people small { display: block; margin-top: 2px; font-size: .95rem; color: var(--ink-soft); }
.team-body .btn { margin-top: 26px; }
.team-sec + .home-gallery { padding-top: 0; }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-body { order: -1; }
}
.whom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
.whom a { display: grid; gap: 4px; text-decoration: none; }
.whom .w-photo { display: block; aspect-ratio: 4 / 5; margin-bottom: 10px; overflow: hidden; border-radius: 999px 999px var(--r-photo) var(--r-photo); background: var(--canvas); }
.whom img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.whom a:hover img { transform: scale(1.025); }
.whom strong { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.whom a:hover strong { text-decoration: underline; text-decoration-color: var(--lantern); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.whom li > a > span:last-child { color: var(--ink-soft); line-height: 1.3; }
@media (max-width: 760px) {
  .whom { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .whom::-webkit-scrollbar { display: none; }
  .whom li { flex: 0 0 68vw; scroll-snap-align: start; }
}
.team-people.is-full { flex-direction: column; gap: 22px; }
.team-people.is-full li { align-items: flex-start; }
.team-people.is-full .avatar { flex: none; width: 64px; height: 64px; }
.team-bio { display: block; margin-top: 8px; }
.team-bio span { display: block; margin-top: 6px; color: var(--ink-soft); }
