:root {
  --ink: #472315;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #e9d7c1;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

.page {
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(rgb(221 202 176 / 50%), rgb(221 202 176 / 50%)), url("assets/canvas-desktop.jpg") center / 100% 100% fixed;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.5;
}

.top-nav {
  position: fixed;
  z-index: 2;
  top: 85px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.top-nav a,
.mobile-nav a,
.signup-form button {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brand {
  display: block;
  margin-inline: auto;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

h1,
p {
  margin: 0;
}

h1 {
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.coming-soon,
.wholesale {
  min-height: 100svh;
  padding-inline: 24px;
  text-align: center;
}

.coming-soon {
  padding-top: 164px;
}

.coming-soon .brand {
  width: 256px;
}

.coming-soon h1 {
  margin-top: 81px;
  font-size: clamp(64px, 7vw, 104px);
  letter-spacing: .015em;
}

.intro {
  max-width: 780px;
  margin: 55px auto 0;
}

.signup-copy {
  max-width: 760px;
  margin: 69px auto 0;
}

.signup-form {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 62px;
}

.signup-form input {
  width: min(425px, 52vw);
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  outline: 0;
  background: transparent;
}

.signup-form input::placeholder {
  color: var(--ink);
  opacity: 1;
}

.signup-form input:focus-visible {
  box-shadow: 0 0 0 3px rgb(71 35 21 / 20%);
}

.signup-form button {
  border: 0;
  background: none;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
}

.signup-form button:disabled {
  cursor: wait;
  opacity: .55;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-status {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(520px, 90vw);
  margin: 0;
  transform: translateX(-50%);
  font-size: 14px;
  line-height: 1.45;
}

.signup-status.is-error {
  color: #8b1e13;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.coming-soon .social-links {
  margin-top: 68px;
}

.social-links a,
.social-links img {
  display: block;
  width: 30px;
  height: 30px;
}

.social-links img {
  object-fit: contain;
}

.mobile-nav {
  display: none;
}

.wholesale {
  padding-top: 134px;
}

.wholesale .brand {
  width: 256px;
}

.wholesale h1 {
  margin-top: 45px;
  font-size: clamp(42px, 3.9vw, 55px);
  letter-spacing: .015em;
}

.wholesale-photos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 21px auto 0;
}

.wholesale-photo {
  display: block;
  width: 246px;
  height: auto;
}

.wholesale-intro {
  margin-top: 52px;
}

.wholesale-copy {
  margin-top: 39px;
}

.wholesale-contact {
  margin-top: 37px;
}

.wholesale .social-links {
  margin-top: 33px;
}

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

@media (max-width: 640px) {
  .page {
    font-size: 15px;
    background-attachment: scroll;
    background-image: linear-gradient(rgb(221 202 176 / 50%), rgb(221 202 176 / 50%)), url("assets/canvas-mobile.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .top-nav {
    display: none;
  }

  .coming-soon,
  .wholesale {
    min-height: 844px;
    padding-top: 28px;
    padding-inline: 20px;
  }

  .coming-soon .brand,
  .wholesale .brand {
    width: 185px;
  }

  .coming-soon h1 {
    margin-top: 62px;
    font-size: 40px;
    white-space: nowrap;
  }

  .intro {
    max-width: 330px;
    margin-top: 50px;
    line-height: 1.45;
  }

  .signup-copy {
    max-width: 330px;
    margin-top: 54px;
    line-height: 1.45;
  }

  .signup-form {
    display: block;
    margin-top: 57px;
  }

  .signup-form input {
    width: 100%;
    max-width: 240px;
    height: 44px;
    padding-inline: 14px;
    text-align: center;
  }

  .signup-form button {
    display: block;
    margin: 13px auto 0;
  }

  .social-links {
    gap: 20px;
  }

  .coming-soon .social-links {
    margin-top: 52px;
  }

  .social-links a,
  .social-links img {
    width: 22px;
    height: 22px;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 57px;
    margin-top: 53px;
    font-size: 14px;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  .wholesale h1 {
    margin-top: 38px;
    font-size: 28px;
  }

  .wholesale-photos {
    gap: 12px;
    margin-top: 41px;
  }

  .wholesale-photo {
    width: min(184px, calc((100vw - 52px) / 2));
  }

  .wholesale-intro {
    margin-top: 38px;
  }

  .wholesale-copy {
    max-width: 330px;
    margin: 40px auto 0;
    line-height: 1.45;
  }

  .wholesale-contact {
    margin-top: 38px;
    line-height: 1.45;
  }

  .contact-details {
    display: block;
  }

  .contact-details > span:first-child {
    display: none;
  }

  .wholesale .social-links {
    margin-top: 39px;
  }

  .wholesale .mobile-nav {
    gap: 37px;
    margin-top: 39px;
  }
}

@media (max-width: 360px) {
  .coming-soon h1 {
    font-size: 37px;
  }

  .wholesale h1 {
    font-size: 26px;
  }
}
