/* Finishing adjustments scoped to the Real Estate page. */
:root{--muted:#50534b}
header{background:#f4f0e7!important}
header nav,header .header-brand,header .header-brand img,header .header-name,header .links a{transition:padding .2s ease,margin .2s ease,width .2s ease,height .2s ease,font-size .2s ease}
header.is-compact nav{padding-top:8px}
header.is-compact .header-brand{margin-bottom:8px;gap:14px}
header.is-compact .header-brand img{width:44px;height:44px}
header.is-compact .header-name{font-size:30px}
header.is-compact .links a{padding-top:9px;padding-bottom:8px}
.portfolio-caption p,.portfolio-caption small,.portfolio-caption small span,.portfolio-position,.portfolio-jump,.case p,.case-location,.case-description{color:#50534b}
.portfolio-caption small{font-size:11px;line-height:1.6}
.portfolio-brand img.optically-framed-logo{width:240px!important;height:76px!important;max-width:100%!important;object-fit:contain!important}
@media(max-width:800px){header.is-compact .header-name{font-size:clamp(13.2px,4.07vw,31.9px)}header.is-compact .header-brand{gap:7px;margin-bottom:6px}header.is-compact .header-brand img{width:36px;height:36px}header.is-compact .links a{padding-top:8px;padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){header nav,header .header-brand,header .header-brand img,header .header-name,header .links a{transition:none}}

.re-market-perspective + .project-reel {
  margin: clamp(20px, 3vw, 36px) 0 0;
  padding-top: 0;
  border-top: 0;
}
.page-main > .re-intro + .work {
  padding-top: clamp(24px, 3vw, 36px);
}
.portfolio-brand img.nayri-portfolio-logo {
  filter: grayscale(1) contrast(2.8) invert(1);
  mix-blend-mode: multiply;
}

.brokerage-section {
  padding-bottom: 0;
}

/* Optical sizing for wide or fine-lined brokerage marks. */
.brokerage-logo.brokerage-logo-emphasized{padding:14px 12px!important}
.brokerage-logo.brokerage-logo-emphasized img{width:100%!important;max-width:100%!important;max-height:88px!important;opacity:1;filter:brightness(0) drop-shadow(.25px 0 0 #000)!important}
@media(max-width:600px){.brokerage-logo.brokerage-logo-emphasized{padding:12px 8px!important}}

.portfolio-position {
  color: var(--ink);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.btn.campaign-results-link { font-size: 1rem; }
