@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/geist-mono.woff2') format('woff2');
}

:root {
  --navy: #1f3f6e;
  --navy-dark: #16304f;
  --navy-light: #6f9bf0;
  --black: #0f0f0f;
  --white: #ffffff;
  --gray: #8a8f96;
  --gray-dark: #6b7078;
  --line: #262626;
  --line-light: #e2e2e2;
  --header-h: 112px;
  --nav-link-h: 40px;
  --dither: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAACZJREFUGFdjZEACDAwM/xmYGCYyMDA8YmBgOAnmMoI4DAwMDCCOAwMAfEwID7mO9/oAAAAASUVORK5CYII=');
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Geist", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
.page-shell {
  max-width: none;
  margin: 0;
  background: var(--white);
  box-shadow: none;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
.dither-bg { background-image: var(--dither); background-repeat: repeat; }
.mono {
  font-family: "Geist Mono", "Consolas", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Header */
body { padding-top: var(--header-h); }
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  border-bottom: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  z-index: 1000;
  gap: 24px;
}
header.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
header.site-header .brand img { height: 70px; width: auto; }
header.site-header .brand span { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; color: var(--navy); }
nav.main-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  min-width: 0;
  height: 100%;
  align-items: center;
  flex-wrap: nowrap;
}
nav.main-nav a {
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  padding: 0 12px;
  height: var(--nav-link-h);
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 1200px) {
  nav.main-nav { display: none; }
}

/* Hamburger + full-screen mobile overlay */
.hamburger {
  display: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--navy); transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 1200px) { .hamburger { display: flex; } }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-overlay.active { display: flex; }
.mobile-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 24px;
  border-bottom: 1px solid var(--line-light);
  flex-shrink: 0;
}
.mobile-overlay-header .brand { display: flex; align-items: center; text-decoration: none; }
.mobile-overlay-header .brand img { height: 70px; width: auto; }
.mobile-overlay-header .hamburger { display: flex; }

