/* Homepage-only visual refinement. Original copy, interactions, contact and
   first-screen rendering are intentionally outside this stylesheet's scope. */
.v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) {
  --v2-chapter-space: 72px;
  --v2-heading-content-gap: 48px;
  padding-block: var(--v2-chapter-space);
}
.v2-home :is(#core-strength, #capabilities, #team, #insights) {
  border-top: 1px solid var(--el-color-border-subtle);
}
.v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  column-gap: 48px;
  row-gap: 16px;
  align-items: start;
  margin-bottom: var(--v2-heading-content-gap);
}
/* Put the small label on its own row, then align title and summary top edges.
   No fixed heights: both languages and long text retain their natural height. */
.v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) > div {
  display: contents;
}
.v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) .label {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
.v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) h2 {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  max-width: none;
  margin: 0;
  font-family: var(--el-font-display);
  font-size: clamp(36px, 3.35vw, 48px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) > p {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  max-width: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}
.v2-home #firm .v2-overview {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  padding: 40px;
  border: var(--el-panel-border);
  border-left: 2px solid var(--el-color-accent-primary);
  border-radius: var(--el-panel-radius);
  background: var(--el-panel-bg-layered);
  box-shadow: var(--el-panel-highlight);
}
.v2-home #firm .v2-overview > div { min-width: 0; }
.v2-home #firm .v2-overview p { margin-bottom: 24px; line-height: 1.85; }
.v2-home #firm .v2-overview-actions { gap: 8px 28px; }
.v2-home #firm .v2-overview blockquote {
  padding-left: 32px;
  border-left: 1px solid var(--el-color-border);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.4;
  text-wrap: balance;
}
.v2-home #core-strength .v3-strength-grid { margin-top: 0; }
.v2-home #capabilities > .v2-link { margin-top: 24px; }
/* Text links share one treatment; only the arrow communicates the destination. */
.v2-home :is(#firm, #capabilities, #team) .v2-link,
.v2-home #insights :is(.research-all-link, .card-action-link) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--el-color-accent-primary);
  font-family: var(--el-font-body);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
}
.v2-home :is(#firm, #capabilities, #team) .v2-link::after { content: '→'; }
.v2-home :is(#firm, #capabilities, #team) .v2-link::after,
.v2-home #insights :is(.research-all-link, .card-action-link) i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  font-family: var(--el-font-body);
  font-size: 19px;
  font-style: normal;
  line-height: 1;
  transform: none;
}
.v2-home #insights :is(.research-all-link, .card-action-link):hover { text-decoration: underline; }
.v2-home :is(#firm, #capabilities, #team, #insights) :is(.v2-link, .research-all-link, .v3-research-card-link):focus-visible {
  outline: 2px solid var(--el-color-accent-primary);
  outline-offset: 5px;
}
@media (max-width: 1180px) {
  .v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) { --v2-chapter-space: 64px; }
  .v2-home #team .v2-team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-home #firm .v2-overview { gap: 32px; padding: 32px; }
}
@media (max-width: 1000px) {
  .v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) {
    grid-template-columns: minmax(0, 1fr);
  }
  .v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) > p {
    grid-column: 1;
    grid-row: 3;
  }
  .v2-home #core-strength .v3-strength-grid { grid-template-columns: minmax(0, 1fr); }
  .v2-home #core-strength .v3-strength-grid article { display: block; grid-row: auto; min-height: 0; padding: 28px; }
  .v2-home #core-strength .v3-strength-grid h3 { margin-top: 28px; }
}
@media (max-width: 900px) {
  .v2-home #firm .v2-overview { grid-template-columns: minmax(0, 1fr); }
  .v2-home #firm .v2-overview blockquote { padding-left: 24px; }
}
@media (max-width: 767px) {
  .v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) {
    --v2-chapter-space: 52px;
    --v2-heading-content-gap: 32px;
  }
  .v2-home :is(#firm, #core-strength, #capabilities, #team, #insights) :is(.v2-head, .section-head) h2 {
    font-size: clamp(32px, 8.5vw, 36px);
    line-height: 1.22;
  }
  .v2-home #core-strength .v3-strength-grid article { padding: 24px; }
  .v2-home #team .v2-team-list { grid-template-columns: minmax(0, 1fr); }
  .v2-home #capabilities > .v2-link { margin-top: 20px; }
  .v2-home #firm .v2-overview { padding: 24px 20px; gap: 28px; }
  .v2-home #firm .v2-overview blockquote { padding-left: 20px; font-size: 26px; }
}
