:root {
  --header: #3b3b3b;
  --hero: #f2fafd;
  --ink: #111827;
  --contact: #efefef;
  --green: #50a53e;
  --green-hover: #469036;
  --notch: 133px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--header);
  color: var(--ink);
  font-family: Sora, sans-serif;
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--header);
  padding: 1rem 1.5rem;
}

.brand img {
  display: block;
  height: 34px;
  width: auto;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--hero);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--notch)),
    50% 100%,
    0 calc(100% - var(--notch))
  );
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1.25rem calc(var(--notch) + 2.5rem);
}

h1 {
  margin: 0;
  max-width: 48rem;
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.copy p {
  margin: 0;
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.625rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 2px;
  border-radius: 40px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}

.button-contact {
  flex: none;
  background: var(--contact);
  border-color: var(--contact);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 16px;
  line-height: 20px;
}

.button-contact:hover {
  background: #e2e2e2;
  border-color: #e2e2e2;
}

.button-primary {
  margin-top: 0.5rem;
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  padding: 12px 24px;
  font-size: 20px;
  line-height: 28px;
}

.button-primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
}

.button:focus-visible,
.brand:focus-visible,
.linkedin:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.site-footer {
  margin-top: calc(var(--notch) * -1);
  padding: var(--notch) 0 4rem;
  background: var(--header);
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
}

.linkedin {
  color: #fff;
  line-height: 0;
}

.linkedin svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.linkedin:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.1875rem;
    line-height: 2.625rem;
  }

  .copy p {
    font-size: 1.5rem;
    line-height: 2.25rem;
  }

  address {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 640px) {
  .footer-inner { max-width: 640px; }
}

@media (min-width: 768px) {
  .footer-inner { max-width: 768px; }
}

@media (min-width: 1024px) {
  .site-header {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .footer-inner { max-width: 1024px; }

  .brand img {
    height: 63px;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 50vw;
  }

  .hero-media {
    position: relative;
    min-height: 50vw;
  }

  .hero-media img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }

  .copy {
    padding: 10rem 5rem;
  }

  .button-primary {
    margin-top: 1rem;
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: 3rem;
    line-height: 3.5rem;
  }

  .footer-inner { max-width: 1280px; }
}

@media (min-width: 1536px) {
  .footer-inner { max-width: 1536px; }
}

@media (max-width: 420px) {
  .button-contact {
    padding: 6px 12px;
    font-size: 14px;
  }
}
