:root {
  --brand-dark-green: #0f2f22;
  --brand-mid-green: #1d5b3a;
  --brand-light-green: #2a7a2a;
  --brand-dark-beige: #e9e4d7;
  --brand-mid-beige: #f7f3eb;
  --brand-grey: #ccc;
  --white: #ffffff;
  --trans-black: rgba(0, 0, 0, .08);
  --weight-bold: 600;
  --weight-semi-bold: 500;
  --primary-font: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 3.125rem;
}

body {
  font-family: var(--primary-font);
  background-color: var(--brand-mid-beige);
  color: var(--brand-dark-green);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; 
  width: 1px; 
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); 
  white-space: nowrap; 
}

h1, 
h2,
h3 {
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

h1 {
  font-size: 3rem;
  letter-spacing: .35rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  letter-spacing: .25rem;
}

h3 {
  letter-spacing: .188rem;
}

p {
  font-size: 1.15rem;
  line-height: 1.8;
}

.section {
  padding: 7rem 0;
  line-height: 1.6;
}

.section + .section {
  padding-top: 0;
}

.section p {
  max-width: 50rem;
}

.section__title {
  position: relative;
}

.section__icon {
  width: 2.25rem;
  height: 2.25rem;
  left: 0;
  right: 0;
  top: -2.5rem;
  margin: 0 auto;
  position: absolute;
  fill: var(--brand-light-green);
}

.section__image {
  margin: 1.5rem auto 1rem auto;
}

.section__image img {
  width: 100%;
  border-radius: 100%;
  max-width: 15rem;
  display: block;
  margin: 0 auto;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--inline {
  align-items: center;
  display: flex;
}

.container--centered {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

.container--centered > * {
  width: 100%;
}

.cta {
  margin-left: auto;
  padding: .8rem 1.25rem;
  background-color: var(--brand-mid-green);
  color: var(--white);
  border: none;
  cursor: pointer;
  border-radius: .5rem;
  text-decoration: none;
  font-weight: var(--weight-bold);
  display: inline-block;
  transition: .2s background-color;
  text-transform: uppercase;
  letter-spacing: .15rem;
  font-size: 1rem;
}

.cta:hover {
  background-color: var(--brand-dark-green);
}

.cta--light {
  background-color: var(--brand-mid-beige);
  color: var(--brand-dark-green);
}

.cta--light:hover {
  background-color: var(--brand-dark-beige);
}

.header {
  display: none;
  padding: 1.5rem 0;
}

.header__logo {
  width: 100%;
  max-width: 4rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(145deg, var(--brand-dark-green), var(--brand-mid-green));
  color: var(--brand-mid-beige);
}

.hero__content {
  animation: fadeIn 1s ease;
}

.hero__logo {
  width: 100%;
  max-width: 10rem;
  margin-left: 1.813rem;
}

.hero__logo svg {
  fill: var(--brand-mid-beige);
}

.hero__title {
  margin: 2rem 0;
}

.hero__title-strapline {
  font-size: 1.2rem;
  margin-top: .5rem;
  display: block;
  letter-spacing: .375rem;
  line-height: 1.8;
}

.hero__subtitle {
  margin: 0 0 3rem 0;
}

.service-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-grid__card {
  background: var(--white);
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: 0 .25rem .625rem var(--trans-black);
}

.contact-form {
  margin: 1.5rem auto 0 auto;
  max-width: 35rem;
}

.contact-form label {
  display: block;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .15rem;
  text-align: left;
  font-weight: var(--weight-bold);
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: .063rem solid var(--brand-grey);
  border-radius: .375rem;
  font-size: 1.25rem;
  transition: border-color .3s;
  width: 100%;
  font: inherit;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--brand-dark-beige);
  margin-top: 2.5rem;
  font-weight: var(--weight-bold);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .5s ease-out, transform .5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (min-width: 52.5rem) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 64rem) {
  .section__icon {
    top: -3.5rem;
    width: 3rem;
  }

  .section__image img {
    max-width: 20rem;
  }

  h1 {
    font-size: 4.5rem;
    letter-spacing: .5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1.4rem;
  }

  .cta {
    font-size: 1.125rem;
    padding: 1rem 2rem;
  }

  .hero__title {
    margin: 2.5rem 0;
  }

  .hero__logo {
    max-width: 12rem;
    margin-left: 2.125rem;
  }

  .hero__title-strapline {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    margin-bottom: 3rem;
  }

  .service-grid {
    gap: 2rem;
  }

  .service-grid__card h3 {
    max-width: 16rem;
    margin: 1.25rem auto;
    text-align: center;
  }

  .service-grid__card p {
    font-size: 1.25rem;
  }

  .contact-form label {
    font-size: 1.125rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1.125rem;
  }

  footer {
    font-size: .875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}