:root {
  --cream: #f4f1eb;
  --paper: #fbfaf7;
  --ink: #202522;
  --muted: #6f746f;
  --forest: #27382f;
  --forest2: #16231d;
  --line: rgba(32, 37, 34, 0.18);
  --gold: #b8a982;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --contact-bar-height: 34px;
  --nav-height: 92px;
  --header-height: calc(var(--contact-bar-height) + var(--nav-height));
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(
    var(--contact-bar-height) + max(var(--nav-height), 78px) + 14px
  );
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-pad {
  padding: 10rem 6vw;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  font-size: clamp(2.8rem, 5.7vw, 6rem);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e746f;
  margin-bottom: 2rem;
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.underline-link {
  display: inline-block;
  padding-bottom: 0.35rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  position: relative;
  transition: opacity 0.3s ease;
}
.underline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.underline-link:hover {
  opacity: 0.65;
}

.underline-link:hover::after {
  transform: scaleX(0.4);
}

.outline-button {
  margin-top: 2rem;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--ink);
  padding: 0.95rem 1.3rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.outline-button:hover {
  background: var(--ink);
  color: var(--white);
}
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--contact-bar-height) 4vw 0;
  color: #fff;
  transition: 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.site-header.scrolled {
  height: calc(var(--contact-bar-height) + 78px);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-color: var(--line);
}
.header-contact {
  position: absolute;
  inset: 0 0 auto;
  height: var(--contact-bar-height);
  margin: 0;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--white);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0.025em;
  transition: background-color 0.35s ease;
}
.site-header.scrolled .header-contact,
.listings-page .header-contact {
  background: #202722;
}
.home-page .site-header {
  transition-duration: 0.2s;
}
.home-page .site-header:not(.scrolled) {
  height: var(--nav-height);
  padding-top: 0;
}
.home-page .header-contact {
  background: #202722;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.home-page .site-header:not(.scrolled) .header-contact {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-page .site-header,
  .home-page .header-contact {
    transition: none;
  }
}
.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  transition: opacity 0.3s ease;
}
.header-contact a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 1rem;
}
.header-contact a:hover {
  opacity: 0.75;
}
.header-contact a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}
.header-contact span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.header-contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand {
  display: flex;
  align-items: center;
  min-width: 235px;
}
.fade-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
  line-height: 1;
}

