/* Cinematic, restrained homepage direction · 2026-08-26 */
body.homepage-redesign {
  --home-navy: #0b1f33;
  --home-navy-soft: #17324d;
  --home-ink: #172536;
  --home-muted: #667486;
  --home-award-brown: #5d4838;
  --home-white: #ffffff;
  --home-soft: #f4f6f8;
  --home-line: #dce2e8;
  background: var(--home-white);
  color: var(--home-ink);
}

body.homepage-redesign [hidden] {
  display: none !important;
}

body.homepage-redesign .home-site-header {
  min-height: 88px;
  border-bottom-color: rgba(11, 31, 51, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

body.homepage-redesign .desktop-nav a::after {
  background: var(--home-navy);
}

body.homepage-redesign .home-primary-nav {
  font-size: 15px;
}

body.homepage-redesign .header-actions .primary-cta,
body.homepage-redesign .primary-button,
body.homepage-redesign .featured-listing-actions .primary-cta {
  border-color: var(--home-navy);
  color: var(--home-white);
  background: var(--home-navy);
  box-shadow: none;
}

body.homepage-redesign .header-actions .primary-cta:hover,
body.homepage-redesign .header-actions .primary-cta:focus-visible,
body.homepage-redesign .primary-button:hover,
body.homepage-redesign .primary-button:focus-visible,
body.homepage-redesign .featured-listing-actions .primary-cta:hover,
body.homepage-redesign .featured-listing-actions .primary-cta:focus-visible {
  border-color: var(--home-navy-soft);
  background: var(--home-navy-soft);
  box-shadow: 0 10px 24px rgba(11, 31, 51, 0.16);
}

body.homepage-redesign .secondary-cta,
body.homepage-redesign .phone-cta {
  border-color: var(--home-navy);
  color: var(--home-navy);
}

body.homepage-redesign .secondary-cta:hover,
body.homepage-redesign .secondary-cta:focus-visible,
body.homepage-redesign .phone-cta:hover,
body.homepage-redesign .phone-cta:focus-visible {
  border-color: var(--home-navy-soft);
  color: var(--home-white);
  background: var(--home-navy-soft);
  box-shadow: none;
}

body.homepage-redesign .language-toggle {
  border-color: var(--home-line);
  background: var(--home-soft);
}

/* Full-width Ottawa motion hero */
.cinematic-home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(470px, 52svh, 620px);
  height: auto;
  max-height: none;
  overflow: hidden;
  color: var(--home-white);
  background: var(--home-navy);
}

.cinematic-home-media,
.cinematic-home-overlay {
  position: absolute;
  inset: 0;
}

.cinematic-home-media {
  z-index: -3;
}

.cinematic-home-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 52%;
}

.cinematic-home-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 17, 31, 0.86) 0%, rgba(5, 17, 31, 0.56) 48%, rgba(5, 17, 31, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 17, 31, 0.54) 0%, rgba(5, 17, 31, 0.03) 58%);
}

.cinematic-home-content {
  width: min(calc(100% - 48px), 1360px);
  margin: 0 auto;
  padding: 0 0 clamp(36px, 4vh, 48px);
}

.cinematic-home-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.11em;
}

html[lang="zh-Hans"] .cinematic-home-kicker {
  letter-spacing: 0.03em;
}

