:root {
  --powder: #f8e8ec;
  --rose: #eec9d3;
  --rose-deep: #c98296;
  --plum: #301b2d;
  --plum-soft: #61384f;
  --light: #ffe5a8;
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--powder);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--plum);
  background: var(--powder);
  font-family: "Avenir Next", Avenir, Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.demo-notice {
  display: flex;
  justify-content: center;
  gap: .42rem;
  padding: .7rem 1rem;
  color: var(--powder);
  background: var(--plum);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .025em;
}

.site-header,
main,
footer {
  width: min(calc(100% - 3rem), var(--page-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  color: var(--plum);
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand span {
  color: var(--rose-deep);
}

.place,
.eyebrow,
.door-figure figcaption,
footer {
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.place {
  color: var(--plum-soft);
  white-space: nowrap;
}

.hero {
  display: grid;
  align-items: center;
  gap: 1.35rem;
  min-height: calc(100svh - 116px);
  padding: 1.4rem 0 2.4rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--rose-deep);
}

h1 {
  max-width: 8.5ch;
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.intro {
  max-width: 29ch;
  margin: 1.15rem 0 1.35rem;
  color: var(--plum-soft);
  font-size: clamp(1rem, 2.8vw, 1.16rem);
  line-height: 1.5;
}

.actions {
  display: grid;
  gap: .65rem;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 53px;
  padding: .9rem 1rem  .9rem 1.15rem;
  border: 1px solid var(--plum);
  border-radius: 2px;
  font-size: .94rem;
  font-weight: 680;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button span {
  font-size: 1.16rem;
}

.button-primary {
  color: var(--powder);
  background: var(--plum);
}

.button-secondary {
  color: var(--plum);
  background: transparent;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  background: var(--plum-soft);
}

.button-secondary:hover {
  background: var(--rose);
}

.phone-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--plum-soft);
  font-size: .9rem;
  font-weight: 650;
  text-decoration-color: var(--rose-deep);
  text-underline-offset: .24em;
}

.door-figure {
  width: min(100%, 360px);
  margin: 0 auto;
}

.door-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.door-figure figcaption {
  margin-top: -.15rem;
  color: var(--plum-soft);
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(97, 56, 79, .26);
  color: var(--plum-soft);
}

footer a {
  text-decoration: none;
}

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

@media (min-width: 700px) {
  .hero {
    grid-template-columns: minmax(0, .92fr) minmax(320px, .72fr);
    gap: clamp(2rem, 7vw, 7rem);
    padding: 3rem 0;
  }

  .actions {
    grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.15fr);
    max-width: 465px;
  }

  .door-figure {
    width: min(100%, 480px);
  }
}

@media (min-width: 1100px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 7rem), var(--page-width));
  }

  .hero {
    min-height: calc(100svh - 124px);
  }
}

@media (max-width: 360px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 2rem), var(--page-width));
  }

  .site-header {
    min-height: 64px;
  }

  .place {
    font-size: .65rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .door-figure {
    width: min(100%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
