:root {
  --lavender-bg: #eceaf4;
  --ink: #121216;
  --purple: #553487;
  --shadow-dark: rgba(0, 0, 0, 0.8);
  --shadow-blush: rgba(128, 0, 128, 0.95);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: futura-pt, "Avenir Next", "Century Gothic", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  background: var(--lavender-bg);
}

.hero {
  min-height: 100vh;
  background: url("assets/hero.jpg") center center / cover no-repeat,
    linear-gradient(180deg, 
      #605AAA,
      #726AB8,
      #E1B6C4,
      #F5CBBE,
      #E18B86,
      #915A7F,
      #3A1F34
    );
  background-color: #915A7F;
  background-position: center calc(50% - var(--hero-pan, 0px));
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 2.5rem 2.5rem;
}

.top-nav {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 1rem 2rem;
}

.logo {
  width: 190px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  grid-column: 2;
}

.top-nav a {
  text-decoration: none;
  color: #060606;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-text {
  margin: auto 0;
  text-align: center;
  color: #fff;
}

.hero-text h1,
.hero-text h2 {
  text-shadow: 2px 2px 4px var(--shadow-dark), 2px 2px 40px var(--shadow-blush);
  margin: 0;
}

.hero-text h1 {
  font-family: "Julee", cursive;
  font-size: clamp(3rem, 7vw, 4.7rem);
  line-height: 1.2;
  margin-bottom: 1.35rem;
}

.hero-text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.25rem);
  font-weight: 400;
}

.site-header {
  background: var(--lavender-bg);
  padding: 1.2rem 2.5rem;
  border-bottom: 1px solid #d7d4e4;
}

.site-header .top-nav {
  max-width: 1180px;
  margin: 0 auto;
}

.page-main {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 3rem 0 2.4rem;
}

.page-title {
  text-align: center;
  margin: 0 0 2rem;
  font-family: "Julee", cursive;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
}

.page-main h2 {
  font-size: 2rem;
  font-weight: 400;
  margin: 2rem 0 1rem;
}

.page-main h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 1.8rem 0 0.8rem;
}

.page-main ul,
.page-main ol {
  padding-left: 1.2rem;
}

.page-main li {
  margin: 0.55rem 0;
}

.hours p {
  margin: 0.3rem 0;
}

.inline-note {
  font-style: italic;
}

main,
footer {
  background: var(--lavender-bg);
}

.intro,
.contact,
footer {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding: 4.5rem 0 3rem;
  align-items: start;
}

.portrait {
  margin: 0;
  position: relative;
  container-type: inline-size;
  width: min(100%, 775px);
}

.portrait img {
  width: 100%;
  display: block;
  transform: scale(0.8);
  transform-origin: left center;
  outline: 14px solid var(--purple);
}

.portrait figcaption {
  position: absolute;
  top: 15.2cqw;
  right: 0;
  background: var(--purple);
  color: #fff;
  padding: 2.45cqw 2.7cqw;
  font-size: 5.5cqw;
  line-height: 1;
  font-family: "Julee", cursive;
  white-space: nowrap;
}

.intro-copy h3 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
}

.intro-copy h2,
.contact h2,
footer h2 {
  font-size: 2.1rem;
  font-weight: 400;
  margin: 2.4rem 0 1rem;
}

.intro-copy ul {
  list-style: none;
  padding-left: 0;
}

.intro-copy li {
  margin: 0.45rem 0;
}

.intro-copy li::before {
  content: "\2022\00A0";
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badges img {
  width: min(220px, 100%);
}

.contact {
  padding: 1rem 0 3rem;
}

form {
  max-width: 900px;
  display: grid;
  gap: 1rem;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  text-transform: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid #bcbac9;
  padding: 0.75rem;
  font: inherit;
  background: #fff;
}

button {
  width: max-content;
  background: #101010;
  color: #fff;
  border: none;
  padding: 0.85rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

footer {
  padding: 0 0 4rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

footer a {
  color: #111;
  text-decoration: none;
}

@media (max-width: 980px) {
  .top-nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nav-links {
    grid-column: auto;
  }

  .intro {
    padding-top: 3.2rem;
  }

  .name-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1rem;
    min-height: 78vh;
  }

  .logo {
    width: 135px;
  }

  .hero-text h2 {
    font-size: 1.55rem;
  }

  .portrait {
    margin-bottom: 3cqw;
  }

  .portrait img {
    transform: unset;
  }

  .portrait figcaption {
    top: unset;
    left: 5cqw;
    right: 5cqw;
    bottom: -4cqw;
    padding: 3.2cqw 3.6cqw;
    font-size: 6.1cqw;
  }

}