.fade-wordmark strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.fade-wordmark .realtor-text {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.28rem;
  margin-left: 0.08rem;
}
.desktop-nav {
  display: flex;
  gap: 1.65rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.desktop-nav a {
  position: relative;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: 0.25s;
}
.desktop-nav a:hover:after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.search-btn,
.menu-btn {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.search-btn {
  font-size: 1.6rem;
}
.connect-pill {
  --pill-fill: #fff;

  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.7rem 1rem;

  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  background: linear-gradient(90deg, var(--pill-fill), var(--pill-fill)) left /
    0% 100% no-repeat;

  transition:
    background-size 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.connect-pill:hover {
  background-size: 100% 100%;
  color: var(--ink);
  border-color: var(--pill-fill);
}

.site-header.scrolled .connect-pill {
  --pill-fill: var(--forest);
}

.site-header.scrolled .connect-pill:hover {
  color: #fff;
}

.menu-btn {
  display: none;
  width: 38px;
  height: 32px;
  position: relative;
}
.menu-btn span {
  position: absolute;
  width: 24px;
  height: 1px;
  background: currentColor;
  left: 7px;
}
.menu-btn span:first-child {
  top: 11px;
}
.menu-btn span:last-child {
  top: 20px;
}
.mobile-menu {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: var(--forest2);
  color: #fff;
  transform: translateX(100%);
  transition: 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  padding: 8rem 8vw;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 4rem);
  padding: 0.2rem 0;
}
.menu-close {
  position: absolute;
  right: 5vw;
  top: 2rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
}
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  color: #fff;
  overflow: hidden;
  background: #111;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1s ease,
    transform 6s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 20, 16, 0.7) 0%,
      rgba(11, 20, 16, 0.3) 48%,
      rgba(11, 20, 16, 0.05) 80%
    ),
    linear-gradient(0deg, rgba(8, 13, 10, 0.62) 0%, transparent 35%);
}
.hero-content {
  position: absolute;
  z-index: 2;
  left: 6vw;
  bottom: 13vh;
  max-width: 840px;
}
.hero-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.hero-content h1 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-size: clamp(3.7rem, 7vw, 7.4rem);
  margin: 0 0 1.5rem;
}
.hero-content p {
  max-width: 620px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.86);
}
.hero-links {
  display: flex;
  gap: 2.4rem;
  margin-top: 2.2rem;
}
.text-link {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  padding-bottom: 0.35rem;
}
.hero-property {
  position: absolute;
  z-index: 2;
  right: 6vw;
  bottom: 5.5vh;
  text-align: right;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero-property span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
}
.hero-pagination {
  position: absolute;
  z-index: 2;
  left: 6vw;
  bottom: 5.5vh;
  display: flex;
  gap: 0.75rem;
}
.hero-dot {
  background: none;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 1rem 0.35rem 0;
  cursor: pointer;
  font-size: 0.7rem;
}
.hero-dot.active {
  border-color: #fff;
}
.intro-section {
  background: var(--cream);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10vw;
  align-items: end;
}
.intro-copy {
  max-width: 520px;
}
.intro-copy p {
  font-size: 1.06rem;
  color: #555f59;
  margin: 0 0 2rem;
}
.listings {
  display: grid;
  grid-template-columns: minmax(0, min(43vw, 620px)) minmax(280px, 420px);
  column-gap: clamp(3rem, 8vw, 10rem);
  align-items: start;
  justify-content: space-between;
  overflow: hidden;
}
.listings .section-heading {
  grid-column: 1 / -1;
}
.all-listings-button {
  grid-column: 1;
  grid-row: 3;
  margin-top: 3rem;
  padding-left: 0;
}
.all-listings-button .outline-button {
  margin-top: 0;
}
.section-heading {
  margin-bottom: 3.5rem;
}
.slider-actions {
  display: flex;
  gap: 0.7rem;
}
.slider-actions button,
.testimonial-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.listing-track {
  grid-column: 1;
  grid-row: 2;
  align-items: flex-start;
  display: block;
  overflow-x: hidden;
  padding-bottom: 0;
}
.property-card {
  display: inline-block;
}
.listing-track::-webkit-scrollbar {
  display: none;
}
.property-card {
  width: min(43vw, 620px);
  min-width: min(43vw, 620px);
  scroll-snap-align: start;
}
.listings .property-card {
  width: 100%;
  min-width: 0;
}
.property-image {
  height: 380px;
  position: relative;
  overflow: hidden;
}
.property-image img {
  transition: 0.6s;
}
.featured-property-copy {
  grid-column: 2;
  grid-row: 2;
  max-width: 420px;
  margin: 3.5rem 0 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.featured-property-copy h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 400;
  margin: 1.5rem 0;
}

