.hp-detail {
  --detail-ink: #101d31;
  --detail-muted: #526071;
  --detail-rule: #c9d2dd;
  --detail-blue: #075aab;
  color: var(--detail-ink);
  padding-block: clamp(70px, 8vw, 128px);
  scroll-margin-top: 70px;
}
.hp-detail-intro { max-width: 780px; }
.hp-detail .section-title { text-wrap: balance; }
.hp-engineering { background: #f4f6f8; }
.hp-specialties { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 clamp(20px,3vw,48px); margin-top: clamp(32px,5vw,68px); }
.hp-specialties a {
  position: relative;
  padding: 26px 22px 30px 0;
  border-top: 1px solid var(--detail-rule);
  color: inherit;
  text-decoration: none;
}
.hp-detail h3 { margin: 0; font-weight: 650; letter-spacing: -.035em; line-height: 1.15; }
.hp-specialties h3 { font-size: clamp(20px,1.8vw,27px); }
.hp-specialties p, .hp-foundations p, .hp-stages p { margin: 10px 0 0; color: var(--detail-muted); font-size: 16px; line-height: 1.56; }
.hp-specialties a::after { content: "↗"; position: absolute; inset: 26px 0 auto auto; font-size: 18px; color: var(--detail-blue); }
.hp-specialties a:is(:hover,:focus-visible) h3, .hp-reading a:is(:hover,:focus-visible) h3 { color: var(--detail-blue); }
.hp-foundations { margin-top: clamp(24px,3vw,46px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,80px); background: #e9edf1; padding: clamp(24px,3.5vw,56px); border-radius: 22px; }
.hp-foundations h3 { font-size: clamp(21px,2.1vw,30px); }
.hp-industries { list-style: none; display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 13px 0 0; padding: 0; }
.hp-industries a { color: var(--detail-blue); font-size: 15px; text-underline-offset: 3px; }
.hp-process { background: white; }
.hp-process-layout { display: grid; grid-template-columns: 1fr minmax(0,1.06fr); gap: clamp(40px,7vw,120px); align-items: start; }
.hp-process .section-title { max-width: 10ch; }
.hp-stages details { border-top: 1px solid var(--detail-rule); }
.hp-stages details:last-child { border-bottom: 1px solid var(--detail-rule); }
.hp-stages summary { position: relative; cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-size: clamp(21px,2.05vw,32px); font-weight: 620; line-height: 1.18; letter-spacing: -.035em; }
.hp-stages summary::-webkit-details-marker { display: none; }
.hp-stages summary::after, .hp-stages summary::before { content: ""; position: absolute; top: 50%; right: 4px; width: 14px; height: 1.5px; background: var(--detail-blue); }
.hp-stages summary::before { transform: rotate(90deg); }
.hp-stages details[open] summary::before { transform: rotate(0); }
.hp-stages p { margin: -5px 0 23px; max-width: 46ch; }
.hp-insights { background: #f4f6f8; }
.hp-insights-head { display: flex; align-items: end; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.hp-insights-head .text-link { margin-bottom: 4px; }
.hp-reading { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px,3vw,44px); margin-top: clamp(34px,4.5vw,64px); }
.hp-reading a { position: relative; display: block; padding: 22px 16px 38px 0; color: inherit; text-decoration: none; border-top: 1px solid #96a9bd; }
.hp-reading a > span { font-size: 14px; font-weight: 550; color: var(--detail-muted); }
.hp-reading h3 { font-size: clamp(23px,2.35vw,36px); margin-top: 13px; max-width: 22ch; text-wrap: balance; }
.hp-reading b { position: absolute; bottom: 0; left: 0; font-size: 20px; color: var(--detail-blue); font-weight: 500; }
.hp-detail :is(a,summary):focus-visible { outline: 2px solid var(--detail-blue); outline-offset: 4px; }
/* Older homepage links also target elements inside sections. */
:is(#solutions, #supplier-grid, #services, #industries, #company) { scroll-margin-top: 76px; }
@media (max-width: 840px) {
  .hp-specialties { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hp-process-layout { grid-template-columns: .8fr 1.2fr; gap: 30px; }
}
@media (max-width: 640px) {
  .hp-specialties, .hp-foundations, .hp-process-layout, .hp-reading { grid-template-columns: 1fr; }
  .hp-specialties a { padding-block: 18px 20px; }
  .hp-specialties a::after { top: 18px; }
  .hp-specialties p { margin-top: 5px; }
  .hp-process .section-title { max-width: none; }
  .hp-reading { gap: 0; }
  .hp-reading a { padding: 18px 26px 24px 0; }
  .hp-reading h3 { margin-top: 7px; max-width: none; }
  .hp-reading b { inset: 17px 0 auto auto; }
}
