:root {
  --ink: #171717;
  --charcoal: #191919;
  --charcoal-soft: #252525;
  --paper: #fff;
  --soft: #f3f1ed;
  --muted: #6c6c6c;
  --line: rgba(23, 23, 23, 0.18);
  --line-light: rgba(255, 255, 255, 0.26);
  --heading: "Playfair Display", Georgia, serif;
  --body: "Karla", sans-serif;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 7.6rem);
}

h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.9rem);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-width {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.dark-band {
  color: #fff;
  background: var(--charcoal);
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(24px, 4vw, 68px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.64), transparent);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.brand {
  position: relative;
  display: block;
  width: 76px;
  height: 62px;
  flex: 0 0 auto;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-light {
  filter: brightness(0) invert(1);
}

.brand-logo-dark {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.45vw, 27px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav a,
.desktop-nav button {
  color: currentColor;
  background: none;
  border: 0;
  padding: 0;
  transition: opacity 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  opacity: 0.62;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span:not(.sr-only) {
  width: 17px;
  height: 1px;
  background: #fff;
}

.mobile-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 84px 32px 32px;
  color: #fff;
  background: rgba(25, 25, 25, 0.98);
  transform: translateX(100%);
  transition: transform 250ms ease;
}

.mobile-menu[aria-hidden="false"] {
  transform: translateX(0);
}

.mobile-menu a,
.mobile-menu button:not(.mobile-menu-close) {
  color: #fff;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-family: var(--heading);
  font-size: 1.55rem;
  text-align: left;
}

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.home-hero-video,
.home-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100% - 40px));
  text-align: center;
  animation: rise-in 900ms ease both;
}

.home-hero-copy p {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  font-size: clamp(5.4rem, 14vw, 13rem);
  font-weight: 500;
  line-height: 0.92;
}

.home-hero-copy h2 {
  max-width: 940px;
  margin: 25px auto 34px;
  font-family: var(--body);
  font-size: clamp(1rem, 2.1vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.35;
}

.button-hero,
.button-outline,
.button-light-line,
.button-dark,
.button-light {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 13px 23px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button-hero,
.button-light-line {
  color: #fff;
}

.button-hero:hover,
.button-light-line:hover {
  color: var(--ink);
  background: #fff;
}

.button-outline,
.button-dark {
  color: var(--ink);
  background: transparent;
}

.button-outline:hover,
.button-dark:hover {
  color: #fff;
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}

.button-light:hover {
  color: #fff;
  background: transparent;
}

.button-dark {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: #fff;
}

.icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(80px, 10vw, 150px) clamp(24px, 8vw, 130px);
}

.intro-portrait img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}

.intro-copy {
  max-width: 710px;
}

.intro-copy .rule {
  width: 70px;
  height: 1px;
  margin: 29px 0;
  background: rgba(255, 255, 255, 0.54);
}

.intro-copy p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.journey-section,
.work-with-us {
  position: relative;
  display: grid;
  min-height: 580px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: center / cover url("https://res.cloudinary.com/luxuryp/images/f_auto,q_auto/y0fd3xzovg7g9qv2dre0/zxchomepage-mobile-image-1");
}

.journey-overlay,
.work-with-us::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.62);
}

.journey-inner,
.work-with-us-inner {
  position: relative;
  z-index: 1;
  width: min(850px, calc(100% - 48px));
  text-align: center;
}

.journey-inner p,
.work-with-us p {
  margin: 24px auto 31px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

.press-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
}

.press-gallery img {
  width: 100%;
  height: 280px;
  object-fit: contain;
}

.rail-section,
.neighborhood-rail-section,
.marketing-section,
.video-section {
  padding: clamp(74px, 9vw, 125px) clamp(24px, 5vw, 78px);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 33px;
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rail-controls button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rail-controls span {
  width: 55px;
  height: 1px;
  background: currentColor;
}

.rail-controls-light button {
  color: #fff;
}

.property-rail,
.neighborhood-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: #777 transparent;
  scrollbar-width: thin;
}

.property-card {
  min-width: min(345px, 83vw);
  background: #fff;
}

