:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: #141413;
  background: #f6f1e7;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

h1,
p,
a {
  margin: 0;
}

.flow-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #f6f1e7;
}

.flow-field::before,
.flow-field::after {
  position: absolute;
  content: "";
}

.flow-field::before {
  inset: 0 0 auto;
  height: 47vh;
  background:
    linear-gradient(132deg, #f6f1e7 0 46%, #cbb890 46% 47%, #151513 47% 100%);
}

.flow-field::after {
  right: clamp(18px, 4.8vw, 64px);
  bottom: clamp(18px, 4.8vw, 64px);
  left: clamp(18px, 4.8vw, 64px);
  height: 1px;
  background:
    linear-gradient(90deg, #151513 0 32%, transparent 32% 39%, #cbb890 39% 100%);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end start;
  min-height: 100vh;
  padding: clamp(28px, 5.6vw, 76px) clamp(22px, 6vw, 92px)
    clamp(58px, 7vw, 92px);
}

.hero::before {
  position: absolute;
  top: clamp(22px, 4.6vw, 58px);
  right: clamp(22px, 5vw, 72px);
  width: min(32vw, 380px);
  height: clamp(10px, 1.2vw, 16px);
  background: #cbb890;
  content: "";
}

.hero-copy {
  display: grid;
  width: min(100%, 1100px);
}

h1 {
  max-width: 100%;
  color: #141413;
  font-size: clamp(4.8rem, 10.5vw, 10.9rem);
  font-weight: 920;
  line-height: 0.8;
  letter-spacing: 0;
  white-space: nowrap;
}

.lede {
  width: min(100%, 820px);
  margin-top: clamp(24px, 3vw, 42px);
  color: rgb(20 20 19 / 68%);
  font-size: clamp(1.16rem, 1.85vw, 1.68rem);
  font-weight: 450;
  line-height: 1.18;
}

.closing {
  width: min(100%, 720px);
  margin-top: clamp(24px, 2.8vw, 34px);
  color: #141413;
  font-size: clamp(1.04rem, 1.26vw, 1.18rem);
  font-weight: 900;
  line-height: 1.16;
}

.email,
.email:link,
.email:visited,
.email:hover,
.email:active {
  display: inline-block;
  width: fit-content;
  margin-top: clamp(22px, 2.4vw, 30px);
  color: #625d53;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 720;
  letter-spacing: 0;
  text-decoration: none;
  -webkit-text-decoration: none;
}

@media (min-width: 1080px) {
  .flow-field::before {
    height: 52vh;
    background:
      linear-gradient(128deg, #f6f1e7 0 38%, #cbb890 38% 38.7%, #151513 38.7% 100%);
  }

  .hero::after {
    position: absolute;
    top: 52vh;
    right: clamp(42px, 5vw, 74px);
    width: min(26vw, 330px);
    height: 1px;
    background: #151513;
    content: "";
  }

  .lede {
    width: min(58vw, 820px);
  }
}

@media (max-width: 760px) {
  body {
    overflow-y: auto;
  }

  .hero {
    place-items: end start;
    min-height: 100svh;
    padding: 24px 22px 104px;
  }

  .hero::before {
    top: 24px;
    right: 22px;
    width: 96px;
    height: 9px;
  }

  .hero-copy {
    width: min(100%, 342px);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.42rem, 15vw, 3.78rem);
    line-height: 0.86;
  }

  .lede {
    margin-top: 26px;
    font-size: 1.06rem;
    font-weight: 430;
    line-height: 1.23;
  }

  .closing {
    margin-top: 26px;
    font-size: 1rem;
  }

  .email {
    margin-top: 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 370px) {
  h1 {
    font-size: clamp(3.08rem, 14.6vw, 3.42rem);
  }
}
