.page-thomas-home main > section:not(#top) h2 {
  font-weight: 600 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: .2px currentColor;
  text-wrap: balance;
  overflow: visible;
  clip-path: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  will-change: auto !important;
}

.page-thomas-home main > section:not(#top) h2 * {
  font-weight: 600 !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  clip-path: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  will-change: auto !important;
}

@media (min-width: 1200px) {
  .page-thomas-home main > section#top .opening-copy {
    width: min(560px, 48vw);
  }

  .page-thomas-home main > section#top .opening-copy h1 {
    font-size: 45px !important;
    line-height: 1.22 !important;
    letter-spacing: .01em !important;
  }

  .page-thomas-home main > section#top .opening-copy h1 > span {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .page-thomas-home main > section#top .opening-copy h1 > span + span {
    margin-top: 8px;
  }

  .page-thomas-home main > section#top .opening-intro {
    max-width: 400px;
    margin-top: 26px;
  }

  .page-thomas-home main > section#top .opening-actions {
    gap: 32px;
    margin-top: 30px;
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .page-thomas-home main > section#top .opening-copy {
    width: min(500px, 52vw);
  }

  .page-thomas-home main > section#top .opening-copy h1 {
    font-size: 34px !important;
    line-height: 1.24 !important;
    letter-spacing: .012em !important;
  }

  .page-thomas-home main > section#top .opening-copy h1 > span {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .page-thomas-home main > section#top .opening-copy h1 > span + span {
    margin-top: 8px;
  }

  .page-thomas-home main > section#top .opening-intro {
    max-width: 350px;
    margin-top: 24px;
  }

  .page-thomas-home main > section#top .opening-actions {
    gap: 30px;
    margin-top: 28px;
  }
}

.page-thomas-home main > section#capability-overview .capability-copy > h2 {
  font-size: 48px !important;
  line-height: 1.34 !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

/* Keep the capability image aligned with the full heading-and-KPI composition. */
@media (min-width: 981px) {
  .page-thomas-home main > section#capability-overview {
    align-items: center;
  }

  .page-thomas-home main > section#capability-overview .capability-media,
  .page-thomas-home main > section#capability-overview .capability-copy {
    height: min(60vh, 574px);
    height: min(60svh, 574px);
    max-height: min(60vh, 574px);
    max-height: min(60svh, 574px);
  }

  .page-thomas-home main > section#capability-overview .capability-media {
    aspect-ratio: auto;
  }

  .page-thomas-home main > section#capability-overview .capability-copy {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .page-thomas-home main > section#capability-overview .capability-kpis {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }
}

.page-thomas-home main > section#development-path > h2#development-path-title {
  padding: .14em 20px .08em;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .005em !important;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: .24px currentColor;
  text-wrap: balance;
  overflow: visible;
  clip-path: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  will-change: auto !important;
}

.page-thomas-home main > section.featured-projects > h2 {
  max-width: 100%;
  padding: .16em .18em .2em;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  letter-spacing: .005em !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  overflow: visible !important;
}

.page-thomas-home main > section#ecosystem .network-heading h2 {
  max-width: 100%;
  padding: .16em 0 .2em;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: .005em !important;
  overflow: visible !important;
}

.page-thomas-home main > section#ecosystem .network-heading h2 > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  text-wrap: balance;
}

.page-thomas-home main > section#ecosystem .network-heading h2 > span + span {
  margin-top: 10px;
}

.page-thomas-home main > section#news .news-title > h2 {
  max-width: 100%;
  padding: .16em 0 .2em;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: .005em !important;
  overflow: visible !important;
}

.page-thomas-home main > section#news .news-title > h2 > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: nowrap;
}

.page-thomas-home main > section#contact > h2 {
  max-width: 100%;
  padding: .16em 0 .2em 24px;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: .005em !important;
  overflow: visible !important;
}

.page-thomas-home main > section#contact > h2 > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: nowrap;
}

@media (min-width: 981px) and (max-width: 1100px) {
  .page-thomas-home main > section#news {
    grid-template-columns: 34% 30% 36%;
  }

  .page-thomas-home main > section#contact {
    grid-template-columns: 52% 38% 10%;
  }

  .page-thomas-home main > section#contact > h2 {
    padding-left: 0;
  }
}

@media (max-width: 980px) {
  .page-thomas-home main > section#contact > h2 {
    padding-left: 0;
    font-size: 32px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 1100px) {
  .page-thomas-home main > section#ecosystem .network-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }

  .page-thomas-home main > section#ecosystem .network-heading > p {
    max-width: 520px;
  }
}

@media (max-width: 620px) {
  .page-thomas-home main > section:not(#top) h2 {
    line-height: 1.24 !important;
    letter-spacing: .005em !important;
  }

  .page-thomas-home main > section#development-path > h2#development-path-title {
    padding-inline: 12px;
    line-height: 1.34 !important;
    letter-spacing: .01em !important;
  }

  .page-thomas-home main > section#capability-overview .capability-copy > h2 {
    font-size: 32px !important;
  }

  .page-thomas-home main > section.featured-projects > h2 {
    padding: .18em .1em .22em;
    font-size: 32px !important;
    line-height: 1.3 !important;
  }

  .page-thomas-home main > section#ecosystem .network-heading h2 {
    padding: .18em 0 .22em;
    font-size: 32px !important;
    line-height: 1.5 !important;
  }

  .page-thomas-home main > section#ecosystem .network-heading h2 > span + span {
    margin-top: 6px;
  }

  .page-thomas-home main > section#news .news-title > h2 {
    padding: .18em 0 .22em;
    font-size: 32px !important;
    line-height: 1.5 !important;
  }

  .page-thomas-home main > section#news .news-title > h2 > span {
    margin-inline: auto;
  }

  .page-thomas-home main > section#contact > h2 {
    padding: .18em 0 .22em;
    font-size: 32px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 350px) {
  .page-thomas-home main > section#capability-overview .capability-copy > h2 {
    white-space: normal !important;
    text-wrap: balance !important;
  }
}
