@import url("/assets/tokens.css");
@import url("/assets/fonts/fonts.css");

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

html {
  background: var(--hgl-paper);
}

body {
  margin: 0;
  color: var(--hgl-plum);
  font-family: var(--hgl-body);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(61, 31, 66, 0.055) 50%, transparent calc(50% + 1px)) center / 100% 100%,
    var(--hgl-paper);
}

.masthead,
.hero,
.footer {
  width: min(100% - 96px, 1380px);
  margin-inline: auto;
}

.masthead {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--hgl-rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--hgl-display);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

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

.masthead-note,
.eyebrow,
.sign-note,
.footer {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.masthead-note {
  color: var(--hgl-muted-plum);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(48px, 6vw, 112px);
  padding-block: clamp(64px, 9vh, 140px);
}

.hero-copy {
  padding-bottom: 18px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 38px;
  color: var(--hgl-clay-ink);
}

.eyebrow-mark {
  display: inline-block;
  width: 26px;
  height: 8px;
  background: var(--hgl-clay);
}

h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--hgl-display);
  font-size: clamp(58px, 5.45vw, 96px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.99;
}

.intro {
  max-width: 37ch;
  margin: 42px 0 0;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.4;
}

.sign-wrap {
  position: relative;
  width: 100%;
  padding: 38px 12px 24px 0;
}

.sign {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 58px clamp(32px, 4vw, 68px) 30px;
  background: var(--hgl-citron);
  transform: rotate(-1.3deg);
  box-shadow: 12px 18px 0 rgba(61, 31, 66, 0.09);
}

.field-sign {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: auto 0;
}

.sign-rule {
  display: block;
  align-self: stretch;
  height: 2px;
  background: var(--hgl-plum);
}

.sign-note {
  display: block;
  width: 100%;
  padding-top: 16px;
  text-align: right;
}

.tape {
  position: absolute;
  z-index: 1;
  top: 15px;
  right: 10%;
  width: 108px;
  height: 46px;
  background: rgba(199, 181, 214, 0.85);
  transform: rotate(6deg);
}

.clay-stake {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 38px;
  height: 38px;
  background: var(--hgl-clay);
}

.footer {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--hgl-rule);
  color: var(--hgl-muted-plum);
}

@media (max-width: 900px) {
  .masthead,
  .hero,
  .footer {
    width: min(100% - 48px, 680px);
  }

  .masthead {
    min-height: 88px;
  }

  .masthead-note {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 66px 80px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: clamp(48px, 8vw, 74px);
  }

  .intro {
    margin-top: 28px;
  }

  .sign-wrap {
    max-width: 580px;
    margin-inline: auto;
    padding-top: 22px;
  }

  .sign {
    min-height: 440px;
  }
}

@media (max-width: 520px) {
  .masthead,
  .hero,
  .footer {
    width: calc(100% - 40px);
  }

  .masthead {
    min-height: 76px;
  }

  .brand {
    gap: 11px;
    font-size: 16px;
  }

  .brand img {
    width: 34px;
  }

  .hero {
    gap: 38px;
    padding-block: 52px 62px;
  }

  .eyebrow {
    margin-bottom: 26px;
    font-size: 11px;
  }

  h1 {
    font-size: clamp(43px, 11vw, 56px);
    letter-spacing: -0.065em;
  }

  .intro {
    max-width: 30ch;
    font-size: 20px;
    line-height: 1.5;
  }

  .sign-wrap {
    padding-right: 7px;
  }

  .sign {
    min-height: 340px;
    padding: 42px 30px 24px;
  }

  .tape {
    top: 7px;
    width: 78px;
    height: 34px;
  }

  .clay-stake {
    width: 26px;
    height: 26px;
  }

  .footer {
    min-height: 70px;
    font-size: 10px;
  }
}
