:root {
  --navy-950: #08141f;
  --navy-900: #0d1f31;
  --navy-800: #13304a;
  --navy-700: #1d4466;
  --blue-600: #1d74b3;
  --blue-500: #2e93cf;
  --blue-300: #8cc6ea;
  --steel-50: #f5f7fa;
  --steel-100: #eaeff4;
  --steel-200: #d6dee7;
  --ink: #16212e;
  --text: #2e3b4b;
  --muted: #5d6b7c;
  --white: #fff;
  --ok: #157f3b;
  --err: #b42318;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(13, 31, 49, .06), 0 8px 24px rgba(13, 31, 49, .08);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); }
a:hover { color: var(--navy-700); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 6px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-500); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

.eyebrow {
  font: 600 .8rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-300); margin: 0 0 14px;
}
.eyebrow-dark { color: var(--blue-600); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Top bar + header */
.topbar { background: var(--navy-950); color: #b9c6d4; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #dfe7ef; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar-loc, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-links { display: flex; gap: 22px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--steel-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand img { width: 210px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 6px; position: relative;
}
.nav a:not(.btn):hover { color: var(--blue-600); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--blue-500);
}
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); min-height: min(78vh, 680px); display: flex; align-items: center; overflow: hidden; background: var(--navy-900); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 20, 31, .94) 0%, rgba(8, 20, 31, .82) 45%, rgba(8, 20, 31, .35) 100%);
}
.hero-inner { padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero h1 span { color: var(--blue-500); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 60ch; }
.hero .lead { color: #d3dde7; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Strip */
.strip { background: var(--navy-800); color: var(--white); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item strong { display: block; font-weight: 600; }
.strip-item span { display: block; color: #a9bbcc; font-size: .9rem; line-height: 1.4; }
.strip-i { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--blue-500); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--steel-50); }
.section-dark { background: var(--navy-900); color: #c9d5e1; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p:last-child { color: #a9bbcc; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(13, 31, 49, .06), 0 16px 40px rgba(13, 31, 49, .14); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); flex: 1; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { border-top: 3px solid var(--blue-500); padding-top: 22px; }
.step-n { font: 700 2.6rem/1 var(--head); color: rgba(255, 255, 255, .16); display: block; margin-bottom: 12px; }
.steps p { margin: 0; color: #a9bbcc; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > div > p { color: var(--muted); }
.split-rev > img { order: 2; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips li {
  background: var(--steel-50); border: 1px solid var(--steel-200); border-left: 3px solid var(--blue-500);
  border-radius: 6px; padding: 12px 14px; font-weight: 500; color: var(--ink); font-size: .97rem;
}

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 5px 0 5px 30px; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-top: 4px solid var(--blue-500); }
.value h3 { text-transform: uppercase; letter-spacing: .04em; color: var(--navy-700); }
.value p { margin: 0; color: var(--muted); }

.cap-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cap-group { border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 26px; }
.cap-group h3 { font-size: 1.3rem; }
.cap-group .ticks li { font-size: .97rem; }

.areas { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { background: var(--navy-800); color: var(--white); padding: 8px 18px; border-radius: 999px; font-weight: 500; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--steel-100); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-tall { aspect-ratio: auto; height: 300px; margin-top: 24px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--navy-900); padding: 30px; }
.feature h3 { font-size: 1.3rem; }
.feature p { margin: 0; color: #a9bbcc; }

/* Page hero */
.page-hero {
  background: var(--navy-900) radial-gradient(ellipse at 85% 0%, rgba(46, 147, 207, .28), transparent 55%);
  color: #d3dde7; padding: clamp(56px, 8vw, 96px) 0;
}
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .lead { margin: 0; color: #c2cfdc; }
.page-hero-sm { padding: 56px 0; }
.page-hero .hero-actions { margin-top: 28px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump a { color: var(--white); text-decoration: none; border: 1px solid rgba(255, 255, 255, .3); padding: 7px 16px; border-radius: 999px; font-size: .95rem; }
.jump a:hover { background: var(--white); color: var(--navy-900); }
.service { scroll-margin-top: 90px; }
#capabilities, #workshop, #quote { scroll-margin-top: 90px; }

/* CTA */
.cta { background: linear-gradient(110deg, var(--blue-600), var(--navy-700)); color: #e3edf6; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: var(--white); margin-bottom: .25em; }
.cta p { margin: 0; }
.cta a:not(.btn) { color: var(--white); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }
.cta .btn-primary { background: var(--white); color: var(--navy-900); }
.cta .btn-primary:hover { background: var(--steel-100); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-card > p.muted { margin-bottom: 24px; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: 6px; padding: 11px 13px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(46, 147, 207, .2);
}
.field .is-invalid { border-color: var(--err); background: #fff6f5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-alert { border-radius: 6px; padding: 14px 16px; margin-bottom: 20px; font-weight: 500; }
.form-alert.is-sent { background: #ecf8f0; color: var(--ok); border: 1px solid #b6e3c5; }
.form-alert.is-error { background: #fdf0ef; color: var(--err); border: 1px solid #f3c2bd; }

.quote-options { display: grid; gap: 14px; }
.quote-option {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none; color: var(--ink);
  background: var(--steel-50); border: 1px solid var(--steel-200); border-left: 3px solid var(--blue-500); border-radius: 8px;
  transition: border-color .15s, background .15s;
}
.quote-option:hover { background: var(--white); border-color: var(--blue-500); color: var(--ink); }
.quote-option .i { width: 26px; height: 26px; color: var(--blue-500); }
.quote-option strong { display: block; font-size: 1.15rem; overflow-wrap: break-word; }
.quote-option .info-label { color: var(--muted); }

.info-card { background: var(--navy-900); color: #c9d5e1; border-radius: var(--radius); padding: 32px; }
.info-card h2 { color: var(--white); font-size: 1.9rem; }
.info-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list .i { width: 22px; height: 22px; color: var(--blue-500); margin-top: 3px; }
.info-list a { color: var(--white); text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }
.info-label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8ea3b8; }
.info-card .muted { color: #8ea3b8; margin: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }

/* Footer */
.footer { background: var(--navy-950); color: #9fb0c1; font-size: .95rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 220px; margin-bottom: 18px; opacity: .95; }
.footer-brand p { max-width: 34ch; }
.footer-h { font: 600 .82rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #c9d5e1; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 26px; font-size: .88rem; }

.call-fab { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .cap-groups { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--steel-200); padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(13, 31, 49, .1); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--steel-100); border-radius: 0; }
  .nav a[aria-current="page"] { color: var(--blue-600); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-cta { margin: 16px 0 0; }
  .cards, .values { grid-template-columns: 1fr; }
  .cards { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-rev > img { order: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar-loc { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { width: 170px; }
  .header-inner { min-height: 66px; }
  .topbar-links a:first-child { display: none; }
  .strip-grid, .steps, .cap-groups, .feature-grid, .chips, .field-row { grid-template-columns: 1fr; }
  .strip-item { border-left: 0; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .strip-item:first-child { border-top: 0; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero::before { background: rgba(8, 20, 31, .82); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-bottom: 72px; }
  .call-fab {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--blue-500); color: var(--white); text-decoration: none; font-weight: 600;
    padding: 14px; border-radius: 8px; box-shadow: 0 8px 24px rgba(8, 20, 31, .35);
  }
  .call-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .call-fab:hover { color: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
