/* A real home in our care: the photographs retain their own proportions. */
.home-showcase {
  --showcase-height: clamp(320px, 35vw, 440px);
  --showcase-gap: clamp(18px, 2.4vw, 30px);
  --showcase-radius: 20px;
  padding-block: 28px 54px;
  scroll-margin-top: 100px;
}
.home-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.home-showcase-heading .eyebrow { margin-bottom: 16px; }
.home-showcase-heading h2 { max-width: 760px; margin: 0; color: #fffaf0; font-size: clamp(38px, 4.8vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
.home-showcase-heading h2 em { color: var(--tiffany-light); font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; }
.home-showcase-intro { max-width: 380px; margin: 18px 0 0; color: rgb(242 239 232 / 78%); font-size: 13px; line-height: 1.8; }
.home-showcase-place { flex-shrink: 0; display: inline-flex; align-items: center; gap: 9px; padding-bottom: 6px; color: rgb(242 239 232 / 85%); font: 500 10px/1.4 'Space Grotesk', sans-serif; letter-spacing: .18em; }
.home-showcase-place::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--tiffany-light); }
.home-showcase-rail {
  display: flex; gap: var(--showcase-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: auto; scroll-snap-type: none; overflow-anchor: none; scrollbar-width: none; outline-offset: 6px;
  /* Round the image viewport independently from the captions below it. */
  --showcase-mask:
    linear-gradient(#000 0 0) center top / calc(100% - var(--showcase-radius) - var(--showcase-radius)) 100% no-repeat,
    linear-gradient(#000 0 0) left var(--showcase-radius) / 100% calc(var(--showcase-height) - var(--showcase-radius) - var(--showcase-radius)) no-repeat,
    radial-gradient(circle var(--showcase-radius) at right bottom, #000 calc(var(--showcase-radius) - .5px), transparent var(--showcase-radius)) left top / var(--showcase-radius) var(--showcase-radius) no-repeat,
    radial-gradient(circle var(--showcase-radius) at left bottom, #000 calc(var(--showcase-radius) - .5px), transparent var(--showcase-radius)) right top / var(--showcase-radius) var(--showcase-radius) no-repeat,
    radial-gradient(circle var(--showcase-radius) at right top, #000 calc(var(--showcase-radius) - .5px), transparent var(--showcase-radius)) left calc(var(--showcase-height) - var(--showcase-radius)) / var(--showcase-radius) var(--showcase-radius) no-repeat,
    radial-gradient(circle var(--showcase-radius) at left top, #000 calc(var(--showcase-radius) - .5px), transparent var(--showcase-radius)) right calc(var(--showcase-height) - var(--showcase-radius)) / var(--showcase-radius) var(--showcase-radius) no-repeat,
    linear-gradient(#000 0 0) left bottom / 100% calc(100% - var(--showcase-height)) no-repeat;
  -webkit-mask: var(--showcase-mask);
  mask: var(--showcase-mask);
}
.home-showcase-rail::-webkit-scrollbar { display: none; }
.home-showcase-slide { flex: 0 0 auto; min-width: 0; margin: 0; scroll-snap-align: start; }
.home-showcase-slide img { display: block; width: auto; max-width: none; height: var(--showcase-height); border-radius: var(--showcase-radius); object-fit: contain; background: rgb(7 8 9 / 15%); }
.home-showcase-slide figcaption { display: flex; align-items: baseline; gap: 14px; padding: 17px 2px 3px; color: rgb(242 239 232 / 86%); font-size: 12px; letter-spacing: .01em; }
.home-showcase-slide figcaption > span:first-child { color: var(--tiffany-light); font: 500 10px/1.5 'Space Grotesk', sans-serif; letter-spacing: .08em; }
@media (max-width: 760px) {
  .home-showcase { --showcase-height: clamp(200px, 52vw, 320px); --showcase-gap: 18px; --showcase-radius: 16px; width: calc(100% - 40px); padding-block: 12px 34px; }
  .home-showcase-heading { display: block; margin-bottom: 24px; }
  .home-showcase-heading h2 { font-size: clamp(36px, 9vw, 48px); }
  .home-showcase-intro { font-size: 12px; line-height: 1.75; }
  .home-showcase-place { margin-top: 20px; font-size: 9px; }
  .home-showcase-slide figcaption { padding-top: 13px; gap: 10px; font-size: 11px; }
}

/* Regional landing: the homes are visible before the first scroll. */
body[data-region] .hero.hero-property {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  height: auto;
  min-height: calc(100svh - 84px);
  max-height: none;
  padding: clamp(28px, 5svh, 64px) clamp(32px, 5vw, 88px);
  overflow: hidden;
}
body[data-region] .hero.hero-property::before {
  display: none;
  background: none;
}
/* One continuous film treatment spans the navigation and the page content. */
body[data-region] .site-header,
body[data-region] .site-header.is-scrolled {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: 0;
}
.hero.hero-property::after { display: none; }
.hero-property .hero-copy {
  width: 100%;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.hero-property .hero-copy .eyebrow { margin-bottom: 22px; font-size: 9px; line-height: 1.6; }
.hero-property .hero-copy h1 {
  width: 100%;
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(44px, 4.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
  overflow-wrap: normal;
}
.hero-property .hero-copy h1 em { font-size: 1.05em; letter-spacing: -.035em; }
.hero-property .hero-lede { width: 100%; max-width: 450px; margin-bottom: 25px; font-size: 14px; line-height: 1.8; }
.hero-property .hero-actions { gap: 16px 22px; }
.hero-property .hero-actions .button-primary { min-height: 52px; padding-inline: 19px; }
.hero-property .hero-actions .button-primary span { font-size: 13px; }
.hero-property .hero-actions .text-link { font-size: 11px; }
.hero-property .hero-note { max-width: 340px; margin-top: 20px; font-size: 10px; line-height: 1.7; }
.hero-property .hero-showcase {
  --showcase-height: clamp(300px, 44svh, 480px);
  --showcase-gap: 24px;
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.hero-property .home-showcase-heading { align-items: center; gap: 15px; margin-bottom: 18px; }
.hero-property .home-showcase-heading h2 { display: flex; gap: 10px; align-items: center; max-width: none; margin: 0; color: var(--tiffany-pale); font: 600 9px/1.6 'Space Grotesk', sans-serif; letter-spacing: .14em; }
.hero-property .home-showcase-place { margin: 0; padding: 0; font-size: 9px; }
.hero-property .home-showcase-slide figcaption { padding-top: 14px; font-size: 11px; }
@media (min-width: 761px) and (max-width: 1100px) {
  body[data-region] .hero.hero-property { min-height: calc(100svh - 70px); gap: 26px; padding-inline: 28px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .hero-property .hero-copy h1 { font-size: clamp(39px, 4.6vw, 51px); }
  .hero-property .hero-lede { font-size: 13px; }
  .hero-property .hero-showcase { --showcase-height: clamp(280px, 43svh, 430px); --showcase-gap: 20px; }
  .hero-property .home-showcase-heading .eyebrow-mark { display: none; }
  .hero-property .home-showcase-heading h2 { font-size: 8px; letter-spacing: .1em; }
  .hero-property .home-showcase-place { font-size: 8px; letter-spacing: .1em; }
}
@media (max-width: 760px) {
  body[data-region] .hero.hero-property {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: auto;
    gap: 17px;
    padding: 24px 20px 30px;
  }
  .hero-property .hero-copy { display: contents; }
  .hero-property .hero-copy > .eyebrow { z-index: 3; grid-row: 1; margin: 0; font-size: 8px; line-height: 1.5; }
  .hero-property .hero-copy h1 { z-index: 3; grid-row: 2; max-width: 650px; margin: 0; font-size: clamp(32px, 8.5vw, 48px); line-height: 1.02; letter-spacing: -.045em; }
  .hero-property .hero-showcase { grid-row: 3; --showcase-height: clamp(190px, 27svh, 280px); --showcase-gap: 18px; }
  .hero-property .hero-lede { z-index: 3; grid-row: 4; max-width: 600px; margin: 0; font-size: 12px; line-height: 1.7; }
  .hero-property .hero-actions { z-index: 3; grid-row: 5; width: 100%; gap: 14px; }
  .hero-property .hero-actions .button-primary { min-height: 46px; padding-inline: 16px; }
  .hero-property .hero-actions .button-primary span { font-size: 12px; }
  .hero-property .hero-actions .text-link { font-size: 10px; }
  .hero-property .hero-note { display: none; }
  .hero-property .home-showcase-heading { display: flex; gap: 10px; margin-bottom: 12px; }
  .hero-property .home-showcase-heading h2 { font-size: 7.5px; line-height: 1.5; letter-spacing: .1em; }
  .hero-property .home-showcase-heading h2 .eyebrow-mark { width: 18px; }
  .hero-property .home-showcase-place { font-size: 8px; letter-spacing: .12em; }
  .hero-property .home-showcase-slide figcaption { padding-top: 10px; font-size: 10px; }
}
