:root {
  --navy-950: #061426;
  --navy-900: #08192f;
  --navy-800: #102a49;
  --navy-700: #183b61;
  --blue-500: #32a8dc;
  --blue-300: #78d0ee;
  --ice: #eef7fb;
  --paper: #f7fafc;
  --white: #ffffff;
  --ink: #0c1d31;
  --muted: #526273;
  --line: #d9e3ea;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 24px 70px rgba(6, 20, 38, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 112px 0; }
.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;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-header.scrolled {
  position: fixed;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 35px rgba(6, 20, 38, 0.1);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: var(--shell);
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: auto;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter .2s ease, opacity .2s ease;
}
.site-header.scrolled .brand-logo { filter: none; }
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--blue-500);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.05em;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 18px; letter-spacing: -0.03em; }
.brand-copy span { margin-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.68; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 14px; font-weight: 700; }
nav a:not(.nav-cta):hover { color: var(--blue-300); }
.site-header.scrolled nav a:not(.nav-cta):hover { color: #087fac; }
.nav-cta { padding: 12px 18px; border: 1px solid rgba(255, 255, 255, 0.48); }
.site-header.scrolled .nav-cta { border-color: var(--line); background: var(--navy-900); color: var(--white); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}
.hero-image, .hero-shade, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(6, 20, 38, 0.98) 0%, rgba(6, 20, 38, 0.87) 35%, rgba(6, 20, 38, 0.28) 72%, rgba(6, 20, 38, 0.1) 100%); }
.hero-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 62%);
}
.hero-content { position: relative; z-index: 2; padding-top: 116px; }
.eyebrow, .section-label {
  margin: 0 0 20px;
  color: var(--blue-500);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.4rem, 6.8vw, 6.5rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #d8e6f0; font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-950); background: var(--blue-300); }
.button-primary:hover { background: #a2e2f7; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.4); background: rgba(7,23,43,.28); }
.button-ghost:hover { border-color: var(--white); }
.intro { display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start; }
.intro-copy { max-width: 865px; }
h2 { margin: 0; font-size: clamp(2.25rem, 4.2vw, 4.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.045em; }
.intro-copy p { max-width: 760px; margin: 30px 0 0; color: var(--muted); font-size: 19px; }

.services { color: var(--white); background: var(--navy-900); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 54px; }
.section-heading > div { max-width: 760px; }
.section-heading > p { max-width: 320px; margin: 0 0 7px; color: #b6c5d2; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.service-card { position: relative; min-height: 400px; padding: 42px; background: var(--navy-900); }
.service-card:hover { background: var(--navy-800); }
.service-number { color: var(--blue-300); font-family: "Montserrat", Arial, sans-serif; font-size: 12px; font-weight: 700; }
.service-card h3 { margin: 76px 0 16px; max-width: 490px; font-size: 27px; line-height: 1.2; letter-spacing: -0.03em; }
.service-card p { max-width: 520px; margin: 0; color: #b9c8d4; }
.service-card ul { margin: 25px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 8px 0 8px 20px; color: #dce7ef; font-size: 14px; border-top: 1px solid rgba(255,255,255,.09); }
.service-card li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; background: var(--blue-500); }
.service-featured { background: var(--navy-800); }
.service-wide { min-height: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 80px 1.4fr 1fr; gap: 24px; align-items: start; }
.service-wide h3 { margin-top: 0; }
.service-wide ul { margin-top: 0; }

.approach { background: var(--white); }
.approach-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.approach-sticky { position: sticky; top: 140px; align-self: start; }
.approach-sticky p:last-child { margin: 28px 0 0; max-width: 440px; color: var(--muted); font-size: 18px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 35px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { color: #168fbe; font-family: "Montserrat", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.steps h3 { margin: 0 0 9px; font-size: 25px; letter-spacing: -0.03em; }
.steps p { margin: 0; color: var(--muted); }

.about { background: var(--ice); }
.about-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: center; }
.about-panel { padding: 60px; color: var(--white); background: var(--navy-800); box-shadow: var(--shadow); }
.about-panel p:last-child { margin: 28px 0 0; color: #d3e0e9; font-size: 18px; }
.about-principles { display: grid; }
.about-principles article { display: grid; gap: 7px; padding: 28px 0; border-top: 1px solid #cbdbe4; }
.about-principles article:last-child { border-bottom: 1px solid #cbdbe4; }
.about-principles strong { font-size: 21px; }
.about-principles span { color: var(--muted); }

.contact { background: linear-gradient(135deg, #061426 0%, #12375b 100%); }
.contact-card { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; color: var(--white); }
.contact-card h2 { max-width: 780px; }
.contact-intro > p:not(.section-label) { max-width: 560px; margin: 25px 0 0; color: #c7d6e1; font-size: 17px; }
.contact-details { display: grid; gap: 16px; margin-top: 42px; }
.contact-link { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.22); }
.contact-link span, .contact-link strong { display: block; }
.contact-link span { color: var(--blue-300); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-link strong { margin-top: 6px; font-size: 16px; word-break: break-word; }
.project-form { display: grid; gap: 23px; padding: 42px; color: var(--ink); background: var(--white); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.form-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-heading > span { color: #087fac; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-heading p { margin: 6px 0 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-form label { display: grid; gap: 8px; }
.project-form label > span { font-size: 14px; font-weight: 700; }
.project-form em { color: #168fbe; font-style: normal; }
.project-form input, .project-form select, .project-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f7fafc;
  border: 1px solid #c8d6df;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
}
.project-form textarea { min-height: 150px; resize: vertical; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { outline: 3px solid rgba(50,168,220,.25); border-color: #168fbe; }
.project-form ::placeholder { color: #6d7984; opacity: 1; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-top: 2px; }
.form-footer p { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-footer .button { cursor: pointer; }
.form-success { margin: 0; padding: 14px 16px; color: #084c35; background: #e7f7f0; border-left: 4px solid #168f83; font-size: 14px; font-weight: 600; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

footer { color: #b6c5d2; background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.12); }
.footer-wrap { min-height: 130px; display: grid; grid-template-columns: 1fr auto auto; gap: 38px; align-items: center; }
.footer-brand { color: var(--white); }
.footer-brand .brand-logo { height: 64px; filter: brightness(0) invert(1); }
.footer-wrap p, .footer-wrap > a { font-size: 13px; }
.footer-wrap > a { color: var(--blue-300); font-weight: 700; }

:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 4px; }

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .menu-toggle {
    position: relative;
    z-index: 30;
    width: 46px;
    height: 46px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 11px;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
  }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; }
  nav {
    position: absolute;
    inset: 88px 0 auto;
    display: none;
    align-items: stretch;
    padding: 24px 20px 30px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(6,20,38,.18);
  }
  nav.open { display: grid; gap: 0; }
  nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; padding: 13px 16px; color: var(--white); background: var(--navy-900); text-align: center; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,20,38,.98) 0%, rgba(6,20,38,.83) 60%, rgba(6,20,38,.46) 100%); }
  .hero h1 { max-width: 690px; }
  .intro { grid-template-columns: 1fr; gap: 14px; }
  .section-heading { display: grid; align-items: start; gap: 22px; }
  .service-wide { grid-template-columns: 60px 1fr; }
  .service-wide ul { grid-column: 2; }
  .approach-layout, .about-layout, .contact-card { grid-template-columns: 1fr; gap: 55px; }
  .approach-sticky { position: static; }
  .about-panel { padding: 44px; }
  .footer-wrap { grid-template-columns: 1fr auto; padding: 34px 0; }
  .footer-wrap p { grid-row: 2; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .nav-wrap { min-height: 76px; }
  .brand-logo { height: 58px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy span { font-size: 9px; }
  nav { inset: 76px 0 auto; }
  .hero { min-height: 760px; align-items: flex-end; }
  .hero-content { padding: 120px 0 56px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  .hero-lead { margin-top: 24px; font-size: 17px; }
  .hero-actions { display: grid; }
  h2 { font-size: 2.45rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 32px 25px; }
  .service-card h3 { margin-top: 45px; font-size: 24px; }
  .service-wide { grid-column: auto; grid-template-columns: 1fr; }
  .service-wide ul { grid-column: auto; }
  .steps li { grid-template-columns: 52px 1fr; }
  .about-panel { margin-inline: -14px; padding: 42px 28px; }
  .contact-card { gap: 42px; }
  .project-form { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .footer-wrap { grid-template-columns: 1fr; gap: 20px; }
  .footer-wrap p { grid-row: auto; margin: 0; }
}

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