/* Homepage refresh — isolated from every service, project and company page. */
.layout-home {
  --hl-section-space: clamp(72px, 6.5vw, 104px);
  --hl-section-top-space: clamp(36px, 3.25vw, 52px);
  --hl-teal: #008b96;
  --hl-cyan: #24cad5;
}

.layout-home .hl-hero {
  min-height: calc(100vh - var(--site-header-height, 112px));
  min-height: calc(100svh - var(--site-header-height, 112px));
  padding-block: 64px;
}
.layout-home .hl-section,
.layout-home .hl-why,
.layout-home .hl-industry-section { padding-top: var(--hl-section-top-space); padding-bottom: var(--hl-section-space); }
.layout-home .hl-section-heading { margin-bottom: 40px; }
.layout-home .hl-center { margin-bottom: 40px; }
.layout-home .hl-cards { gap: 24px; }
.layout-home .hl-card > div { padding: 24px 22px; }

/* One navy section: benefits above, connected five-step path below. */
.layout-home .hl-features { margin-top: 40px; gap: 24px; }
.layout-home .hl-features article { padding-left: 24px; }
.layout-home .hl-features svg { width: 44px; height: 44px; margin-bottom: 20px; stroke-width: 1.5; }
.layout-home .hl-features article p { margin-top: 14px; }
.hl-operation-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 36px;
  margin-top: 58px;
  padding-top: 48px;
  border-top: 1px solid #ffffff30;
}
.hl-operation-path .hl-process { margin: 0; gap: 22px; }
.hl-operation-path .hl-process li::before { width: calc(100% + 22px); border-color: var(--hl-cyan); }
.hl-operation-path .hl-process span { color: #062839; background: #e5fbfc; border-color: var(--hl-cyan); }
.hl-operation-path .hl-process h3 { font-size: 16px; line-height: 1.35; }
.hl-operation-path .hl-process p { margin-top: 10px; color: #ccdee5; font-size: 13px; }
.hl-main .hl-operation-path > h3 { align-self: center; margin: 0; color: var(--hl-cyan); font-size: 26px; line-height: 1.25; letter-spacing: -.7px; white-space: nowrap; }

/* Red Giant's 4:8 list / image composition, restyled only in URAY colours. */
.hl-industry-section { background: #eff8fa; }
.hl-rgr-industry-layout { display: grid; grid-template-columns: minmax(270px, 4fr) minmax(0, 8fr); gap: 24px; align-items: stretch; }
.hl-rgr-industry-list { min-height: 590px; padding: 24px; border: 1px solid #d6e3e7; border-radius: 12px; background: white; }
.hl-main .hl-rgr-industry-list h3 { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #d6e3e7; font-size: 18px; }
.hl-rgr-industry-list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 7px 12px; border: 0; border-radius: 5px; color: #102735; background: transparent; font-size: 14px; line-height: 1.25; font-weight: 650; text-align: left; transition: color .18s, background .18s; }
.hl-rgr-industry-list button:hover { background: #e2f5f6; }
.hl-rgr-industry-list button.is-active { color: white; background: var(--hl-teal); }
.hl-rgr-industry-icon { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; font-size: 8px; letter-spacing: .04em; }
.hl-rgr-industry-feature { position: relative; min-width: 0; min-height: 590px; overflow: hidden; border-radius: 12px; color: white; background: #42606b; isolation: isolate; }
.hl-rgr-industry-feature > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hl-rgr-industry-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0%, transparent 50%, #06283935 62%, #062839dc 83%, #062839f5 100%); }
.hl-rgr-industry-copy { position: absolute; right: 196px; bottom: 34px; left: 34px; }
.hl-main .hl-rgr-industry-copy .hl-kicker { color: #a7f3f5; text-transform: uppercase; font-size: 11px; }
.hl-main .hl-rgr-industry-copy h3 { margin: 8px 0; font-size: 34px; line-height: 1.15; }
.hl-main .hl-rgr-industry-copy p:last-child { max-width: 620px; font-size: 15px; line-height: 1.55; }
.hl-main .hl-rgr-industry-cta { position: absolute; right: 34px; bottom: 34px; min-width: 128px; color: #062839; background: white; }
.hl-industry-mobile-select { display: none; }
.hl-main .hl-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; }
.hl-main .hl-metrics strong { display: block; font-size: clamp(32px, 3vw, 44px); line-height: 1.15; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hl-main .hl-metrics h3 { margin-top: 12px; }
.hl-main .hl-metrics p { margin-top: 10px; }
.hl-main .hl-footnote { max-width: 1050px; margin: 32px auto 0 !important; line-height: 1.6; }

@media (max-width: 1100px) {
  .layout-home .hl-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .layout-home .hl-features > p { grid-column: 1 / -1; max-width: 650px; padding: 0; }
  .hl-operation-path { gap: 24px; }
  .hl-main .hl-operation-path > h3 { font-size: 23px; }
  .hl-operation-path .hl-process { gap: 18px; }
  .hl-operation-path .hl-process li::before { width: calc(100% + 18px); }
  .hl-rgr-industry-copy { left: 26px; right: 26px; bottom: 112px; }
  .hl-main .hl-rgr-industry-cta { left: 26px; right: auto; bottom: 28px; }
  .hl-main .hl-metrics strong { font-size: 32px; }
}
@media (max-width: 860px) {
  .hl-rgr-industry-layout { grid-template-columns: 1fr; }
  .hl-rgr-industry-list { display: none; }
  .hl-industry-mobile-select { display: grid; gap: 9px; margin-bottom: 18px; }
  .hl-industry-mobile-select label { font-weight: 700; font-size: 14px; }
  .hl-industry-mobile-select select { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #c4dce1; border-radius: 5px; background: white; color: #102735; }
  .hl-rgr-industry-feature { min-height: 460px; }
}
@media (max-width: 800px) {
  .layout-home { --hl-section-space: 64px; --hl-section-top-space: 32px; }
  .layout-home .hl-hero { min-height: calc(100svh - var(--site-header-height, 100px)); padding: 0; }
  .layout-home .hl-hero > .wrap { padding: 36px 0 32px; }
  .layout-home .hl-hero > .hero-image { flex: 1 1 280px; height: auto; min-height: 240px; object-position: 76% 64%; }
  .layout-home .hl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .layout-home .hl-features article { padding-left: 20px; }
  .hl-operation-path { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; padding-top: 36px; }
  .hl-main .hl-operation-path > h3 { grid-row: 1; font-size: 25px; margin: 0; }
  .hl-operation-path .hl-process { grid-template-columns: 1fr; gap: 24px; }
  .hl-operation-path .hl-process li { padding-left: 72px; min-height: 62px; }
  .hl-operation-path .hl-process span { position: absolute; top: 0; left: 0; }
  .hl-operation-path .hl-process li::before { top: 25px; left: 25px; width: 0; height: calc(100% + 24px); border-top: 0; border-left: 1px solid var(--hl-cyan); }
  .hl-operation-path .hl-process h3 { font-size: 17px; }
  .hl-operation-path .hl-process p { font-size: 14px; max-width: none; }
  .hl-main .hl-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
}
@media (max-width: 480px) {
  .layout-home { --hl-section-space: 56px; --hl-section-top-space: 28px; }
  .layout-home .hl-section-heading, .layout-home .hl-center { margin-bottom: 30px; }
  .layout-home .hl-hero > .wrap { padding: 28px 0 26px; }
  .layout-home .hl-hero > .hero-image { flex-basis: 220px; min-height: 200px; }
  .layout-home .hl-card > div { padding: 22px; }
  .layout-home .hl-features { gap: 32px 20px; }
  .layout-home .hl-features h3 { font-size: 16px; line-height: 1.35; }
  .layout-home .hl-features article { padding-left: 16px; }
  .hl-rgr-industry-feature { min-height: 460px; }
  .hl-rgr-industry-copy { left: 22px; right: 22px; bottom: 108px; }
  .hl-main .hl-rgr-industry-copy h3 { font-size: 28px; }
  .hl-main .hl-rgr-industry-copy p:last-child { font-size: 14px; }
  .hl-main .hl-rgr-industry-cta { left: 22px; bottom: 24px; }
  .hl-main .hl-metrics strong { font-size: clamp(21px, 6.1vw, 27px); letter-spacing: -1px; }
  .hl-main .hl-metrics h3 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-rgr-industry-list button { transition: none; }
}
@media (max-width: 360px) {
  .hl-main .hl-metrics strong { font-size: 19px; }
}
