/* Home desktop source typography. Compact slots apply only to measured single lines. */
@media (min-width: 1400px) {
  .home.ds-site .hero h1 { line-height: 1.142857143; }
  .home.ds-site .hero .hero-copy h2 { line-height: 1.071428571; }
  .home.ds-site .hero .hero-copy > p { line-height: 1.5; }

  .home.ds-site :is(.why-card, .about-title, .industry-heading,
    .section-heading, .section-title-center, .contact-card) h2 {
    letter-spacing: 0;
  }
  .home.ds-site .why-card h2 { white-space: normal; }
  .home.ds-site .capabilities-section .section-heading > div { min-width: 0; }
  .home.ds-site .industry-heading .eyebrow { margin-bottom: min(.520833333vw, 10px); }
  .home.ds-site .contact-card { position: relative; right: min(.104166667vw, 2px); }
  .home.ds-site .why-card .eyebrow,
  .home.ds-site .about-title .eyebrow,
  .home.ds-site .blogs-section .eyebrow { line-height: 1.428571429; }
  .home.ds-site .industry-heading .eyebrow,
  .home.ds-site .capabilities-section .eyebrow,
  .home.ds-site .projects-section .eyebrow,
  .home.ds-site .contact-card .eyebrow { line-height: 1.714285714; }
  .home.ds-site .why-list li,
  .home.ds-site .about-description p,
  .home.ds-site .section-title-center > p:not(.eyebrow) { line-height: 1.555555556; }

  .home.ds-site .about-title h2,
  .home.ds-site .blogs-section .section-title-center h2 { line-height: 1.09375; }
  .home.ds-site .industry-heading h2,
  .home.ds-site .contact-card h2 { line-height: 1.15625; }
  .home.ds-site .contact-card > p:not(.eyebrow) { line-height: 1.666666667; }
  .home.ds-site .stat strong { line-height: 1.4; }
  .home.ds-site .stat p { line-height: 1.555555556; }
  .home.ds-site .stat > div { width: min(13.697916667vw, 263px); max-width: 100%; }
  .home.ds-site .stat:nth-child(4) > div { width: min(8.958333333vw, 172px); }
  .home.ds-site .stat:nth-child(7) > div { width: min(15.833333333vw, 304px); max-width: none; flex-shrink: 0; }
  .home.ds-site .stat:nth-child(8) > div { width: min(10.416666667vw, 200px); }
  .home.ds-site .industry-card {
    padding-right: min(2.447916667vw, 47px);
    padding-bottom: min(2.5vw, 48px);
  }
  .home.ds-site .industry-tabs { margin-bottom: min(2.760416667vw, 53px); }
  .home.ds-site .industry-tabs button {
    font-weight: 600;
    line-height: 1.333333333;
    padding: calc(min(.9375vw, 18px) - 1px) calc(min(1.25vw, 24px) - 1px);
  }
  .home.ds-site .industry-list :is(a, .industry-list-item) {
    font-size: min(1.25vw, 24px);
    line-height: 1.333333333;
    font-weight: 500;
    letter-spacing: 0;
  }
  .home.ds-site .steel-card li {
    font-size: min(1.25vw, 24px);
    line-height: 1.333333333;
  }

  .home.ds-site .expertise h2.ds-source-single-line {
    line-height: 1;
    margin-bottom: min(1.5625vw, 30px);
  }
  .home.ds-site :is(.why-card, .capabilities-section, .projects-section,
    .steel-section) h2.ds-source-single-line { line-height: .625; }
  .home.ds-site .capabilities-section .section-heading.ds-source-title-row {
    margin-bottom: min(3.541666667vw, 68px);
  }
  .home.ds-site .capabilities-section .ds-source-title-row > .button {
    position: relative;
    top: min(.15625vw, 3px);
  }
  .home.ds-site .projects-section h2.ds-source-single-line {
    margin-bottom: min(1.822916667vw, 35px);
  }
  .home.ds-site .steel-section h2.ds-source-single-line {
    margin-bottom: min(1.979166667vw, 38px);
  }
}

@media (min-width: 1920px) {
  .home.ds-site .capabilities-section .section-heading.ds-source-title-row { margin-bottom: 69px; }
}

/* Figma Why list text uses the secondary colour, including emphasized labels. */
.home.ds-site .why-list li > span:last-child { color: var(--text-secondary); }
.home.ds-site .why-list strong { color: inherit; }

/* Text-run weights and leading verified against the replacement Figma file. */
.home.ds-site .why-list strong { font-weight: 700; }
.home.ds-site .industry-tabs button:not(.is-active) { font-weight: 500; }
@media (min-width: 1400px) {
  .home.ds-site .hero-services button {
    font-size: clamp(18px, 1.145833333vw, 22px);
    line-height: 1.363636364;
    letter-spacing: 0;
  }
  .home.ds-site .hero-services #hero-tab-isp { letter-spacing: -.01em; }
  .home.ds-site .capability-card h3,
  .home.ds-site .blog-copy h3 { line-height: 1.071428571; }
  .home.ds-site .capability-card p,
  .home.ds-site .project-card p,
  .home.ds-site .blog-copy > p { line-height: 1.555555556; }
  .home.ds-site .project-tag { line-height: 1.714285714; }
  .home.ds-site .blog-copy .text-link { line-height: 1.333333333; }
}

/* Let editable service lists determine the section height. */
@media (min-width: 992px) {
  .home.ds-site .industry-layout {
    display: grid;
    grid-template-columns: 37.733% 11.104% 51.163%;
    align-items: start;
  }
  .home.ds-site .industry-image {
    grid-area: 1 / 1 / 2 / 3;
    width: 100%;
  }
  .home.ds-site .industry-card {
    grid-area: 1 / 2 / 2 / 4;
    position: relative;
    top: auto;
    width: 100%;
    margin-top: min(10.052083vw, 193px);
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .home.ds-site .industry-card { margin-top: 130px; }
}
