@font-face {
  font-family: "Plex Display";
  src: url("fonts/IBMPlexSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbfcf8;
  --white: #fff;
  --ink: #111e33;
  --muted: #42536a;
  --blue: #123eae;
  --blue-hover: #0c318e;
  --line: #ced9e2;
  --ice: #edf6fd;
  --lime: #ddfa84;
  --display: "Plex Display", Arial, sans-serif;
  font-family: system-ui, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
svg { display: block; flex: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
:where(section, footer)[id] { scroll-margin-top: 28px; }
.wrap { width: min(1280px, calc(100% - clamp(32px, 7.25vw, 116px))); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; z-index: 4; top: 8px; left: 8px; padding: 12px; color: #fff; background: var(--blue); border-radius: 6px; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 9px; text-decoration: none; font: 700 28px/.95 var(--display); letter-spacing: -.07em; white-space: nowrap; }
.brand > svg { width: 29px; height: 29px; padding: 5px; border-radius: 9px; color: var(--lime); background: var(--blue); }
.brand-accent { color: var(--blue); }
.masthead nav { display: flex; justify-content: center; gap: clamp(14px, 2.7vw, 40px); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 42px; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.masthead nav a:hover, .text-link:hover, .footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; justify-self: end; gap: 7px; border: 1px solid #98b2d1; border-radius: 9px; min-height: 44px; padding: 0 13px; text-decoration: none; font-weight: 700; font-size: 13px; color: var(--blue); white-space: nowrap; }
.nav-cta:hover { background: var(--ice); }
.nav-cta svg, .text-link svg, .footer a > svg:not(.brand svg) { width: 17px; height: 17px; }

.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); align-items: center; gap: clamp(24px, 4.7vw, 74px); padding-block: clamp(23px, 3.5vw, 51px) clamp(43px, 5.4vw, 80px); }
.eyebrow, .section-tag { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.35; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.location { width: fit-content; color: var(--blue); padding: 7px 12px 7px 8px; border: 1px solid #b8cee9; border-radius: 6px; background: var(--ice); }
.location svg { width: 17px; height: 17px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1 { margin-block: clamp(16px, 2vw, 28px) 18px; font-size: clamp(48px, 6.6vw, 98px); line-height: .94; letter-spacing: -.077em; }
h1 span, h1 em { display: block; }
h1 em { color: var(--blue); font-style: normal; }
.intro { color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.56; max-width: 415px; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 13px clamp(13px, 2vw, 26px); margin-top: 25px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 17px; min-height: 51px; border: 0; border-radius: 10px; text-decoration: none; font: inherit; font-weight: 750; font-size: 14px; cursor: pointer; }
.button svg { width: 20px; height: 20px; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: var(--blue-hover); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 37px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero-art { position: relative; overflow: hidden; border-radius: 18px 18px 52px 18px; background: #d7eeff; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art figcaption { position: absolute; bottom: 5%; right: 6%; border: 1px solid #8bb7d4; border-radius: 5px; background: #eef9ff; color: #234d74; padding: 4px 8px; font-size: 10px; letter-spacing: .055em; }

.services { padding-block: 22px clamp(52px, 6.4vw, 91px); border-top: 1px solid var(--line); }
.section-tag { color: var(--blue); }
.section-tag span { display: inline-grid; place-items: center; flex: none; width: 30px; height: 22px; border-radius: 5px; background: var(--lime); color: #273500; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
h2 { font-size: clamp(38px, 4.45vw, 68px); line-height: .98; letter-spacing: -.069em; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.section-intro h2 { margin-top: 14px; }
.section-intro p { color: var(--muted); font-size: 15px; line-height: 1.45; padding-bottom: 3px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service { display: flex; flex-direction: column; min-width: 0; min-height: 235px; padding: clamp(16px, 1.8vw, 25px); border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.service:hover, .service:focus-within { border-color: #7396cb; background: #f6faff; }
.service-top { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.service-top span, .number { font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .09em; color: var(--blue); }
.service-icon { width: 49px; height: 47px; padding: 4px; border-radius: 8px; color: var(--blue); background: #e5f1ff; }
.service h3 { margin-block: 15px 7px; font-size: clamp(21px, 2.15vw, 30px); letter-spacing: -.045em; line-height: 1.03; }
.service p { color: var(--muted); font-size: 14px; line-height: 1.44; }
.service-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; gap: 7px; color: var(--blue); font-size: 13px; font-weight: 750; text-decoration: none; }
.service-link svg { width: 31px; height: 31px; padding: 5px; border: 1px solid #abc1e0; border-radius: 50%; transition: background .16s; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-link:hover svg { background: var(--lime); }

.scope { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 6vw, 94px); border-top: 1px solid var(--line); padding-block: 24px clamp(50px, 6vw, 88px); }
.scope h2 { margin-block: 15px; }
.scope-copy p, .quote-copy p { max-width: 365px; color: var(--muted); font-size: 16px; line-height: 1.52; }
.scope-copy .text-link { display: flex; width: fit-content; margin-top: 3px; color: var(--blue); }
.scope-copy .text-link:first-of-type { margin-top: 10px; }
.scope-list details { border-bottom: 1px solid var(--line); }
.scope-list details:first-child { border-top: 1px solid var(--line); }
.scope-list summary { display: grid; grid-template-columns: 24px minmax(0, 1fr) 30px; align-items: center; gap: 10px; padding: 14px 4px; cursor: pointer; font: 700 clamp(17px, 2.05vw, 25px)/1.17 var(--display); letter-spacing: -.03em; list-style: none; }
.scope-list summary::-webkit-details-marker { display: none; }
.scope-list summary:hover { color: var(--blue); }
.scope-list p { padding: 0 23px 17px 38px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 530px; }
.toggle { position: relative; width: 30px; height: 30px; border: 1px solid #a8c0db; border-radius: 6px; color: var(--blue); background: var(--ice); }
.toggle::before, .toggle::after { position: absolute; top: 13px; left: 8px; width: 12px; height: 2px; border-radius: 1px; background: currentColor; content: ""; }
.toggle::after { transform: rotate(90deg); }
details[open] .toggle { background: var(--lime); }
details[open] .toggle::after { transform: none; }

.quote { margin-bottom: 42px; }
.quote-inner { display: grid; grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr); gap: clamp(22px, 5.5vw, 74px); align-items: start; padding: clamp(26px, 4.2vw, 60px); border-radius: 18px 18px 52px 18px; background: var(--ice); border: 1px solid #c6dced; }
.quote h2 { margin-block: 17px 14px; }
.quote-contact { display: flex; gap: 10px; align-items: center; margin-top: 23px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.quote-contact svg { width: 36px; height: 36px; padding: 7px; border: 1px solid #9bb9da; border-radius: 9px; color: var(--blue); background: var(--white); }
.quote-contact a { color: var(--blue); text-underline-offset: 3px; font-size: 15px; font-weight: 750; }
.quote-form { background: var(--white); padding: clamp(16px, 2.2vw, 30px); border: 1px solid #bcd0e4; border-radius: 13px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 11px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; font-weight: 700; }
.field.wide { grid-column: 1 / -1; }
.field small { font-size: 11px; color: var(--muted); font-weight: 400; margin-inline-start: 4px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; background: #fbfdff; color: var(--ink); border: 1px solid #738ba8; border-radius: 7px; padding: 10px 9px; min-height: 46px; font: inherit; font-weight: 400; font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: #506179; opacity: 1; }
.field textarea { resize: vertical; }
.field select:invalid { color: #506179; }
.submit { width: 100%; background: var(--blue); color: #fff; margin-top: 15px; }
.submit:hover { background: var(--blue-hover); }
.submit:disabled { opacity: .55; cursor: default; }
.form-note { margin-top: 9px; font-size: 12px; line-height: 1.45; color: var(--muted); text-align: center; }

.footer { border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: start; gap: 20px; padding-block: 24px; }
.footer-main p, .footer-address span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.footer-main a:not(.brand) { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; text-decoration: none; min-height: 36px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 3px 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-block: 11px; color: var(--muted); font-size: 12px; }
.footer-bottom a { padding: 7px 0 7px 8px; text-decoration: none; }

@media (max-width: 1040px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { min-height: 199px; }
}
@media (max-width: 890px) {
  .quote-inner { grid-template-columns: 1fr; }
  .quote h2 br { display: none; }
  .quote-contact { margin-top: 15px; }
}
@media (max-width: 740px) {
  .masthead { grid-template-columns: 1fr auto; min-height: auto; row-gap: 0; padding-top: 10px; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: clamp(14px, 5vw, 28px); margin-top: 2px; }
  .masthead nav a { min-height: 43px; font-size: 13px; }
  .brand { font-size: 25px; gap: 7px; }
  .brand > svg { width: 26px; height: 26px; }
  .nav-cta { padding-inline: 9px; min-height: 41px; font-size: 12px; }
  .nav-cta svg { width: 15px; height: 15px; }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  h1 { font-size: clamp(46px, 13vw, 76px); }
  .hero-art { border-bottom-right-radius: 34px; }
  .section-intro { display: block; margin-bottom: 17px; }
  .section-intro p { margin-top: 9px; }
  .scope { grid-template-columns: 1fr; gap: 20px; }
  .scope h2 br { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 13px; }
}
@media (max-width: 510px) {
  .service-grid { grid-template-columns: 1fr; gap: 8px; }
  .service {
    display: grid;
    grid-template-columns: 39px minmax(0, 1fr);
    column-gap: 11px;
    min-height: auto;
    padding: 13px;
  }
  .service-top { flex-direction: column; align-items: center; justify-content: start; gap: 6px; grid-row: 1 / 4; }
  .service-icon { width: 39px; height: 38px; }
  .service h3 { margin: 1px 0 5px; }
  .service-link { padding-top: 5px; min-height: 41px; }
  .quote-inner { padding: 16px 12px 13px; gap: 17px; border-bottom-right-radius: 27px; }
  .quote-copy { padding-inline: 5px; }
  .form-fields { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .masthead { column-gap: 6px; }
  .brand { font-size: 22px; }
  .brand > svg { width: 23px; height: 23px; }
  .nav-cta { font-size: 11px; padding-inline: 7px; gap: 4px; }
  .nav-cta svg { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