.cinematic-home-kicker::before {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.cinematic-home-content h1 {
  max-width: 900px;
  margin: 0;
  color: var(--home-white);
  font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[lang="zh-Hans"] .cinematic-home-content h1 {
  max-width: 940px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(58px, 6.1vw, 86px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.cinematic-title-zh > span {
  display: block;
}

html[lang="zh-Hans"] .cinematic-title-zh {
  display: block;
}

.cinematic-title-zh > span:last-child {
  white-space: nowrap;
}

.cinematic-home-lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}

.cinematic-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cinematic-home-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.cinematic-primary {
  color: var(--home-navy);
  background: var(--home-white);
}

.cinematic-secondary {
  color: var(--home-white);
  background: rgba(5, 17, 31, 0.16);
}

.cinematic-home-actions a:hover,
.cinematic-home-actions a:focus-visible {
  border-color: var(--home-white);
  color: var(--home-navy);
  background: var(--home-white);
}

.cinematic-home-scroll {
  position: absolute;
  right: max(24px, calc((100% - 1360px) / 2));
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cinematic-home-scroll span:last-child {
  font-size: 18px;
  font-weight: 400;
}

/* Compact Vanessa profile and four independent service paths */
.home-service-gateway {
  padding: clamp(78px, 8vw, 116px) 24px;
  background: var(--home-white);
  overflow-x: hidden;
  overflow-x: clip;
  scroll-margin-top: 96px;
}

.home-service-inner {
  display: grid;
  grid-template-columns: minmax(520px, 570px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 5vw, 68px);
  width: min(100%, 1320px);
  margin: 0 auto;
}

.home-service-profile {
  position: relative;
  width: 100%;
  min-width: 0;
  opacity: 1;
  transform: none;
}

.home-service-profile.profile-reveal-ready {
  opacity: 0;
  transform: translate3d(-48px, 0, 0);
}

.home-service-profile.profile-reveal-ready.profile-reveal-visible {
  opacity: 1;
  transform: none;
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1), transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-service-content.profile-reveal-ready {
  opacity: 0;
  transform: translate3d(48px, 0, 0);
}

.home-service-content.profile-reveal-ready.profile-reveal-visible {
  opacity: 1;
  transform: none;
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1), transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-service-collage {
  position: relative;
  width: 100%;
  height: 580px;
  isolation: isolate;
}

.home-service-portrait {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  width: 63%;
  height: 570px;
  margin: 0;
}

.home-service-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  border: 0;
  border-radius: 0;
  background: #eef1f4;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 93%, rgba(0, 0, 0, 0.18) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 93%, rgba(0, 0, 0, 0.18) 100%);
}

.home-service-award {
  position: absolute;
  top: 31%;
  left: 57%;
  z-index: 3;
  display: block;
  width: 20.35%;
  min-width: 94px;
  max-width: 116px;
  aspect-ratio: 981 / 1358;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #d3cac4;
  box-shadow: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.home-service-award:hover,
.home-service-award:focus-visible {
  filter: none;
  transform: translateY(-2px);
}

.home-service-award:focus-visible {
  outline: 2px solid var(--home-navy);
  outline-offset: 4px;
}

.home-service-award img {
  position: absolute;
  top: -3.387%;
  left: -5.301%;
  display: block;
  width: 110.601%;
  max-width: none;
  height: auto;
  filter: brightness(1.12) contrast(0.94) saturate(0.9);
  mix-blend-mode: multiply;
}

.home-service-credentials {
  position: absolute;
  top: 61.5%;
  right: 0;
  left: 59.5%;
  z-index: 2;
  color: var(--home-award-brown);
  background: transparent;
  box-shadow: none;
}

.home-service-content {
  min-width: 0;
  opacity: 1;
  transform: none;
}

.home-service-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.home-service-heading > p,
body.homepage-redesign .home-search-heading .overline,
body.homepage-redesign .credentials-heading .overline,
body.homepage-redesign .contact-section .overline,
body.homepage-redesign .featured-listing-band .overline {
  margin: 0 0 12px;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-service-heading h2 {
  margin: 0;
  color: var(--home-navy);
  font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.3vw, 58px);
  font-weight: 540;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-service-title-line {
  display: block;
}

html:not([lang="zh-Hans"]) .home-service-title-copy.lang-en,
html[lang="zh-Hans"] .home-service-title-copy.lang-zh {
  display: block;
}

.home-service-title-line + .home-service-title-line {
  margin-top: 0.08em;
}

html[lang="zh-Hans"] .home-service-heading h2,
html[lang="zh-Hans"] .home-search-heading h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 650;
}

.home-title-nowrap {
  white-space: nowrap;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
}

.home-service-grid > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 132px;
  padding: 24px 22px 24px 0;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-navy);
  transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

.home-service-grid > a:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--home-line);
}

.home-service-grid > a:nth-child(even) {
  padding-left: 28px;
}

.home-service-grid > a:hover,
.home-service-grid > a:focus-visible {
  background: var(--home-soft);
}

.home-service-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--home-navy);
  background: #e9eef3;
  font-size: 12px;
  font-weight: 900;
}

.home-service-grid strong,
.home-service-grid small {
  display: block;
}

.home-service-grid strong {
  font-size: 21px;
  line-height: 1.2;
}

.home-service-grid small {
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.45;
}

.home-service-arrow {
  color: var(--home-muted);
  font-size: 20px;
}

.home-service-proof {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-service-proof > * {
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  line-height: 1.45;
  text-wrap: balance;
}

.home-service-proof > a {
  text-decoration: none;
}

.home-service-proof > a:hover,
.home-service-proof > a:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(171, 139, 74, 0.72);
  text-underline-offset: 4px;
}

.home-service-proof strong,
.home-service-proof small {
  color: var(--home-award-brown);
  font-size: 15px;
  font-weight: 600;
  line-height: inherit;
  letter-spacing: 0.005em;
}

.home-service-proof small {
  margin-left: 4px;
}

.home-service-signature {
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(171, 139, 74, 0.78);
  color: var(--home-award-brown);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* Search is a focused hand-off to dedicated area and school results pages. */
body.homepage-redesign .home-search-dock {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto clamp(72px, 8vw, 112px);
  padding: clamp(34px, 4vw, 52px);
  border: 1px solid var(--home-line);
  border-radius: 2px;
  background: var(--home-soft);
  box-shadow: none;
}

.home-search-heading {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  min-height: 0;
  padding: 0;
}

.home-search-heading h2 {
  max-width: 690px;
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-search-tools {
  position: static;
  display: grid;
  justify-items: end;
  gap: 10px;
}

body.homepage-redesign .home-search-heading .data-note,
body.homepage-redesign .data-note {
  max-width: 390px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--home-muted);
  background: transparent;
  font-size: 11px;
  text-align: right;
}

.home-listings-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  margin: 0 0 12px;
  white-space: normal;
}

