/* Keep image-hero content low while accounting for the desktop navigation. */
.page-hero.contact-hero .contact-card-glass > h1 {
  font-size: clamp(2.15rem, 3.6vw, 3.5rem) !important;
  line-height: 1.1 !important;
  color: #28d7c5;
  width: 100%;
  max-width: none;
  white-space: nowrap;
  text-align: center;
  margin: 0 0 28px;
}
@media (max-width: 520px) {
  .page-hero.contact-hero .contact-card-glass > h1 {
    font-size: clamp(1rem, 5.4vw, 1.75rem) !important;
  }
}
@media (min-width: 961px) {
  :root body .page-hero:has(> .page-hero-media) {
    min-height: clamp(560px, calc(100svh - 84px), 820px);
    padding: 0;
  }
  :root body .page-hero:has(> .page-hero-media) .page-hero-grid {
    display: grid;
    min-height: clamp(560px, calc(100svh - 84px), 820px);
    align-items: end;
    padding-top: 80px;
    padding-bottom: 56px;
  }
  :root body .page-hero:has(> .page-hero-media) .page-hero-copy h1,
  :root body .page-hero.contact-hero .contact-card-glass > h1 {
    font-size: clamp(2.15rem, 3vw, 3rem) !important;
  }
  :root body .page-hero:has(> .page-hero-media) .page-hero-card :is(h2, h3, .compact-heading) {
    font-size: 1.35rem;
  }
  :root body .page-hero:has(> .page-hero-media) .page-hero-copy {
    align-self: end;
    padding-bottom: 0;
  }
  :root body .page-hero:has(> .page-hero-media) .page-hero-card {
    align-self: end;
    margin-top: 0;
    margin-bottom: 0;
  }
  :root body .page-hero.contact-hero:has(> .page-hero-media) .contact-hero-inner {
    min-height: clamp(560px, calc(100svh - 84px), 820px);
    justify-content: flex-end;
    padding-top: 72px;
    padding-bottom: 56px;
  }
}
/* Contact hero fades into the black page background below. */
.page-hero.contact-hero::before{background:linear-gradient(0deg,#060606 0%,rgba(6,6,6,.9) 20%,rgba(6,6,6,.7) 45%,rgba(6,6,6,.58) 65%,rgba(6,6,6,.38) 82%,rgba(6,6,6,.18) 100%)}

/* Dark translucent glass matches the established hero side cards. */
.page-hero.contact-hero .contact-card.contact-card-glass{background:rgba(62,66,72,.58) !important;opacity:1;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.16);box-shadow:0 25px 60px rgba(0,0,0,.4)}


.page-hero.contact-hero .contact-card-glass :is(input,select,textarea){background:rgba(255,255,255,.09);color:#f8fafc;border-color:rgba(255,255,255,.3)}
.page-hero.contact-hero .contact-card-glass :is(input,textarea)::placeholder{color:#b9c4d2;opacity:1}
.page-hero.contact-hero .contact-card-glass label{color:#f8fafc}

/* Shared directional image wash for About, Industries and Case Studies. */
:root body .page-hero.directional-hero::before,:root body .page-hero.directional-hero::after{background:none;}
.directional-hero .directional-bg-wrapper{position:relative;width:100%;height:100%;}
.directional-hero .directional-scrim-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,8,14,.95) 0%,rgba(6,8,14,.82) 42%,rgba(6,8,14,.20) 75%,rgba(6,8,14,0) 100%);z-index:1;pointer-events:none;}
.directional-hero .page-hero-media img{filter:none;}
.directional-hero .page-hero-grid{position:relative;z-index:2;}

/* Industries royal blue image tone beneath the directional scrim. */
.industries-page .directional-hero .directional-bg-wrapper::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,100,112,.78) 0%,rgba(0,115,132,.68) 20%,rgba(5,76,180,.65) 48%,rgba(8,49,220,.68) 75%,rgba(8,49,220,.68) 100%);z-index:1;pointer-events:none;}
.industries-page .directional-hero .directional-scrim-overlay{z-index:2;}
.industries-page .directional-hero .page-hero-media img{filter:brightness(1.12) saturate(1.15);}

/* Colour washes sit beneath the directional contrast layer. */
.insights-hero .hero-bg-wrapper::before{content:none;}
.insights-hero .hero-scrim-overlay{z-index:2;background:linear-gradient(90deg,rgba(3,10,35,.95) 0%,rgba(3,10,35,.88) 35%,rgba(3,10,35,.65) 50%,rgba(3,10,35,.12) 72%,transparent 100%);}
.insights-hero .insights-hero-media img{filter:none;}
.case-studies-page .directional-hero .directional-bg-wrapper::before{content:"";position:absolute;inset:0;background:linear-gradient(45deg,rgba(240,130,45,.32) 0%,rgba(240,130,45,.32) 45%,rgba(212,12,139,.36) 80%,rgba(224,43,131,.46) 100%);z-index:1;pointer-events:none;}
.case-studies-page .directional-hero .directional-scrim-overlay{z-index:2;}

/* Contact turquoise tone stays beneath the existing contrast gradient. */
.page-hero.contact-hero .page-hero-media::after{content:"";position:absolute;inset:0;background:rgba(12,35,100,.612);pointer-events:none;}

/* About purple image tone beneath the dark directional overlay. */
.directional-hero.about-purple-hero .directional-bg-wrapper::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,35,110,.65) 0%,rgba(15,40,115,.50) 20%,rgba(15,35,95,.22) 38%,transparent 52%),radial-gradient(ellipse 62% 75% at 100% 68%,rgba(155,80,225,.38) 0%,rgba(135,55,210,.26) 42%,rgba(125,45,195,.10) 70%,transparent 100%),radial-gradient(ellipse 42% 40% at 68% 65%,rgba(190,135,245,.24) 0%,rgba(165,100,230,.12) 50%,transparent 100%),linear-gradient(0deg,rgba(105,38,180,.65) 0%,rgba(125,55,195,.50) 25%,rgba(150,90,210,.30) 45%,rgba(150,90,210,.10) 60%,transparent 75%);z-index:1;pointer-events:none;}
.directional-hero.about-purple-hero .directional-scrim-overlay{z-index:2;}

.directional-hero.about-purple-hero .directional-scrim-overlay{background:linear-gradient(90deg,rgba(6,8,14,.95) 0%,rgba(6,8,14,.82) 42%,rgba(6,8,14,.10) 75%,rgba(6,8,14,0) 100%);}

.case-studies-page .case-hero-topic-links a{color:inherit;text-decoration:underline;text-decoration-color:rgba(40,215,197,.6);text-underline-offset:4px;}.case-studies-page .case-hero-topic-links a:hover,.case-studies-page .case-hero-topic-links a:focus-visible{color:#28d7c5;}