@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans.woff2') format('woff2');
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --navy: #122b57;
  --blue: #3f78c8;
  --blue-text: #2f63ae;
  --sky: #7fa8e3;
  --paper: #f4f6f9;
  --white: #ffffff;
  --ink-2: #3a4a66;
  --ink-3: #4a5b78;
  --on-navy: #c9d6ea;
  --line: #dce3ec;
  --pad: clamp(20px, 5.5vw, 80px);
  --max: 1280px;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--blue-text);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  margin: 0;
  color: var(--navy);
}
h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
}
h3 {
  font-size: 19px;
  line-height: 1.25;
}
p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mark {
  display: block;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 7px;
  background: currentColor;
  transform: skewY(-30deg);
  flex: none;
}
.on-navy .eyebrow {
  color: var(--sky);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 17px 28px;
  border-radius: 6px;
  border: 1.5px solid var(--navy);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.btn-secondary {
  color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
}
.btn svg {
  width: 18px;
  height: 18px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 249, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow 0.25s;
}
.site-header.scrolled {
  box-shadow:
    0 1px 0 var(--line),
    0 8px 24px rgba(18, 43, 87, 0.06);
}
.site-header .wrap {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand:hover {
  color: var(--navy);
}
.brand-name {
  display: block;
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.1em;
}
.brand small,
.footer-brand small {
  display: block;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.34em;
  color: var(--ink-3);
  margin-top: 3px;
  padding-left: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 500;
}
.nav .btn {
  padding: 12px 22px;
  font-size: 15px;
}
.lang {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.lang a {
  color: var(--ink-3);
  padding: 7px 10px;
}
.lang a:hover {
  color: var(--navy);
  background: var(--paper);
}
.lang a[aria-current='true'] {
  background: var(--navy);
  color: var(--white);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  color: var(--navy);
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-mark {
  position: absolute;
  right: max(calc((100vw - var(--max)) / 2 + 20px), 20px);
  top: 24px;
  width: min(40vw, 560px);
  height: auto;
  pointer-events: none;
}
.hero-body {
  position: relative;
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(72px, 10vw, 136px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-body > * {
  max-width: 680px;
}
.hero-body h1 {
  max-width: 620px;
}
.hero-lead {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 580px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.proof {
  position: relative;
  background: var(--navy);
  color: var(--white);
}
.proof .wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.proof-title {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
}
.proof-text {
  font-size: 15px;
  color: var(--on-navy);
  margin-top: 6px;
  line-height: 1.5;
}

/* sections */
.section {
  padding: clamp(80px, 10vw, 136px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow {
  grid-column: 1 / -1;
}
.section-intro {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 560px;
}
.bg-white {
  background: var(--white);
}
.on-navy {
  background: var(--navy);
  color: var(--white);
}
.on-navy h2,
.on-navy h3 {
  color: var(--white);
}
.on-navy .section-intro {
  color: var(--on-navy);
}

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.service {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid transparent;
  transition:
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.service:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(18, 43, 87, 0.08);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.service-icon svg {
  width: 26px;
  height: 26px;
}
.service p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.service ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--navy);
}
.service li {
  position: relative;
  padding-left: 16px;
}
.service li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: var(--blue);
  clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
}

/* sectors */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.sector {
  padding: 30px 32px 34px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.sector:not(:nth-child(3n + 1)) {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.sector-no {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  padding-top: 3px;
  min-width: 24px;
}
.sector p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 6px;
}

/* process */
.process {
  position: relative;
  overflow: hidden;
}
.process-mark {
  position: absolute;
  right: -60px;
  bottom: -140px;
  width: 420px;
  opacity: 0.07;
  --m1: #ffffff;
  --m2: #ffffff;
  pointer-events: none;
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  border-top: 2px solid rgba(127, 168, 227, 0.35);
  padding-top: 26px;
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--sky);
}
.step-no {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--sky);
  margin-bottom: 20px;
}
.step p {
  color: var(--on-navy);
  font-size: 15.5px;
  margin-top: 10px;
}

/* contact */
.contact {
  position: relative;
  overflow: hidden;
}
.contact-mark {
  position: absolute;
  left: -90px;
  top: -60px;
  width: 380px;
  opacity: 0.08;
  --m1: #ffffff;
  --m2: #ffffff;
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.contact-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-main h2 {
  font-size: clamp(34px, 4.4vw, 56px);
}
.contact-main p {
  color: var(--on-navy);
  font-size: 18px;
  max-width: 540px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 214, 234, 0.2);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card dt {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 500;
}
.contact-card dd {
  margin: 4px 0 0;
  font-size: 16.5px;
  color: var(--white);
}
.contact-card a:hover {
  color: var(--sky);
}
.contact-card dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* footer */
.site-footer {
  background: var(--paper);
  padding: 56px 0 40px;
  font-size: 14.5px;
  color: var(--ink-3);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}
.footer-brand .brand-name {
  font-size: 22px;
}
.footer-brand small {
  font-size: 11px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-weight: 500;
  color: var(--navy);
}
.legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.legal details {
  border-bottom: 1px solid var(--line);
}
.legal summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.legal summary::-webkit-details-marker {
  display: none;
}
.legal summary::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.2s;
}
.legal details[open] summary::after {
  transform: rotate(45deg);
}
.legal-body {
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.6;
}
.legal-body h3 {
  font-family: var(--body);
  font-stretch: 100%;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 4px;
}
.copyright {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .service,
  .btn {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 32px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 28px;
    font-size: 18px;
    box-shadow: 0 18px 30px rgba(18, 43, 87, 0.1);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }
  .menu-open .nav {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .nav > a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn {
    justify-content: center;
    margin-top: 20px;
    padding: 16px 22px;
    font-size: 16px;
  }
  .nav .lang {
    align-self: flex-start;
    margin-top: 20px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sector:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }
  .sector:nth-child(2n) {
    padding-left: 28px;
    border-left: 1px solid var(--line);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-mark {
    width: 46vw;
    top: 40px;
    opacity: 0.14;
  }
  .proof .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .legal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .site-header .wrap {
    height: 72px;
  }
  html {
    scroll-padding-top: 72px;
  }
  .nav {
    inset: 72px 0 auto 0;
  }
  .hero-mark {
    width: 58vw;
    right: -8vw;
    top: 12px;
    opacity: 0.1;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sectors {
    grid-template-columns: 1fr;
  }
  .sector,
  .sector:nth-child(2n) {
    padding: 24px 0;
    border-left: 0;
  }
  .contact-card {
    padding-left: 24px;
    padding-right: 24px;
  }
  .section-intro,
  .contact-main p {
    font-size: 17px;
  }
}
