:root {
  --paper: #f4f2eb;
  --ink: #081e33;
  --muted: #48595d;
  --line: #c5cac4;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-underline-offset: .28em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #168eb7; outline-offset: 4px; }
.skip { position: absolute; z-index: 4; left: 1rem; top: 1rem; padding: .5rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1rem clamp(1.3rem, 5vw, 5rem); border-bottom: 1px solid var(--line); min-height: 78px; }
.wordmark { white-space: nowrap; font: 2rem/1 var(--sans); text-decoration: none; display: inline-flex; gap: .65rem; align-items: center; }
.wordmark span { border-left: 1px solid var(--line); padding-left: .65rem; font: 600 .75rem/1.2 var(--sans); letter-spacing: .14em; }
nav { display: flex; gap: clamp(1rem, 3vw, 3rem); font-size: .9rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button, .menu { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 44px; padding: .65rem 1.13rem; border: 1px solid currentColor; background: transparent; text-decoration: none; font: 600 .875rem/1.3 var(--sans); }
.button:hover, .menu:hover { background: var(--ink); color: var(--paper); }
.menu { display: none; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; min-height: min(690px, 82svh); }
.hero-copy { display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 3.5rem 1rem 4rem; }
.mark { position: relative; width: 112px; aspect-ratio: .94; overflow: hidden; margin-bottom: 1.7rem; }
.mark img { position: absolute; width: 173%; max-width: none; top: -37%; left: -36.5%; }
.eyebrow { font-size: .875rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 0 0 1.1rem; }
h1, h2 { font: 400 clamp(3.25rem, 6.8vw, 7rem)/.95 var(--sans); letter-spacing: -.027em; margin: 0; }
h1 { font-size: clamp(3.1rem, 5.7vw, 6.3rem); }
h2 em { font-weight: 400; }
.subtitle { font: italic 400 clamp(1.65rem, 2.6vw, 2.5rem)/1.1 var(--sans); margin: .85rem 0 2.35rem; }
.hero-media { position: relative; isolation: isolate; min-height: 340px; overflow: hidden; background: linear-gradient(147deg,#112d41,#378482 65%,#9fb5a6); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-poster, .hero-poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster img { object-fit: cover; }
.section { padding: clamp(3.5rem, 8vw, 8rem) clamp(1.3rem, 7vw, 7.5rem); }
.residence, .details, .location { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.residence-copy > p:not(.eyebrow) { max-width: 32rem; color: var(--muted); margin: 1.8rem 0; }
.facts { display: flex; flex-wrap: wrap; gap: 1.35rem 3rem; border-top: 1px solid var(--line); margin: 2rem 0 0; padding-top: 1rem; }
.facts dt { color: var(--muted); font-size: .875rem; }
.facts dd { margin: 0; }
.placeholder { aspect-ratio: 5/4; margin: 0; display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--ink); background: repeating-linear-gradient(137deg,transparent 0 22px,#324a5320 23px 24px,transparent 25px 46px), #d4dfd9; }
.placeholder figcaption { background: var(--paper); padding: .55rem .8rem; font-size: .875rem; }
.interior { background-color: #e4dbcb; }
.film { background-color: #a7bec6; }
.gallery { background: #e6ebe5; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filters { display: flex; gap: .35rem; flex-wrap: wrap; }
.filters button { border: 1px solid transparent; background: transparent; min-height: 44px; padding: .4rem .75rem; font-size: .875rem; }
.filters button[aria-pressed="true"] { border-color: currentColor; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid .placeholder { aspect-ratio: 4/3; }
.resources { border-top: 1px solid var(--line); }
.resources details { border-bottom: 1px solid var(--line); }
.resources summary { padding: 1rem 0; cursor: pointer; font-weight: 600; }
.resources p { margin: 0 0 1rem; color: var(--muted); }
.location { background: #dce5de; }
address { font-style: normal; margin-bottom: 1.3rem; }
.viewing { text-align: center; color: var(--paper); background: var(--ink); }
.viewing p:last-child { margin: 1.5rem 0 0; }
footer.mast { border: 0; font-size: .875rem; }
@media (max-width: 800px) {
  header.mast { position: relative; }
  .menu { display: inline-flex; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.3rem; }
  nav.is-open { display: flex; flex-wrap: wrap; }
  nav a { padding: .65rem 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.6rem 1rem 3rem; }
  .hero-media { min-height: 0; aspect-ratio: 4/3; }
  .residence, .details, .location { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  footer.mast { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The cover and section layouts follow the proportions of a print property brochure. */
.site-header { position: absolute; z-index: 3; inset: 0 0 auto; color: #fff; border-color: #ffffff50; }
.site-header .wordmark span { border-color: #ffffff65; }
.site-header .button:hover, .site-header .menu:hover { color: var(--ink); background: white; }
.mobile-viewing { display: none; }
.hero { display: grid; grid-template-columns: 1fr; position: relative; isolation: isolate; min-height: max(670px, 95svh); background: #103442; color: #fff; }
.hero-media { position: absolute; z-index: -1; inset: 0; min-height: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#061a2ab3,transparent 28%,#061a2a36 65%,#061a2a8f), linear-gradient(90deg,#061a2ada,#061a2a45 64%,transparent); }
.hero-copy { align-items: flex-start; align-self: end; text-align: left; padding: 8rem clamp(1.3rem, 7vw, 7.5rem) clamp(5.4rem, 14vh, 10rem); }
.hero .mark { width: 81px; margin-bottom: 1.9rem; }
.hero .mark img { filter: brightness(0) invert(1); }
.hero h1 { font-size: clamp(4.5rem, 11vw, 12rem); line-height: .86; }
.hero .eyebrow { margin-bottom: 1.25rem; }
.hero .subtitle { margin: 1.05rem 0 1.8rem; }
.hero .button { background: #f4f2eb; color: var(--ink); border-color: #f4f2eb; }
.hero .button:hover { background: #fff; }
.residence { grid-template-columns: .85fr 1.15fr; }
.placeholder { position: relative; isolation: isolate; overflow: hidden; align-items: end; justify-items: start; text-align: left; padding: clamp(1rem, 2vw, 2rem); background: radial-gradient(ellipse at 75% 13%,#eff4eb 0%,transparent 53%),linear-gradient(150deg,#91a49e,#d3ded4 64%,#adbdb5); }
.placeholder::before { content: ""; position: absolute; inset: 15% 9% 23%; border: 1px solid #263d4945; z-index: -1; }
.placeholder::after { content: ""; position: absolute; width: 44%; height: 52%; top: 23%; right: 9%; border: 1px solid #263d4945; border-right: 0; z-index: -1; }
.placeholder figcaption { background: none; border-top: 1px solid #263d4980; padding: .55rem 0 0; }
.interior { background: radial-gradient(ellipse at 75% 13%,#f8f2e6 0%,transparent 53%),linear-gradient(145deg,#b7a590,#e5dcc9 66%,#bfb2a1); }
.film { background: radial-gradient(ellipse at 75% 13%,#d7e9e5 0%,transparent 53%),linear-gradient(145deg,#7b9da7,#bed5d6 62%,#9db3b9); }
.gallery { background: var(--ink); color: var(--paper); }
.gallery .section-head { border-bottom: 1px solid #f4f2eb55; padding-bottom: 1.4rem; }
.gallery-grid { grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto; }
.gallery-grid .placeholder { aspect-ratio: auto; min-height: clamp(12rem, 19vw, 20rem); }
.gallery-grid .exterior { grid-row: span 2; }
.gallery-grid:has([hidden]) { grid-template-columns: 1fr; grid-template-rows: auto; }
.gallery-grid:has([hidden]) .placeholder { min-height: clamp(18rem, 38vw, 33rem); }
.location { border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .site-header { position: absolute; }
  .site-header nav { color: var(--ink); }
  .mobile-viewing { display: inline; }
  .hero { min-height: max(570px, 92svh); }
  .hero h1 { font-size: clamp(4.15rem, 13vw, 7rem); max-width: 8ch; }
  .hero-media { aspect-ratio: auto; }
  .hero-media::after { background: linear-gradient(180deg,#061a2ac9,transparent 32%,#061a2acc 79%,#061a2ae8); }
  .residence { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-grid .exterior { grid-row: auto; }
}
.hero-media { z-index: 0; }
.hero-copy { position: relative; z-index: 1; pointer-events: none; }
.hero-copy .button { pointer-events: auto; }
.gallery-grid:has([hidden]) .exterior { grid-row: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero { min-height: 100svh; }
.hero .hero-showing {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: max(clamp(1.75rem, 6svh, 4.5rem), calc(env(safe-area-inset-bottom) + 1rem));
  width: max-content;
  margin-inline: auto;
  min-height: 46px;
  padding-inline: 1.6rem;
  border: 1px solid #f7f4e9d9;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-shadow: 0 1px 5px #061c2b;
}
.hero .hero-showing:hover, .hero .hero-showing:focus-visible {
  background: #061c2b80;
  border-color: #fff;
}
.hero-copy {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 0;
}
.hero-logo {
  display: block;
  width: clamp(250px, 36vw, 525px);
  max-width: 96vw;
  height: auto;
  filter: drop-shadow(0 2px 12px #03152599);
}
.hero-media::after {
  background: linear-gradient(180deg, #061a2a88, transparent 25%, transparent 80%, #061a2a44), #061a2a26;
}

.hero-lockup {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-inline: 1rem;
}
.hero-phrase {
  z-index: 1;
  max-width: 44ch;
  margin: 0 0 calc(clamp(250px, 36vw, 525px) * -.16);
  color: #fff;
  font: 500 clamp(.875rem, 1.2vw, 1.05rem)/1.55 var(--sans);
  letter-spacing: .19em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px #031525c9;
  text-wrap: balance;
}

.hero-lockup {
  --logo-size: clamp(250px, 36vw, 525px);
  align-items: center;
}
.hero-lockup > * { grid-area: 1 / 1; }
.hero-logo { width: var(--logo-size); }
.hero-phrase {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.8rem);
  letter-spacing: .16em;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-phrase { animation: hero-phrase-reveal 3s ease both; }
  .hero-logo { animation: hero-logo-reveal 1.25s ease 3s both; }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  .hero-phrase { animation-duration: 2.25s; }
  .hero-logo { animation-duration: .85s; animation-delay: 2.25s; }
}
@keyframes hero-phrase-reveal {
  0%, 100% { opacity: 0; }
  30%, 72% { opacity: 1; }
}
@keyframes hero-logo-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-header { padding-block: 0; }
.header-logo {
  display: grid;
  place-items: center;
  flex: none;
}
.header-logo img {
  display: block;
  width: 76px;
  height: 76px;
  filter: brightness(0) invert(1);
}

.site-header { background: #071b2bed; }
.header-logo img {
  width: clamp(235px, 25vw, 355px);
  height: auto;
  filter: none;
}
@media (max-width: 1020px) {
  .site-header { position: absolute; gap: .65rem; }
  .site-header .menu { display: inline-flex; }
  .site-header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    z-index: 2;
    padding: 1rem 1.3rem;
    color: white;
    background: var(--ink);
    flex-wrap: wrap;
  }
  .site-header nav.is-open { display: flex; }
  .site-header .mobile-viewing { display: inline; }
  .header-logo img { width: clamp(195px, 63vw, 320px); }
}
@media (max-width: 370px) {
  .site-header { padding-inline: .85rem; }
  .site-header .menu { padding-inline: .7rem; }
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
}
.site-header .header-logo { grid-column: 2; }
@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0;
    padding-bottom: .7rem;
  }
  .site-header .header-logo {
    grid-column: 1;
    justify-self: center;
  }
}

/* Keep the header and property mark within the same full-bleed cover. */
.site-header {
  width: min(92%, 1580px);
  margin-inline: auto;
  min-height: 95px;
  padding: .25rem 0 0;
  background: transparent;
  border-color: #fff4;
}
.site-header .header-logo img {
  width: clamp(240px, 22vw, 320px);
}
.hero-media::after {
  background:
    linear-gradient(180deg, #061c2be8 0%, #061c2b65 16%, transparent 37%, transparent 75%, #061c2b55 100%),
    radial-gradient(ellipse at center, #051c3159, transparent 70%);
}
.hero-lockup { --logo-size: clamp(250px, 34vw, 480px); }
.hero-logo {
  filter: drop-shadow(0 2px 10px #03152570);
}
@media (max-width: 640px) {
  .site-header { min-height: auto; padding-bottom: .85rem; }
  .site-header .header-logo img { width: clamp(225px, 61vw, 280px); }
  .hero-media::after {
    background:
      linear-gradient(180deg, #061c2bea, #061c2b65 20%, transparent 42%, transparent 75%, #061c2b55),
      radial-gradient(ellipse at center, #051c3159, transparent 70%);
  }
}

/* Carry the cover palette and spacing through the property presentation. */
:root {
  --paper: #f7f4e9;
  --ink: #092538;
  --muted: #435660;
  --line: #09253835;
  --gutter: clamp(1.3rem, 7vw, 7.5rem);
  --section-space: clamp(4rem, 8vw, 8.5rem);
}
.section {
  padding: var(--section-space) var(--gutter);
}
.section h2 { font-size: clamp(3.1rem, 6.3vw, 6.5rem); }
.section .eyebrow { letter-spacing: .19em; }
.residence { background: linear-gradient(180deg, #e8e4d7, var(--paper) 52%); }
.residence-copy > p:not(.eyebrow) { line-height: 1.75; }
.facts { padding-top: 1.25rem; }
.placeholder {
  background: linear-gradient(155deg, #e1e8df 0%, #afc1b9 58%, #879f9b 100%);
  border: 1px solid #0925381f;
}
.placeholder::before {
  inset: 1rem;
  border-color: #fff7;
}
.placeholder::after { content: none; }
.placeholder figcaption {
  border: 0;
  padding: 0;
  margin: .45rem;
  font-weight: 500;
}
.placeholder.interior { background: linear-gradient(155deg, #eee6d6, #cfc2ab); }
.placeholder.film { background: linear-gradient(155deg, #d2e2e0, #87a7ad); }
.gallery, .details, .location {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}
.gallery::before, .details::before, .location::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter) auto;
  border-top: 1px solid var(--line);
}
.gallery .section-head { border-color: var(--line); }
.filters button { border-radius: 999px; }
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.location {
  border-top: 0;
  background: var(--paper);
}
.location .button { border-radius: 999px; }
.viewing {
  background: radial-gradient(ellipse at 50% 0%, #174254, var(--ink) 72%);
}
footer.mast {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid #f7f4e938;
  padding-inline: var(--gutter);
}
@media (max-width: 800px) {
  .section-head { align-items: start; }
  .details, .location { gap: 2rem; }
}

.residence {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  background: var(--paper);
}
.residence-intro h2 {
  max-width: 13ch;
  font: 400 clamp(2.8rem, 5.5vw, 6rem)/1.02 var(--sans);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.residence-intro .eyebrow { margin-bottom: 1.4rem; }
.residence-description {
  margin: 1.8rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  width: fit-content;
  color: var(--muted);
}
.residence-feature { margin: 0; }
.residence-feature .placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #d8e0d6, #9eafaa);
}
.residence-feature .placeholder::before { content: none; }
.residence-feature figcaption {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .875rem;
}
@media (max-width: 750px) {
  .residence { grid-template-columns: 1fr; }
  .residence-intro h2 { max-width: 13ch; }
  .residence-feature .placeholder { aspect-ratio: 3 / 2; }
}

.residence-story {
  max-width: 37ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.residence-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem clamp(1.25rem, 3vw, 3rem);
  margin: 1.6rem 0 0;
  padding-block: .9rem;
  border-block: 1px solid var(--line);
}
.residence-stats > div { display: flex; flex-direction: column; }
.residence-stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 3vw, 3rem);
}
.residence-stats dd {
  order: -1;
  margin: 0;
  font: 400 clamp(1.8rem, 3vw, 3rem)/1 var(--sans);
}
.residence-stats dt {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.residence-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.45fr);
  gap: clamp(.5rem, 1.5vw, 1.25rem);
}
.residence-stats > div + div { padding-left: clamp(.5rem, 1.5vw, 1.25rem); }

.residence-story {
  max-width: 39ch;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.72;
}
.viewing .viewing-invitation {
  margin: 1.2rem 0 0;
  font: italic 400 clamp(1.5rem, 3vw, 2.4rem)/1.15 var(--sans);
}
.viewing .viewing-status { margin: .8rem 0 0; }

:root { --display: "Tenor Sans", "Trebuchet MS", sans-serif; }
.section h2 {
  font-family: var(--display);
  letter-spacing: -.038em;
  line-height: 1;
}
.section h2 em { font-style: normal; }
.section .eyebrow {
  font-weight: 500;
  letter-spacing: .2em;
}
.residence {
  align-items: start;
  background: linear-gradient(180deg, #eee9dc, var(--paper) 58%);
}
.residence-intro {
  padding-top: clamp(.5rem, 3.25vw, 3.25rem);
}
.residence-intro h2 {
  max-width: 12ch;
  font-size: clamp(3.05rem, 5.65vw, 6rem);
  line-height: .99;
}
.residence-story { margin-top: 1.65rem; }
.residence-feature .placeholder {
  aspect-ratio: 5 / 4;
  background: linear-gradient(155deg, #dfe6db, #b7c8bd 63%, #94aaa4);
}
.residence-feature figcaption {
  margin: 0;
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: .04em;
}
.residence-stats dd {
  font-family: var(--display);
  font-variant-numeric: lining-nums;
}
.viewing .viewing-invitation {
  font-family: var(--display);
  font-style: normal;
}
@media (max-width: 750px) {
  .residence-intro { padding-top: 0; }
  .residence-feature .placeholder { aspect-ratio: 4 / 3; }
}

.residence {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, #eeeae0, var(--paper) 36%);
}
.residence-intro {
  width: min(100%, 43rem);
  padding-top: 0;
  text-align: center;
}
.residence-intro .eyebrow { margin-bottom: 1rem; }
.residence-intro h2 {
  max-width: none;
  font: 400 clamp(2.45rem, 5.2vw, 5.4rem)/1.04 var(--sans);
  letter-spacing: -.045em;
}
.residence-intro h2 span { display: block; color: #365d60; }
.residence-story {
  max-width: 46ch;
  margin: 1.55rem auto 0;
}
.residence-stats {
  margin: 1.75rem auto 0;
  max-width: 31rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.residence-stats > div { padding-inline: .25rem; }
.residence-stats > div + div { padding-left: .25rem; }
.residence-stats dd { font-family: var(--sans); font-size: clamp(1.5rem, 3vw, 2.35rem); }
.residence-stats dt { letter-spacing: .07em; }
.residence-feature { width: min(100%, 67rem); }
.residence-feature .placeholder {
  aspect-ratio: 2.1;
  background: linear-gradient(155deg, #e1e8df, #a7bdb5);
}
@media (max-width: 600px) {
  .residence-feature .placeholder { aspect-ratio: 4 / 3; }
}

.residence-tour {
  margin-top: 1.5rem;
  border-radius: 999px;
  padding-inline: 1.5rem;
}

.property-film { background: var(--ink); color: var(--paper); }
.property-film-inner { max-width: 78rem; margin-inline: auto; }
.property-film h2 { margin-bottom: clamp(1.4rem, 3.5vw, 2.75rem); }
.property-film-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 1rem;
  background: radial-gradient(ellipse at 50% 85%, #184252, #081e2f 74%);
  border: 1px solid #f7f4e94d;
  text-align: center;
}
.property-film-frame figcaption {
  color: #f7f4e9;
  font-size: .875rem;
  letter-spacing: .08em;
}
.gallery-grid .exterior { grid-row: auto; }

.gallery h2 { margin-bottom: clamp(1.4rem, 3.5vw, 2.75rem); }
.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
}
.gallery-grid .placeholder {
  aspect-ratio: 3 / 2;
  min-height: 0;
}
.gallery-grid .placeholder::before { content: none; }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery .gallery-grid {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.gallery-grid > figure {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-photo { margin: 0; min-width: 0; }
.gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #e6ebe5;
}
.gallery-photo figcaption {
  padding: .8rem 0;
  color: var(--muted);
  font-size: .875rem;
}
.gallery-grid .placeholder { aspect-ratio: 16 / 9; }
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: .75rem;
}
.gallery-controls .button { border-radius: 999px; }
.gallery-controls .button:disabled { opacity: .5; cursor: default; }
.gallery-controls .button:disabled:hover { background: transparent; color: var(--ink); }
.gallery-position { color: var(--muted); font-size: .875rem; }
@media (max-width: 600px) {
  .gallery-grid .placeholder { aspect-ratio: 4 / 3; }
}

.property-film-inner { text-align: center; }
.property-film-inner > .eyebrow { color: #d1e0dc; }
.property-film #property-film-title {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.75rem, 7vw, 7.25rem);
  text-wrap: balance;
}
.property-film #property-film-title em {
  display: inline-block;
  font-family: var(--sans);
  font-style: italic;
  color: #e3eeea;
  text-shadow: 0 0 .24em #b6d8d580, 0 0 .6em #a3c9ca60;
}

.property-film {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 57vw, 850px);
  padding: 4.5rem 1rem;
  overflow: hidden;
}
.property-film-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #081e3380, #09253820 35%, #09253822 65%, #081e3380);
}
.property-film-overlay { text-align: center; }
.property-film #property-film-title { max-width: none; margin: 0; }
.property-film #property-film-title span {
  display: block;
  font: 600 clamp(.85rem, 1.65vw, 1.45rem)/1.4 var(--sans);
  letter-spacing: .35em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px #081e33;
}
.property-film #property-film-title em {
  display: block;
  padding: .02em .11em .06em 0;
  font: italic 400 clamp(5.25rem, 24vw, 24rem)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.075em;
  white-space: nowrap;
  color: #fff;
  mix-blend-mode: difference;
  text-shadow: none;
}
.property-film-overlay p { margin: .55rem 0 0; text-shadow: 0 1px 8px #081e33; }
.property-film-fullscreen {
  position: absolute;
  top: clamp(1rem, 3vw, 2.75rem);
  right: clamp(1rem, 4vw, 4rem);
  min-height: 44px;
  padding: .25rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--paper);
  font: 600 .8rem/1.35 var(--sans);
  text-transform: uppercase;
  letter-spacing: .13em;
  text-shadow: 0 1px 8px #081e33;
}
.property-film:fullscreen { width: 100%; height: 100%; }

/* The inline preview fills the cover. Fullscreen shows the complete film frame. */
.property-film-video { object-position: 50% 50%; }
.property-film:fullscreen { padding: 0; background: #000; }
.property-film:fullscreen .property-film-video { object-fit: contain; }
.property-film:fullscreen::before,
.property-film:fullscreen .property-film-overlay { display: none; }
.property-film:fullscreen .property-film-fullscreen {
  padding-inline: .75rem;
  border-bottom: 0;
  border-radius: 999px;
  background: #081e33d9;
}

.property-film-fullscreen {
  position: static;
  margin-top: .55rem;
  cursor: pointer;
}
.property-film:fullscreen .property-film-overlay { display: block; }
.property-film:fullscreen #property-film-title { display: none; }
.property-film:fullscreen .property-film-fullscreen { position: absolute; margin-top: 0; }

.property-film #property-film-title .property-film-kicker { margin-bottom: .35em; }

.setting-map-frame {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  background: #d5e4df;
}
#setting-map { height: clamp(340px, 46vw, 620px); background: #d5e4df; }
#setting-map .leaflet-tile-pane { filter: saturate(.72) contrast(.94) brightness(1.025); }
#setting-map .leaflet-control-zoom a { background: var(--paper); color: var(--ink); }
#setting-map-status {
  position: absolute;
  z-index: 500;
  inset: auto auto 1.5rem 1rem;
  max-width: calc(100% - 2rem);
  margin: 0;
  padding: .45rem .65rem;
  background: var(--paper);
  color: var(--ink);
  font-size: .875rem;
  pointer-events: none;
}
.setting-home-pin span {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 15px #3a756ab3;
}
.setting-home-pin span::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #234e46;
  border-radius: inherit;
  box-shadow: 0 0 16px #3a756ab3;
  animation: setting-map-pulse 2.4s ease-out infinite;
}
.setting-home-pin img { width: 29px; height: 29px; }
.setting-place-pin { border: 2px solid var(--paper); border-radius: 50%; background: #365d60; }
@keyframes setting-map-pulse {
  from { opacity: .8; transform: scale(1); }
  to { opacity: 0; transform: scale(1.65); }
}
@media (prefers-reduced-motion: reduce) {
  .setting-home-pin span::before { animation: none; opacity: .4; }
}

.location { row-gap: 0; }
.location > div:nth-child(-n+2) { margin-bottom: clamp(1.5rem, 4vw, 4rem); }
.setting-map-credits {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding: .5rem .05rem 0;
  color: var(--muted);
  font-size: .75rem;
  text-align: right;
}
.setting-map-credits .leaflet-control-attribution {
  float: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.location #location-title,
.details #plans-title {
  font: 400 clamp(2.45rem, 5.2vw, 5.4rem)/1.04 var(--sans);
  letter-spacing: -.045em;
}

.setting-story p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.72;
}

#setting-map { background: #aac9c9; }
#setting-map .mapboxgl-ctrl-group {
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 0 0 1px #23465340;
}
.setting-home-pin {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.setting-place-pin { width: 16px; height: 16px; padding: 0; cursor: pointer; }
.setting-map-credits a { text-underline-offset: .15em; }

.setting-categories {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .85rem;
}
.setting-category {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: .875rem;
}
.setting-category:hover { border-color: var(--ink); }
.setting-category[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.setting-category svg, .setting-place-pin svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.setting-place-pin { display: grid; place-items: center; width: 32px; height: 32px; color: var(--paper); }
.setting-category-status {
  grid-column: 1 / -1;
  margin: 0 0 .7rem;
  color: var(--muted);
  font-size: .875rem;
}

.setting-route { grid-column: 1 / -1; }
.setting-route { padding: .9rem 0; border-top: 1px solid var(--line); }
.setting-route-heading, .setting-route-modes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}
.setting-route-heading { justify-content: space-between; }
.setting-route-heading h3 { margin: 0; font-size: 1.05rem; }
.setting-route-modes { margin-top: .55rem; }
.setting-route button, .setting-directions { border-radius: 999px; }
.setting-route [aria-pressed="true"] { color: var(--paper); background: var(--ink); }
.setting-route button:disabled { opacity: .65; cursor: default; }
.setting-route-status { margin: .6rem 0 0; font-size: .875rem; color: var(--muted); }
#setting-map .mapboxgl-popup-content { font: .875rem/1.45 var(--sans); color: var(--ink); background: var(--paper); }
.setting-popup-place + .setting-popup-place { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.setting-popup-place p { margin: .25rem 0 .45rem; }

.setting-place-pin[data-map-category="restaurants"] { background: #825845; }
.setting-category[data-map-category="restaurants"]:not([aria-pressed="true"]) svg { color: #825845; }

.setting-place-pin[data-map-category="fitness"] { background: #4d617b; }
.setting-category[data-map-category="fitness"]:not([aria-pressed="true"]) svg { color: #4d617b; }

.setting-place-pin[data-map-category="parks"] { background: #4b6548; }
.setting-category[data-map-category="parks"]:not([aria-pressed="true"]) svg { color: #4b6548; }
.setting-place-pin[data-map-category="golf"] { background: #796435; }
.setting-category[data-map-category="golf"]:not([aria-pressed="true"]) svg { color: #796435; }

#setting-map .mapboxgl-marker.setting-home-pin { z-index: 2; }
#setting-map .mapboxgl-popup { z-index: 3; }

.property-specifications {
  position: relative;
  background: var(--paper);
}
.property-specifications::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter) auto;
  border-top: 1px solid var(--line);
}
.property-specifications h2 {
  max-width: 100%;
  font: 400 clamp(2.25rem, 5.2vw, 5.4rem)/1.04 var(--sans);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.specification-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 6vw, 6rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.specification-groups h3 {
  margin: 0 0 .65rem;
  font: 500 clamp(1.1rem, 2vw, 1.45rem)/1.25 var(--sans);
}
.specification-list { margin: 0; border-top: 1px solid var(--line); }
.specification-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.specification-list dt { color: var(--muted); }
.specification-list dd { margin: 0; font-weight: 500; }
@media (max-width: 700px) {
  .specification-groups { grid-template-columns: 1fr; }
}

.listing-footer {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background: var(--ink);
}
.listing-footer-photo, .listing-footer-photo img, .listing-footer::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.listing-footer-photo { z-index: -2; }
.listing-footer-photo img { object-fit: cover; object-position: 57% center; }
.listing-footer::before {
  content: "";
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #061c2b92, #061c2b29 27%, #061c2b38 66%, #061c2bac),
    radial-gradient(ellipse at center, #051c3170 10%, #051c311c 65%, transparent 90%);
}
.listing-footer .viewing {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  text-align: left;
  background: transparent;
}
.listing-footer #viewing-title {
  font: 400 clamp(2.45rem, 5.2vw, 5.4rem)/1.04 var(--sans);
  letter-spacing: -.045em;
}
.listing-footer .viewing-invitation {
  max-width: 38ch;
  font: 400 clamp(1rem, 1.4vw, 1.2rem)/1.65 var(--sans);
  color: #d9e4e2;
}
.showing-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.showing-actions .button { border-radius: 999px; padding-inline: 1.25rem; }
.showing-actions .showing-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.showing-actions .button:hover { background: #dce8e3; color: var(--ink); border-color: #dce8e3; }
.showing-agent { border-left: 1px solid #f7f4e94d; padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.showing-agent > img { display: block; width: min(100%, 285px); height: auto; margin: 0 0 .75rem; }
.showing-agent p { margin: 0 0 .25rem; }
.showing-agent .showing-agent-name { font-size: 1.2rem; font-weight: 500; }
.listing-footer-bottom {
  margin-inline: var(--gutter);
  padding: 1rem 0;
  min-height: 60px;
  border-top: 1px solid #f7f4e938;
  border-bottom: 0;
  font-size: .875rem;
}
@media (max-width: 700px) {
  .listing-footer .viewing { grid-template-columns: 1fr; }
  .showing-agent { border-left: 0; border-top: 1px solid #f7f4e94d; padding: 1rem 0 0; }
}

.showing-agent-profile {
  display: grid;
  grid-template-columns: clamp(92px, 11vw, 152px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.75rem, 1.8vw, 1.25rem);
}
.showing-agent-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 48%;
  border: 1px solid #f7f4e975;
  border-radius: 50%;
}

.listing-footer .viewing {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.listing-footer .viewing-invitation { margin-inline: auto; }
.showing-actions { justify-content: center; }
.showing-agent {
  width: min(100%, 31rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0 0;
  border: 0;
  border-top: 1px solid #f7f4e94d;
}
.showing-agent-profile {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}
.showing-agent .showing-agent-credit {
  margin-bottom: 1rem;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.showing-serhant-logo {
  display: block;
  width: 124px;
  max-width: 100%;
  height: auto;
  margin: .15rem 0 .15rem -8.68px;
}

.showing-agent-email {
  display: block;
  margin-top: .25rem;
  overflow-wrap: anywhere;
}

.showing-agent-profile > div { line-height: 1.25; }
.showing-agent-profile p { margin-bottom: .12rem; }
.showing-agent-profile .showing-agent-email { margin-top: .15rem; }

.residence-price {
  display: grid;
  justify-items: center;
  gap: .38rem;
  margin: 1.5rem 0 0;
  color: var(--ink);
}
.residence-price span {
  color: var(--muted);
  font: 500 .8rem/1.3 var(--sans);
  letter-spacing: .17em;
  text-transform: uppercase;
}
.residence-price strong {
  font: italic 400 clamp(1.8rem, 3.1vw, 2.65rem)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.residence-price + .residence-tour { margin-top: 1.15rem; }


.specification-address {
  margin: .85rem 0 0;
  color: var(--muted);
}
.buyer-answers {
  grid-column: 1 / -1;
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.buyer-answers h3 {
  margin: 0 0 1.2rem;
  font: 400 clamp(1.65rem, 3vw, 2.55rem)/1.1 var(--sans);
  letter-spacing: -.04em;
}
.buyer-answers details {
  margin-top: .45rem;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #e9eee5, #f6f4eb 80%);
}
.buyer-answers summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: .7rem clamp(.9rem, 2vw, 1.4rem);
  color: var(--ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.buyer-answers summary::-webkit-details-marker { display: none; }
.buyer-answers summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; }
.buyer-answers details[open] summary::after { content: "−"; }
.buyer-answers details p {
  margin: 0;
  padding: 0 clamp(.9rem, 2vw, 1.4rem) 1rem;
  color: var(--muted);
  line-height: 1.65;
}
.buyer-answers a { color: var(--ink); }

@media (max-width: 800px) {
  header.mast.site-header { position: absolute; }
  .site-header { padding-top: max(.25rem, env(safe-area-inset-top)); }
  .section, .property-film {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .location #setting-map { height: clamp(300px, 50svh, 460px); }
  #setting-map .mapboxgl-ctrl-group button { width: 44px; height: 44px; }
  .listing-footer-bottom { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .residence-stats dt { letter-spacing: .035em; }
  .gallery-controls .button { padding-inline: .75rem; }
}
@media (max-height: 450px) and (orientation: landscape) {
  .site-header { min-height: 65px; }
  .site-header .header-logo img { width: min(25vw, 225px); }
  .hero-lockup { --logo-size: min(34vw, 65svh); }
  .property-film { min-height: max(320px, 95svh); }
}
