html, body {
  margin: 0;
  height: 100%;
  background: #333;
  font-family: 'avenir next', avenir, sans-serif;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  isolation: isolate;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #696969 url(hero.jpg) center/cover no-repeat;
  filter: grayscale(100%);
}

@media (max-width: 60em) {
  .hero::before {
    background-image: url(hero-1000.jpg);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.4);
}

.logo {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 30em) {
  .logo { width: 60%; }
}

@media (min-width: 60em) {
  .logo { width: 40%; }
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.email {
  font-size: 1.25rem;
  font-weight: 100;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 1rem auto 0;
  max-width: 30em;
}

.email a {
  color: #fff;
  text-decoration: none;
  margin-left: 0.5rem;
  overflow-wrap: anywhere;
}

.email a:hover,
.email a:focus {
  text-decoration: underline;
}

.instagram {
  display: inline-block;
  width: 4rem;
  padding: 0.5rem;
  box-sizing: border-box;
}

.instagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.instagram:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 30em) {
  .email {
    font-size: 1rem;
  }

  .email a {
    display: block;
    margin-left: 0;
  }
}