body.homepage-redesign .home-search-heading .home-listings-meta .overline {
  flex: 0 0 auto;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.home-listings-meta-divider {
  flex: 0 0 auto;
  color: var(--home-gold);
  font-size: 14px;
  line-height: 1;
}

body.homepage-redesign .home-search-heading .home-listings-meta .data-note {
  max-width: none;
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
}

@media (min-width: 1381px) {
  body.homepage-redesign .home-search-compact {
    grid-template-columns: minmax(230px, 0.85fr) minmax(250px, 1.05fr) minmax(170px, 0.65fr) minmax(150px, 0.7fr) minmax(112px, 0.45fr) auto;
  }
}

.home-search-mode-tabs {
  grid-template-columns: repeat(2, minmax(168px, 1fr));
  border-color: var(--home-line);
  border-radius: 2px;
  background: var(--home-white);
}

.home-search-mode-tabs button {
  border-radius: 1px;
  color: var(--home-muted);
}

.home-search-mode-tabs button[aria-selected="true"] {
  color: var(--home-white);
  background: var(--home-navy);
  box-shadow: none;
}

.home-search-feature-badge {
  font-size: 12px;
  line-height: 1.35;
  color: var(--home-white);
  background: #a02231;
}

body.homepage-redesign .home-search-compact,
body.homepage-redesign .home-school-search-panel {
  margin-top: 26px;
  border-color: var(--home-line);
  border-radius: 2px;
  background: var(--home-white);
  box-shadow: none;
}

body.homepage-redesign .home-search-dock {
  scroll-margin-top: 88px;
}

body.homepage-redesign .search-listing-choice {
  min-width: 230px;
}

body.homepage-redesign .search-listing-choice button {
  padding-inline: 12px;
  font-size: 15px;
  white-space: nowrap;
}

body.homepage-redesign .home-school-listing-choice button {
  border-left-color: var(--home-line);
  color: var(--home-navy);
}

body.homepage-redesign .home-school-listing-choice button.active,
body.homepage-redesign .listing-choice button.active {
  color: var(--home-white);
  background: var(--home-navy);
}

body.homepage-redesign .home-school-search-note {
  border-color: var(--home-line);
  color: var(--home-muted);
  background: var(--home-soft);
}

body.homepage-redesign .home-school-search-status {
  color: var(--home-muted);
}

body.homepage-redesign .home-more-filters summary,
body.homepage-redesign .home-more-filters > div {
  border-color: var(--home-line);
  border-radius: 2px;
  color: var(--home-navy);
}

body.homepage-redesign .featured-listing-band {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  width: min(100%, 1000px);
  margin: 28px auto 0;
  border-color: var(--home-line);
  border-radius: 2px;
  box-shadow: none;
}

body.homepage-redesign .featured-listing-media img {
  min-height: 230px;
}

body.homepage-redesign .featured-listing-copy {
  padding: 18px 22px;
}

body.homepage-redesign .featured-listing-copy h3 {
  margin: 2px 0 10px;
  color: var(--home-navy);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.1;
}

body.homepage-redesign .featured-listing-copy dl {
  gap: 0;
  margin: 0 0 10px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

body.homepage-redesign .featured-listing-copy dl div {
  padding: 8px 10px;
  border: 0;
  border-left: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
}

body.homepage-redesign .featured-listing-copy dl div:first-child {
  border-left: 0;
}

body.homepage-redesign .featured-listing-copy dt {
  font-size: 9px;
}

body.homepage-redesign .featured-listing-copy dd {
  font-size: 13px;
  line-height: 1.25;
}

body.homepage-redesign .featured-listing-copy p:not(.overline) {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.homepage-redesign .featured-listing-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

body.homepage-redesign .featured-listing-actions a {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 11px;
}

body.homepage-redesign .featured-listing-actions .primary-cta {
  grid-column: auto;
}

body.homepage-redesign .featured-listing-note {
  margin-top: 8px !important;
  font-size: 10px !important;
}

body.homepage-redesign .property-layout .compact-listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.homepage-redesign .property-layout .compact-listing-grid .price {
  font-size: 20px;
}

body.homepage-redesign .property-layout .compact-listing-grid .address {
  font-size: 15px;
}

body.homepage-redesign .property-layout .compact-listing-grid .area,
body.homepage-redesign .property-layout .compact-listing-grid .facts {
  font-size: 12px;
}

body.homepage-redesign.today-results-mode .my-listings-section,
body.homepage-redesign.today-results-mode .today-listings-section,
body.homepage-redesign.search-results-mode .my-listings-section,
body.homepage-redesign.search-results-mode .today-listings-section {
  display: none;
}

#search-results {
  scroll-margin-top: 110px;
}

.multi-mls-hint {
  margin: 10px 0 22px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.5;
}

.listing-share-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--home-navy);
  border-radius: 2px;
  color: var(--home-white);
  background: var(--home-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.listing-share-button:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 3px;
}

.listing-share-status:empty {
  display: none;
}

.listing-share-status,
.mls-search-status {
  margin: 0 0 16px;
  color: var(--home-navy);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.listing-share-url {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0 0 16px;
  padding: 10px;
  border: 1px solid var(--home-line);
  font: inherit;
  font-size: 14px;
}

body.homepage-redesign.mls-results-mode .property-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.homepage-redesign.mls-results-mode .property-side {
  display: none;
}

body.homepage-redesign.mls-results-mode .property-layout .compact-listing-grid:not(.list) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.homepage-redesign .toolbar-controls {
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  body.homepage-redesign.mls-results-mode .property-layout .compact-listing-grid:not(.list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.homepage-redesign.mls-results-mode .property-layout .compact-listing-grid:not(.list) {
    grid-template-columns: minmax(0, 1fr);
  }
  #search-results { scroll-margin-top: 90px; }
}

body.homepage-redesign.today-results-mode .property-layout {
  grid-template-columns: 1fr;
}

body.homepage-redesign.today-results-mode .property-side {
  display: none;
}

body.homepage-redesign.today-results-mode .results-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

body.homepage-redesign.today-results-mode .results-toolbar {
  margin-bottom: 30px;
}

.today-listings-section {
  margin-top: 46px;
  padding-top: 38px;
  border-top: 1px solid var(--home-line);
}

.today-listings-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 20px;
}

body.homepage-redesign .today-listings-heading .overline {
  margin: 0 0 8px;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.today-listings-heading h2 {
  margin: 0;
  color: var(--home-navy);
  font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.035em;
}

html[lang="zh-Hans"] .today-listings-heading h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 650;
}

.today-listings-status {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 13px;
}

.today-listings-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--home-navy);
  color: var(--home-navy);
  background: var(--home-white);
  font-size: 13px;
  font-weight: 900;
}

