body {
  margin: 0;
  font-family: "Albert Sans", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: #2c3527;
  background-color: #eeece3;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/texture.jpg);
  background-size: cover;
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: #2c3527;
}

a:focus-visible {
  outline: 2px solid #8a5f5c;
  outline-offset: 4px;
}

h1,
h2,
.logo {
  font-family: "antiquarian-scribe", "Corinthia", cursive;
  font-weight: 400;
  line-height: 0.9;
  color: #3e4a37;
}

h2 {
  font-size: 76px;
  text-align: center;
  margin: 0 0 48px 0;
}

.label,
nav a,
.button,
.credit {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 20;
  padding: 10px 16px;
  background-color: #3e4a37;
  color: #ffffff;
}

.skip:focus {
  left: 12px;
}

.topbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background-color: rgba(62, 74, 55, 0.9);
  border-radius: 2px;
}

.topbar .logo {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  text-decoration: none;
}

nav a {
  margin-left: 18px;
  color: #ffffff;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 15px 22px;
  background-color: #3e4a37;
  color: #ffffff;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.button svg {
  transition: transform 0.3s;
}

.button:hover {
  background-color: #2c3527;
}

.button:hover svg {
  transform: translateY(3px);
}

.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
}

.hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(34, 42, 30, 0.25), rgba(34, 42, 30, 0) 30%, rgba(34, 42, 30, 0.2) 55%, rgba(34, 42, 30, 0.7));
}

.hero-text {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 32px;
  z-index: 1;
}

.hero h1 {
  font-size: 112px;
  margin: 0 0 24px 0;
  color: #ffffff;
  opacity: 0.8;
}

.intro {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}

.intro p {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
}

.gallery {
  padding: 0 24px 40px 24px;
  text-align: center;
}

figure {
  max-width: 640px;
  margin: 0 auto 80px auto;
}

figure.tall {
  max-width: 440px;
}

figure img {
  width: 100%;
  border-radius: 2px;
}

figcaption {
  max-width: 440px;
  margin: 16px auto 0 auto;
}

figcaption .label {
  color: #5b6653;
}

figcaption p {
  margin: 6px 0 0 0;
  font-size: 16px;
}

.cycle {
  padding: 96px 24px;
  background-image: linear-gradient(rgba(238, 236, 227, 0.55), rgba(238, 236, 227, 0.55)), url(../images/leaves.jpg);
  background-size: cover;
  background-position: center;
}

.cycle ol {
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.cycle li {
  padding: 20px 0;
}

.cycle .label {
  color: #3e4a37;
}

.cycle p {
  margin: 8px 0 0 0;
  font-size: 16px;
}

footer {
  padding: 48px 24px;
  text-align: center;
  background-color: #3e4a37;
}

footer .logo {
  font-size: 56px;
  color: #ffffff;
  text-decoration: none;
}

.credit {
  margin: 16px 0 0 0;
  color: #dbe3cc;
}

.credit a {
  color: #ffffff;
}

@media (min-width: 800px) {
  .topbar {
    left: 50%;
    right: auto;
    width: 640px;
    transform: translateX(-50%);
    padding: 16px 24px;
  }

  .hero {
    height: 100vh;
  }

  .hero-text {
    left: 6%;
    right: 6%;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .hero h1 {
    font-size: 220px;
    margin: 0;
  }

  .hero .button {
    margin-bottom: 84px;
  }

  .intro {
    padding: 140px 24px;
  }

  .intro p {
    font-size: 30px;
  }

  h2 {
    font-size: 110px;
  }

  figure {
    margin-bottom: 120px;
  }

  .cycle {
    padding: 140px 6%;
  }

  .cycle ol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}