.featured-property-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.featured-property-copy span {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.property-card:hover img {
  transform: scale(1.035);
}
.tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(250, 248, 243, 0.9);
  padding: 0.45rem 0.7rem;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
.property-meta {
  padding: 1.3rem 0 1.8rem;
  border-bottom: 1px solid var(--line);
}
.property-meta h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
}
.property-meta p {
  font-size: 1.05rem;
  margin: 0.4rem 0 0.1rem;
}
.property-meta small {
  color: var(--muted);
}
.listings-page,
.property-page {
  background: var(--cream);
}
.listings-page .site-header {
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-color: var(--line);
}
.listings-page .site-header .connect-pill {
  --pill-fill: var(--forest);
}
.listings-page .site-header .connect-pill:hover {
  color: #fff;
}
.listings-page-main {
  padding-top: var(--header-height);
}
.all-listings-section {
  min-height: calc(100vh - var(--header-height));
  background: var(--cream);
}
.listings-page-heading {
  margin-bottom: 4rem;
}
.all-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 3.5rem;
}
.all-listings-grid .property-card {
  display: block;
  width: 100%;
  min-width: 0;
}
.property-card-link {
  display: block;
}
.property-card-link:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 5px;
}
.property-hero-content {
  right: 6vw;
  max-width: none;
}
.property-hero-title-row {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 1fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: center;
  margin-bottom: 1.5rem;
}
.property-hero-content h1 {
  margin-bottom: 0;
  font-size: clamp(3.7rem, 6.2vw, 6.8rem);
}
.property-hero-content > p {
  max-width: 600px;
  line-height: 1.7;
}
.property-hero-summary {
  position: static;
  justify-self: end;
  color: #fff;
  text-align: right;
}
.property-hero-summary.reveal {
  transform: translateY(28px);
}
.property-hero-summary.reveal.visible {
  transform: none;
}
.property-hero-summary .property-hero-price {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}
.property-hero-summary .property-hero-facts {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.property-hero-summary .property-hero-facts span {
  display: inline-block;
  margin: 0 0.65rem;
  color: rgba(255, 255, 255, 0.55);
}
.property-gallery-section {
  background: var(--paper);
}
.property-gallery-heading {
  margin-bottom: 4rem;
}
.property-gallery-heading .display {
  font-size: clamp(3rem, 5vw, 5.2rem);
}
.property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.property-gallery-item {
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
}
.property-gallery-item img {
  transition: transform 0.55s ease;
}
.property-gallery-item:hover img {
  transform: scale(1.025);
}
.property-gallery-item img[role="button"] {
  cursor: zoom-in;
}
.property-gallery-item img[role="button"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}
.property-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  border: 0;
  background: rgba(12, 17, 14, 0.92);
  color: #fff;
  overflow: hidden;
}
.property-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.35);
}
.property-lightbox[open] {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-rows: 48px minmax(0, 1fr) 24px;
  gap: 0.75rem;
  align-items: center;
}
.property-lightbox-stage {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  touch-action: pan-y pinch-zoom;
}
.property-lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.property-lightbox-button {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(12, 17, 14, 0.7);
  color: #fff;
  font-family: var(--sans);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.property-lightbox-button:hover {
  background: var(--forest);
}
.property-lightbox-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.property-lightbox-button:disabled {
  visibility: hidden;
}
.property-lightbox-close {
  grid-column: 3;
  grid-row: 1;
}
.property-lightbox-previous {
  grid-column: 1;
  grid-row: 2;
}
.property-lightbox-next {
  grid-column: 3;
  grid-row: 2;
}
.property-lightbox-counter {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.press-strip {
  padding: 4.8rem 0;
  background: var(--forest2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  color: #fff;
}
.press-strip > p {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  margin: 0 0 2.5rem;
  color: rgba(255, 255, 255, 0.62);
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  padding-right: 2.25rem;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.4vw, 4.9rem);
  font-weight: 400;
  line-height: 1;
  color: #f3efe7;
  white-space: nowrap;
  letter-spacing: -0.035em;
}
.marquee-divider {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--gold);
  white-space: nowrap;
}
.logo-marquee:hover .logo-row {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.neighbourhoods {
  background: #fff;
}
.neighbourhood-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 1.2rem;
  margin-top: 3rem;
}
.hood-card {
  position: relative;
  overflow: hidden;
}
.hood-card.tall {
  grid-row: 1/3;
}
.hood-card.wide {
  grid-column: 2/4;
}
.hood-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 50%);
}
.hood-card img {
  transition: 0.7s;
}
.hood-card:hover img {
  transform: scale(1.04);
}
.hood-card span {
  position: absolute;
  z-index: 2;
  left: 1.4rem;
  bottom: 1.1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 2rem;
}
.spaces {
  background: var(--forest2);
  color: #fff;
  padding-bottom: 8rem;
  overflow: hidden;
}
.gallery-loop {
  display: flex;
  gap: 1.2rem;
  padding-left: 6vw;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-loop::-webkit-scrollbar {
  display: none;
}
.gallery-card {
  min-width: 38vw;
  height: 480px;
}
.gallery-card:nth-child(even) {
  margin-top: 4rem;
}
.service-pair {
  background: var(--cream);
}
.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.service-card.reverse .service-image {
  order: 2;
}
.service-image {
  min-height: 620px;
}
.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
}
.service-copy .display {
  font-size: clamp(3rem, 4.7vw, 5rem);
  margin-bottom: 2rem;
}
.service-copy p {
  max-width: 510px;
  color: #59615c;
}
.commercial {
  min-height: 900px;
  position: relative;
  color: #fff;
}
.commercial > img {
  position: absolute;
  inset: 0;
}
.commercial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 20, 16, 0.78),
    rgba(12, 20, 16, 0.22)
  );
}
.commercial-copy {
  position: absolute;
  z-index: 2;
  left: 6vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 800px;
}
.commercial-copy .display {
  font-size: clamp(3rem, 5vw, 5.6rem);
  margin-bottom: 1.7rem;
}
.commercial-copy p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.83);
}
.light-btn {
  border-color: rgba(255, 255, 255, 0.7);
}
.light-btn:hover {
  background: #fff;
  color: var(--ink);
}
.light-btn {
  color: rgba(255, 255, 255, 0.85);
}