.mobile-nav { display: flex; flex-direction: column; padding-bottom: 40px; }
.mobile-link, .accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-bottom: 1px solid var(--line-light);
  background: none;
  text-align: left;
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
}
.mobile-link:hover, .mobile-link[aria-current="page"],
.accordion-trigger:hover, .accordion-trigger.active {
  background: var(--navy);
  color: var(--white);
}
.accordion-icon {
  font-family: "Geist", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.accordion-trigger.active .accordion-icon { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  transition: max-height 0.35s ease;
}
.accordion-panel.open { max-height: 2000px; }

.mobile-sublink {
  display: block;
  padding: 14px 24px 14px 40px;
  border-bottom: 1px solid var(--line-light);
  font-family: "Geist", "Segoe UI", sans-serif;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}
.mobile-sublink:hover { background: var(--navy); color: var(--white); }
.mobile-sublink.overview {
  font-family: "Geist Mono", "Consolas", monospace;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.accordion-panel .accordion-trigger.nested {
  padding-left: 40px;
  font-family: "Geist", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}
.accordion-panel .accordion-panel .mobile-sublink { padding-left: 56px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: calc(100vh - var(--header-h));
  min-height: 520px;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; height: auto; } }
.hero-visual {
  position: relative;
  background: var(--black);
  overflow: hidden;
  min-height: 480px;
}
@media (max-width: 900px) { .hero-visual { min-height: 60vh; } }
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  filter: grayscale(1) contrast(1.15);
  opacity: 0.92;
}
.hero-overlay { position: absolute; bottom: 32px; left: 32px; right: 32px; color: var(--white); z-index: 2; }
.hero-overlay .tag { color: #fff; background: var(--navy); display: inline-block; padding: 4px 10px; margin-bottom: 16px; }
.hero-title {
  font-size: clamp(32px, 5.5vw, 80px);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero-sidebar {
  border-left: 1px solid var(--line-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
@media (max-width: 900px) { .hero-sidebar { border-left: none; border-top: 1px solid var(--line-light); } }
.hero-sidebar .eyebrow { color: var(--navy); margin-bottom: 16px; display: block; }
.hero-sidebar p.lede { font-size: 16px; font-weight: 500; max-width: 40ch; }
.stat-list { border-top: 1px solid var(--line-light); padding-top: 4px; }
.stat-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.stat-row::before { content: "+"; color: var(--navy); margin-right: 8px; }
.stat-row span:first-of-type { flex: 1; }

/* Divisions (dark) */
.divisions-container { background: var(--black); color: var(--white); padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.section-header .eyebrow { color: var(--navy-light); }
.section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }

.discipline-list { display: flex; flex-direction: column; }
.discipline-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.discipline-row:first-child { border-top: 1px solid var(--line); }
.discipline-row:hover { background: rgba(255,255,255,0.03); }
.discipline-icon { width: 40px; height: 40px; color: var(--navy-light); flex-shrink: 0; }
.discipline-icon svg { width: 100%; height: 100%; margin: 0; }
.discipline-row:hover .discipline-icon { color: var(--white); }
.discipline-text h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.discipline-text p { font-size: 13.5px; color: var(--gray); margin: 0; max-width: 56ch; }
.discipline-arrow {
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 20px;
  color: #3a3a3a;
  transition: transform 0.2s, color 0.2s;
}
.discipline-row:hover .discipline-arrow { color: var(--white); transform: translateX(4px); }
@media (max-width: 640px) {
  .discipline-row { grid-template-columns: 40px 1fr; row-gap: 6px; }
  .discipline-arrow { display: none; }
}

/* Detail view */
.detail-view {
  padding: 72px 24px;
  border-top: 1px solid var(--line-light);
  max-width: 1200px;
  margin: 0 auto;
}
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.spec-label { color: var(--navy); margin-bottom: 16px; display: block; }
.detail-view h2 { font-size: clamp(30px,4vw,48px); line-height: 1.02; font-weight: 900; margin-bottom: 20px; letter-spacing: -0.02em; }
.detail-lede { font-size: 18px; color: var(--gray-dark); max-width: 46ch; }
.ref-box { margin-top: 40px; border: 1px solid var(--navy); padding: 22px; background-color: #f8f8f8; background-image: var(--dither); }
.ref-box h4 { margin: 8px 0; font-size: 17px; }

.service-list { list-style: none; }
.service-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.service-item::before { content: "+"; color: var(--navy); margin-right: 4px; }
.service-item > span:first-of-type { flex: 1; }

.placeholder-box {
  border: 1px dashed var(--navy);
  background: #f4f6f9;
  padding: 18px 22px;
  font-size: 13.5px;
  max-width: 68ch;
  margin: 0 0 28px;
}
.placeholder-box b {
  color: var(--navy);
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

/* Contact */
.contact-section { background: var(--white); padding: 72px 24px; border-top: 1px solid var(--line-light); max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid h2 { font-size: clamp(28px,4vw,42px); font-weight: 900; margin-bottom: 20px; letter-spacing: -0.02em; }
.contact-lines { margin-top: 32px; }
.contact-lines div { padding: 4px 0; }
form label.mono { display: block; margin-bottom: 8px; }
.form-required-note { color: var(--gray-dark); font-size: 12px; margin: 0 0 20px; }
.required-mark { color: #b3261e; }
.optional-mark { color: var(--gray-dark); text-transform: none; letter-spacing: normal; font-weight: 400; }
form input, form textarea, form select {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--navy);
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 13px;
  margin-bottom: 20px;
  outline: none;
  background: #fff;
  color: var(--black);
}
form input:focus, form textarea:focus { background-color: #f8f8f8; background-image: var(--dither); }
form input[type="checkbox"] { width: auto; padding: 0; border: none; margin-bottom: 0; flex-shrink: 0; }
.consent-label { display: flex; align-items: flex-start; gap: 8px; text-transform: none; letter-spacing: normal; font-family: "Geist", "Segoe UI", sans-serif; font-size: 13px; margin: 4px 0 20px; color: var(--gray-dark); }
.submit-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 18px 32px;
  font-family: "Geist Mono", "Consolas", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 100%;
  cursor: pointer;
}
.submit-btn:hover { background: var(--navy-dark); }

.legal-block { max-width: 68ch; padding: 56px 24px; margin: 0 auto; }
.legal-block h3 { margin-top: 32px; font-size: 18px; }
.legal-block dt { font-family: "Geist Mono", "Consolas", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-dark); margin-top: 12px; }
.legal-block dd { margin: 2px 0 0; }

footer.site-footer {
  padding: 28px 24px;
  background: var(--black);
  color: var(--gray);
}
footer.site-footer a { color: var(--gray); text-decoration: none; }
footer.site-footer a:hover { color: var(--white); }
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-certificate { height: 44px; width: auto; opacity: 0.9; flex-shrink: 0; }
.certification-block { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.certification-badge { width: 150px; height: auto; flex-shrink: 0; }
.certification-block p { margin: 0; max-width: 60ch; }
.footer-legal {
  max-width: 1200px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: #666;
}

/* Mega menu */
.nav-item.has-dropdown { position: relative; display: flex; align-items: center; height: var(--nav-link-h); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--navy);
  box-shadow: 0 16px 32px rgba(0,0,0,0.14);
  flex-direction: column;
  padding: 6px 0;
  z-index: 1100;
}
.dropdown:not(.megamenu) { width: max-content; max-width: 420px; }
.nav-item.has-dropdown:hover .dropdown { display: flex; }
.dropdown a {
  padding: 10px 18px !important;
  border: none !important;
  font-size: 12px;
  white-space: normal !important;
}
.dropdown:not(.megamenu) a { white-space: nowrap !important; }
.dropdown:not(.megamenu) a + a { border-top: 1px solid var(--line-light) !important; }
.dropdown a:hover { background: var(--navy); color: var(--white); }
/* Mega menu: multi-column variant for entries with grouped sub-items */
.dropdown.megamenu {
  display: none;
  flex-direction: row;
  position: fixed;
  top: calc((var(--header-h) - var(--nav-link-h)) / 2 + var(--nav-link-h));
  left: auto;
  right: 24px;
  max-width: calc(100vw - 48px);
  padding: 28px 28px 24px;
  gap: 40px;
}
.nav-item.has-megamenu:hover .dropdown.megamenu { display: flex; }
.megamenu-col { display: flex; flex-direction: column; flex: 0 1 auto; min-width: 0; }
.megamenu-col-head { display: flex; align-items: center; justify-content: space-between; }
.megamenu-col-children { display: flex; flex-direction: column; }
.megamenu-col-head .megamenu-group-label {
  font-family: "Geist Mono", "Consolas", monospace !important;
  font-weight: 700;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  line-height: 1.35;
  white-space: normal;
  color: var(--black);
  text-decoration: none;
  flex: 1 1 auto;
  padding: 8px 10px 12px !important;
  margin: 0 -10px 14px !important;
  border-bottom: 1px solid var(--line-light);
  width: auto !important;
  height: auto !important;
}
.megamenu-col-head .megamenu-group-label.static { cursor: default; border-bottom: none; }
.megamenu-group-label:not(.static):hover { background: var(--navy) !important; color: var(--white) !important; border-bottom-color: var(--navy); }
.megamenu-child {
  padding: 10px !important;
  margin: 0 -10px !important;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gray-dark);
  border: none !important;
  overflow-wrap: break-word;
}
.dropdown .megamenu-child { white-space: nowrap !important; }
.megamenu-child:hover { background: var(--navy) !important; color: var(--white) !important; }
.megamenu-child + .megamenu-child { border-top: 1px solid var(--line-light) !important; }

/* Generic content sections */
.content-section { padding: 64px 24px; }
.content-section.alt { background: var(--paper, #f5f5f5); }
.section-inner.narrow { max-width: 780px; margin: 0 auto; }
.content-section h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 18px; }
.content-section p { font-size: 15.5px; color: #333; margin-bottom: 14px; max-width: 68ch; }
.section-lede { color: var(--gray-dark); font-size: 15px; margin-bottom: 24px; }
.section-list { list-style: none; margin: 0; padding: 0; }
.section-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14.5px;
}
.section-list li::before { content: "+"; color: var(--navy); margin-right: 10px; font-weight: 700; }

.field-list { margin: 0; max-width: 68ch; }
.field-list dt { font-family: "Geist Mono", "Consolas", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-dark); margin-top: 14px; }
.field-list dd { margin: 2px 0 0; font-size: 15px; }
.field-list dd a { color: var(--navy); text-decoration: underline; }
.field-list dd a:hover { color: var(--navy-dark); }

.reference-list { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.reference-list li { padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.reference-list li:first-child { border-top: 1px solid var(--line-light); }
.reference-list .ref-name { display: block; font-weight: 700; font-size: 15.5px; margin-bottom: 4px; }
.reference-list .ref-desc { display: block; color: var(--gray-dark); font-size: 13.5px; line-height: 1.5; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  margin-top: 8px;
}
.project-card {
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project-sector {
  color: var(--navy);
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0; }
.project-scope { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.project-scope li { font-size: 13px; color: var(--gray-dark); padding-left: 14px; position: relative; line-height: 1.4; }
.project-scope li::before { content: "+"; color: var(--navy); position: absolute; left: 0; font-weight: 700; }
.project-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-light); }
.project-services a {
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--navy);
  padding: 4px 8px;
}
.project-services a:hover { background: var(--navy); color: var(--white); }

.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.related-links a {
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--navy);
  padding: 10px 16px;
}
.related-links a:hover { background: var(--navy); color: var(--white); }

.capability-group { margin-bottom: 28px; }
.capability-group:last-child { margin-bottom: 0; }
.capability-group .spec-label { margin-bottom: 10px; }

.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.page-hero {
  background: var(--black);
  color: var(--white);
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero.with-photo img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero .inner { width: 100%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--navy-light); display: block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(32px,5.5vw,58px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; margin-bottom: 20px; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.page-hero p { font-size: 16px; color: var(--white); max-width: 62ch; margin-bottom: 24px; }

.page-hero.with-photo .eyebrow {
  background: var(--navy);
  color: var(--white);
  width: fit-content;
  padding: 6px 12px;
}
.page-hero.with-photo h1 {
  background: rgba(15,15,15,0.65);
  color: var(--white);
  width: fit-content;
  padding: 8px 16px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.page-hero.with-photo p {
  background: rgba(15,15,15,0.65);
  width: fit-content;
  padding: 10px 14px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.btn {
  display: inline-block;
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid var(--white);
  color: var(--white);
}
.btn:hover { background: var(--white); color: var(--black); }
.btn.primary { background: var(--navy); border-color: var(--navy); }
.btn.primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn.ghost { color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }

.subservice { border-top: 1px solid var(--line-light); padding: 56px 24px; max-width: 1200px; margin: 0 auto; }
.subservice:first-of-type { border-top: none; }
.subservice .spec-label { color: var(--navy); }
.subservice h2 { font-size: clamp(26px,3.5vw,38px); font-weight: 900; margin-bottom: 14px; letter-spacing: -0.02em; }
.subservice .lede { font-size: 15px; color: var(--gray-dark); max-width: 68ch; margin-bottom: 24px; }
.subservice ul.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.subservice ul.tags li {
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 8px 14px;
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.process-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin-top: 8px; }
.process-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border: 1px solid var(--navy);
  background: var(--white);
}
.process-num {
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 11px;
  color: var(--navy);
  font-weight: 700;
}
.process-label {
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
}
.process-arrow {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: var(--navy);
  margin: 0 14px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .process-flow { flex-direction: column; align-items: stretch; }
  .process-step { width: 100%; }
  .process-arrow { transform: rotate(90deg); margin: 4px auto; }
}

.draft-callout {
  border: 1px dashed var(--navy);
  background: rgba(31,63,110,0.05);
  padding: 18px 22px;
  font-size: 13.5px;
  max-width: 68ch;
  margin: 0 0 28px;
}
.draft-callout b {
  color: var(--navy);
  font-family: "Geist Mono", "Consolas", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.ref-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--black);
  border: 1px solid var(--navy);
  max-width: 1200px;
  margin: 0 auto;
}
.ref-gallery figure { margin: 0; background: #fff; }
.ref-gallery img { width: 100%; height: 140px; object-fit: cover; display: block; }
.ref-gallery figcaption { font-family: "Geist Mono", "Consolas", monospace; font-size: 10.5px; color: var(--gray-dark); padding: 8px 10px; }

.inline-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black);
  border: 1px solid var(--navy);
  margin: 24px 0 0;
}
@media (max-width: 640px) { .inline-photo-grid { grid-template-columns: 1fr; } }
.inline-photo-grid figure { margin: 0; background: #fff; }
.inline-photo-grid img { width: 100%; height: 170px; object-fit: cover; display: block; }
.inline-photo-grid figcaption { font-family: "Geist Mono", "Consolas", monospace; font-size: 11px; color: var(--gray-dark); padding: 8px 10px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--black);
  border: 1px solid var(--navy);
  max-width: 720px;
}
.team-grid figure { margin: 0; background: #fff; text-align: center; }
.team-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.team-grid figcaption { font-family: "Geist Mono", "Consolas", monospace; font-size: 11px; color: var(--gray-dark); padding: 8px 0; }

.cert-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.cert-row img { height: 56px; width: auto; background: #fff; border: 1px solid var(--navy); padding: 8px; }
