:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #dfe4ea;
  --navy: #10233e;
  --blue: #2764c8;
  --pale: #eaf1fb;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 250, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 228, 234, 0.85);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 600; color: #334155; }
.nav a:hover { color: var(--blue); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--navy); border-radius: 999px; }
.menu-toggle { display: none; }

.hero { padding: 92px 0 72px; background: linear-gradient(180deg, #f7f8fa 0%, #eef3f9 100%); }
.hero-grid { display: grid; grid-template-columns: 1.45fr 0.75fr; gap: 60px; align-items: center; }
.eyebrow, .mini-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--blue);
}
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 4.4vw, 3.85rem); letter-spacing: -0.045em; margin-bottom: 24px; max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.035em; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.hero-copy { max-width: 780px; font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 34px; }
.button { display: inline-block; padding: 13px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.button.primary { background: var(--navy); color: white; }
.button.secondary { border: 1px solid #b9c3cf; background: white; }
.credibility-row { display: flex; flex-wrap: wrap; gap: 10px; }
.credibility-row span { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: .86rem; color: #405066; }
.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.impact-strip div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(185,195,207,.75);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}
.impact-strip strong {
  display: block;
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-size: 1.15rem;
  line-height: 1.1;
}
.impact-strip span {
  display: block;
  margin-top: 6px;
  color: #526174;
  font-size: .72rem;
  line-height: 1.35;
}

.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(16,35,62,.10); }
.portrait-placeholder { min-height: 300px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy), #315b8d); }
.portrait-placeholder span { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); color: white; font-family: Manrope, sans-serif; font-size: 2.8rem; font-weight: 800; }
.hero-card-copy { padding: 28px; }
.hero-card-copy h2 { font-size: 2rem; margin-bottom: 8px; }
.hero-card-copy p { color: var(--muted); }
.hero-card-copy ul { padding-left: 20px; color: #405066; }

.section { padding: 96px 0; }
.alt-section { background: #eef2f6; }
.two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.prose { font-size: 1.1rem; color: var(--muted); }
.prose p:first-child { margin-top: 0; }
.career-line { color: #334155; font-weight: 700; }
.industry-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.industry-row span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #405066;
  font-size: .78rem;
  font-weight: 700;
}
.credentials-line {
  margin-top: 22px;
  color: #526174;
  font-size: .88rem;
  line-height: 1.6;
}
.credentials-line strong { color: var(--navy); }
.career-section { background: white; }
.career-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.career-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 30px rgba(16,35,62,.045);
}
.career-item:last-child { grid-column: 1 / -1; }
.company-mark {
  width: 110px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e7ed;
  border-radius: 12px;
  background: #fafbfd;
  overflow: hidden;
}
.company-mark img {
  width: 92px;
  height: 40px;
  display: block;
  object-fit: contain;
}
.logo-pyrotek img,
.logo-abaco img,
.logo-battelle img { transform: scale(2.05); }
.logo-crenlo img { width: 96px; }
.logo-schott img { width: 76px; height: 44px; }
.logo-siemens img { width: 94px; }
.career-copy { min-width: 0; }
.career-title { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.career-title h3 { margin: 0; font-size: 1.1rem; }
.career-title span { flex: 0 0 auto; color: var(--blue); font-size: .8rem; font-weight: 800; }
.career-copy > p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.career-copy .career-role { color: #324157; font-size: .72rem; font-weight: 700; }
.trademark-note { margin: 13px 0 0; color: #8792a1; font-size: .68rem; text-align: right; }
.section-heading { margin-bottom: 44px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-intro { max-width: 520px; color: var(--muted); }
.card-grid.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.capability-card { padding: 28px; border-radius: 16px; background: white; border: 1px solid var(--line); min-height: 260px; }
.card-number { display: inline-block; margin-bottom: 48px; color: var(--blue); font-weight: 800; }
.capability-card p { color: var(--muted); }

.case-list { display: grid; gap: 20px; }
.case-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, .95fr);
  gap: 42px;
  align-items: center;
}
.case-meta { color: var(--blue); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.case-content h3 { margin: 10px 0 14px; font-size: 1.45rem; }
.case-content p { margin: 0; color: var(--muted); }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.case-metrics div {
  min-width: 0;
  min-height: 124px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  background: #eef3f9;
}
.case-metrics strong {
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-size: 1.15rem;
  line-height: 1.15;
}
.case-metrics span {
  margin-top: 8px;
  color: #5b6878;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.35;
}

.dark-section { background: var(--navy); color: white; }
.light .eyebrow { color: #8ab4ff; }
.light .section-intro { color: #bdc8d8; }
.insight-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.insight-card { padding: 30px; min-height: 300px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.insight-card.featured { background: white; color: var(--text); }
.insight-card p { color: #c7d1df; }
.insight-card.featured p { color: var(--muted); }
.insight-card a { display: inline-block; margin-top: 22px; text-decoration: none; font-weight: 800; }

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.theme-card {
  --theme-accent: #2764c8;
  --theme-tint: #eaf1fb;
  min-width: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.15);
  border-top: 4px solid var(--theme-accent);
  border-radius: 18px;
  background: white;
  color: var(--text);
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}
.theme-ai { --theme-accent: #6857a8; --theme-tint: #eeeafd; }
.theme-transformation { --theme-accent: #2878a5; --theme-tint: #e6f2f8; }
.theme-people { --theme-accent: #27806f; --theme-tint: #e6f5f1; }
.theme-modernization { --theme-accent: #b26b32; --theme-tint: #fbefe4; }
.theme-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--theme-tint);
  color: var(--theme-accent);
}
.theme-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-kicker {
  min-height: 38px;
  margin: 0 0 20px;
  color: var(--theme-accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.featured-article {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.featured-label {
  margin: 0 0 9px;
  color: #7a8798;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.featured-article h3 {
  min-height: 70px;
  margin-bottom: 14px;
  font-size: 1.3rem;
}
.featured-article > p:not(.featured-label) {
  margin-top: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.6;
}
.featured-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--theme-accent);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}
.featured-link:hover { text-decoration: underline; }
.more-articles {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.more-articles > p {
  margin: 0 0 10px;
  color: #7a8798;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.more-articles a {
  display: block;
  padding: 8px 0;
  color: #26364a;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.more-articles a:hover { color: var(--theme-accent); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.contact-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.contact-card p { color: var(--muted); }
.contact-card .contact-link {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.contact-card .contact-link + .contact-link { border-top: 1px solid var(--line); }
.contact-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--pale);
  color: var(--blue);
}
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.linkedin-icon { background: #e7f1fb; color: #0a66c2; }
.contact-link small { display: block; margin-bottom: 2px; color: #748195; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-link b { color: var(--blue); }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); background: white; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .9rem; }
.footer-wrap a { text-decoration: none; font-weight: 700; }

@media (max-width: 960px) {
  .hero-grid, .two-column, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero-card { max-width: 560px; }
  .impact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .case-card { grid-template-columns: 1fr; gap: 24px; }
  .insight-grid { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-list { grid-template-columns: 1fr; }
  .career-item:last-child { grid-column: auto; }
  .career-item { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 720px) {
  .section, .hero { padding: 72px 0; }
  .menu-toggle { display: block; border: 0; background: none; font-weight: 700; }
  .nav { display: none; position: absolute; top: 76px; left: 20px; right: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px; flex-direction: column; align-items: flex-start; box-shadow: 0 18px 48px rgba(16,35,62,.12); }
  .nav.open { display: flex; }
  .split-heading { display: block; }
  .card-grid.four { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; }
  h1 { font-size: 2.7rem; }
  .impact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-card { padding: 26px; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-metrics div { min-height: 0; }
  .theme-grid { grid-template-columns: 1fr; }
  .theme-kicker, .featured-article h3 { min-height: 0; }
  .career-item { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .company-mark { width: 110px; height: 58px; }
  .career-title { display: block; }
  .career-title span { display: block; margin-top: 4px; }
  .trademark-note { text-align: left; }
}
.portrait-placeholder {
  position: relative;
  display: block;
  width: 180px;
  height: 180px;
  min-height: 180px;
  margin: 35px auto 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f6;
}

.portrait-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  transform: none;
}
.portrait-placeholder {
  box-sizing: border-box;
  border: 4px solid #17365d;
  box-shadow:
    0 0 0 6px rgba(23, 54, 93, 0.10),
    0 12px 28px rgba(15, 35, 60, 0.16);
}
.card-grid.five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) {
  .card-grid.five {
    grid-template-columns: repeat(5, 240px);
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
  }

  .card-grid.five .capability-card {
    scroll-snap-align: start;
  }
}
.capability-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--tile-color);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--tile-color) 7%, white),
    white 55%
  );
}

.capability-card:nth-child(1) {
  --tile-color: #17365d; /* Strategy – navy */
}

.capability-card:nth-child(2) {
  --tile-color: #2878a5; /* ERP – blue */
}

.capability-card:nth-child(3) {
  --tile-color: #6857a8; /* AI – purple */
}

.capability-card:nth-child(4) {
  --tile-color: #27806f; /* Cybersecurity – teal */
}

.capability-card:nth-child(5) {
  --tile-color: #b26b32; /* IT/OT – copper */
}

.capability-card .card-number {
  color: var(--tile-color);
}
