@font-face {
  font-family: "KMR Garamont";
  font-weight: normal;
  src:
    url(./fonts/KMRGaramontTRIALVF.woff) format("woff"),
    url(./fonts/KMRGaramontTRIALVF.woff2) format("woff2");
}

body {
  font-family: "KMR Garamont", sans-serif;
  font-variant-numeric: lining-nums;
  font-size: 1.25rem;
  line-height: 1.2;
}

.will-appear {
  opacity: 0;
  transition: opacity 800ms ease;
}

.did-appear {
  opacity: 1;
}

.intro {
  height: calc(100vh - 1.2em - 0.625rem);
  padding: 0.625rem 2rem 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
}

.address {
  span {
    display: block;
  }
}

.logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex: 1;

  img {
    display: block;
    width: 90%;
    max-width: 550px;
  }
}

.claim {
  flex: 1.4;
  display: flex;
  align-items: center;

  span {
    display: block;
  }
}

.contacts {
  padding: 0.625rem 2rem;
  background-color: #fff;
  z-index: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3.5rem;
}

.contact {
  text-align: center;

  a,
  p {
    display: block;
  }

  a {
    transition: opacity 100ms ease;

    @media (hover: hover) {
      &:hover {
        opacity: 0.5;
      }
    }
  }
}

@media screen and (min-width: 700px) {
  body {
    font-size: 1.5rem;
  }

  .intro {
    padding: 0.625rem 4rem 0;
  }

  .claim {
    flex: 1;

    span {
      display: inline;
    }
  }

  .address {
    display: flex;
    gap: 5px;
    height: 5%;

    span::after {
      content: ",";
    }

    span:last-child::after {
      content: "";
    }
  }

  .contacts {
    padding: 0.625rem 4rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}
