/* Page-specific rebuild for samsaara.html. Keep this file loaded after site-recovery.css. */

body {
  font-family: var(--samsaara-font-sans);
  color: #171717;
  background: #fff;
  font-weight: 300;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body .page-shell {
  overflow: visible;
}

.values-band,
.experience-band,
.planning-band,
.concierge-showcase,
.owner-band {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero {
  min-height: 456px;
  display: grid;
  place-items: center;
  padding: 92px clamp(24px, 4vw, 62px) 74px;
  color: #fff;
  overflow: visible;
  background: #111 url("videos/hero/hero-poster.webp") center center / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

@media (min-width: 1025px) {
  .hero {
    height: 460px;
    min-height: 460px;
  }
}

.hero::after,
.hero-bg::after {
  content: none;
  z-index: 0;
  background: transparent;
}

.hero .nav {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  min-height: 70px;
  padding: 0 clamp(20px, 3vw, 50px);
  color: #fff;
}

.hero .brand {
  justify-self: start;
  font-family: var(--samsaara-font-sans);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero .nav-phone {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero .nav-contact-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 14.4px;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.hero .nav-contact-button:hover {
  opacity: 0.72;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 0 auto;
  transform: translateY(7px);
}

.hero .eyebrow {
  position: relative;
  z-index: 2;
  margin-bottom: 4px;
  font-family: var(--samsaara-font-sans);
  font-size: 20.8px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-family: var(--samsaara-font-display);
  font-size: clamp(37.8px, 3.01vw, 49px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-lines {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}

.hero-search {
  width: fit-content;
  min-width: 580px;
  height: 52px;
  min-height: 52px;
  margin: 15px auto 0;
  align-items: stretch;
  box-shadow: none;
}

@media (min-width: 1025px) {
  .hero-search-sticky-placeholder {
    display: block;
    overflow-anchor: none;
    pointer-events: none;
  }

  .hero-search.is-desktop-sticky {
    position: fixed;
    top: 15px;
    left: 50%;
    z-index: 90;
    margin: 0;
    transform: translateX(-50%);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
  }
}

.search-field,
.search-submit {
  min-height: 52px;
  padding: 0 18px;
  border-right: 0;
  color: #6f6961;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.search-field {
  position: relative;
}

.hero-search > .search-field::after,
.date-group::after {
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: rgba(22, 20, 18, 0.1);
  content: "";
}

.hero-search .search-field:hover,
.hero-search .search-field.is-active {
  background: #fff;
}

.search-field strong {
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-field.has-selection strong,
.date-group.has-selection .search-field strong {
  color: #171717;
  font-weight: 500;
}

.hero-search > .search-field:first-child {
  width: 127px;
}

.hero-search > .search-field:first-child.has-selection {
  width: 176px;
}

.date-group .search-field {
  width: 89px;
}

.date-group .search-field[data-date-focus="arrival"] {
  border-right: 0;
}

.date-group .search-field[data-date-focus="departure"] {
  width: 112px;
  border-right: 0;
}

.date-group.has-selection .search-field {
  width: 132px;
}

.date-group.has-selection .search-field[data-date-focus="departure"] {
  width: 132px;
}

.hero-search > .search-field[data-search-panel="guests"] {
  width: 112px;
}

.hero-search > .search-field[data-search-panel="guests"].has-selection {
  width: 118px;
}

.destination-clear,
.dates-clear,
.guests-clear {
  width: 22px;
  height: 22px;
  display: none;
  place-items: center;
  flex: 0 0 22px;
  color: #b5b5b5;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.hero-search .search-field.has-selection .destination-clear,
.hero-search .search-field.has-selection .guests-clear,
.date-group.has-selection .dates-clear {
  display: grid !important;
}

.date-group .dates-clear {
  align-self: center;
  margin: 0 12px 0 -2px;
}

.search-field.has-selection {
  gap: 7px;
}

.search-submit {
  width: 112px;
  min-width: 112px;
  margin-right: -1px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  box-shadow: 1px 0 0 #1d1d1d;
}

.search-submit:hover,
.search-submit:focus-visible {
  background: #111;
}

.date-arrow {
  min-height: 52px;
  width: 27px;
  min-width: 27px;
  padding: 0;
  color: #67615d;
  font-size: 0;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.date-group {
  position: relative;
  border-right: 0;
}

.hero-search .guests-panel {
  width: 165px;
  height: 200px;
  max-height: 200px;
  padding: 0;
  overflow-y: auto;
}

.hero-search .guest-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-search .guest-option {
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
  color: #171717;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

.hero-search .guest-option:hover,
.hero-search .guest-option:focus-visible,
.hero-search .guest-option.is-active {
  background: #f2f2f2;
}

.date-arrow::before {
  content: "\2192";
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}

.inspiration-link {
  width: fit-content;
  max-width: calc(100vw - 36px);
  height: 38px;
  margin-top: 12px;
  padding: 0 5px;
  border: 0;
  background: rgba(22, 20, 18, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.inspiration-link span {
  min-width: 0;
  height: 26px;
  margin-left: 0;
  display: grid;
  place-items: center;
  padding: 0 5px;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-panel {
  top: calc(100% + 12px);
  border: 1px solid rgba(22, 20, 18, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

#villas.section {
  padding: 48px clamp(22px, 4vw, 60px) 68px;
  background: #fff;
}

#villas .section-heading {
  width: min(1215px, 100%);
  margin: 0 auto 36px;
  position: relative;
  display: block;
  height: 48px;
  text-align: center;
}

#villas .section-heading h2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--samsaara-font-sans);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.homes-category {
  position: absolute;
  top: 10px;
  width: fit-content;
  padding-bottom: 14px;
  color: #171717;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
}

.homes-category::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 280ms ease;
}

.homes-category:hover::after,
.homes-category:focus-visible::after,
.homes-category.is-active::after {
  width: 100%;
}

.homes-category:nth-child(1) {
  left: 3.8%;
}

.homes-category:nth-child(2) {
  left: 18.8%;
}

.homes-category:nth-child(4) {
  left: 70.5%;
}

.homes-category:nth-child(5) {
  right: 1.8%;
}

.results-note {
  width: min(940px, 100%);
  margin: 0 auto 24px;
  color: #6f6961;
  font-size: 13px;
  text-align: center;
}

.results-note:not(.is-visible) {
  display: none;
}

#villas .results-layout {
  display: block;
  width: min(1215px, 100%);
  margin: 0 auto;
}

#villas:not(.has-search-results) .results-map {
  display: none;
}

#villas.has-search-results .results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: start;
}

#villas .villa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#villas.has-search-results .villa-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.villa-card {
  width: 100%;
  min-width: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.villa-card:hover img {
  transform: scale(1.025);
}

.villa-media {
  width: 100%;
  max-width: none;
  aspect-ratio: 393 / 535;
  height: auto;
  overflow: hidden;
  background: #e9e7e2;
}

.villa-media img {
  transition: transform 700ms ease;
}

.villa-content {
  padding: 15px 8px 0;
  background: transparent;
  text-align: center;
}

.villa-content h3 {
  font-family: var(--samsaara-font-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.villa-content p {
  margin-top: 5px;
  color: #171717;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.homes-actions {
  margin-top: 24px;
  text-align: center;
}

.dark-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid #202020;
  background: #202020;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.085em;
  line-height: 1;
  text-transform: uppercase;
}

.dark-cta:hover {
  background: #000;
  border-color: #000;
}

#villas .dark-cta {
  min-height: 44px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
}

.values-band {
  min-height: 315px;
  margin-top: 12px;
  padding: 80px 16px;
  background: #f7f7f7;
}

.values-inner {
  width: min(1024px, 100%);
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0 auto;
  text-align: center;
}

.value-item {
  max-width: none;
  justify-self: center;
  display: block;
  width: 100%;
  padding: 0;
  border-bottom: 0;
}

.value-kicker {
  display: block;
  margin-bottom: 0;
  font-family: var(--samsaara-font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 19.6px;
  text-transform: uppercase;
}

.value-item h3 {
  margin: 0 0 8px;
  font-family: var(--samsaara-font-display);
  font-size: 51px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 51px;
  text-transform: uppercase;
}

.value-item p {
  color: #171717;
  font-family: var(--samsaara-font-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 22.4px;
}

.concierge-showcase {
  padding: 80px 0 160px;
  background: #fff;
  text-align: center;
}

.concierge-showcase-inner {
  width: 100%;
  max-width: none;
}

.concierge-showcase h2,
.experience-copy h2,
.planning-content h2,
.owner-copy h2 {
  font-family: var(--samsaara-font-sans);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 44.8px;
  text-transform: uppercase;
}

.concierge-showcase h2 {
  width: min(816px, calc(100% - 48px));
  margin: 0 auto;
}

.concierge-showcase-copy {
  width: min(816px, calc(100% - 48px));
  margin: 24px auto 0;
  color: #171717;
  font-family: var(--samsaara-font-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 22.4px;
}

.concierge-showcase-copy + .concierge-showcase-copy {
  margin-top: 16px;
}

.concierge-showcase .dark-cta {
  width: 290px;
  margin-top: 28px;
  min-height: 43.6px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 19.6px;
}

.concierge-collage {
  width: min(1392px, calc(100% - 48px));
  min-height: 754px;
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 336px));
  align-items: start;
  justify-content: center;
  gap: 16px;
}

.concierge-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eef0ee;
  color: #fff;
  isolation: isolate;
}

.concierge-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0.28) 70%,
    rgba(0, 0, 0, 0.68) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.concierge-tile span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--samsaara-font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.concierge-tile span::after {
  content: "\2192";
  display: inline-block;
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
  transform: translateX(0);
  transition: transform 420ms ease;
}

.concierge-tile img {
  transition: transform 850ms ease;
}

.concierge-tile:hover::before,
.concierge-tile:focus-visible::before {
  opacity: 1;
}

.concierge-tile:hover span,
.concierge-tile:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.concierge-tile:hover span::after,
.concierge-tile:focus-visible span::after {
  transform: translateX(4px);
}

.concierge-tile:hover img,
.concierge-tile:focus-visible img {
  transform: scale(1.035);
}

.concierge-tile:nth-child(1) {
  aspect-ratio: 336 / 594;
  height: auto;
  margin-top: 0;
}

.concierge-tile:nth-child(2) {
  aspect-ratio: 336 / 594;
  height: auto;
  margin-top: 160px;
}

.concierge-tile:nth-child(3) {
  aspect-ratio: 336 / 594;
  height: auto;
  margin-top: 52px;
}

.concierge-tile:nth-child(4) {
  aspect-ratio: 336 / 594;
  height: auto;
  margin-top: 98px;
}

.experience-band {
  padding: 80px 16px;
  background: #fff;
  text-align: left;
}

.experience-inner {
  width: min(1280px, 100%);
  max-width: none;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(330px, 0.78fr);
  gap: 0;
  margin: 0 auto;
  border: 1px solid rgba(22, 20, 18, 0.18);
  background: #fff;
}

.experience-copy .eyebrow {
  width: 100%;
  margin: 0 0 16px;
  color: #171717;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 19.6px;
  text-transform: uppercase;
}

.experience-copy {
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(48px, 7vw, 120px);
  border-right: 1px solid rgba(22, 20, 18, 0.18);
  margin: 0;
}

.experience-copy p:not(.eyebrow),
.experience-item p,
.planning-copy,
.owner-copy p {
  color: #171717;
  font-family: var(--samsaara-font-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 22.4px;
}

.experience-copy p:not(.eyebrow) {
  width: min(560px, 100%);
  margin: 24px 0 0;
}

.guest-favorites {
  width: min(560px, 100%);
  margin-top: 34px;
}

.guest-favorites-kicker {
  display: block;
  margin-bottom: 14px;
  color: #171717;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 18px;
  text-transform: uppercase;
}

.guest-favorites-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 10px;
}

.guest-favorite-item {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #171717;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
}

.guest-favorite-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.guest-favorite-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.experience-list {
  width: 100%;
  min-height: 520px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.experience-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 34px 44px;
  border-bottom: 0;
}

.experience-item + .experience-item {
  border-top: 1px solid rgba(22, 20, 18, 0.18);
}

.experience-item > span {
  color: #171717;
  font-family: var(--samsaara-font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 19.6px;
}

.experience-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 24px;
  text-transform: none;
}

.experience-item p {
  max-width: 420px;
  margin: 0;
}

.planning-band {
  padding: 80px 16px;
  background: #fff;
}

.planning-inner {
  width: min(1042px, calc(100% - clamp(24px, calc(100vw - 1042px), 748px)));
  max-width: 1042px;
  display: grid;
  grid-template-columns: minmax(0, 468px) minmax(360px, 520px);
  gap: 56px;
  align-items: center;
  margin: 0 0 0 clamp(24px, calc(100vw - 1042px), 748px);
  padding: 0;
}

.planning-copy {
  max-width: 452px;
  margin-top: 18px;
}

.planning-content .dark-cta {
  margin-top: 26px;
}

.planning-media {
  height: 520px;
  min-height: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: transparent;
}

.planning-media img {
  width: 92%;
  height: auto;
  object-fit: contain;
}

.owner-band {
  position: relative;
  min-height: 663px;
  height: 663px;
  margin-bottom: 64px;
  padding: 0;
  overflow: visible;
  background: #fff;
}

.owner-inner {
  position: relative;
  z-index: 1;
  width: min(1790px, 100%);
  max-width: none;
  min-height: 663px;
  height: 663px;
  display: grid;
  grid-template-columns: minmax(24px, 748px) 468px 174px 400px;
  gap: 0;
  align-items: start;
  margin: 0;
}

.owner-copy {
  grid-column: 2;
  width: 468px;
  align-self: start;
  padding: 112px 8px 0;
}

.owner-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(1790px, 100%);
  height: 600px;
  background: #f7f7f7;
}

.owner-copy h2 {
  margin: 0 0 32px;
}

.owner-copy p {
  width: 452px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 25.2px;
}

.owner-copy .dark-cta {
  width: 258.68px;
  min-height: 43.6px;
  margin-top: 0;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 19.6px;
}

.owner-portrait {
  grid-column: 4;
  width: 400px;
  height: 600px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #e6e3de;
  transform: translate(30px, 63px);
}

.owner-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

footer {
  margin-top: 90px;
}

@media (max-width: 1040px) {
  #villas .section-heading {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    row-gap: 18px;
    height: auto;
  }

  #villas .section-heading h2 {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  #villas .section-heading .homes-category {
    position: static;
    justify-self: center;
    grid-row: 2;
  }

  #villas .section-heading .homes-category:nth-child(4),
  #villas .section-heading .homes-category:nth-child(5) {
    grid-row: 3;
  }

  #villas .villa-grid,
  #villas.has-search-results .villa-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .villa-media {
    height: auto;
  }

  .concierge-collage {
    min-height: 520px;
  }

  .planning-inner {
    gap: 48px;
  }

  .owner-inner {
    width: min(936px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr) 452px;
    column-gap: 48px;
  }

  .owner-copy {
    grid-column: 1;
    width: 100%;
    padding: 112px 0 0;
  }

  .owner-copy h2,
  .owner-copy p {
    width: 100%;
  }

  .owner-portrait {
    grid-column: 2;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 860px), (min-width: 861px) and (max-width: 1024px) {
  .hero {
    min-height: 620px;
    padding: 92px 18px 54px;
  }

  .hero .nav {
    padding: 0 18px;
  }

  .hero .nav-phone {
    display: none;
  }

  .hero-search {
    width: min(440px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search .search-field,
  .hero-search .search-submit,
  .hero-search .date-group {
    width: 100%;
  }

  .hero-search .date-group {
    grid-column: 1 / -1;
  }

  .hero-search .search-submit {
    grid-column: 1 / -1;
  }

  #villas .villa-grid,
  #villas.has-search-results .villa-grid,
  #villas.has-search-results .results-layout,
  .values-inner,
  .experience-inner,
  .experience-list,
  .planning-inner,
  .owner-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  #villas.has-search-results .results-map {
    display: none;
  }

  .villa-media {
    height: auto;
  }

  .values-inner {
    width: min(520px, 100%);
    gap: 42px;
  }

  .experience-list {
    min-height: 0;
    gap: 0;
  }

  .experience-inner {
    min-height: 0;
  }

  .experience-copy {
    min-height: 0;
    padding: 56px 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(22, 20, 18, 0.18);
  }

  .guest-favorites-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-item {
    padding: 30px 32px;
  }

  .concierge-collage {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .concierge-tile:nth-child(n) {
    aspect-ratio: 336 / 594;
    height: auto;
    transform: none;
  }

  .concierge-tile:nth-child(2) {
    margin-top: 80px;
  }

  .concierge-tile:nth-child(3) {
    margin-top: 32px;
  }

  .concierge-tile:nth-child(4) {
    margin-top: 56px;
  }

  .planning-media {
    height: min(452px, 80vw);
  }

  .owner-band {
    min-height: 0;
    height: auto;
  }

  .owner-band::before {
    width: 100%;
    height: calc(100% - 72px);
  }

  .owner-inner {
    width: min(520px, calc(100% - 48px));
    min-height: 0;
    height: auto;
    gap: 44px;
  }

  .owner-copy {
    grid-column: 1;
    width: 100%;
    height: auto;
    justify-self: stretch;
    padding-top: 72px;
    text-align: left;
    transform: none;
  }

  .owner-copy h2,
  .owner-copy p {
    width: 100%;
  }

  .owner-portrait {
    grid-column: 1;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 400 / 600;
    margin: 0;
    transform: none;
  }
}

@media (max-width: 560px), (min-width: 561px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 33.6px;
  }

  .hero-lines {
    font-size: 13px;
  }

  #villas.section,
  .values-band,
  .concierge-showcase,
  .experience-band,
  .planning-band,
  .owner-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  #villas .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  #villas .section-heading h2 {
    margin-bottom: 18px;
  }

  .homes-category {
    position: static;
    display: inline-block;
    margin: 0 8px 10px;
  }

  .villa-media {
    height: 360px;
  }

  .concierge-collage {
    grid-template-columns: minmax(0, 1fr);
  }

  .concierge-tile:nth-child(n) {
    height: auto;
    margin-top: 0;
  }
}
