:root {
  --blue: #032687;
  --blue-2: #021f70;
  --blue-dark: #01154f;
  --ink: #080a13;
  --muted: #4f5666;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --line: #e2e7f0;
  --footer: #101417;
  --radius: 8px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(22px, 4.7vw, 72px);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-split {
  position: relative;
  min-height: 790px;
  overflow: hidden;
}

.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.28) 22%, rgba(1, 14, 49, 0.2) 38%, rgba(1, 14, 49, 0.06) 100%),
    linear-gradient(90deg, rgba(3, 38, 135, 0) 0%, rgba(3, 38, 135, 0.06) 24%, rgba(3, 38, 135, 0.2) 34%, rgba(3, 38, 135, 0.62) 48%, rgba(3, 38, 135, 0.92) 62%, rgba(1, 21, 79, 0.98) 100%);
}

.hero-photo,
.hero-content {
  position: relative;
  min-height: 790px;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 72%, rgba(0, 0, 0, 0.2), transparent 36%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.06) 46%, rgba(3, 38, 135, 0.1) 100%);
}

.hero-content {
  z-index: 2;
  isolation: isolate;
  display: grid;
  align-items: center;
  width: 100%;
  background: transparent;
  color: #ffffff;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 26%, rgba(110, 145, 220, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(3, 38, 135, 0) 0%, rgba(3, 38, 135, 0) 27%, rgba(3, 38, 135, 0.18) 37%, rgba(3, 38, 135, 0.74) 52%, rgba(3, 38, 135, 0.98) 68%, var(--blue-dark) 100%);
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, 0.1) 36%, #000 58%);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px var(--gutter) 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(24px, 4vw, 52px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 0;
  border-radius: 5px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.button-light {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(560px, calc(100% - var(--gutter) * 2));
  margin: 116px var(--gutter) 0 auto;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 5.3vw, 78px);
  font-weight: 700;
  line-height: 1.08;
}

.hero-copy p {
  width: min(100%, 430px);
  margin: 32px 0 32px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.86);
}

.photo-brand {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  top: 60px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: clamp(190px, 16vw, 255px);
  height: auto;
}

.brand-mark {
  width: 72px;
  height: 58px;
  flex: 0 0 auto;
}

.brand-mark circle {
  fill: rgba(3, 38, 135, 0.92);
}

.brand-mark path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photo-brand strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.05;
}

.photo-brand small {
  display: block;
  margin-top: 6px;
  color: #7fa3ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.35em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 5px;
  background: transparent;
  color: #ffffff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.services-section,
.why-section {
  position: relative;
  overflow: hidden;
  padding: 76px var(--gutter) 70px;
}

.services-section::before,
.why-section::before,
.cta-band::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(3, 38, 135, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.services-section::before {
  left: -165px;
  bottom: -92px;
  box-shadow: 0 0 0 12px rgba(3, 38, 135, 0.025), 0 0 0 24px rgba(3, 38, 135, 0.025);
}

.why-section {
  background: var(--soft);
}

.why-section::before {
  right: 10%;
  top: 40px;
  width: 620px;
  height: 620px;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto 38px;
}

.services-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.08;
}

.section-heading > p,
.services-heading > p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.service-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
}

.service-card {
  min-height: 310px;
  display: grid;
  justify-items: center;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 34px 22px 26px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(18, 30, 64, 0.08);
}

.service-icon,
.why-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
}

.service-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
}

.service-icon.blue,
.why-icon.blue {
  background: var(--blue);
}

.service-icon.dark,
.why-icon.dark {
  background: #07090f;
}

.service-icon svg,
.why-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.12;
}

.service-card p {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 12px;
}

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-size: 22px;
}

.why-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto;
}

.why-grid article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  border-right: 1px solid #c9d1df;
  padding: 0 28px;
}

.why-grid article:first-child {
  padding-left: 0;
}

.why-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.why-icon {
  width: 64px;
  height: 64px;
}

.why-grid h3 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.14;
}

.why-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.cta-band {
  position: relative;
  max-width: var(--container);
  display: grid;
  grid-template-columns: 1fr 0.85fr auto;
  align-items: center;
  gap: 54px;
  margin: 0 auto -56px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 98% 0, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #123cad, #0c36a8);
  color: #ffffff;
  padding: 50px 70px;
}

