.home-editorial {
  --home-ink: #181818;
  --home-muted: #525252;
  background: #fff;
  color: var(--home-ink);
  padding-bottom: clamp(52px, 7vw, 105px);
}

.home-editorial h2 {
  font-family: var(--body);
  letter-spacing: -.052em;
  font-weight: 550;
  line-height: 1.09;
}

.home-feature-copy {
  padding: clamp(52px, 7vw, 98px) 24px 0;
  text-align: center;
}

.home-feature-copy h2 {
  font-size: clamp(1.95rem, 3.75vw, 3.65rem);
  font-weight: 500;
}

.home-feature-copy p {
  max-width: 48ch;
  margin: 18px auto 0;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.35vw, 1.23rem);
  line-height: 1.55;
}

.home-residence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: center;
  gap: clamp(30px, 5.5vw, 82px);
  width: min(91.6%, 1480px);
  margin: clamp(30px, 5.3vw, 80px) 0 0 auto;
}

.home-residence-copy { max-width: 425px; }
.home-residence-copy h2 { font-size: clamp(2.12rem, 3.55vw, 3.8rem); }
.home-residence-copy p {
  max-width: 39ch;
  margin: 17px 0 clamp(18px, 3vw, 37px);
  color: var(--home-muted);
  font-size: 1rem;
}

.home-residence-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  max-width: 360px;
}

.home-residence-thumbnails img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 62%;
  border-radius: clamp(9px, 1.4vw, 18px);
}

.home-residence-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 65%;
  border-radius: clamp(9px, 1.4vw, 18px);
}

.home-details {
  width: min(83.2%, 1280px);
  margin: clamp(58px, 8vw, 126px) auto 0;
}

.home-details-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px 38px;
  margin-bottom: clamp(22px, 3.2vw, 45px);
}

.home-details-heading h2 {
  max-width: 20ch;
  font-size: clamp(1.94rem, 3.1vw, 3.5rem);
}

.home-details-heading p {
  max-width: 34ch;
  margin: 0;
  color: var(--home-muted);
  font-size: 1rem;
}

.home-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(8px, .9vw, 14px);
}

.home-detail-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(210px, 26vw, 365px);
  padding: clamp(14px, 2.3vw, 32px);
  overflow: hidden;
  border-radius: clamp(12px, 1.8vw, 22px);
  isolation: isolate;
  background: #242424;
  color: #fff;
}

.home-detail-card img,
.home-detail-card::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-detail-card img {
  z-index: -2;
  object-fit: cover;
  object-position: center 62%;
  transition: transform .3s ease;
}

.home-detail-card::before {
  z-index: -1;
  background: linear-gradient(0deg, #000b, #0000 63%);
  content: "";
}

.home-detail-card span { font-size: clamp(1rem, 1.55vw, 1.42rem); font-weight: 600; }
.home-detail-card:hover span { text-decoration: underline; text-underline-offset: .22em; }
.home-detail-card:hover img { transform: scale(1.025); }

@media (max-width: 740px) {
  .home-residence { grid-template-columns: 1fr; width: 100%; gap: 24px; }
  .home-residence-copy { margin-inline: 22px; }
  .home-residence-image { width: min(92%, 576px); justify-self: end; }
  .home-details { width: calc(100% - 44px); }
  .home-details-heading { align-items: start; flex-direction: column; }
  .home-details-grid { grid-template-columns: minmax(0, 1fr); }
  .home-detail-card { min-height: 172px; }
  .home-detail-card:first-child { min-height: 205px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-detail-card img { transition: none; }
}

.home-featured, .home-services { margin-top: clamp(62px, 8vw, 128px); }
.home-featured { padding-block: clamp(42px, 6vw, 88px); background: #f6f6f4; }
.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: clamp(24px, 3vw, 43px);
}
.home-section-heading h2 { font-size: clamp(2.2rem, 4vw, 4.25rem); }
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.home-services-grid article {
  padding: clamp(19px, 3vw, 36px);
  border-top: 1px solid #b6b6b6;
  background: #f7f7f5;
  border-radius: 0 0 8px 8px;
}
.home-services-grid h3 { font-size: clamp(1.5rem, 2.6vw, 2.45rem); }
.home-services-grid p { color: var(--home-muted); margin: 13px 0 0; font-size: 1rem; }
@media (max-width: 680px) {
  .home-services-grid { grid-template-columns: 1fr; }
}
