/* ==========================================================================
   Tech Force Consulting Engineers — site styles
   Plain CSS, no build step. Brand colours sampled from the logo.
   ========================================================================== */

/* IBM Plex (SIL Open Font License, see assets/fonts/OFL.txt), self-hosted, Latin subset */
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: italic; font-weight: 100 700; font-display: swap;
  src: url("../fonts/ibm-plex-sans-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
}

:root {
  /* Brand */
  --navy: #2a3a88;          /* logo navy */
  --navy-800: #1f2c6c;
  --navy-900: #121a42;      /* deep backgrounds */
  --navy-950: #0b112e;
  --cyan: #26a8e0;          /* logo cerulean */
  --cyan-300: #7fd0f2;
  --cyan-700: #0d6fa1;      /* cerulean darkened for text on white (AA) */

  /* Neutrals */
  --ink: #111834;
  --body: #3d4766;
  --muted: #5d6789;
  --line: #dde3ee;
  --surface: #ffffff;
  --surface-alt: #f3f6fb;

  /* Type */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --radius: 10px;
  --radius-sm: 6px;
  --header-top: 224px;      /* header at the top of the page: full logo, tagline readable */
  --header-h: 72px;         /* header once the page scrolls */
  --shadow-sm: 0 1px 2px rgba(17, 24, 52, .06), 0 1px 3px rgba(17, 24, 52, .08);
  --shadow-md: 0 10px 30px -12px rgba(17, 24, 52, .25);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  padding-top: var(--header-top); /* room for the fixed header */
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h1, h2, h3 { text-wrap: balance; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .pillar-card:hover, .sector-card:hover, .sector-card:hover .sector-media img { transform: none !important; }
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; letter-spacing: .005em;
  border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--cyan); color: var(--navy-950); }
.btn--primary:hover { background: var(--cyan-300); color: var(--navy-950); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--sm { min-height: 40px; padding: .5em 1.05em; font-size: .9375rem; }

/* ---------- Header / navigation ---------- */
/* Fixed, so slimming it on scroll never moves the page content. */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(10px); }
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex; align-items: center; gap: 24px; height: var(--header-top);
  transition: height .25s ease;
}
.site-header.is-scrolled .container { height: var(--header-h); }

.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: calc(var(--header-top) - 24px); transition: height .25s ease; }
.site-header.is-scrolled .brand img { height: calc(var(--header-h) - 16px); }
@media (max-width: 1024px) { :root { --header-top: 204px; } }
@media (max-width: 760px) {
  :root { --header-top: 196px; --header-h: 64px; }
  /* As wide as the phone allows beside the menu button */
  .site-header:not(.is-scrolled) .brand img { height: auto; width: min(280px, 100vw - 112px); }
}

.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: .975rem; color: var(--ink); text-decoration: none;
}
.site-nav a:not(.btn):hover { background: var(--surface-alt); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.site-nav .nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0; /* just below the header, whatever its height */
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: 14px; }
  .site-nav .nav-cta { margin: 16px 0 0; }
  .site-nav .nav-cta .btn { width: 100%; }
}

/* ---------- Shared section scaffolding ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--alt { background: var(--surface-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 500 .8125rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-700);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--cyan); }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--muted); }


.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9688rem; text-decoration: none; color: var(--navy);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; color: #d7def2; overflow: hidden; background: var(--navy-900); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 100% 50%; } /* keep the right-hand tiles in view */
.hero::before { /* dark behind the copy, opening up so the collage shows on the right */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 55% at 0% 100%, rgba(11, 17, 46, .85) 0%, rgba(11, 17, 46, 0) 100%),
    linear-gradient(100deg, rgba(11, 17, 46, .96) 0%, rgba(18, 26, 66, .9) 40%, rgba(18, 26, 66, .62) 57%, rgba(18, 26, 66, .15) 74%, rgba(18, 26, 66, .04) 100%);
}
/* Tablets: the copy runs further across the collage, so keep more of it dark. */
@media (min-width: 761px) and (max-width: 1024px) {
  .hero::before {
    background: linear-gradient(100deg, rgba(11, 17, 46, .95) 0%, rgba(18, 26, 66, .9) 50%, rgba(18, 26, 66, .72) 76%, rgba(18, 26, 66, .4) 100%);
  }
}
/* Phones: the collage sits at the top and fades into navy under the headline. */
@media (max-width: 760px) {
  .hero .hero-media { bottom: auto; height: 75vw; }
  .hero::before {
    background: linear-gradient(180deg, rgba(11, 17, 46, .05) 0, rgba(11, 17, 46, .2) 40vw, rgba(18, 26, 66, .8) 62vw, var(--navy-900) 75vw);
  }
}
.hero .container { padding-block: clamp(56px, 9vw, 104px) clamp(48px, 7vw, 80px); }
@media (max-width: 760px) { .hero .container { padding-top: 54vw; } }