.today-listings-all:hover,
.today-listings-all:focus-visible {
  color: var(--home-white);
  background: var(--home-navy);
}

.today-listing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.today-listing-grid .property-card {
  min-width: 0;
  border-radius: 2px;
  box-shadow: none;
}

.today-listing-grid .property-media {
  aspect-ratio: 4 / 3;
}

.today-listing-grid .property-body {
  gap: 6px;
  padding: 11px;
}

.today-listing-grid .price-row {
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.today-listing-grid .price {
  font-size: 20px;
}

.today-listing-grid .tag {
  font-size: 9px;
}

.today-listing-grid .address {
  display: -webkit-box;
  overflow: hidden;
  min-height: 36px;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.today-listing-grid .area,
.today-listing-grid .facts {
  font-size: 11px;
}

.today-listing-grid .description,
.today-listing-grid .mls-row,
.today-listing-grid .card-actions {
  display: none;
}

.today-listing-grid > .empty-state {
  grid-column: 1 / -1;
  min-height: 104px;
  padding: 24px;
  border-style: solid;
}

.today-listings-source {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--home-navy);
  color: var(--home-muted);
  background: var(--home-soft);
  font-size: 11px;
}

.today-listings-source strong {
  color: var(--home-navy);
  font-size: 11px;
  white-space: nowrap;
}

/* Image-first listing showcases: restrained, editorial, and conversion focused. */
.my-listings-section,
.today-listings-section {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: clamp(26px, 3.2vw, 40px);
  border-top: 1px solid var(--home-line);
}

.listing-showcase-heading {
  margin-bottom: 20px;
}

.listing-showcase-heading-centered {
  text-align: center;
}

.listing-showcase-heading h2,
.today-listings-heading h2 {
  margin: 0;
  color: var(--home-navy);
  font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 540;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

html[lang="zh-Hans"] .listing-showcase-heading h2,
html[lang="zh-Hans"] .today-listings-heading h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.listing-showcase-status,
.today-listings-status {
  margin: 11px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.4;
}

.listing-showcase-grid {
  display: grid;
  gap: 24px 16px;
  width: 100%;
  margin: 0 auto;
}

.my-listing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.today-listing-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 14px;
}

.listing-showcase-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: transparent;
}

.listing-showcase-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--home-soft);
}

.listing-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.listing-showcase-card:hover .listing-showcase-media img {
  transform: scale(1.025);
}

.listing-showcase-body {
  display: flex;
  min-height: 142px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px 0;
  text-align: center;
}