.light-btn::after {
  background: #ffffff;
}

.light-btn:hover {
  color: #ffffff;
}
.social-media {
  background: var(--cream);
}
.social-media-intro {
  max-width: 850px;
  margin-bottom: 4rem;
}
.social-media-intro > p {
  max-width: 580px;
  margin: 1.75rem 0 0;
  color: var(--muted);
}
.social-media-group + .social-media-group {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.social-media-heading {
  margin-bottom: 2rem;
}
.social-media-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.social-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.social-media-grid--instagram {
  max-width: 820px;
}
.social-media-card {
  min-width: 0;
}
.social-media-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--forest2);
  color: var(--paper);
  isolation: isolate;
}
.social-media-card--instagram .social-media-stage {
  aspect-ratio: 9 / 16;
}
.social-media-preview {
  position: absolute;
  inset: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--gold);
  background: linear-gradient(145deg, var(--forest), var(--forest2));
  color: inherit;
  cursor: pointer;
}
.social-media-preview:disabled {
  cursor: wait;
}
.social-media-thumbnail {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 0.7s ease;
}
.social-media-preview:has(.social-media-thumbnail) {
  background: transparent;
}
.social-media-preview:has(.social-media-thumbnail)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 13, 10, 0.65), rgba(8, 13, 10, 0.15) 60%);
}
.social-media-preview:has(.social-media-thumbnail) .social-media-brand {
  display: none;
}
.social-media-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.social-media-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.social-media-icon-dot {
  fill: currentColor;
  stroke: none;
}
.social-media-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.social-media-brand strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.social-media-brand > span {
  margin-top: 0.6rem;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.social-media-play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(22, 35, 29, 0.5);
  font-size: 1rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.social-media-action {
  position: absolute;
  right: 1rem;
  bottom: 1.5rem;
  left: 1rem;
  font-size: 0.68rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.social-media-preview:hover .social-media-play {
  background: var(--forest);
  border-color: var(--gold);
}
.social-media-preview:hover .social-media-thumbnail {
  transform: scale(1.04);
}
.social-media :is(button, a):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.social-media-preview:focus-visible {
  outline-offset: -5px;
}
.social-media-stage > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.social-media-instagram-embed {
  position: absolute;
  inset: 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
}
.social-media-instagram-embed.is-ready {
  opacity: 1;
  pointer-events: auto;
  background: var(--paper);
}
/* Instagram controls its embed height. Scroll its native chrome inside the
   reserved 9:16 card rather than cropping controls or shifting nearby content. */
.social-media-instagram-embed :is(blockquote, iframe) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.social-media-card-copy {
  padding: 1.25rem 0 0;
}
.social-media-title {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}
.social-media-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.social-media-status:not(:empty) {
  margin-bottom: 0.5rem;
}
.social-media-reset {
  min-height: 44px;
  margin-right: 1rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
}
.social-media .underline-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.instagram-carousel {
  display: contents;
}
.instagram-carousel-arrows,
.instagram-carousel-dots {
  display: none;
}
.instagram-carousel-arrows[hidden],
.instagram-carousel-arrow[hidden],
.instagram-carousel-dots[hidden] {
  display: none;
}
@media (max-width: 760px) {
  .social-media-heading {
    gap: 1rem;
  }
  .social-media-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .social-media-grid--instagram {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    max-width: 420px;
    margin-inline: auto;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--line);
    padding-bottom: 0.75rem;
    overflow-wrap: anywhere;
  }
  .social-media-card--instagram {
    scroll-snap-align: start;
  }
  .social-media-card--instagram .underline-link {
    max-width: 100%;
  }
  .instagram-carousel {
    display: block;
    position: relative;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    margin-inline: auto;
  }
  .instagram-carousel-arrows {
    position: absolute;
    inset: 0 0 auto;
    aspect-ratio: 9 / 16;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    pointer-events: none;
  }
  .instagram-carousel-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: rgba(22, 35, 29, 0.8);
    color: var(--paper);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
  }
  .instagram-carousel-arrow--next {
    margin-left: auto;
  }
  .instagram-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }
  .instagram-carousel-dot {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .instagram-carousel-dot::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line);
  }
  .instagram-carousel-dot[aria-current="true"]::before {
    background: var(--gold);
  }
  .social-media-group + .social-media-group {
    margin-top: 3.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-media *,
  .social-media *::after {
    transition: none;
  }
  .social-media-preview:hover .social-media-thumbnail {
    transform: none;
  }
}
.testimonials {
  background: #fff;
}
.testimonial-wrap {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 9rem;
  line-height: 0.5;
  color: #c6bca3;
}
.testimonial-wrap blockquote {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.25;
  margin: 2rem 0;
}
.testimonial-wrap > p {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.testimonial-controls span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.connect-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--forest);
  color: #fff;
  min-height: 850px;
}

