:root {
  --navy: #0b1f33;
  --navy-2: #153a58;
  --ink: #172331;
  --blue: #1c6a91;
  --blue-light: #d8eef7;
  --orange: #e8752e;
  --paper: #f7f8f8;
  --white: #ffffff;
  --line: #d8e0e5;
  --muted: #5e6b76;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--white); color: var(--navy); border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.section-shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.section-shell.compact { max-width: 900px; }
.section { padding-block: 6.5rem; }

.site-header { height: 78px; padding-inline: max(1.25rem, calc((100vw - var(--max))/2)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .75rem; letter-spacing: .04em; }
nav { display: flex; align-items: center; gap: 1.7rem; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: .62rem 1rem; border: 1px solid var(--navy); border-radius: 999px; }
.menu-button { display: none; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--white); font: inherit; font-weight: 700; }

.hero { min-height: calc(100vh - 78px); padding-block: clamp(5rem, 9vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 1.5rem; max-width: 820px; font-size: clamp(3rem, 6.5vw, 5.9rem); font-weight: 780; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.25rem, 4vw, 4rem); font-weight: 760; }
h3 { margin-bottom: .75rem; font-size: 1.35rem; }
.hero-lead { max-width: 740px; margin: 0 0 2rem; color: #3d4a55; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.2rem; border-radius: .4rem; text-decoration: none; font-weight: 760; }
.button.primary { background: var(--orange); color: #201107; }
.button.primary:hover { background: #f08743; }
.button.secondary { border: 1px solid var(--navy); color: var(--navy); }
.trust-line { display: flex; flex-wrap: wrap; gap: .65rem 1.35rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; font-weight: 650; }
.trust-line li::before { content: "✓"; margin-right: .45rem; color: var(--blue); }
.hero-proof { position: relative; padding: 2rem; background: var(--navy); color: var(--white); border-radius: .7rem; box-shadow: 0 28px 70px rgba(11,31,51,.18); overflow: hidden; }
.hero-proof::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 25%, rgba(255,255,255,.04) 25%, rgba(255,255,255,.04) 50%, transparent 50%, transparent 75%, rgba(255,255,255,.04) 75%); background-size: 44px 44px; pointer-events: none; }
.proof-label, .proof-grid, .proof-note { position: relative; }
.proof-label { margin-top: 0; color: #b9cfdd; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; margin-block: 1.3rem 1.5rem; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.proof-grid div { min-height: 126px; padding: 1rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.proof-grid strong { color: var(--white); font-size: 2.2rem; line-height: 1; }
.proof-grid span { margin-top: .55rem; color: #c9d8e1; font-size: .82rem; line-height: 1.3; }
.proof-note { margin-bottom: 0; color: #dce7ec; font-size: .9rem; }

.intro-band { padding-block: 2.7rem; background: var(--blue-light); border-block: 1px solid #bddce9; }
.intro-band p { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.55; text-align: center; }
.section-heading { max-width: 830px; margin-bottom: 3rem; }
.section-heading > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.capability-card { padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: .5rem; }
.card-number { display: block; margin-bottom: 2rem; color: var(--orange); font-size: .8rem; font-weight: 800; }
.capability-card p { color: var(--muted); }
.capability-card ul { margin-bottom: 0; padding-left: 1.2rem; }
.capability-card li { margin: .35rem 0; }

.industry-section { background: var(--navy); color: var(--white); }
.section-heading.light h2 { color: var(--white); }
.section-heading.light > p:last-child { color: #b9cbd6; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.industry-grid article { min-height: 230px; padding: 1.7rem; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.industry-grid h3 { color: var(--white); }
.industry-grid p { color: #bfd0da; }

.case-list { display: grid; gap: 1rem; }
.case-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: .5rem; }
.case-context span { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.case-context h3 { margin-top: .75rem; font-size: 1.65rem; }
.case-copy > p { margin-top: 0; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.metrics span { padding: .75rem; background: #eef4f6; border-radius: .3rem; font-size: .84rem; }
.metrics strong { display: block; color: var(--navy); font-size: 1.4rem; }

.products { background: #e8eff2; }
.product-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.product-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product-list article { padding: 1.5rem; background: var(--white); border-top: 4px solid var(--blue); }
.product-list p { margin-bottom: 0; color: var(--muted); }

.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.story-intro { position: sticky; top: 110px; align-self: start; }
.story-copy { font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.8; }
.story-copy p:first-child { margin-top: 0; }
.timeline-section { background: var(--white); }
.timeline { border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding-block: 1.7rem; border-bottom: 1px solid var(--line); }
.timeline-date { margin: 0; color: var(--blue); font-size: .88rem; font-weight: 800; }
.timeline h3 { margin-bottom: .45rem; }
.timeline article div p { margin: 0; color: var(--muted); }

.fit-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; padding: 3rem; background: var(--blue-light); border-radius: .7rem; }
.fit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.fit-list p { margin: 0; padding: 1rem; background: rgba(255,255,255,.72); border-left: 3px solid var(--orange); font-weight: 650; }

.contact-section { padding-block: 6rem; background: var(--orange); color: #23160d; }
.contact-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: end; }
.contact-section h2 { color: #23160d; }
.contact-section .eyebrow { color: #54301a; }
.contact-section p { max-width: 700px; font-size: 1.08rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.light-button { background: var(--navy); color: var(--white); }
.phone-link { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
footer { padding-block: 1.8rem; background: #06131f; color: #b9c8d1; }
.footer-layout { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; }

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  nav { display: none; position: absolute; top: 78px; left: 1rem; right: 1rem; padding: 1rem; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: .5rem; box-shadow: 0 18px 45px rgba(11,31,51,.14); }
  nav.open { display: flex; }
  nav a { padding: .55rem; }
  .hero, .product-layout, .story, .fit-panel, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-proof { max-width: 620px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .story-intro { position: static; }
}

@media (max-width: 640px) {
  .section { padding-block: 4.5rem; }
  .section-shell { width: min(calc(100% - 1.5rem), var(--max)); }
  .site-header { height: 70px; padding-inline: .8rem; }
  .brand > span:last-child { display: none; }
  nav { top: 70px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero { padding-block: 4.5rem; }
  .capability-grid, .industry-grid, .product-list, .metrics, .fit-list { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; gap: .75rem; padding: 1.3rem; }
  .timeline article { grid-template-columns: 1fr; gap: .3rem; }
  .fit-panel { padding: 1.5rem; }
  .footer-layout { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
