:root {
  --page-bg: #fffdff;
  --text: #666666;
  --heading: #444444;
  --accent: #24a7cf;
  --accent-dark: #495d6d;
  --hero-overlay: rgba(20, 56, 119, 0.58);
  --footer: #2e3038;
  --footer-line: #3d3f47;
  --footer-text: #aaaaaa;
  --content-width: 1320px;
  --header-height: 85px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-dark);
}

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

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding-inline: 2em;
}

.skip-link {
  position: fixed;
  z-index: 1000001;
  top: 0;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: #ffffff;
  color: var(--heading);
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 253, 255, 0.98);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  position: relative;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.site-logo::after {
  position: absolute;
  bottom: -0.8em;
  left: 0;
  width: 27px;
  height: 3.5px;
  background: currentColor;
  content: "";
  transition: width 0.25s ease;
}

.site-logo:hover::after,
.site-logo:focus-visible::after {
  width: 100%;
}

.site-header.is-scrolled .site-logo,
.inner-page .site-logo {
  color: var(--accent);
}

.desktop-nav ul,
.mobile-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav ul {
  display: flex;
  align-items: stretch;
  height: var(--header-height);
}

.desktop-nav li {
  display: flex;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  padding: 0 1.55em;
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-current,
.site-header.is-scrolled .desktop-nav a,
.inner-page .desktop-nav a {
  color: var(--accent-dark);
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a:focus-visible,
.site-header.is-scrolled .desktop-nav a.is-current,
.inner-page .desktop-nav a:hover,
.inner-page .desktop-nav a:focus-visible,
.inner-page .desktop-nav a.is-current {
  color: var(--accent);
}

.inner-page .site-header {
  position: relative;
  background: var(--page-bg);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--accent);
}

.mobile-menu {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  align-content: start;
  visibility: hidden;
  padding: 128px 44px 44px;
  background: #ffffff;
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.menu-close {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaaaaa;
  font-size: 2.2em;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu li + li {
  margin-top: 1.15em;
}

.mobile-menu a {
  color: var(--accent);
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a.is-current {
  color: var(--accent-dark);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero {
  height: min(100vh, 933px);
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(58%) brightness(110%);
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--hero-overlay);
  animation: overlay-in 0.75s ease both;
}

.hero-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.hero-caption h1,
.page-hero h1 {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.hero-caption h1 {
  font-size: 3.4em;
  line-height: 1.3;
  animation: caption-in 0.7s 0.75s ease both;
}

.hero-caption p {
  max-width: 64em;
  margin: 1.5em 0 0.5em;
  color: #ffffff;
  font-size: 1.3em;
  letter-spacing: 1px;
  line-height: 1.6;
  opacity: 0.8;
  animation: caption-in-muted 0.7s 1s ease both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 12px 30px;
  border: 2px solid #ffffff;
  border-radius: 0;
  background: var(--page-bg);
  color: var(--text);
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.8;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: #ffffff;
}

.hero-button {
  margin-top: 30px;
  animation: caption-in 0.7s 1.2s ease both;
}

.page-content {
  padding: 5em 0;
}

.entry-content h1,
.entry-content h2,
.section-heading h2,
.blog-empty h2 {
  color: var(--heading);
}

.entry-content h2,
.section-heading h2 {
  margin: 30px 0 15px;
  font-size: 2em;
  line-height: 1.2;
}

.entry-content > h2:first-child,
.section-heading h2 {
  margin-top: 0;
}

.entry-content .entry-title {
  margin: 0 1.5em 15px 0;
  padding: 0.5em 0 0.1em;
  font-size: 2.2em;
  font-weight: 400;
  line-height: 1.3;
}

.entry-content p {
  margin: 0 0 1em;
}

.landing-content .entry-content {
  margin-bottom: 30px;
  padding-bottom: 15px;
}

.narrow-content {
  max-width: 960px;
}

.page-hero {
  height: 360px;
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.page-hero h1 {
  font-size: 3.4em;
  line-height: 1.2;
  animation: caption-in 0.65s 0.2s ease both;
}

.page-hero p {
  margin: 0.5em 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25em;
  letter-spacing: 0.04em;
  animation: caption-in 0.65s 0.35s ease both;
}

.page-cta {
  margin-top: 3.5em;
  padding: 2.5em;
  background: var(--footer);
  color: var(--footer-text);
  text-align: center;
}

.page-cta h2 {
  color: #ffffff;
}

.page-cta p {
  margin-bottom: 1.5em;
}

.section-heading {
  margin-bottom: 2.5em;
  text-align: center;
}

.section-heading p {
  max-width: 650px;
  margin: 0 auto;
}

.blog-empty {
  padding: 4.5em 2em;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  text-align: center;
}

.blog-empty-kicker {
  margin: 0 0 0.35em;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-empty h2 {
  margin: 0 0 0.35em;
  font-size: 1.7em;
  line-height: 1.35;
}

.blog-empty p {
  margin: 0 0 1.2em;
}

.text-link {
  font-weight: 700;
}

.footer-spacer {
  min-height: 60px;
  background: var(--footer);
  border-bottom: 1px solid var(--footer-line);
}

.site-footer {
  min-height: 116px;
  background: var(--footer);
  color: var(--footer-text);
}

.footer-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 116px;
  border-top: 1px solid var(--footer-line);
}

.footer-inner p {
  margin: 0;
  font-size: 0.9em;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 0;
  bottom: 2em;
  display: flex;
  align-items: center;
  gap: 0.65em;
  visibility: hidden;
  min-height: 44px;
  padding: 0.65em 1em;
  border: 0;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes caption-in-muted {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}

@media (max-width: 1152px) {
  body {
    font-size: 14px;
  }

  .site-header,
  .site-header.is-scrolled {
    position: relative;
    background: var(--page-bg);
    box-shadow: none;
  }

  .site-logo,
  .site-header.is-scrolled .site-logo {
    color: var(--accent);
  }

  .desktop-nav a,
  .site-header.is-scrolled .desktop-nav a {
    color: var(--accent-dark);
  }
}

@media (max-width: 800px) {
  body {
    font-size: 13.5px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    height: 70vmax;
    max-height: 70vmax;
  }

  .hero-image {
    width: auto;
    min-width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-caption h1 {
    font-size: 2.25em;
    line-height: 1.1;
  }

  .hero-caption p {
    font-size: 1.08em;
    line-height: 1.4;
  }

  .hero-button {
    margin-top: 27px;
  }

  .entry-content h2,
  .section-heading h2 {
    margin-top: 27px;
    margin-bottom: 13.5px;
  }

  .entry-content .entry-title {
    margin-bottom: 13.5px;
  }

  .landing-content .entry-content {
    margin-bottom: 27px;
    padding-bottom: 13.5px;
  }

  .button {
    min-height: 45px;
    padding: 9px 24px;
    font-size: 0.9em;
  }

  .page-hero {
    height: 300px;
  }

  .page-hero h1 {
    font-size: 2.75em;
  }

  .page-hero p {
    font-size: 1.08em;
  }

  .footer-spacer {
    min-height: 54px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    min-height: 185px;
    text-align: center;
  }

  .back-to-top {
    position: static;
    visibility: visible;
    margin-top: 1.25em;
    background: transparent;
    color: var(--footer-text);
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1.5em;
  }

  .page-content {
    padding: 5em 0;
  }

  .entry-content .entry-title {
    font-size: 2.2em;
  }

  .entry-content h2,
  .section-heading h2 {
    font-size: 2em;
  }

  .page-cta,
  .blog-empty {
    padding-inline: 1.5em;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1em;
  }

  .mobile-menu {
    padding-inline: 44px;
  }

  .page-hero {
    height: 260px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