.property-card-media {
  position: relative;
  display: block;
  height: 244px;
  overflow: hidden;
}

.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease, filter 400ms ease;
}

.property-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 4px 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.property-card-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 280ms ease, background 280ms ease;
}

.property-card:hover .property-card-hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.property-card:hover img {
  transform: scale(1.045);
}

.property-card-body {
  padding: 17px 2px 4px;
}

.property-card-body h3 {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
}

.property-card-body p {
  min-height: 45px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  margin: 14px 0 8px;
  color: #454545;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-features span + span::before {
  margin-right: 12px;
  color: #aaa;
  content: "|";
}

.property-card-body strong {
  font-family: var(--heading);
  font-size: 22px;
}

.section-action {
  margin-top: 34px;
  text-align: center;
}

.neighborhood-card {
  position: relative;
  min-width: min(352px, 85vw);
  height: 490px;
  overflow: hidden;
  background: #333;
}

.neighborhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.neighborhood-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 37px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.77), transparent 60%);
  text-align: center;
}

.neighborhood-card-overlay h3 {
  margin-bottom: 14px;
  color: #fff;
}

.neighborhood-card-overlay a {
  color: #fff;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.neighborhood-card:hover img {
  transform: scale(1.055);
}

.marketing-section {
  display: grid;
  grid-template-columns: minmax(170px, 0.38fr) 1fr;
  gap: clamp(32px, 8vw, 120px);
}

.marketing-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) 1fr;
  gap: 44px;
}

.marketing-tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.marketing-tabs button {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #777;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.marketing-tabs button.active {
  color: var(--ink);
}

.marketing-content ul,
.check-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing-content li,
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #545454;
}

.marketing-content .icon,
.check-list .icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  padding: 3px;
  border: 1px solid #888;
  border-radius: 50%;
}

.video-section {
  padding-top: 48px;
  text-align: center;
}

.video-section > p {
  margin: 13px 0 25px;
  color: var(--muted);
}

.video-frame {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  background: #111;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-section > .video-frame {
  width: min(780px, 100%);
  margin: 0 auto;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1050px, 100%);
  margin: 28px auto 0;
}

.featured-posts {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 620px;
}

.featured-posts > div {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.blog-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 27px;
  color: #fff;
  background: center / cover var(--blog-image);
}

.blog-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.06) 65%);
}

.blog-card > * {
  position: relative;
}

.blog-card span,
.blog-card small,
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.blog-card h3 {
  max-width: 560px;
  margin: 7px 0;
  font-size: clamp(1.4rem, 2.5vw, 2.8rem);
}

.blog-card-primary h3 {
  font-size: clamp(2rem, 4vw, 4.8rem);
}

.work-with-us {
  min-height: 530px;
  background-image: url("https://res.cloudinary.com/luxuryp/images/w_1920,c_limit,f_auto,q_auto/yh93pmmc1chxgijtul40/tania-wu-proof-89-1");
}

.site-footer {
  color: #fff;
  background: var(--charcoal);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 1fr;
  gap: 70px;
  padding: 70px clamp(24px, 7vw, 110px);
}

.footer-affiliation {
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-contact,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 16px;
}

.social-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-main h3 {
  margin-bottom: 23px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-wide {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
}

.contact-form label > span:first-child,
.ebook-form label > span:first-child {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 0;
  outline: 0;
  padding: 10px 0;
  color: #fff;
  background: transparent;
}

textarea {
  min-height: 74px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #fff;
}

.consent {
  display: flex !important;
  gap: 10px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.45;
}

.consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  accent-color: #fff;
}

.contact-form button,
.newsletter-form button,
.ebook-form button,
.valuation-card button {
  min-height: 45px;
  border: 1px solid currentColor;
  padding: 10px 18px;
  color: #fff;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-success {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.form-success:empty {
  display: none;
}

