:root {
  --blue: #1d67cd;
  --blue-dark: #043279;
  --blue-deep: #052b66;
  --accent: #0099f7;
  --ink: #0c1726;
  --muted: #566375;
  --surface: #fff;
  --tint: #eef5ff;
  --line: #dbe4ee;
  --shadow: 0 20px 55px rgba(4, 50, 121, .12);
  --radius: 18px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Poppins, Arial, Helvetica, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.08; letter-spacing: -.025em; overflow-wrap: break-word; }
h1, h2, h3, .lede, .eyebrow, blockquote { text-wrap: balance; }
p, li { text-wrap: pretty; }
.no-orphan { white-space: nowrap; }
h1 { max-width: 920px; margin-bottom: 24px; font-size: clamp(2.75rem, 7vw, 5.8rem); }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.5rem; }
svg { width: 1.1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 880px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--blue-dark); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(219, 228, 238, .8); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand span { display: grid; }
.brand strong { font-family: Georgia, serif; font-size: 1.05rem; line-height: 1; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .56rem; letter-spacing: .11em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 5px; }
nav a { padding: 10px 12px; color: #344257; font-size: .83rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a.is-active { color: var(--blue); }
nav .nav-cta { margin-left: 8px; padding: 11px 16px; border-radius: 999px; color: #fff; background: var(--blue); }
nav .nav-cta:hover, nav .nav-cta.is-active { color: #fff; background: var(--blue-dark); }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 50%; background: var(--tint); }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--blue-dark); }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--blue-dark); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(1, 25, 63, .94) 0%, rgba(2, 37, 89, .8) 52%, rgba(2, 37, 89, .24) 100%); }
.hero-content { position: relative; padding-block: 100px; }
.hero-content h1 { max-width: 850px; }
.lede { max-width: 760px; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .proof .eyebrow, .cta-band .eyebrow { color: #75c9ff; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 0; border-radius: 999px; color: #fff; background: var(--blue); font-size: .88rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue-dark); }
.button-ghost { border: 1px solid rgba(255, 255, 255, .55); background: transparent; }
.button-ghost:hover { background: rgba(255, 255, 255, .12); }
.button-light { color: var(--blue-dark); background: #fff; }
.button-light:hover { color: #fff; background: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 750; text-decoration: none; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip .container { min-height: 88px; display: flex; align-items: center; justify-content: space-around; gap: 18px; }
.trust-strip span { display: flex; align-items: center; gap: 8px; font-size: .79rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.trust-strip svg { color: var(--blue); }
.section { padding-block: 105px; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { min-height: 390px; display: grid; grid-template-columns: 45% 55%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(4, 50, 121, .06); }
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card > div { padding: 36px 30px; }
.service-card p:not(.eyebrow) { color: var(--muted); }
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(45px, 7vw, 100px); align-items: center; }
.proof { color: #fff; background: var(--blue-dark); }
.proof-copy > p:not(.eyebrow, .fine-print) { font-size: 1.14rem; }
.fine-print { margin: 28px 0; color: #b8c8dd; font-size: .78rem; }
.mosaic { height: 570px; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: repeat(2, 1fr); gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mosaic img:first-child { grid-row: 1 / 3; }
.about-preview > img, .about-story img, .service-detail img { width: 100%; min-height: 520px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about-preview p:not(.eyebrow), .about-story p { color: var(--muted); }
.cta-band { padding-block: 72px; color: #fff; background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { margin-bottom: 0; }

.page-hero { padding-block: 110px 100px; color: #fff; background: linear-gradient(125deg, var(--blue-deep), var(--blue) 130%); }
.page-hero h1 { max-width: 980px; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero .eyebrow { color: #75c9ff; }
.service-detail p:not(.eyebrow) { color: var(--muted); }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li, .included-grid span { display: flex; align-items: flex-start; gap: 10px; font-weight: 650; }
.check-list svg, .included-grid svg { flex: 0 0 auto; margin-top: .25em; color: var(--blue); }
.tint { background: var(--tint); }
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 35px; }
.included-grid span { padding: 19px; border-radius: 12px; background: #fff; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card { min-height: 260px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.industry-card > span { display: block; color: var(--blue); font-weight: 800; font-size: clamp(2.75rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.industry-card h2 { margin-top: 18px; font-size: 1.75rem; }
.industry-card p { color: var(--muted); }
.about-story blockquote { margin: 36px 0 0; padding: 24px; border-left: 4px solid var(--blue); color: var(--blue-dark); background: var(--tint); font-family: Georgia, serif; font-size: 1.25rem; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-grid article { padding: 30px; border-radius: 14px; background: #fff; }
.value-grid p { color: var(--muted); }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 50px; align-items: start; }
.intake-form { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 28px; }
.form-field { display: grid; gap: 8px; }
.form-wide { grid-column: 1 / -1; }
.form-field label { font-size: .82rem; font-weight: 750; }
.form-field label span { color: var(--blue); font-size: .65rem; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #b8c5d4; border-radius: 9px; color: var(--ink); background: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(29, 103, 205, .18); border-color: var(--blue); }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .76rem; }
.contact-card { padding: 34px; border-radius: var(--radius); background: var(--tint); min-width: 0; }
.contact-card > * { max-width: 100%; min-width: 0; }
.contact-card h2 { font-size: clamp(1.75rem, 2.2vw, 2.25rem); }
.contact-card > div { display: flex; gap: 12px; margin: 24px 0; }
.contact-card > div svg { flex: 0 0 24px; width: 24px; color: var(--blue); }
.contact-card a:not(.button) { color: var(--blue); font-weight: 700; }
.careers { align-items: stretch; }
.careers > div { align-self: center; }
.careers .contact-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-page { min-height: 600px; display: grid; align-items: center; }

.site-footer { padding-top: 75px; color: #d6e0ed; background: #071a33; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 60px; padding-bottom: 55px; }
.brand-footer { color: #fff; }
.brand-footer small { color: #aebdd0; }
.footer-grid h2 { margin-bottom: 16px; color: #fff; font-family: inherit; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid > div:first-child { gap: 20px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .74rem; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  nav { position: absolute; top: 78px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  nav.is-open { display: flex; }
  nav .nav-cta { margin-left: 0; text-align: center; }
  .card-grid, .split, .section-heading, .form-layout { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 38% 62%; }
  .industry-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .container { align-items: flex-start; flex-direction: column; }
  .form-layout { max-width: 760px; }
}

@media (max-width: 650px) {
  :root { --container: min(100% - 28px, 1160px); }
  h1, .page-hero h1 { font-size: clamp(1.85rem, 7.6vw, 2.1rem); }
  .brand small { display: none; }
  .hero { min-height: 650px; }
  .hero-overlay { background: rgba(2, 30, 70, .82); }
  .hero-content { padding-block: 70px; }
  .button-row .button { width: 100%; }
  .trust-strip .container { padding-block: 22px; flex-wrap: wrap; justify-content: flex-start; }
  .trust-strip span { width: calc(50% - 10px); }
  .section { padding-block: 75px; }
  .service-card { min-height: 0; grid-template-columns: 1fr; }
  .service-card img { height: 230px; }
  .mosaic { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 300px 160px; }
  .mosaic img:first-child { grid-row: auto; grid-column: 1 / -1; }
  .about-preview > img, .about-story img, .service-detail img { min-height: 360px; }
  .included-grid, .industry-grid, .value-grid, .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .intake-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}

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