/* Cross-device refinements: cards, team modal and project-first hero. */
.header nav { gap: clamp(14px, 2.2vw, 34px); }
@media (min-width: 901px) and (max-width: 1180px) { .header nav { font-size: 11px; } }
.insights-scroller { align-items: stretch; }
.insights-scroller .insight-card,
.insights-scroller .insight-card:first-child {
  flex: 0 0 310px;
  min-width: 310px;
  min-height: 455px;
  height: 455px;
  max-height: 455px;
}
.insights-scroller .insight-card > div,
.insights-scroller .insight-card:first-child > div { height: 180px; flex: 0 0 180px; }
.insights-scroller .insight-card h3,
.insights-scroller .insight-card:first-child h3 { display: block; overflow: visible; margin-top: 12px; font-size: 15px; line-height: 1.34; }
.insights-scroller .insight-card b { margin-top: 18px; }

.team-modal-layout { min-width: 0; }
.team-modal-content { width: 100%; max-width: 100%; padding-right: max(55px, env(safe-area-inset-right)); overflow-x: clip; }
.team-modal-content > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.team-modal .team-modal-journey { width: 100%; max-width: 100%; }
.team-modal .team-modal-journey div { min-width: 0; }
.team-modal .team-modal-journey span { min-width: 0; overflow-wrap: anywhere; }

@media (min-width: 901px) {
  .home-project-slide[data-home-slide="2"] .home-project-copy { top: 46%; }
}

@media (max-width: 900px) {
  .home-project-switcher { max-width: calc(100% - 44px); overflow-x: auto; scrollbar-width: none; }
  .home-project-switcher::-webkit-scrollbar { display: none; }
}
@media (max-width: 620px) {
  .insights-scroller .insight-card,
  .insights-scroller .insight-card:first-child { flex: 0 0 min(82vw, 310px); min-width: min(82vw, 310px); min-height: 445px; height: 445px; max-height: 445px; }
  .insights-scroller .insight-card > div,
  .insights-scroller .insight-card:first-child > div { height: 165px; flex-basis: 165px; }
  .team-modal-content { padding-right: max(6vw, env(safe-area-inset-right)); }
  .team-modal .team-modal-journey div { grid-template-columns: 52px minmax(0, 1fr); }
  .home-project-copy h1 strong { max-width: 100%; overflow-wrap: normal; word-break: normal; }
}