.listing-showcase-address {
  margin: 0;
  color: var(--home-navy);
  font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  overflow: hidden;
  max-width: 100%;
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 560;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.listing-showcase-area {
  overflow: hidden;
  max-width: 100%;
  margin: 5px 0 0;
  color: var(--home-muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.listing-showcase-facts {
  margin: 7px 0 0;
  color: #5d4838;
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.35;
}

.listing-showcase-card[data-listing-class="rent"] .listing-showcase-facts {
  white-space: pre-line;
}

.listing-showcase-actions {
  display: grid;
  width: min(100%, 220px);
  margin-top: auto;
  padding-top: 11px;
  grid-template-columns: 1fr;
  gap: 8px;
}

.listing-showcase-actions.has-inquiry {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-showcase-actions button {
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid var(--home-navy);
  border-radius: 1px;
  font: inherit;
  font-size: 10.5px;
  font-weight: 850;
  cursor: pointer;
}

.listing-showcase-detail {
  color: var(--home-navy);
  background: var(--home-white);
}

.listing-showcase-inquiry,
.listing-showcase-detail:hover,
.listing-showcase-detail:focus-visible {
  color: var(--home-white);
  background: var(--home-navy);
}

.listing-showcase-inquiry:hover,
.listing-showcase-inquiry:focus-visible {
  color: var(--home-navy);
  background: var(--home-white);
}

.listing-showcase-sync {
  grid-column: 1 / -1;
  min-height: 110px;
  padding: 32px;
  color: var(--home-muted);
  background: var(--home-soft);
  text-align: center;
}

.today-listings-heading {
  align-items: end;
  margin-bottom: 20px;
}

.today-listings-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.today-listings-sync-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 6px 11px;
  color: var(--home-white);
  background: var(--home-navy);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.025em;
}

html[lang="zh-Hans"] .today-listings-sync-badge {
  letter-spacing: 0;
}

.today-listings-all {
  min-height: 42px;
  border-radius: 1px;
  font-size: 12px;
}

.today-listings-source {
  display: block;
  margin-top: 20px;
  padding: 0;
  border: 0;
  color: var(--home-muted);
  background: transparent;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

/* Keep professional proof and consultation present without competing with the opening. */
body.homepage-redesign .credentials-band {
  padding: clamp(60px, 7vw, 88px) 24px;
  border-color: var(--home-line);
  color: var(--home-ink);
  background: var(--home-soft);
}

body.homepage-redesign .credentials-band::before {
  width: 120px;
  height: 1px;
  background: var(--home-navy);
}

body.homepage-redesign .credentials-inner {
  width: min(100%, 1120px);
}

body.homepage-redesign .credentials-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

body.homepage-redesign .credentials-heading h2 {
  color: var(--home-navy);
  font-size: clamp(32px, 3.3vw, 44px);
}

body.homepage-redesign .credentials-heading h2::after {
  display: none;
}

body.homepage-redesign .award-photo-gallery {
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) minmax(130px, 180px);
  grid-template-areas: "featured copy secondary";
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding-top: 28px;
  border-top-color: var(--home-line);
}

body.homepage-redesign .award-photo-featured,
body.homepage-redesign .award-photo-secondary {
  width: 100%;
}

body.homepage-redesign .award-photo-secondary {
  display: block;
  padding-top: 0;
  border-top: 0;
}

body.homepage-redesign .award-photo-secondary figcaption {
  margin-top: 12px;
}

body.homepage-redesign .award-photo-secondary figcaption strong {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.3;
}

body.homepage-redesign .award-photo-featured img {
  height: 280px;
  object-fit: cover;
}

body.homepage-redesign .award-photo-secondary img {
  height: 220px;
  object-fit: cover;
}

body.homepage-redesign .award-photo-card > a {
  border-color: var(--home-line);
  border-radius: 2px;
  box-shadow: none;
}

body.homepage-redesign .award-photo-card > a:hover,
body.homepage-redesign .award-photo-card > a:focus-visible {
  border-color: var(--home-navy);
  box-shadow: 0 18px 36px rgba(11, 31, 51, 0.13);
}

body.homepage-redesign .award-proof-copy {
  padding: 0;
  border-left: 0;
}

body.homepage-redesign .award-proof-copy .award-year {
  color: var(--home-muted);
}

body.homepage-redesign .award-proof-copy h3 {
  color: var(--home-navy);
  font-size: clamp(26px, 2.8vw, 38px);
}

body.homepage-redesign .award-proof-copy li,
body.homepage-redesign .award-proof-copy > p:last-child,
body.homepage-redesign .award-photo-card figcaption {
  color: var(--home-muted);
}

body.homepage-redesign .award-proof-copy li::before {
  background: var(--home-navy);
}

body.homepage-redesign .contact-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 8vw, 108px) max(24px, calc((100% - 1180px) / 2));
  border: 0;
  border-radius: 0;
  color: var(--home-white);
  background: var(--home-navy);
  box-shadow: none;
}

body.homepage-redesign .contact-section h2,
body.homepage-redesign .contact-section .contact-copy,
body.homepage-redesign .contact-section .contact-lines,
body.homepage-redesign .contact-section .contact-lines a {
  color: var(--home-white);
}

body.homepage-redesign .contact-section .contact-copy > p:not(.overline) {
  color: rgba(255, 255, 255, 0.72);
}

/* Share title and description rows so both lead forms start on the same line. */
@media (min-width: 821px) {
  html[lang="en"] .home-lead-card h2 {
    font-size: clamp(27px, 2.45vw, 36px);
    line-height: 1.16;
    text-wrap: balance;
  }

  .home-lead-capture__grid {
    grid-template-rows: auto auto auto;
    row-gap: 0;
  }

  .home-lead-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
  }

  .home-lead-form {
    align-content: start;
  }
}

body.homepage-redesign .contact-section .overline {
  color: rgba(255, 255, 255, 0.58);
}

body.homepage-redesign .contact-section .lead-form {
  border: 0;
  border-radius: 2px;
  background: var(--home-white);
  box-shadow: none;
}

body.homepage-redesign .contact-section .lead-form label {
  color: var(--home-navy);
}

