/*
 * Approved homepage layout restored from the original Phase 1 homepage.
 * Fully scoped so the newer shared header, footer and internal pages remain unchanged.
 */
.page-home main{
  --orange: #f14a0a;
  --orange-dark: #d93d04;
  --navy: #071c2c;
  --navy-2: #0b2638;
  --ink: #0a1d2d;
  --muted: #53616d;
  --cream: #f9f7f3;
  --cream-2: #efe9e3;
  --white: #ffffff;
  --line: #ded8d2;
  --shadow: 0 18px 45px rgba(8, 26, 40, 0.10);
  --shadow-soft: 0 12px 30px rgba(8, 26, 40, 0.07);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shell-width: 1180px;
  --shell-gap: clamp(32px, 8.2vw, 96px);
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.page-home main *{
  box-sizing: border-box;
}

.page-home main{
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

.page-home main{
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

.page-home main.menu-open{
  overflow: hidden;
}

.page-home main button,
.page-home main input,
.page-home main select,
.page-home main textarea{
  font: inherit;
}

.page-home main button,
.page-home main a{
  -webkit-tap-highlight-color: transparent;
}

.page-home main button{
  color: inherit;
}

.page-home main a{
  color: inherit;
}

.page-home main img,
.page-home main svg{
  display: block;
}

.page-home main img{
  max-width: 100%;
}

.page-home main h1,
.page-home main h2,
.page-home main h3,
.page-home main p{
  margin-top: 0;
}

.page-home main h1,
.page-home main h2,
.page-home main h3{
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.page-home main p:last-child{
  margin-bottom: 0;
}

.page-home main ::selection{
  color: var(--white);
  background: var(--orange);
}

.page-home main :focus-visible{
  outline: 3px solid rgba(241, 74, 10, 0.48);
  outline-offset: 3px;
}

.page-home main [hidden]{
  display: none !important;
}

.page-home main .svg-sprite{
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-home main .site-shell{
  width: min(var(--shell-width), calc(100% - var(--shell-gap)));
  margin-inline: auto;
}

.page-home main .skip-link{
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.page-home main .skip-link:focus{
  transform: translateY(0);
}

.page-home main .eyebrow{
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home main .button{
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.page-home main .button:hover{
  transform: translateY(-2px);
}

.page-home main .button svg,
.page-home main .card-link svg,
.page-home main .section-link svg,
.page-home main .text-link svg{
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .button-orange{
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ed3c00);
  box-shadow: 0 9px 22px rgba(241, 74, 10, 0.24);
}

.page-home main .button-orange:hover{
  background: linear-gradient(135deg, #ff5817, var(--orange-dark));
  box-shadow: 0 12px 28px rgba(241, 74, 10, 0.32);
}

.page-home main .button-dark{
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 9px 22px rgba(7, 28, 44, 0.18);
}

.page-home main .button-dark:hover{
  background: #102f45;
}

/* Header */
.page-home main .site-header{
  position: relative;
  z-index: 100;
  background: rgba(247, 244, 240, 1);
}

.page-home main .site-header::after{
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(7, 28, 44, 0.05);
  content: "";
}

.page-home main .header-inner{
  display: grid;
  min-height: 78px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.page-home main .brand{
  display: inline-grid;
  width: max-content;
  align-items: center;
  color: var(--orange);
  text-decoration: none;
}

.page-home main .brand-logo{
  display: block;
  width: 126px;
  height: auto;
  object-fit: contain;
}

.page-home main .brand-word{
  font-size: 54px;
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.page-home main .brand-subtitle{
  margin-top: 8px;
  padding-left: 2px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.page-home main .primary-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
}

.page-home main .primary-nav a{
  position: relative;
  padding-block: 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.page-home main .primary-nav a::after{
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.page-home main .primary-nav a:hover::after,
.page-home main .primary-nav a:focus-visible::after{
  transform: scaleX(1);
  transform-origin: left;
}

.page-home main .header-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-home main .icon-button{
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.page-home main .icon-button:hover{
  background: rgba(7, 28, 44, 0.06);
}

.page-home main .icon-button svg{
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .header-contact{
  min-height: 48px;
  padding-inline: 17px 14px;
}

.page-home main .menu-trigger{
  display: none;
}

.page-home main .menu-trigger .close-icon{
  display: none;
}

.page-home main .menu-trigger[aria-expanded="true"] .menu-icon{
  display: none;
}

.page-home main .menu-trigger[aria-expanded="true"] .close-icon{
  display: block;
}

.page-home main .search-panel,
.page-home main .mobile-menu{
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid rgba(7, 28, 44, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.page-home main .search-panel-inner{
  padding-block: 30px;
}

.page-home main .search-form{
  max-width: 700px;
  margin-inline: auto;
}

.page-home main .search-form label{
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 750;
}

.page-home main .search-input-wrap{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.page-home main .search-input-wrap input{
  min-width: 0;
  height: 50px;
  padding-inline: 16px;
  border: 1px solid #cfc9c3;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
}

.page-home main .search-form p{
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.page-home main .mobile-nav{
  display: grid;
  padding-block: 16px 24px;
}

.page-home main .mobile-nav > a:not(.button){
  padding: 15px 4px;
  border-bottom: 1px solid rgba(7, 28, 44, 0.1);
  font-weight: 700;
  text-decoration: none;
}

.page-home main .mobile-nav .button{
  margin-top: 20px;
}

/* Hero */
.page-home main .hero{
  position: relative;
  z-index: 2;
  overflow: visible;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 38%),
    linear-gradient(90deg, #faf8f5 0%, var(--cream) 100%);
}

.page-home main .hero-grid{
  display: grid;
  min-height: 458px;
  grid-template-columns: minmax(270px, 0.64fr) minmax(590px, 1.72fr);
  align-items: start;
  gap: 18px;
}

.page-home main .hero-copy{
  position: relative;
  z-index: 2;
  max-width: 400px;
  padding-top: 22px;
}

.page-home main .hero-eyebrow{
  display: none;
}

.page-home main .hero h1{
  max-width: 390px;
  margin-bottom: 18px;
  font-size: clamp(38px, 3.9vw, 53px);
  font-weight: 780;
  letter-spacing: -0.058em;
}

.page-home main .hero h1 span{
  color: var(--orange);
}

.page-home main .short-rule{
  display: block;
  width: 35px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--orange);
}

.page-home main .hero-intro{
  max-width: 350px;
  margin: 0;
  color: #142534;
  font-size: 15px;
  line-height: 1.55;
}

.page-home main .hero-media{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 458px;
  align-self: end;
  overflow: hidden;
  border-radius: 26px 0 0 0;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 8.5% 35%);
}

.page-home main .hero-media::after{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 244, 240, 0.10), rgba(247, 244, 240, 0.02) 18%, transparent 30%);
  content: "";
  pointer-events: none;
}

.page-home main .hero-media picture,
.page-home main .hero-media img{
  width: 100%;
  height: 100%;
}

.page-home main .hero-media img{
  object-fit: cover;
  object-position: center center;
}

.page-home main .finder-wrap{
  position: relative;
  z-index: 40;
  margin-top: -8px;
  overflow: visible;
}

.page-home main .solution-finder{
  position: relative;
  z-index: 50;
  margin-top: 0;
  padding: 24px 28px 18px;
  border-radius: 16px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(25, 62, 85, 0.62), transparent 35%),
    linear-gradient(120deg, #061928 0%, #0a2234 100%);
  box-shadow:
    0 12px 24px rgba(7, 28, 44, 0.14),
    0 24px 46px rgba(7, 28, 44, 0.12);
}

.page-home main .finder-heading-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.page-home main .finder-heading-row h2{
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-home main .finder-kicker{
  display: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home main .finder-form{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 150px;
  align-items: end;
  gap: 16px;
}

.page-home main .finder-field{
  min-width: 0;
}

.page-home main .finder-label{
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-home main .finder-icon{
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
}

.page-home main .finder-icon svg{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .select-wrap{
  position: relative;
}

.page-home main .select-wrap select{
  width: 100%;
  height: 44px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(7, 28, 44, 0.02);
  font-size: 13px;
  font-weight: 580;
  appearance: none;
}

.page-home main .select-wrap > svg{
  position: absolute;
  top: 50%;
  right: 13px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-home main .finder-arrow{
  display: grid;
  height: 44px;
  place-items: center;
  opacity: 0.95;
}

.page-home main .finder-arrow svg{
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .finder-submit{
  display: grid;
  min-height: 112px;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: start;
  gap: 8px;
  margin-left: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(145deg, #ff580c, #ea4200);
  box-shadow: 0 14px 28px rgba(238, 65, 0, 0.30);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.page-home main .finder-submit:hover{
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.page-home main .finder-submit svg{
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .finder-help{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.page-home main .text-link{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--orange);
  background: transparent;
  cursor: pointer;
}

.page-home main .text-link svg{
  width: 16px;
  height: 16px;
}

.page-home main .challenge-box,
.page-home main .finder-results{
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.page-home main .challenge-box label{
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.page-home main .challenge-box-controls{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.page-home main .challenge-box textarea{
  width: 100%;
  min-height: 72px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.page-home main .finder-results h3{
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.page-home main .finder-result-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-home main .finder-result-card{
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.page-home main .finder-result-card strong{
  font-size: 14px;
}

.page-home main .finder-result-card span{
  color: var(--muted);
  font-size: 12px;
}

/* Shared sections */
.page-home main .section-pad{
  padding-block: 22px 12px;
}

.page-home main .section-pad-sm{
  padding-block: 14px 10px;
}

.page-home main .section-heading.centered{
  margin-bottom: 16px;
  text-align: center;
}

.page-home main .section-heading h2{
  margin-bottom: 0;
  font-size: clamp(27px, 2.3vw, 34px);
}

.page-home main .services-section{
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #faf8f5 0%, var(--cream) 100%);
}

.page-home main .services-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.page-home main .service-card{
  display: flex;
  height: 224px;
  min-height: 224px;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 14px;
  border: 1px solid rgba(7, 28, 44, 0.04);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(7, 28, 44, 0.08);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page-home main .service-card:hover,
.page-home main .service-card.is-highlighted{
  border-color: rgba(241, 74, 10, 0.26);
  box-shadow: 0 20px 40px rgba(7, 28, 44, 0.12);
  transform: translateY(-5px);
}

.page-home main .service-icon{
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .service-card h3{
  min-height: 36px;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.page-home main .service-card p{
  min-height: 50px;
  margin-bottom: 8px;
  color: #253542;
  font-size: 10.2px;
  line-height: 1.45;
}

.page-home main .card-link{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.page-home main .card-link svg{
  width: 17px;
  height: 17px;
}

.page-home main .card-link:hover svg,
.page-home main .section-link:hover svg{
  transform: translateX(4px);
}

.page-home main .card-link svg,
.page-home main .section-link svg{
  transition: transform 160ms ease;
}

.page-home main .proof-strip{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  padding: 18px 24px;
  border-radius: 12px;
  background: linear-gradient(90deg, #efe9e3 0%, #f6f2ee 100%);
}

.page-home main .proof-item{
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
  border-left: 1px solid #d7d0c9;
}

.page-home main .proof-item:first-child{
  padding-left: 0;
  border-left: 0;
}

.page-home main .proof-item:last-child{
  padding-right: 0;
}

.page-home main .proof-item > svg{
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .proof-item strong,
.page-home main .proof-item span{
  display: block;
}

.page-home main .proof-item strong{
  margin-bottom: 2px;
  font-size: 22px;
  line-height: 1.05;
}

.page-home main .proof-item span{
  color: #293946;
  font-size: 11.5px;
}

/* Industries */
.page-home main .industries-section{
  padding-block: 16px 14px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 0%, rgba(31, 76, 102, 0.6), transparent 40%),
    linear-gradient(135deg, #061827 0%, #0a2739 100%);
}

.page-home main .industries-inner{
  position: relative;
}

.page-home main .section-heading.light{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 11px;
}

.page-home main .section-heading.light h2{
  color: var(--white);
  font-size: 26px;
}

.page-home main .section-heading.light .eyebrow{
  margin-bottom: 3px;
  font-size: 11px;
}

.page-home main .section-link{
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.page-home main .industries-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.page-home main .industry-card{
  position: relative;
  display: flex;
  min-height: 122px;
  overflow: hidden;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 9px;
  color: var(--white);
  background: #0a2234;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.12;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-home main .industry-card > img{
  position: absolute;
  image-rendering: auto;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.page-home main .industry-card::after{
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 27, 0.02) 22%, rgba(3, 17, 27, 0.9) 100%);
  content: "";
  pointer-events: none;
}

.page-home main .industry-card > span,
.page-home main .industry-card > i{
  position: relative;
  z-index: 2;
}

.page-home main .industry-card:hover > img{
  transform: scale(1.045);
}

.page-home main .industry-card:hover{
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 22px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.page-home main .industry-card i{
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
}

.page-home main .industry-card i svg{
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Insights and CTA */
.page-home main .insights-section{
  background: linear-gradient(180deg, #faf9f7 0%, #f6f2ee 100%);
}

.page-home main .insights-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(310px, 0.98fr);
  gap: 14px;
}

.page-home main .latest-insights{
  height: 162px;
  padding: 10px;
  border: 1px solid rgba(7, 28, 44, 0.05);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(7, 28, 44, 0.04);
}

.page-home main .insights-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.page-home main .insights-header h2{
  margin: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home main .dark-link{
  color: var(--ink);
  font-size: 12px;
}

.page-home main .insight-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.page-home main .insight-card{
  display: grid;
  height: 112px;
  min-height: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) 82px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 5px 14px rgba(7, 28, 44, 0.06);
}

.page-home main .insight-copy{
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 9px 6px 8px 9px;
}

.page-home main .insight-copy > span{
  margin-bottom: 3px;
  color: var(--orange);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-home main .insight-copy h3{
  margin-bottom: 8px;
  font-size: 11.5px;
  line-height: 1.23;
  letter-spacing: -0.02em;
}

.page-home main .insight-card .card-link{
  font-size: 10px;
}

.page-home main .insight-card img{
  width: 100%;
  image-rendering: auto;
  height: 100%;
  object-fit: cover;
}

.page-home main .contact-cta{
  display: grid;
  height: 162px;
  min-height: 0;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 18px 20px 16px;
  border-radius: 12px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 123, 50, 0.6), transparent 35%),
    linear-gradient(135deg, #f5520e, #e83f00);
  box-shadow: 0 12px 28px rgba(230, 63, 0, 0.16);
}

.page-home main .cta-icon{
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: var(--white);
}

.page-home main .cta-icon svg{
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .contact-cta h2{
  margin-bottom: 4px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.page-home main .contact-cta p{
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.page-home main .contact-cta .button{
  min-height: 40px;
  padding-block: 9px;
  font-size: 12px;
}

.page-home main .trusted-row{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 14px 0 2px;
}

.page-home main .trusted-row > span{
  color: #293642;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-home main .partner-logos{
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-home main .partner-logos b{
  color: #182a38;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.page-home main .partner-logos .logo-nhs{
  padding: 3px 7px;
  color: var(--white);
  background: #1e3d58;
  font-size: 19px;
  font-style: italic;
}

.page-home main .partner-logos .logo-bam{
  font-size: 22px;
  font-weight: 800;
}

.page-home main .partner-logos .logo-network{
  font-size: 14px;
  font-style: italic;
  text-decoration: underline;
}

.page-home main .partner-logos .logo-az{
  font-family: Georgia, serif;
  font-weight: 500;
}

.page-home main .partner-logos .logo-sellafield{
  font-size: 14px;
}

/* Footer */
.page-home main .site-footer{
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 65% -40%, rgba(30, 75, 101, 0.6), transparent 42%),
    var(--navy);
}

.page-home main .footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.8fr auto;
  align-items: center;
  gap: 36px;
  padding-block: 6px;
}

.page-home main .brand-light .brand-logo{
  width: 112px;
  filter: none;
}

.page-home main .brand-light .brand-word{
  font-size: 42px;
}

.page-home main .brand-light .brand-subtitle{
  font-size: 8px;
}

.page-home main .footer-logo{
  display: block;
  width: 112px;
  height: auto;
}

.page-home main .footer-brand p{
  display: none;
  max-width: 220px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.page-home main .footer-links{
  display: grid;
  gap: 3px;
}

.page-home main .footer-links a{
  font-size: 10.5px;
  text-decoration: none;
}

.page-home main .footer-links a:hover,
.page-home main .footer-contact a:hover{
  color: var(--white);
}

.page-home main .footer-contact{
  display: grid;
  gap: 3px;
  margin: 0;
  font-style: normal;
}

.page-home main .footer-contact a,
.page-home main .footer-contact > span{
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 10.5px;
  line-height: 1.1;
  text-decoration: none;
}

.page-home main .footer-contact svg{
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .social-links{
  display: flex;
  gap: 10px;
}

.page-home main .social-links a{
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.page-home main .social-links a:hover{
  border-color: var(--orange);
  background: var(--orange);
}

.page-home main .social-links svg{
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home main .footer-meta{
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.page-home main .footer-meta p{
  margin: 0;
}

/* Toast and progressive effects */
.page-home main .toast{
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  max-width: min(370px, calc(100% - 36px));
  padding: 13px 16px;
  border-radius: 9px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.page-home main .reveal{
  opacity: 1;
  transform: none;
}

/* Desktop tightening around the reference width */
@media (max-width: 1120px){
  .page-home main .header-inner{
    gap: 22px;
  }

  .page-home main .primary-nav{
    gap: 25px;
  }

  .page-home main .finder-form{
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr) 112px;
    gap: 8px;
  }

  .page-home main .finder-submit{
    padding-inline: 13px;
  }

  .page-home main .proof-item{
    grid-template-columns: 52px 1fr;
    padding-inline: 12px;
  }

  .page-home main .proof-item > svg{
    width: 47px;
    height: 47px;
  }

  .page-home main .proof-item strong{
    font-size: 20px;
  }

  .page-home main .footer-grid{
    gap: 28px;
  }
}

@media (max-width: 940px){
  .page-home main{
    --shell-gap: 48px;
  }

  .page-home main .primary-nav{
    display: none;
  }

  .page-home main .header-inner{
    grid-template-columns: auto 1fr;
  }

  .page-home main .header-actions{
    justify-self: end;
  }

  .page-home main .menu-trigger{
    display: inline-grid;
  }

  .page-home main .hero-grid{
    min-height: 392px;
    grid-template-columns: minmax(250px, 0.72fr) minmax(420px, 1.42fr);
  }

  .page-home main .hero-media{
    height: 392px;
  }

  .page-home main .finder-wrap{
    margin-top: -18px;
  }

  .page-home main .finder-form{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
  }

  .page-home main .finder-arrow{
    display: none;
  }

  .page-home main .finder-submit{
    min-height: 56px;
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    justify-items: center;
    margin-left: 0;
    text-align: center;
  }

  .page-home main .finder-submit svg{
    width: 30px;
    height: 30px;
  }

  .page-home main .finder-submit br{
    display: none;
  }

  .page-home main .services-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home main .service-card{
    height: auto;
    min-height: 230px;
  }

  .page-home main .latest-insights,
.page-home main .contact-cta{
    height: auto;
  }

  .page-home main .insight-card{
    height: auto;
    min-height: 113px;
  }

  .page-home main .proof-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .page-home main .proof-item:nth-child(3){
    border-left: 0;
  }

  .page-home main .industries-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home main .industry-card{
    min-height: 160px;
  }

  .page-home main .insights-layout{
    grid-template-columns: 1fr;
  }

  .page-home main .contact-cta{
    grid-template-columns: 58px 1fr;
  }

  .page-home main .trusted-row{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-home main .partner-logos{
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .page-home main .footer-grid{
    grid-template-columns: 1.2fr 0.7fr 0.7fr 1.4fr;
  }

  .page-home main .social-links{
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px){
  .page-home main{
    --shell-gap: 32px;
  }

  .page-home main{
    scroll-padding-top: 76px;
  }

  .page-home main .site-header{
    position: sticky;
    top: 0;
  }

  .page-home main .header-inner{
    min-height: 68px;
  }

  .page-home main .brand-logo{
    width: 96px;
  }

  .page-home main .header-contact,
.page-home main .search-trigger{
    display: none;
  }

  .page-home main .hero-grid{
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 22px;
  }

  .page-home main .hero-copy{
    padding-top: 0;
  }

  .page-home main .hero h1{
    max-width: 420px;
    margin-bottom: 16px;
    font-size: clamp(38px, 10.5vw, 53px);
  }

  .page-home main .hero-intro{
    max-width: 540px;
    font-size: 15px;
  }

  .page-home main .hero-media{
    width: 100%;
    height: clamp(278px, 78vw, 430px);
    margin-left: 0;
    border-radius: 20px 0 0 0;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 8% 35%);
  }

  .page-home main .hero-media img{
    object-position: 60% 42%;
  }

  .page-home main .finder-wrap{
    width: 100%;
    margin-top: 0;
  }

  .page-home main .solution-finder{
    padding: 24px 18px 20px;
    border-radius: 0;
  }

  .page-home main .finder-heading-row{
    display: block;
  }

  .page-home main .finder-heading-row h2{
    font-size: 25px;
  }

  .page-home main .finder-kicker{
    display: none;
  }

  .page-home main .finder-form{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-home main .finder-label{
    margin-bottom: 8px;
  }

  .page-home main .finder-submit{
    grid-column: auto;
  }

  .page-home main .finder-help{
    flex-wrap: wrap;
    text-align: center;
  }

  .page-home main .challenge-box-controls{
    grid-template-columns: 1fr;
  }

  .page-home main .finder-result-grid{
    grid-template-columns: 1fr;
  }

  .page-home main .section-pad{
    padding-block: 38px 20px;
  }

  .page-home main .section-heading.centered{
    margin-bottom: 18px;
  }

  .page-home main .section-heading h2{
    font-size: 29px;
  }

  .page-home main .services-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home main .service-card{
    min-height: 238px;
    padding-inline: 16px;
  }

  .page-home main .proof-strip{
    margin-top: 20px;
    padding: 18px 14px;
  }

  .page-home main .proof-item{
    grid-template-columns: 42px 1fr;
    padding-inline: 8px;
  }

  .page-home main .proof-item > svg{
    width: 39px;
    height: 39px;
  }

  .page-home main .proof-item strong{
    font-size: 17px;
  }

  .page-home main .proof-item span{
    font-size: 10px;
  }

  .page-home main .industries-section{
    padding-block: 30px;
  }

  .page-home main .section-heading.light{
    display: block;
    margin-bottom: 18px;
  }

  .page-home main .section-heading.light .section-link{
    margin-top: 13px;
  }

  .page-home main .industries-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home main .industry-card{
    min-height: 150px;
  }

  .page-home main .insights-section{
    padding-block: 20px 12px;
  }

  .page-home main .latest-insights{
    padding: 14px;
  }

  .page-home main .insight-cards{
    grid-template-columns: 1fr;
  }

  .page-home main .insight-card{
    min-height: 132px;
    grid-template-columns: 1fr 120px;
  }

  .page-home main .insight-copy h3{
    font-size: 14px;
  }

  .page-home main .insight-card .card-link{
    font-size: 12px;
  }

  .page-home main .contact-cta{
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .page-home main .contact-cta h2{
    font-size: 27px;
  }

  .page-home main .contact-cta p{
    font-size: 14px;
  }

  .page-home main .trusted-row{
    padding-top: 20px;
  }

  .page-home main .partner-logos{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home main .footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding-block: 28px 22px;
  }

  .page-home main .footer-logo{
    width: 106px;
  }

  .page-home main .footer-brand p{
    display: block;
  }

  .page-home main .footer-meta{
    display: flex;
  }

  .page-home main .footer-brand,
.page-home main .footer-contact,
.page-home main .social-links{
    grid-column: 1 / -1;
  }

  .page-home main .footer-meta{
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 470px){
  .page-home main .proof-strip{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-home main .proof-item{
    min-height: 76px;
    padding: 12px 0;
    border-top: 1px solid #d7d0c9;
    border-left: 0;
  }

  .page-home main .proof-item:first-child{
    border-top: 0;
  }

  .page-home main .insights-header{
    align-items: flex-start;
    flex-direction: column;
  }

  .page-home main .insight-card{
    grid-template-columns: 1fr 105px;
  }

  .page-home main .partner-logos{
    grid-template-columns: 1fr;
  }

  .page-home main .footer-grid{
    grid-template-columns: 1fr;
  }

  .page-home main .footer-brand,
.page-home main .footer-contact,
.page-home main .social-links{
    grid-column: auto;
  }
}


@media (max-width: 360px){
  .page-home main .services-grid,
.page-home main .industries-grid{
    grid-template-columns: 1fr;
  }

  .page-home main .service-card{
    min-height: 215px;
  }

  .page-home main .industry-card{
    min-height: 190px;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home main{
    scroll-behavior: auto;
  }

  .page-home main *,
.page-home main *::before,
.page-home main *::after{
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .page-home main .js .reveal{
    opacity: 1;
    transform: none;
  }
}

/* Homepage alignment fixes after restoring the approved design. */
.page-home .site-header{
  background: rgba(247, 244, 240, 1);
  border-bottom-color: rgba(7, 28, 44, 0.06);
}

.page-home main .finder-wrap{
  margin-top: 0;
}

.page-home main .section-heading.centered{
  margin-inline: auto;
}


/* Homepage finder placement refinement */
.page-home main .hero { overflow: visible; padding-bottom: 18px; }
.page-home main .finder-wrap { margin-top: -44px; }
.page-home main .solution-finder { width: 100%; }
.page-home main .services-section { padding-top: 42px; }
@media (max-width:860px){ .page-home main .finder-wrap { margin-top: -24px; } }
@media (max-width:620px){ .page-home main .finder-wrap { margin-top: -16px; } }

/* Homepage finder spacing and in-place natural-language mode. */
.page-home main .finder-view[hidden]{
  display: none !important;
}

.page-home main .challenge-form{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: end;
  gap: 22px;
}

.page-home main .challenge-field{
  min-width: 0;
}

.page-home main .challenge-field textarea{
  width: 100%;
  min-height: 72px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(7, 28, 44, 0.02);
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.page-home main .challenge-submit{
  margin-left: 0;
}

/* Move the finder down slightly while tightening the following section. */
.page-home main .hero{
  padding-bottom: 8px;
}

.page-home main .finder-wrap{
  margin-top: -34px;
}

.page-home main .services-section{
  padding-top: 14px;
}

/* The homepage trust strip needs a little more breathing room before the footer. */
.page-home main .trusted-row{
  padding-bottom: 26px;
}

@media (max-width: 860px){
  .page-home main .finder-wrap{
    margin-top: -18px;
  }

  .page-home main .challenge-form{
    grid-template-columns: 1fr;
  }

  .page-home main .challenge-submit{
    width: 100%;
    min-height: 64px;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    justify-items: start;
  }
}

@media (max-width: 620px){
  .page-home main .finder-wrap{
    margin-top: -10px;
  }

  .page-home main .services-section{
    padding-top: 10px;
  }

  .page-home main .trusted-row{
    padding-bottom: 20px;
  }
}

/* July 2026: homepage service cards are complete clickable targets */
.page-home main a.service-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.page-home main a.service-card:focus-visible {
  outline: 3px solid rgba(241, 74, 10, 0.38);
  outline-offset: 4px;
}

.page-home main a.service-card:hover .card-link,
.page-home main a.service-card:focus-visible .card-link {
  color: #d83f05;
}

/* July 2026: replace the compact insights row with the full-width expert CTA */
.page-home main .home-expert-section {
  padding: 28px 0 12px;
}

.page-home main .home-expert-section .global-cta {
  margin-top: 0;
}

/* More breathing room between the homepage trust logos and footer */
.page-home main .trusted-row {
  padding-bottom: 54px;
}

@media (max-width: 620px) {
  .page-home main .home-expert-section {
    padding-top: 22px;
  }

  .page-home main .trusted-row {
    padding-bottom: 36px;
  }
}


/* Keep the shared expert CTA identical on the homepage. */
.page-home main a.global-cta {
  color: #fff;
}

/* WordPress homepage/footer refinement — v0.6.0 */
.page-home main .service-card h3 {
  min-height: 34px;
  font-size: 13.5px;
  line-height: 1.12;
}
.page-home main .footer-grid.footer-grid--streamlined {
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(360px, 1.35fr) minmax(280px, .9fr);
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
  padding-block: clamp(48px, 6vw, 72px) 44px;
}
.page-home main .footer-grid--streamlined .footer-brand p {
  display: block;
  max-width: 290px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.55;
}
.page-home main .footer-contact.footer-contact--prominent {
  display: grid;
  gap: 12px;
}
.page-home main .footer-contact--prominent > a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  font-size: inherit;
  line-height: 1.3;
}
.page-home main .footer-contact__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--orange);
  border-radius: 50%;
}
.page-home main .footer-contact__icon svg {
  width: 20px;
  height: 20px;
}
.page-home main .footer-contact--prominent small,
.page-home main .footer-contact--prominent strong {
  display: block;
}
.page-home main .footer-contact--prominent small {
  margin-bottom: 3px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-home main .footer-contact--prominent strong {
  color: #fff;
  font-size: clamp(15px, 1.25vw, 18px);
}
.page-home main .footer-newsletter h2 {
  color: #fff;
}
.page-home main .footer-newsletter .social-links {
  display: flex;
}
.page-home main .footer-meta {
  display: flex;
}

@media (max-width: 1040px) {
  .page-home main .footer-grid.footer-grid--streamlined {
    grid-template-columns: 1fr 1.35fr;
  }
  .page-home main .footer-newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .page-home main .footer-grid.footer-grid--streamlined {
    grid-template-columns: 1fr;
  }
  .page-home main .footer-newsletter {
    grid-column: auto;
  }
}

/* Theme 0.8.0: readable service-finder results with separate actions. */
.page-home main .finder-results,
.page-home main .finder-results h3,
.page-home main .finder-results > p {
  color: #fff;
}

.page-home main .finder-result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home main .finder-result-card {
  min-height: 170px;
  padding: 16px;
  color: var(--ink);
}

.page-home main .finder-result-card > strong {
  font-size: 15px;
  line-height: 1.25;
}

.page-home main .finder-result-card > span {
  display: block;
  flex: 1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.page-home main .finder-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-home main .finder-result-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.page-home main .finder-result-action:hover,
.page-home main .finder-result-action:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
}

.page-home main .finder-result-action--expert {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.page-home main .finder-result-action--expert:hover,
.page-home main .finder-result-action--expert:focus-visible {
  color: #fff;
  background: var(--orange-dark);
}

.page-home main .finder-results__fallback {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .page-home main .finder-result-grid {
    grid-template-columns: 1fr;
  }
}
