@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("open-sans-300.woff") format("woff");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("open-sans-400.woff") format("woff");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("open-sans-700.woff") format("woff");
}

:root {
  --text: #222;
  --link: #117fb2;
  --light: #f7f7f7;
  --border: #dcdcdc;
  --max: 1232px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: var(--link); }
a:hover { color: #079fe0; }
:focus-visible { outline: 3px solid #117fb2; outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: .7rem 1rem;
  color: #fff;
  background: #222;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 73px;
  color: #222;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-wrap {
  width: 100%;
}

.nav-wrap-inner {
  min-height: 73px;
  display: flex;
  align-items: center;
  padding: 0 25px;
}

.site-name {
  flex: 0 0 auto;
  margin-right: 54px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 18px 0;
  border: 0;
  color: #222;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: #222;
  font-size: 15px;
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--link); }

main { padding-top: 73px; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .60);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(94%, 960px);
  padding: 6rem 1rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 2rem;
  color: #fff;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
}

.hero-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 3;
}

.feature {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature:nth-of-type(even) { background: var(--light); }
.feature-image {
  min-height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.feature-copy {
  display: flex;
  align-items: center;
  padding: 4rem max(2rem, calc((100vw - var(--max)) / 2));
}

.feature.copy-first .feature-copy { padding-right: 6rem; }
.feature.image-first .feature-copy { padding-left: 6rem; }

.feature-copy-inner { width: 100%; max-width: 520px; }

.feature h2 {
  margin: 0 0 1.2rem;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.feature h2 a { color: inherit; }
.feature p { margin: 0 0 1.1rem; }

.text-section {
  padding: 7rem 1rem;
  background: #fff;
}

.text-section.alt { background: var(--light); }
.text-inner { width: min(100%, 990px); margin: 0 auto; }

.text-section h2 {
  margin: 0 0 2rem;
  font-size: 28px;
  font-weight: 700;
}

.text-section h4 {
  margin: 0 0 1rem;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.text-section p { margin: 0 0 1rem; }
.text-section ul { margin-top: .75rem; }

.three-column,
.four-column {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.three-column { grid-template-columns: repeat(3, 1fr); }
.four-column { grid-template-columns: repeat(4, 1fr); }

.page-intro {
  padding: 5rem 1rem;
  background: #fff;
}

.page-intro-inner { width: min(100%, var(--max)); margin: 0 auto; }
.page-intro h2 {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 20px;
  font-weight: 700;
}

.page-intro p { max-width: 100%; }

.site-footer {
  padding: 3.2rem 1rem 1.5rem;
  background: var(--light);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-title {
  margin: 0 0 1rem;
  font-size: 21px;
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .8rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a { color: #222; text-decoration: none; }
.social-links a:hover { color: var(--link); }
.location { margin: 2rem 0; }

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .site-nav ul { gap: 0 20px; }
  .site-name { margin-right: 34px; }
}

@media (max-width: 900px) {
  .nav-wrap-inner { min-height: 66px; padding: 0 20px; }
  .site-header { min-height: 66px; }
  main { padding-top: 66px; }
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    inset: 66px 0 auto;
    display: none;
    max-height: calc(100vh - 66px);
    overflow: auto;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .12);
  }

  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav li { border-bottom: 1px solid #eee; }
  .site-nav a { display: block; padding: 1rem 1.5rem; text-align: center; }

  .hero { min-height: 100vh; }
  .feature { min-height: auto; grid-template-columns: 1fr; }
  .feature.copy-first .feature-copy,
  .feature.image-first .feature-copy { padding: 4rem 2rem; }
  .feature-copy-inner { max-width: none; }
  .feature-image { min-height: 430px; }
  .feature.image-first .feature-image { order: 2; }
  .three-column, .four-column { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .hero h1 { font-size: 32px; }
  .hero-subtitle { line-height: 2.5; }
  .feature-image { min-height: 330px; }
  .feature-copy,
  .feature.copy-first .feature-copy,
  .feature.image-first .feature-copy { padding: 3rem 1.25rem; }
  .text-section { padding: 4.5rem 1.25rem; }
  .three-column, .four-column { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .social-links { justify-content: flex-start; }
  .copyright { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