body.homepage-redesign .contact-section .lead-form input,
body.homepage-redesign .contact-section .lead-form select,
body.homepage-redesign .contact-section .lead-form textarea {
  border-color: var(--home-line);
  border-radius: 2px;
}

body.homepage-redesign .contact-section .public-profile-panel {
  display: none !important;
}

body.homepage-redesign .site-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  background: #07182b;
}

body.homepage-redesign .site-footer strong,
body.homepage-redesign .site-footer a {
  color: var(--home-white);
}

body.homepage-redesign .mobile-sticky-bar a:first-child {
  color: var(--home-navy);
  background: var(--home-white);
}

body.homepage-redesign .mobile-sticky-bar a:last-child {
  color: var(--home-white);
  background: var(--home-navy);
}

@media (max-width: 1619px) {
  body.homepage-redesign .header-actions .phone-cta {
    display: none;
  }
}

@media (max-width: 1380px) {
  body.homepage-redesign .home-primary-nav {
    gap: 12px;
    font-size: 14px;
  }

  .today-listing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1360px) {
  body.homepage-redesign .home-site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
  }

  body.homepage-redesign .home-primary-nav {
    display: none;
  }

  body.homepage-redesign .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: auto;
  }

  body.homepage-redesign .home-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 14px;
  }

  body.homepage-redesign .mega-menu {
    inset: 88px 0 0;
  }
}

