:root {
  --blue: #1f4c66;
  --light-blue: #4db1e0;
  --title-blue: #0474af;
  --orange: #e2511c;
  --orange-dark: #b54116;
  --light-gray: #eee;
  --medium-gray: #cacaca;
  --dark-gray: #444;
  --white: #fefefe;
  --content-width: 61.25rem;
  --body-font: "Open Sans", Helvetica, Arial, sans-serif;
  --display-font: "Oswald", "Arial Narrow", Arial, sans-serif;
}

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

html {
  color-scheme: light;
  font-size: 100%;
}

body {
  background: var(--white);
  color: #0a0a0a;
  font-family: var(--body-font);
  line-height: 1.5;
  margin: 0;
}

main,
section,
header,
footer,
nav {
  display: block;
}

img {
  border: 0;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--light-blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #29a1da;
}

p {
  line-height: 1.6;
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: var(--body-font);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  text-rendering: optimizeLegibility;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1.0625rem; }
h6 { font-size: 1rem; }

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ffae00;
  outline-offset: 3px;
}

[hidden],
.hide {
  display: none !important;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.row {
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
  max-width: var(--content-width);
  width: 100%;
}

.row .row {
  margin-left: -0.625rem;
  margin-right: -0.625rem;
  width: auto;
}

.columns {
  min-width: 0;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  width: 100%;
}

.small-4 { width: 33.3333%; }
.small-6 { width: 50%; }
.small-8 { width: 66.6667%; }
.small-12 { width: 100%; }

.row.expanded {
  max-width: none;
}

.row.collapse > .columns {
  padding-left: 0;
  padding-right: 0;
}

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

.float-right {
  float: right;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.6;
}

.button {
  align-items: center;
  background: var(--light-blue);
  border: 0;
  border-radius: 1.25rem;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 1rem;
  min-height: 2.75rem;
  padding: 1em 2em;
  text-align: center;
  transition: background-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  background: #29a1da;
  color: var(--white);
}

.button.secondary {
  background: var(--orange);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--orange-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.inline-link {
  font-weight: 700;
  text-transform: uppercase;
}

.header-wrapper {
  background: var(--blue);
  position: relative;
  z-index: 20;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--content-width);
  min-height: 4.5rem;
  padding: 0 0.625rem;
  position: relative;
}

.brand {
  background: url("/images/logo.png") left center / contain no-repeat;
  display: block;
  flex: 0 0 14.0625rem;
  height: 3.5rem;
  overflow: hidden;
  text-indent: -9999px;
  width: 14.0625rem;
}

.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 3rem;
  margin-left: auto;
  padding: 0.75rem;
  width: 3rem;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  background: var(--white);
  display: block;
  height: 3px;
  position: relative;
  transition: transform 150ms ease;
  width: 25px;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  left: 0;
  position: absolute;
}

.nav-toggle__icon::before { top: -8px; }
.nav-toggle__icon::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  background: var(--blue);
  left: 0;
  padding: 0.5rem 0.625rem 1rem;
  position: absolute;
  right: 0;
  top: 100%;
}

.js .site-nav:not(.is-open) {
  display: none;
}

.no-js .nav-toggle {
  display: none;
}

.nav-list,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a,
.nav-link-group > a {
  color: var(--light-blue);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

.nav-list a:not(.button):hover,
.nav-list a:not(.button):focus-visible {
  color: #29a1da;
}

.nav-list .button {
  color: var(--white);
  margin: 0.5rem 1rem 0;
  padding: 1em 2em;
}

.nav-link-group {
  align-items: center;
  display: flex;
}

.submenu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 2.75rem;
  padding: 0.75rem;
  width: 2.75rem;
}

.submenu-toggle > span[aria-hidden="true"] {
  border-bottom: 2px solid var(--light-blue);
  border-right: 2px solid var(--light-blue);
  display: block;
  height: 0.6rem;
  transform: rotate(45deg) translateY(-0.2rem);
  transition: transform 150ms ease;
  width: 0.6rem;
}