.form-success a {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 23px clamp(24px, 7vw, 110px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.footer-newsletter label {
  font-family: var(--heading);
  font-size: 20px;
}

.newsletter-form {
  display: flex;
  min-width: min(440px, 100%);
  align-items: center;
  gap: 15px;
}

.newsletter-form .form-success {
  max-width: 150px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px clamp(24px, 7vw, 110px);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: center / cover var(--page-image);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.56);
}

.page-hero-inner {
  position: relative;
  width: min(1000px, calc(100% - 48px));
  padding-top: 75px;
  text-align: center;
}

.page-hero-inner p {
  max-width: 780px;
  margin: 19px auto 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 19px;
}

.about-page {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 8vw, 110px);
  padding-block: 92px;
}

.about-page-copy p,
.service-page p,
.neighborhood-detail p,
.centered-content p,
.legal-page p {
  margin-top: 20px;
  color: #555;
  font-size: 17px;
}

.about-page-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  text-align: center;
}

.about-page-aside img {
  width: 100%;
  margin-bottom: 13px;
}

.listing-page {
  padding-block: 78px 100px;
}

.listing-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 8px;
  color: #777;
}

.search-control {
  display: flex;
  width: min(330px, 100%);
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.search-control input {
  border: 0;
  color: var(--ink);
}

.search-control .icon {
  flex: 0 0 auto;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 39px 22px;
}

.property-grid .property-card {
  min-width: 0;
}

.empty-message {
  padding: 32px 0;
  color: var(--muted);
}

.property-detail-hero {
  position: relative;
  height: 72svh;
  min-height: 520px;
  color: #fff;
}

.property-detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.04));
}

.property-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail-hero div {
  position: absolute;
  z-index: 1;
  bottom: 65px;
  left: clamp(24px, 7vw, 110px);
}

.property-detail-hero span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.property-detail {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 390px);
  gap: 70px;
  padding-block: 72px 90px;
}

.property-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  font-weight: 700;
}

.property-detail aside {
  padding: 28px;
  background: var(--soft);
}

.property-detail aside p {
  margin: 13px 0 18px;
  color: #555;
}

.neighborhood-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-block: 76px 96px;
}

.neighborhood-grid .neighborhood-card {
  min-width: 0;
  height: 450px;
}

.neighborhood-detail,
.centered-content,
.legal-page {
  max-width: 790px;
  padding-block: 86px 100px;
}

.centered-content {
  text-align: center;
}

.centered-content .button-dark,
.centered-content .button-outline {
  margin-top: 24px;
}

.testimonial-page {
  display: grid;
  gap: 25px;
  padding-block: 82px 98px;
}

.testimonial-page blockquote {
  margin: 0;
  padding: 32px 39px;
  border-left: 3px solid var(--ink);
  background: var(--soft);
}

.testimonial-page blockquote p {
  font-family: var(--heading);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.45;
}

.testimonial-page cite {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-page,
.ebook-page {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) 1fr;
  gap: 70px;
  padding-block: 88px 100px;
}

.check-list {
  margin: 25px 0;
}

.video-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 22px;
  padding-block: 78px 96px;
}

.video-library h2 {
  margin-top: 14px;
  font-size: 25px;
}

.valuation-page {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  padding: 120px 24px 70px;
  color: #fff;
  background: center / cover url("https://res.cloudinary.com/luxuryp/images/f_auto,q_auto/y0fd3xzovg7g9qv2dre0/zxchomepage-mobile-image-1");
}

.valuation-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.valuation-card {
  position: relative;
  width: min(620px, 100%);
  padding: 41px;
  background: rgba(20, 20, 20, 0.91);
}

.valuation-card .section-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.valuation-card h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.valuation-card p {
  margin: 15px 0 20px;
  color: rgba(255, 255, 255, 0.76);
}

.valuation-card form {
  display: grid;
  gap: 13px;
}

.valuation-card input {
  min-height: 49px;
}

.ebook-form {
  display: grid;
  gap: 15px;
  padding: 28px;
  color: #fff;
  background: var(--charcoal);
}

.ebook-form input {
  min-height: 47px;
}

.ebook-form .form-success {
  margin: 0;
}

.blog-grid .blog-card {
  min-height: 360px;
}

