/* Mobile corrections layered after the accepted study stylesheet. */
.property-portfolio{padding-top:8px}
.property-portfolio .media-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.media-section-heading h3{font-size:clamp(24px,2.4vw,32px);letter-spacing:-.035em}
.media-related-link{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:var(--muted);border-bottom:1px solid var(--line)}
.property-portfolio #videoPane{margin-top:48px;padding:0}
.property-portfolio #photoPane>.gallery-controls{min-height:0;margin:0;height:0;overflow:hidden}
.property-portfolio .cinema-navigation{margin:0;height:0;overflow:hidden}
.page-shortcuts{position:fixed;z-index:50;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:flex;gap:8px}
.page-shortcuts a{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:0 2px 14px #00000012;touch-action:manipulation}
body:has(.dev-devices) .page-shortcuts{bottom:calc(76px + env(safe-area-inset-bottom))}
footer{padding-bottom:100px}
@media(hover:hover){.page-shortcuts a:hover{background:var(--ink);color:var(--paper)}}
@media(max-width:800px){
 .property-portfolio .media-section-heading{margin-bottom:8px}
 .property-portfolio #videoPane{margin-top:32px}
 .page-shortcuts{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom))}
}
.mobile-nav-cue{display:none}
@media (max-width:800px){
  .site-header .brand,.site-header nav a{display:inline-flex;align-items:center;min-height:44px}
  .site-header nav{position:relative;scroll-behavior:smooth;scroll-snap-type:x proximity;padding-right:26px;overscroll-behavior-x:contain}
  .site-header nav a{scroll-snap-align:start}
  .mobile-nav-cue{position:absolute;right:12px;bottom:8px;z-index:2;width:34px;height:44px;display:grid;place-items:center;color:currentColor;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--paper) 88%,transparent) 45%);font-size:26px;line-height:1;pointer-events:none;transition:opacity .18s}
  .site-header[data-surface=hero] .mobile-nav-cue{background:linear-gradient(90deg,transparent,#000b 45%)}
  .site-header:not([data-nav-more=true]) .mobile-nav-cue{opacity:0}
  .portfolio-category,.categories>[data-category]{scroll-margin-top:0}
  .collection-switch button,.neighbor-collection>span:first-child,.form-action p{font-size:14px}
}
@media (prefers-reduced-motion:reduce){.site-header nav{scroll-behavior:auto}.mobile-nav-cue{transition:none}}

/* Let WebKit track the finger and handle momentum, without competing JS drift. */
.native-strip{touch-action:pan-x pan-y pinch-zoom;overscroll-behavior-x:contain;scroll-snap-type:x proximity;overflow-anchor:none;-webkit-overflow-scrolling:touch}
.native-strip>*{scroll-snap-align:center}
.native-strip button{touch-action:manipulation}
.native-strip .motion-card{translate:none}
.native-strip .ribbon-card,.native-strip .ribbon-card:nth-child(even),.native-strip .ribbon-card[aria-current=true],#hospitalityRibbon.native-strip .ribbon-card{flex-basis:112px;transform:none;transition:none}
.native-strip .ribbon-card img,.native-strip .cinema-card img,.native-strip .cinema-card video,.native-strip .comparison img,.native-strip .ai-projects>button{filter:none;transform:none;transition:none}
.native-strip .film-panel{transition:none}
.native-strip .film-panel::after{display:none}

#projectDialog.touch-photo-session{padding:72px 0 80px;touch-action:pan-x pan-y pinch-zoom}
#projectDialog.touch-photo-session #projectPanel{width:100vw;max-width:100vw;background:transparent;box-shadow:none}
#projectDialog.touch-photo-session #projectMedia{width:100vw;height:calc(100svh - 152px);aspect-ratio:auto;touch-action:pan-x pan-y pinch-zoom}
.touch-photo-track{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;gap:0;scrollbar-width:none;align-items:center}
.touch-photo-cell{flex:0 0 100%;width:100%;height:100%;display:grid;place-items:center;scroll-snap-align:center;scroll-snap-stop:always;outline-offset:-4px}
#projectDialog.touch-photo-session .touch-photo-cell img{width:calc(100% - 32px);height:100%;max-width:none;max-height:100%;object-fit:contain;will-change:auto;touch-action:pan-x pan-y pinch-zoom}
.touch-photo-track.touch-overview{padding-inline:27vw;gap:12px;scroll-snap-type:x proximity}
.touch-overview .touch-photo-cell{flex-basis:46vw;height:min(52svh,430px);background:#111;cursor:zoom-in}
#projectDialog.touch-photo-session .touch-overview .touch-photo-cell img{width:100%;object-fit:cover}
.touch-photo-navigation{width:100%;left:0;transform:none;bottom:max(14px,env(safe-area-inset-bottom));gap:16px;white-space:nowrap;background:#111;color:#fff;padding-block:6px}
.touch-photo-navigation>span{font-size:14px;color:#ccc;min-width:50px}
.touch-photo-navigation .photo-step:disabled{opacity:.2}
.touch-photo-navigation .photo-previous{left:4px}
.touch-photo-navigation .photo-next{right:4px}
.touch-photo-navigation button,.collection-switch button,.dialog-close{touch-action:manipulation}
@media (hover:none) and (pointer:coarse){
  .neighbor-collection{display:none!important}
  #projectDialog .film-session-track{--panel-height:min(74svh,calc(100svh - 150px));scroll-snap-type:x mandatory;touch-action:pan-x pan-y pinch-zoom}
  .film-panel{scroll-snap-align:center;scroll-snap-stop:always}
  .site-header{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