/* Tagline band across the top of the banner, echoing the logo's italic tagline */
.hero-tagline {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 0; padding: 16px var(--gutter); text-align: center;
  font: italic 500 clamp(1.0625rem, 1.8vw, 1.5rem)/1.35 var(--font-sans);
  letter-spacing: .07em; text-transform: uppercase; color: var(--cyan-300);
  background: rgba(11, 17, 46, .78); border-bottom: 1px solid rgba(38, 168, 224, .3);
}
@supports (backdrop-filter: blur(8px)) { .hero-tagline { background: rgba(11, 17, 46, .62); backdrop-filter: blur(8px); } }
.hero-tagline::before, .hero-tagline::after { content: ""; flex: none; width: 40px; height: 2px; background: var(--cyan); }
@media (max-width: 640px) { .hero-tagline::before, .hero-tagline::after { display: none; } }
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: var(--cyan-300); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .accent { color: var(--cyan); }
.hero-sub { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); max-width: 640px; margin-bottom: 2em; color: #c9d2ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Two-pillar strip at the foot of the hero */
.hero-pillars {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px;
  margin-top: clamp(56px, 8vw, 88px); border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-pillars li { padding: 22px 32px 0 0; }
.hero-pillars li + li { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-pillars .num { display: block; font: 500 .8125rem var(--font-mono); color: var(--cyan); letter-spacing: .1em; margin-bottom: 6px; }
.hero-pillars strong { display: block; color: #fff; font-weight: 600; font-size: 1.0625rem; }
.hero-pillars .desc { font-size: .9375rem; color: #a9b4d3; }
@media (max-width: 640px) {
  .hero-pillars { grid-template-columns: minmax(0, 1fr); }
  .hero-pillars li, .hero-pillars li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

/* ---------- Sector grid (home): the primary highlight ---------- */
.sector-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sector-grid { grid-template-columns: minmax(0, 1fr); } }

.sector-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sector-card:hover { border-color: #c4cfe3; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sector-card:focus-within { border-color: var(--cyan); }

/* Branded blueprint artwork sits underneath; a photo, once supplied, covers it. */
.sector-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(rgba(38, 168, 224, .1) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(38, 168, 224, .1) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(120% 100% at 85% 15%, var(--navy) 0%, var(--navy-900) 60%, var(--navy-950) 100%);
}
.sector-icon {
  position: absolute; right: 22px; top: 18px; width: 30%; max-width: 112px; height: auto;
  color: var(--cyan); opacity: .85;
}
.sector-media img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.sector-card:hover .sector-media img { transform: scale(1.03); }
.sector-media::after {
  content: ""; position: absolute; inset: 40% 0 0 0; z-index: 2;
  background: linear-gradient(180deg, rgba(11, 17, 46, 0) 0%, rgba(11, 17, 46, .88) 100%);
}
.sector-title { position: absolute; left: 22px; bottom: 16px; z-index: 3; margin: 0; color: #fff; font-size: 1.5rem; }
.sector-title .num {
  display: block; margin-bottom: 4px; font: 500 .75rem var(--font-mono); letter-spacing: .14em; color: var(--cyan-300);
}

.sector-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.sector-body > p { font-size: .9688rem; color: var(--muted); }
.sector-capabilities { display: grid; gap: 14px; margin: 0 0 22px; }
.sector-capabilities div { padding-left: 14px; border-left: 2px solid var(--cyan); }
.sector-capabilities dt {
  margin-bottom: 3px; font: 600 .75rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
}
.sector-capabilities dd { margin: 0; font-size: .9375rem; line-height: 1.55; }
.sector-body .link-arrow { margin-top: auto; }
.sector-card .link-arrow::after, .pillar-card .link-arrow::after { /* whole card is clickable */
  content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit;
}

/* Sixth cell: invitation for sectors not listed */
.sector-card--cta {
  justify-content: center; padding: 36px 30px; color: #c9d2ea; border-color: transparent;
  background:
    linear-gradient(rgba(38, 168, 224, .08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(38, 168, 224, .08) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--navy-900);
}
.sector-card--cta .eyebrow { color: var(--cyan-300); }
.sector-card--cta h3 { color: #fff; font-size: 1.5rem; }
.sector-card--cta p { color: #c9d2ea; font-size: .9688rem; }
.sector-card--cta .link-arrow { color: var(--cyan-300); margin-top: 8px; }
.sector-more { list-style: none; display: grid; gap: 10px; margin: 4px 0 20px; }
.sector-more li { display: flex; align-items: center; gap: 10px; color: #c9d2ea; font-size: .9688rem; }
.sector-more li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--cyan); }

/* Supporting disciplines row (home) */
.support-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: minmax(0, 1fr); } }
.support-card {
  display: block; padding: 22px 24px; border-radius: var(--radius); text-decoration: none;
  background: var(--surface-alt); border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  transition: border-color .2s ease, background-color .2s ease;
}
.support-card:hover { background: #fff; border-color: #c4cfe3; border-left-color: var(--cyan); }
.support-card h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.support-card p { margin: 0; font-size: .9375rem; color: var(--muted); }

/* ---------- Pillar cards (home) ---------- */
.pillar-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: minmax(0, 1fr); } }
.pillar-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pillar-card::before {
  content: ""; position: absolute; top: -1px; left: clamp(28px, 4vw, 40px); width: 56px; height: 3px;
  background: var(--cyan); border-radius: 0 0 2px 2px;
}
.pillar-card:hover { border-color: #c4cfe3; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillar-card:focus-within { border-color: var(--cyan); }
.pillar-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.pillar-icon {
  flex: none; width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center; background: #e8f5fc; color: var(--navy);
}
.pillar-icon svg { width: 30px; height: 30px; }
.pillar-head .num { display: block; font: 500 .8125rem var(--font-mono); letter-spacing: .1em; color: var(--cyan-700); }
.pillar-head h3 { margin: 2px 0 0; font-size: 1.375rem; }
.pillar-card > p { color: var(--muted); }
.pillar-card ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 6px 0 28px; }
@media (max-width: 520px) { .pillar-card ul { grid-template-columns: minmax(0, 1fr); } }
.pillar-card li { position: relative; padding-left: 20px; font-size: .9688rem; line-height: 1.5; }
.pillar-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--cyan); }
.pillar-card .link-arrow { margin-top: auto; }

/* Standards / keyword chips (services) */
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font: 500 .8125rem/1.5 var(--font-mono); color: var(--navy); background: #eef2fa; border: 1px solid #dbe2f1;
}

/* ---------- Value proposition (home) ---------- */
.value-wrap { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 960px) { .value-wrap { grid-template-columns: minmax(0, 1fr); } }
.value-grid { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 640px) { .value-grid { grid-template-columns: minmax(0, 1fr); } }
.value-item { background: #fff; padding: 28px 26px; }
.value-item .num { font: 500 .8125rem var(--font-mono); color: var(--cyan-700); letter-spacing: .1em; }
.value-item h3 { font-size: 1.125rem; margin: 10px 0 8px; }
.value-item p { margin: 0; font-size: .9688rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: #c9d2ea; background: var(--navy-900);
}
.cta-band::before { /* faint engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(38, 168, 224, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 168, 224, .09) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 7vw, 80px); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band .container > div:first-child { flex: 1 1 520px; max-width: 760px; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band .hero-actions { flex: none; }

/* ---------- Page header (services) ---------- */
.page-header { position: relative; isolation: isolate; overflow: hidden; color: #c9d2ea; background: var(--navy-900); }
.page-header .hero-media img { object-position: center 30%; }
.page-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11, 17, 46, .96) 0%, rgba(18, 26, 66, .88) 50%, rgba(18, 26, 66, .6) 100%);
}
.page-header .container { padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 64px); }
.page-header h1 { color: #fff; max-width: 820px; }
.page-header .lead { color: #c9d2ea; max-width: 680px; }
.page-header .eyebrow { color: var(--cyan-300); }
.breadcrumb { list-style: none; display: flex; gap: 8px; margin-bottom: 20px; font-size: .875rem; }
.breadcrumb a { color: #a9b4d3; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6f7ba3; }
.breadcrumb [aria-current] { color: #fff; }
.sector-strip {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 4px;
  font: 500 .8125rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #a9b4d3;
}
.sector-strip li { display: inline-flex; align-items: center; gap: 8px; }
.sector-strip li::before { content: ""; width: 6px; height: 6px; background: var(--cyan); }
.jump-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-size: .9375rem;
}
.jump-links a:hover { border-color: var(--cyan); background: rgba(38, 168, 224, .12); color: #fff; }
.jump-links .num { font: 500 .75rem var(--font-mono); color: var(--cyan-300); }

/* ---------- Service blocks (services) ---------- */
.service { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.service + .service { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
@media (max-width: 960px) { .service { grid-template-columns: minmax(0, 1fr); } }
.service-intro { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) { .service-intro { position: static; } }
.service-num { display: block; font: 500 3.5rem/1 var(--font-mono); color: #d3ddef; margin-bottom: 16px; letter-spacing: -.04em; }
.service-intro p { color: var(--muted); }
.service-intro .btn { margin-top: 8px; }

.service-panels { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .service-panels { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel--wide { grid-column: 1 / -1; }
.panel--accent { background: var(--surface-alt); }
.panel h3 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 600 .8125rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.panel h3 svg { width: 18px; height: 18px; color: var(--cyan-700); }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; font-size: .9688rem; line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: #e2f3fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230d6fa1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.check-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
@media (max-width: 640px) { .check-list--two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Process (services) ---------- */
.process { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
@media (max-width: 1100px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: minmax(0, 1fr); } }
.process-step { position: relative; padding: 28px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process-step .step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
  background: var(--navy); color: #fff; font: 600 .9375rem var(--font-mono);
}
.process-step h3 { font-size: 1.125rem; }
.process-step p { margin: 0; font-size: .9688rem; color: var(--muted); }
.process-step .step-out { display: block; margin-top: 14px; font: 500 .8125rem var(--font-mono); color: var(--cyan-700); }
@media (min-width: 1101px) {
  .process-step:not(:last-child)::after { /* connector */
    content: ""; position: absolute; top: 49px; left: calc(24px + 44px + 12px); right: -20px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 12px);
  }
}

/* ---------- Contact / RFQ (services) ---------- */
.contact-wrap { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 960px) { .contact-wrap { grid-template-columns: minmax(0, 1fr); } }
.contact-aside .steps { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; counter-reset: nxt; }
.contact-aside .steps li { position: relative; padding-left: 44px; font-size: .9688rem; }
.contact-aside .steps li::before {
  counter-increment: nxt; content: counter(nxt);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--cyan); color: var(--navy); font: 600 .8125rem var(--font-mono);
}
.contact-aside .steps strong { display: block; color: var(--ink); }
.contact-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.contact-card + .contact-card { margin-top: 12px; }
.contact-card svg { width: 22px; height: 22px; color: var(--cyan-700); flex: none; margin-top: 2px; }
.contact-card span { display: block; font-size: .8125rem; color: var(--muted); }
.contact-card a { display: block; }
.contact-card a, .contact-card strong { font-weight: 600; color: var(--ink); font-size: 1rem; word-break: break-word; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 40px); }
.form-card > h3 { font-size: 1.375rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .9688rem; }
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.field label .req { color: #b42318; margin-left: 2px; }
.field label .opt { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: #fff; border: 1px solid #c6cfe0; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%232a3a88' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #8a93ad; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa8c6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(38, 168, 224, .2);
}
/* Only flag errors after the user has interacted (or tried to submit). */
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid,
.was-validated .field input:invalid, .was-validated .field select:invalid, .was-validated .field textarea:invalid {
  border-color: #b42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .1);
}
.field .hint { font-size: .8125rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam honeypot */
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.form-footer .note { margin: 0; font-size: .8125rem; color: var(--muted); max-width: 380px; }
.form-footer .btn { min-width: 200px; }
.form-footer .btn[disabled] { opacity: .65; cursor: progress; }

.form-status { display: none; margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9688rem; }
.form-status.is-success { display: block; background: #ecfdf3; border: 1px solid #a6f4c5; color: #05603a; }
.form-status.is-error { display: block; background: #fef3f2; border: 1px solid #fecdca; color: #912018; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9b4d3; font-size: .9375rem; }
/* Logo centred on top, then the three link columns */
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 64px 40px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 300px; height: auto; }
.footer-brand p { margin: 20px 0 0; max-width: 460px; }
.footer-top {
  display: grid; gap: 40px; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 40px 52px; text-align: center; border-top: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 640px) { .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.site-footer .footer-top a { overflow-wrap: anywhere; } /* long email addresses on narrow columns */
.site-footer h2 { font: 600 .75rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c9d2ea; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; text-align: center; padding-block: 22px; font-size: .875rem; }
.footer-bottom p { margin: 0; }