.legal-page h2 {
  margin-bottom: 15px;
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  padding: 36px;
  color: #fff;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.modal-panel > p:not(.section-kicker) {
  margin: 9px 0 19px;
  color: rgba(255, 255, 255, 0.72);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
}

.modal-close .icon {
  width: 20px;
  height: 20px;
}

.modal-video {
  position: relative;
  width: min(990px, 100%);
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Restored standalone magazine articles */
.article-hero {
  padding: 175px clamp(24px, 7vw, 112px) 70px;
  color: #fff;
  background: var(--charcoal);
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--muted);
}

.article-meta {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 760px);
  gap: clamp(36px, 8vw, 110px);
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 100px;
}

.article-sidebar {
  align-self: start;
  padding: 24px;
  background: var(--soft);
}

.article-sidebar p:not(.eyebrow) {
  margin-bottom: 20px;
  color: #555;
}

.article-body p,
.article-body li {
  color: #505050;
  font-size: 17px;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 20px;
}

.article-body h2 {
  margin: 36px 0 13px;
  font-size: 32px;
}

.article-lede {
  color: var(--ink) !important;
  font-family: var(--heading);
  font-size: 23px !important;
}

.article-callout {
  margin: 35px 0;
  padding: 21px 25px;
  border-left: 3px solid var(--ink);
  background: var(--soft);
}

.article-callout h2 {
  margin-top: 0;
}

.article-sources {
  display: grid;
  gap: 8px;
}

.article-sources a {
  border-bottom: 1px solid var(--line);
  color: #555;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 14px;
    font-size: 10px;
  }

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

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

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header {
    height: 78px;
    padding: 9px 21px;
  }

  .brand {
    height: 54px;
  }

  .intro-section,
  .about-page,
  .service-page,
  .ebook-page,
  .footer-main,
  .property-detail,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .about-page-aside {
    max-width: 350px;
  }

  .marketing-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .marketing-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .footer-newsletter,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .neighborhood-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .content-width {
    width: min(100% - 30px, 1180px);
  }

  .home-hero-copy p {
    font-size: 10px;
  }

  .home-hero-copy h1 {
    font-size: clamp(4.9rem, 25vw, 7.4rem);
  }

  .home-hero-copy h2 {
    font-size: 15px;
  }

  .intro-section {
    gap: 35px;
    padding: 64px 20px;
  }

  .journey-section,
  .work-with-us {
    min-height: 480px;
  }

  .press-gallery,
  .property-grid,
  .neighborhood-grid,
  .blog-grid,
  .video-grid,
  .video-library,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .rail-section,
  .neighborhood-rail-section,
  .marketing-section,
  .video-section {
    padding: 62px 16px;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .property-card-media {
    height: 225px;
  }

  .neighborhood-card {
    height: 405px;
  }

  .marketing-tabs {
    grid-template-columns: 1fr;
  }

  .featured-posts {
    display: block;
  }

  .blog-card {
    min-height: 300px;
  }

  .footer-main {
    gap: 42px;
    padding: 58px 20px;
  }

  .newsletter-form {
    min-width: 0;
    align-items: stretch;
    flex-direction: column;
  }

  .footer-newsletter,
  .footer-bottom {
    padding-inline: 20px;
  }

  .page-hero {
    min-height: 410px;
  }

  .page-hero-inner {
    padding-top: 54px;
  }

  .page-hero-inner p {
    font-size: 16px;
  }

  .about-page,
  .listing-page,
  .service-page,
  .ebook-page,
  .neighborhood-detail,
  .centered-content,
  .legal-page,
  .testimonial-page,
  .video-library {
    padding-block: 62px 74px;
  }

  .listing-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-control {
    width: 100%;
  }

  .property-detail-hero {
    min-height: 480px;
  }

  .property-detail-hero div {
    bottom: 38px;
    left: 20px;
  }

  .property-detail-hero h1 {
    font-size: 3.5rem;
  }

  .valuation-card {
    padding: 28px 22px;
  }

  .modal-panel {
    padding: 30px 20px 24px;
  }

  .article-hero {
    padding: 135px 20px 52px;
  }

  .article-layout {
    width: min(100% - 30px, 1200px);
    padding-block: 50px 75px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
