:root {
    --blue: #194b8d;
    --blue-dark: #0d315f;
    --blue-deep: #08264c;
    --blue-light: #eaf2fb;
    --blue-pale: #f5f8fc;
    --sky: #67a6dc;
    --ink: #152538;
    --muted: #5c6b7a;
    --line: #d9e3ee;
    --white: #fff;
    --shadow: 0 18px 50px rgba(18, 52, 91, .12);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--blue-deep); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; }
h1 { font-size: clamp(2.35rem, 4.2vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 850px; }
.section { padding: 104px 0; }
.section-tight { padding-top: 20px; }
.section-soft { background: var(--blue-pale); }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #a9d1f2; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.65; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 18px; color: white; background: var(--blue); border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(217,227,238,.8); backdrop-filter: blur(12px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 147px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { position: relative; color: #304358; font-size: .94rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .2s; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .nav-cta { padding: 11px 20px; color: white; background: var(--blue); border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--blue-dark); }
.site-nav .nav-cta[aria-current="page"] { color: white; background: var(--blue-dark); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; border: 0; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--blue); }

.hero { position: relative; overflow: hidden; padding: 96px 0 112px; background: radial-gradient(circle at 88% 12%, rgba(103,166,220,.32), transparent 30%), linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 68%, #245f9f 100%); }
.hero::before { content: ""; position: absolute; top: -180px; left: -180px; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
.hero-copy h1 { max-width: 760px; margin-bottom: 28px; color: white; }
.hero-copy .eyebrow { color: #a9d1f2; }
.hero-copy .lead { max-width: 670px; margin-bottom: 15px; color: #e5effa; }
.hero-copy > p:not(.eyebrow):not(.lead) { max-width: 650px; color: #c9dced; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px; font: inherit; font-weight: 750; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--blue); background: white; border-color: #b8cee4; }
.button-secondary:hover { border-color: var(--blue); }
.hero .button-primary { color: var(--blue-deep); background: white; }
.hero .button-primary:hover { background: #eaf2fb; }
.hero .button-secondary { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.52); }
.hero .button-secondary:hover { background: rgba(255,255,255,.15); border-color: white; }
.button-light { color: var(--blue-deep); background: white; }

.hero-visual { position: relative; min-height: 480px; }
.visual-core { position: absolute; inset: 50% auto auto 50%; z-index: 4; width: 116px; height: 116px; display: grid; place-items: center; transform: translate(-50%,-50%); color: white; background: linear-gradient(145deg, var(--blue), var(--blue-dark)); border: 12px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: var(--shadow); font-size: 2rem; font-weight: 800; }
.orbit { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 300px; height: 300px; }
.orbit-two { width: 450px; height: 450px; }
.tech-card { position: absolute; z-index: 3; width: 112px; height: 96px; display: grid; place-content: center; text-align: center; color: var(--blue); background: rgba(255,255,255,.92); border: 1px solid rgba(25,75,141,.12); border-radius: 16px; box-shadow: var(--shadow); }
.tech-card span { font-size: 1.3rem; font-weight: 850; }
.tech-card small { color: var(--muted); font-weight: 650; }
.card-one { top: 2%; left: 36%; }.card-two { right: 1%; top: 38%; }.card-three { bottom: 3%; left: 37%; }.card-four { left: 0; top: 39%; }

.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 5px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 30px 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-6px); border-color: #b7cee5; box-shadow: var(--shadow); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 26px; color: white; background: var(--blue); border-radius: 14px; font-weight: 850; }
.service-card h3 { margin-bottom: 13px; }
.service-card p { min-height: 112px; font-size: .96rem; }
.service-card a { color: var(--blue); font-weight: 750; text-decoration: none; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: stretch; }
.statement-panel { padding: 56px; color: white; background: linear-gradient(145deg, var(--blue), var(--blue-deep)); border-radius: 24px; }
.statement-panel h2, .statement-panel p { color: white; }
.feature-list article { display: flex; gap: 26px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.feature-list article:last-child { border: 0; }
.feature-number { color: var(--blue); font-size: .8rem; font-weight: 800; }
.feature-list h3 { margin-bottom: 7px; }
.feature-list p { margin: 0; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px 60px; color: white; background: linear-gradient(120deg, var(--blue-deep), var(--blue)); border-radius: 24px; }
.cta-panel h2 { max-width: 690px; margin-bottom: 0; color: white; }
.cta-panel .eyebrow { margin-bottom: 10px; }

.page-hero { padding: 100px 0 108px; color: white; background: radial-gradient(circle at 85% 15%, rgba(103,166,220,.4), transparent 25%), linear-gradient(130deg, var(--blue-deep), var(--blue)); }
.page-hero-small { padding-bottom: 88px; }
.page-hero h1, .page-hero p { color: white; }
.page-hero h1 { margin-bottom: 26px; }
.page-hero .lead { max-width: 780px; margin-bottom: 0; color: #dbeafb; }
.page-photo { position: relative; z-index: 2; margin-top: -42px; }
.page-photo img { width: 100%; height: clamp(300px, 42vw, 500px); object-fit: cover; border: 7px solid white; border-radius: 24px; box-shadow: 0 24px 65px rgba(8,38,76,.2); }
.section-after-photo { padding-top: 88px; }
.service-page-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; margin-bottom: 72px; }
.service-page-intro h2 { max-width: 470px; }
.technology-panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; margin-bottom: 28px; padding: 42px 46px; color: white; background: linear-gradient(125deg, var(--blue-deep), var(--blue)); border-radius: 22px; }
.technology-panel h2, .technology-panel p { color: white; }
.technology-panel h2 { margin-bottom: 16px; font-size: clamp(1.65rem, 2.4vw, 2.25rem); }
.technology-panel > div > p:last-child { margin-bottom: 0; color: #d8e7f6; }
.technology-list { display: flex; flex-wrap: wrap; gap: 11px; margin: 0; padding: 0; list-style: none; }
.technology-list li { padding: 10px 17px; color: var(--blue-deep); background: white; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-weight: 750; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.capability-grid article { padding: 32px 27px; background: var(--blue-pale); border: 1px solid var(--line); border-radius: var(--radius); }
.capability-grid span { display: block; margin-bottom: 28px; color: var(--sky); font-size: .8rem; font-weight: 850; }
.capability-grid h3 { margin-bottom: 12px; }
.capability-grid p { margin-bottom: 0; font-size: .95rem; }
.service-details { max-width: 980px; }
.service-detail { display: grid; grid-template-columns: 100px 1fr; gap: 36px; padding: 65px 0; scroll-margin-top: 100px; border-bottom: 1px solid var(--line); }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { padding-bottom: 0; border: 0; }
.service-detail-number { color: #b0c9e3; font-size: 2.4rem; font-weight: 800; }
.service-detail h2 { margin-bottom: 24px; }
.service-detail p { max-width: 720px; }

.about-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about-intro h2 { max-width: 440px; }
.prose p { font-size: 1.08rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values-grid article { padding: 40px; background: white; border-radius: var(--radius); }
.values-grid span { display: block; margin-bottom: 35px; color: var(--sky); font-size: .85rem; font-weight: 850; }
.centered-copy { max-width: 820px; text-align: center; }
.centered-copy .lead { margin: 0 auto 32px; }
.not-found { min-height: 58vh; display: grid; place-items: center; }
.not-found h1 { margin-bottom: 20px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-method { display: flex; gap: 18px; align-items: center; margin: 40px 0 20px; }
.contact-method > span { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 1.3rem; font-weight: 800; }
.contact-method small { display: block; color: var(--muted); }
.contact-method a { color: var(--blue); font-size: 1.1rem; font-weight: 750; text-decoration: none; }
.response-note { padding-top: 24px; border-top: 1px solid var(--line); }
.contact-form { padding: 42px; background: var(--blue-pale); border: 1px solid var(--line); border-radius: 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 7px; color: var(--blue-deep); font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 13px 15px; color: var(--ink); background: white; border: 1px solid #becddd; border-radius: 9px; font: inherit; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(25,75,141,.15); border-color: var(--blue); }
.field small, .form-note { color: #6d7b89; font-size: .86rem; }
.field small { display: block; margin-top: 6px; }
.form-note { margin: 16px 0 0; }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 24px; padding: 16px 18px; border-radius: 9px; }
.form-alert strong { display: block; color: inherit; }
.form-alert ul { margin: 8px 0 0; padding-left: 20px; }
.form-alert-success { color: #185d3a; background: #e5f5ec; border: 1px solid #a9d7bd; }
.form-alert-error { color: #812b2b; background: #fff0f0; border: 1px solid #e8b6b6; }
.turnstile-wrap { max-width: 100%; margin: 8px 0 24px; overflow: hidden; }
.contact-form .button:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.site-footer { margin-top: 80px; padding: 70px 0 24px; color: white; background: var(--blue-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 70px; padding-bottom: 55px; }
.footer-logo { width: 145px; height: auto; margin-bottom: 22px; filter: brightness(0) invert(1); }
.site-footer p { color: #b9cbe0; }
.site-footer h2 { margin-bottom: 18px; color: white; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin: 8px 0; color: #dce7f4; text-decoration: none; }
.site-footer a:hover { color: white; text-decoration: underline; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom p { margin: 0; font-size: .88rem; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; left: 15px; right: 15px; top: calc(100% + 1px); display: none; align-items: stretch; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); }
    .site-nav.is-open { display: grid; gap: 4px; }
    .site-nav a { padding: 12px; }
    .site-nav a::after { display: none; }
    .site-nav .nav-cta { margin-top: 6px; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 400px; max-width: 520px; width: 100%; margin: -30px auto 0; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card p { min-height: auto; }
    .split-layout, .about-intro, .contact-grid { gap: 52px; }
    .contact-grid { grid-template-columns: .75fr 1.25fr; }
    .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .container { width: min(100% - 30px, 1160px); }
    .section { padding: 76px 0; }
    .hero { padding: 70px 0 80px; }
    .hero-grid { gap: 45px; }
    .hero-visual { min-height: 330px; transform: scale(.85); transform-origin: center; }
    .orbit-two { width: 380px; height: 380px; }
    .section-heading, .split-layout, .about-intro, .contact-grid, .service-page-intro, .technology-panel { grid-template-columns: 1fr; gap: 35px; }
    .card-grid, .values-grid, .capability-grid { grid-template-columns: 1fr; }
    .service-page-intro { margin-bottom: 50px; }
    .technology-panel { padding: 34px 28px; }
    .service-card { padding: 28px; }
    .statement-panel { padding: 38px 30px; }
    .cta-panel { align-items: flex-start; flex-direction: column; padding: 40px 30px; }
    .page-hero { padding: 75px 0 80px; }
    .page-photo { margin-top: -28px; }
    .page-photo img { height: 300px; border-width: 5px; border-radius: 18px; }
    .section-after-photo { padding-top: 64px; }
    .service-detail { grid-template-columns: 1fr; gap: 12px; padding: 45px 0; }
    .service-detail-number { font-size: 1.25rem; }
    .contact-form { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
    .hero-visual { display: none; }
    .button-row .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
}

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