@media (max-width: 1180px) {
  .cinematic-home-content {
    width: min(calc(100% - 40px), 1040px);
  }

  .home-service-inner {
    grid-template-columns: minmax(460px, 500px) minmax(0, 1fr);
    gap: 40px;
  }

  .home-service-collage {
    height: 540px;
  }

  .home-service-portrait {
    height: 520px;
  }

  .home-service-portrait img {
    height: 520px;
  }

  .home-service-grid > a {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .home-service-arrow {
    display: none;
  }

  .home-search-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-search-tools {
    justify-items: start;
  }

  body.homepage-redesign .home-search-heading .data-note,
  body.homepage-redesign .data-note {
    text-align: left;
  }

  .today-listing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .home-service-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-service-profile {
    width: min(100%, 570px);
    margin: 0 auto;
  }

  .home-service-collage {
    height: 580px;
  }

  .home-service-portrait {
    height: 570px;
  }

  .home-service-portrait img {
    height: 570px;
  }

  .home-service-content {
    width: min(100%, 820px);
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .home-listings-meta {
    gap: 5px;
  }

  body.homepage-redesign .home-search-heading .home-listings-meta .overline {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.08em;
  }

  .home-listings-meta-divider,
  body.homepage-redesign .home-search-heading .home-listings-meta .data-note {
    font-size: 13px;
  }

  body.homepage-redesign .home-site-header {
    min-height: 76px;
    padding: 10px 16px;
  }

  body.homepage-redesign .brand {
    gap: 8px;
    overflow: hidden;
  }

  body.homepage-redesign .brand-logo {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  body.homepage-redesign .brand strong {
    overflow: hidden;
    max-width: 152px;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.homepage-redesign .brand small,
  body.homepage-redesign .header-actions .primary-cta {
    display: none;
  }

  body.homepage-redesign .header-actions {
    gap: 6px;
  }

  body.homepage-redesign .header-actions .language-toggle {
    display: inline-grid;
    width: auto;
    padding: 2px;
    border-radius: 2px;
    grid-template-columns: repeat(2, 36px);
  }

  body.homepage-redesign .header-actions .language-toggle button {
    min-height: 34px;
    padding: 0;
    border-radius: 1px;
    font-size: 10.5px;
  }

  body.homepage-redesign .header-actions .language-toggle button.active {
    color: var(--home-white);
    background: var(--home-navy);
    box-shadow: none;
  }

  body.homepage-redesign .home-menu-button {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 2px;
    font-size: 14px;
  }

  body.homepage-redesign .mega-menu {
    inset: 76px 0 0;
    overflow: auto;
  }

  body.homepage-redesign .mega-panel {
    max-height: calc(100svh - 100px);
    overflow: auto;
  }

  .cinematic-home-hero {
    min-height: clamp(430px, 54svh, 520px);
    height: auto;
    max-height: none;
  }

  .cinematic-home-overlay {
    background:
      linear-gradient(0deg, rgba(5, 17, 31, 0.9) 0%, rgba(5, 17, 31, 0.56) 58%, rgba(5, 17, 31, 0.12) 100%);
  }

  .cinematic-home-media video {
    object-position: 60% center;
  }

  .cinematic-home-content {
    width: calc(100% - 36px);
    padding-bottom: 38px;
  }

  .cinematic-home-content h1,
  html[lang="zh-Hans"] .cinematic-home-content h1 {
    max-width: 650px;
    font-size: clamp(39px, 10.5vw, 58px);
    line-height: 1.08;
  }

  .cinematic-home-scroll {
    display: none;
  }

  .home-service-gateway {
    padding: 68px 20px;
  }

  .home-service-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .home-service-profile {
    width: min(100%, 570px);
    margin: 0 auto;
  }

  .home-service-portrait img {
    height: 570px;
  }

  .home-service-heading {
    margin-bottom: 28px;
  }

  body.homepage-redesign .home-search-dock {
    width: calc(100% - 32px);
    padding: 30px 20px;
  }

  .home-search-mode-tabs {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.homepage-redesign .featured-listing-band {
    grid-template-columns: 1fr;
  }

  body.homepage-redesign .featured-listing-media img {
    height: min(48vw, 260px);
    min-height: 180px;
  }

  body.homepage-redesign .property-layout .compact-listing-grid {
    grid-template-columns: 1fr;
  }

  .today-listings-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .my-listing-grid,
  .today-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .today-listings-all {
    justify-self: start;
  }

  .today-listings-source {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .today-listings-source strong {
    white-space: normal;
  }

  body.homepage-redesign .award-photo-gallery {
    grid-template-columns: minmax(140px, 0.65fr) minmax(0, 1fr);
    grid-template-areas:
      "featured copy"
      "secondary copy";
    align-items: start;
  }

  body.homepage-redesign .award-proof-copy {
    grid-area: copy;
  }
}

@media (max-width: 600px) {
  .cinematic-home-hero {
    min-height: clamp(410px, 52svh, 460px);
    height: auto;
    max-height: none;
  }

  .cinematic-home-kicker {
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .cinematic-home-content h1,
  html[lang="zh-Hans"] .cinematic-home-content h1 {
    font-size: clamp(34px, 10.2vw, 44px);
    letter-spacing: -0.055em;
  }

  .cinematic-title-zh > span:last-child {
    white-space: nowrap;
  }

  .cinematic-home-lede {
    margin-top: 18px;
    font-size: 16px;
  }

  .cinematic-home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .cinematic-home-actions a {
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
  }

  .home-service-heading h2,
  .home-search-heading h2 {
    font-size: 36px;
  }

  .home-service-gateway {
    padding: 58px 20px 64px;
  }

  .home-service-inner {
    gap: 38px;
  }

  .home-service-profile.profile-reveal-ready {
    transform: translate3d(-22px, 0, 0);
  }

  .home-service-content.profile-reveal-ready {
    transform: translate3d(22px, 0, 0);
  }

  .home-service-collage {
    height: 438px;
  }

  .home-service-portrait {
    width: 63%;
    height: 426px;
  }

  .home-service-portrait img {
    height: 100%;
    object-position: 50% 44%;
  }

  .home-service-award {
    top: 31%;
    left: 57%;
    width: 22.3%;
    min-width: 64px;
    max-width: 78px;
  }

  .home-service-credentials {
    top: 60%;
    left: 57%;
  }

  .home-service-proof {
    gap: 7px;
  }

  .home-service-proof strong,
  .home-service-proof small {
    font-size: 14px;
  }

  .home-service-proof small {
    margin-left: 3px;
  }

  .home-service-signature {
    width: 100%;
    margin-top: 14px;
    margin-left: 0;
    padding-top: 11px;
    font-size: 13px;
    white-space: normal;
  }

  .home-service-award-copy > span {
    display: block;
  }

  .home-service-signature .home-service-signature-copy {
    display: grid;
    gap: 2px;
  }

  .home-service-signature-copy > span {
    display: block;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-grid > a,
  .home-service-grid > a:nth-child(odd),
  .home-service-grid > a:nth-child(even) {
    min-height: 112px;
    padding: 20px 4px;
    border-right: 0;
  }

  .home-search-mode-tabs button {
    min-height: 48px;
    padding: 4px 8px;
    font-size: 12px;
  }

  .home-search-feature-badge {
    display: inline-flex;
    padding: 2px 5px;
    font-size: 11px;
  }

  body.homepage-redesign .featured-listing-copy {
    padding: 18px;
  }

  body.homepage-redesign .featured-listing-copy dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.homepage-redesign .featured-listing-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.homepage-redesign .featured-listing-actions a {
    width: 100%;
  }

  body.homepage-redesign .featured-listing-actions .primary-cta {
    grid-column: 1 / -1;
  }

  .my-listing-grid,
  .today-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 10px;
  }

  .listing-showcase-heading h2,
  .today-listings-heading h2 {
    font-size: 34px;
  }

  .today-listings-title-row {
    gap: 9px;
  }

  .today-listings-sync-badge {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .listing-showcase-body {
    min-height: 136px;
    padding: 10px 2px 0;
  }

  .listing-showcase-address {
    display: -webkit-box;
    min-height: 34px;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .listing-showcase-area {
    max-width: 100%;
    font-size: 9.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .listing-showcase-facts {
    margin-top: 5px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .listing-showcase-actions {
    padding-top: 8px;
  }

  .listing-showcase-actions button {
    min-height: 38px;
    padding-inline: 3px;
    font-size: 9.5px;
  }

  .today-listing-grid .property-body {
    gap: 4px;
    padding: 8px;
  }

  .today-listing-grid .price {
    font-size: 17px;
  }

  .today-listing-grid .address {
    min-height: 32px;
    font-size: 12px;
  }

  .today-listing-grid .area,
  .today-listing-grid .facts {
    font-size: 9px;
  }

  .today-listing-grid .photo-badge {
    display: none;
  }

  .today-listing-grid .save-button {
    width: 32px;
    height: 32px;
  }

  .today-listings-all {
    width: 100%;
  }

  body.homepage-redesign .award-photo-gallery {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "featured"
      "secondary";
  }

  body.homepage-redesign .award-photo-featured,
  body.homepage-redesign .award-photo-secondary {
    width: min(100%, 260px);
  }

  body.homepage-redesign .contact-section {
    padding: 64px 18px;
  }
}

@media (max-width: 600px) {
  body.homepage-redesign .home-search-heading .home-listings-meta {
    flex-wrap: wrap;
    white-space: normal;
  }

  .home-listings-meta-divider {
    display: none;
  }

  body.homepage-redesign .home-search-heading .home-listings-meta .data-note {
    flex: 0 0 100%;
    white-space: normal;
  }
}

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

  .home-service-profile,
  .home-service-profile.profile-reveal-ready,
  .home-service-profile.profile-reveal-ready.profile-reveal-visible,
  .home-service-content,
  .home-service-content.profile-reveal-ready,
  .home-service-content.profile-reveal-ready.profile-reveal-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html[lang="zh-Hans"] body.homepage-redesign .home-search-heading .overline,
html[lang="zh-Hans"] body.homepage-redesign .today-listings-heading .overline,
html[lang="zh-Hans"] body.homepage-redesign .credentials-heading .overline,
html[lang="zh-Hans"] body.homepage-redesign .contact-section .overline,
html[lang="zh-Hans"] body.homepage-redesign .featured-listing-band .overline,
html[lang="zh-Hans"] .home-service-heading > p {
  letter-spacing: 0.03em;
  text-transform: none;
}

/* Homepage footer: direct contact first, readable navigation and full-width legal copy. */
body.homepage-redesign footer.site-footer.premium-home-footer {
  min-height: 0;
  padding: 64px max(28px, calc((100% - 1180px) / 2)) 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  text-align: left;
}

.premium-home-footer .premium-footer-content {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  text-align: left;
}

.premium-home-footer .premium-footer-lockup {
  flex-direction: row;
  justify-content: flex-start;
  gap: 18px;
  margin: 0 0 24px;
  text-align: left;
}

.premium-home-footer .premium-footer-lockup span {
  justify-items: start;
  min-width: 0;
}

.premium-home-footer .premium-footer-lockup small {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.premium-home-footer .premium-footer-lockup strong {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.35;
}

.premium-home-footer .premium-footer-contact-details {
  display: grid;
  justify-items: start;
  margin: 0;
  font-style: normal;
}

.premium-home-footer .premium-footer-contact-details a {
  display: flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 5px 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.premium-home-footer .premium-footer-column > h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.4;
}

.premium-home-footer .premium-footer-navigation-column nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  font-size: 18px;
}

.premium-home-footer .premium-footer-navigation-column nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 18px;
  line-height: 1.5;
}

.premium-home-footer .premium-footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 8px 24px;
  width: 100%;
  margin-top: 20px;
}

.premium-home-footer .premium-footer-social-link {
  width: auto;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.premium-home-footer .premium-footer-social-link img {
  width: 22px;
  height: 22px;
}

.premium-home-footer .premium-footer-information-column {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.premium-home-footer .premium-footer-information-column p,
.premium-home-footer .premium-footer-bottom > p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.premium-home-footer .premium-footer-information-column p + p {
  margin-top: 16px;
}

.premium-home-footer .premium-footer-bottom {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 20px;
  padding-top: 0;
  border: 0;
  text-align: left;
}

.premium-home-footer .premium-footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 400;
}

.premium-home-footer .premium-footer-contact-details a:hover,
.premium-home-footer .premium-footer-bottom a:hover {
  color: #c9a35d;
}

.premium-home-footer .premium-footer-contact-details a:focus-visible,
.premium-home-footer .premium-footer-bottom a:focus-visible {
  outline: 2px solid #c9a35d;
  outline-offset: 4px;
}

.premium-home-footer .premium-footer-qr-dialog p {
  font-size: 16px;
}

@media (max-width: 900px) {
  .premium-home-footer .premium-footer-content {
    gap: 36px;
  }

  .premium-home-footer .premium-footer-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }

  .premium-home-footer .premium-footer-social-link {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  body.homepage-redesign footer.site-footer.premium-home-footer {
    padding: 44px 22px 28px;
  }

  .premium-home-footer .premium-footer-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .premium-home-footer .premium-footer-lockup {
    gap: 14px;
    margin-bottom: 20px;
  }

  .premium-home-footer .premium-footer-lockup img {
    width: 60px;
    height: 60px;
  }

  .premium-home-footer .premium-footer-contact-details a {
    font-size: 20px;
  }

  .premium-home-footer .premium-footer-navigation-column nav {
    gap: 6px 20px;
  }

  .premium-home-footer .premium-footer-information-column {
    margin-top: 32px;
    padding-top: 24px;
  }

  .premium-home-footer .premium-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