.nav-link-group:hover .submenu-toggle > span[aria-hidden="true"],
.nav-link-group:focus-within .submenu-toggle > span[aria-hidden="true"] {
  border-bottom-color: #29a1da;
  border-right-color: #29a1da;
}

.submenu-toggle[aria-expanded="true"] > span[aria-hidden="true"] {
  transform: rotate(225deg) translate(-0.1rem, -0.1rem);
}

.submenu {
  background: var(--blue);
  display: none;
  padding: 0 0 0.5rem 1rem;
}

.nav-dropdown.is-open .submenu {
  display: block;
}

.submenu a {
  align-items: center;
  color: var(--light-blue);
  display: flex;
  font-size: 0.95rem;
  line-height: 1.2;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
}

.banner-wrap {
  align-items: center;
  background: url("/images/about-banner.jpg") center / cover no-repeat;
  display: flex;
  min-height: 15.625rem;
  padding: 2rem 0;
  justify-content: center;
  position: relative;
}

.home-page .banner-wrap {
  background-image: url("/images/home-banner.jpg");
}

.banner__content {
  margin: 0 auto;
  max-width: var(--content-width);
  padding: 0 0.5rem;
  text-align: center;
  width: 100%;
}

.banner__copy {
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(2rem, 9.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
}

.section {
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.section__title {
  color: var(--title-blue);
  font-family: var(--display-font);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.section__title::after {
  background: var(--orange);
  content: "";
  display: block;
  height: 0.375rem;
  margin-top: 0.15em;
  width: 2.5rem;
}

.footer-wrapper .section__title span,
.latest-projects-wrap .section__title span {
  display: block;
}

.callout--light,
.callout--dark {
  text-align: center;
}

.callout--light {
  background: url("/images/light-bg.png") bottom center / 100% auto no-repeat;
}

.callout--light .lead {
  color: var(--title-blue);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.callout--dark {
  background: var(--orange);
}

.callout--dark .lead {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-wrap {
  background: var(--light-gray) url("/images/dark-bg.png") bottom center / 100% auto no-repeat;
}

.services-wrap p,
.services-wrap li {
  color: var(--dark-gray);
}

.service {
  overflow: hidden;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.service__title {
  color: var(--title-blue);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.service__title a {
  color: inherit;
}

.service__summary,
.service__summary p,
.service p {
  color: var(--dark-gray);
  font-size: 1rem;
}

.service__content {
  padding-left: 1rem;
}

.service__icon img {
  display: block;
  margin: 0 auto;
}

.latest-projects-wrap {
  overflow: hidden;
}

.latest-projects-wrap p,
.latest-projects-wrap li {
  color: var(--dark-gray);
}

.latest-projects-wrap img {
  display: block;
  margin: 2rem auto 0;
}

.gallery-wrap img {
  display: block;
  width: 100%;
}

.testimonial-slides {
  display: grid;
  margin-bottom: 1rem;
}

.testimonial {
  grid-area: 1 / 1;
  visibility: hidden;
}

.testimonial.is-active {
  visibility: visible;
}

.testimonial .lead p {
  margin-bottom: 1rem;
}

.testimonial .client-name {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.testimonial .client-name a {
  color: inherit;
}

.testimonial .client-name img {
  display: inline-block;
  float: right;
  height: 1.2rem;
  object-fit: contain;
  width: 5.106rem;
}

.carousel-dots {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  height: 1rem;
  justify-content: center;
}

.carousel-dot {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  width: 2.75rem;
}

.carousel-dot::before {
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: 50%;
  content: "";
  height: 1rem;
  width: 1rem;
}

.carousel-dot:hover {
  opacity: 0.7;
}

.carousel-dot:focus-visible {
  outline-color: var(--blue);
  outline-offset: -3px;
}

.carousel-dot.is-active::before {
  background: transparent;
}

.intro,
.page-content,
.article,
.contact-intro,
.contact-layout {
  margin-left: auto;
  margin-right: auto;
}

.intro {
  font-size: 1.125rem;
  max-width: 49rem;
  padding: 3rem 1rem 2rem;
}

.service-list-item {
  align-items: flex-start;
  display: flex;
  margin: 0 auto;
  max-width: var(--content-width);
  padding-left: 2rem;
  padding-right: 2rem;
}

.service-list-item > img {
  flex: 0 0 9.375rem;
  margin-right: 2rem;
}

.service-list-item .post-content {
  flex: 1;
}

.service-list-item__summary {
  font-size: 1.125rem;
}

.project-list {
  padding-left: 1rem;
  padding-right: 1rem;
}

.project {
  align-items: center;
}

.project:not(:last-child) {
  margin-bottom: 4rem;
}

.project img {
  display: block;
  margin: 2rem auto 0;
}

.page-content {
  max-width: 49rem;
  padding: 3rem 1rem;
}

.service-detail > .section {
  margin: 3.125rem 0;
  padding: 0;
}

.service-detail p,
.service-detail li {
  line-height: 2;
}

.service-detail__top > img {
  display: block;
  margin: 0 auto 2rem;
}

.service-detail__top--icon-after > img {
  margin: 3.125rem auto;
}

.service-divider {
  color: var(--light-blue);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.service-divider p {
  margin: 0;
}

.listing {
  padding: 3rem 1rem;
}

.post-card {
  margin: 0 auto 3rem;
  max-width: 49rem;
}

.post-summary {
  font-size: 1.125rem;
}

.post-meta {
  color: #555;
  font-size: 0.9rem;
}

.post-meta a + a::before {
  color: #555;
  content: ", ";
}

.article {
  max-width: 55rem;
}

.rich-text h3,
.rich-text h4 {
  color: var(--dark-gray);
  font-weight: 700;
  margin-top: 1.5em;
}

.article .rich-text h2 {
  font-size: 1.25rem;
}

.article .rich-text h3 {
  font-size: 1.125rem;
}

.rich-text li {
  margin-bottom: 0.5rem;
}

.contact-intro {
  color: #777;
  font-size: 1.25rem;
  max-width: 46rem;
  padding: 3rem 1rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  max-width: var(--content-width);
  padding: 0 1rem 5rem;
}

.contact-layout h2 {
  color: var(--light-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-aside {
  border: 10px solid var(--light-gray);
  border-radius: 1.5rem;
  color: #777;
  padding: 1rem;
  text-align: center;
}

.contact-aside ul {
  margin-left: 1.25rem;
  text-align: left;
}

.contact-aside li {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto;
}

.social-links img {
  max-height: 3.125rem;
  width: auto;
}

.form-notice {
  background: #f7f7f7;
  border-left: 4px solid var(--orange);
  color: #555;
  padding: 0.75rem 1rem;
}

.new-inquiry-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  color: #777;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: var(--light-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 1.25rem;
  color: #777;
  display: block;
  padding: 0.75rem 1rem;
  resize: vertical;
  width: 100%;
}

.form-group textarea {
  min-height: 15rem;
}

.new-inquiry-form .button {
  float: right;
}

.footer-wrapper {
  background: var(--dark-gray);
}

.footer-wrapper .section__title {
  color: var(--white);
}

.footer-wrapper p,
.footer-wrapper .contact-link span {
  color: var(--medium-gray);
}

.footer-wrapper a {
  color: var(--medium-gray);
}

.footer-wrapper a:hover,
.footer-wrapper a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.contact-link {
  align-items: flex-start;
  display: flex;
  gap: 0.9375rem;
}

.contact-link img {
  flex: 0 0 1.25rem;
  margin-top: 0.15rem;
}

.legal {
  overflow: hidden;
  padding-top: 3rem;
}

.legal p {
  font-size: 0.875rem;
}

@media (min-width: 40rem) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.9375rem; }
  h4 { font-size: 1.5625rem; }
  h5 { font-size: 1.25rem; }

  .row .row {
    margin-left: -0.9375rem;
    margin-right: -0.9375rem;
  }

  .columns {
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
  }

  .medium-3 { width: 25%; }
  .medium-6 { width: 50%; }
  .medium-8 { width: 66.6667%; }
  .medium-9 { width: 75%; }
  .medium-10 { width: 83.3333%; }
  .medium-push-1 { margin-left: 8.3333%; }
  .medium-push-2 { margin-left: 16.6667%; }
  .medium-text-center { text-align: center; }
  .medium-text-right { text-align: right; }
  .hide-for-small-only { display: initial; }

  .banner-wrap {
    height: 21.875rem;
    min-height: 0;
    padding: 0;
  }

  .home-page .banner-wrap {
    height: 30rem;
  }

  .banner__copy {
    font-size: 3.75rem;
  }

  .home-page .banner__copy {
    font-size: 3rem;
  }

  .section {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }

  .section__title {
    font-size: 3.75rem;
  }

  .section__title span {
    display: block;
  }

  .banner__content {
    padding-left: 0;
    padding-right: 0;
  }

  .article .rich-text h2 {
    font-size: 1.9375rem;
  }

  .article .rich-text h3 {
    font-size: 1.5625rem;
  }

  .service {
    padding-bottom: 2rem;
    padding-top: 2rem;
  }

  .latest-projects-wrap img,
  .project img {
    margin-top: 0;
  }

  .service-detail__top {
    overflow: auto;
  }

  .service-detail--side-icon .service-detail__top > img {
    float: left;
    margin: 0 3rem 2rem 0;
  }

  .service-detail--center-icon .service-detail__top > img,
  .service-detail__top--icon-after > img {
    float: none;
    margin: 3.125rem auto;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 1fr);
  }

  .form-group {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: 25% minmax(0, 1fr);
  }

  .form-group label {
    padding-top: 0.75rem;
    text-align: right;
  }
}

@media (min-width: 40rem) and (max-width: 47.999rem) {
  .home-page .services-wrap > .row > .medium-6 {
    width: 100%;
  }
}

@media (min-width: 48rem) {
  .site-header {
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav:not(.is-open) {
    background: transparent;
    display: block;
    left: auto;
    padding: 0;
    position: static;
    right: auto;
    top: auto;
  }

  .nav-list {
    align-items: center;
    display: flex;
  }

  .nav-list > li {
    position: relative;
  }

  .nav-list > li > a,
  .nav-link-group > a {
    padding: 1rem 0.75rem;
  }

  .nav-list .button {
    margin: 0 0 0 0.7rem;
    padding: 1em 2em;
  }

  .submenu-toggle {
    height: 2.75rem;
    padding: 0.75rem;
    width: 2.75rem;
  }

  .submenu {
    min-width: 15rem;
    padding: 1rem 0 0.5rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .nav-dropdown:hover:not(.suppress-hover) .submenu,
  .nav-dropdown.is-open .submenu {
    display: block;
  }

  .service__summary,
  .service__summary p,
  .service p {
    font-size: 0.875rem;
  }
}

@media (min-width: 64rem) {
  .large-3 { width: 25%; }
  .large-4 { width: 33.3333%; }
  .large-8 { width: 66.6667%; }

  .latest-projects-wrap {
    position: relative;
  }
}

@media (max-width: 39.9375rem) {
  .service-list-item {
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .service-list-item > img {
    display: block;
    height: 9.375rem;
    margin: 0 auto 2rem;
    width: auto;
  }

  .testimonial .client-name img {
    float: none;
    margin: 0.5rem auto 0;
  }
}

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