:root {
  --navy-950: #061426;
  --navy-900: #0a203d;
  --navy-800: #10325a;
  --blue-700: #1557b0;
  --blue-600: #1f67d2;
  --blue-100: #eaf2ff;
  --ink: #172033;
  --text: #536071;
  --muted: #778396;
  --line: #dfe5ec;
  --surface: #f4f7fa;
  --white: #fff;
  --shadow: 0 18px 50px rgba(7, 25, 48, .09);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid #4b91e8; outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
img, svg { display: block; }
.container { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.03em; }
h1 { font-size: clamp(44px, 5.4vw, 72px); max-width: 760px; }
h2 { font-size: clamp(34px, 4vw, 50px); }
h3 { font-size: 21px; }
p { font-size: 17px; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow-light { color: #8db8f4; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--blue-600);
  border-radius: 7px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-700); border-color: var(--blue-700); box-shadow: 0 10px 24px rgba(31, 103, 210, .22); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.button-light { background: var(--white); color: var(--navy-900); border-color: var(--white); white-space: nowrap; }
.button-light:hover { background: #edf4ff; border-color: #edf4ff; }
.text-link { color: var(--navy-900); font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(223,229,236,.85);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--navy-900); font-size: 28px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.site-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 220px;
  object-fit: contain;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a:not(.button) { position: relative; color: #435064; font-size: 15px; font-weight: 600; text-decoration: none; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue-600); transition: right .2s ease; }
.site-nav > a:not(.button):hover::after { right: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { width: 23px; height: 2px; margin: 5px auto; display: block; background: var(--navy-900); transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 74% 48%, rgba(41,115,219,.15), transparent 25%),
    linear-gradient(115deg, #f8fbff 0%, #eef4fa 48%, #e6eef8 100%);
}
.hero-grid-lines { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(rgba(10,32,61,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10,32,61,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, #000, transparent 70%); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr); align-items: center; gap: 64px; padding-block: 92px; }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 720px; margin-top: 28px; color: #445267; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; }
.hero-visual { min-width: 0; }



.hero .eyebrow {
  display: inline-block;
  color: var(--navy-900);
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--blue-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}



.section-heading > p:not(.eyebrow) { max-width: 680px; margin-top: 24px; }
.section-heading.centered { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading.centered > p:not(.eyebrow) { margin-inline: auto; }







.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.service-card { min-height: 294px; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(7,25,48,.035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #c8d7ea; box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-100); }
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-top: 28px; }
.service-card p { margin-top: 14px; color: #667387; font-size: 15px; }

.why { color: rgba(255,255,255,.78); background: linear-gradient(118deg, var(--navy-950), var(--navy-800)); }
.why-layout { display: grid; grid-template-columns: 1fr .84fr; gap: 76px; align-items: center; }
.why h2 { color: #fff; }
.why-copy > p:not(.eyebrow) { max-width: 620px; margin-top: 28px; font-size: 18px; }
.approach-panel { padding: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.07); box-shadow: 0 24px 50px rgba(0,0,0,.12); }
.approach-panel h3 { color: #fff; }
.approach-panel ul { list-style: none; margin-top: 23px; }
.approach-panel li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.11); }
.approach-panel li:first-child { border-top: 0; }
.approach-panel li span { color: #7fb3f3; font-size: 12px; font-weight: 700; }
.approach-panel li p { color: rgba(255,255,255,.84); font-size: 15px; }








.cta-section { padding: 76px 0; color: rgba(255,255,255,.8); background: var(--blue-700); }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 54px; }
.cta-layout h2 { color: #fff; font-size: clamp(32px, 3.4vw, 46px); }
.cta-layout p:not(.eyebrow) { max-width: 760px; margin-top: 18px; }

.site-footer { padding: 58px 0 34px; background: var(--navy-950); color: #dbe6f4; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: start; }
.brand-footer { color: #f6f9fd; }
.footer-brand > p { margin-top: 14px; color: #aebed2; font-size: 14px; line-height: 1.8; }
.footer-contact { text-align: right; }
.footer-label { margin-bottom: 8px; color: #7f93ac; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer-contact a { color: #f6f9fd; text-decoration: none; }
.copyright { grid-column: 1/-1; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.09); color: #8294aa; font-size: 12px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 800px; }
  .hero-visual { max-width: 760px; width: 100%; margin-inline: auto; }
  .why-layout{ grid-template-columns: 1fr; gap: 54px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  
  
  
  
  
}

@media (max-width: 820px) {
  html:not(.js) .nav-wrap { flex-wrap: wrap; }
  .site-nav { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 14px 0 20px; background: #fff; }
  .js .site-nav { position: fixed; inset: 74px 0 auto 0; display: none; width: auto; padding: 22px 20px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(7,25,48,.1); }
  .js .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid #edf0f4; }
  .site-nav .button { margin-top: 18px; }
  .menu-toggle { display: none; }
  .js .menu-toggle { display: block; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 82px 0; }
  .hero-layout { padding-block: 74px; }
  .cta-layout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1280px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-lead { font-size: 17px; }
  
  .service-grid{ grid-template-columns: 1fr; }
  
  .service-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* v1.2 hero refinement */
.hero {
  color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 78% 42%, rgba(31,103,210,.22), transparent 34%),
    linear-gradient(112deg, #061426 0%, #0a203d 52%, #10325a 100%);
}
.hero-grid-lines {
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.55) 55%, transparent 100%);
}
.hero h1 { color: #fff; }
.hero .eyebrow {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  letter-spacing: .14em;
}
.hero-lead { color: rgba(255,255,255,.82); }
.hero .text-link { color: #fff; }




.services .section-heading.centered {
  max-width: 1240px;
}
.services .section-heading.centered h2,
.services .section-heading.centered > p:not(.eyebrow) {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .services .section-heading.centered h2,
  .services .section-heading.centered > p:not(.eyebrow) { white-space: normal; }
}

@media (max-width: 1020px) {
  
}

@media (max-width: 620px) {
  
}

/* Services page */
.site-nav > a.is-active:not(.button) { color: var(--navy-900); }
.site-nav > a.is-active:not(.button)::after { right: 0; }

.services-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 79% 43%, rgba(31,103,210,.22), transparent 34%),
    linear-gradient(112deg, #061426 0%, #0a203d 52%, #10325a 100%);
}
.services-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(470px, .97fr);
  align-items: center;
  gap: 64px;
  padding-block: 92px;
}
.services-hero-copy { position: relative; z-index: 2; }
.services-hero h1 { color: #fff; max-width: 760px; }
.services-hero .eyebrow { color: #fff; }
.services-hero .text-link { color: #fff; }
.services-hero-lead {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(255,255,255,.82);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}





.services-overview { background: var(--surface); }
.services-detail-grid { align-items: stretch; }
.service-detail-card { min-height: 430px; position: relative; }
.service-number {
  position: absolute;
  top: 30px;
  right: 28px;
  color: #a6b5c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}












.engineering-matters {
  color: rgba(255,255,255,.8);
  background:
    radial-gradient(circle at 80% 50%, rgba(31,103,210,.14), transparent 28%),
    linear-gradient(118deg, var(--navy-950), var(--navy-800));
}
.engineering-matters-layout {
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: 78px;
  align-items: center;
}
.engineering-matters h2 { color: #fff; }
.engineering-matters-copy > p:not(.eyebrow) { max-width: 650px; margin-top: 24px; font-size: 18px; }
.engineering-principles {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 50px rgba(0,0,0,.12);
}
.engineering-principles > div { position: relative; padding: 28px 30px 28px 82px; border-top: 1px solid rgba(255,255,255,.11); }
.engineering-principles > div:first-child { border-top: 0; }
.engineering-principles span { position: absolute; left: 30px; top: 31px; color: #80b4f4; font-size: 12px; font-weight: 700; }
.engineering-principles h3 { color: #fff; font-size: 18px; }
.engineering-principles p { margin-top: 8px; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.55; }

@media (max-width: 1120px) {
  .services-hero-layout { grid-template-columns: 1fr; }
  .services-hero { min-height: auto; }
  .services-hero-copy { max-width: 820px; }
  
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .engineering-matters-layout { grid-template-columns: 1fr; gap: 54px; }
}

@media (max-width: 920px) {
  
  
  
  
  
}

@media (max-width: 620px) {
  .services-hero-layout { padding-block: 72px; }
  
  .services-detail-grid { grid-template-columns: 1fr; }
  .service-detail-card { min-height: auto; }
  .engineering-principles > div { padding: 25px 22px 25px 68px; }
  .engineering-principles span { left: 24px; top: 28px; }
}

/* Content clarity refinement — Home + Services */






.detail-label {
  margin-top: 24px !important;
  color: var(--navy-900) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.detail-label-output {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid #e7ebf0;
  color: var(--blue-600) !important;
}
.service-detail-card {
  min-height: 455px;
}



@media (max-width: 920px) {
  
  
}

@media (max-width: 620px) {
  
  
  
}


/* Heading rhythm refinement */
@media (min-width: 1181px) {
  
  

  
  
}

@media (max-width: 1180px) {
  
}


/* Trust + About refinement */
.about-inline-link {
  display: inline-flex;
  margin-top: 24px;
  color: #fff;
}

.scope-note {
  max-width: 980px;
  margin: 34px auto 0;
  padding: 18px 22px;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #5b6879;
  font-size: 14px;
  line-height: 1.65;
}
.scope-note strong { color: var(--navy-900); }




.about-panel-label {
  margin-bottom: 8px;
  color: #9dbbe0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}













.about-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.about-boundary-card {
  padding: 30px;
  border: 1px solid #dfe6ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(8,30,58,.05);
}
.about-boundary-card h3 { color: var(--navy-900); font-size: 20px; }
.about-boundary-card p,
.about-boundary-card li { color: #5f6d80; font-size: 15px; line-height: 1.65; }
.about-boundary-card p { margin-top: 18px; }
.about-boundary-card ul { margin-top: 16px; padding-left: 20px; }
.about-boundary-card li + li { margin-top: 9px; }



@media (max-width: 1120px) {
  
  
  
  .about-boundary-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .about-boundary-grid { grid-template-columns: 1fr; }
  
  
}


/* Navigation + About + Process + Contact refinement */

/* About: control headline rhythm without adding a generic stock image. */










/* Give Services headings enough room to breathe on normal desktop widths. */



/* Process page */
.process-page-hero { min-height: 610px; }
.process-hero-layout { grid-template-columns: minmax(0, 1fr) 390px; }
.process-page-hero h1 { max-width: 820px; font-size: clamp(44px, 4.5vw, 62px); }
.process-output-panel {
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 50px rgba(0,0,0,.14);
}
.process-output-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.11);
}
.process-output-item:first-of-type { border-top: 0; }
.process-output-item span { color: #80b4f4; font-size: 12px; font-weight: 700; }
.process-output-item p { color: rgba(255,255,255,.88); font-size: 15px; font-weight: 600; }

.process-detail-section { background: #fff; }
.process-heading { max-width: 900px !important; }
.process-detail-list { max-width: 1160px; margin: 0 auto; list-style: none; }
.process-detail-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 285px;
  gap: 36px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.process-detail-card:first-child { border-top: 0; }
.process-detail-step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.process-detail-step > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #bfd2e9;
  border-radius: 50%;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}
.process-detail-step h3 { font-size: 19px; }
.process-detail-copy p { color: #5e6b7d; font-size: 15px; line-height: 1.7; }
.process-detail-output {
  padding: 18px 20px;
  border: 1px solid #dfe7f0;
  border-radius: 10px;
  background: #f7f9fc;
}
.process-detail-output span { display: block; color: #8190a3; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.process-detail-output strong { display: block; margin-top: 8px; color: var(--navy-900); font-size: 14px; line-height: 1.45; }

/* Contact page: a real contact route without pretending a static form is functional. */






.contact-main { background: #fff; }
















.contact-next { background: var(--surface); }
.contact-next .section-heading.centered { max-width: 930px; }
.contact-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1050px; margin: 0 auto; }
.contact-next-grid > div { padding: 28px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.contact-next-grid span { color: var(--blue-600); font-size: 12px; font-weight: 700; }
.contact-next-grid h3 { margin-top: 20px; font-size: 19px; }
.contact-next-grid p { margin-top: 10px; color: #647184; font-size: 14px; line-height: 1.6; }

@media (min-width: 1181px) {
  
  
}

@media (max-width: 1180px) {
  .process-hero-layout{ grid-template-columns: 1fr; }
  .process-output-panel{ max-width: 820px; }
  
  
  
  
  .process-detail-card { grid-template-columns: 220px minmax(0, 1fr); }
  .process-detail-output { grid-column: 2; }
  
  
}

@media (max-width: 760px) {
  .process-detail-card { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  .process-detail-output { grid-column: auto; }
  
  .contact-next-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   Cross-page alignment refinement — Process page is the hero baseline
   ========================================================= */

/* Use the Process hero's horizontal grid and vertical rhythm as the common baseline. */
.home-aligned-hero,
.services-hero.process-page-hero,
.about-page-hero,
.contact-page-hero {
  min-height: 610px;
}

.hero-layout.process-hero-layout,
.services-hero-layout.process-hero-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  padding-block: 92px;
  align-items: center;
}

/* Home keeps its image, but the image now occupies the same right-hand column as Process. */


/* About uses the same typography envelope as Process while avoiding excessive wrapping. */
.about-page-hero h1 {
  max-width: 850px;
  font-size: clamp(42px, 4vw, 54px);
  line-height: 1.08;
}

/* Snapshot content inside a Process-style panel. */
.snapshot-output-item {
  align-items: start;
}
.snapshot-output-item p {
  font-weight: 500;
  line-height: 1.5;
}
.snapshot-output-item p strong {
  display: block;
  margin-bottom: 4px;
  color: #9dbbe0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.snapshot-output-item a {
  color: rgba(255,255,255,.92);
  font-weight: 600;
  text-decoration: none;
}
.snapshot-output-item a:hover { color: #fff; }

/* Wider centered headings for sections where the copy should breathe. */
.wide-section-heading {
  max-width: 1180px !important;
}
.wide-section-heading > p:not(.eyebrow) {
  max-width: 1060px;
}

.about-experience-section { background: #fff; }
.about-experience-lead {
  max-width: 1180px;
  margin: -20px auto 0;
  color: #5e6c7e;
  font-size: 18px;
  line-height: 1.78;
  text-align: left;
}
.about-experience-grid { margin-top: 46px; }

/* Services: keep the main deliverables heading on one line and align card labels. */
.services-overview .section-heading.centered {
  max-width: 1120px;
}
.service-detail-card h3 {
  min-height: 50px;
}
.service-detail-card .detail-label:not(.detail-label-output) + p {
  min-height: 92px;
}
.service-detail-card .detail-label-output + p {
  min-height: 112px;
}

/* Contact: concise, useful information rather than a repeated email card. */
.contact-information-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.contact-information-grid > div {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7,25,48,.035);
}
.contact-information-grid span {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}
.contact-information-grid h3 {
  margin-top: 18px;
  font-size: 18px;
}
.contact-information-grid p {
  margin-top: 9px;
  color: #647184;
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 1181px) {
  .services-overview .section-heading.centered h2, .process-heading .single-line-desktop, .contact-next .single-line-desktop{
    white-space: nowrap;
  }

  .process-heading {
    max-width: 1120px !important;
  }

  .process-heading > p:not(.eyebrow) {
    max-width: 1120px;
  }

  
}

@media (max-width: 1180px) {
  .hero-layout.process-hero-layout,
  .services-hero-layout.process-hero-layout {
    grid-template-columns: 1fr;
  }

  .process-output-panel {
    max-width: 820px;
  }

  .service-detail-card h3,
  .service-detail-card .detail-label:not(.detail-label-output) + p,
  .service-detail-card .detail-label-output + p {
    min-height: 0;
  }

  .contact-information-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .contact-information-grid {
    grid-template-columns: 1fr;
  }

  .about-experience-lead {
    margin-top: -10px;
    font-size: 16px;
  }
}

@media (max-width: 620px) {
  .site-logo {
    height: 34px;
    max-width: 185px;
  }
}

.footer-social { display: block; margin-top: 8px; color: #dbe6f4; font-size: 13px; }


/* Home page refinement — v1.7.2 */
.home-aligned-hero {
  background:
    linear-gradient(90deg, rgba(6,20,38,.98) 0%, rgba(8,26,50,.96) 22%, rgba(10,32,61,.88) 40%, rgba(10,32,61,.58) 58%, rgba(10,32,61,.18) 76%, rgba(10,32,61,.02) 90%),
    url("../hero-engineering-network.jpg") right center / cover no-repeat;
}

.home-aligned-hero .hero-grid-lines {
  mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.88) 42%, rgba(0,0,0,.35) 70%, transparent 100%);
}

.home-aligned-hero .hero-visual-spacer {
  min-height: 390px;
}







@media (min-width: 1181px) {
  
}

@media (max-width: 1180px) {
  .home-aligned-hero {
    background:
      linear-gradient(180deg, rgba(6,20,38,.96) 0%, rgba(10,32,61,.86) 44%, rgba(10,32,61,.42) 72%, rgba(10,32,61,.12) 100%),
      url("../hero-engineering-network.jpg") center / cover no-repeat;
  }
}

@media (max-width: 620px) {
  
}

/* =========================================================
   v1.7.3 — Home responsive fix + detail-page legibility
   Base: official v1.7.2
   ========================================================= */

/* HOME — extend the content area slightly farther to the right on desktop.
   Tuning knob: change 300px. Smaller = copy extends farther right. */
@media (min-width: 1181px) {
  .home-aligned-hero .hero-layout.process-hero-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }

  .home-aligned-hero .hero-copy {
    max-width: 900px;
  }

  .home-aligned-hero .hero-lead {
    max-width: 790px;
  }
}

/* HOME — once the layout collapses to one column, remove the old right-side
   image spacer completely. It is no longer a real image; keeping its 390px
   height was what created the large empty block and made the background zoom. */
@media (max-width: 1180px) {
  .home-aligned-hero {
    min-height: auto !important;
    background:
      linear-gradient(90deg, rgba(6,20,38,.98) 0%, rgba(8,26,50,.95) 30%, rgba(10,32,61,.78) 52%, rgba(10,32,61,.42) 74%, rgba(10,32,61,.14) 100%),
      url("../hero-engineering-network.jpg") right center / cover no-repeat;
  }

  .home-aligned-hero .hero-layout.process-hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0;
    padding-block: 72px;
  }

  .home-aligned-hero .hero-copy {
    width: 100%;
    max-width: 920px;
  }

  .home-aligned-hero .hero-visual-spacer {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
  }
}

@media (max-width: 820px) {
  .home-aligned-hero .hero-layout.process-hero-layout {
    padding-block: 62px;
  }
}

@media (max-width: 620px) {
  .home-aligned-hero {
    background:
      linear-gradient(90deg, rgba(6,20,38,.98) 0%, rgba(8,26,50,.95) 48%, rgba(10,32,61,.72) 76%, rgba(10,32,61,.34) 100%),
      url("../hero-engineering-network.jpg") 68% center / cover no-repeat;
  }

  .home-aligned-hero .hero-layout.process-hero-layout {
    padding-block: 54px;
  }
}

/* SERVICES — increase only the small/detail copy that was reading undersized. */
.services-page .engineering-principles p, .services-page .scope-note{
  font-size: 15px;
}

.services-page .service-detail-card .detail-label:not(.detail-label-output) + p,
.services-page .service-detail-card .detail-label-output + p {
  font-size: 16px;
  line-height: 1.65;
}

.services-page .engineering-principles h3{
  font-size: 19px;
}

/* ABOUT — preserve the 18px long-form paragraph; enlarge the smaller cards/panel copy. */
.about-page .engineering-principles p{
  font-size: 15px;
  line-height: 1.62;
}

.about-page .about-boundary-card p,
.about-page .about-boundary-card li {
  font-size: 16px;
  line-height: 1.68;
}

/* PROCESS — make execution details easier to scan without changing the page hierarchy. */
.process-page .process-detail-copy p,
.process-page .process-output-item p {
  font-size: 16px;
  line-height: 1.68;
}

.process-page .process-detail-output strong {
  font-size: 15px;
}

/* CONTACT — increase the informational cards and next-step copy slightly. */
.contact-page .contact-information-grid p, .contact-page .contact-next-grid p{
  font-size: 15px;
  line-height: 1.65;
}

.contact-page .contact-information-grid h3,
.contact-page .contact-next-grid h3 {
  font-size: 19px;
}

/* =========================================================
   v1.7.3 final correction — restore long-copy format and
   let Home hero copy extend right without moving its left edge
   ========================================================= */

/* Restore the v1.7.2 long-form paragraph treatment exactly. */


@media (max-width: 680px) {
  
}

/* The Home image is now a full Hero background, so the old right-side
   image column no longer needs to reserve layout width. Keep the same
   left edge and give the headline/lead more room to extend right. */
.home-aligned-hero .hero-layout.process-hero-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.home-aligned-hero .hero-copy {
  width: 100%;
  max-width: 1040px !important;
}

.home-aligned-hero h1 {
  max-width: 1040px !important;
}

.home-aligned-hero .hero-lead {
  max-width: 960px !important;
}

.home-aligned-hero .hero-visual-spacer {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
}

@media (max-width: 820px) {
  .home-aligned-hero .hero-copy,
  .home-aligned-hero h1,
  .home-aligned-hero .hero-lead {
    max-width: 100% !important;
  }
}


/* v1.8.1 — 404 CSP-safe layout */
.not-found-hero { min-height: 520px; }
.not-found-layout { grid-template-columns: 1fr; max-width: 900px; }


/* v1.8.7 — customer clarity refinement */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.situation-grid .service-card { min-height: 250px; }
.contact-information-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1020px) {
  .situation-grid { grid-template-columns: 1fr; max-width: 760px; }
  .situation-grid .service-card { min-height: auto; }
  .contact-information-grid-four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .contact-information-grid-four { grid-template-columns: 1fr; }
}


/* =========================================================
   v1.8.x — procurement clarity and compact service copy
   ========================================================= */

/* Home situations: prevent the long heading from overflowing and match
   the long-form About paragraph treatment without changing section copy. */
#situations .section-heading.centered {
  max-width: 1240px;
}
#situations .section-heading.centered h2 {
  max-width: 1080px;
  margin-inline: auto;
  white-space: normal;
}
#situations .section-heading.centered > .home-situations-lead {
  max-width: 1180px;
  margin: 26px auto 0;
  color: #5e6c7e;
  font-size: 18px;
  line-height: 1.78;
  text-align: left;
  white-space: normal;
}

/* Services intro: stay on one line at normal desktop/tablet widths and
   wrap naturally only when space becomes genuinely narrow. */
@media (min-width: 900px) {
  .services-overview .services-stage-intro {
    max-width: none !important;
    white-space: nowrap !important;
  }
}

/* Services card rhythm: equalize the two content rows so the labels align. */
@media (min-width: 1181px) {
  .services-page .service-detail-card .detail-label:not(.detail-label-output) + p {
    min-height: 84px;
  }
  .services-page .service-detail-card .detail-label-output + p {
    min-height: 88px;
  }
}

/* About Hero: use the same H1 scale as the other Process-baseline heroes. */
.about-page-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 4.5vw, 62px);
  line-height: 1.08;
}

@media (max-width: 680px) {
  #situations .section-heading.centered > .home-situations-lead {
    font-size: 16px;
  }
}