.cta-band::after {
  right: -74px;
  top: -94px;
  border-color: rgba(255, 255, 255, 0.12);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 3.4vw, 44px);
  line-height: 1.16;
}

.cta-band p {
  margin: 0;
  padding-left: 56px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 56px;
  background: var(--footer);
  color: #ffffff;
  padding: 116px var(--gutter) 34px;
}

.footer-logo {
  position: static;
}

.footer-logo-img {
  display: block;
  width: clamp(190px, 18vw, 260px);
  height: auto;
}

.site-footer p,
.site-footer address a {
  color: #d7d9dd;
  font-size: 14px;
}

.site-footer address {
  display: grid;
  gap: 14px;
  align-content: start;
  font-style: normal;
}

.socials {
  display: flex;
  gap: 18px;
  align-self: start;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.copyright {
  grid-column: 1 / -1;
  margin: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.page-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  background: var(--blue);
  color: #ffffff;
  padding: 24px var(--gutter);
}

.page-header .photo-brand {
  position: static;
}

.page-main {
  max-width: calc(980px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 86px var(--gutter) 110px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 36px;
  color: var(--muted);
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 14px 36px rgba(18, 30, 64, 0.08);
}

.content-panel h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
}

.content-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.contact-list,
.contact-form {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-list a,
.contact-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 14px 16px;
  font-weight: 700;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-page-main {
  max-width: none;
  background:
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 62%);
}

.contact-hero,
.contact-panel {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.contact-hero {
  text-align: center;
}

.contact-hero h1,
.contact-hero > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.contact-highlights span {
  border: 1px solid rgba(3, 38, 135, 0.14);
  border-radius: 999px;
  background: #ffffff;
  padding: 9px 15px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(18, 30, 64, 0.08);
}

.contact-panel {
  grid-template-columns: 0.9fr 1.1fr;
  background:
    linear-gradient(90deg, rgba(3, 38, 135, 0.06), transparent 42%),
    #ffffff;
}

.contact-sidebar,
.next-steps {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-card {
  border-radius: var(--radius);
  background: var(--blue);
  padding: 24px;
  color: #ffffff;
}

.contact-card h2 {
  font-family: var(--serif);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-list a,
.contact-list span {
  display: grid;
  gap: 4px;
}

.contact-list a small,
.contact-list span small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-steps {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
}

.next-steps h2 {
  font-family: var(--serif);
}

.next-steps ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}

@media (max-width: 1060px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .hero-content {
    min-height: 620px;
  }

  .hero-photo {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .site-header,
  .page-header {
    grid-template-columns: 1fr auto;
  }

  .site-header.is-open {
    background: rgba(8, 31, 105, 0.96);
    padding-bottom: 18px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-cta,
  .page-header.is-open .main-nav,
  .page-header.is-open .header-cta {
    grid-column: 1 / -1;
    display: flex;
  }

  .site-header.is-open .main-nav,
  .page-header.is-open .main-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-heading,
  .cta-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .why-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid article {
    border-right: 0;
    border-bottom: 1px solid #c9d1df;
    padding: 24px 0;
  }

  .cta-band p {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .hero-content,
  .hero-photo {
    min-height: 560px;
  }

  .hero-copy {
    margin-top: 110px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .photo-brand strong {
    font-size: 16px;
  }

  .brand-logo {
    width: clamp(150px, 42vw, 210px);
  }

  .service-grid,
  .why-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-band {
    margin-inline: var(--gutter);
    padding: 34px 24px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-split {
    display: block;
  }

  .hero-content {
    min-height: 620px;
  }

  .hero-photo {
    min-height: 420px;
  }

  .site-header,
  .page-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-copy {
    width: calc(100% - 40px);
    margin-top: 92px;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero-copy p {
    max-width: 310px;
    font-size: 17px;
  }

  .photo-brand {
    left: 20px;
    top: 24px;
  }

  .services-section,
  .why-section,
  .page-main {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .section-heading h2,
  .page-hero h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .service-card {
    min-height: 0;
    padding: 28px 20px 22px;
  }

  .why-grid article {
    grid-template-columns: 54px 1fr;
    gap: 16px;
  }

  .why-icon {
    width: 52px;
    height: 52px;
  }

  .cta-band {
    gap: 22px;
    margin-bottom: -42px;
  }

  .site-footer {
    padding-top: 90px;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    text-align: left;
  }

  .contact-highlights {
    justify-content: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
