:root {
  color-scheme: light;
  --canvas: #e6e8e4;
  --sage: #aeb69a;
  --ink: #3d4a26;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
  font-family: "Avenir Next", Avenir, "Century Gothic", Futura, Montserrat,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(7px, 0.7vw, 12px);
  color: var(--ink);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: calc(100vh - clamp(14px, 1.4vw, 24px));
  min-height: calc(100svh - clamp(14px, 1.4vw, 24px));
  overflow: hidden;
  isolation: isolate;
  background-color: #cbd2bd;
  background-image: url("./linen-background.svg");
  background-position: center;
  background-size: cover;
}

.page-shell__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(189 198 171 / 10%), rgb(197 207 184 / 15%)),
    rgb(171 181 149 / 7%);
}

.hero {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: center;
  padding: clamp(68px, 9.4vh, 94px) clamp(22px, 5vw, 80px) clamp(42px, 6vh, 64px);
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 1.6vw, 28px);
  color: var(--white);
  line-height: 1;
}

.brand__mark {
  width: clamp(64px, 5vw, 82px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 1px rgb(52 62 36 / 6%));
}

.brand__name {
  font-size: clamp(3.2rem, 4.4vw, 4.65rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.hero__message {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
}

h1 {
  width: 100%;
  margin: clamp(76px, 11.8vh, 126px) 0 0;
  font-size: clamp(4.8rem, 6.4vw, 6.85rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.mobile-break {
  display: none;
}

.hero__services {
  margin: clamp(38px, 4.5vh, 48px) 0 0;
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero__contact {
  display: flex;
  flex-direction: column;
  margin-top: clamp(32px, 3.8vh, 42px);
  font-size: clamp(1.7rem, 2.18vw, 2.3rem);
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.contact-link {
  border-radius: 5px;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.contact-link:hover {
  text-decoration: underline;
}

.notify {
  margin-top: clamp(48px, 6.2vh, 64px);
}

.notify p {
  margin: 0;
  font-size: clamp(1.55rem, 2.02vw, 2.15rem);
  letter-spacing: -0.017em;
  line-height: 1.25;
}

.notify__button {
  display: inline-flex;
  min-width: clamp(224px, 15vw, 254px);
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(26px, 3vh, 34px);
  padding: 11px 32px 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 24px rgb(49 58 34 / 5%);
  font-size: clamp(1.15rem, 1.38vw, 1.45rem);
  font-weight: 450;
  letter-spacing: 0.015em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.notify__button:hover {
  box-shadow: 0 10px 30px rgb(49 58 34 / 13%);
  transform: translateY(-2px);
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--ink);
  transition: background-color 160ms ease, transform 160ms ease;
}

a.social-link:hover {
  background: rgb(255 255 255 / 34%);
  transform: translateY(-2px);
}

.social-link svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.social-link--pending {
  cursor: default;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  body {
    padding: 0;
  }

  .page-shell {
    min-height: 100vh;
    min-height: 100svh;
    background-position: 46% center;
  }

  .hero {
    justify-content: center;
    padding: 42px 20px 36px;
  }

  .brand {
    gap: 12px;
  }

  .brand__mark {
    width: clamp(46px, 13vw, 58px);
  }

  .brand__name {
    font-size: clamp(1.9rem, 8.6vw, 2.5rem);
  }

  .hero__message {
    flex: 0 1 auto;
  }

  h1 {
    max-width: 100%;
    margin-top: clamp(64px, 10vh, 92px);
    font-size: clamp(3.1rem, 13vw, 4.5rem);
    line-height: 0.94;
  }

  .mobile-break {
    display: inline;
  }

  .hero__services {
    max-width: 14ch;
    margin-top: 34px;
    font-size: clamp(1.35rem, 5.8vw, 1.8rem);
  }

  .hero__contact {
    max-width: 100%;
    margin-top: 32px;
    font-size: clamp(1.2rem, 5vw, 1.55rem);
  }

  .notify {
    margin-top: 45px;
  }

  .notify p {
    max-width: 18ch;
    font-size: clamp(1.2rem, 5.25vw, 1.55rem);
  }

  .notify__button {
    min-width: 218px;
    min-height: 50px;
    margin-top: 24px;
    font-size: 1.1rem;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 30px;
  }

  h1 {
    margin-top: 42px;
    font-size: clamp(4rem, 6.3vw, 6.5rem);
  }

  .hero__services,
  .hero__contact,
  .notify {
    margin-top: 25px;
  }

  .notify__button {
    margin-top: 18px;
  }

  .socials {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