.connect-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.connect-copy .display {
  font-size: clamp(3rem, 4.5vw, 5rem);
  margin-bottom: 1rem;
}

.connect-copy .contact-intro {
  max-width: 520px;
  margin: 0 0 2.2rem;
  color: rgba(255, 255, 255, 0.72);
}

.connect-image {
  min-height: 850px;
}

.contact-form {
  width: 100%;
  max-width: 620px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-field label {
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 0.7rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: #fff;
}

.form-field select {
  cursor: pointer;
}

.form-field select option {
  color: #202522;
  background: #fff;
}

.form-field textarea {
  resize: vertical;
}

.contact-submit {
  width: 100%;
  margin-top: 0.7rem;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-submit:hover {
  background: #fff;
  color: var(--ink);
}
.faq {
  background: var(--cream);
}
.faq .display {
  margin-bottom: 4rem;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  cursor: pointer;
}
.faq-item button span {
  font-family: var(--sans);
  font-weight: 300;
  transition: 0.25s;
}
.faq-item.open button span {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  max-width: 800px;
  padding: 0 0 1.5rem;
  margin: 0;
  color: #59605b;
}
.footer {
  background: #101814;
  color: #e8e9e5;
  padding: 6rem 6vw 2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 0.8fr 0.8fr;
  gap: 4rem;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
}
.footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f3efe7;
  line-height: 1;
}

.footer-wordmark strong {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.footer-wordmark .realtor-text {
  display: block;
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
  margin-left: 0.08rem;
}
.footer-main small {
  display: block;
  color: #8e9891;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
}
.footer-main p,
.footer-main a {
  display: block;
  color: #bec6c1;
  font-size: 0.84rem;
  margin: 0.3rem 0;
}
.footer-bottom {
  margin-top: 5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: #78847c;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1100px) {
  .listings {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    column-gap: 3rem;
  }
  .all-listings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .property-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .property-hero-title-row {
    grid-template-columns: minmax(0, 55vw) minmax(180px, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
  }
  .property-hero-summary .property-hero-price {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
  .desktop-nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .connect-pill {
    display: none;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .property-card {
    min-width: 65vw;
  }
  .gallery-card {
    min-width: 58vw;
  }
  .neighbourhood-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 380px 300px 380px;
  }
  .hood-card.tall {
    grid-row: auto;
  }
  .hood-card.wide {
    grid-column: 1/3;
  }
  .service-card {
    min-height: 560px;
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --nav-height: 74px;
  }
  .header-contact {
    gap: 0.7rem;
    font-size: 0.7rem;
  }
  .header-contact a + a {
    padding-left: 0.7rem;
  }
  .listings {
    display: block;
  }

  .listings-page-heading {
    margin-bottom: 3rem;
  }

  .all-listings-grid {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .hero.property-detail-hero {
    height: 100svh;
    min-height: 780px;
  }

  .property-detail-hero .property-hero-content {
    top: calc(7rem + var(--contact-bar-height));
    right: 6vw;
    bottom: auto;
    max-width: none;
  }

  .property-detail-hero .property-hero-content h1 {
    font-size: clamp(3.1rem, 13vw, 4.7rem);
  }

  .property-detail-hero .property-hero-content > p {
    line-height: 1.6;
  }

  .property-detail-hero .property-hero-content .hero-locations {
    margin-bottom: 1.4rem;
  }

  .property-detail-hero .property-hero-content .hero-links {
    margin-top: 1.5rem;
  }

  .property-detail-hero .property-hero-title-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .property-detail-hero .property-hero-summary {
    justify-self: start;
    text-align: left;
  }

  .property-detail-hero .hero-property {
    display: block;
    right: 6vw;
    bottom: 4vh;
  }

  .property-gallery-heading {
    margin-bottom: 3rem;
  }

  .property-gallery-grid {
    grid-template-columns: 1fr;
  }

  .featured-property-copy {
    max-width: 520px;
    margin-top: 3rem;
  }

  .all-listings-button {
    margin-top: 2rem;
  }

  .connect-section {
    grid-template-columns: 1fr;
  }

  .connect-copy {
    padding: 5rem 6vw;
  }

  .connect-image {
    min-height: 420px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section-pad {
    padding: 6rem 6vw;
  }
  .brand {
    min-width: auto;
  }
  .fade-wordmark {
    font-size: 1.4rem;
  }
  .search-btn {
    display: none;
  }
  .hero {
    min-height: 650px;
  }
  .hero-content {
    bottom: 15vh;
  }
  .hero-content h1 {
    font-size: clamp(3.1rem, 14vw, 5.2rem);
  }
  .hero-content p {
    font-size: 0.92rem;
  }
  .hero-locations {
    gap: 0.45rem;
    font-size: 0.62rem;
  }
  .hero-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .hero-property {
    display: none;
  }
  .hero-pagination {
    bottom: 4vh;
  }
  .hero-dot {
    padding-right: 0.6rem;
  }
  .display {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }
  .row-between {
    align-items: flex-start;
    flex-direction: column;
  }
  .property-card {
    min-width: 86vw;
  }
  .property-image {
    height: 390px;
  }
  .neighbourhood-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .hood-card,
  .hood-card.tall,
  .hood-card.wide {
    min-width: 82vw;
    height: 480px;
    scroll-snap-align: start;
  }
  .gallery-card {
    min-width: 80vw;
    height: 420px;
  }
  .gallery-card:nth-child(even) {
    margin-top: 0;
  }
  .service-card {
    grid-template-columns: 1fr;
  }
  .service-card.reverse .service-image {
    order: 0;
  }
  .service-image {
    min-height: 430px;
  }
  .service-copy {
    padding: 5rem 6vw;
  }
  .commercial {
    height: 700px;
  }
  .connect-section {
    grid-template-columns: 1fr;
  }
  .connect-image {
    min-height: 450px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/3;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .mobile-menu {
    padding-top: 7rem;
  }
}

@media (max-width: 480px) {
  :root {
    --contact-bar-height: 54px;
  }
  .header-contact {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
  }
  .header-contact a + a {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .commercial {
    min-height: 800px;
  }
}

.footer a {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.footer a:hover {
  color: #fff;
}

.footer a:hover::after {
  width: 45%;
}

.text-link {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  transition: opacity 0.3s ease;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.text-link:hover {
  opacity: 0.65;
}

.text-link:hover::after {
  transform: scaleX(0.4);
}
