:root {
  --ink: #142836;
  --navy: #102c3b;
  --blue: #a8e7fa;
  --text: #415463;
  --paper: #f4f8fa;
  --line: #d0dde4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
  background: #fff;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #1683a4;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: white;
  padding: 0.5rem;
  z-index: 2;
}
.skip:focus {
  top: 1rem;
}
.frame {
  width: min(1200px, calc(100% - 5rem));
  margin-inline: auto;
}
.utility {
  background: #eaf2f6;
  font-size: 0.875rem;
  font-weight: 600;
}
.utility .frame {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
}
.nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  line-height: 1.05;
  font-weight: 900;
  font-size: 1.22rem;
  white-space: nowrap;
}
.brand small {
  display: block;
  letter-spacing: 0.17em;
  font-size: 0.76rem;
  margin-top: 0.25rem;
}
.nav nav {
  display: flex;
  gap: 2rem;
  font-weight: 650;
}
.nav nav a {
  text-decoration: none;
}
.nav nav a:hover {
  text-decoration: underline;
}
.btn {
  display: inline-block;
  border: 0;
  border-radius: 0.25rem;
  background: var(--blue);
  color: #102c3b;
  padding: 0.78rem 1.15rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background: #cbf1fc;
}
.hero {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-copy {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(2.5rem, 5vw, 5rem)
    clamp(3.5rem, 7vw, 7rem) max(2.5rem, calc((100vw - 1200px) / 2));
  align-self: center;
}
.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #16718a;
  margin: 0 0 1rem;
}
.hero .eyebrow,
.hero em {
  color: var(--blue);
}
h1,
h2,
h3 {
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3.25rem, 5.8vw, 6rem);
  max-width: 9ch;
}
h1 em {
  font-style: normal;
}
h2 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}
h3 {
  font-size: 1.45rem;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 42ch;
  color: #e0edf3;
  font-size: 1.12rem;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}
.call {
  font-weight: 750;
}
.hero figure {
  position: relative;
  margin: 0;
  min-height: 24rem;
  background: #425661;
}
.hero img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.hero figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  color: white;
  background: var(--navy);
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
}
.proof {
  background: var(--blue);
}
.proof .frame {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 0.85rem 0;
  font-weight: 750;
}
.proof .frame > * + * {
  border-left: 1px solid #5c99ad;
}
.section {
  padding-block: clamp(3.6rem, 7vw, 6.5rem);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head > p {
  max-width: 32ch;
  margin: 0;
  color: var(--text);
}
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.services article {
  display: flex;
  flex-direction: column;
  padding: 1.65rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.services p,
.contact p,
.about p {
  color: var(--text);
}
.services a {
  font-weight: 700;
  color: #126782;
  margin-top: auto;
}
.about {
  background: var(--paper);
  padding: clamp(3.6rem, 7vw, 6rem) 0;
}
.about-grid,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about .eyebrow,
.contact .eyebrow {
  color: #16718a;
}
.about ol {
  padding-left: 1.5rem;
  margin-bottom: 0;
}
.about li {
  padding-left: 0.35rem;
  margin-top: 0.65rem;
}
.phone {
  font-size: 1.6rem;
  font-weight: 800;
}
.contact a {
  overflow-wrap: anywhere;
}
form {
  background: var(--paper);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.75rem;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  background: white;
  color: var(--ink);
  font: inherit;
  border: 1px solid #91a7b4;
  border-radius: 0.25rem;
  padding: 0.55rem;
  min-width: 0;
}
select {
  appearance: none;
  padding-right: 1.5rem;
  background: white linear-gradient(45deg, transparent 50%, var(--ink) 50%)
    no-repeat right 0.85rem center/5px 5px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 0.85rem center, right 0.55rem center;
  background-size: 5px 5px;
}
textarea {
  resize: vertical;
}
.hint {
  font-size: 0.9rem;
  margin-bottom: 0;
}
footer {
  background: var(--navy);
  color: #fff;
}
.footer {
  flex-wrap: wrap;
  padding: 1.6rem 0;
}
@media (max-width: 900px) {
  .hero-copy {
    padding-inline: 2.5rem;
  }
  .hero {
    grid-template-columns: 1.1fr 1fr;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .frame {
    width: calc(100% - 2rem);
  }
  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
  }
  .nav nav {
    grid-row: 2;
    grid-column: 1/-1;
    gap: 1.5rem;
  }
  .nav .btn {
    font-size: 0.875rem;
    padding: 0.55rem 0.7rem;
  }
  .brand {
    font-size: 1rem;
  }
  .brand small {
    font-size: 0.66rem;
  }
  .hero,
  .about-grid,
  .contact,
  .services {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 2.8rem 1rem;
  }
  .hero figure {
    min-height: 15rem;
  }
  .proof .frame {
    width: 100%;
    font-size: 0.875rem;
  }
  .proof .frame > * {
    padding: 0 0.35rem;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 0.75rem;
  }
  .services article {
    padding: 1.25rem;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.company-logo {
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  flex: none;
  overflow: hidden;
  background: transparent;
}

@media (max-width: 640px) {
  .company-logo {
    width: 2.15rem;
    height: 2.15rem;
  }
}

.contact-options {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
}
.contact-options legend {
  font-weight: 700;
}
.contact-options p {
  margin: 0 0 0.4rem;
}
.contact-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 1rem 0 0;
  padding-block: 0.4rem;
  cursor: pointer;
}
.contact-options input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--navy);
}

.proof .frame {
  align-items: center;
}
.bbb-affiliation {
  display: flex;
  justify-content: center;
}
.bbb-seal {
  display: inline-flex;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  background: white;
}
.bbb-seal img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  border: 0;
}
@media (max-width: 640px) {
  .proof .frame {
    grid-template-columns: 1fr 1fr;
    row-gap: 0.75rem;
  }
  .proof .frame > .bbb-affiliation {
    grid-column: 1 / -1;
    border: 0;
  }
}
