:root {
  --navy: #0B1B34;
  --navy-2: #0D1730;
  --navy-3: #12264A;
  --blue: #3E7BEF;
  --blue-soft: #7FA6E8;
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --text: #16263F;
  --muted: #5A6B85;
  --line: #DFE7F3;
  --white: #FFFFFF;
  --radius: 12px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(4,14,32,.28); }
.header-in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  color: #C9D8EF; font-size: .92rem; font-weight: 500; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-active { color: var(--white); border-bottom-color: var(--blue-soft); text-decoration: none; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); border: 1px solid var(--blue);
  padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: .94rem;
  line-height: 1.2; text-align: center; transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: #2D68D8; border-color: #2D68D8; text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .86rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.38); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: #E6F1FB; border-color: #E6F1FB; }
.btn-block { display: flex; width: 100%; }
.header-cta { flex: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(127,166,232,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,166,232,.09) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 10%, transparent 92%);
}
.hero-in { position: relative; padding-top: 104px; padding-bottom: 92px; }
.eyebrow {
  color: var(--blue-soft); font-size: .82rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 700; max-width: 940px; }
.hero-lead {
  margin-top: 26px; max-width: 780px; font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  color: #E4EDFB; line-height: 1.55;
}
.hero-sub { margin-top: 12px; max-width: 760px; color: #A9BFDF; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 44px 0 0; }
.pills li {
  border: 1px solid rgba(127,166,232,.38); background: rgba(20,42,79,.7);
  color: #D6E4F8; font-size: .84rem; padding: 7px 14px; border-radius: 999px;
}

/* Facts */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px 26px 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
.fact:not(:first-child) { padding-left: 22px; }
.fact-k { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.fact-v { display: block; font-size: .91rem; color: var(--text); line-height: 1.5; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.sec-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 40px; }
.sec-num { font-size: 2.4rem; font-weight: 700; color: #B5D4F4; line-height: 1; letter-spacing: -.04em; flex: none; min-width: 58px; }
.section-alt .sec-num { color: #9CBEEA; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
.sec-intro { color: var(--muted); margin: 10px 0 0; max-width: 760px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.prose p { color: #33465F; margin-bottom: 18px; }
.prose p:first-child { font-size: 1.06rem; color: var(--text); }
.quote-card { background: var(--navy-2); color: var(--white); border-radius: var(--radius); padding: 32px; }
.quote-mark { font-size: 3.2rem; line-height: .8; color: var(--blue-soft); margin-bottom: 6px; }
.quote-card blockquote { margin: 0; font-size: 1.12rem; line-height: 1.6; font-weight: 500; }
.quote-tag { display: inline-block; margin-top: 16px; color: var(--blue-soft); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.quote-card hr { border: none; border-top: 1px solid #2A3E61; margin: 22px 0; }
.quote-note { color: #B9CBE6; font-size: .9rem; line-height: 1.6; }

/* Service cards */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-kicker { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.detail-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 15px; }
.detail-list li { padding-left: 14px; border-left: 2px solid #C9DCF7; }
.detail-list strong { display: block; font-size: .93rem; color: var(--navy); }
.detail-list span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.55; margin-top: 2px; }
.card-accent { background: var(--navy-3); border-color: var(--navy-3); color: var(--white); }
.card-accent .card-kicker { color: var(--blue-soft); }
.card-accent h3 { font-size: 1.3rem; }
.card-accent p { color: #CFDDF1; margin-top: 14px; font-size: .94rem; }
.text-link { display: inline-block; margin-top: 18px; color: #B5D4F4; font-weight: 600; font-size: .92rem; }
.text-link:hover { color: var(--white); }

/* Capability boards */
.boards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.board { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board-media {
  aspect-ratio: 3 / 2; background: var(--navy-2);
  display: flex; align-items: center; justify-content: center;
}
.board-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.board figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.board figcaption strong { color: var(--navy); font-size: .96rem; }
.board figcaption span { color: var(--muted); font-size: .84rem; }
.disclaimer { margin-top: 20px; padding: 14px 18px; background: #EEF3FB; border-left: 3px solid var(--blue); color: var(--muted); font-size: .88rem; border-radius: 0 8px 8px 0; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.industry h3 { font-size: 1.02rem; }
.industry p { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }
.industry-open { border-style: dashed; border-color: var(--blue-soft); background: #F7FAFF; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; }
.why-n { display: block; color: #9CBEEA; font-size: 1.5rem; font-weight: 700; line-height: 1; margin-bottom: 14px; }
.why h3 { font-size: 1.04rem; }
.why p { color: var(--muted); font-size: .89rem; margin: 10px 0 0; line-height: 1.6; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px 20px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #E6F1FB; color: var(--blue); font-weight: 700; font-size: .82rem; margin-bottom: 16px; }
.steps h3 { font-size: 1rem; }
.steps p { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }

/* Contact */
.contact { background: var(--navy); color: var(--white); padding: 88px 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 640px; }
.contact-copy > p:not(.eyebrow) { color: #C9D8EF; margin-top: 18px; max-width: 640px; }
.contact-hint { font-size: .85rem !important; color: #93AACB !important; border-top: 1px solid #2A3E61; padding-top: 16px; margin-top: 24px !important; }
.contact-card { background: var(--surface); color: var(--text); border-radius: 14px; padding: 32px; }
.contact-label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.contact-name { font-size: 1.6rem; font-weight: 700; margin-bottom: 22px; }
.contact-web { margin-top: 16px; font-size: .94rem; }
.contact-loc { margin-top: 6px; color: var(--muted); font-size: .84rem; }

/* Footer */
.site-footer { background: #081326; color: #9FB6D9; padding: 36px 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { height: 38px; width: auto; display: block; }
.footer-brand p { font-size: .84rem; line-height: 1.5; margin: 0; }
.footer-meta { text-align: right; font-size: .84rem; }
.footer-meta p { margin: 0 0 4px; }
.footer-meta a { color: #B5D4F4; }

/* Responsive */
@media (max-width: 1000px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; margin-left: auto; padding: 9px;
    background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-2); border-bottom: 1px solid #2A3E61; padding: 8px 24px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .98rem; }
  .nav a.is-active { border-bottom-color: var(--blue-soft); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: none; }
  .fact:nth-child(3), .fact:nth-child(4) { border-top: 1px solid var(--line); }
  .fact:nth-child(3) { padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .boards-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .section, .contact { padding: 68px 0; }
  .hero-in { padding-top: 82px; padding-bottom: 74px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 68px; }
  .wrap { padding: 0 18px; }
  .section, .contact { padding: 56px 0; }
  .sec-head { gap: 14px; margin-bottom: 28px; }
  .sec-num { font-size: 1.8rem; min-width: 42px; }
  .hero-in { padding-top: 68px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero-actions .btn { width: 100%; }
  .pills { margin-top: 32px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: none; border-top: 1px solid var(--line); padding: 18px 0; }
  .fact:first-child { border-top: none; }
  .fact:not(:first-child) { padding-left: 0; }
  .fact:nth-child(3), .fact:nth-child(4) { border-top: 1px solid var(--line); }
  .cards-grid, .why-grid, .steps, .industry-grid { grid-template-columns: 1fr; }
  .card, .quote-card, .contact-card { padding: 22px; }
  .board figcaption { flex-direction: column; gap: 2px; }
  .footer-in { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

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