:root {
  --orange: #ff9e18;
  --blue: #009ade;
  --mint: #9dd4ca;
  --text: #636569;
  --heading: #3a3a3a;
  --line: #d8dfe1;
  --light: #f7f9f9;
  --white: #fff;
  --content-width: 1290px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Fira Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
h5 {
  color: var(--text);
  font-family: "Fira Sans Condensed", sans-serif;
  font-weight: 300;
}

.container {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--heading);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 60px, var(--content-width));
  height: 160px;
  margin-inline: auto;
}

.site-logo img {
  width: auto;
  height: 55px;
}

.site-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.3;
  text-decoration: none;
  text-shadow: 0 0 10px rgb(0 0 0 / 40%);
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.short-hero {
  min-height: 160px;
  background: url("../uploads/2021/11/ridgeline-short-sky-bg.jpg") center / cover no-repeat;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 0;
  font: 600 15px/1.2 "Fira Sans", sans-serif;
  text-decoration: none;
  transition: background-color .2s ease;
}

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

.site-footer {
  padding-top: 300px;
  color: var(--white);
  background: url("../uploads/2021/11/ridgeline-mountain-gradient-bg.jpg") top center / cover no-repeat;
}

.footer-main,
.footer-bottom {
  width: min(100% - 60px, var(--content-width));
  margin-inline: auto;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 70px 0;
}

.footer-logo img {
  width: auto;
  height: 40px;
}

.footer-social {
  display: inline-flex;
  color: var(--mint);
  transition: color .2s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--white);
}

.footer-social svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (max-width: 999px) {
  .site-header-inner {
    width: min(100% - 30px, var(--content-width));
    height: 70px;
  }

  .site-logo img {
    height: 30px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 0;
    display: none;
    padding: 45px 30px;
    background: rgb(18 21 25 / 98%);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .site-nav a {
    font-size: 26px;
  }

  .short-hero {
    min-height: 80px;
  }

  .footer-main {
    flex-direction: column;
    gap: 35px;
    padding: 50px 0;
  }
}

@media (max-width: 689px) {
  .container,
  .site-header-inner,
  .footer-main,
  .footer-bottom {
    width: min(100% - 30px, var(--content-width));
  }

  .site-footer {
    padding-top: 220px;
  }
}
