:root {
  --huyck-purple: #b491c8;
  --light-purple: #dad1e0;
  --dark-purple: #644b72;
  --white: #fbfbfb;
  --bg: #f4f4f6;
  --fg: #4a4a52;
  --muted: #8a8f99;
  --pearl: #ebe6e1;
  --orange: #e69d54;
  --teal: #a4c9c8;
  --light-teal: #deebeb;
  --dark-teal: #507c7b;
  --sage: #cddcd9;
  --sky-blue: #d1e2ec;
  --misty-rose: #f3e9e5;
  --star-yellow: #ffa804;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  max-width: 100vw;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.45;
}

@media (min-width: 900px) {
  body {
    font-size: 16px;
  }
}

main {
  padding-top: 80px;
}

.accent-font {
  font-family: 'Nanum Myeongjo', 'Times New Roman', serif;
  font-size: 17px;
  letter-spacing: 0;
}

@media (min-width: 900px) {
  .accent-font {
    font-size: 19px;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.container.wide {
  max-width: 1350px;
}

.container.narrow {
  max-width: 900px;
}

.container.xtra-narrow {
  max-width: 700px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex-column {
  flex-direction: column;
}

.flex-grid {
  grid-gap: 30px;
}

.flex-50,
.flex-33,
.flex-40,
.flex-60,
.flex-66 {
  flex-basis: 100%;
}

@media (min-width: 1000px) {
  .flex {
    flex-wrap: nowrap;
  }

  .flex-50,
  .flex-33,
  .flex-40,
  .flex-60,
  .flex-66 {
    flex-shrink: 0;
  }

  .flex-50 {
    flex-basis: 50%;
  }

  .flex-40 {
    flex-basis: 40%;
  }

  .flex-60 {
    flex-basis: 60%;
  }

  .flex-33 {
    flex-basis: 33.33%;
  }
  .flex-66 {
    flex-basis: 66.66%;
  }
}

.justify-space-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.pad-20 {
  padding: 20px;
}

.pad-40 {
  padding: 40px;
}

.pad-60 {
  padding: 60px;
}

.sr-only {
  position: absolute;
  left: -1000px;
  height: 0;
  opacity: 0;
}

.large {
  font-size: 21px;
}

.small {
  font-size: 14.5px;
}

.normal {
  font-size: 16px;
}

.x-small {
  font-size: 13.5px;
  letter-spacing: 0;
}

.x-large {
  font-size: 32px;
}

@media (min-width: 900px) {
  .large {
    font-size: 26px;
  }
  .x-large {
    font-size: 42px;
  }
}

.italic {
  font-style: italic;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.wght-400 {
  font-weight: 400;
}

.wght-500 {
  font-weight: 500;
}

.wght-600 {
  font-weight: 600;
}

.wght-700 {
  font-weight: 700;
}

header {
  padding: 5px 0;
  position: fixed;
  width: 100%;
  background: var(--bg);
  z-index: 5;
  top: 0;
  top: -1px;
}

header,
header img.logo {
  transition: 0.3s ease all;
}

header[data-stuck] {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header[data-stuck] img.logo {
  height: 70px;
}

.header-links {
  justify-content: center;
  width: 100%;
}

.header-link {
  font-size: 15px;
}

.header-link:not(.btn) {
  text-decoration: none;
  color: var(--fg);
}

.header-link-icon svg {
  fill: var(--dark-teal);
  margin-top: -4px;
  margin-right: 10px;
}

.header-link:hover svg {
  fill: var(--huyck-purple);
}

.header-link:hover .header-link-content {
  color: var(--huyck-purple);
  transition: 0.2s ease all;
  text-decoration: 2px underline;
}

.header-link:not(:first-child) {
  margin-left: 20px;
}

.header-link:not(.btn):hover {
  color: var(--blue);
  text-decoration: 2px underline var(--blue);
}

.mobile-nav-close-btn,
.mobile-nav-toggle {
  padding: 10px;
  align-self: center;
  border-radius: 10px;
}

.mobile-nav-close-btn {
  background: none;
  position: absolute;
  right: 15px;
  top: 15px;
}

.mobile-nav-toggle {
  background: none;
}

.mobile-nav-toggle:hover {
  background: var(--light-teal);
}

.mobile-nav-close-btn svg,
.mobile-nav-toggle svg {
  width: 40px;
  height: 40px;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--pearl);
  padding: 20px;
}

.mobile-nav.mobile-nav-visible {
  display: flex;
  flex-direction: column;
}

.mobile-nav .header-link {
  font-size: 24px;
}

.mobile-header-links li {
  padding: 25px 5px 15px 5px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-header-links svg {
  width: 33px;
  height: 33px;
  margin-right: 15px;
}

.mobile-nav-footer {
  margin-top: auto;
}

@media (min-width: 900px) {
  .header-link:not(:first-child) {
    margin-left: 30px;
  }

  .header-link {
    font-size: inherit;
  }
}

footer {
  padding: 60px 0;
  background: var(--pearl);
}

.cols-2 {
  columns: 2;
  column-gap: 20px;
}

.footer-links a {
  display: block;
  margin-bottom: 20px;
}

.footer-social-links li {
  margin-right: 20px;
}

button {
  cursor: pointer;
}

.btn {
  padding: 15px 25px;
  border-radius: 40px;
  background: var(--dark-teal);
  color: var(--bg);
  text-decoration: none;
  font-weight: 400;
  transition: 0.2s ease;
  cursor: pointer;
  align-self: center;
  display: inline-flex;
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.btn.x-small {
  padding: 10px 20px;
}

.btn.action {
  background: var(--orange);
}

.btn.secondary {
  background: var(--teal);
  color: var(--fg);
}

.btn:hover {
  transform: scale(1.015);
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1),
    0px 8px 12px 0px rgba(0, 0, 0, 0.2);
  background: var(--huyck-purple);
  color: var(--bg);
}

.btn:focus {
  box-shadow: none;
  background: var(--fg);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.btn:disabled {
  color: var(--muted);
  background: var(--bg);
  cursor: default;
  box-shadow: none;
}

.btn:disabled:hover {
  transform: none;
}

.no-top-margin {
  margin-top: 0;
}

.no-bottom-margin {
  margin-bottom: 0;
}

.heading-line-height {
  line-height: 1.2;
}

a {
  color: var(--dark-teal);
  transition: color 0.15s ease-in-out;
}

a:not(.btn):hover {
  color: var(--huyck-purple);
}

a:not(.btn):focus {
  text-decoration: none;
  outline-color: var(--orange);
}

.undecorated {
  text-decoration: none;
}

ul {
  margin-top: 40px;
  list-style: square;
}

ul li {
  margin-bottom: 10px;
}

ul.undecorated {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
}

h2.uppercase,
h3.uppercase {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
}

.muted {
  color: var(--muted);
}

@media (min-width: 900px) {
  .header-links {
    justify-content: flex-end;
    width: auto;
  }
  .header-link:not(:first-child) {
    margin-left: 50px;
  }
  .mobile-only {
    display: none;
  }
}

@media (max-width: 900px) {
  .desktop-only {
    display: none;
  }
}

::-moz-selection {
  background: var(--light-teal);
  color: var(--fg);
}

::selection {
  background: var(--light-teal);
  color: var(--fg);
}

.fb-logo {
  filter: invert(1) saturate(10) hue-rotate(250deg);
}

.purple {
  color: var(--huyck-purple);
}

.dark-purple {
  color: var(--dark-purple);
}

.teal {
  color: var(--teal);
}

.dark-teal {
  color: var(--dark-teal);
}

section {
  padding: 3em 0;
}

section.pearl-bg {
  background: var(--pearl);
}

.relative {
  position: relative;
}

.centered-p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

img {
  max-width: 100%;
}

.rad-30 {
  border-radius: 30px;
}

.stars svg {
  fill: var(--star-yellow);
  padding: 0;
  width: 35px;
  margin-left: -5px;
}

.stars svg + svg {
  margin-left: -17px;
}

.underline {
  text-decoration: underline;
}

svg {
  fill: var(--dark-teal);
}

hr {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 0;
  margin: 1em 0;
}

.meet-jessica-social-links li {
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

.meet-jessica-social-links li img {
  margin-right: 10px;
}

.featured-properties-widget {
  background-color: var(--pearl);
  padding: 25px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .featured-properties-widget {
    padding: 40px;
  }
}

.properties-grid {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 650px) {
  .properties-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .properties-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.featured-property {
  cursor: pointer;
}

.featured-property-thumbnail {
  aspect-ratio: 1.6;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.02),
    0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
}

.featured-property:hover h3 {
  color: var(--huyck-purple);
}

.featured-property-thumbnail:before {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
  height: 100%;
  display: block;
  content: '';
  opacity: 0;
  transition: transform 2s ease, opacity 0.2s ease;
}

.featured-property:hover .featured-property-thumbnail {
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1),
    0px 8px 24px 0px rgba(0, 0, 0, 0.2);
  transform: scale(1.01);
}

.featured-property:hover .featured-property-book-now,
.featured-property:hover .featured-property-thumbnail:before {
  opacity: 1;
}

.featured-property-coming-soon .featured-property-thumbnail {
  padding: 30px;
  background: var(--sky-blue);
  background: var(--light-teal);
  cursor: default;
  box-shadow: none;
}

.featured-property-coming-soon svg {
  width: 40px;
  height: 40px;
}

.featured-property-coming-soon:hover .featured-property-thumbnail {
  transform: none;
  border: 0;
  box-shadow: none;
}

.featured-property-coming-soon:hover .featured-property-thumbnail:before {
  opacity: 0;
}

.featured-property-description {
  max-height: 60px;
  overflow: hidden;
  display: block;
  margin-top: 1em;
  text-overflow: ellipsis;
  color: var(--fg);
}

.featured-property-description:before {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  content: '';
  background: linear-gradient(to bottom, transparent 30%, var(--white));
}

.featured-property-book-now {
  opacity: 0;
  position: absolute;
}

.featured-property-book-now {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.featured-property-book-now:hover {
  transform: scale(1.015) translate(-50%, -50%);
}

input[type='text'],
input[type='search'] {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 18px;
  border-radius: 40px;
  padding: 20px 30px;
  font-family: inherit;
}

input[type='number'] {
  font-family: inherit;
}

input[type='text']:focus,
input[type='search']:focus {
  background: var(--light-teal);
  outline-color: var(--orange);
  color: var(--fg);
}

input[type='checkbox'] {
  width: 23px;
  height: 23px;
  accent-color: var(--dark-teal);
  accent-color: var(--dark-teal);
}

select {
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 35px;
  padding: 0 5px;
  background: var(--white);
  font-family: inherit;
}

select:focus {
  background: var(--light-teal);
}

.noscroll {
  overflow: hidden;
}

.reviews {
  display: grid;
  grid-gap: 20px;
}

@media (min-width: 900px) {
  .reviews {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.review {
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

abbr {
  text-decoration: none;
}

@media (max-width: 700px) {
  .pdf-viewer {
    display: none;
  }
}
