/* Handheld refinement. Desktop composition and business integrations are preserved. */
@media(max-width:880px){
  html{scroll-padding-top:92px}
  #ss-site-header .ss-global-links{max-height:calc(100dvh - 78px)!important;overscroll-behavior:contain;padding-bottom:max(23px,env(safe-area-inset-bottom))!important}
  #ss-site-header .ss-global-menu{width:46px!important;height:46px!important;touch-action:manipulation}
  main img{max-width:100%}
  main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;max-width:100%;min-width:0}
  main :is(button,input,select,textarea){touch-action:manipulation}
  main :is(button,.btn,.goldbtn,.linebtn,.pill,.ss-pg-btn,.ssx-cta-primary,.ssx-cta-outline,.ssfinder-search-button){min-height:46px}
  main :is(button,a,input,select,textarea,summary):focus-visible,#ss-site-header :focus-visible,#ss-site-footer :focus-visible{outline:2px solid #D4AA50;outline-offset:3px}
  main :is(h1,h2,h3,p,a,label){overflow-wrap:break-word}
  main :is(.ss-pg-hero-inner,.ss-pg-two,.ssx-finance-grid,.ssx-home-teaser-inner,.ssx-story-layout,.bookinggrid,.ss-ref-hero,.ss-guide-grid)>*{min-width:0}
  .ss-pg-hero-figure img{height:auto;min-height:0;object-position:center top}
  .ssx-finance-photo{height:auto;aspect-ratio:auto;max-height:560px;object-fit:contain;background:#F5F5F5}
  .ssx-type-card p{min-height:0}
  .iframe-shell{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .VisiCalcClass{min-width:0;width:100%;max-width:100%}
}
@media(max-width:680px){
  body{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .js-motion [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
  main .wrap{width:calc(100% - 36px);max-width:100%;padding-left:0;padding-right:0}
  .hero .herotxt{padding:38px 20px 32px}
  .hero .herotxt h1{font-size:clamp(38px,10.5vw,52px);line-height:1.08;margin:17px 0 20px}
  .hero .herotxt p{font-size:16px;line-height:1.7;margin-bottom:23px}
  .hero .heroimg{height:280px;min-height:280px;background-position:center}
  .hero .herobadge{max-width:calc(100% - 32px);letter-spacing:.1em}
  .hero .herofine{font-size:10px;letter-spacing:.09em;line-height:1.9;margin-top:22px}
  .heroactions,.actions,.ss-pg-actions,.ssx-finance-actions,.ssx-article-actions,.ss-pg-links,.ssx-finance-links{flex-direction:column;align-items:stretch;gap:11px}
  :is(.heroactions,.actions,.ss-pg-actions,.ssx-finance-actions,.ssx-article-actions,.ss-pg-links,.ssx-finance-links)>a{width:100%;text-align:center;justify-content:center;white-space:normal;line-height:1.5}
  .section,.ss-pg-section,.ssx-finance-help,.ssx-property-types,.journal-main{padding-top:48px;padding-bottom:48px}
  main :is(.section-head h2,.split-head h2,.finance-layout h2,.aboutgrid h2,.contact h2,.contact h1,.faq-wrap h2,.ssx-intro h2,.ssx-client-next h2,.ssx-client-review-section h2,.ssx-about-review h2,.ssx-home-review-teaser h2){font-size:clamp(30px,8.4vw,39px);line-height:1.16}
  .section-head{margin-bottom:27px}
  .service-grid,.audience-grid,.process,.finance-layout,.aboutgrid,.faq-wrap,.contactgrid,.split-head,.ssx-types-grid,.ssx-finance-tiles{grid-template-columns:minmax(0,1fr);gap:23px}
  .finance-tiles{grid-template-columns:minmax(0,1fr)}
  .service-card img,.process img{height:auto;aspect-ratio:3/2}
  .serv-body{padding:23px 20px;gap:14px}.serv-body h3{font-size:29px}
  .property-copy{padding:26px 22px}.property-copy h3{font-size:34px}
  .aboutphoto{min-height:390px;background-position:center 22%}
  .ss-felice-feature{width:100%;min-width:0;min-height:0;aspect-ratio:4/5}
  .ss-felice-feature>img{max-height:none;object-position:center 25%}
  .aboutphoto:after{content:'BUY SMART • LIVE WELL';max-width:calc(100% - 32px);left:16px;padding:16px;font-size:9px}
  .ssx-home-location-form{padding:22px}.ssx-home-location-form>div{display:flex;flex-direction:column}
  .ssfinder-lead h1{font-size:clamp(38px,10.6vw,49px);line-height:1.1}
  .ssfinder-hero{padding:36px 0 42px}.ssfinder-hero-inner{gap:25px}
  .ssfinder-search-card{padding:23px 18px}.ssfinder-card-title h2{font-size:28px;line-height:1.17}
  .ssfinder-results-top{flex-direction:column;gap:14px}.ssfinder-stock-badge{align-self:flex-start;white-space:normal}
  .ssfinder-search-card button,.ssfinder-radius button{min-height:48px}
  .ssfinder-suggestions{max-height:260px;max-height:min(260px,45dvh);overflow-y:auto}
  .ssx-article{padding:32px 18px 48px}.ssx-article-nav{gap:13px;margin-bottom:27px;font-size:11px}
  .ssx-article-header{margin-bottom:26px}.ssx-article-header h1{font-size:clamp(33px,9.2vw,44px);line-height:1.13}
  .ssx-article-lead{font-size:16px;line-height:1.75}
  .ssx-timeline-intro{padding:23px 21px;margin-bottom:26px}
  .ssx-process-article .ssx-timeline{padding-left:0;border-left:0}
  .ssx-process-article .ssx-timeline li{padding:0 0 24px}
  .ssx-process-article .ssx-step-number{left:12px;top:12px;z-index:1;width:42px;height:42px;border-width:4px;box-shadow:0 2px 8px #3c434824}
  .ssx-process-article .ssx-step-content{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;align-items:stretch}
  .ssx-process-article .ssx-step-photo{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:0}
  .ssx-process-article .ssx-step-copy{padding:22px 21px 24px}
  .ssx-process-article .ssx-step-copy h3{font-size:27px;line-height:1.17;margin:9px 0 12px}
  .ssx-process-article .ssx-step-copy p{font-size:15px;line-height:1.75}
  .ssx-story-review,.ssx-client-review-card{padding:23px 21px}
  .ssx-story-review blockquote,.ssx-client-review-card blockquote{font-size:21px}
  .ssx-story-layout{gap:27px}.ssx-madi-photo{margin-inline:auto;max-width:100%}
  .ssx-story-teaser{padding:22px;gap:22px}.ssx-home-review-teaser{padding:26px 0;gap:23px}
  .ssx-finance-grid h1,.ss-guide-grid h1,.intro h1{font-size:clamp(36px,10.3vw,48px);line-height:1.12}
  .ss-guide-hero,.journal-hero,.page-hero,.ss-pg-hero{padding-top:42px;padding-bottom:44px}
  .ss-guide-grid{gap:28px}.ss-guide-preview img{max-height:310px;transform:none}
  .ss-pg-two{gap:28px}.ss-pg-hero-figure{min-height:0;max-height:none}
  .ss-pg-hero-figure img{height:auto;max-height:540px;object-fit:contain}
  .smart-prequal{padding:22px 18px}.sp-head{flex-wrap:wrap}.sp-title{font-size:32px}
  .sp-fields,.fieldgrid,.fields,.formfields,.ss-form{grid-template-columns:minmax(0,1fr)}
  .sp-fields label.sp-wide,.fields label.wide,.fieldwide{grid-column:1}
  .sp-option{font-size:15px;min-height:58px;padding:14px}
  .sp-question{font-size:26px;line-height:1.2}.sp-nav{gap:12px}.sp-nav button{padding:13px 16px}
  .formbox,.bookingmain{padding:24px 20px}.formactions{flex-wrap:wrap}
  .bookinggrid{gap:25px}.booking{padding:35px 0 48px}
  .ss-pg-resource .ss-pg-btn,.ssx-cta-primary,.ssx-cta-outline{width:100%;text-align:center}
  .btn,.goldbtn,.linebtn,.pill{white-space:normal;line-height:1.5}
  .searchbar input{min-width:0}.contactinfo{font-size:14px;overflow-wrap:anywhere}
  #ss-site-footer{padding-top:40px!important}
  #ss-site-footer .ss-global-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 18px!important}
  #ss-site-footer .ss-global-footer-links div{gap:0}
  #ss-site-footer .ss-global-footer-links h2{margin-bottom:8px}
  #ss-site-footer .ss-global-footer-links a{display:flex!important;align-items:center;min-height:44px;padding:9px 0!important;width:100%;font-size:14px!important}
  #ss-site-footer .ss-global-footer-bottom{margin-top:29px;gap:20px}
  #ss-site-footer .ss-global-footer-bottom a{overflow-wrap:anywhere}
}
@media(max-width:359px){#ss-site-footer .ss-global-footer-links{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}