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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: #f2f2f2;
  color: #1a1a1a;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid #020000;
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.brand {
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 600;
}

.site-nav a:hover,
.brand:hover {
  opacity: 0.75;
}

.hero {
  margin-top: 4.5rem;
  width: 100%;
  background-color: #3a3a3a;
  background-image: url("images/hero-bg-1200.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 0;
  gap: 1.5rem;
}

.hero__copy {
  flex: none;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 1.5rem;
  text-align: center;
  color: #fff;
  overflow-wrap: break-word;
}

.hero__title {
  margin: 0 0 1.75rem;
  font-family: "Caveat", cursive;
  font-size: 80px;
  font-weight: 400;
  line-height: 1.05;
}

.hero__copy p {
  margin: 0 0 1.25rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__copy p:last-child {
  margin-bottom: 0;
}

.hero__portrait {
  flex: none;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__portrait img {
  width: 100%;
  max-width: min(20rem, 100%);
  object-fit: contain;
  object-position: bottom center;
}

.site-footer {
  width: 100%;
  margin-top: 0;
  padding: 3.5rem 1.5rem 2rem;
  background: #020000;
  color: #f2f2f2;
  text-align: center;
  border-radius: 50% 50% 0 0 / 2.5rem 2.5rem 0 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .hero {
    margin-top: 3.75rem;
  }
}

@media (min-width: 900px) {
  .hero {
    background-image: image-set(
      url("images/hero-bg-1200.webp") 1x,
      url("images/hero-bg.webp") 2x
    );
    background-image: url("images/hero-bg.webp");
  }

  .hero__inner {
    display: grid;
    grid-template-columns: 53fr 46fr;
    column-gap: 1rem;
    align-items: end;
    min-height: clamp(600px, 80vh, 700px);
    padding: 2rem 2rem 0;
  }

  .hero__copy {
    align-self: center;
    padding-bottom: 2rem;
  }

  .hero__title {
    font-size: 100px;
  }

  .hero__portrait img {
    width: 100%;
    max-width: 28rem;
  }
}

@media (min-width: 900px) and (max-width: 1200px) {
  .hero__title {
    font-size: clamp(80px, 8vw, 100px);
  }
}
