:root {
  color-scheme: light;
  --ink: #000;
  --muted: #555;
  --line: #d9dfe1;
  --blue: #4f88a3;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: #000;
  color: #fff;
}

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

.site-header {
  position: relative;
  z-index: 3;
  border-top: 20px solid transparent;
  background:
    linear-gradient(to bottom, #000 0 10px, var(--blue) 10px 20px, #fff 20px);
  background-origin: border-box;
}

.header-inner,
.brand,
.site-nav,
.footer-inner,
.footer-legal {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 112px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
}

.site-nav {
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a:hover,
.back-top:hover,
.footer-legal a:hover {
  color: var(--blue);
}

.nav-contact {
  padding: 12px 17px;
  border: 1px solid #aaa;
}

.menu-toggle {
  display: none;
}

.cloud-hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100svh - 132px));
  overflow: hidden;
  place-items: center;
  background: #e5f0f4 url("assets/clouds.svg") center 56% / cover no-repeat;
  text-align: center;
}

.cloud-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(235, 245, 249, .22), rgba(255, 255, 255, .12) 55%, rgba(255, 255, 255, .36));
  content: "";
}

.cloud-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-block: 62px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #4b5960;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-logo {
  display: block;
  width: min(500px, 78vw);
  height: auto;
  filter: drop-shadow(0 7px 18px rgba(255, 255, 255, .42));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Arial, Helvetica, sans-serif;
}

.cloud-content h1 {
  margin: 27px 0 12px;
  font-size: clamp(27px, 4vw, 39px);
  font-weight: 600;
  letter-spacing: -1.5px;
}

.hero-intro {
  max-width: 475px;
  margin-bottom: 23px;
  color: #48555a;
  font-size: 14px;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-inline: 19px;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 160ms ease;
}

.button-primary {
  background: #000;
  color: #fff;
}

.button-primary:hover {
  background: #333;
}

.button span {
  color: #8fc7df;
  font-size: 16px;
}

.hero-proof {
  margin: 18px 0 0;
  color: #48555a;
  font-size: 11px;
}

.cloud-caption {
  position: absolute;
  right: 28px;
  bottom: 21px;
  color: #697b82;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.section {
  padding-block: 82px;
}

.services {
  background: #fff;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 33px;
}

.section-heading .eyebrow,
.about-copy .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2,
.about-copy h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 49px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.1;
}

.section-heading h2 span {
  color: var(--blue);
}

.section-intro {
  max-width: 360px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  padding-top: 21px;
  border-top: 1px solid #cfcfcf;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.service-card p,
.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.service-card p {
  min-height: 65px;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
}

.card-link span {
  color: var(--blue);
  font-size: 15px;
}

.about {
  background: #f4f6f6;
}

.about-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: 72px;
}

.about-year {
  justify-self: center;
  margin: 0;
  color: #555;
}

.about-year span,
.about-year strong {
  display: block;
}

.about-year span {
  margin-bottom: 5px;
  font-size: 12px;
}

.about-year strong {
  color: #000;
  font-size: clamp(60px, 7vw, 85px);
  letter-spacing: -5px;
  line-height: 1;
}

.about-copy h2 {
  margin-bottom: 17px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin-bottom: 12px;
}

.contact {
  padding-block: 66px;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.contact-inner .eyebrow {
  color: #555;
}

.contact-inner h2 {
  max-width: 500px;
  margin-bottom: 0;
  font-size: clamp(37px, 4vw, 51px);
  letter-spacing: -2.7px;
  line-height: 1.1;
}

.contact-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 17px;
}

.button-light {
  background: var(--blue);
  color: #fff;
}

.button-light:hover {
  background: #39738f;
}

.contact-phone {
  color: #555;
  font-size: 11px;
}

.contact-phone strong {
  display: block;
  margin-top: 4px;
  color: #000;
  font-size: 16px;
}

.site-footer {
  border-top: 6px solid var(--blue);
  background: #000;
  color: #d4d4d4;
}

.footer-inner {
  min-height: 112px;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}

.footer-brand .brand-logo {
  width: 105px;
}

.footer-inner > p {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.footer-inner > p span {
  color: #aaa;
}

.back-top,
.footer-legal {
  color: #ccc;
  font-size: 10px;
}

.footer-legal {
  min-height: 46px;
  justify-content: space-between;
  color: #aaa;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 40px, 540px);
  }

  .header-inner {
    min-height: 95px;
  }

  .brand-logo {
    width: 105px;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: #fff;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: #000;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 115px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 17px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-contact {
    margin-top: 12px;
    text-align: center;
  }

  .cloud-hero {
    min-height: min(720px, calc(100svh - 115px));
  }

  .cloud-content {
    padding-block: 50px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .hero-logo {
    width: min(420px, 90vw);
  }

  .hero-intro {
    max-width: 390px;
    font-size: 13px;
  }

  .section {
    padding-block: 61px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-inner h2 {
    font-size: 37px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .service-card {
    padding-top: 19px;
  }

  .service-card p {
    min-height: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .about-year {
    justify-self: start;
  }

  .about-year strong {
    font-size: 67px;
  }

  .contact {
    padding-block: 48px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-block: 23px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-logo {
    width: min(370px, 94vw);
  }

  .cloud-caption {
    right: 12px;
    bottom: 12px;
    font-size: 7px;
  }

  .footer-legal {
    gap: 12px;
    font-size: 9px;
  }
}

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